Dear Dzenan, dear Paul,
Thanks for looking at the modifications. Even though I'm not new to ITK, VTK and
Co I still do not feel very confident in the quality of my changes when
contributing bug fixes or extensions. So I'm very grateful if someone else has a
look and approves;-)
I'm happy I finally could contribute something to ITK-Snap.
Thanks again
Roman
PS: Paul, would You push the commits You made also to github?
On 17/06/15 12:14, Paul Yushkevich wrote:
> Hi Roman
>
> Thanks so much for this fix! I am committing now to the master branch (which
> will become the next release, 3.4)
>
> Thanks!
> Paul
>
> On Tue, Jun 16, 2015 at 5:22 PM, Dzenan Zukic <
dzenan...@kitware.com
> <mailto:
dzenan...@kitware.com>> wrote:
>
> Dear Roman,
>
> calculating the start voxel is a once per thread operation, which makes its
> speed negligible. The pull request should be merged.
>
> Paul? Will you do it?
>
> Regards
>
> On Tue, Jun 16, 2015 at 10:04 AM, Grothausmann, Roman Dr.
> <
grothausm...@mh-hannover.de
> <mailto:
grothausm...@mh-hannover.de>> wrote:
>
> Dear mailing list members,
>
>
> ITK-Snap crashed when opening large datasets. It seems this was caused
> by an integer overflow when calculating a pointer index. The function
> used dot_product from VNL, which does not check for overflows
> (
http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_sse.h;h=04f930ef05bb49036e1fa69d6fe9ae9a697e2d45;hb=HEAD#l189).
> Doing the calculation avoiding VNL allows to use a simple cast to size_t
> before multiplication.
> This solved the issue for me. I can now load a grey image of about 10GB
> plus a 40GB segmentation into ITK-Snap, modify it (even in gWS mode) and
> then render the segmentation without any problems.
> The fix can be found at:
>
https://github.com/pyushkevich/itksnap/pull/2
>
> HTH
> Roman
>
> --
> Dr. Roman Grothausmann
>
> Tomographie und Digitale Bildverarbeitung
> Tomography and Digital Image Analysis
>
> Institut für Funktionelle und Angewandte Anatomie, OE 4120
> Medizinische Hochschule Hannover
> Carl-Neuberg-Str. 1
> D-30625 Hannover
>
> Tel.
+49 511 532-2900 <tel:%2B49%20511%20532-2900>
>
> --
> You received this message because you are subscribed to the Google
> Groups "itksnap-developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
itksnap-dev...@googlegroups.com
> <mailto:
itksnap-dev%2Bunsu...@googlegroups.com>.
> <mailto:
itksn...@googlegroups.com>.
> Dženan Zukić, R&D Engineer, Kitware <
http://www.kitware.com> (Carrboro, NC
> Office)
>
>
>
>
> --
> Paul A. Yushkevich, Ph.D.
> Associate Professor
> Penn Image Computing and Science Laboratory
> Department of Radiology
> University of Pennsylvania
>
> --
> You received this message because you are subscribed to the Google Groups
> "itksnap-developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
itksnap-dev...@googlegroups.com
> <mailto:
itksnap-dev...@googlegroups.com>.
> <mailto:
itksn...@googlegroups.com>.