Clear Filters
Clear Filters

imread in double type

1 view (last 30 days)
Jiseung Lee
Jiseung Lee on 16 May 2020
Answered: Walter Roberson on 16 May 2020
Hi. I'm studying about image input and calculation process etc.
Can i get image data as including point value.
I'm also use type of double but, That result is in 0~1.
I want to get like 22.01245
for example 25 25 25 -> 25.0153 25.0486 25.5239

Accepted Answer

Walter Roberson
Walter Roberson on 16 May 2020
You need to use TIFF images with special settings. https://www.mathworks.com/matlabcentral/fileexchange/30519-export-image-to-tif-or-tiff-file-of-selected-data-type can write those files for you.
Most of the time I see people asking for this, what they are doing is wavelet based steganography, and when they discover that the altered wavelet coefficients decode to non-integer values, they want to write out the non-integer values... in the original file format of the image (such as reading .jpg, wavelet transform, modify coefficients, inverse transform, write as .jpg). That approach does not work (you want to use an integer wavelet transform instead.)

More Answers (0)

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!