필터 지우기
필터 지우기

Improving resolution of a loaded image

조회 수: 2 (최근 30일)
A
A 2011년 5월 29일
I am working with two routines that create images, and save them automatically with saveas (as .png files) to a folder. I then want read these images (with imread) with another program.
The trouble is that with the saveas function, I am having a massive loss of resolution of the images. When I read them with my new program, the image is so poor that it is useless. I do not, however, have this problem when I manually "save as" the image.
Is there any reason why the automated save as function would be decreasing the resolution? How could I remedy this in the saving, or is there a way to improve the resolution when I load the images in my new program?
Thank you!
Amina
  댓글 수: 2
Walter Roberson
Walter Roberson 2011년 5월 29일
I am not clear how this differs from your previous question http://www.mathworks.com/matlabcentral/answers/8347-loss-of-resolution-with-imread
If the images show up with full resolution when opened from the folder, there is no actual loss of resolution in the image, but there could be loss of resolution in how the second program displays the image.
A
A 2011년 5월 29일
There is a loss of resolution immediately in the saved file, before it is called, when I am using saveas from the original program. The resolution is much better when I manually save, regardless of the file type. It is a very strange error..

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2011년 5월 30일
Typical solution: instead of using saveas(), use Oliver's export_fig

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by