18 #ifndef itkStandardDeviationProjectionImageFilter_h
19 #define itkStandardDeviationProjectionImageFilter_h
49 template<
typename TInputPixel,
typename TAccumulate >
85 typename std::vector< TInputPixel >::iterator it;
89 squaredSum += itk::Math::sqr(*it - mean);
91 return std::sqrt( squaredSum / (
m_Size - 1 ) );
100 template<
typename TInputImage,
101 typename TOutputImage,
102 typename TAccumulate =
typename
108 Functor::StandardDeviationAccumulator< typename
109 TInputImage::PixelType, TAccumulate > >
118 typename TInputImage::PixelType,
133 #ifdef ITK_USE_CONCEPT_CHECKING
135 itkConceptMacro( InputPixelToOutputPixelTypeGreaterAdditiveOperatorCheck,
std::vector< TInputPixel > m_Values
Define numeric traits for std::vector.
unsigned long SizeValueType
void operator()(const TInputPixel &input)
StandardDeviationAccumulator(SizeValueType size)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename NumericTraits< TInputPixel >::RealType RealType
TInputImage InputImageType
Implements an accumulation of an image along a selected direction.
~StandardDeviationProjectionImageFilter() override=default
StandardDeviationProjectionImageFilter()=default
typename InputImageType::PixelType InputPixelType
#define itkConceptMacro(name, concept)
~StandardDeviationAccumulator()=default