zooming an image using nearest neighbor interpolation
by Dimuthu Senanayaka
06 Oct 2010
(Updated 06 Oct 2010)
nearest neighbor interpolation is used to zoom an image by any
positive real number(any n>0).
|
Watch this File
|
| File Information |
| Description |
zooming a given image by a given positive factor can be done..
copy nearest_neighbor_zoom.m file and the image file that should be zoomed to your work directory.
if the name of the image file is image.jpg and the zooming factor needed is 2.23,
run following command on command window.
nearest_neighbor_zoom('image.jpg',2.23);
Leave your comments...
|
| MATLAB release |
MATLAB 7.0.4 (R14SP2)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 06 Oct 2010 |
Jan Simon
|
|
|
| Updates |
| 06 Oct 2010 |
edited the description. |
|
Contact us at files@mathworks.com