pyrupcv
Applies the pyramid transformation on an image by upsampling it.
Syntax
R = pyrupcv(handle)
R = pyrupcv(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 upsampled image.
Example
handle = imreadcv('image1.jpg');
R = pyrupcv(handle);
Increase the resolution of the original file and save it. The new file has approximately twice the size of the original one:
src = imreadcv('Dog.jpg');
R = pyrupcv(src);
imshowcv(R);
imwritecv('NewDog.jpg',R);