瀏覽代碼

minor change on default value

Alexander Freytag 12 年之前
父節點
當前提交
810368e721
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      segmentFelzenszwalb.cpp
  2. 1 1
      segmentFelzenszwalb.m

+ 1 - 1
segmentFelzenszwalb.cpp

@@ -120,7 +120,7 @@ void mexFunction(int nOutput, mxArray *pOutput[], /* Output variables */
   int minSize;  
   if ( nInput < 4)
   {
-   minSize = 20;
+   minSize = 50;
   }
   else
     minSize = mxGetScalar(  pInput[3] );

+ 1 - 1
segmentFelzenszwalb.m

@@ -7,7 +7,7 @@
 %        imgInput           --   (string or 3d-matrix over uint8 )
 %        sigma              --   bandwidth of Gaussian kernel to smooth the image (optional, scalar, default: 0.5) 
 %        k                  --   influences the threshold accept a boundary between regions, larger k -> larger regions,(optional, scalar, default: 500)
-%        minSize            --   minimum component size enforced by post-processing stage (optional, scalar, default: 20)
+%        minSize            --   minimum component size enforced by post-processing stage (optional, scalar, default: 50)
 %        computeColorOutput --   compute colored segm output (rgb) or region indicees (gray)? (optional, logical, default: false) 
 %        destination        --   filename where the image shell be stored (optional, string) 
 %        verbose            --   print additional information (optional, logical, default: false)