[ITK] [ITK-users] segmentation error in PCA estimator

Matt McCormick matt.mccormick at kitware.com
Tue Sep 30 10:21:26 EDT 2014


Hi Lianli,

Building the program with debugging symbols and running the executable
in a debugger should shed more light.  Or, sharing a SSCCE [1], i.e.
the code and images and command (CTest test), should help others debug
your issue.

Thanks,
Matt

[1] http://sscce.org/

On Mon, Sep 29, 2014 at 6:24 PM, Lianli Liu <llliu at umich.edu> wrote:
> Hi all,
>
> I am applying the itk example code for PCA estimator (EstimatePCAModel.cxx).
> I have 10 training images and I intend to output all components (i.e. 10).
> But after writing 4 components, I get the segmentation fault. I was
> wondering what is the cause of this? I would really appreciate any help.
> Thanks!
>
> Regards,
> Lianli
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users



More information about the Community mailing list