#include <itkImageClassifierFilter.h>
Image classification class.
This filter takes input image, membership functions, decision rule and produces as output image with each pixel labeled according to the classification result.
This class is templated over the type of input and output image and sample type.
Definition at line 47 of file itkImageClassifierFilter.h.
Inheritance diagram for itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >:
Collaboration diagram for itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >:Static Public Attributes | |
| static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
| DecisionRulePointer | m_DecisionRule {} |
| unsigned int | m_NumberOfClasses {} |
| virtual const char * | GetNameOfClass () const |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| static Pointer | New () |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static double | GetGlobalDefaultCoordinateTolerance () |
| static double | GetGlobalDefaultDirectionTolerance () |
| static void | SetGlobalDefaultCoordinateTolerance (double) |
| static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| using | InputToOutputRegionCopierType |
| using | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
| static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
| static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
| template<typename TSourceObject> | |
| static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
| static constexpr float | progressFixedToFloat (uint32_t fixed) |
| static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
| bool | m_DynamicMultiThreading { true } |
Protected Attributes inherited from itk::ProcessObject | |
| TimeStamp | m_OutputInformationMTime {} |
| bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelType = IdentifierType |
type alias for class label type
Definition at line 105 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorObjectPointer = ClassLabelVectorObjectType::Pointer |
Definition at line 108 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorObjectType = SimpleDataObjectDecorator<ClassLabelVectorType> |
Definition at line 107 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorType = std::vector<ClassLabelType> |
Definition at line 106 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 56 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::DecisionRulePointer = DecisionRuleType::ConstPointer |
Definition at line 112 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::DecisionRuleType = DecisionRule |
type of the decision rule
Definition at line 111 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImagePointer = typename TInputImage::Pointer |
Image related type alias.
Definition at line 70 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageRegionType = typename TInputImage::RegionType |
Definition at line 75 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageType = TInputImage |
Image pixel value type alias.
Definition at line 64 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputIndexType = typename TInputImage::IndexType |
Definition at line 74 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 66 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputSizeType = typename TInputImage::SizeType |
Definition at line 73 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MeasurementType = typename SampleType::MeasurementType |
type alias from SampleType object
Definition at line 88 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MeasurementVectorType = typename SampleType::MeasurementVectorType |
Definition at line 89 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionPointer = typename MembershipFunctionType::ConstPointer |
Definition at line 93 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayObjectType = SimpleDataObjectDecorator<MembershipFunctionsWeightsArrayType> |
Definition at line 101 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayPointer = typename MembershipFunctionsWeightsArrayObjectType::Pointer |
Definition at line 102 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayType = Array<double> |
type alias for membership functions weight proportion
Definition at line 99 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionType = MembershipFunctionBase<MeasurementVectorType> |
type alias for the MembershipFunction
Definition at line 92 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorObjectPointer = typename MembershipFunctionVectorObjectType::Pointer |
Definition at line 96 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorObjectType = SimpleDataObjectDecorator<MembershipFunctionVectorType> |
Definition at line 95 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorType = std::vector<MembershipFunctionPointer> |
Definition at line 94 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImagePointer = typename TOutputImage::Pointer |
Definition at line 71 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageRegionType = typename TOutputImage::RegionType |
Definition at line 78 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 65 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputIndexType = typename TOutputImage::IndexType |
Definition at line 77 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Definition at line 67 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputSizeType = typename TOutputImage::SizeType |
Definition at line 76 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 55 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SampleType = TSample |
Type of the input Sample
Definition at line 85 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Self = ImageClassifierFilter |
Standard class type alias
Definition at line 53 of file itkImageClassifierFilter.h.
| using itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 54 of file itkImageClassifierFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::LightObject.
|
overrideprotectedvirtual |
Starts the classification process
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the decision rule.
| const InputImageType * itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetImage | ( | ) | const |
|
virtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
References ImageClassifierFilter().
|
virtual |
Number of classes. This must match the number of labels and membership functions provided by the user, otherwise an exception will be thrown at
|
static |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightObject.
| void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetClassLabels | ( | const ClassLabelVectorObjectType * | classLabels | ) |
Sets input vector of class labels. The length of this vector must match the number of classes, otherwise an exception will be thrown at run time.
|
virtual |
Set/Get the decision rule.
| void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetImage | ( | const InputImageType * | image | ) |
Sets the input image
| void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetMembershipFunctions | ( | const MembershipFunctionVectorObjectType * | membershipFunctions | ) |
Sets input vector of membership functions. The length of this vector must match the number of classes, otherwise an exception will be thrown at run time.
| void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetMembershipFunctionsWeightsArray | ( | const MembershipFunctionsWeightsArrayObjectType * | weightsArray | ) |
Sets array of weights for the membership functions
|
virtual |
Number of classes. This must match the number of labels and membership functions provided by the user, otherwise an exception will be thrown at
|
staticconstexpr |
Image related type alias.
Definition at line 81 of file itkImageClassifierFilter.h.
|
private |
Decision Rule
Definition at line 163 of file itkImageClassifierFilter.h.
|
private |
Definition at line 160 of file itkImageClassifierFilter.h.
|
staticconstexpr |
Definition at line 82 of file itkImageClassifierFilter.h.