image - How many gray levels Matlab can show? -
let's have matrix image of uint16.
where each pixel can range 0 65535.
if display image imshow(image) how many levels of grayness matlab render?
the standard 255 levels (thus implicitly converting image uint8)? (please note know can alter colormap, know number of grayness levels )
the size of colormap tells how many colors (or grayness levels, in case) matlab trying display.
numgraylevels = size(get(gcf,'colormap'),1) note monitors back upwards 8-bits of gray. , depending on quality , calibration of display may seeing far less that.
image matlab image-processing
No comments:
Post a Comment