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

2 views (last 30 days)
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!

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)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!