[vtkusers] gap between slices
David Gobbi
dgobbi at imaging.robarts.ca
Mon Jul 15 14:37:15 EDT 2002
Hi Jose,
As long as the gap is the same for all slices, you just have to
specify what the gap is when you read the data.
For example, if you read the data with vtkImageReader, then use
reader->SetDataSpacing(xspacing, yspacing, zspacing)
where 'zspacing' is the gap between slices, and (xspacing,yspacing)
is the (x,y) size of the pixels in each slice.
Hopefully this answers your question.
- David
--
David Gobbi, MSc dgobbi at imaging.robarts.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
On Mon, 15 Jul 2002, jose manjon wrote:
> hi there,
>
> there is any way to set a gap between mri slices on a vtkstructuredpoints object for interpolating gap values afterwards using image reslice object????
>
> thanks in advance
>
> jose
>
> \\|//
> (@ @)
> +--------------------oOO----(_)----OOo-----------------------+
> | |
> | Prof. Jose Vicente Manjón Herrera |
> | |
> | Group of Medical Bioinformatics |
> | Department of Aplied Physics |
> | Computer Science High School |
> | Technical University of Valencia |
> | Spain |
> | |
> | Email:jmanjon at fis.upv.es |
> | |
> +------------------------------------------------------------+
> |__|__|
> || ||
> ooO Ooo
>
>
> _______________________________________________
> 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