What does the "isContinuous()" function do?
Mat I;
//blah, blah, blah. Do Something....
if(I.isContinuous())
//do something.....
isContinuous is meant like: the memory in yout Mat is a continuous, single chunk.
there are some cases, where this isn't so, think of a ROI:
+-----------+
+ +
+ +---+ +
+ + + +
+ +---+ +
+-----------+
or Mat::diag(), or Mat::col(i), all cases of non-continuous memory.
//blah, blah, blah. Do Something....
read Doc :
The method returns true if the matrix elements are stored continuously without gaps at the end of each row...
What is your problem with isContinuous Doc ?
All docs are available at docs.opencv.org Choose your doc and use search box.
Didn't show up on google. I must have tried the wrong keywords.
Asked: 2017-01-17 08:42:09 -0600
Seen: 10,005 times
Last updated: Jan 17 '17