getting a slice from reslice

David Gobbi dgobbi at irus.rri.on.ca
Mon Apr 10 11:20:22 EDT 2000


Hi Miguel,

You can use vtkImageReslice::SetOutputExtent() to set a reslice
output extent that is only a single slice, then you don't need
to use vtkExtractVOI.  If you want to extract other slices at
other angles, use extra vtkImageReslice filters.

The nightly documentation for vtkImageReslice is much clearer
than the vtk 2.4 docs were: take a look at 
http://public.kitware.com/vtk/quality/Doc/manhtml/vtkImageReslice.html

Also, if you can switch to a more recent version of VTK: the 3.* and
nightly releases version of vtkImageReslice are around 30% faster for
oblique slicing and 1000% faster for othogonal slicing than the 2.4
version.  A few bugs have been fixed, too, and nonlinear warp reslicing
via thin plate splines has been added.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Mon, 10 Apr 2000, Miguel Angel Martin Fernandez wrote:

> Hello dear users,
> 
> 	I'm trying to reslice a volume and then obtain a certain slice
> from it (with vtkExtractVOI). The problem is that to use vtkExtractVOI, I
> need the extent of the output of the imageReslice, and to obtain this, I
> have to Update it which is extremly ineficient!
> 
> 	Do you know any alternative? (I use vtk 2.4)
> 
> 	T.I.A. Miguel.
> 
>             ________________________________________________________
>   _________(_                                                      _)_________
>   \········(_   Miguel Ángel Martín Fernández                      _)········/
>    \·······(_   ETSI Telecomunicación, Universidad de Valladolid   _)·······/
>     \······(_   Campus Miguel Delibes, Camino del Cementerio, s/n  _)······/
>      )·····(_   e-mail: miguel at atenea.tel.uva.es                   _)·····(
>     /······(_   Tfno: +34-983-423000 Ext. 25548                    _)······\
>    /·······(________________________________________________________)·······\
>   /__________)                                                 (_____________\
>                                                         
> 
> --------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at public.kitware.com>. For help, send message body containing
> "info vtkusers" to the same address.
> --------------------------------------------------------------------
> 

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list