Login  Register

Re: LUT

Posted by Bo de Lange on Mar 29, 2006; 2:35pm
URL: http://imagej.273.s1.nabble.com/LUT-tp3703281p3703283.html

Thanks for your input. I would not want to open all my images with my
specific lut, so what I've done is I've added two macros to my
StartupMacros so that I can switch between the normal 'Grays' lut and my
specific lut at the press of their assinged function key. It only works
on the active image, but I can live with that.

Bo

Jerome Mutterer wrote:

> Bo,
>
> You can sort of override ImageJ open command with the following macro,
> which can be run by pressing 'F1'. You can also add this macro to
> StartupMacros.txt so that it is installed every time you start ImageJ.
>
> Jerome.
>
>
> macro "Open with LUT [F1]" {
> open();
> if (bitDepth()==8)
> open("/location/ImageJ/plugins/Lookup_Tables/Blue_Green_Red.lut");
> }
>
>
>
> }Quoting Elena Kardash <[hidden email]>:
>
>>  hi, Bo,
>> i had the same question ann could not add the desired lut to the menu,
>> instead  i run the macro: it calls the desired lut from the
>> Lookup_Tables
>> plugin in the ImageJ
>> folder.
>> for example:
>> open("/location/ImageJ/plugins/Lookup_Tables/Blue_Green_Red.lut");
>> it applies to the activated image but maybe you could apply it to all
>> ...
>>  elena
>>
>> -------------------
>>> Can I permanently add a LUT to the Image-Lookup tables menu?
>>> If not, how do I easily apply a LUT, that's not in the menu, to all my
>>> open images?
>>>
>>> Bo
>>>
>>


--
R.P.J. de Lange, PhD
Rudolf Magnus Institute of Neurosciences
P.O. box 80040
3508 TA Utrecht
The Netherlands

visiting address:
Stratenum, room 4.241
Universiteitsweg 100
3584 CG Utrecht

tel: +31-30-253 8924
        +31-30-253 8837 (lab)
fax: +31-30-253 9032