18 #ifndef sitkLabelImageToLabelMapFilter_h
19 #define sitkLabelImageToLabelMapFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
SetBackgroundValue (
double BackgroundValue ) { this->m_BackgroundValue = BackgroundValue;
return *
this; }
80 std::string
GetName()
const {
return std::string (
"LabelImageToLabelMapFilter"); }
83 std::string ToString()
const;
91 Image Execute (
const Image& image1,
double backgroundValue );
98 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
99 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
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 main Image class for SimpleITK.
double GetBackgroundValue() const
The base interface for SimpleITK filters that take one input image.