18 #ifndef sitkRelabelLabelMapFilter_h
19 #define sitkRelabelLabelMapFilter_h
64 SITK_RETURN_SELF_TYPE_HEADER
SetReverseOrdering (
bool ReverseOrdering ) { this->m_ReverseOrdering = ReverseOrdering;
return *
this; }
74 std::string
GetName()
const {
return std::string (
"RelabelLabelMapFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1,
bool reverseOrdering );
92 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
93 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
99 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
LabelPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
bool GetReverseOrdering() const
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList
This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration f...
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetReverseOrdering(bool ReverseOrdering)
Image RelabelLabelMap(const Image &image1, bool reverseOrdering=true)
This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration f...
std::string GetName() const
The main Image class for SimpleITK.
Self & ReverseOrderingOff()
Self & ReverseOrderingOn()
RelabelLabelMapFilter Self
The base interface for SimpleITK filters that take one input image.