Dear listers and dear Wayne,
an inspection of the source code at <https://imagej.nih.gov/ij/source/ij/plugin/Colors.java> confirmed my experience that the following color names, e.g. as listed in the comment to the macro function "setColor(string)", are no longer supported by ImageJ: "darkGray" "lightGray" "pink" So, could someone please correct the list of allowed color names <https://imagej.nih.gov/ij/developer/macro/functions.html> and perhaps in other place where these names are wrongly listed. Many thanks Herbie -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
We wrote our own macro function for a orange LUT that we keep in startup macros, but if it could be added to IJ without breaking anything, would probably be useful for all.
Cheers- Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, NY 10016 [hidden email] http://nyulmc.org/micros http://microscopynotes.com/ Voice direct only, no text or messages: 1-914-309-3270 and 1-646-501-0567 ________________________________ From: Herbie <[hidden email]> Sent: Sunday, April 28, 2019 7:26:24 AM To: [hidden email] Subject: Color Names Dear listers and dear Wayne, an inspection of the source code at <https://urldefense.proofpoint.com/v2/url?u=https-3A__imagej.nih.gov_ij_source_ij_plugin_Colors.java&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=o2tLEpeUrDXm_7bDG0lk0yOZ4E1jlESs2m6_JjsUWfg&e=> confirmed my experience that the following color names, e.g. as listed in the comment to the macro function "setColor(string)", are no longer supported by ImageJ: "darkGray" "lightGray" "pink" So, could someone please correct the list of allowed color names <https://urldefense.proofpoint.com/v2/url?u=https-3A__imagej.nih.gov_ij_developer_macro_functions.html&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=NlH-ZtBWnmQyvgEo4FzfmHdArXZockFS1OhmhhNPlps&e=> and perhaps in other place where these names are wrongly listed. Many thanks Herbie -- ImageJ mailing list: https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=OHxLsVJ0eQT2XafLnvw3nxgYG92mDSmH9138g1UAqf8&e= ------------------------------------------------------------ This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email. ================================= -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Good day Michael,
I didn't write about LUT! BTW, "orange" is definitely a valid *color name* for ImageJ. Regards Herbie ::::::::::::::::::::::::::::::::::::::::::::: Am 28.04.19 um 21:44 schrieb Cammer, Michael: > We wrote our own macro function for a orange LUT that we keep in startup > macros, but if it could be added to IJ without breaking anything, would > probably be useful for all. > Cheers- > > > Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory > NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, > NY 10016 > [hidden email] http://nyulmc.org/micros > http://microscopynotes.com/ > Voice direct only, no text or messages: 1-914-309-3270 and 1-646-501-0567 > > ------------------------------------------------------------------------ > *From:* Herbie <[hidden email]> > *Sent:* Sunday, April 28, 2019 7:26:24 AM > *To:* [hidden email] > *Subject:* Color Names > Dear listers and dear Wayne, > > an inspection of the source code at > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__imagej.nih.gov_ij_source_ij_plugin_Colors.java&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=o2tLEpeUrDXm_7bDG0lk0yOZ4E1jlESs2m6_JjsUWfg&e=> > > confirmed my experience that the following color names, e.g. as listed > in the comment to the macro function "setColor(string)", are no longer > supported by ImageJ: > > "darkGray" > "lightGray" > "pink" > > So, could someone please correct the list of allowed color names > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__imagej.nih.gov_ij_developer_macro_functions.html&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=NlH-ZtBWnmQyvgEo4FzfmHdArXZockFS1OhmhhNPlps&e=> > > and perhaps in other place where these names are wrongly listed. > > Many thanks > > Herbie > > -- > ImageJ mailing list: > https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwICaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=ktSrRIcz5Igg_mMoPzc7IzvrEOBQvh9e_X_xeLX4RFM&s=OHxLsVJ0eQT2XafLnvw3nxgYG92mDSmH9138g1UAqf8&e= > > > ------------------------------------------------------------ > This email message, including any attachments, is for the sole use of > the intended recipient(s) and may contain information that is > proprietary, confidential, and exempt from disclosure under applicable > law. Any unauthorized review, use, disclosure, or distribution is > prohibited. If you have received this email in error please notify the > sender by return email and delete the original message. Please note, the > recipient should check this email and any attachments for the presence > of viruses. The organization accepts no liability for any damage caused > by any virus transmitted by this email. > ================================= > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Herbie
> On Apr 28, 2019, at 7:26 AM, Herbie <[hidden email]> wrote: > > Dear listers and dear Wayne, > > an inspection of the source code at > > <https://imagej.nih.gov/ij/source/ij/plugin/Colors.java> > > confirmed my experience that the following color names, e.g. as listed in the comment to the macro function "setColor(string)", are no longer supported by ImageJ: > > "darkGray" > "lightGray" > “pink" The ImageJ 1.52p6 daily build adds support for these three colors. The following example macro displays all 13 named colors. -wayne colors = newArray("black", "blue", "cyan", "darkGray", "gray", "green", "lightGray", "magenta", "orange", "pink", "red", "white", "yellow"); width = 300; height = 400; n = colors.length; x = 15; y = 15; w = 0.9*width; h = height/n; inc = height/(n+1); newImage("Colors", "RGB black", width, height, 1); run("Add...", "value=90"); setFont("SanSerif", 16, "bold antialiased") for (i=0; i<n; i++) { setColor(colors[i]); fillRect(x, y, w, h); setColor("white"); drawString(colors[i], x+5, y+20); y += inc; } > > So, could someone please correct the list of allowed color names > > <https://imagej.nih.gov/ij/developer/macro/functions.html> > > and perhaps in other place where these names are wrongly listed. > > Many thanks > > Herbie -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html Screenshot.png (338K) Download Attachment |
Thank you Wayne,
for the prompt addition of the three colors to the named ones. Highly appreciated! Best Herbie ::::::::::::::::::::::::::::::::::::::::::: Am 29.04.19 um 18:37 schrieb Wayne Rasband: > >> On Apr 28, 2019, at 7:26 AM, Herbie <[hidden email]> wrote: >> >> Dear listers and dear Wayne, >> >> an inspection of the source code at >> >> <https://imagej.nih.gov/ij/source/ij/plugin/Colors.java> >> >> confirmed my experience that the following color names, e.g. as listed in the comment to the macro function "setColor(string)", are no longer supported by ImageJ: >> >> "darkGray" >> "lightGray" >> “pink" > > The ImageJ 1.52p6 daily build adds support for these three colors. The following example macro displays all 13 named colors. > > -wayne > > colors = newArray("black", "blue", "cyan", "darkGray", > "gray", "green", "lightGray", "magenta", "orange", > "pink", "red", "white", "yellow"); > width = 300; > height = 400; > n = colors.length; > x = 15; > y = 15; > w = 0.9*width; > h = height/n; > inc = height/(n+1); > newImage("Colors", "RGB black", width, height, 1); > run("Add...", "value=90"); > setFont("SanSerif", 16, "bold antialiased") > for (i=0; i<n; i++) { > setColor(colors[i]); > fillRect(x, y, w, h); > setColor("white"); > drawString(colors[i], x+5, y+20); > y += inc; > } > > > > >> >> So, could someone please correct the list of allowed color names >> >> <https://imagej.nih.gov/ij/developer/macro/functions.html> >> >> and perhaps in other place where these names are wrongly listed. >> >> Many thanks >> >> Herbie > > -- > 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 Wayne Rasband-2
Dear IJ-listers,
and especially those, interested in easy and clean Global Orientation Analyses of images with ImageJ. Motivated by several more recent requests here on the IJ-list and on the forum I've finally written the "Macro Tool Set" *Easy Orientation* that consists of two "Action Tools" that do the following: *Easy Orientation Analysis* performs global “Power Spectrum”-based orientation analyses of up to seven, optionally highpass-filtered images. The resulting graphs are plotted in the same window with different colors. *Orientation Highpass Test* performs such analyses on a single image that is filtered by highpasses of seven pre-defined cut-off frequencies. This tool can help with determining the proper highpass cutoff-frequency when using *Easy Orientation Analysis*. The "Macro Tool Set" *Easy Orientation* con be downloaded as a zip-archive that also includes a detailed ReadMe-file and two ImageJ-plugins that are required for both "Action Tools". The ReadMe and the zip-archive are accessible from: <https://www.gluender.de/Miscellanea/MiscTexts/UtilitiesText.html#Gl-2019-2> For further information please study the ReadMe and the report at <https://www.gluender.de/Writings/WritingsTexts/HardText.html#Gl-2013-1> that also deals with more refined approaches. Beyond all this, please post your questions here to the list. Best regards Herbie -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |