i have a image im of uint16 datatype
figure(1), imshow(im)figure(2), imshow(uint8(im))figure(3), imshow(im,[])
all the above lines displays the image in different format
How to write the image in as obtained in 3rd figure format
Image Processing Toolboxmatlab image processingrescaling image from uint16 to uint8
figure(1), imshow(im)figure(2), imshow(uint8(im))figure(3), imshow(im,[])
Best Answer