From d64c8aad9912b22584a757c88495dd1da5d9900a Mon Sep 17 00:00:00 2001 From: Suleyman TURKMEN Date: Sat, 20 Jun 2015 11:18:47 +0300 Subject: [PATCH] Update mat.hpp spelling corrections --- modules/core/include/opencv2/core/mat.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/include/opencv2/core/mat.hpp b/modules/core/include/opencv2/core/mat.hpp index 45f3cef0ce..278f7af896 100644 --- a/modules/core/include/opencv2/core/mat.hpp +++ b/modules/core/include/opencv2/core/mat.hpp @@ -1796,7 +1796,7 @@ public: /** @brief Invoke with arguments functor, and runs the functor over all matrix element. - The methos runs operation in parallel. Operation is passed by arguments. Operation have to be a + The methods runs operation in parallel. Operation is passed by arguments. Operation have to be a function pointer, a function object or a lambda(C++11). All of below operation is equal. Put 0xFF to first channel of all matrix elements: @@ -3240,7 +3240,7 @@ Here are examples of matrix expressions: // sharpen image using "unsharp mask" algorithm Mat blurred; double sigma = 1, threshold = 5, amount = 1; GaussianBlur(img, blurred, Size(), sigma, sigma); - Mat lowConstrastMask = abs(img - blurred) < threshold; + Mat lowContrastMask = abs(img - blurred) < threshold; Mat sharpened = img*(1+amount) + blurred*(-amount); img.copyTo(sharpened, lowContrastMask); @endcode