Hi Estanislao<div><br></div><div>I'm just thinking that this behavior is related with the voronoi region that a pixel defines (see pag 40 of the ITK Sotfware Guide) maybe a pixel at 9.5, 9.5, 9.5 has a voronoi area that is inside the region you are defining...</div>
<div><br></div><div>Maybe anyone more experienced with the tookit can confirm/deny this.</div><div><br></div><div>Regards<br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 12:02 PM, Estanislao Oubel <span dir="ltr"><<a href="mailto:stan.oubel@gmail.com">stan.oubel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I've defined a region of size = [10 10 10] starting at index = [10 10 10].<br>
The method IsInside returns true for a continuous index = [9.5 9.5 9.5], but I would have expected a false value since this index is (strictly) outside the region. So I'm not sure if it's a bug or I'm misinterpreting the result ...<br>
<br>
I've found a similar post here:<br>
<br>
<a href="http://www.itk.org/pipermail/insight-users/2002-September/000984.html" target="_blank">http://www.itk.org/pipermail/insight-users/2002-September/000984.html</a><br>
<br>
I've attached the source files I used for testing (itk 3.20)<br>
<br>
Thanks,<br>
<br>
stan<br>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>
</div>