typo: rect -> roi

This commit is contained in:
Andrey Pavlenko 2014-09-09 12:25:14 +04:00
parent 0b53ca2848
commit a8db3df8f6

View File

@ -264,8 +264,8 @@ OpenCV typically assumes that the top and left boundary of the rectangle are inc
Virtually every loop over an image
ROI in OpenCV (where ROI is specified by ``Rect_<int>`` ) is implemented as: ::
for(int y = roi.y; y < roi.y + rect.height; y++)
for(int x = roi.x; x < roi.x + rect.width; x++)
for(int y = roi.y; y < roi.y + roi.height; y++)
for(int x = roi.x; x < roi.x + roi.width; x++)
{
// ...
}