imread in double type

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2020-5-16
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.)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by