hide numerical values in image

4 views (last 30 days)
how to hide a matrix into an image and retrieve it.
i used the lsb code from the link
i can hide the data. But while retrieving i'm not able to recover the matrix values. Its coming as empty string values. Even the bitStream values when i convert to double is not coming correctly
How can i do it for numerical values.

Accepted Answer

Image Analyst
Image Analyst on 23 Feb 2019
See my attached demo where I hide an image in another image and then recover it.
  13 Comments
Image Analyst
Image Analyst on 27 Feb 2019
Elysi, as long as you don't crop off what you stored, you should be able to recover it. That is if you were able to store it. And storing two quarter sized full dynamic range images in a regular image without seeing it is not possible. You might try hiding an 8 bit image in the lower 8 bits of a 16 bit image.
And you'd need to use the tiff class to have any hope of storing a custom tag, but when your attacker reads it in, there is no guarantee that they will save your tag, in fact, probably won't, just like using imwrite() won't. So it would be easy for your attacker to read in, attack, and save back out, and then you would not be able to tell that that image was your forged/attacked image because your custom tiff tag if no longer there.
Elysi Cochin
Elysi Cochin on 28 Feb 2019
Thank you Image Analyst and Walter Roberson for your detailed explanation

Sign in to comment.

More Answers (0)

Categories

Find more on Denoising and Compression 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!