Go to the documentation of this file.
18 #ifndef sitkBoxMeanImageFilter_h
19 #define sitkBoxMeanImageFilter_h
60 SITK_RETURN_SELF_TYPE_HEADER
SetRadius ( std::vector<unsigned int> Radius ) { this->m_Radius = std::move(Radius);
return *
this; }
63 SITK_RETURN_SELF_TYPE_HEADER
SetRadius(
unsigned int value ) { this->m_Radius = std::vector<unsigned int>(3, value);
return *
this; }
67 std::vector<unsigned int>
GetRadius()
const {
return this->m_Radius; }
70 std::string
GetName()
const {
return std::string (
"BoxMeanImageFilter"); }
73 std::string ToString()
const;
85 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
87 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
91 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
95 std::vector<unsigned int> m_Radius{std::vector<unsigned int>(3, 1)};
The Image class for SimpleITK.
Self & SetRadius(unsigned int value)
std::string GetName() const
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
BasicPixelIDTypeList PixelIDTypeList
Image BoxMean(const Image &image1, std::vector< unsigned int > radius=std::vector< unsigned int >(3, 1))
Implements a fast rectangular mean filter using the accumulator approach.
Implements a fast rectangular mean filter using the accumulator approach.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetRadius(std::vector< unsigned int > Radius)
#define SITKBasicFilters_EXPORT
The base interface for SimpleITK filters that take one input image.
std::vector< unsigned int > GetRadius() const
Image(Self::*)(const Image &image1) MemberFunctionType