C# Class OpenCvSharp.Algorithm

Base class for high-level OpenCV algorithms
Inheritance: OpenCvSharp.DisposableCvObject
Afficher le fichier Open project: shimat/opencvsharp

Méthodes publiques

Méthode Description
GetDefaultName ( ) : String

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.

Read ( FileNode fn ) : void

Reads algorithm parameters from a file storage

Save ( string filename ) : void

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

Write ( FileStorage fs ) : void

Stores algorithm parameters in a file storage

Method Details

GetDefaultName() public méthode

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.
public GetDefaultName ( ) : String
Résultat String

Read() public méthode

Reads algorithm parameters from a file storage
public Read ( FileNode fn ) : void
fn FileNode
Résultat void

Save() public méthode

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage fs).
public Save ( string filename ) : void
filename string
Résultat void

Write() public méthode

Stores algorithm parameters in a file storage
public Write ( FileStorage fs ) : void
fs FileStorage
Résultat void