[vtkusers] Problem in loading big images using vtkimagereader
John Drescher
drescherjm at gmail.com
Wed Aug 11 10:44:31 EDT 2010
On Wed, Aug 11, 2010 at 10:15 AM, Arunachalam Kana
<Kana.Arunachalam at fh-wels.at> wrote:
> Hi VtkUsers,
>
> First i was thinking this was a problem faced by me and Mike in the past. But now i see more response for this problem. If there is more response for this problem, which means a group exist which has 64 bit m/c and windows xp and want to work with large images. i think something has to be done, so that future programmers does not face the same problem and waste few days in finding the bug.
>
> I understand that it takes some effort to make this change and to change the respective files. But as we already have some solution, we can think of more possible solutions.
>
> Possible solutions:
> 1. John: Building vtk with 64bit.
> 2. Mike: changing from "long" to vtkIdType.
> 3. Kana: vtkIdtype defined speciall for windows system and can switch between 32 bit and 64 bit. Which can be selected during cmake.
>
> If there is any other vtk user interested to participate, please post your opinions.
>
Looking at the code in vtkimagereader2, Mike is correct. The code uses
long for extents which is 32 bit.
John
More information about the vtkusers
mailing list