18 #ifndef itkMovingHistogramImageFilterBase_h
19 #define itkMovingHistogramImageFilterBase_h
90 template<
typename TInputImage,
typename TOutputImage,
typename TKernel >
122 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
135 using OffsetMapType =
typename std::map< OffsetType, OffsetListType, Functor::LexicographicCompare >;
138 void SetKernel(
const KernelType & kernel)
override;
146 void PrintSelf(std::ostream & os,
Indent indent)
const override;
148 void GetDirAndOffset(
const IndexType LineStart,
152 int & LineDirection);
171 m_Dimension = dimension;
183 else if ( m_Count < dc.
m_Count )
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkMovingHistogramImageFilterBase.hxx"
typename TInputImage::SizeType RadiusType
OffsetMapType m_RemovedOffsets
typename TImageType::PixelType PixelType
FixedArray< int, Self::ImageDimension > m_Axes
typename std::map< OffsetType, OffsetListType, Functor::LexicographicCompare > OffsetMapType
unsigned long SizeValueType
typename TInputImage::IndexType IndexType
SizeValueType m_PixelsPerTranslation
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::RegionType RegionType
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.
TInputImage InputImageType
Simulate a standard C array with copy semnatics.
typename TInputImage::OffsetType OffsetType
OffsetListType m_KernelOffsets
typename KernelType::ConstIterator KernelIteratorType
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
typename TInputImage::SizeType SizeType
TOutputImage OutputImageType
A base class for all the filters working on an arbitrary shaped neighborhood.
DirectionCost(int dimension, int count)
bool operator<(const DirectionCost &dc) const
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
Implements a generic moving histogram algorithm.
OffsetMapType m_AddedOffsets
typename std::list< OffsetType > OffsetListType