[vtkusers] Display 2d image

Floarea Serban florysf at gmail.com
Tue Mar 4 18:21:00 EST 2008


Thanks Iryna for your workflow but it seems that is not working for my
application. The image is still darker than the original. I don't know where
is the problem, I will try to find out.

On Tue, Mar 4, 2008 at 7:39 PM, flory <florysf at gmail.com> wrote:

>
>  Hi,
>
>     I want to display a TIFF image(not a stack with several images) using
> Java-VTK. The idea is that I want to read it with vtkTIFFReader and then
> place it in a swing component like a canvas. I don't want to place it in a
> 3d scene but just see it as a 2d image.Also I don't want to interact with
> the image.
> Is there any possibility to display 2d images without using
> vtkImageViewer(which should be used for stacks of images not single
> images...)?Or if the vtkImageViewer should be used could this one be
> placed
> in a container? I succeeded place it only in a 3d scene, also I tried to
> change the interactor style to vtkInteractorStyleImage but it still worked
> like a 3d scene.
>
>  Regards,
>
>                Flory
>
> --
> View this message in context:
> http://www.nabble.com/Display-2d-image-tp15834158p15834158.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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/20080305/fba76d42/attachment.htm>


More information about the vtkusers mailing list