<DIV><PRE>Hi Nick,</PRE><PRE>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.</PRE><PRE>Madhu.</PRE><PRE>>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
><I> Hi all,
</I>><I>
</I>><I> I'm trying to construct volume data from various images (read separately).
</I>I tried to add images as they are read into a single volume using
vtkImageAppend.AddInput(), assuming that GetOutput() member of
vtkImageAppend would return a volume data. But GetOutput is not returning a
volume. Can anyone tell me whether my approach is correct and suggest any
alternatives?
><I>
</I>><I> I appreciate your help.
</I>><I>
</I>><I> Thanks,
</I>><I> Madhu.
</I>
</PRE><!--endarticle--></DIV><p>
                <hr size=1>Do you Yahoo!?<br>
Yahoo! Mail is new and improved - <a href="http://us.rd.yahoo.com/mail_us/taglines/new/*http://promotions.yahoo.com/new_mail">Check it out!</a>