18 #ifndef __itkFastApproximateRankImageFilter_h
19 #define __itkFastApproximateRankImageFilter_h
44 template<
class TInputImage,
class TOutputImage >
47 RankImageFilter< TInputImage, TInputImage,
48 FlatStructuringElement< ::itk::GetImageDimension<
49 TInputImage >::ImageDimension > > >
72 typedef typename TInputImage::SizeType
SizeType;
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TInputImage::ImageDimension);
85 void SetRank(
float rank)
90 for (
unsigned i = 0; i < TInputImage::ImageDimension - 1; i++ )
92 this->m_Filters[i]->SetRank(m_Rank);
98 itkGetConstMacro(Rank,
float);
109 void PrintSelf(std::ostream & os,
Indent indent)
const
111 Superclass::PrintSelf(os, indent);
112 os << indent <<
"Rank: " << m_Rank << std::endl;
117 void operator=(
const Self &);