Rows,cols,channels
Hi people,
I have a question.
Code:
int rows= img.rows;
int cols= img.cols;
int channels=img.channels();
Does this code give to me the numbers of rows,cols and channels of an image I read with imread function? Does the image I use must be in the same path of the project to be read?