http://www.emgu.com
cvLoadImage type
Namespace:
Emgu.CV.CvEnum
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax[FlagsAttribute]
public enum ImreadModes
<FlagsAttribute>
Public Enumeration ImreadModes
[FlagsAttribute]
public enum class ImreadModes
[<FlagsAttribute>]
type ImreadModes
Members
| Member name | Value | Description |
---|
| Unchanged | -1 |
If set, return the loaded image as is (with alpha channel, otherwise it gets cropped).
|
| Grayscale | 0 |
If set, always convert image to the single channel grayscale image.
|
| Color | 1 |
If set, always convert image to the 3 channel BGR color image.
|
| AnyDepth | 2 |
If set, return 16-bit/32-bit image when the input has the corresponding depth, otherwise convert it to 8-bit.
|
| AnyColor | 4 |
If set, the image is read in any possible color format.
|
| LoadGdal | 8 |
If set, use the gdal driver for loading the image.
|
| ReducedGrayscale2 | 16 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/2.
|
| ReducedColor2 | 17 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/2.
|
| ReducedGrayscale4 | 32 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/4.
|
| ReducedColor4 | 33 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/4.
|
| ReducedGrayscale8 | 64 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/8.
|
| ReducedColor8 | 65 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/8.
|
See Also