title: How can i convert image sequence to video in matlab
body: <p>when i used im2frame for converting image sequence to video,
  I am getting this message :</p>
  
  <p>??? Error using ==> im2frame
   Indexed movie frame must have a non-empty colormap</p>
  
  <p>Error in ==> program at 141
       frm = im2frame(im,map);</p>
  
  <p>if someone can explain what I should do, I will be grateful.
  Thanks</p>