The operation calls the "Scale Bar" command from ImageJ.
Example
Description
Stamps a scale bar, indicating the spacial scale, into an image. If the
image is a stack the scale bar can be stamped to the current slice
or to all slices.
Options
width: The width of the scale bar in the unit of the scale (for example cm). height: The height of the scale bar in pixel. font size: The size of the font used for the text indicating the length and the unit. color: The color of the scale bar. background: The color of the background of the scale bar and the text. If none is selected the background is the image. location:
The location of the scale bar. This can be either one of the corners or
at selection. In the later case the upper left corner of the scale bar
will be in the upper left corner of the selection (or its bounding box). bold: If checked the text will be bold. serif: If checked the text will have serifs. hide text: If checked the scale bar will be displayed without text. label all slices:
If checked the scale bar will be stamped into all sclices of the stack,
otherwise it will only be stamped into the current slice.
Parameter
The input image is the only parameter.
Results
The result image with the scale bar stamped into it.