MATLAB: Image embedding

image analysis

Hi to all Can anyone answer this, I have 256×256 image and i want to embed 32×32 data(using 8×8 cell of 256×256 image to embed every bit of 32×32 data i.e) (256×256)divided by 8×8 =32×32 ) Is this possible? Thx in advance

Best Answer

  • 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.
  • Related Question