18#ifndef itkBayesianClassifierInitializationImageFilter_h
19#define itkBayesianClassifierInitializationImageFilter_h
76template <
typename TInputImage,
typename TProbabilityPrecisionType =
float>
78 :
public ImageToImageFilter<TInputImage, VectorImage<TProbabilityPrecisionType, TInputImage::ImageDimension>>
89 static constexpr unsigned int Dimension = InputImageType::ImageDimension;
139 itkSetMacro(NumberOfClasses,
unsigned int);
140 itkGetConstMacro(NumberOfClasses,
unsigned int);
146#ifdef ITK_USE_CONCEPT_CHECKING
176 bool m_UserSuppliesMembershipFunctions{
false };
177 unsigned int m_NumberOfClasses{ 0 };
183#ifndef ITK_MANUAL_INSTANTIATION
184# include "itkBayesianClassifierInitializationImageFilter.hxx"
This filter is intended to be used as a helper class to initialize the BayesianClassifierImageFilter.
typename MembershipFunctionContainerType::Pointer MembershipFunctionContainerPointer
typename MembershipImageType::PixelType MembershipPixelType
typename MembershipFunctionType::Pointer MembershipFunctionPointer
~BayesianClassifierInitializationImageFilter() override=default
TProbabilityPrecisionType ProbabilityPrecisionType
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::PixelType OutputPixelType
void GenerateData() override
typename MembershipImageType::Pointer MembershipImagePointer
virtual void InitializeMembershipFunctions()
TInputImage InputImageType
void GenerateOutputInformation() override
typename InputImageType::PixelType InputPixelType
virtual void SetMembershipFunctions(MembershipFunctionContainerType *membershipFunction)
BayesianClassifierInitializationImageFilter()
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.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
MembershipFunctionBase defines common interfaces for membership functions.
Templated n-dimensional vector image class.
A templated class holding a n-Dimensional vector.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
constexpr unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....