18#ifndef itkRankImageFilter_h
19#define itkRankImageFilter_h
67template <
typename TInputImage,
68 typename TOutputImage,
69 typename TKernel = FlatStructuringElement<TInputImage::ImageDimension>>
74 Function::RankHistogram<typename TInputImage::PixelType>>
102 using typename Superclass::OutputImageRegionType;
106 using typename Superclass::HistogramType;
109 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
120 itkSetClampMacro(Rank,
float, 0.0, 1.0);
121 itkGetConstMacro(Rank,
float);
126 return HistogramType::UseVectorBasedAlgorithm();
144#ifndef ITK_MANUAL_INSTANTIATION
145# include "itkRankImageFilter.hxx"
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::PixelType InputPixelType
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.
Implements a generic moving histogram algorithm.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Rank filter of a greyscale image.
void PrintSelf(std::ostream &os, Indent indent) const override
typename KernelType::ConstIterator KernelIteratorType
~RankImageFilter() override=default
bool GetUseVectorBasedAlgorithm() const
typename TInputImage::PixelType PixelType
void ConfigureHistogram(HistogramType &histogram) override
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....