Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

set ROI in cv::Mat

Greetings.

I need to set the region of interest or ROI in an image cv::Mat. I have seen that there are functions for IplImage images, but I could not find the equivalent functions for cv::Mat.

Also, I have the following questions:

Is it possible to set an ROI with a customized form, ie other than a rectangle?

Thanks in advance for any responses and / or comments.

set ROI in cv::Mat

Greetings.

I need to set the region of interest or ROI in an image cv::Mat. I have seen that there are functions for IplImage images, but I could not find the equivalent functions for cv::Mat.

Also, I have the following questions:

Is it possible to set an ROI with a customized form, ie other than a rectangle?

Thanks in advance for any responses and / or comments.

set ROI in cv::Mat

Greetings.

I need to set the region of interest or ROI in an image cv::Mat. I have seen that there are functions for IplImage images, but I could not find the equivalent functions for cv::Mat.

Also, I have the following questions:

Is it possible to set an ROI with a customized form, ie other than a rectangle?

Thanks in advance for any responses and / or comments.