Skip to main content

cv - Resize image to another size (:cv_resize)

Declaration​

img = img:cv_resize(width, height)

Parameters​

  • width, height
    Integer. New image dimensions

Returns​

  • img
    Image object. Returns the image object itself with new size

Description​

OpenCV extension: resize the image to new dimensions
Mutates the image in-place