Go to the documentation of this file.
18 #ifndef sitkRelabelLabelMapFilter_h
19 #define sitkRelabelLabelMapFilter_h
63 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;
91 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
96 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
100 bool m_ReverseOrdering{
true};
103 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...
typelist2::typelist< LabelPixelID< uint8_t >, LabelPixelID< uint16_t >, LabelPixelID< uint32_t > > LabelPixelIDTypeList
The base interface for SimpleITK filters that take one input image.
Image(Self::*)(const Image &image1) MemberFunctionType