Algorithm Class OpenCvSharp Class Library
Base class for high-level OpenCV algorithms
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharp.CPlusPlusAlgorithm
        More...

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public abstract class Algorithm : DisposableCvObject

The Algorithm type exposes the following members.

Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyInfo
Algorithm information
Public propertyInfoPtr
Pointer to algorithm information (cv::AlgorithmInfo*)
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyName
Returns the algorithm name
Top
Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodGetAlgorithm
Returns the algorithm parameter
Public methodGetBool
Returns the algorithm parameter
Public methodGetDouble
Returns the algorithm parameter
Public methodGetHashCode (Inherited from Object.)
Public methodGetInt
Returns the algorithm parameter
Public methodStatic memberGetList
Returns the list of registered algorithms
Public methodGetMat
Returns the algorithm parameter
Public methodGetMatVector
Returns the algorithm parameter
Public methodGetParams
Public methodGetString
Returns the algorithm parameter
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodParamHelp
Public methodParamType
Public methodRelease
Clean up any resources being used.
Public methodSetAlgorithm
Sets the algorithm parameter
Public methodSetBool
Sets the algorithm parameter
Public methodSetDouble
Sets the algorithm parameter
Public methodSetInt
Sets the algorithm parameter
Public methodSetMat
Sets the algorithm parameter
Public methodSetMatVector
Sets the algorithm parameter
Public methodSetString
Sets the algorithm parameter
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString
Returns a string that represents this Algorithm.
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharp.CPlusPlusAlgorithm
        OpenCvSharp.CPlusPlusBackgroundSubtractor
        OpenCvSharp.CPlusPlusCLAHE
        OpenCvSharp.CPlusPlusDenseOpticalFlow
        OpenCvSharp.CPlusPlusDenseOpticalFlowExt
        OpenCvSharp.CPlusPlusDescriptorExtractor
        OpenCvSharp.CPlusPlusDescriptorMatcher
        OpenCvSharp.CPlusPlusEM
        OpenCvSharp.CPlusPlusFaceRecognizer
        OpenCvSharp.CPlusPlusFeatureDetector
        OpenCvSharp.CPlusPlusSuperResolution