Dear Luis <br>      Thanks for your detail answer , I will check my  code again !<br>      Thank you very much!<br>zhq<br><br>At 2013-12-13 21:57:26,"Luis Ibanez" <luis.ibanez@kitware.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div dir="ltr">Hi Zhq,<div><br></div><div>When running the FastMarching example, it is critical to do the following:</div><div><br></div><div><br></div><div>1) Place the seed points in the locations of the anatomy,</div><div>
     that you want to segment.</div><div><br></div><div>     Did you adjusted the location of the seed points to your image ?</div><div><br></div><div><br></div><div>2)  Adjust the values of Alpha and Beta in the Sigmoid filter to the range</div>
<div>     of intensities of the image produced by the Gradient magnitude filter.</div><div><br></div><div>     Have you adjusted these values ?</div><div><br></div><div>     It is useful to save the output image of the GradientMagnitude filter</div>
<div>     and inspect it directly with an image viewer.</div><div><br></div><div>      Instructions on this are available in the software guide.</div><div><br></div><div><br></div><div>3)  Once you have inspected the gradient magnitude output, </div>
<div>      proceed to adjust the Alpha and Beta in the sigmoid until you</div><div>      get almost a black and white image as output.</div><div><br></div><div>      For this, it also helps to save the image in a file and to inspect</div>
<div>      it with an image viewer.</div><div><br></div><div>4) Finally, the "stoppingTime" parameter in the fastMarching filter</div><div>     is also a critical parameter to define when the filter stops propagating</div>
<div>     the front.</div><div><br></div><div><br></div><div>Please review these check points above, and if you continue having</div><div>difficulties, please post your input image in a public web site, so that</div><div>
we could inspect it and give it a try.</div><div><br></div><div><br></div><div>    Thanks</div><div><br></div><div>         Luis</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Dec 12, 2013 at 9:34 PM, zhq <span dir="ltr"><<a href="mailto:15891495523@126.com" target="_blank">15891495523@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial">Dear all :<div>       I run the code ,FastMarchingImageFilter.cxx , which included in InsightToolkit\Examples\Segmentation , a problem appears :</div><div>       When the code runs to the sentence , fastMarching->Update() , </div>
<div>       <img src="cid:10caa60c$1$142ec4cdca2$Coremail$15891495523$126.com" style="line-height:1.7"></div><div>        <span style="color:rgb(67,67,67);font-family:Arial,sans-serif;line-height:24px">This process occupies 25% of the CPU, and the code stop in this sentence .</span></div>
<div><span style="color:rgb(67,67,67);font-family:Arial,sans-serif;line-height:24px">        What the problem could be ?</span></div><div><span style="color:rgb(67,67,67);font-family:Arial,sans-serif;line-height:24px">        Thanks in advance !</span></div>
<div><span style="color:rgb(67,67,67);font-family:Arial,sans-serif;line-height:24px">zhq</span></div></div><br><br><span title="neteasefooter"><span><div><div style="border-top:#cccccc 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">
来自网易手机号码邮箱<a href="http://shouji.163.com" style="color:#0000ff" target="_blank">了解更多</a></div></div>
</span></span><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.php" target="_blank">http://www.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-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</blockquote><br><br><span title="neteasefooter"><span id="netease_mail_footer"><div id="netease_mail_footer"><div style="border-top:#CCCCCC 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a id="mobile_set" sys="1" log=1 logid="free_sms_20120504" href="http://shouji.163.com" target="_blank" style="color:#0000FF">了解更多</a></div></div>
</span></span>