Opens file storage for reading or writing data. In the latter case a new file is created or existing file is rewritten. Type of the read of written file is determined by the filename extension: .xml for XML, and .yml or .yaml for YAML
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.0.1010 (2.2.0.1010)
Syntax
C# | Visual Basic | Visual C++ |
public static IntPtr cvOpenFileStorage( string filename, IntPtr memstorage, STORAGE_OP flags )
Public Shared Function cvOpenFileStorage ( _ filename As String, _ memstorage As IntPtr, _ flags As STORAGE_OP _ ) As IntPtr
public: static IntPtr cvOpenFileStorage( String^ filename, IntPtr memstorage, STORAGE_OP flags )
Parameters
- filename
- String
Name of the file associated with the storage
- memstorage
- IntPtr
Memory storage used for temporary data and for storing dynamic structures, such as CvSeq or CvGraph. If it is NULL, a temporary memory storage is created and used
- flags
- STORAGE_OP
[Missing <param name="flags"/> documentation for "M:Emgu.CV.CvInvoke.cvOpenFileStorage(System.String,System.IntPtr,Emgu.CV.CvEnum.STORAGE_OP)"]