18#ifndef itkMultiLabelSTAPLEImageFilter_h
19#define itkMultiLabelSTAPLEImageFilter_h
109template <
typename TInputImage,
typename TOutputImage = TInputImage,
typename TWeights =
float>
155 itkGetConstMacro(ElapsedNumberOfIterations,
unsigned int);
166 itkGetConstMacro(MaximumNumberOfIterations,
unsigned int);
170 itkGetConstMacro(HasMaximumNumberOfIterations,
bool);
187 itkSetMacro(TerminationUpdateThreshold, TWeights);
188 itkGetConstMacro(TerminationUpdateThreshold, TWeights);
212 itkGetMacro(HasLabelForUndecidedPixels,
bool);
252 itkGetMacro(HasPriorProbabilities,
bool);
269 const ConfusionMatrixType &
289 typename TInputImage::PixelType
329#ifndef ITK_MANUAL_INSTANTIATION
330# include "itkMultiLabelSTAPLEImageFilter.hxx"
Array2D class representing a 2D array.
Array class with size defined at construction time.
Base class for all data objects in ITK.
A multi-dimensional iterator templated over image type that walks a region of pixels.
A multi-dimensional iterator templated over image type that walks a region of pixels.
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
void UnsetPriorProbabilities()
std::vector< ConfusionMatrixType > m_UpdatedConfusionMatrixArray
OutputPixelType m_LabelForUndecidedPixels
void InitializeConfusionMatrixArrayFromVoting()
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &, Indent) const override
Array2D< WeightsType > ConfusionMatrixType
void GenerateData() override
const ConfusionMatrixType & GetConfusionMatrix(const unsigned int i) const
void SetMaximumNumberOfIterations(const unsigned int mit)
unsigned int m_MaximumNumberOfIterations
MultiLabelSTAPLEImageFilter()
TOutputImage OutputImageType
PriorProbabilitiesType m_PriorProbabilities
unsigned int m_ElapsedNumberOfIterations
typename InputImageType::Pointer InputImagePointer
static constexpr unsigned int ImageDimension
void UnsetMaximumNumberOfIterations()
typename OutputImageType::Pointer OutputImagePointer
void SetLabelForUndecidedPixels(const OutputPixelType l)
typename TInputImage::PixelType InputPixelType
bool m_HasPriorProbabilities
bool m_HasLabelForUndecidedPixels
bool m_HasMaximumNumberOfIterations
~MultiLabelSTAPLEImageFilter() override=default
ImageRegionIterator< TOutputImage > OutputIteratorType
TInputImage::PixelType ComputeMaximumInputValue()
ImageRegionConstIterator< TInputImage > InputConstIteratorType
void InitializePriorProbabilities()
typename TOutputImage::PixelType OutputPixelType
Array< WeightsType > PriorProbabilitiesType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void EnlargeOutputRequestedRegion(DataObject *) override
TInputImage InputImageType
void AllocateConfusionMatrixArray()
TWeights m_TerminationUpdateThreshold
void UnsetLabelForUndecidedPixels()
std::vector< ConfusionMatrixType > m_ConfusionMatrixArray
vcl_size_t m_TotalLabelCount
MultiLabelSTAPLEImageFilter Self
void GenerateInputRequestedRegion() override
void SetPriorProbabilities(const PriorProbabilitiesType &ppa)
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....