[vtkusers] tcl image to vtk
CLEMENTS, ROBERT
rclement at kent.edu
Wed Jan 23 13:16:19 EST 2008
I was hoping to avoid writing a file and then loading it, but appears that will be the way to do it.
Thanks
rob
rob,
you can use classes like vtkJPEGReader to read images. Have a look at the
following Tcl script:
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Imaging/Testing/Tcl/TestImageCanvas.tcl?root=VTK&content-type=text/plain
Don´t forget to call the Update() method before using the image.
Best regards
Luca
On Jan 23, 2008 1:19 PM, CLEMENTS, ROBERT <rclement at kent.edu> wrote:
>
> Is there an easy way to use an image loaded with tcl in vtk. What i want
> to do is load an image in tcl and then use that image in my vtk pipeline.
> Is this possible?
>
> thanks
>
> rob
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080123/606c1abb/attachment.htm>
More information about the vtkusers
mailing list