Skip to content

Releases: lukmuk/em-scalebartools

v0.4

23 Apr 17:44
fbdba04
Compare
Choose a tag to compare

Changes for v0.4:

  • Small tweaks to the code, such as better resizing with Numpad hotkeys and more consistent spacing when switching scale bar & label positions
  • New feature: Correction of tilted perspective, e.g., for EBSD/FIB-SEM tilts (only pixel size for measurements or re-scaling of the image with TransformJ). Useful as a "post correction" if tilt correction was not enabled at the microscope during acquisition.
    Note: At the moment, it assumes that the y-direction/vertical is the tilted surface. Rotate an image 90° if your x direction is the tilted surface.
  • New hotkey: [ s ] for saving as SVG, requires BioVoxxel Figure Tools

As always: Double-check the scale-bar length and the new tilted-perspective feature for use in publications. :-)

v0.3.4

07 Aug 16:58
Compare
Choose a tag to compare

Third time is a charm.
Fix rounding issue: If settings lead to scale bar length of less than 1 unit, set it to 1 unit.
This should prevent most rounding issues I could catch (for now...)
Hopefully the last of these fixes.

v0.3.3

07 Aug 15:55
Compare
Choose a tag to compare

Again, a hotfix to prevent rounding errors in scale-bar length. :-(
Added a warning to README to check for actual length of scale bars (e.g., by measuring with the line tool in Fiji).
Again, please be careful with scale bars of size 1 mm, 1 um, 1 nm, ... .

v0.3.2

04 Apr 15:00
Compare
Choose a tag to compare

Fixed an error in FEI Crop scale bar tool causing rounding errors in scale bar length (due to change to 1-2-5 series).
Please double-check your SEM image scale bars when using this macro in v0.3.1.

v0.3.1

15 Oct 11:58
Compare
Choose a tag to compare

Changelog

Fix for #11, will prevent (i) scale-bar lengths smaller than 1 and (ii) larger than image width while using the numpad 4 and 6 hotkeys.
A warning will be printed to the log window if a number outside of this range is provided through the ALT+Numpad 4 or 6 dialog window.

v0.3

21 Sep 12:56
Compare
Choose a tag to compare

Changelog

  • Scale-bar length is now calculated as a 1-2-5 series, thanks to Aleš Kladnik! (#9). As a result, (i) the list with predefined length values and (ii) the option to add extra values were removed
  • Export/Import functionality to store/load parameters as csv files
  • A set of new hotkeys on the numpad
  • General clean-up of the code
  • Linked repository to Zenodo

v0.22

08 Dec 15:43
Compare
Choose a tag to compare

v0.22

  • Slightly changed the icon styles.

  • The grabbed value for Set pixel size and unit for the current image is read-out with more decimals.

  • New function: Set image width and unit to scale the image based on known image width.

  • New function: Calculate electron wavelength from given beam energy. Will be posted to the log window.

  • New function: Edit source code. Advanced option to easily access/edit the source code.

  • New features for QuickScaleBar: The Use Angstrom option can be used to skip/ignore the Angstrom unit for Auto-unit switching. It will then switch directly from nm to pm.

    Consider additional scale bar values can be used to extend the dictionary of "magic values"" for the scale bar width to snap to.

  • New features for FEI Crop Scalebar: The new Add scale bar checkbox can be deselected to only crop/scale the FEI/TFS image.

v0.21

08 Nov 17:15
7d9b63a
Compare
Choose a tag to compare
  • Rewrote FEI_crop_scalebar.ijm to crop the FEI/TFS info bar based on the [Scan] VerFieldSize and [Scan]PixelHeight values. This should make the cropping work for every FEI/TFS machine as long as both values are found in the tiff metadata.

  • Added an legacy option to use "list-based" cropping as in the old v0.2 version in the FEI_crop_scalebar.ijm option menu (Use list from code for cropping value (legacy option)). Important: If your cropping does not work with the new version, copy your determined cropping values into the new if-clause in the code and activate the aforementioned menu option.

  • The Help is now found in a new drop-down menu.

  • A new function Set pixel size and unit was added to the drop-down menu. IT will fetch the values from the front-most image. You can then specify the values directly or use some special formats for electron microscopy from the Use special unit menu. The latter do not shown on my Windows system, but on Linux. Currently in the list: Å, Å^{-1}, and nm^{-1}.

  • Updated the readme.

v0.2

27 Sep 12:39
1060f5d
Compare
Choose a tag to compare

v0.2

I added some option menus for easier use of the toolset and re-structured the macro code.

Changelog:

  • Renamed ScaleBarTools.ijm to EMScaleBarTools.ijm because there is also a plugin by Gilles Carpentier with a similar name. Makes it clear that is meant for EM.

  • Reorganization of the code: QuickScaleBar.ijm was merged into EMScaleBarTools.ijm. FEI_Crop_Scalebar.ijm is still a stand-alone macro for easier use with batch processing.

  • Included option menus for some icon tools, which can be accessed by right-click. More convenient editing than in the source code.

  • Options parameters are stored internally in java variables and saved for future sessions (ij.get and ij.set calls). I took inspiration from another toolsets macro: Roi 1-click tools

  • Added more options for scale bar appearance (serif font, bold, hide, ...).

  • Added two additional tools in the menu: Move Overlays and Remove Overlays for quick manipulation of the scale bar (which is often an overlay).

A first release

23 Sep 13:44
Compare
Choose a tag to compare

Packaged the macros folder for this release for easier downloading.