How does OpenCV handle Regions of Interest (ROI)?
Say I set a region of interest using cvSetImageROI()
. Is that ROI stored with the IplImage structure?
If so, when I pass the image to functions such as cvSmooth()
or cvFindContours()
, will those functions operate on the whole image or just the ROI ?
cvFindContours()
seems to provide an offset value to compensate for using ROIs (see documentation), but its not clear to me if cvFindContours() is aware of the ROI or if one provides the ROI manually.
I am using OpenCV 1.1 with Intel's performance primitives installed.