pyrdowncv
Applies the pyramid transformation on an image by downsampling it.
Syntax
R = pyrdowncv(handle)
R = pyrdowncv(handle, sz)
Inputs
- handle
- Handle of an image.
- sz
- Optional size of R. If specified, it must be a positive integral vector
Outputs
- R
- Handle of the downsampled image.
Example
Downsample the image with default options:
handle = imreadcv('image1.jpg');
R = pyrdowncv(handle);
Reduce the resolution to 1/4 of the original one:
src = imreadcv('Dog.jpg');
R = pyrdowncv(src); %Resolution reduced to 1/2
R = pyrdowncv(R); %Resolution reduced to 1/4
imshowcv(R);