Hide
IJ2 is out
 Sec. 19: Tools Up Part IV: IJ User Interface Sec. 21: Contextual Menu 

20 Custom Tools

Customized tools are add-ons (macros and plugins) that allow custom interactions with the ImageJ toolbar and/or the image canvas. They are installed on the right side of the Toolbar↑ between the Color Picker Tool↑ and the More Tools Menu↑. At startup, the default set of tools is loaded from ImageJ/macros/StartupMacros.txt. Later on, tools can be appended or replaced using the More Tools Menu↑ menu. As mentioned, custom tool configurations are saved in the preferences file, and thus remembered across restarts (see Settings and Preferences↑).
It is worth it to mention some differences between the installation of single tools and toolsets:
Single Tools Single tools are appended to the first available toolbar slot or installed in the last slot if no free slots are available. Tools can be macros (.txt and .ijm files) or plugins (.class and .jar files) and are listed on the More Tools Menu↑ menu if placed in the ImageJ/plugins/Tools/ directory. In addition to the macro tools distributed with ImageJ and saved in ImageJ/macros/tools/, a vast repertoire of tools is available on the ImageJ website.
Toolsets Toolsets are macro files (.txt and .ijm files) containing up to eight macro tools, along with any number of ordinary macros. Toolsets are listed on the More Tools Menu↑ menu if installed in the ImageJ/macros/toolsets/ directory. Choosing a toolset (e.g., Lookup Tables) replaces all previously installed tools.
As mentioned, ImageJ/macros/StartupMacros.txt contains the tools loaded at startup. This file can be customized using PluginsMacrosStartup Macros…↓ or by holding Shift when choosing Startup Macros from the More Tools Menu↑ menu.
ImageJ feature several pre-installed toolsets [8] and many others are available on the ImageJ website. Toolsets can also be created by choosing Toolset Creator, a convenient way to create groups of Menu Tools listing Plugins commands.
 Sec. 19: Tools Up Part IV: IJ User Interface Sec. 21: Contextual Menu