[vtkusers] put RGB into vtkImageData from array
David Doria
daviddoria+vtk at gmail.com
Tue May 4 20:22:55 EDT 2010
On Tue, May 4, 2010 at 7:07 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:
> On Tue, May 4, 2010 at 4:24 AM, Anant Vemuri <ajar108 at gmail.com> wrote:
> > Hi
> >
> > I have three arrays with r, g and b data. But I am not able to put it
> > together into a single vtkImageData to load as a color image. Any
> > suggestions on how to do do this? I came across a few questions
> previously
> > on this topic but I am not able to get a concrete solution to make it
> work.
> > Thanks.
> >
> > Anant.
>
>
Here is a demonstration:
http://www.vtk.org/Wiki/VTK/Examples/Images/CombiningRGBChannels
<http://www.vtk.org/Wiki/VTK/Examples/Images/CombiningRGBChannels>
Hope this helps!
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100504/b42497f5/attachment.htm>
More information about the vtkusers
mailing list