Custom LUT directory

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

Custom LUT directory

Stein Rørvik
A related issue:

I have made a large number of custom LUTs, to fit various materials of interest in µCT scans.
Is it easy or hard to implement a cascading LUT menu, so that I can put my custom LUTs inside subfolders of the LUT folder, so that these subfolders appear as submenus of the LUT menu?  

Also, is it easy or hard to create a command that can switch the LUT folder?  
That is, a macro command like setDirectory("luts", MyPathToCustomLUTs) or its javascript equivalent.

Stein

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Michael Schmid
Sent: 12. oktober 2015 11:24
To: [hidden email]
Subject: Re: LUT directory

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

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html