18 #ifndef sitkSumProjectionImageFilter_h
19 #define sitkSumProjectionImageFilter_h
78 SITK_RETURN_SELF_TYPE_HEADER
SetProjectionDimension (
unsigned int ProjectionDimension ) { this->m_ProjectionDimension = ProjectionDimension;
return *
this; }
84 std::string
GetName()
const {
return std::string (
"SumProjectionImageFilter"); }
87 std::string ToString()
const;
95 Image Execute (
const Image& image1,
unsigned int projectionDimension );
101 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
102 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
104 template <
class TImageType>
Image ExecuteInternalVectorImage (
const Image& image );
#define SITKBasicFilters_EXPORT
typelist::MakeTypeList< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > >::Type BasicPixelIDTypeList
Self & SetProjectionDimension(unsigned int ProjectionDimension)
unsigned int m_ProjectionDimension
unsigned int GetProjectionDimension() const
SumProjectionImageFilter Self
The Image class for SimpleITK.
std::string GetName() const
Image SumProjection(const Image &image1, unsigned int projectionDimension=0u)
Sum projection.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.
BasicPixelIDTypeList PixelIDTypeList