Skip to content

These ImageJ/Fiji macros use outlines and shadows to create labels, scale bars and summary on images that stand out against the image underneath.

License

Notifications You must be signed in to change notification settings

peterjlee/asc-ImageJ-Fancy-Labels

Repository files navigation

asc-ImageJ-Fancy-Labels

These label macros use outlines and shadows to create labels on images that stand out against the image underneath.

Fancy Scale Bar

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.).

Examples of ASC Fancy Scale Bar for ImageJ

The scale bar can also be placed under the image (on the right or left sides):

Fancy Scale Bar under image example

Using the line selection tool the precise length and angle can be shown (single or multiple arrows can be used):

Example of Fancy Scale Bar used to label length and angle

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.

Fast'nFancy Scale Bar Rerun

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.

Fancy Summary Label Table

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.

ASC Fancy Summary Table Label example

Fancy Text Labels

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.

ASC Fancy Text Label example

Fancy Slice Labels

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."

ASC Fancy Slice Label menus

Fancy Slice Label example

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.

Fancy Feature Labeler

This macro (link) adds scaled result labels to each ROI object.

ASC Fancy Feature Label example

Fancy Feature Labeler with Summary

This macro (link) adds scaled result labels to each ROI object and a summary of selected statistics.

ASC Fancy Feature Label example

Fancy Border

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.

ASC Fancy Border example

About

These ImageJ/Fiji macros use outlines and shadows to create labels, scale bars and summary on images that stand out against the image underneath.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published