[vtkusers] Volume Rendering of TIFF images

Lisa S. Avila lisa.avila at kitware.com
Mon Oct 29 01:09:31 EST 2001


Hello Andre,

Did you set the scalar type of the output data correctly in the reader? If
the reader is reading 4 bytes per voxel instead of 2 (or 2 instead of 1) it
would cause this problem.

Lisa

----- Original Message -----
From: "André Leite Futuro" <futuro at ufrj.br>
To: "VTK list" <vtkusers at public.kitware.com>
Sent: Thursday, October 25, 2001 10:34 AM
Subject: [vtkusers] Volume Rendering of TIFF images


> Hi everyone on the list. I'm a student of Electronic and Computer
> Engineering in the Federal University of Rio de Janeiro, Brazil, and I've
> just started using VTK with Visual C++.
>
> I'm trying to make a Volume Rendering of images in the TIFF format, but
I'm
> having some trouble, may be someone can help me.
>
> I use the function SetDataExtent(0,300,0,300,0,29) and then I open the
> images with SetFileName.
> To map I'm using the vtkVolumeRayCastMapper. But when I Render the volume,
> it seems like the size of each Image is 150x150 and not 300x300, like it
had
> to be.
>
> If someone knows what I'm talking about and wants to help me, I would be
> very glad.
>
> André Futuro.
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list