Why does the "im2uint16" function convert my image to binary?
Show older comments
I am reading in a TIFF file which contains data stored as uint16. I am then performing image processing that converts values to the double datatype, but leaves the numerical value unchanged. In order to write the resulting image to a new TIFF file I am converting this data back to uint16 using the "im2uint16" function but it is changing my image to binary. When I inspect this final image data, it only contains 0's and 65,535's. Why is this happening?
Accepted Answer
More Answers (0)
Categories
Find more on File Operations 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!