18#ifndef itkMaskedRankImageFilter_h
19#define itkMaskedRankImageFilter_h
63template <
typename TInputImage,
65 typename TOutputImage,
66 typename TKernel = FlatStructuringElement<TInputImage::ImageDimension>>
72 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 "itkMaskedRankImageFilter.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.
Rank filter of a greyscale image.
typename KernelType::ConstIterator KernelIteratorType
bool GetUseVectorBasedAlgorithm() const
typename TInputImage::PixelType PixelType
~MaskedRankImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void ConfigureHistogram(HistogramType &histogram) 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....