I am converting some old OpenCV code using the C api to the new C++ API in OpenCV 2.3. I am wondering what the method is to replace the cvGetSubRect call is?
I have the following, cvGetSubRect(some_cv_mat_pointer, another_cv_mat_pointer, some_cv_rect);
What is the equivalent to this in the C++ api?
You create an roi on the source image which gives you a new image – there is no actual pixel copying it all happens automatically
http://opencv.willowgarage.com/documentation/cpp/c++_cheatsheet.html