18 #ifndef sitkStochasticFractalDimensionImageFilter_h
19 #define sitkStochasticFractalDimensionImageFilter_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetNeighborhoodRadius (
const std::vector<unsigned int> & NeighborhoodRadius ) { this->m_NeighborhoodRadius = NeighborhoodRadius;
return *
this; }
72 SITK_RETURN_SELF_TYPE_HEADER
SetNeighborhoodRadius(
unsigned int value ) { this->m_NeighborhoodRadius = std::vector<unsigned int>(3, value);
return *
this; }
80 std::string
GetName()
const {
return std::string (
"StochasticFractalDimensionImageFilter"); }
83 std::string ToString()
const;
92 Image Execute (
const Image & image,
const Image & maskImage,
const std::vector<unsigned int> & neighborhoodRadius );
93 Image Execute (
const Image & image,
const std::vector<unsigned int> & neighborhoodRadius );
99 typedef Image (Self::*MemberFunctionType)(
const Image * image,
const Image * maskImage );
100 template <
class TImageType>
Image ExecuteInternal (
const Image * image,
const Image * maskImage );
#define SITKBasicFilters_EXPORT
std::string GetName() const
Image StochasticFractalDimension(const Image &image, const Image &maskImage, const std::vector< unsigned int > &neighborhoodRadius=std::vector< unsigned int >(3, 2u))
This filter computes the stochastic fractal dimension of the input image.
std::vector< unsigned int > m_NeighborhoodRadius
typelist::MakeTypeList< BasicPixelID< float >, BasicPixelID< double > >::Type RealPixelIDTypeList
std::vector< unsigned int > GetNeighborhoodRadius() const
StochasticFractalDimensionImageFilter Self
Self & SetNeighborhoodRadius(const std::vector< unsigned int > &NeighborhoodRadius)
Self & SetNeighborhoodRadius(unsigned int value)
The Image class for SimpleITK.
This filter computes the stochastic fractal dimension of the input image.
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
RealPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.