<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:669f0aa6$1$142e9ce0411$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>