how to hide 2 images as same size of cover image

1 view (last 30 days)
i have 3 gray images g1, g2 and g3 of size 512 x 512.
I wanted to hide g2 and g2 in g1 to get watermarked image w1 using any method.
I also wanted to select a portion from w1 where there is no hidden image.
Is it possible to hide 2 images in one gray image all of same size and retrieve the hidden image?
I saw codes, but the multiple images to hide are of smaller dimensions than the cover image, and the cover image was rgb image.

Accepted Answer

Walter Roberson
Walter Roberson on 23 Feb 2019
You asked a closely related question before and then deleted the question when I explained why that question could not be done.
Your previous question was specific to LSB. This question is open to "any method"
One obvious method is to use LSB to store one of the images and use the second least significant bit to store the second image . You could mix it up a bit such as alternating which bit you write into .
The more significant bits you use, the more visible the embedded bits become .
  2 Comments
Elysi Cochin
Elysi Cochin on 26 Feb 2019
i tried using two different lsb, but the cover image has artifacts. It loses its appearence.
Walter Roberson
Walter Roberson on 26 Feb 2019
You are running into the limits of steganography: if you try to hide too much information then the changes you make become visible to the user.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!