Show / Hide Table of Contents

Class Algorithm

Base class for high-level OpenCV algorithms

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
BackgroundSubtractor
CalibrateCRF
CLAHE
DenseOpticalFlowExt
DescriptorMatcher
EM
Facemark
FaceRecognizer
Feature2D
GeneralizedHough
ImgHashBase
LineSegmentDetector
MergeExposures
StatModel
QualityBase
RidgeDetectionFilter
ShapeDistanceExtractor
StereoMatcher
SuperResolution
Tonemap
Tracker
AdaptiveManifoldFilter
DTFilter
EdgeBoxes
FastBilateralSolverFilter
FastGlobalSmootherFilter
FastLineDetector
GuidedFilter
RFFeatureGetter
GraphSegmentation
SelectiveSearchSegmentation
SelectiveSearchSegmentationStrategy
StructuredEdgeDetection
SuperpixelLSC
SuperpixelSEEDS
SuperpixelSLIC
WhiteBalancer
Implements
ICvPtrHolder
Inherited Members
DisposableCvObject.ptr
DisposableCvObject.DisposeUnmanaged()
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public abstract class Algorithm : DisposableCvObject, ICvPtrHolder

Properties

| Improve this Doc View Source

Empty

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Declaration
public virtual bool Empty { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GetDefaultName()

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.

Declaration
public virtual string GetDefaultName()
Returns
Type Description
System.String
| Improve this Doc View Source

Read(FileNode)

Reads algorithm parameters from a file storage

Declaration
public virtual void Read(FileNode fn)
Parameters
Type Name Description
FileNode fn
| Improve this Doc View Source

Save(String)

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage fs).

Declaration
public virtual void Save(string fileName)
Parameters
Type Name Description
System.String fileName
| Improve this Doc View Source

Write(FileStorage)

Stores algorithm parameters in a file storage

Declaration
public virtual void Write(FileStorage fs)
Parameters
Type Name Description
FileStorage fs

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX