Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vtkTIFFReader file size limitation and slices loading #30

Open
Alexxkrehmen opened this issue Dec 1, 2020 · 3 comments
Open

vtkTIFFReader file size limitation and slices loading #30

Alexxkrehmen opened this issue Dec 1, 2020 · 3 comments

Comments

@Alexxkrehmen
Copy link

Alexxkrehmen commented Dec 1, 2020

Hi,

Stacks in Tiff format bigger than 4GB are not properly imported (only the first slice is loaded)
It seems to be a limitation of some tiff loaders. I assume this is a limitation in the VTK api.

I've tried to find a workaround by extracting all the slices in individual tiff files, but then I can't find how to import them as a stack.
My current setup is like this :

image

The file pattern is ok :
%s%04d.tif

"%s" for the string prefix and "%04d" for the numerical part with 4 digits.

As seen in the information node, the first slice only is loaded (Z range=0).
What should I change to get all the slices loaded ?

@tkeskita
Copy link
Owner

tkeskita commented Dec 7, 2020

Hi, AFAIK the numerical part is assumed to be time step, and by default only one time step is loaded. I think there are some filters in VTK which process all of the time steps, one at a time (vtkTemporal*), but I haven't used those so can't help here, sorry.

@tkeskita
Copy link
Owner

tkeskita commented Dec 7, 2020

FYI alternative: you can nowadays convert your 3D image data to OpenVDB using VTK to OpenVDB Exporter node if you're on linux.

@Alexxkrehmen
Copy link
Author

Hi,

Thanks, I know about the OpenVDB solution, but here I need to generate a polygonal mesh... I originaly have my data as tiff files, and I can convert them to VTK, which is working.
I just wanted to skip the VTK conversion step to simplify my workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants