|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkStandardDeviationProjectionImageFilter_h
19 #define itkStandardDeviationProjectionImageFilter_h
49 template <
typename TInputPixel,
typename TAccumulate>
87 typename std::vector<TInputPixel>::iterator it;
91 squaredSum += itk::Math::sqr(*it - mean);
93 return std::sqrt(squaredSum / (
m_Size - 1));
102 template <
typename TInputImage,
103 typename TOutputImage,
108 Functor::StandardDeviationAccumulator<typename TInputImage::PixelType, TAccumulate>>
132 #ifdef ITK_USE_CONCEPT_CHECKING
134 itkConceptMacro(InputPixelToOutputPixelTypeGreaterAdditiveOperatorCheck,
typename InputImageType::PixelType InputPixelType
std::vector< TInputPixel > m_Values
StandardDeviationProjectionImageFilter()=default
typename NumericTraits< TInputPixel >::RealType RealType
Implements an accumulation of an image along a selected direction.
Base class for all process objects that output image data.
~StandardDeviationProjectionImageFilter() override=default
~StandardDeviationAccumulator()=default
TInputImage InputImageType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void operator()(const TInputPixel &input)
StandardDeviationAccumulator(SizeValueType size)
unsigned long SizeValueType