From a8db3df8f6686fd758668eacd4189c470363c412 Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Tue, 9 Sep 2014 12:25:14 +0400 Subject: [PATCH] typo: rect -> roi --- modules/core/doc/basic_structures.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/doc/basic_structures.rst b/modules/core/doc/basic_structures.rst index 9f96749085..5445adc213 100644 --- a/modules/core/doc/basic_structures.rst +++ b/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_`` ) 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++) { // ... }