X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractLungFilter.h;h=6c50b1c2d96c85e3c9b8485d970d9ad6e0a261b3;hb=cc9072c5acc18200fb3e34d22b4c1c2f823d18b1;hp=ead4d988f36597401d3684ada7e69da62ee68851;hpb=0793c4dd3d451bb9bdc00e3172fa792d1ddaa8dc;p=clitk.git diff --git a/segmentation/clitkExtractLungFilter.h b/segmentation/clitkExtractLungFilter.h index ead4d98..6c50b1c 100644 --- a/segmentation/clitkExtractLungFilter.h +++ b/segmentation/clitkExtractLungFilter.h @@ -164,7 +164,8 @@ namespace clitk { itkSetMacro(SeedPreProcessingThreshold, int); itkGetConstMacro(SeedPreProcessingThreshold, int); - void AddSeed(InternalIndexType s); + void AddSeedInPixels(InternalIndexType s); + void AddSeed(InputImagePointType s); std::vector & GetSeeds() { return m_Seeds; } itkSetMacro(TracheaVolumeMustBeCheckedFlag, bool); @@ -175,6 +176,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 +239,7 @@ namespace clitk { MaskImagePixelType m_ForegroundValue; int m_MinimalComponentSize; bool m_AutoCrop; + bool m_RemoveSmallLabelBeforeSeparationFlag; // Step 1 InputImagePixelType m_UpperThreshold; @@ -247,6 +253,7 @@ namespace clitk { InputImagePixelType m_ThresholdStepSizeForTrachea; double m_MultiplierForTrachea; std::vector m_Seeds; + std::vector m_SeedsInMM; int m_NumberOfSlicesToSkipBeforeSearchingSeed; bool m_TracheaVolumeMustBeCheckedFlag; bool m_VerboseRegionGrowingFlag;