Function imreadmulti_range

Source
pub fn imreadmulti_range(
    filename: &str,
    mats: &mut Vector<Mat>,
    start: i32,
    count: i32,
    flags: i32,
) -> Result<bool>
Expand description

Loads images of a multi-page image from a file.

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

§Parameters

  • filename: Name of file to be loaded.
  • mats: A vector of Mat objects holding each page.
  • start: Start index of the image to load
  • count: Count number of images to load
  • flags: Flag that can take values of cv::ImreadModes, default with cv::IMREAD_ANYCOLOR.

§See also

cv::imread

§C++ default parameters

  • flags: IMREAD_ANYCOLOR