필터 지우기
필터 지우기

How to save the image generated in matlab??

조회 수: 2 (최근 30일)
nayana
nayana 2013년 2월 17일
I have a image of 4000*2000 size which is jpeg and two dimensional. I used this image intensity values to get a new image which is of same size (verified by using whos command), but when i m trying to save this new image it is being saved as 250*500 size where as i want it to be of 4000*2000

답변 (1개)

Image Analyst
Image Analyst 2013년 2월 17일
Use imresize()
  댓글 수: 3
Image Analyst
Image Analyst 2013년 2월 17일
편집: Image Analyst 2013년 2월 17일
If your image is 4000x2000 then using imwrite() to save it in jpeg format won't change the size. You must have done something to change the size in advance of calling imwrite(). Show your line of code where you call imwrite() plus a few lines before it, so I can see what you've done. And show the result of the whos command also
Jan
Jan 2013년 2월 17일
편집: Jan 2013년 2월 17일
@nayana: All we need is the line of code, where you save the matrix as an image. We do not need a copy of imwrite, therefore I have deleted your comment. Before you copy code in the public forum, check for copyright notices in the header.

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

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by