Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
biovoxxel committed Jan 19, 2023
2 parents 69601d6 + 48c8e59 commit 2450dfb
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
# BioVoxxel Figure Tools

The SVG Exporter is meant to export images and all related overlays in images, embedd images and objects in SVG files to enable loss-less scalability of scientific data.

## Installation

The BioVoxxel Figure tools are automatically installed together with the BioVoxxel Toolbox.

Run: >Help >Update... and activate the BioVoxxel update site and then apply changes in the updater.


## Functions

### Exporting SVG vector graphics directly from Fiji

![image](https://user-images.githubusercontent.com/10721817/213475119-ac5dd2dc-e214-45d9-9499-ecc0df0311ca.png)

The functions allow exporting images together with all added overlays (ROIs from a Roi Manager, scale bars, calibration bars, arrows, etc.) in one step into an SVG vector graphics file. It supports multichannel composite images (so no need to flatten to an RGB). In composite images only visible channels will be exported enabling the user to export different versions of channel merges in an easy manner.
Even more convenient, you can export all open images at once as individual SVG files and import them easily in Inkscape (unfortunately Adobe Illustrator seems to currently not support this saved SVG file type).
Simple zoomed-in inset images can be created at fixed size changes to avoid pixel artifacts

### Aligned SVGs in Inkscape after export from ImageJ

![image](https://user-images.githubusercontent.com/10721817/213476261-4ce8f48c-4725-4e45-b689-6da70fa47d82.png)


### Metadate Recording with *Meta-D-Rex*

This Recorder makes use or the native ImageJ macro recorder. While the recorder is running automatically in the background, recording of Meta-D-Rex can be paused and under *settings* specific command can be excluded from recording to avoid cluttering of metadata.

*The native recorder can be displayed by right-clicking on the area nect to the *Settings* button if needed*

The recording happens specifically for each image separately and is automatically saved into the metadata (Info panel) of the image.
Meta-D-Rex also reads existing metadata saved in the image file from microscopic software if imported correctly in Fiji, e.g. via Bio-Formats.

![image](https://user-images.githubusercontent.com/10721817/213480267-b761f086-c5ee-45be-883e-1f07e5bd2589.png)

If the image is either saved as a .tif file or any other format that supports ImageJ metadata saving those will be retained in the image file itself.
If the SVG exporter (see above) is used, the recorded metadata will be also available in the SVG files' *Description* panel.
This way, image processing can be stored on a per image level and will be available even during figure creation. Thus, image editing can be easier reported in a reproducible manner.

---

### Rationale

Why another figure creation-related release?
Tools like QuickFigure are amazing and offer more options. I personally, however, prefer the freedom Inkscape gives me and I want to achieve that…

* images exported from ImageJ have the highest possible, best original quality, when used for publications (if not altered by the user before)
* images are directly embedded in SVG documents
* interpolation is not used to visualize the original pixels of the micrographs in the published document which enables the reader/observer to see exactly what the experimenter saw to draw a concludion based on the same information. Currently, many publication figures either suffer from JPEG artifacts, are too low in resolution or massively blurred due to interpolation.
* The figure creation tools also offers to Create a framed inset zoom version of a selected area, which uses fixed frame sizes (this is where a small restriction exists) but creates a zoomed inset as separate image with the original image quality, without interpolation and correct scaling information to add an updated scale bar.
* All indicators like scale bars, calibration bars and all other ROIs in the image overlay should be transferred as editable vector graphics objects
* best, some metadata is still present. Therefore, the SVG export adds all metadata present in ImageJ to the Image description of the SVG file (see below), which can then be revised in Inkscape still (unfortunately it does not transfer to PDFs)

0 comments on commit 2450dfb

Please sign in to comment.