pub fn resize_p(
src: &impl GMatPTraitConst,
dsize: Size,
interpolation: i32,
) -> Result<GMatP>Expand description
Resizes a planar image.
The function resizes the image src down to or up to the specified size. Planar image memory layout is three planes laying in the memory contiguously, so the image height should be plane_height*plane_number, image type is [CV_8UC1].
Output image size will have the size dsize, the depth of output is the same as of src.
Note: Function textual ID is “org.opencv.imgproc.transform.resizeP”
§Parameters
- src: input image, must be of [CV_8UC1] type;
- dsize: output image size;
- interpolation: interpolation method, only cv::INTER_LINEAR is supported at the moment
§See also
warpAffine, warpPerspective, remap, resize
§C++ default parameters
- interpolation: cv::INTER_LINEAR