18 #ifndef itkBayesianClassifierInitializationImageFilter_h
19 #define itkBayesianClassifierInitializationImageFilter_h
76 template <
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);
144 GenerateOutputInformation()
override;
146 #ifdef ITK_USE_CONCEPT_CHECKING
160 PrintSelf(std::ostream & os,
Indent indent)
const override;
168 InitializeMembershipFunctions();
173 GenerateData()
override;
176 bool m_UserSuppliesMembershipFunctions{
false };
177 unsigned int m_NumberOfClasses{ 0 };
183 #ifndef ITK_MANUAL_INSTANTIATION
184 # include "itkBayesianClassifierInitializationImageFilter.hxx"