[vtkusers] vtkDICOMImageReader limits

John Drescher drescherjm at gmail.com
Fri Sep 3 17:32:56 EDT 2010


On Fri, Sep 3, 2010 at 5:28 PM, John Drescher <drescherjm at gmail.com> wrote:
>> I successfully read DICOM data using  vtkDICOMImageReader   for directory
>> contains 78  files
>> But when tried to load from directory contains 418 files , my application
>> crashed
>>             vtk.vtkDICOMImageReader VDR = new vtk.vtkDICOMImageReader();
>>             VDR.SetDirectoryName(@"G:\Master Degree\test DataSet\My
>> Disc\07291640");
>>             VDR.SetDataOrigin(0, 0, 0);
>>             VDR.Modified();
>> any suggestion please , or is there any limits regarding vtkDICOMImageReader
>
> I believe it is limited to around 4GB dicom files since the reader
> uses 32 bit index pointers.
>

In 32bit windows however you will be limited by the largest
allocatable memory block which should be around 1.2GB ( even if your
PC has 4 GB of ram) unless you have your program compiled with the
LARGEADDRESSAWARE linker flag and you have your OS set to allow 3GB
applications.

John



More information about the vtkusers mailing list