Re: [ROOT] image display

From: Antonio Kanaan (kanaan@astro.ufsc.br)
Date: Wed May 02 2001 - 03:44:05 MEST


Hi Luc,

well, I guess I was not clear.  An "image display" is a window you can
send an image to.  Normally images are read like this:

ncolumns , nlines
intensity[0][0]
intensity[0][1]
...
intensity[0][nlines]
intensity[1][1]
...
intensity[ncolumns][0]
intensity[ncolumns][1]
...
intensity[ncolumns][nlines]

Once you read the image you can display it on a window with ncolumns x
nlines pixels.  The intensities are represented by the brightness of
the pixel, white being bright and black dark.  Usually you can change
the translation intensity-to-graylevel normally by moving a slide
button which changes what is called the lookup table.  Actually there
normally are two slide buttons just like in a tv set: brightness and
contrast.  Then you can have other programs which interact with that
to extract specific quantitative information in an interactive
fashion.  

that's basically what I am trying to find on root, hope it is there.  

thanks for your question I hope this makes things more clear now.

Antonio

>>>>> "Perrot" == Perrot Luc <perrot@isn.in2p3.fr> writes:

    Perrot> Antonio Kanaan wrote:

    >> Hi All,
    >> 
    >> I am transferring some of my astronomical programming to root.
    >> One basic need of an Astronomer is an image display tool which
    >> I am not sure there is one in root.  The closest to it I found
    >> is in the ntuple1.C tutorial used in the fourth pad, but it is
    >> still far from what I really need.  Is there something closer
    >> to displaying an image than that?  Any hints appreciated.
    >> 
    >> Thanks,
    >> 
    >> Antonio
    >> 
    >> ***************************************************************
    >> Antônio Kanaan Departamento de Física - Universidade Federal de
    >> Santa Catarina CP 476 -- CEP 88040-900 -- Florianópolis -- SC
    >> -- Brasil http://www.astro.ufsc.br/~kanaan e-mail:
    >> kanaan@astro.ufsc.br Phone: 55,48,3319069 FAX : 55,48,3319946

    Perrot>         Hi, I'am very sorry but i don't see very well what
    Perrot> you want for your display, have you been an example ?  Luc

    Perrot> --------------------------------------------- Luc Perrot
    Perrot> Etudiant doctorant (PhD) Groupe Reacteurs Hybrides 53
    Perrot> Avenue des Martyrs 38026 Grenoble Cedex France tel : 04 76
    Perrot> 28 40 93 ---------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET