[Insight-developers] 4GB images on windows

Steve Pieper pieper at ibility.net
Fri Dec 13 14:37:17 EST 2013


Hi Brad -

I have not tried, but I'll bet turning the flag on in slicer would work and
we could set that as a default.

Even better though I think it would make sense for this to be the default
for any ITK 64 bit build.

-Steve


On Fri, Dec 13, 2013 at 2:16 PM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

> Hello,
>
> I have just noticed that in SimpleITK on windows 64-bits that images are
> limited to 2GB (maybe 4GB for some opts) because the "long" type is still
> used for size by default.
>
> ITK has the CMake variable ITK_USE_64BITSIDS to change this.
>
> https://github.com/Kitware/ITK/blob/master/CMakeLists.txt#L248
>
> https://github.com/Kitware/ITK/blob/master/Modules/Core/Common/include/itkIntTypes.h#L122
>
> I also noticed that Slicer3D does not have this parameter set so it's ITK
> image size is limited.
>
> Are we going to make this enabled by default in ITK at some point?
>
> Has anyone tried enabling this is Slicer?
>
> I am going to start with SimpleITK, and wondering what to expect.
>
> Thanks,
> Brad
>
>
> _______________________________________________
> 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://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-developers
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20131213/36f99217/attachment.htm>


More information about the Insight-developers mailing list