C# Class OpenCvSharp.Algorithm

Base class for high-level OpenCV algorithms
Inheritance: OpenCvSharp.DisposableCvObject
ファイルを表示 Open project: shimat/opencvsharp

Public Methods

Method 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 method

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
return String

Read() public method

Reads algorithm parameters from a file storage
public Read ( FileNode fn ) : void
fn FileNode
return void

Save() public method

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
return void

Write() public method

Stores algorithm parameters in a file storage
public Write ( FileStorage fs ) : void
fs FileStorage
return void