18 #ifndef sitkLabelVotingImageFilter_h
19 #define sitkLabelVotingImageFilter_h
93 std::string
GetName()
const {
return std::string (
"LabelVotingImageFilter"); }
96 std::string ToString()
const;
99 Image Execute (
const std::vector<Image> &images);
109 Image Execute (
const std::vector<Image> &images,
uint64_t labelForUndecidedPixels );
123 typedef Image (Self::*MemberFunctionType)(
const std::vector<Image> & );
124 template <
class TImageType>
Image ExecuteInternal (
const std::vector<Image> &images );
Image LabelVoting(const std::vector< Image > &images, uint64_t labelForUndecidedPixels=std::numeric_limits< uint64_t >::max())
This filter performs pixelwise voting among an arbitrary number of input images, where each of them r...
#define SITKBasicFilters_EXPORT
This filter performs pixelwise voting among an arbitrary number of input images, where each of them r...
Self & SetLabelForUndecidedPixels(uint64_t LabelForUndecidedPixels)
uint64_t GetLabelForUndecidedPixels() const
uint64_t m_LabelForUndecidedPixels
std::string GetName() const
The Image class for SimpleITK.
LabelVotingImageFilter Self
typelist::MakeTypeList< BasicPixelID< uint8_t >, BasicPixelID< uint16_t >, BasicPixelID< uint32_t >, BasicPixelID< uint64_t > >::Type PixelIDTypeList
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.