[This is preliminary documentation and is subject to change.]
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# | Visual Basic | Visual C++ |
public static IntPtr cvLoadImage( string filename, LOAD_IMAGE_TYPE loadType )
Public Shared Function cvLoadImage ( _ filename As String, _ loadType As LOAD_IMAGE_TYPE _ ) As IntPtr
public: static IntPtr cvLoadImage( String^ filename, LOAD_IMAGE_TYPE loadType )
Parameters
- filename
- String
The name of the file to be loaded
- loadType
- LOAD_IMAGE_TYPE
[Missing <param name="loadType"/> documentation for "M:Emgu.CV.CvInvoke.cvLoadImage(System.String,Emgu.CV.CvEnum.LOAD_IMAGE_TYPE)"]