title: Saving Imshow() Output - Scaled images saving to disk
body: <p>I've started learning about image processing in Matlab and I have a small problem.</p>
  
  <p>I'm trying to visualize FFT of images. The function imshow does what I need, when I supply the empty matrix (e.g. sintax imshow(image, [] ).</p>
  
  <p>Now, the imshow does a good job because when supplied with the empty matrix, it will display the lowest value in the picture as black, the highest as white and will adjust all the other values accordingly. (at least that is how I understood it).</p>
  
  <p>The scaling that imshow does is great and I was wondering if there is a Matlab function that would take an image and perform that kind of scaling? I thought of saving the pictures manually after using imshow, but I would like to do this programatically.</p>
  
  <p>I assume there is a nice Matlab feature that does this, but after googling around, I couldn't find any solutions. </p>