필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How do I convert g into a double then store it in a new variable then rescale the image with new values that range from 0 to 1 and then plot it?

조회 수: 1 (최근 30일)

답변 (1개)

Image Analyst
Image Analyst 2018년 11월 9일
Try this:
g2 = mat2gray(g);
I don't know what it means to "plot" an image, but if you want to "display" it, use imshow():
imshow(g2, []);

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by