Table of Contents

Class NativeMatFileIO

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

Native implementation to read files into Mat or Images.

public static class NativeMatFileIO
Inheritance
NativeMatFileIO
Inherited Members

Methods

ReadFileToMat(string, Mat, ImreadModes)

Read a file into Mat using native implementations

public static bool ReadFileToMat(string fileName, Mat mat, ImreadModes loadType)

Parameters

fileName string

The name of the file

mat Mat

The Mat to read the file into

loadType ImreadModes

The image load type.

Returns

bool

True if successful

WriteMatToFile(Mat, string)

Write a Mat into a file using native implementations

public static bool WriteMatToFile(Mat mat, string fileName)

Parameters

mat Mat

The Mat to be written

fileName string

The name of the file

Returns

bool

True if successful