What does the "isContinuous()" function do?
Mat I;
//blah, blah, blah. Do Something....
if(I.isContinuous())
//do something.....
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: 9,802 times
Last updated: Jan 17 '17
Computer Vision - Craps Coach Project from a Newbie
OpenCV on VS 2010 Express, Invalid License Data Error
[GUIDE] - A beginners guide to the Q&A forum (first steps to take)
Help me begin with OpenCV project
imread always return empty matrix
imread returning empty matrix in debug, double-checked that I have the correct libs