Hi Andriy,<div><br class="webkit-block-placeholder"></div><div>I was not assigned the bug associated with your problem but as the contributor of the filter, I thought I'd comment on the difficulties you are encountering. In case you haven't figured it out, the Maurer distance transform does indeed fail for inputs in which a foreground pixel is on the image boundary. When I wrote the filter, I thought about simply passing the input image through an instantiation of the ConstantPadImageFilter, creating the distance image on the padded image and then extracting the original region but ultimately decided against it for reasons I can no longer remember. Perhaps Luis, or others, can weigh in as to where the padding should be performed if there are foreground pixels on the boundary. In the interim, it is an easy work around.
</div><div><br class="webkit-block-placeholder"></div><div>Good luck,</div><div>Nick Tustison </div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder">
</div><div> </div><div><br><br><div><span class="gmail_quote">On 10/11/07, <b class="gmail_sendername">Andriy Fedorov</b> <<a href="mailto:fedorov@bwh.harvard.edu">fedorov@bwh.harvard.edu</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br><br>I observed that the Maurer distance filter fails for some inputs. I<br>submitted the bug and posted an example image on June 15 here<br><a href="http://www.itk.org/Bug/view">http://www.itk.org/Bug/view</a>.php?id=5198
, but I don't see any<br>development of this issue, and the status remains "assigned".<br><br>I am curious, what is the usual time frame and schedule for resolution<br>of critical and reproducible bugs in the release version of ITK? Not
<br>that it is extremely critical to me that this bug is fixed, but I am<br>surprised the issue remains open without attention for so long.<br><br>Thanks,<br><br>Andriy Fedorov<br>_______________________________________________
<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman">http://www.itk.org/mailman</a>/listinfo/insight-users<br></blockquote></div><br></div>