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
handle = imreadcv('image1.jpg');
R = pyrdowncv(handle);
src = imreadcv('Dog.jpg');
R = pyrdowncv(src); %Resolution reduced to 1/2
R = pyrdowncv(R); %Resolution reduced to 1/4
imshowcv(R);