slicing volumes

David Gobbi dgobbi at irus.rri.on.ca
Mon Aug 23 16:30:32 EDT 1999


Hi John,

It's definitely vtkImageClip that you want to use here.  There
is virually zero overhead involved in using a vtkImageClip
to extract an image slice.

You might find that VTK is more sluggish working with X
slices than with Y or Z slices.  There is no easy way around
this.  When you extract an X slice, the filter (or imager)
immediately after vtkImageClip has to deal with highly
discontiguous data.

 - David

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

On Mon, 23 Aug 1999, John Biddiscombe wrote:

> Dear All,
> 
> To slice a volume along the axes with no resamplig or interpolation, just a
> simple extraction of slices, should one
> 
> vtkImageReslice (seems a bit overkill)
> SP->GeometryFilter (don't want polygons output)
> vtkImageClip (I think I want this one)
> 
> is ImageClip the one I want or are there others that will do the job.
> 
> Thanks
> 
> John B
> 
> 
> 
> -----------------------------------------------------------------------------
> This is the private VTK discussion list.  Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>.  For help, send message body containing
> "info vtkusers" to the same address.     Live long and prosper.
> -----------------------------------------------------------------------------
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list