[vtkusers] vtkImageReslice question

Mathieu Malaterre mmalat at irus.rri.ca
Wed Jun 19 15:17:04 EDT 2002


Hi all,
  I used vtkImageReslice to generate an anisotropic volume (from a minc
image). So I did:

reslice = vtkImageReslice()
reslice.SetInput(reader.GetOutput())
reslice.SetOutputSpacing(1,1,1)
reslice.SetInterpolationModeToCubic()
reslice.Update()

At the end my volume has the good spacing. But when I display it, the
border are black instead of white ?
(by border I mean x=0 , y=0 , z=0, x=xmax, y=ymax and z=zmax ). Does
anyone knows how to avoid this ? Or at least how to remove them ?

thanks
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmalat.vcf
Type: text/x-vcard
Size: 392 bytes
Desc: Card for Mathieu Malaterre
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020619/26986317/attachment.vcf>


More information about the vtkusers mailing list