Jeremy,
it would be easier to getLut(r,g,b); instead of using the lut lister plugin.
You can then manipulate r,g and b arrays and setLut(r,g,b);
Sincerely,
Jerome.
On 11 May 2016 at 12:43, Jeremy Adler <
[hidden email]> wrote:
> I want to alter a LUT within a macro.
>
> I can use the plugin LUT lister to read the values of a LUT
> and
> setLUT(reds,greens,blues) to create a LUT from 3 arrays
> but I cannot see how to take the list of values from LUT lister and inert
> them into the 3 arrays required by setLUT.
> I intend to edit the arrays to alter the LUT.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html