title: Get the matrix after imagesc?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/14111371/imagesc-plot-to-matrix-in-matlab">imagesc plot to matrix in matlab</a><br>
    <a href="https://stackoverflow.com/questions/14363723/scale-matrix-to-a-new-range">Scale Matrix to a new range</a>  </p>
  </blockquote>
  
  
  
  <p>I have:</p>
  
  <pre><code>I = imread('image.tif');
  </code></pre>
  
  <p>At this point I can easly print the pixel with cord 100,100 by doing I(100,100)<br>
  Now I scale to image to fit the range <code>0.5...0.9</code></p>
  
  <pre><code>imagesc(I,[0.5 0.9]);
  colormap('gray');
  </code></pre>
  
  <p>Is there any way to get the new matrix I ? (with pixel values from 0.5 to 0.9)</p>
  
  <p>If i do</p>
  
  <pre><code>I  = imagesc(I,[0.5 0.9]);
  </code></pre>
  
  <p>I only get the handler to image object</p>