title: How to embed combine images together
body: <p>Is it possible with some transformation unction like Fourier etc to combine more than one image file(3D) into one file say like a digital album. This combining of files should be a reversible operation such that the individual images can be separated. </p>
  
  <p>I attempted this however I am sure its nothing close to what it should be:</p>
  
  <pre><code>img1=imread('lena_gray.jpg');
  img2=imread('pic1.jpg');
  img3=imread('pic2.jpg');
  
  defimage=pow2(get(0,'DefaultImageCData'),47);
  mag=200;
  imshow(bitslice(defimage,47,51),'initialmag',mag);
  r=bitslice(img1,50,50);
  g=bitslice(img2,50,60);
  b=bitslice(img3,100,100);
  imshow(cat(3,r,g,b),'initialmag',mag);
  </code></pre>
  
  <p>This obviously results an error!</p>
  
  <p>Also, how to achieve the reverse operation? Will cramer's rule of inverse help in demultiplexing the combined images? If so, how to operate Cramer's rule on RGB images?</p>