title: Getting image resolution in matlab
body: <p>I am working on a project where I need to find image resolution for an image or any relation between image height and width with the resolution of image.</p>
  
  <p>When we right click on an image and select <code>properties-&gt;details</code>, we have the resolution information.</p>
  
  <p>How can we extract that information in <code>matlab</code>?</p>
  
  <p>Is that information does not depend on image properties because somewhere I read image has only pixel information, <code>ppi</code> or <code>dpi</code> depends on printer, sensors.</p>