Introduction - If you have any usage issues, please Google them yourself
An example of a ROI - the program loads an image and given the coordinates of ROI sets using the cvSetImageROI (). It then calls the function cvAddS (), which adds to the array elements (pixels of the image), given a scalar value. The result is a color selection square ROI.