LUT directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

LUT directory

Emanuele Martini
Hi to all,
I am tryiing to implement a plugin (in Java, but it is not so important the language) that, at the beginning, populate a popup menu with the list of all the LUT presents.
I am doing that searching for the LUT directory of ImageJ/Fiji and it works.
The problem is that not all the LUTs presents in the ImageJ menu are in the LUT directory, in particularly there are not the Look up tables above the line in the image->LookUp Tables (Fire,Grays,Ice,Green,Red,...)

So, where are they? ;)

See you,
thank you
emanuele martini
Image Analyst @Ifom-IEO research campus -MI-
Reply | Threaded
Open this post in threaded view
|

Re: LUT directory

Michael Schmid
Hi Emanuele,

some luts are hard-coded in ij.plugin.LutLoader:
- Fire, Ice (each as a table)
- Grays, Red, Green, Blue, Cyan, Magenta, Yellow, Redgreen (code, incrementing/decrementing the RGB components)
- Spectrum (incrementing hue of HSB)
- 3-3-2 RGB (incrementing with bitmasks, 3 bits for R, 3 bits for G, 2 bits for B)

Michael
________________________________________________________________
On Oct 12, 2015, at 09:22, Emanuele Martini wrote:

> Hi to all,
> I am tryiing to implement a plugin (in Java, but it is not so important the
> language) that, at the beginning, populate a popup menu with the list of all
> the LUT presents.
> I am doing that searching for the LUT directory of ImageJ/Fiji and it works.
> The problem is that not all the LUTs presents in the ImageJ menu are in the
> LUT directory, in particularly there are not the Look up tables above the
> line in the image->LookUp Tables (Fire,Grays,Ice,Green,Red,...)
>
> So, where are they? ;)
>
> See you,
> thank you
> emanuele martini
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: LUT directory

Emanuele Martini
OK perfect,
thank you for your quick answer.
I resolved it by adding as string the  hard-coded LUTS.
Have a nice day,
Emanuele
Image Analyst @Ifom-IEO research campus -MI-