Image embedding

3 views (last 30 days)
harjan
harjan on 20 Aug 2011
Hi to all Can anyone answer this, I have 256x256 image and i want to embed 32x32 data(using 8x8 cell of 256x256 image to embed every bit of 32x32 data i.e) (256x256)divided by 8x8 =32x32 ) Is this possible? Thx in advance

Accepted Answer

Walter Roberson
Walter Roberson on 20 Aug 2011
A 16 x 16 image of 8 bits deep requires a total of 128 bits.
If you have 256 slots (pixels) in which to embed these 128 bits, then by the pigeon hole principle, the answer is Yes, it can be done, averaging 1 embedded bit for every 2 original pixels.
If the 16 x 16 image to be embedded is 16 bits deep, then still, Yes, that could be done, at an averaging of 1 embedded bit for every original pixel.
Thus, the answer to your question would appear to be Yes -- provided you do not have any additional restrictions you have not previously mentioned.
  6 Comments
harjan
harjan on 22 Aug 2011
I need your guidance regarding this pls help me....
Walter Roberson
Walter Roberson on 22 Aug 2011
I do not see the connection between half-toning and what you have talked about before?

Sign in to comment.

More Answers (0)

Categories

Find more on Modify Image Colors 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!