18 #ifndef __itkMultiLabelSTAPLEImageFilter_h
19 #define __itkMultiLabelSTAPLEImageFilter_h
117 template <
typename TInputImage,
typename TOutputImage = TInputImage,
typename TWeights =
float >
142 TOutputImage::ImageDimension);
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 operator=(const Self &)
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)
void EnlargeOutputRequestedRegion(DataObject *)
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.
A multi-dimensional iterator templated over image type that walks a region of pixels.
MultiLabelSTAPLEImageFilter Self
MultiLabelSTAPLEImageFilter()
TOutputImage::PixelType OutputPixelType
bool m_HasPriorProbabilities
void GenerateInputRequestedRegion()
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
std::vector< ConfusionMatrixType > m_UpdatedConfusionMatrixArray
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 PrintSelf(std::ostream &, Indent) const
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.