[vtkusers] interactively (visually) change Brightness and Contrast

Alessandro notinmyhead at gmail.com
Wed Nov 7 04:08:58 EST 2012


Hi,

I got your point. Mine is that I need to move the way user interact to change brightness and controll from the vtkInteractorStyleImage, so I'm looking for something that simply allows the modification on runtime. Is there something like that?

Ale

Il giorno 06/nov/2012, alle ore 16.52, David Doria ha scritto:

> On Tue, Nov 6, 2012 at 10:43 AM, Alessandro <notinmyhead at gmail.com> wrote:
> Hello,
> 
> I'm wondering if there is way to interactively change brightness and contrast of an image displayed in render windows. I'd like to program it in a custom interactorstyle.
> 
> Thanks
> Ale
> 
> vtkInteractorStyleImage already has some of that functionality:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/InteractWithImage
> 
> You can subclass it (here is how: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MouseEvents (that example does not use vtkInteractorStyleImage, but should give you the idea) ) to implement custom functionality.
> 
> David




More information about the vtkusers mailing list