Saving an image in matlab with same dimension (250 x 250)
Show older comments
While saving an image in matlab using .tif or .jpg or etc etc extensions when i try to read that file using imread option the dimensions are changed.
Example:-
In matlab a figure shows dimension of (250 x 250) i saved it using .png or etc etc next when i tried to read that file for furthur implementation the dimensions are changed to (1364 x 1246) so
HOW TO MAINTAIN THE IMAGES WITH SAME DIMENSION (250 x 250)???
5 Comments
LUI PAUL
on 7 Apr 2015
If possible give a sample image..it'll be easier to understand the problem.
Geoff Hayes
on 7 Apr 2015
Also include the code that you are using to save the image (or is it a figure?) to a file.
ROSHAN MOHAPATRA
on 8 Apr 2015
ROSHAN MOHAPATRA
on 8 Apr 2015
ROSHAN MOHAPATRA
on 8 Apr 2015
Answers (1)
Ingrid
on 8 Apr 2015
0 votes
do you know this submission on the matlab file exchange
it is a very good function to tackle these kind of problems and I always use it to save figures instead of the built-in options
Categories
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!