<br>Hi Somi,<br><br>The simplest way of restricting the level set to that <br>section will be to :<br><br>1) Mask the input image with the binary image that <br>    represents the red region.<br><br>2) Use the RegionOfInterestImageFilter in order to extract<br>
    from that masked image the region corresponding to <br>    the bounding box of the red region.<br><br>3) Use the resulting smaller image as the input for the<br>    LevelSet.<br><br><br>Most regions in ITK are specified in terms of rectangular<br>
regions whose walls are parallel to the axis of the image.<br><br>    <br>     Regards,<br><br><br>           Luis<br><br><br>--------------------------------------------------------------------------------<br><div class="gmail_quote">
On Tue, Apr 13, 2010 at 2:31 PM, somi <span dir="ltr">&lt;<a href="mailto:seesomi@gmail.com">seesomi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>a) Is is possible to restrict the growth of level set filter to a user defined volume ?<br>    For example, in the attached CT image, if a seed point is put at the blue cross point, and we want to grow a region only in the cylindrical reddish region specified by the user,<br>

   can we restrict the region growing only to that region ? I want to minimize calculations and memory utilization<br><br><br>b) Can we apply an ITK  filter only to specific non-rectangular region ( like the conical region in the attached image ) ?<br>

<br><br>Thanks,<br><font color="#888888">Somi<br>   <br><br>
</font><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>