imread

Read image from the file system.

Parameters

path
Type: string

File system path to the image.

params

Reading parameters - desired format and depth of the image that's read. Default parameters include no convertion, but loading image orignal data depth and color format. To load original depth or format, set to _UNASSIGNED (ImageFormat.IF_UNASSIGNED, BitDepth.BD_UNASSIGNED).

return: Image read from the filesystem.

Throws

Exception and ImageIOException from imageformats library.

Meta