7 Ways to Convert Velox emd Files
TL; DR
I summarized 7 ways to convert the emd files generated from Velox that developed by Thermo Fisher (former FEI).
- If you can code in Python, see section 3 or 4, you’ll have the full access to the emd data (image, spectrum) and metadata (acquisition parameters)
- If you can code in Matlab, see section 5. No metadata support for now.
- If you don’t feel like coding and just want a simple exe to batch convert emd into 16-bit tiff, see section 2. It has the ability to export every slice in image series as well.
- If you’re lucky enough with an access to Velox, section 1 provides some exportation details. Besides, Velox software provides the easiest and fastest way to export images with scale bars.
- If you’re testing your limit and being very adventurous, see section 6 or 7 for imageJ and DM approaches.
Table
Method | Open access | Batch process | Image | i/o image series | Spectrum | Metadata |
---|---|---|---|---|---|---|
Velox | X | O | O | O/X | O | O |
BatchExport.exe | O | O | O | O/O | X | X |
Python: HyperSpy | O | O, script | O | O/O, script | O | O |
Python: OpenNCEM | O | O, script | O | O/O, script | X | O, some |
Matlab: EMD reader | O | O, script | O | X/X | X | X |
ImageJ: EMD class reader | O | O, script | O | O/O, script | X | X |
Digital Micrograph | O | O, script | O | Not sure | X | O |
Note:
- The ability to export full stack of image series is important for further process like drift correction.
- Scripting skill is the game changer. Popular languages like Python and Matlab are both great options. ImageJ uses Java, while DM has their own scripting language.
1. Velox software
- Developed by Thermo Fisher, licensed software
- Provides the simplest way to export images with scale bar, data bar, and any annotations
- Export emd images into png, jpg, 8-bit (32-bit RGBA) TIFF and 16-bit TIFF
- It can NOT export the image series. Only the last frame will be exported.
- Current versions (2.12 or newer) have the option of “Auto export” that convert emd experiment into 16-bit raw TIFF, which is great! But it still can’t export the whole image series.
- See future post for detailed comparison of 3 export options available by Velox
2. Thermo Fisher application: BatchExport.exe
- Developed by Thermo Fisher, Windows application
- I accidently found this in the Velox folder. I think this is fast, simple, and straight forward. Probably the easiest approach among every other ones if you just want the image real quick.
- It outputs the 16-bit raw TIFF with the option of subfolders.
- It also outputs each raw frame from an image series emd file into a separate folder.
3. Python: HyperSpy
- Kudos to HyperSpy team that makes this wonderful package!
- By far, I think this is the most flexible and powerful approach. You can get every image, spectrum, metadata, and do all kinds of post-processing easily.
- Hyperspy has its GUI option as well.
- Some Python knowledge is needed, but it’s definitely worth it.
- I’ll upload my own emd2tiff script to my GitHub repo in the near future
4. Python: OpenNCEM
https://github.com/ercius/openNCEM/tree/master/ncempy/io
- Developed by Dr. Peter Ercius from NCEM
- A collection of packages and tools for electron microscopy data analysis
- The emdVelox class can import images and image series with some metadata. No spectra support yet.
5. Matlab: EMD reader
https://github.com/sezelt/matlab_Velox_reader
- Developed by Dr. Steven Eric Zeltmann from NCEM
- Matlab function that import image data from Velox emd
- Works for single image. No spectra, metadata, or image series support yet.
6. ImageJ: EMD class reader
- Develped by Thermo Fisher
- ImageJ plugin so that you can read emd files
- Drag-and-Drop would not work
- 1 emd file at a time
- Only for images, no metadata, no EDS support
7. Digital Micrograph: Gatan DM EMD reader
https://www.felmi-zfe.at/dm_script/velox-files-reader/
- Developed by Dr. Mingjian Wu from FAU Erlangen-Nuremberg
- You’ll also need HDF5 plug-in for DM https://github.com/niermann/gms_plugin_hdf5 Some skills of building C libraries with command line are needed
- Parse metadata into image tags
- I haven’t test this yet.
Summary
Importing the experimental data is crucial but can also be quite tedius if your only option is to right-click and export every emd file. Thanks to all the developer that built these wonderful tools for us to easily access the information without much limitation! Let me know if you have any other tricks to share, so that I can make this post more complete, much appreciated!
Leave a comment