To write a single datatype image in .tif format.
6 views (last 30 days)
Show older comments
I am trying to save an image without changing it's single data type and in .tif format. I have tried Matlab TIFF function and it worked good for int32 images. But it doesn't work with single type I figure. Also, when I tried to use simple imwrite function, it errored because single type must be converted to double. But when I change to double, I lose the image data as double scales the image to 255.
Would be great help if any hack suggested.
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!