X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractMediastinumFilter.h;h=ea7f86aace0697dcf793cf246d3aec0d97e52b53;hb=73cdef4a7caa7ee8f0caa8c0ac40255b5d972772;hp=f0d24b4300d451423c8a951e604f0fe1bf377e72;hpb=5e2af376544fce0c6dc46bb3c3227d35b501c1f1;p=clitk.git diff --git a/segmentation/clitkExtractMediastinumFilter.h b/segmentation/clitkExtractMediastinumFilter.h index f0d24b4..ea7f86a 100644 --- a/segmentation/clitkExtractMediastinumFilter.h +++ b/segmentation/clitkExtractMediastinumFilter.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html - ======================================================================-====*/ + ===========================================================================**/ #ifndef CLITKEXTRACTMEDIASTINUMFILTER_H #define CLITKEXTRACTMEDIASTINUMFILTER_H @@ -91,70 +91,49 @@ namespace clitk { /** ImageDimension constants */ itkStaticConstMacro(ImageDimension, unsigned int, ImageType::ImageDimension); - // Set all options at a time - template - void SetArgsInfo(ArgsInfoType arg); - // Background / Foreground itkSetMacro(BackgroundValuePatient, MaskImagePixelType); itkGetConstMacro(BackgroundValuePatient, MaskImagePixelType); - // GGO_DefineOption(patientBG, SetBackgroundValuePatient, MaskImagePixelType); itkSetMacro(BackgroundValueLung, MaskImagePixelType); itkGetConstMacro(BackgroundValueLung, MaskImagePixelType); - // GGO_DefineOption(lungBG, SetBackgroundValueLung, MaskImagePixelType); itkSetMacro(BackgroundValueBones, MaskImagePixelType); itkGetConstMacro(BackgroundValueBones, MaskImagePixelType); - // GGO_DefineOption(bonesBG, SetBackgroundValueBones, MaskImagePixelType); itkGetConstMacro(BackgroundValue, MaskImagePixelType); itkGetConstMacro(ForegroundValue, MaskImagePixelType); itkSetMacro(ForegroundValueLeftLung, MaskImagePixelType); itkGetConstMacro(ForegroundValueLeftLung, MaskImagePixelType); - // GGO_DefineOption(lungLeft, SetForegroundValueLeftLung, MaskImagePixelType); itkSetMacro(ForegroundValueRightLung, MaskImagePixelType); itkGetConstMacro(ForegroundValueRightLung, MaskImagePixelType); - // GGO_DefineOption(lungRight, SetForegroundValueRightLung, MaskImagePixelType); itkSetMacro(BackgroundValueTrachea, MaskImagePixelType); itkGetConstMacro(BackgroundValueTrachea, MaskImagePixelType); - // GGO_DefineOption(lungBG, SetBackgroundValueTrachea, MaskImagePixelType); itkSetMacro(IntermediateSpacing, double); itkGetConstMacro(IntermediateSpacing, double); - GGO_DefineOption(spacing, SetIntermediateSpacing, double); itkSetMacro(FuzzyThreshold1, double); itkGetConstMacro(FuzzyThreshold1, double); - GGO_DefineOption(fuzzy1, SetFuzzyThreshold1, double); itkSetMacro(FuzzyThreshold2, double); itkGetConstMacro(FuzzyThreshold2, double); - GGO_DefineOption(fuzzy2, SetFuzzyThreshold2, double); itkSetMacro(FuzzyThreshold3, double); itkGetConstMacro(FuzzyThreshold3, double); - GGO_DefineOption(fuzzy3, SetFuzzyThreshold3, double); - - itkSetMacro(DistanceMaxToAnteriorPartOfTheSpine, double); - itkGetConstMacro(DistanceMaxToAnteriorPartOfTheSpine, double); - GGO_DefineOption(antSpine, SetDistanceMaxToAnteriorPartOfTheSpine, double); itkBooleanMacro(UseBones); itkSetMacro(UseBones, bool); itkGetConstMacro(UseBones, bool); - GGO_DefineOption_Flag(useBones, SetUseBones); itkSetMacro(UpperThreshold, double); itkGetConstMacro(UpperThreshold, double); - GGO_DefineOption(upper, SetUpperThreshold, double); itkSetMacro(LowerThreshold, double); itkGetConstMacro(LowerThreshold, double); - GGO_DefineOption(lower, SetLowerThreshold, double); protected: ExtractMediastinumFilter(); @@ -183,8 +162,7 @@ namespace clitk { double m_FuzzyThreshold1; double m_FuzzyThreshold2; double m_FuzzyThreshold3; - double m_DistanceMaxToAnteriorPartOfTheSpine; - bool m_UseBones; + bool m_UseBones; double m_UpperThreshold; double m_LowerThreshold;