AW: AW: [Insight-users] Color Viewer Question

Luis Ibanez luis.ibanez@kitware.com
Fri, 24 Jan 2003 09:59:52 -0500


Hi Zein,

I see your point better now.
If you are already using image with
multiple-label and what you need is
to switch multiple of those labeled
images, probably the best way to
proceed is to keep a list of those
images in memory and from your GUI use
the SetOverlay() method of the GLSlicer
to commute between them. Just remember
to make a refresh every time you replace
the overlay.

The GLSliceViewer has been there for
a long time. I is under:

  Insight/Auxiliary/FltkImageViewer

but has been evolving continuously.
So probably the version you have in
October's release does not have the
transparency functionality.

Keep in mind that we don't consider
this to be part of the toolkit.
Think about it as a "contrib" directory.
It is only provided as a help for
getting users started rapidly with
demo-kind of applications. You better
don't count on these classes for
creating a full-fledged application.


FYI, We are planning to release ITK 1.1
in the following weeks. Definitely before
February 15.


    Luis


------------------------------------
salah wrote:
> Thanks Luis,
> 
> What you have mentioned in point 1 is exactly what I need and what I have done, but completely differently. I did not use overlays. Instead I created a new coloed image friom the original image and colored it with different tranparent colors according to two segmentation results that I had. tha result is pretty. But I need to switch from one segmentation result to the other, i.e, to switch on/off the different masks.
> 
> In fact I did not hear about this new GLViewer! Is it not contained in the release of Oct. 2002?? I did not find it in the example directory! Must I update my ITK??
> 
> 
> Many Thanks,
> Zein
> 
> 
>