[Insight-users] crashes N-D Linear Time Exact Signed Euclidean Distance Transform

Oleksandr Dzyubak adzyubak at gmail.com
Wed May 28 15:14:36 EDT 2008


Dear ITKers,

I tried to use N-D Linear Time Exact Signed Euclidean Distance Transform 
from IJ.

http://insight-journal.org/midas/handle.php?handle=1926/171

Compilation went fine and I got a brand new and very nice looking 
executable.
However when I tried to run it on the example images provided in the 
distribution archive,
the program keeps crashing with the memory corruption error ( see error 
below).

Am I missing something?
Have anybody tried that algorithm implementation?

Thanks,

Alex

PS.
Just read a note about a big change in gcc when go from 3.x to 4.x
and did some preliminary tests.

Debian Lenny gcc 4.2.3 -- compiles fine; test run crashes.
Debian Etch   gcc 4.1.2 -- compiles fine; test run crashes.
FreeBSD 6.3  gcc 3.4.6 -- compiles fine; test run works fine.

In this case, was N-D Linear Time Exact Signed Euclidean Distance Transform
written for some C++ flavour?


*********************** Errors ********

dzyubak at debian: /Images$ ls
binaryPhantom.hdr      peep0_seg01_out.img
binaryPhantom.img      SignedMaurerDistanceMapImageFilterTest
binaryPhantom_out.hdr  SquareBinary201.hdr
binaryPhantom_out.img  SquareBinary201.img
peep0_seg01.hdr        SquareBinary201_out.hdr
peep0_seg01.img        SquareBinary201_out.img
peep0_seg01_out.hdr
dzyubak at debian: /Images$ ./SignedMaurerDistanceMapImageFilterTest 
SquareBinary201.hdr
*** glibc detected *** malloc(): memory corruption: 0x08176b90 ***
Aborted



More information about the Insight-users mailing list