Commit f03b11d2 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #3199 from apavlenko:fix_docs_typo

parents 0b53ca28 a8db3df8
...@@ -264,8 +264,8 @@ OpenCV typically assumes that the top and left boundary of the rectangle are inc ...@@ -264,8 +264,8 @@ OpenCV typically assumes that the top and left boundary of the rectangle are inc
Virtually every loop over an image Virtually every loop over an image
ROI in OpenCV (where ROI is specified by ``Rect_<int>`` ) is implemented as: :: 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 y = roi.y; y < roi.y + roi.height; y++)
for(int x = roi.x; x < roi.x + rect.width; x++) for(int x = roi.x; x < roi.x + roi.width; x++)
{ {
// ... // ...
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment