Go to the documentation of this file.
18 #ifndef sitkRelabelLabelMapFilter_h
19 #define sitkRelabelLabelMapFilter_h
64 SITK_RETURN_SELF_TYPE_HEADER
SetReverseOrdering (
bool ReverseOrdering ) { this->m_ReverseOrdering = ReverseOrdering;
return *
this; }
75 std::string
GetName()
const {
return std::string (
"RelabelLabelMapFilter"); }
78 std::string ToString()
const;
92 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
101 bool m_ReverseOrdering{
true};
104 bool m_InPlace{
false};
The Image class for SimpleITK.
Image RelabelLabelMap(Image &&image1, bool reverseOrdering=true)
This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration f...
LabelPixelIDTypeList PixelIDTypeList
bool GetReverseOrdering() const
Self & SetReverseOrdering(bool ReverseOrdering)
Self & ReverseOrderingOn()
Self & ReverseOrderingOff()
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
#define SITKBasicFilters_EXPORT
This filter relabels the LabelObjects; the new labels are arranged consecutively with consideration f...
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType
typelist::MakeTypeList< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > >::Type LabelPixelIDTypeList