MATLAB Answers

How can I save the reflectance output that have value range [0-1] to TIF image in Matlab?

6 views (last 30 days)
Oanh La
Oanh La on 26 Sep 2020
Commented: Oanh La on 26 Sep 2020
I am converting Digital number Landsat 8 image to TOA reflectance and got the output. I use imwrite to save them to TIF images. However, their value are changed into [0 -255]. How can I save to TIF file without any change? Help me!

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 26 Sep 2020
And discussion:
https://www.mathworks.com/matlabcentral/answers/307519-image-file-saved-using-tiff-library-tif-appear-white-in-explorer-and-paintbrush#answer_239772
https://www.mathworks.com/matlabcentral/answers/319702-reading-pixels-as-floating-point-values#answer_249968

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by