18 #ifndef itkMovingHistogramImageFilterBase_h
19 #define itkMovingHistogramImageFilterBase_h
89 template<
typename TInputImage,
typename TOutputImage,
typename TKernel >
119 itkStaticConstMacro(ImageDimension,
unsigned int,
120 TInputImage::ImageDimension);
133 typedef typename std::map< OffsetType, OffsetListType, typename OffsetType::LexicographicCompare >
OffsetMapType;
136 void SetKernel(
const KernelType & kernel) ITK_OVERRIDE;
144 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
146 void GetDirAndOffset(
const IndexType LineStart,
148 OffsetType & LineOffset,
149 OffsetType & Changes,
150 int & LineDirection);
171 m_Dimension = dimension;
183 else if ( m_Count < dc.
m_Count )
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkMovingHistogramImageFilterBase.hxx"
SmartPointer< Self > Pointer
OffsetMapType m_RemovedOffsets
KernelImageFilter< TInputImage, TOutputImage, TKernel > Superclass
TOutputImage OutputImageType
TInputImage::SizeType SizeType
FixedArray< int, itkGetStaticConstMacro(ImageDimension) > m_Axes
SizeValueType m_PixelsPerTranslation
Superclass::OutputImageRegionType OutputImageRegionType
Base class for all process objects that output image data.
TInputImage::IndexType IndexType
unsigned long SizeValueType
OffsetListType m_KernelOffsets
KernelType::SizeType RadiusType
TInputImage::PixelType PixelType
A base class for all the filters working on an arbitrary shaped neighborhood.
DirectionCost(int dimension, int count)
TInputImage::RegionType RegionType
KernelType::ConstIterator KernelIteratorType
MovingHistogramImageFilterBase Self
~MovingHistogramImageFilterBase() override
std::map< OffsetType, OffsetListType, typename OffsetType::LexicographicCompare > OffsetMapType
bool operator<(const DirectionCost &dc) const
std::list< OffsetType > OffsetListType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
ImageBaseType::SizeType SizeType
TInputImage::OffsetType OffsetType
Implements a generic moving histogram algorithm.
TOutputImage::PixelType OutputPixelType
TInputImage InputImageType
OffsetMapType m_AddedOffsets
ImageBaseType::IndexType IndexType