[Insight-users] Re: Re Changes to Fltk Image Viewer for better overlay/color support

Luis Ibanez luis.ibanez@kitware.com
Thu, 28 Nov 2002 23:49:58 -0500


Hi Martin,

In order to take advantage of your changes in the
fltkImageViewer an option was added to the menu bar on
the GUI.

Now under "Overlay" there is an "Opacity" menu option.

Whan you click in this option a small window with a slider
will appear. The slider will control directly the opacity
of the overlay.

The FastMarchingLevelSet and ShapeDetectionLevelSet
demo-applications are using it now to display the zero
set resulting from the segmentation on top of the input
image.


   Thanks


     Luis


=======================================================


Martin Styner wrote:

> Hi Luis
> Thanks for making the changes, everything worked nicely, no problems at 
> all (did not even need to recompile the itk libs, since all code is 
> templated).
> 
> I currently use it for several things:
>  a) display of multiple hard segmented classes over the original image 
> (I only need to have a nice slider for adjusting the opacity of the 
> overlay, but I might do that some other time...)
>  b) display of confidence values over the original image with heat-like 
> color table
>  c) display of an edge map (with strength relative color) over the 
> original image
>  d) I also plan to use it as ColorImageViewer displaying 3D RGB images 
> (with an empty image, the InputImage cannot be left unassigned, it needs 
> to be an empty image of the same dimension as the RGN image). I remember 
> that not long ago there was a question of Zein on the forum in regard to 
> the display of 3D RGB images with a reply that this is not possible with 
> fltkImageViewer. This should be possible using the overlay  (if I am 
> correct, I have not tested it yet).
> 
> Regards
> Martin
>