From 80dfcdbfb6781d627edcf2ef990b13e1c43eab21 Mon Sep 17 00:00:00 2001 From: Jan Sellner Date: Sat, 13 Jun 2020 14:46:06 +0200 Subject: [PATCH] Fix default parameter to be coherent with documentation --- modules/ximgproc/include/opencv2/ximgproc/lsc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ximgproc/include/opencv2/ximgproc/lsc.hpp b/modules/ximgproc/include/opencv2/ximgproc/lsc.hpp index e6f5baed1..c0e249c34 100644 --- a/modules/ximgproc/include/opencv2/ximgproc/lsc.hpp +++ b/modules/ximgproc/include/opencv2/ximgproc/lsc.hpp @@ -126,7 +126,7 @@ public: The function merge component that is too small, assigning the previously found adjacent label to this component. Calling this function may change the final number of superpixels. */ - CV_WRAP virtual void enforceLabelConnectivity( int min_element_size = 20 ) = 0; + CV_WRAP virtual void enforceLabelConnectivity( int min_element_size = 25 ) = 0; };