Resize an image.
Minimum Origin Version Required: 2022
1. cvresize width:=100;
2. cvresize width:=50 height:=50;
3. cvresize interp:=cubic w:=500 h:=437;
Please refer to the page for additional option switches when accessing the x-function from script
This X-Function is used to resize the image to a customized height and width according by specified interpolation method.
Example 1. Resize the image using Lanczos interpolation method
The image is resized down to the half of the original.
The computation uses function from OpenCV Main API. Please refer to the OpenCV Main API Help file, Version 220.127.116.11 and read imgproc. Image Processing topic.
OpenCV Main API Help file, Version 18.104.22.168