[vtkusers] vtkImageSlabReslice and SlabResolution

David Gobbi david.gobbi at gmail.com
Wed Apr 10 18:00:14 EDT 2013


Hi Aaron,

The SlabResolution must be less than the sample spacing of your
original data set in order to avoid undersampling.  So it should
suffice to use SlabResolution=min(spacing[0], spacing[1], spacing[2])
where "spacing" is the voxel spacing of your data.

 - David

On Wed, Apr 10, 2013 at 8:31 AM, Boxer, Aaron <Aaron.Boxer at uhn.ca> wrote:
> Hello,
>
>
>
> I am using vtkImageSlabReslice to perform thick multi planar reformatting on
> a medical CT dataset,
>
> using MIP for the slabs.
>
>
>
> There are two parameters that I need to set: SlabThickness   and
> SlabResolution.
>
> I calculate SlabThickness in world coordinates based on the pixel dimensions
> and pixel-to-mm scaling factors,
>
> but I am not sure what is the best value for SlabResolution.
>
>
>
> Currently I am using the default value of one for the resolution.
>
>
>
> According to the header file,
>
>
>
> # of slices in slab = (2 x (int)(0.5 x SlabThickness/SlabResolution)) + 1;
>
>
>
> Any insight here would be greatly appreciated,
>
> Aaron



More information about the vtkusers mailing list