I have an array in memory that represents a matrix. However, I have a stride value for both rows and individual elements. That is, the step from one element in a row to the next is *NOT* the size associated with its type (e.g. 8 for doubles).
Is there any way to construct a `cv::Mat` object that maps to this chunk of memory?
P.S. The constructor of cv::Mat with step-size does not seem to do the trick, since I cannot specify the step size between elements in a row.
↧