18 #ifndef __itkSTAPLEImageFilter_h
19 #define __itkSTAPLEImageFilter_h
120 template<
typename TInputImage,
typename TOutputImage >
145 itkStaticConstMacro(ImageDimension,
unsigned int,
146 TOutputImage::ImageDimension);
165 const std::vector< double > & GetSpecificity()
const
167 return m_Specificity;
173 const std::vector< double > & GetSensitivity()
const
175 return m_Sensitivity;
180 double GetSensitivity(
unsigned int i)
182 if ( i > this->GetNumberOfIndexedInputs() )
184 itkExceptionMacro(<<
"Array reference out of bounds.");
186 return m_Sensitivity[i];
192 double GetSpecificity(
unsigned int i)
194 if ( i > this->GetNumberOfIndexedInputs() )
196 itkExceptionMacro(<<
"Array reference out of bounds.");
198 return m_Specificity[i];
205 itkSetMacro(MaximumIterations,
unsigned int);
206 itkGetConstMacro(MaximumIterations,
unsigned int);
216 itkSetMacro(ConfidenceWeight,
double);
217 itkGetConstMacro(ConfidenceWeight,
double);
221 itkGetConstMacro(ElapsedIterations,
unsigned int);
223 #ifdef ITK_USE_CONCEPT_CHECKING
235 m_ElapsedIterations = 0;
236 m_ConfidenceWeight = 1.0;
243 void PrintSelf(std::ostream &,
Indent)
const;
246 void operator=(
const Self &);
259 #ifndef ITK_MANUAL_INSTANTIATION
260 #include "itkSTAPLEImageFilter.hxx"