Saving an image in matlab with same dimension (250 x 250)

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 件のコメント

LUI PAUL
LUI PAUL 2015 年 4 月 7 日
If possible give a sample image..it'll be easier to understand the problem.
Geoff Hayes
Geoff Hayes 2015 年 4 月 7 日
Also include the code that you are using to save the image (or is it a figure?) to a file.
ROSHAN  MOHAPATRA
ROSHAN MOHAPATRA 2015 年 4 月 8 日
this is the image having dimension 250 x 250 i saved it by clicking on save option which is just below edit option but file is not saved with 250 x 250 dimension its more 1260 x 1045 help me </matlabcentral/answers/uploaded_files/28669/image.png>
ROSHAN  MOHAPATRA
ROSHAN MOHAPATRA 2015 年 4 月 8 日
Geoff i saved it using the button below edit option which i showed in this previous image .thnxx
ROSHAN  MOHAPATRA
ROSHAN MOHAPATRA 2015 年 4 月 8 日

サインインしてコメントする。

回答 (1 件)

Ingrid
Ingrid 2015 年 4 月 8 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

質問済み:

2015 年 4 月 7 日

回答済み:

2015 年 4 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by