<< cv_rectangle ComputerVision cv_rgb2gray_image >>

ComputerVision >> ComputerVision > cv_resize

cv_resize

Resize Image

Calling Sequence

cv_resize(image, height,width,interpolation)

Arguments

image

Image to be Resized

height

Height of the new Image

width

Width of the new Image

Interpolation

Interpolation should be an int from 1 to 3 where 1-> INTER_AREA, 2-> INTER_CUBIC, 3-> INTER_LINEAR

Description

Resizing an Image.

Takes an input image from user and resizes it according to the height width and interpolation provided by the User. It gives an error if the Image is not correct i.e it is not n-darray

Examples

cv_resize(image1,5,10,1)

See Also


Report an issue
<< cv_rectangle ComputerVision cv_rgb2gray_image >>