[vtkusers] interactively (visually) change Brightness and Contrast

Anka Kochanowska pluszcz at gmail.com
Wed Nov 7 08:11:37 EST 2012


Hi!
At some point I used vtkImageMapToWindowLevelColors to change brightness.
Window and level do not correspond exactly to brightness and color.

Anka



On Wed, Nov 7, 2012 at 4:08 AM, Alessandro <notinmyhead at gmail.com> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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/20121107/4f2d040f/attachment.htm>


More information about the vtkusers mailing list