18 #ifndef itkMultiLabelSTAPLEImageFilter_h
19 #define itkMultiLabelSTAPLEImageFilter_h
117 template <
typename TInputImage,
typename TOutputImage = TInputImage,
typename TWeights =
float >
142 TOutputImage::ImageDimension);
294 void operator=(const
Self&) ITK_DELETE_FUNCTION;
320 #ifndef ITK_MANUAL_INSTANTIATION
321 #include "itkMultiLabelSTAPLEImageFilter.hxx"
Array2D< WeightsType > ConfusionMatrixType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
std::vector< ConfusionMatrixType > m_ConfusionMatrixArray
void AllocateConfusionMatrixArray()
void UnsetPriorProbabilities()
unsigned int m_MaximumNumberOfIterations
Array< WeightsType > PriorProbabilitiesType
virtual ~MultiLabelSTAPLEImageFilter()
void UnsetMaximumNumberOfIterations()
TInputImage::PixelType InputPixelType
void InitializeConfusionMatrixArrayFromVoting()
static const double e
The base of the natural logarithm or Euler's number
Base class for all process objects that output image data.
TWeights m_TerminationUpdateThreshold
ConfusionMatrixType GetConfusionMatrix(const unsigned int i)
void SetLabelForUndecidedPixels(const OutputPixelType l)
OutputPixelType m_LabelForUndecidedPixels
bool m_HasMaximumNumberOfIterations
OutputPixelType GetLabelForUndecidedPixels() const
OutputImageType::Pointer OutputImagePointer
void SetTerminationUpdateThreshold(const TWeights thresh)
InputImageType::Pointer InputImagePointer
ImageRegionIterator< TOutputImage > OutputIteratorType
Array2D class representing a 2D array with size defined at construction time.
void GenerateInputRequestedRegion() override
A multi-dimensional iterator templated over image type that walks a region of pixels.
MultiLabelSTAPLEImageFilter Self
MultiLabelSTAPLEImageFilter()
TOutputImage::PixelType OutputPixelType
bool m_HasPriorProbabilities
Superclass::OutputImageRegionType OutputImageRegionType
TOutputImage OutputImageType
ImageRegionConstIterator< TInputImage > InputConstIteratorType
void SetMaximumNumberOfIterations(const unsigned int mit)
PriorProbabilitiesType GetPriorProbabilities() const
virtual void Modified() const
SmartPointer< Self > Pointer
This filter performs a pixelwise combination of an arbitrary number of input images, where each of them represents a segmentation of the same scene (i.e., image).
void UnsetLabelForUndecidedPixels()
bool m_HasLabelForUndecidedPixels
void PrintSelf(std::ostream &, Indent) const override
std::vector< ConfusionMatrixType > m_UpdatedConfusionMatrixArray
void EnlargeOutputRequestedRegion(DataObject *) override
Base class for filters that take an image as input and produce an image as output.
PriorProbabilitiesType m_PriorProbabilities
void SetPriorProbabilities(const PriorProbabilitiesType &ppa)
Control indentation during Print() invocation.
void GenerateData() override
static const unsigned int ImageDimension
TInputImage InputImageType
Superclass::OutputImageRegionType OutputImageRegionType
Define additional traits for native types such as int or float.
TInputImage::PixelType ComputeMaximumInputValue()
SmartPointer< const Self > ConstPointer
vcl_size_t m_TotalLabelCount
void InitializePriorProbabilities()
Base class for all data objects in ITK.
A multi-dimensional iterator templated over image type that walks a region of pixels.