[vtkusers] tcl image to vtk

Luca Pallozzi Lavorante lplavorante at gmail.com
Wed Jan 23 11:00:51 EST 2008


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/1134acf2/attachment.htm>


More information about the vtkusers mailing list