Function opencv::dnn::blob_from_image_with_params_1  
source · pub fn blob_from_image_with_params_1(
    image: &impl ToInputArray,
    blob: &mut impl ToOutputArray,
    param: Image2BlobParams
) -> Result<()>Expand description
Creates 4-dimensional blob from image with given params.
@details This function is an extension of [blobFromImage] to meet more image preprocess needs. Given input image and preprocessing parameters, and function outputs the blob.
§Parameters
- image: 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.
§Overloaded parameters
§C++ default parameters
- param: Image2BlobParams()