[][src]Function opencv::imgcodecs::imreadmulti

pub fn imreadmulti(
    filename: &str,
    mats: &mut VectorOfMat,
    flags: i32
) -> Result<bool>

Loads a multi-page image from a file.

The function imreadmulti loads a multi-page image from the specified file into a vector of Mat objects.

Parameters

  • filename: Name of file to be loaded.
  • flags: Flag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.
  • mats: A vector of Mat objects holding each page, if more than one.

See also

cv::imread

C++ default parameters

  • flags: IMREAD_ANYCOLOR