[vtkusers] Re: constructing volume data from image slices
Madhusudhanan Balasubramanian
madhu_lsu at yahoo.com
Fri Jun 25 16:09:49 EDT 2004
Hi Nick,
It tried that and didn't work. (Intially, I didn't set the appendaxis flag to 2; when I viewed it with vtkImageViewer, images were appended side by side, so learnt about the append axis and later set it to 2 (z-axis)) However, with the appendaxis set to 2, GetOutput() is not returning volume. Thanks for your insight in this problem.
Madhu.
>Hi Madhu,>The default AppendAxis of vtkImageAppend is the X axis. You will have to set>the AppendAxis to 2 for appending slices in XY plane to Z axis.>Nick> Hi all,>> I'm trying to construct volume data from various images (read separately).I tried to add images as they are read into a single volume usingvtkImageAppend.AddInput(), assuming that GetOutput() member ofvtkImageAppend would return a volume data. But GetOutput is not returning avolume. Can anyone tell me whether my approach is correct and suggest anyalternatives?>> I appreciate your help.>> Thanks,> Madhu.
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040625/ff48a800/attachment.htm>
More information about the vtkusers
mailing list