18 #ifndef __itkFastApproximateRankImageFilter_h
19 #define __itkFastApproximateRankImageFilter_h
44 template<
class TInputImage,
class TOutputImage >
47 RankImageFilter< TInputImage, TInputImage,
48 FlatStructuringElement< TInputImage::ImageDimension > > >
69 typedef typename TInputImage::SizeType
SizeType;
76 itkStaticConstMacro(ImageDimension,
unsigned int,
77 TInputImage::ImageDimension);
82 void SetRank(
float rank)
87 for (
unsigned i = 0; i < TInputImage::ImageDimension - 1; i++ )
89 this->m_Filters[i]->SetRank(m_Rank);
95 itkGetConstMacro(Rank,
float);
107 void PrintSelf(std::ostream & os,
Indent indent)
const
109 Superclass::PrintSelf(os, indent);
110 os << indent <<
"Rank: " << m_Rank << std::endl;
115 void operator=(
const Self &);