From b3c1bd788a313071ba33239baf7ff80edef8e5b1 Mon Sep 17 00:00:00 2001 From: LaurentBerger Date: Tue, 7 Feb 2017 10:14:24 +0100 Subject: [PATCH] Add note about OTSU and TRIANGLE (comment sovrasov) --- modules/imgproc/include/opencv2/imgproc.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 3680492077..c2c694b36b 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -2721,6 +2721,8 @@ or Triangle algorithm and uses it instead of the specified thresh . The function computed threshold value. Currently, the Otsu's and Triangle methods are implemented only for 8-bit images. +@note Input image should be single channel only in case of CV_THRESH_OTSU or CV_THRESH_TRIANGLE flags + @param src input array (multiple-channel, 8-bit or 32-bit floating point). @param dst output array of the same size and type and the same number of channels as src. @param thresh threshold value.