18 #ifndef __itkBayesianClassifierImageFilter_h
19 #define __itkBayesianClassifierImageFilter_h
79 template<
typename TInputVectorImage,
typename TLabelsType =
unsigned char,
80 typename TPosteriorsPrecisionType = double,
typename TPriorsPrecisionType =
double >
83 TInputVectorImage, Image< TLabelsType,
84 TInputVectorImage ::ImageDimension > >
106 itkStaticConstMacro(
Dimension,
unsigned int,
107 InputImageType ::ImageDimension);
109 typedef Image< TLabelsType,
178 itkSetMacro(NumberOfSmoothingIterations,
unsigned int);
179 itkGetConstMacro(NumberOfSmoothingIterations,
unsigned int);
187 #ifdef ITK_USE_CONCEPT_CHECKING
247 #ifndef ITK_MANUAL_INSTANTIATION
248 #include "itkBayesianClassifierImageFilter.hxx"
virtual ~BayesianClassifierImageFilter()
ImageRegionConstIterator< PriorsImageType > PriorsImageIteratorType
Light weight base class for most itk classes.
ImageRegionConstIterator< InputImageType > InputImageIteratorType
virtual void ClassifyBasedOnPosteriors()
ImageRegionConstIterator< MembershipImageType > MembershipImageIteratorType
OutputImageType::PixelType OutputPixelType
Image< TLabelsType, itkGetStaticConstMacro(Dimension) > OutputImageType
ImageToImageFilter< TInputVectorImage, Image< TLabelsType, TInputVectorImage::ImageDimension > > Superclass
void operator=(const Self &)
void PrintSelf(std::ostream &os, Indent indent) const
MembershipImageType::Pointer MembershipImagePointer
DataObject::Pointer DataObjectPointer
BayesianClassifierImageFilter Self
SmartPointer< const Self > ConstPointer
virtual ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
Templated n-dimensional vector image class.
OutputImageType::Pointer OutputImagePointer
SmartPointer< Self > Pointer
bool m_UserProvidedPriors
InputImageType::ConstPointer InputImagePointer
itk::Image< TPosteriorsPrecisionType, itkGetStaticConstMacro(Dimension) > ExtractedComponentImageType
BayesianClassifierImageFilter()
bool m_UserProvidedSmoothingFilter
PosteriorsImageType::PixelType PosteriorsPixelType
DecisionRuleType::Pointer DecisionRulePointer
unsigned int m_NumberOfSmoothingIterations
SmoothingFilterPointer m_SmoothingFilter
PosteriorsImageType::Pointer PosteriorsImagePointer
MembershipImageType::PixelType MembershipPixelType
Superclass::DataObjectPointer DataObjectPointer
virtual void NormalizeAndSmoothPosteriors()
VectorImage< TPosteriorsPrecisionType, itkGetStaticConstMacro(Dimension) > PosteriorsImageType
Represents an array whose length can be defined at run-time.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Performs Bayesian Classification on an image.
A multi-dimensional iterator templated over image type that walks a region of pixels.
ImageRegionIterator< PosteriorsImageType > PosteriorsImageIteratorType
InputImageType::PixelType InputPixelType
TInputVectorImage InputImageType
PosteriorsImageType * GetPosteriorImage()
PriorsImageType::PixelType PriorsPixelType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual void GenerateData()
SmoothingFilterType::Pointer SmoothingFilterPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
PriorsImageType::Pointer PriorsImagePointer
Superclass::InputImageType InputImageType
InputImageType::RegionType ImageRegionType
Statistics::MaximumDecisionRule DecisionRuleType
static const unsigned int Dimension
TInputVectorImage MembershipImageType
ImageRegionIterator< OutputImageType > OutputImageIteratorType
virtual void GenerateOutputInformation(void)
Base class for filters that take an image as input and produce an image as output.
A decision rule that returns the class label with the largest discriminant score. ...
VectorImage< TPriorsPrecisionType, itkGetStaticConstMacro(Dimension) > PriorsImageType
Control indentation during Print() invocation.
ImageToImageFilter< ExtractedComponentImageType, ExtractedComponentImageType > SmoothingFilterType
virtual void SetPriors(const PriorsImageType *)
#define itkConceptMacro(name, concept)
void SetSmoothingFilter(SmoothingFilterType *)
Templated n-dimensional image class.
A multi-dimensional iterator templated over image type that walks a region of pixels.
virtual void ComputeBayesRule()