[Insight-users] itk kmeans example segmentation fault

David Doria daviddoria at gmail.com
Thu Jun 14 10:54:30 EDT 2012


On Thu, Jun 14, 2012 at 10:14 AM, Yanling Liu <vrnova at gmail.com> wrote:

> The ITK Kmeans example won't execute on Ubuntu 12.04 (
> http://www.itk.org/Wiki/ITK/Examples/Statistics/ImageKmeansModelEstimator
> ).
>
> ./ImageKmeansModelEstimator
> Segmentation fault (core dumped)
>
> Thanks,
> Yanling
>

I can confirm this behavior. It crashes for me on this line (102):

 int classLabel = membershipIterator.GetClassLabel();

Could someone familiar with the itkImageKmeansModelEstimator take a look?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120614/d072ce5a/attachment.htm>


More information about the Insight-users mailing list