imread in double type

3 vues (au cours des 30 derniers jours)
Jiseung Lee
Jiseung Lee le 16 Mai 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

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Mai 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.)

Plus de réponses (0)

Catégories

En savoir plus sur Denoising and Compression dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by