<div class="gmail_quote">On Thu, Jun 14, 2012 at 10:14 AM, Yanling Liu <span dir="ltr"><<a href="mailto:vrnova@gmail.com" target="_blank">vrnova@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The ITK Kmeans example won't execute on Ubuntu 12.04 (<a href="http://www.itk.org/Wiki/ITK/Examples/Statistics/ImageKmeansModelEstimator" target="_blank">http://www.itk.org/Wiki/ITK/Examples/Statistics/ImageKmeansModelEstimator</a>).<br>
<br>./ImageKmeansModelEstimator <br>Segmentation fault (core dumped)<br><br>Thanks,<br>Yanling<br></blockquote><div><br></div>I can confirm this behavior. It crashes for me on this line (102):<div><br></div><div> int classLabel = membershipIterator.GetClassLabel();<br clear="all">
<br></div><div>Could someone familiar with the itkImageKmeansModelEstimator take a look?</div><div><br></div><div>David </div></div>