18 #ifndef itkSTAPLEImageFilter_h
19 #define itkSTAPLEImageFilter_h
121 template <
typename TInputImage,
typename TOutputImage>
147 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
166 const std::vector<double> &
169 return m_Specificity;
175 const std::vector<double> &
178 return m_Sensitivity;
186 if (i > this->GetNumberOfIndexedInputs())
188 itkExceptionMacro(<<
"Array reference out of bounds.");
190 return m_Sensitivity[i];
199 if (i > this->GetNumberOfIndexedInputs())
201 itkExceptionMacro(<<
"Array reference out of bounds.");
203 return m_Specificity[i];
210 itkSetMacro(MaximumIterations,
unsigned int);
211 itkGetConstMacro(MaximumIterations,
unsigned int);
221 itkSetMacro(ConfidenceWeight,
double);
222 itkGetConstMacro(ConfidenceWeight,
double);
226 itkGetConstMacro(ElapsedIterations,
unsigned int);
228 #ifdef ITK_USE_CONCEPT_CHECKING
239 m_ElapsedIterations = 0;
240 m_ConfidenceWeight = 1.0;
245 GenerateData()
override;
248 PrintSelf(std::ostream &,
Indent)
const override;
262 #ifndef ITK_MANUAL_INSTANTIATION
263 # include "itkSTAPLEImageFilter.hxx"