|
open_iA 2024.9
|
Performs defuzzification on a membership image. More...
#include <itkFuzzyClassifierImageFilter.h>
Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef DecisionRuleType::Pointer | DecisionRulePointer |
| typedef itk::Statistics::MaximumDecisionRule | DecisionRuleType |
| Decision rule used in the classification process to compare the membership scores and return a class label. | |
| typedef ImageRegionConstIterator< InputImageType > | InputImageConstIterator |
| Other input image typedefs. | |
| typedef Superclass::InputImageConstPointer | InputImageConstPointer |
| typedef Superclass::InputImagePixelType | InputImagePixelType |
| typedef Superclass::InputImagePointer | InputImagePointer |
| Input image typedef support (types inherited from the superclass). | |
| typedef Superclass::InputImageRegionType | InputImageRegionType |
| typedef TInputVectorImage | InputImageType |
| Convenient typedefs for simplifying declarations. | |
| typedef TLabel | LabelType |
| typedef ImageRegionIterator< OutputImageType > | OutputImageIterator |
| Other output image typedefs. | |
| typedef Superclass::OutputImagePixelType | OutputImagePixelType |
| typedef Superclass::OutputImagePointer | OutputImagePointer |
| Output image typedef support (types inherited from the superclass). | |
| typedef Superclass::OutputImageRegionType | OutputImageRegionType |
| typedef Image< LabelType, itkGetStaticConstMacro(InputImageDimension) > | OutputImageType |
| Convenient typedefs for simplifying declarations. | |
| typedef SmartPointer< Self > | Pointer |
| typedef FuzzyClassifierImageFilter | Self |
| Standard class typedefs. | |
| typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
| Standard class typedefs. | |
Public Member Functions | |
| itkNewMacro (Self) | |
| Method for creation through the object factory. | |
| itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
| Extract dimension from input image. | |
| itkTypeMacro (FuzzyClassifierImageFilter, ImageToImageFilter) | |
| Run-time type information (and related methods). | |
Protected Member Functions | |
| FuzzyClassifierImageFilter () | |
| Constructor. | |
| virtual | ~FuzzyClassifierImageFilter () |
| Destructor. | |
| virtual void | Classify () |
| This method computes the labeled map. | |
| void | GenerateData () override |
| Standard pipeline method. | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| Write the name-value pairs of the filter data members to the supplied output stream. | |
Performs defuzzification on a membership image.
The filter implements the defuzzification (i.e., the assignment of each pixel to a particular class based on their memberships) by applying a Maximum Decision Rule to the membership image.
If a pixel of the membership image has values -1, that pixel is assumed to be a background pixel and should be ignored. The value of the label assigned to those pixels will be equal to the number of classes. Otherwise, the pixel values of the resulting label map will indicate the classes they correspond to (e.g. labels with value 0 belong to the class 0, labels with value 1 belong to the first class, etc.). Thus the range of label values is 0 to the number of classes.
| SmartPointer< const Self > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::ConstPointer |
| DecisionRuleType::Pointer itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::DecisionRulePointer |
| itk::Statistics::MaximumDecisionRule itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::DecisionRuleType |
Decision rule used in the classification process to compare the membership scores and return a class label.
| ImageRegionConstIterator< InputImageType > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImageConstIterator |
Other input image typedefs.
| Superclass::InputImageConstPointer itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImageConstPointer |
| Superclass::InputImagePixelType itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImagePixelType |
| Superclass::InputImagePointer itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImagePointer |
Input image typedef support (types inherited from the superclass).
Input vector image type representing the membership of a pixel to a particular class. This image has arrays as pixels, the number of elements in the array is the same as the number of classes to be used.
| Superclass::InputImageRegionType itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImageRegionType |
| TInputVectorImage itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::InputImageType |
Convenient typedefs for simplifying declarations.
| TLabel itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::LabelType |
| ImageRegionIterator< OutputImageType > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::OutputImageIterator |
Other output image typedefs.
| Superclass::OutputImagePixelType itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::OutputImagePixelType |
| Superclass::OutputImagePointer itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::OutputImagePointer |
Output image typedef support (types inherited from the superclass).
The value of each element in the label map is the label of the winner class for the corresponding pixel of the input image. A negative value in the matrix indicates that the corresponding pixel of the input image is ignored (i.e. it's a background value).
| Superclass::OutputImageRegionType itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::OutputImageRegionType |
| Image< LabelType, itkGetStaticConstMacro(InputImageDimension) > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::OutputImageType |
Convenient typedefs for simplifying declarations.
| SmartPointer< Self > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::Pointer |
| FuzzyClassifierImageFilter itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::Self |
Standard class typedefs.
| ImageToImageFilter< InputImageType, OutputImageType > itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::Superclass |
Standard class typedefs.
|
inlineprotected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
|
protectedvirtual |
This method computes the labeled map.
|
overrideprotected |
Standard pipeline method.
Here is where the classification is performed.
| itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
| itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::itkStaticConstMacro | ( | InputImageDimension | , |
| unsigned int | , | ||
| InputImageType::ImageDimension | ) |
Extract dimension from input image.
| itk::FuzzyClassifierImageFilter< TInputVectorImage, TLabel >::itkTypeMacro | ( | FuzzyClassifierImageFilter< TInputVectorImage, TLabel > | , |
| ImageToImageFilter | ) |
Run-time type information (and related methods).
|
overrideprotected |
Write the name-value pairs of the filter data members to the supplied output stream.