X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=itk%2FclitkSliceBySliceRelativePositionFilter.h;h=35b3b8d88afefefa7edba6a1b96eeea29637ffc4;hb=70138676c09cc565c9909cb617e900cc11a53269;hp=4a3ebda53998ae7212b7b3c432dcc01700e6c7f5;hpb=72375037f90c596a034b2ebe5e54e209e7b45511;p=clitk.git diff --git a/itk/clitkSliceBySliceRelativePositionFilter.h b/itk/clitkSliceBySliceRelativePositionFilter.h index 4a3ebda..35b3b8d 100644 --- a/itk/clitkSliceBySliceRelativePositionFilter.h +++ b/itk/clitkSliceBySliceRelativePositionFilter.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 CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_H #define CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_H @@ -78,9 +78,13 @@ namespace clitk { itkSetMacro(UniqueConnectedComponentBySlice, bool); itkBooleanMacro(UniqueConnectedComponentBySlice); - itkGetConstMacro(IgnoreEmptySliceObject, bool); - itkSetMacro(IgnoreEmptySliceObject, bool); - itkBooleanMacro(IgnoreEmptySliceObject); + itkGetConstMacro(IgnoreEmptySliceObjectFlag, bool); + itkSetMacro(IgnoreEmptySliceObjectFlag, bool); + itkBooleanMacro(IgnoreEmptySliceObjectFlag); + + itkGetConstMacro(UseASingleObjectConnectedComponentBySliceFlag, bool); + itkSetMacro(UseASingleObjectConnectedComponentBySliceFlag, bool); + itkBooleanMacro(UseASingleObjectConnectedComponentBySliceFlag); protected: SliceBySliceRelativePositionFilter(); @@ -96,7 +100,8 @@ namespace clitk { ImagePointer m_working_object; bool m_UniqueConnectedComponentBySlice; int m_Direction; - bool m_IgnoreEmptySliceObject; + bool m_IgnoreEmptySliceObjectFlag; + bool m_UseASingleObjectConnectedComponentBySliceFlag; private: SliceBySliceRelativePositionFilter(const Self&); //purposely not implemented