From: David Sarrut Date: Tue, 6 Nov 2012 09:22:53 +0000 (+0100) Subject: Add option to detect too small segmented structures X-Git-Tag: v1.4.0~279 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=533acc171b988782d18fd601e1afcb871d27cebe;p=clitk.git Add option to detect too small segmented structures --- diff --git a/segmentation/clitkExtractLungFilter.h b/segmentation/clitkExtractLungFilter.h index ead4d98..6f31cee 100644 --- a/segmentation/clitkExtractLungFilter.h +++ b/segmentation/clitkExtractLungFilter.h @@ -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;