18 #ifndef sitkLabelImageToLabelMapFilter_h
19 #define sitkLabelImageToLabelMapFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
74 std::string
GetName()
const {
return std::string (
"LabelImageToLabelMapFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1,
double backgroundValue );
91 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
92 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Image LabelImageToLabelMap(const Image &image1, double backgroundValue=0)
convert a labeled image to a label collection image
typelist::MakeTypeList< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t > >::Type UnsignedIntegerPixelIDTypeList
UnsignedIntegerPixelIDTypeList PixelIDTypeList
#define SITKBasicFilters_EXPORT
convert a labeled image to a label collection image
Self & SetBackgroundValue(double BackgroundValue)
LabelImageToLabelMapFilter Self
std::string GetName() const
The Image class for SimpleITK.
double GetBackgroundValue() const
The base interface for SimpleITK filters that take one input image.