[Insight-users] ITK Image Display in FLTK
Luis Ibanez
luis.ibanez@kitware.com
Wed, 09 Apr 2003 23:29:23 -0400
Hi Jon,
You may take advantage of the FLTK
viewer modules available in
InsightApplications/Auxiliary/FltkImageViewer
In particular the class
GLColorSliceView.h
and
fltkImageViewer
fltkImage2DViewer
Also, take a look at the demo-application
InsightApplications/ImageColorViewer
You can integrate the GLColorSliceView as a
Fl_Gl_Window in your FLTK GUI. Then define
your sliders or scrollbars in such a way
that their callbacks invoke the redraw for
the viewer window.
As examples of integration with an FLTK GUI
using ITK's Events and Observers are available
in:
InsightApplications/GaussianFilter
InsightApplications/Curve2DExtractor
Regards,
Luis
-----------------------
Jonathan Grashow wrote:
> The output of my ITK pipeline is a 2D, RGB, 8-Bit, ITK image. I want to
> display the output image in an FLTK window. The output image display
> will need to be updated frequently so that the user can adjust the
> parameters of each image filter in the pipeline (using GUI scroll bars)
> and see the results of the parameter change immidiately (or as soon as
> possible). Does anyone know the best way to do this?
>
>
>
> Thanks,
>
> Jon
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Platinum
> <http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html>
> - Watch CBS' NCAA March Madness, live on your desktop
> <http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html>!
>