title: Hide text In Image Matlab
body: <p>I have managed to hide one image into another using this simple method.    </p>
  
  <pre><code>Cover = imread('qw.jpg', 'jpg');
  Hidden = imread('qwe.jpg', 'jpg');
  n = 1; % Number of bits to replace
  
  Processed = uint8(bitor(bitand(Cover, bitcmp(2^n - 1, 8)) , bitshift(Hidden, n - 8)));
  Hidden = uint8(bitand(255, bitshift(Processed, 8 - n)));
  
  figure, imshow(Processed)
  figure, imshow(Hidden)
  </code></pre>
  
  <p>I want to store text in the cover image and I've tried</p>
  
  <pre><code>dec2bin(text,8)
  </code></pre>
  
  <p>to convert text to binary but I am unable to proceed further i.e. How to store the output of</p>
  
  <pre><code>de2bin()
  </code></pre>
  
  <p>bit by bit in lsb of Cover.
  Can anyone help???</p>