Need to display Uint16 .tif image without scaling down or losing resolution

7 views (last 30 days)
My code involves displaying an image, having the user note things about the image, then taking that information and completing processing tasks on that image. However, I understand that you cannot display uint16 and need to instead display uint8. However, the information (i.e. location of a desired object I want the code to find) will be different from the actual image. Any recommendations? Apologies for vagueness.
  1 Comment
DGM
DGM on 10 Jul 2024
Edited: DGM on 10 Jul 2024
Both imread() and imwrite() can handle uint16 TIFF. Imshow() can display uint16 images, both grayscale and RGB. It's not clear to me what you're trying to do and why uint16 won't work as is. It would help to see some code or have a more concrete description of the steps that are being performed.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!