View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Zooming and Shrinking of an Image

2.0 | 2 ratings Rate this file 12 Downloads (last 30 days) File Size: 1.33 KB File ID: #39835 Version: 1.0

Zooming and Shrinking of an Image



This code explains how an Image can be resized by u user entered zooming or shrinking factor.

| Watch this File

File Information

The code is self-explanatory.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
28 Nov 2013 Franky Dsouza

09 Oct 2013 smily

smily (view profile)

15 Jan 2013 Jurgen

Jurgen (view profile)

Hi, I have a question.

Why is your output is different from matlab's imresize()? E.g. if I use factor 2 it gives 511x511 instead of 512x512. And why does the zoom version have a 'raster' pattern--shouldn't it use nearest neighbor interpolation?

Incidentally, what you call zoom is technically called enlarging. Zoom = cropping && enlarging.

Comment only

Contact us