pub fn blob_from_images_with_params_def(
    images: &impl ToInputArray
) -> Result<Mat>
Expand description

Creates 4-dimensional blob from series of images with given params.

@details This function is an extension of [blobFromImages] to meet more image preprocess needs. Given input image and preprocessing parameters, and function outputs the blob.

Parameters

  • images: input image (all with 1-, 3- or 4-channels).
  • param: struct of Image2BlobParams, contains all parameters needed by processing of image to blob.

Returns

4-dimensional Mat.

Note

This alternative version of blob_from_images_with_params function uses the following default values for its arguments:

  • param: Image2BlobParams()