title: Showing an image
body: <p>I came to a <code>matlab</code> code where it first reads an image and converts it to <code>double</code> as follows:</p>
  
  <pre><code>I = double(imread(img));
  </code></pre>
  
  <p>After that, it shows the image as follows:</p>
  
  <pre><code>imshow(I/max(I(:)))
  </code></pre>
  
  <p>What does that mean? Especially when I removed the <code>max</code> part, I got only an image with a white background. What is the goal of such division? And, why does it show the image properly when done and doesn't show the image properly if you directly show the read image without the division by max?</p>
  
  <p>Thanks.</p>