Skip to content

CVImgCodecs

RafaDdS edited this page Jul 11, 2024 · 2 revisions

Used to read and write image files. More information here.

imread

Prototype: static CVMat imread(String filename, Dictionary additional_parameters)

Returns a mat with the image at the specified path. See CVConsts.ImreadModes for configuration options.

  • Additional parameters: flags: Int

imwrite

Prototype: static bool imwrite(String filename, CVMat img, Dictionary additional_parameters)

Saves an image to a specified file.

  • Additional parameters: params: Array
Clone this wiki locally