18#ifndef itkFastApproximateRankImageFilter_h
19#define itkFastApproximateRankImageFilter_h
43template <
typename TInputImage,
typename TOutputImage>
48 RankImageFilter<TInputImage, TInputImage, FlatStructuringElement<TInputImage::ImageDimension>>>
90 for (
unsigned int i = 0; i < TInputImage::ImageDimension - 1; ++i)
98 itkGetConstMacro(Rank,
float);
114 os << indent <<
"Rank: " <<
m_Rank << std::endl;
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage::RegionType RegionType
typename TInputImage::SizeType SizeType
typename TInputImage::SizeType RadiusType
typename TInputImage::IndexType IndexType
typename TInputImage::OffsetType OffsetType
typename TInputImage::PixelType PixelType
~FastApproximateRankImageFilter() override=default
FastApproximateRankImageFilter()
static constexpr unsigned int ImageDimension
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
TInputImage InputImageType
Control indentation during Print() invocation.
A separable filter for filter which are using radius.
void Modified() const override
FilterType::Pointer m_Filters[ImageDimension]
RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< TInputImage::ImageDimension > > FilterType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Rank filter of a greyscale image.
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....