[Insight-users] Color Viewer Question
Luis Ibanez
luis.ibanez@kitware.com
Wed, 22 Jan 2003 13:33:00 -0500
Hi Zein,
The color viewer utility uses internally the
class:
GLColorSliceView
which derives from
GLSliceView
This class accepts an additional input image to
be used as an overlay. You can associate a colormap
with the overlay. The GLSliceView offers the functionality
of setting the transparency of the overlay so you can
have your masks in a particular transparent color.
You can see an example of this working in the demo
application : FastMarchingLevelSet. In the directory
Insight/Applications/FastMarchingLevelSet
A Viewer with overlay is associated with the "overlay"
button at the top right of the GUI.
Please let us know if you have futher questions.
Thanks
Luis
-------------------------------------------
salah wrote:
> Hello all,
>
> I display volumes (3D images) using fltk viewer or the color viewer example provided with the ITK toolkit. I need to highlight some (already known) regions/pixels in the image with a different transparent color (red for example), some other pixel with another color, .... Till now, I do this by first creating an RGB image by simply coloring the original image, i.e, I supply the viewer with the newly created colored image. This method is in fact poor since when I need to highlight the required pixels some how lighter or darker, I need to recreat the RGB image and invoke the viewer once again. Is there a more efficient method to do that?? something similar to the SetOverlay method of the viewers?? something that masks selected pixels?? any other ideas??
>
> Many thanks for any suggestion!!!
>
> Zein
>
>
>
>
>
> ->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
> Zein I. Salah
> Universität Tübingen, WSI-GRIS, Sand 14, 72076 Tübingen
> Email: salah@gris.uni-tuebingen.de / zeinsalah@hotmail.com
> Tel.: (07071) 29 75465 (GRIS) , (07071) 25 69 43 (privat)
> Fax: (07071) 29 54 66
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>
>