Go to the documentation of this file.
18 #ifndef sitkLabelImageToLabelMapFilter_h
19 #define sitkLabelImageToLabelMapFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
75 std::string
GetName()
const {
return std::string (
"LabelImageToLabelMapFilter"); }
78 std::string ToString()
const;
90 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
95 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
99 double m_BackgroundValue{0};
The Image class for SimpleITK.
double GetBackgroundValue() const
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Image(Self::*)(const Image &image1) MemberFunctionType
#define SITKBasicFilters_EXPORT
convert a labeled image to a label collection image
Self & SetBackgroundValue(double BackgroundValue)
The base interface for SimpleITK filters that take one input image.
Image LabelImageToLabelMap(const Image &image1, double backgroundValue=0)
convert a labeled image to a label collection image
UnsignedIntegerPixelIDTypeList PixelIDTypeList
typelist::MakeTypeList< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t > >::Type UnsignedIntegerPixelIDTypeList