[vtkusers] vtkImageReslice on data with uneven spacing

Boxer, Aaron Aaron.Boxer at uhn.ca
Fri Apr 26 15:31:21 EDT 2013


Thanks, David. Currently, I don't need to use any image filters or mappers.
I simply use vtkImageReslice to extract a 2D slice.

I tried changing my code to use vtkRectilinearGrid;
The only two calls that are not supported are

SetOrigin
And
SetSpacing.

How should I set these values?

Cheers,
Aaron

-----Original Message-----
From: David Gobbi [mailto:david.gobbi at gmail.com] 
Sent: Friday, April 26, 2013 3:22 PM
To: Boxer, Aaron
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkImageReslice on data with uneven spacing

Not really.  You could use vtkRectilinearGrid to store the data, this allows uneven spacing and efficient storage but it means you cannot use the VTK image filters or mappers.  VTK would treat the CT as a generic data set.

On Fri, Apr 26, 2013 at 12:57 PM, Boxer, Aaron <Aaron.Boxer at uhn.ca> wrote:
> Hello!
>
>
>
> I am using vtkImageReslice to get slices of medical imaging CT 
> datasets
>
> where the spacing between frames is not uniform.  Is there a memory 
> efficient
>
> way of handling these types of data sets?
>
>
>
> Thanks!
>
> Aaron
>
>
> This e-mail may contain confidential and/or privileged information for 
> the sole use of the intended recipient.
> Any review or distribution by anyone other than the person for whom it 
> was originally intended is strictly prohibited.
> If you have received this e-mail in error, please contact the sender 
> and delete all copies.
> Opinions, conclusions or other information contained in this e-mail 
> may not be that of the organization.

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.




More information about the vtkusers mailing list