2015-07-30 03:05:05 -0600 | commented question | Using strided external array as cv::Mat @pwm1234, First of all thank you for your comment. It almost does the job. In my application |
2015-07-28 04:55:08 -0600 | commented question | Using strided external array as cv::Mat @berak, I wrote the meaning of my notation explicitly. I hope it is clear now. |
2015-07-27 04:28:56 -0600 | commented question | Using strided external array as cv::Mat @berak, I added an explanation about the data layout. |
2015-07-22 04:28:15 -0600 | received badge | ● Editor (source) |
2015-07-22 04:26:52 -0600 | received badge | ● Organizer (source) |
2015-07-22 04:24:56 -0600 | asked a question | Using strided external array as cv::Mat 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 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. Update - data layoutLet's say I have an 3D LxMxN array. It stored in a consecutive chunk of memory representing a 1D array of Given such a chunk in memory representing the 3D array |