image processing-zooming an image using Bilinear interpolation
by Dimuthu Senanayaka
25 Sep 2010
Bi linear interpolation method has been used here for zooming images by a positive integer factor.
|
Watch this File
|
| File Information |
| Description |
An image in your root directory can be zoomed by calling the above program.
*First try with a small image. Because when the image is smaller, program response quickly.
How to Run the Program
*copy bilinear_zoom.m file and the image file to your work directory.
Example-
*if the name of image in root directory is image.jpg and the zooming factor you expect is 5.
*run following code in command window.
bilinear_zoom('image.jpg',5);
*Use the enter key always, when the display does not show any change.
*If you want to know the the algorithm used refer-:
http://en.wikipedia.org/wiki/Bilinear_interpolation |
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com