[vtkusers] How can I enlarge the data of vtkImageReslice.

diaoxianfen diaoxianfen at asisz.com
Wed Dec 15 19:28:37 EST 2004


Hi S.Joung,
You can adjust the parameters of SetOutputSpacing() to enlarge the data of vtkImageReslice.For example,you can use 
reslice1->SetOutputSpacing(0.5,0.5,0.5).
Then you will get enlarged image.Of course you can use 
reslice1->SetOutputSpacing(2.0,2.0,2.0) to reduce the sliced result.
Hope this will help you.

Diaoxianfen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20041216/a82a0bb6/attachment.htm>


More information about the vtkusers mailing list