<div>Hi Jianfeng, </div><div><br></div><div>Yes, user mailing list is a better place for such topics.</div><div><br></div>Some quick comments:<div><br><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">VectorGradientMagnitudeAnisotr</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.800000190734863px;background-color:rgb(255,255,255)">opicDiffusionImageFilter is used to smooth an image while preserving the edges.</span></div>
<div><font color="#222222" face="arial, sans-serif">Please refer to  the example and the documentation for the filter:<br></font>     <a href="http://www.itk.org/Wiki/ITK/Examples/Smoothing/VectorGradientAnisotropicDiffusionImageFilter">http://www.itk.org/Wiki/ITK/Examples/Smoothing/VectorGradientAnisotropicDiffusionImageFilter</a></div>
<div><br></div><div>Are you trying to use watershed segmentation to label lung regions? Please refer to the software guide about watershed segmentation:  <a href="http://www.itk.org/ItkSoftwareGuide.pdf">http://www.itk.org/ItkSoftwareGuide.pdf</a>   Or other segmentation methods discussed in the guide.</div>
<div><br></div><div>Lung region in CT images usually have high contrast due to the air content.   Simple image processing combinations ( threshold,   region growing, mathematical morphological operations etc.) usually generate satisfactory results. </div>
<div><br></div><div>Thanks!</div><div>-Xiaoxiao</div><div><br><div class="gmail_quote">On Fri, Oct 12, 2012 at 10:03 PM, 杨建峰 <span dir="ltr">&lt;<a href="mailto:13787890@qq.com" target="_blank">13787890@qq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font><div> </div><p>I have a lung CT image,I want to segment the lung. First ,I used the itk::VectorGradientMagnitudeAnisotropicDiffusionImageFilter  class .</p>
<p>The output is a lable image ,then I converted it to a RGB image .</p><p>but, how can I find out the lung region in the original image.</p><p>thanks for your help.</p><p>                                                                                                                                                                       2012.10.13</p>
<p>                                                                                                                                                                              Yang Jianfeng</p></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://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</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-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R &amp; D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924  or  <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div><br>
</div></div>