18#ifndef itkMovingHistogramImageFilterBase_h
19#define itkMovingHistogramImageFilterBase_h
90template <
typename TInputImage,
typename TOutputImage,
typename TKernel>
116 using typename Superclass::OutputImageRegionType;
120 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
133 using OffsetMapType =
typename std::map<OffsetType, OffsetListType, Functor::LexicographicCompare>;
153 int & LineDirection);
172 m_Dimension = dimension;
204#ifndef ITK_MANUAL_INSTANTIATION
205# include "itkMovingHistogramImageFilterBase.hxx"
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::SizeType RadiusType
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::OffsetType OffsetType
Base class for all process objects that output image data.
TOutputImage OutputImageType
TInputImage InputImageType
Control indentation during Print() invocation.
A base class for all the filters working on an arbitrary shaped neighborhood.
DirectionCost(int dimension, int count)
Implements a generic moving histogram algorithm.
typename std::map< OffsetType, OffsetListType, Functor::LexicographicCompare > OffsetMapType
typename std::list< OffsetType > OffsetListType
typename KernelType::ConstIterator KernelIteratorType
MovingHistogramImageFilterBase()
void GetDirAndOffset(const IndexType LineStart, const IndexType PrevLineStart, OffsetType &LineOffset, OffsetType &Changes, int &LineDirection)
~MovingHistogramImageFilterBase() override=default
void SetKernel(const KernelType &kernel) override
typename TInputImage::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const override
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
bool operator<(const Index< VDimension > &one, const Index< VDimension > &two)