how can i hide a text message in the lsb plane of cover image?

4 views (last 30 days)
how can i hide a text message in the lsb plane of cover image?

Answers (2)

George
George on 13 Sep 2016
This File Exchange submission may do what you want.
  6 Comments
Sanjeeb Behera
Sanjeeb Behera on 14 Sep 2016
Edited: Walter Roberson on 14 Sep 2016
The following code executed
Embedstr=uint8(arrayfun(@hex2dec, rsa1(c1)));
text_bits=reshape((dec2bin(uint8(Embedstr), 4) - '0').', 1, []);
J=text_bits;
I1=J;
II=I8*128+I7*64+I6*32+I5*16+I4*8+I3*4+uint8(I2)*2+I1;
it gives an error as below
??? Undefined function or variable 'c1'.
Error in ==> Spatial_thesis at 14
Embedstr=uint8(arrayfun(@hex2dec, rsa1(c1)));
Walter Roberson
Walter Roberson on 14 Sep 2016
'c1' is your variable. You showed it in
text_bit=reshape((dec2bin( uint8(rsa(c1)), 8 ) - '0').', 1, []);
I have no idea where you are getting it from (or think you are getting it from.)

Sign in to comment.


Image Analyst
Image Analyst on 13 Sep 2016
See attached demo.
  2 Comments
Sanjeeb Behera
Sanjeeb Behera on 14 Sep 2016
Thank u for ur response. But this contains GUI and i need particular code that i have to used in my program.

Sign in to comment.

Categories

Find more on Characters and Strings 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!