Click or drag to resize
CvInvokeImread Method
http://www.emgu.com
Loads an image from the specified file and returns the pointer to the loaded image. Currently the following file formats are supported: Windows bitmaps - BMP, DIB; JPEG files - JPEG, JPG, JPE; Portable Network Graphics - PNG; Portable image format - PBM, PGM, PPM; Sun rasters - SR, RAS; TIFF files - TIFF, TIF; OpenEXR HDR images - EXR; JPEG 2000 images - jp2.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static Mat Imread(
	string filename,
	LoadImageType loadType
)

Parameters

filename
Type: SystemString
The name of the file to be loaded
loadType
Type: Emgu.CV.CvEnumLoadImageType
The image loading type

Return Value

Type: Mat
The loaded image
See Also