These label macros use outlines and shadows to create labels on images that stand out against the image underneath.
This macro (link) adds extensive formatting options to the original version by Wayne Rasband that was subsequently enhanced by Frank Sprenger. The scale bar can be an overlay or applied to the original or a copy of the image. If the image is in color there are multiple color options (the selection is restricted to grayscale choices for grayscale images to retain the original bit depth). The units can be changed from the original embedded scale (i.e. from nm to µm etc.).
The scale bar can also be placed under the image (on the right or left sides):
Using the line selection tool the precise length and angle can be shown (single or multiple arrows can be used):
If a line selection tool is used the text can be rotated to the measured angle and arbitray text can be used for the label.
Variant of the Fancy Scale Bar macro that creates a copy of the active image with a fancy scale bar without any user interaction. It will use preferences saved by the Fancy Scale Bar macro.
This macro (link) adds up to 8 lines of statistical summary to an image. There are extensive formatting options including outlines and shadows to help the text stand out against the image. If the image is in color there are multiple color options.
This macro (link) adds up to 8 lines of user created text to an image. There are extensive formatting options including outlines and shadows to help the text stand out against the image. If the image is in color there are multiple color options.
This macro (link) adds multiple lines of text to a copy of the image. Sequential numbers can be added as well as prefixes and suffixes. Text in the slice labels can be globally replaced. Non-formated slice labels can be applied with more counter variables and previews to images using ImageJ's "Label Stacks" and Dan White's (MPI-CBG) "Series Labeler", so you might want to try that more sophisticated programming first to see if it meets your needs sufficiently. You can also try utilize imageJ's "stack sorter."
Magneto optical images by Anatolii Polyanskii.
Legal Notice:
These macros have been developed to demonstrate the power of the ImageJ macro language and we assume no responsibility whatsoever for its use by other parties, and make no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. On the other hand we hope you do have fun with them without causing harm.
The macros are continually being tweaked and new features and options are frequently added, meaning that not all of these are fully tested. Please contact me if you have any problems, questions or requests for new modifications.
This macro (link) adds scaled result labels to each ROI object.
This macro (link) adds scaled result labels to each ROI object and a summary of selected statistics.
This macro (link) adds a color border to a selection. The border can consist of up to 3 layers of different thickness and can be a non-destructive overlay.