title: Matlab impyramid issue
body: <p>I have a problem in impyramid with matlab. I am trying to save one downscale version of a binary image and also a two downscaled version of this binary image. It is simple to do that in matlab as the following code shows:</p>
  
  <pre><code>scale1_2= impyramid(compressed_image, 'reduce');
  scale1_4= impyramid(scale1_2, 'reduce');
  </code></pre>
  
  <p>So, an image with size 810x1080 is saved with 405x540 and 203x270 pixels. The problem I am facing is when I try to expand these two images back to have the same dimensions as before.</p>
  
  <pre><code>scaled_result1_2=impyramid(scale1_2,'expand');
  scaled_result1_4=impyramid(impyramid(scale1_4,'expand'), 'expand');
  </code></pre>
  
  <p>So, it is expected that scaled_result1_2 and scaled_result1_4 are 810x1080 images again, but not:</p>
  
  <pre><code>&gt;&gt;size(scaled_result1_2)
       809        1079
  &gt;&gt;size(scaled_result1_4)
       809        1077
  </code></pre>
  
  <p>I need these two images to have the same 810x1080 pixels again, but impyramid is not able to do this. If I resize these images with imresize will it perform the image pyramid decomposition by upscaling and blurring the image? which method (interpolation) should I have to use to have a similar result?</p>