Code covered by the BSD License  

Highlights from
Zooming and Shrinking of an Image

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

Zooming and Shrinking of an Image

by

Cavin Dsouza

 

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

| Watch this File

File Information
Description

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

Franky Dsouza

 
09 Oct 2013 smily

smily

 
15 Jan 2013 Jurgen

Jurgen

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