-
Notifications
You must be signed in to change notification settings - Fork 1
Example usages
This page shows examples on how to use em-scalebartools.
Basic usage with cropping of a TFS/FEI databar, addition of a scale bar (and changing the appearance in the options menu), moving and removing of the scale bar:
The next GIF shows the application of Auto re-scale images
to upscale a small (in terms of pixels) inset of an image.
This is useful for software like, e.g., Microsoft PowerPoint which automatically smooth/interpolate such images by default.
The following GIF shows an example workflow when working with presentations (here Microsoft PowerPoint).
For a horizontal alignment of images (here an SEM and an HAADF-STEM image) with the same desired image height, the scale bar reference is switched to Height
in the options. Note the automatic handling of unit-switching and re-scaling as in the previous examples. The image is then copied via the hotkey c
to the system clipboard and pasted into PowerPoint.
This workflow is useful to send a folder of SEM/FIB images to colleagues with a removed info bar and a nice scale bar.
- For the following, you must first close any other images using
File -> Close all
before proceeding. Alternatively, open another Fiji instance. (This may be fixed in a future version...) - Open a single SEM/FIB image from your folder, then run
FEI Crop Scale Bar
and change the scale bar appearance using the QuickScaleBar options menu until you are satisfied. Close the image. - Open
Process -> Batch -> Macro...
, set up the in-/output folder, set up the output format topng
, and add the macro coderunMacro('FEI_Crop_Scalebar.ijm');
. - Run a
Test
, and - if all worked out -Process
the whole folder.
This workflow is a pre-processing step (e.g. for segmentation tasks), whereby the (i) SEM images are scaled and (ii) the info bar at the bottom is cropped. In principle, you follow the batch processing steps above with the following options:
- For FEI Crop Scale Bar: Deselect
Add scale bar
, selectCrop data bar
, deselect rest. (Optional processing steps can be entered as a string underRun custom macro commands
) - In the
Process -> Batch -> Macro...
menu, make sure to set the output format totiff
to keep the original bit depth.