I want to test different lookup tables for my images, and I find it a bit tedious to select a different LUT every time using the menu Image-->Lookup tables. Maybe there is a more time-effective way?
I was wondering if there's something like a "LUT browser" where we can go through a list of the available LUTs using just one click or key (eg. a drop down list of available LUTs) and the LUTs is applied in real time Alternatively, it could just be a dialog with the list of available LUTs and a 'preview' option before applying the chosen LUT. But maybe there is already a plugin with something like a LUT manager? Cheers, Rodrigo ________________________ Rodrigo J. Gonçalves ________________________ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi,
This is not exactly a LUT manager, but the following macro creates an image with all availble LUTs. http://rsb.info.nih.gov/ij/macros/Show_All_LUTs.txt Jerome. On 22 October 2012 14:50, Rodrigo Gonçalves <[hidden email]> wrote: > I want to test different lookup tables for my images, and I find it a bit > tedious to select a different LUT every time using the menu Image-->Lookup > tables. Maybe there is a more time-effective way? > > I was wondering if there's something like a "LUT browser" where we can go > through a list of the available LUTs using just one click or key (eg. a > drop down list of available LUTs) and the LUTs is applied in real time > Alternatively, it could just be a dialog with the list of available LUTs > and a 'preview' option before applying the chosen LUT. > > But maybe there is already a plugin with something like a LUT manager? > > Cheers, > Rodrigo > > ________________________ > > Rodrigo J. Gonçalves > > ________________________ > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Rodrigo Gonçalves-4
On Monday 22 Oct 2012 13:50:05 you wrote:
> I want to test different lookup tables for my images, and I find it a bit > tedious to select a different LUT every time using the menu Image-->Lookup > tables. Maybe there is a more time-effective way? > > I was wondering if there's something like a "LUT browser" where we can go > through a list of the available LUTs using just one click or key (eg. a > drop down list of available LUTs) and the LUTs is applied in real time > Alternatively, it could just be a dialog with the list of available LUTs > and a 'preview' option before applying the chosen LUT. > > But maybe there is already a plugin with something like a LUT manager? You might find this useful: http://www.dentistry.bham.ac.uk/landinig/software/lut/lut.html I rarely use the above, because I added to my StartupMacros the following lines, so I can click on a LUT button to go forward (click) and backwards (shift-click) in the LUTs stored in the /luts folder. Alt-click takes you to the first LUT. To have a preferred order, just add a number preceeding the LUT names (i.e. 000-grey.lut, 001-fire.lut) as otherwise they will be in alphabetic order. The mailers most likely add line breaks, so beware! var GLlut=0; var lutdir=getDirectory("startup")+"luts"+File.separator; var list = getFileList(lutdir); // ****************** action tools ***************************** macro "Look Up Tables Action Tool - C900L222e Cf00L323e Cf90L424e Cfd0L525e Cff3L626e Cce4L727e C4f0L828e C3ecL929e C5cdLa2ae C79fLb2be C77fLc2ce Cb6fLd2de CfafLe2ee CfefLf2fe C000R11fe"{ if (!File.exists(lutdir) || list.length<1){ showMessage("No LUTs in the \'\/Image\/luts\' folder.\nThe LUT Tool will not work."); return; } if (isKeyDown("alt")) GLlut=0; else if (isKeyDown("shift")) GLlut-=1; else GLlut+=1; if (GLlut<0) GLlut=list.length-1; if (GLlut>list.length-1) GLlut=0; if (bitDepth()!=24) run("LUT... ", "open=["+lutdir+list[GLlut]+"]"); wait(20); restorePreviousTool(); showStatus(list[GLlut]); } -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |