[Insight-users] my 3D version of NeighborhoodConnectedImageFilter is crashing

Cagatay Bilgin bilgincc at gmail.com
Mon Apr 9 00:36:09 EDT 2012


Hi Lee,

It looks like you forgot to set the Z dimension
for the radius.

"radius[0] = 2;   // two pixels along X
radius[1] = 2;   // two pixels along Y"

Cagatay

On Sat, Apr 7, 2012 at 9:59 AM, Lee Periolat <periolat at gmail.com> wrote:

> Hello all,
>
> I wrote a 3D version of NeighborshoodConnectedImageFilter.cxx
> following a previous email which showed the diff between
> ConfidenceConnected.cxx and ConfidenceConnected3D.cxx.  My new version
> compiles, but when I run it it crashes after about 10 seconds.  No
> exception is thrown.  I can't figure out what to do next to debug the
> problem.  Perhaps I am running out of memory because I am using a 3D
> image?   Unfortunately I don't know how to direct my program to
> allocate more memory.
>
> I have attached my code in a file.   Any help would be appreciated.
>
> Thanks in advance,
> Lee Periolat
>
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120408/5a2d9f5f/attachment.htm>


More information about the Insight-users mailing list