]> Creatis software - clitk.git/commitdiff
Add option to detect too small segmented structures
authorDavid Sarrut <david.sarrut@gmail.com>
Tue, 6 Nov 2012 09:22:53 +0000 (10:22 +0100)
committerDavid Sarrut <david.sarrut@gmail.com>
Tue, 6 Nov 2012 09:22:53 +0000 (10:22 +0100)
segmentation/clitkExtractLungFilter.h

index ead4d988f36597401d3684ada7e69da62ee68851..6f31cee1626a334d53f8042684bf8bbdb62a96d6 100644 (file)
@@ -175,6 +175,10 @@ namespace clitk {
     itkGetConstMacro(VerboseRegionGrowingFlag, bool);
     itkBooleanMacro(VerboseRegionGrowingFlag);    
 
+    itkSetMacro(RemoveSmallLabelBeforeSeparationFlag, bool);
+    itkGetConstMacro(RemoveSmallLabelBeforeSeparationFlag, bool);
+    itkBooleanMacro(RemoveSmallLabelBeforeSeparationFlag);    
+
     // Step 3 options ExtractLung
     itkSetMacro(NumberOfHistogramBins, int);
     itkGetConstMacro(NumberOfHistogramBins, int);
@@ -234,6 +238,7 @@ namespace clitk {
     MaskImagePixelType m_ForegroundValue;
     int m_MinimalComponentSize;
     bool m_AutoCrop;
+    bool m_RemoveSmallLabelBeforeSeparationFlag;
 
     // Step 1
     InputImagePixelType m_UpperThreshold;