From bcca34bc96cd252aa4820ae4e05791d92ea0e217 Mon Sep 17 00:00:00 2001 From: Alexander Karsakov Date: Wed, 3 Dec 2014 16:01:03 +0300 Subject: [PATCH] Fixed typo in description of Rect operations --- modules/core/doc/basic_structures.rst | 2 +- modules/core/include/opencv2/core/types.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/doc/basic_structures.rst b/modules/core/doc/basic_structures.rst index 048ee7e..db4e015 100644 --- a/modules/core/doc/basic_structures.rst +++ b/modules/core/doc/basic_structures.rst @@ -285,7 +285,7 @@ In addition to the class members, the following operations on rectangles are imp * ``rect = rect1 & rect2`` (rectangle intersection) -* ``rect = rect1 | rect2`` (minimum area rectangle containing ``rect2`` and ``rect3`` ) +* ``rect = rect1 | rect2`` (minimum area rectangle containing ``rect1`` and ``rect2`` ) * ``rect &= rect1, rect |= rect1`` (and the corresponding augmenting operations) diff --git a/modules/core/include/opencv2/core/types.hpp b/modules/core/include/opencv2/core/types.hpp index 2ea9f0d..e166556 100644 --- a/modules/core/include/opencv2/core/types.hpp +++ b/modules/core/include/opencv2/core/types.hpp @@ -356,7 +356,7 @@ In addition to the class members, the following operations on rectangles are imp certain amount) - rect += point, rect -= point, rect += size, rect -= size (augmenting operations) - rect = rect1 & rect2 (rectangle intersection) -- rect = rect1 | rect2 (minimum area rectangle containing rect2 and rect3 ) +- rect = rect1 | rect2 (minimum area rectangle containing rect1 and rect2 ) - rect &= rect1, rect |= rect1 (and the corresponding augmenting operations) - rect == rect1, rect != rect1 (rectangle comparison) -- 2.7.4