mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
typo: rect -> roi
This commit is contained in:
parent
0b53ca2848
commit
a8db3df8f6
@ -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…
Reference in New Issue
Block a user