[vtkusers] How to understand the slab thickness, slab resolution, spacing
David Gobbi
david.gobbi at gmail.com
Wed Aug 2 09:58:24 EDT 2017
Hi Zhang,
Note that vtkImageReslice does not know the thickness of the input slices.
It only knows the spacing of the input slices. There is no "thickness"
information in vtkImageData. So in your example, if the input spacing is
0.8mm, then vtkImageReslice still does not know the true "thickness" of the
input slices.
When you call SetSlabNumberOfSlices(n), the thickness of the output slabs
is n*(output spacing). It is up to you to compute the number "n" that
provides the output thickness that you need.
- David
On Wed, Aug 2, 2017 at 2:51 AM, zhang qiang <zhang07101 at 126.com> wrote:
> Dear David:
>
> Something still make me confused.
>
> vtkImageReslice is used to reslice the image, and the output spacing
> is setted as (0.4, 0.4, 0.4). The SlabNumberOfSlices is default 1, so the
> thickness of the resliced image is 0.4? But what if the thickness of
> original image is 0.8? I think the thickness of original image is 0.8. And
> if the slab number of slice is n, the thickness of resliced image should be
> 0.8*n. Is that right.
>
> In this way, if the thickness of original image is 0.8, the thickness
> of resliced image must be 0.8*n?
>
> zhang qiang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170802/3a5b4f09/attachment.html>
More information about the vtkusers
mailing list