18 #ifndef sitkLabelVotingImageFilter_h
19 #define sitkLabelVotingImageFilter_h
92 std::string
GetName()
const {
return std::string (
"LabelVotingImageFilter"); }
95 std::string ToString()
const;
98 Image Execute (
const std::vector<Image> &images);
108 Image Execute (
const std::vector<Image> &images,
uint64_t labelForUndecidedPixels );
122 typedef Image (Self::*MemberFunctionType)(
const std::vector<Image> & );
123 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 main 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.