<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Tue, May 4, 2010 at 7:07 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Tue, May 4, 2010 at 4:24 AM, Anant Vemuri &lt;<a href="mailto:ajar108@gmail.com">ajar108@gmail.com</a>&gt; wrote:<br>

&gt; Hi<br>
&gt;<br>
&gt; I have three arrays with r, g and b data. But I am not able to put it<br>
&gt; together into a single vtkImageData to load as a color image. Any<br>
&gt; suggestions on how to do do this? I came across a few questions previously<br>
&gt; on this topic but I am not able to get a concrete solution to make it work.<br>
&gt; Thanks.<br>
&gt;<br>
&gt; Anant.<br>
</div></div><div class="h5"><br></div></blockquote><div><br></div><div>Here is a demonstration:</div><div> </div><a href="http://www.vtk.org/Wiki/VTK/Examples/Images/CombiningRGBChannels">http://www.vtk.org/Wiki/VTK/Examples/Images/CombiningRGBChannels</a></div>
<div class="gmail_quote"><a href="http://www.vtk.org/Wiki/VTK/Examples/Images/CombiningRGBChannels"></a><br clear="all">Hope this helps!<br><br><div>David</div></div>