[Insight-users] Adaptive Thresholding segmentation fault

Kishore Mosaliganti kishoreraom at gmail.com
Thu Nov 5 22:50:02 EST 2009


Hi Alex,

I tried out my large 3D datasets and I did not have any problem at my end.

Can you make sure your data is being read correctly. You can put some
writers to write it out. What about the image size, origin and
spacing?

Can you crop your dataset to a point where the bug is being replicated
and then share that data?

Thanks,
Kishore

On Thu, Nov 5, 2009 at 6:00 PM, Oleksandr Dzyubak <adzyubak at gmail.com> wrote:
> Hi Kishore,
>
> Thanks for such quick response.
> More specific?
>
> ITK-3.16
> AMD64
>
> dzyubak at helium: /Tmp$ gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1'
> --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
> --enable-cld --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.3.2 (Debian 4.3.2-1.1)
>
>
> dzyubak at helium: /Tmp$ uname -a
> Linux helium 2.6.26-2-amd64 #1 SMP Mon Oct 19 02:34:17 UTC 2009 x86_64
> GNU/Linux
>
> dzyubak at helium: /Tmp$ ls
> adaptiveOtsuThresh3D  space_1mm_h61_with_psf.hdr  uchar_1mm_h61_with_psf.hdr
> space_1mm_h61_with_psf.img  uchar_1mm_h61_with_psf.img
>
>
> dzyubak at helium: /Tmp$ ./adaptiveOtsuThresh3D
> Usage:
> ./adaptiveOtsuThresh3D InputImage OutputImage radius numOfSamples
> numOfLevels numOfControlPts
>
>
> dzyubak at helium: /Tmp$ time ./adaptiveOtsuThresh3D uchar_1mm_h61_with_psf.hdr
> uchar_1mm_h61_with_psf_segm_5_5000_3_30.hdr 5 5000 3 30
> Segmentation fault
>
> real    1m1.959s
> user    0m56.996s
> sys    0m4.800s
>
>
> Hope it helps,
>
> Alex
>
>
> Kishore Mosaliganti wrote:
>>
>> Hi Alex,
>>
>> I made that submission and I use it almost everyday in my work. Can
>> you be more specific on your problem. Whats the s
>>
>> On Thu, Nov 5, 2009 at 5:19 PM, Oleksandr Dzyubak <adzyubak at gmail.com>
>> wrote:
>>
>>>
>>> Hi guys,
>>>
>>> I just downloaded the filter from the submission:
>>> http://hdl.handle.net/10380/3133
>>> An Adaptive Thresholding Image Filter by Mosaliganti K., Gelas A.,
>>> Megason
>>> S.
>>> and gave it a try.
>>>
>>> The 2D version works as described in the "howto" but
>>> the 3D one gives the "Segmentation fault" error with core dumped.
>>>
>>> Did anybody try it for 3D images?
>>>
>>> Alex
>>>
>>>
>>> _____________________________________
>>> 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.html
>>>
>>> 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
>>>
>>>
>
>


More information about the Insight-users mailing list