<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Sam,<div><br></div><div>I looked at the images you provided here:</div><div><br> <a href="http://www.cs.utah.edu/~sgerber/tmp/pyramids.zip">http://www.cs.utah.edu/~sgerber/tmp/pyramids.zip</a></div><div><br></div><div>in Slicer3D. I would agree that test1 from the RecursivePyramid with the shrink filter does not appear to align up correct. So you are likely onto something.</div><div><br></div><div>What I have found useful for many of these types of geometric filters is to create an image of points of the physical location of center of the pixels, or a set of images if the filter in question doesn't support the multi-component pixels. Then pass this through the filter. Aside from potential boundary conditions the the pixel values of the output should still be the physical location of the pixel in the output. This can create useful and definitive tests.</div><div><br></div><div>Brad</div><div><br><div><div>On Jul 17, 2013, at 11:15 AM, sgerber <<a href="mailto:sgerber@cs.utah.edu">sgerber@cs.utah.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi<br><br>RecursiveMultiResolutionPyramidImageFilter behaves significantly different when using UseShrinkImageFilterOff() vs. UseShrinkImageFilterOn(). The default, UseShrinkImageFilterOn(), uses for subsampling a single pixel ("top right" corner) which results, for piecewise constant images, in image gradients being shifted in physical space. Is this intended? It's not the behaviour I expected when I used this filter. It is also not documented in the PyramidFilter documentation or the ShrinkImageFilter that this is the subsampling method used.<br><br>Thanks<br>Sam<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-developers<br></blockquote></div><br></div></body></html>