18#ifndef itkComputeImageExtremaFilter_h
19#define itkComputeImageExtremaFilter_h
21#include "itkStatisticsImageFilter.h"
22#include "itkSpatialObject.h"
23#include "itkImageMaskSpatialObject.h"
47template<
typename TInputImage >
68 typedef typename Superclass::SizeType
SizeType;
70 typedef typename Superclass::PixelType PixelType;
75 TInputImage::ImageDimension );
78 typedef typename Superclass::RealType
RealType;
81 itkSetMacro( UseMask,
bool );
83 typedef SpatialObject< itkGetStaticConstMacro(ImageDimension) >
ImageMaskType;
131#ifndef ITK_MANUAL_INSTANTIATION
132#include "itkComputeImageExtremaFilter.hxx"
Compute min. max, variance and mean of an Image.
ImageSpatialMaskType::ConstPointer ImageSpatialMaskConstPointer
ComputeImageExtremaFilter(const Self &)
CompensatedSummation< RealType > m_ThreadSum
virtual void SameGeometry()
itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension)
ImageMaskType::Pointer ImageMaskPointer
ImageMaskSpatialObject< itkGetStaticConstMacro(ImageDimension) > ImageSpatialMaskType
ImageSpatialMaskType::Pointer ImageSpatialMaskPointer
~ComputeImageExtremaFilter() override
TInputImage::Pointer InputImagePointer
ComputeImageExtremaFilter Self
Superclass::SizeType SizeType
StatisticsImageFilter< TInputImage > Superclass
void ThreadedStreamedGenerateData(const RegionType &) override
virtual void ThreadedGenerateDataImageMask(const RegionType &)
Superclass::IndexType IndexType
ImageSpatialMaskConstPointer m_ImageSpatialMask
ImageMaskConstPointer m_ImageMask
ComputeImageExtremaFilter()
SpatialObject< itkGetStaticConstMacro(ImageDimension) > ImageMaskType
TInputImage::PointType PointType
ImageMaskType::ConstPointer ImageMaskConstPointer
CompensatedSummation< RealType > m_SumOfSquares
SmartPointer< const Self > ConstPointer
void BeforeStreamedGenerateData() override
virtual void ThreadedGenerateDataImageSpatialMask(const RegionType &)
SmartPointer< Self > Pointer
Superclass::RegionType RegionType
Superclass::RealType RealType
void operator=(const Self &)
void AfterStreamedGenerateData() override