[vtkusers] Problem in loading big images using vtkimagereader

Michael Jackson mike.jackson at bluequartz.net
Tue Aug 10 12:41:59 EDT 2010


Are you compiling VTK as a 64 bit set of libraries? Possibly sounds  
like there is a 32/64 bit threshold being passed.

___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio

On Aug 10, 2010, at 11:51 AM, Arunachalam Kana wrote:

> Hi VtkUsers,
>
> I have problem in the vtkimagereader2. Following below is the code  
> used to read image.
>
> vtkImageReader2 * reader = vtkImageReader2::New();
>                 reader->SetFileName( file.toAscii().data() );
>                 reader->SetDataScalarType( scalarType );
>                 reader->SetHeaderSize( headersize );
>                 reader->SetDataExtent( extent );
>                 reader->SetDataSpacing( spacing );
>                 reader->SetDataOrigin( origin );
>                 reader->SetFileDimensionality( dim );
>                 reader->UpdateWholeExtent();
>                 reader->Update();
>
> The code works well when I read an image <= 3Gb(approx). But it does  
> not read the full
> Image if the image is >= 3Gb. The image data set i handle is > 3Gb.
>
> I would like to have  some suggestion to use vtkimagereader and  
> solve this problem.
>
> Thank you,
> Regards,
> Kana Arunachalam Kannappan
> Research Associate
> FH OÖ Forschungs & Entwicklungs GmbH
> Stelzhamer Strasse 23,
> 4600 Wels,
> Austria.
> Phone: +43 (0)7242 72811 -4420
> kana.arunachalam at fh-wels.at
> www.fh-ooe.at; www.3dct.at
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list