

Hold down the alt key to have the pencil and paintbrush draw flood fill tool fills the selected area using the foreground color. and the eraser draws in the current background color. pencil and paintbrush draw in the current foreground color eraser and flood fill (paint bucket) tools in NIH Image. This is a set of drawing tools similar to the pencil, paintbrush, in the tool bar when ImageJ starts up. automatically installed in the Plugins>Macros submenu and The macros and macro tools in this file ("StartupMacros.txt") are There’s also the existing ‘m’ keyboard shortcut that makes a measurement of whatever is currently selected with the wand tool. It’s quicker to hit a key on the keyboard than to find my mouse and click buttons on the ImageJ toolbar or try to do the same with the pen. I use these keyboard shortcuts along side my drawing pad when measuring limpets.

That’s probably not useful for anyone else, but illustrates the results of using the macro recording facilities of ImageJ. There’s also a shortcut bound to ‘k’ (for count, I don’t know) that converts an image to 8-bit grayscale, thresholds the image, and counts the resulting dots. I either found or created some code found at the bottom of the file to create those shortcut keys.

It installs a few more drawing tools on the ImageJ toolbar and creates some keyboard shortcuts for the following tools: Start up ImageJ, and if this macro doesn’t automatically run, go to Plugins>Macros>Startup Macros to load it.
Imagej macro function install#
Before I lose this file again: StartupMacros.txt This is a text file, based on the original StartupMacros.txt file that came with ImageJ, that can be dropped in the ImageJ/macros folder that is created when you install ImageJ.
