Loss of resolution with imread?

11 ビュー (過去 30 日間)
A
A 2011 年 5 月 27 日
I am loading some images to another program using imread, and I have noticed that the resolution for some graphs that are saved as jpeg images is drastically reduced when I load them. Unfortunately it is so reduced that the images are now unsable. Has anyone else run into this problem, and is there any way to remedy it? I have also tried with tif files, but the problem persists.

採用された回答

A
A 2011 年 5 月 27 日
Switched the image type to pnf and the resolution problem was solved.

その他の回答 (1 件)

Jan
Jan 2011 年 5 月 27 日
IMREAD does not reduce the resolution of the images. The problem must have happened at "save as jpeg". How did you do that?
  1 件のコメント
A
A 2011 年 5 月 27 日
my image is saved with saveas(gcf, title, 'jpg'), however when I open the jpeg image from its folder the resolution is fine (however, the resolution is definitely better with the pdf version of the file, but I cannot edit this). Opened from the folder the resolution is fine, then displayed once loaded from my program the resolution is drasatically reduced.

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

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by