ImageJ base code to get access to all the classes and their methods to test new Plugins. https://imagejdocu.tudor.lu/howto/plugins/the_imagej_eclipse_howto
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
554 B

var lutdir = getDirectory("startup")+"luts"+File.separator;
var luts = getLutMenu();
var lCmds = newMenu("LUT Menu Tool", luts);
macro "LUT Menu Tool - C037T0b10LT6b10UTeb10T" {
cmd = getArgument();
if (cmd!="-") run(cmd);
}
function getLutMenu() {
list = getList("LUTs");
menu = newArray(3+list.length);
menu[0] = "Invert LUT";
menu[1] = "Apply LUT";
menu[2] = "-";
for (i=0; i<list.length; i++)
menu[i+3] = list[i];
return menu;
}