<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>&gt;Hi Madhu,
&gt;The default AppendAxis of vtkImageAppend is the X axis. You will have to set
&gt;the AppendAxis to 2 for appending slices in XY plane to Z axis.

&gt;Nick


&gt;<I> Hi all,
</I>&gt;<I>
</I>&gt;<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?
&gt;<I>
</I>&gt;<I> I appreciate your help.
</I>&gt;<I>
</I>&gt;<I> Thanks,
</I>&gt;<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>