The scale in imshow function
조회 수: 4 (최근 30일)
이전 댓글 표시
Dear All,
When we write imshow(a,[]) the [] scales the whole image by how much. I tried to divide by 255 but it didn't give the same results as putting the []!
Regards,
댓글 수: 0
채택된 답변
Image Analyst
2016년 11월 1일
Doing [] takes the min of the image and puts it at 0 (black) and the max of the image and puts it at 255 (white). So let's say your image went from 60 to 130. Using [] would map 60 down to 0, and map 130 up to 255, and everything else would be linearly scaled in between.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!