how to run given image resizing project

please help me in running this project http://engrprojects.blogspot.com/2009/07/image-resizing-project-in-matlab-gui.html tell me detailed procedure to run this code.

1 Comment

Please do not post multiple questions for one problem. I've deleted the duplicate post - and bumped this one.

Sign in to comment.

Answers (2)

Don't bother with all that. They're manually interpolating a new size. You don't have to do all that. Simply call the function imresize().

1 Comment

yes we can do this simply by imresize().But i want to run this project plz tell me the procedure.

Sign in to comment.

Copy and paste all of the project in to a text file. At the beginning, before the first line shown in the project, add the line
function EZresize
Now save the whole thing (with all functions included) to EZresize.m
After that, at the MATLAB command line, give the command
EZresize
to run the program. It has no parameters. Follow the prompts from there.

4 Comments

i have done according to you
now encounter
Error using ==> figure
Too many input arguments.
Error in ==> EZresize at 8
hFigure=figure(...
now tell what should i do
Which MATLAB version are you using?
MATLAB 7.0.4 is R14SP2. The documentation for that release indicates that name/value pairs were supported, so I do not know at the moment why you might have been getting that error. http://www.mathworks.com/help/releases/R14sp2/techdoc/matlab.html
Please copy and paste the complete figure() call as you have it in your EZresize.m so that it can be cross-checked.

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 13 Dec 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!