typo: rect -> roi

pull/3199/head
Andrey Pavlenko 11 years ago
parent 0b53ca2848
commit a8db3df8f6
  1. 4
      modules/core/doc/basic_structures.rst

@ -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++)
{
// ...
}

Loading…
Cancel
Save