[vtkusers] problem displaying 2D image(the image looks darker)

Mark Wyszomierski markww at gmail.com
Sun Nov 11 12:47:19 EST 2007


Did you try using vtkImageViewer2 which encapsulates all of that?
There may be a window/level value set on the source pixel data making
it appear darker than what you're used to seeing?

Mark

On Nov 11, 2007 12:26 PM,  <m26404030 at john.petra.ac.id> wrote:
> hi all, i want to ask a question..
>
> i want to display a 2D bitmap image (.bmp)..
> i use vtkRenderWindow, vtkRenderer, vtkRenderWindowInteractor,
> vtkImageMapper, vtkActor2D, and also vtkBMPReader.
> i actually can display the image but the image looks darker than the
> original image. i dont know why.
> someone can tell me how to display the image correctly?
> _______________________________________________
> 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
>



More information about the vtkusers mailing list