From 533acc171b988782d18fd601e1afcb871d27cebe Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Tue, 6 Nov 2012 10:22:53 +0100 Subject: [PATCH] Add option to detect too small segmented structures --- segmentation/clitkExtractLungFilter.h | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.47.1