Ask Your Question

# Revision history [back]

### Create column pointers just like TheMatrix.ptr<int>(vi);

(Please forgive me for my wording since i am still a newbie)

i know that something like TheMatrix.ptr<uchar>(vi)can create a pointer with the elements of one row. I wonder if there's a way to create pointers containing the elements of one column (so that i can quickly access the elements in column sequence)?

PS: i would prefer a fast way since i would like to do some practical applications. So i would not consider method like transpose and use the ptr.<>()...

Thanks in advance!