18 #ifndef sitkLabelUniqueLabelMapFilter_h
19 #define sitkLabelUniqueLabelMapFilter_h
66 SITK_RETURN_SELF_TYPE_HEADER
SetReverseOrdering (
bool ReverseOrdering ) { this->m_ReverseOrdering = ReverseOrdering;
return *
this; }
76 std::string
GetName()
const {
return std::string (
"LabelUniqueLabelMapFilter"); }
79 std::string ToString()
const;
87 Image Execute (
const Image& image1,
bool reverseOrdering );
93 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
94 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
99 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
Image LabelUniqueLabelMap(const Image &image1, bool reverseOrdering=false)
Make sure that the objects are not overlapping.
#define SITKBasicFilters_EXPORT
Self & SetReverseOrdering(bool ReverseOrdering)
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
LabelPixelIDTypeList PixelIDTypeList
Make sure that the objects are not overlapping.
Self & ReverseOrderingOn()
std::string GetName() const
Self & ReverseOrderingOff()
The Image class for SimpleITK.
bool GetReverseOrdering() const
LabelUniqueLabelMapFilter Self
The base interface for SimpleITK filters that take one input image.