logo       

Re: LUT: msg#00288

java.imagej

Subject: Re: LUT

You could just add them in the ij_props.tx file that is in the IJ.jar

snip

# Plugins installed in the Image/Lookup Tables submenu
lookup01="Fire",ij.plugin.LutLoader("fire")
lookup02="Grays",ij.plugin.LutLoader("grays")
lookup03="Ice",ij.plugin.LutLoader("ice")
lookup04="Spectrum",ij.plugin.LutLoader("spectrum")
lookup05="3-3-2 RGB",ij.plugin.LutLoader("3-3-2 RGB")
lookup06="Red",ij.plugin.LutLoader("red")
lookup07="Green",ij.plugin.LutLoader("green")
lookup08="Blue",ij.plugin.LutLoader("blue")
lookup09="Cyan",ij.plugin.LutLoader("cyan")
lookup10="Magenta",ij.plugin.LutLoader("magenta")
lookup11="Yellow",ij.plugin.LutLoader("yellow")
lookup12="Red/Green",ij.plugin.LutLoader("redgreen")
lookup13=-
lookup14="Invert LUT",ij.plugin.LutLoader("invert")
lookup15="Apply LUT",ij.plugin.filter.LutApplier

snip


kurt
On 29 Mar 2006, at 11:07, Gabriel Landini wrote:

There may be a simpler way but this should also work.

1. Make a *plugin* that only applies the LUT you wish or runs the macro you
wish.
2. Compress the plugin class into a zip archive
3. Look at the jar examples in the IJ website how to write the plugins.conf
file so the entry appears in the menu.
4. Add the plugins.conf file to the zip archive.
5. Rename the zip file as ".jar"
6. Restart IJ.

Cheers,
G.


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

*--*--*--*--*--*--*--*--*--*--*--*--*--*
University of Sheffield
Academic Neurology Unit
Division of Genomic Medicine
E Floor, Medical School
Beech Hill Road
Sheffield
S10 2RX
United Kingdom

Tel: ++44 (0) 114 271 2473
Fax: ++44 (0) 114 226 1201
Email: K.DeVos@xxxxxxxxxxxxxxx
*--*--*--*--*--*--*--*--*--*--*--*--*--*



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise