필터 지우기
필터 지우기

Confusion regarding the range of gray levels possible in Matlab

조회 수: 1 (최근 30일)
Han
Han 2016년 8월 10일
댓글: Han 2016년 8월 10일
Say I made a double image which has a range of pixel values between 0 and 1, and another the same image with a larger range (exceeding 0 and 1).
Why do both images look different if the intensity range for double images are 0-1?

채택된 답변

Adam
Adam 2016년 8월 10일
편집: Adam 2016년 8월 10일
What code are you using to produce these? I assume just an imshow?
The fact that the range for double is 0-1 is exactly why they look different. The second image is clipped so all values above 1 are clipped to 1 which is why the image looks brighter.
  댓글 수: 1
Han
Han 2016년 8월 10일
Hi Adam,
Thanks for pointing that out, silly me. :) And yes, I used imshow to produce the images.

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

추가 답변 (0개)

카테고리

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