|
ITK
5.3.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSTAPLEImageFilter_h
19 #define itkSTAPLEImageFilter_h
121 template <
typename TInputImage,
typename TOutputImage>
147 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
156 using typename Superclass::OutputImageRegionType;
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];
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"
SmartPointer< Self > Pointer
typename TOutputImage::PixelType OutputPixelType
typename TInputImage::PixelType InputPixelType
const std::vector< double > & GetSpecificity() const
typename OutputImageType::Pointer OutputImagePointer
unsigned int m_ElapsedIterations
const std::vector< double > & GetSensitivity() const
Control indentation during Print() invocation.
InputPixelType m_ForegroundValue
double m_ConfidenceWeight
Base class for filters that take an image as input and produce an image as output.
Base class for all process objects that output image data.
typename InputImageType::Pointer InputImagePointer
TInputImage InputImageType
std::vector< double > m_Sensitivity
unsigned int m_MaximumIterations
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
#define itkConceptMacro(name, concept)
The STAPLE filter implements the Simultaneous Truth and Performance Level Estimation algorithm for ge...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename NumericTraits< InputPixelType >::RealType RealType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
std::vector< double > m_Specificity
double GetSpecificity(unsigned int i)
TOutputImage OutputImageType
double GetSensitivity(unsigned int i)