18#ifndef itkMeanImageFilter_h
19#define itkMeanImageFilter_h
51template <
typename TInputImage,
typename TOutputImage>
58 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
59 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
87#ifdef ITK_USE_CONCEPT_CHECKING
111 template <
typename TPixelAccessPolicy,
typename TPixelType>
114 TOutputImage & outputImage,
119 template <
typename TPixelAccessPolicy,
typename TValue>
122 TOutputImage & outputImage,
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "itkMeanImageFilter.hxx"
A base class for all the filters working on a box neighborhood.
typename TInputImage::PixelType InputPixelType
typename TOutputImage::PixelType OutputPixelType
An image region represents a structured region of data.
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
Applies an averaging filter to an image.
static void GenerateDataInSubregion(const TInputImage &inputImage, TOutputImage &outputImage, const ImageRegion< InputImageDimension > &imageRegion, const std::vector< Offset< InputImageDimension > > &neighborhoodOffsets, const VariableLengthVector< TValue > *)
typename InputImageType::SizeType InputSizeType
~MeanImageFilter() override=default
typename NumericTraits< InputPixelType >::RealType InputRealType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
static void GenerateDataInSubregion(const TInputImage &inputImage, TOutputImage &outputImage, const ImageRegion< InputImageDimension > &imageRegion, const std::vector< Offset< InputImageDimension > > &neighborhoodOffsets, const TPixelType *)
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.