Sunday, 29 December 2024

Fiji plugin to read Xradia files



This is a plugin for Fiji (ImageJ) that reads *.xrm, *.txrm, and *.txm image files (from Xradia XRM systems, in their proprietary format, a form of OLE container) and opens them as image stacks, along with a text window displaying some metadata parameters. Download and extract the .zip folder and just drop the two jar files (poi-3.7.jar and XRM_Reader.jar) onto the Fiji main window. The program will put them in the right places. Restart Fiji and you should find it under Plugins > XRM_Reader. 


This code is publicly available at this link and free for anyone to use. If you use it in a publication, please cite the Zenodo doi. 

 

Current versioncan also be found here:  https://ucloud.univie.ac.at/index.php/s/RSJ05Nb9FTViCVK




(I modified the above plugin from this one:  https://github.com/mrsutherland/XRM_Reader/releases 
bmrsutherland, 14 Nov 2017) 

---

I have also included an ImageJ macro (XRM_files_thumbnails.ijm) that makes a preview image (PNG) and metadata file (.txt) with the same filename base as each unpreviewable *.xrm, *.txrm, or *.txm image file. The script automatically processes every Xradia-format image in a directory and its subdirectories. 


This is in the ImageJ macro language and requires the XRM Thumbnails plugin, also included in the same archive. This plugin isn't meant to be run on its own, so I put XRM_Thumbnails.jar in the folder Fiji.app/plugins/Utilities, so that it does not appear in the Plugins menu, where it is confusing to see next to the XRM_Reader plugin. 

 

I put the .ijm macro in either Fiji.app/plugins/Scripts/File or Fiji.app/scripts/File, and then it appears in the File pull-down menu. 

 

This version is working pretty well, and it makes an XYZ montage for each reconstructed stack and a 0°90° mugshot for each projection series (really first and middle projection - for a 360° scan it will be front and back images; my machine didn't do full rotations). 

 

I finally figured out how to read the date/time from the txrm files, and this is now incorporated. (Fun fact: the container files *.xrm, *.txrm, or *.txm can be extracted to a bunch of hex files with 7-Zip. I opened some of these with Hex Fiend or HxD to get the format of the date entry.)




If you have questions or comments, feel free to contact me. 

 

Brian Metscher 

Vienna, Dec. 2024

 

 

>> Note that Xradia .txm files can also be opened directly in Amira 6.4 and higher (Windows), and also in Drishti (https://github.com/nci/drishti). (Also in ORS Dragonfly Pro, but not in the free Dragonfly version.)


TXM-Wizard by fmeirerliuyijin can open Xradia files also:  

          https://sourceforge.net/projects/txm-wizard/files/?source=navbar

          https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3284347/ 

 

>> Real progress toward a Python solution can be found here: https://pypi.org/project/xrmreader/

It's based on the dxchange Python code, which seems to cover the reading of the xrm container files better than the Java parser:  https://github.com/data-exchange/dxchange



 

 

Tuesday, 23 April 2024

Free 3D software



Fiji (is just ImageJ) https://fiji.sc/

Your best friend for general image manipulation (e.g. cropping, adjusting, and orienting image stacks), editing, and basic analysis. Many many plugins to do almost anything, some quite sophisticated. Open-source, easy multi-language scripting.

 

Dragonfly https://www.theobjects.com/dragonfly

Dragonfly is my current top choice as a free replacement for Amira/Avizo. Free for non-commercial research (license on request), well-documented and extensively used, easy to get started with video tutorials. Windows & Linux only. 

     Many of the manual segmentation tools also work directly in the 3D view. Includes a convolutional neural networks Deep Learning solution (www.theobjects.com/dragonfly/deep-learning) that lets users paint material phases of very complicated and low contrast materials and the software learns how to segment the rest of the image or similar datasets.


Drishti https://github.com/nci/drishti

Can make amazing visualizations, including key-frames-based animations. Powerful segmentation editor (DrishtiPaint). Steep initial learning curve, but the online tutorials are helpful. Drishti Prayog (https://github.com/nci/drishti#drishti-prayog ) makes spectacular interactive touch-screen presentations.


3D Slicer https://www.slicer.org/

An "open source software platform for medical image informatics, image processing, and three-dimensional visualization...built over two decades through support from the National Institutes of Health and a worldwide developer community.” Well-developed and widely used, with extensive documentation and training tutorials. Reasonably easy to get started. 

SlicerMorph is a Slicer extension with extensive tools for 3D analysis and morphometrics (https://github.com/SlicerMorph).


Tomviz https://tomviz.org/

A "cross platform, open source application for the processing, visualization, and analysis of 3D tomographic data. Here the full pipeline of data processing steps from reconstruction to visualization to analysis of 3D data can be presented, saved, and restored." https://tomviz.readthedocs.io/en/latest/visualization/


ITK-SNAP http://www.itksnap.org/pmwiki/pmwiki.php

Designed for 3D image segmentation, "emphasizes interaction and ease of use, with the bulk of the development effort dedicated to the user interface."


Microscopy Image Browser http://mib.helsinki.fi/index.html

A "high-performance Matlab-based software package for advanced image processing, segmentation and visualization of multi-dimensional (2D-4D) light and electron microscopy datasets."


napari https://napari.org/stable/index.html 

A "fast, interactive viewer for multi-dimensional images in Python is a fast, interactive, multi-dimensional image viewer, with a vibrant plugin ecosystem that expands its capability to tackle various domain-specific visualization and analysis needs." Open source.


ImageVis3D is a new volume rendering program developed by the NIH/NIGMS Center for Integrative Biomedical Computing (CIBC). The main design goals of ImageVis3D are: simplicity, scalability, and interactivity.

https://www.sci.utah.edu/software/imagevis3d.html


Seg3D is a volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing. It combines a flexible manual segmentation interface with powerful higher-dimensional image processing and segmentation algorithms from the Insight Toolkit. It has a strong emphasis on manual and semi-manual segmentation, where filtered data guides the user in making decent segmentations of the data. The program is mainly intended for, but is not strictly limited to, segmentation of biological/medical data. BioMesh3D (part of SCIRun) can be used to turn segmentations into quality meshes which can be used to simulate biological processes on the segmented images.

https://www.sci.utah.edu/cibc-software/seg3d.html


VolViewer

http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php/VolViewer

Easy to use, key-frames-based animation. No longer actively developed but still useful.


ilastik https://www.ilastik.org/

"ilastik is a simple, user-friendly tool for interactive image classification, segmentation and analysis.... has workflows for automated (supervised) pixel- and object-level classification, automated and semi-automated object tracking, semi-automated segmentation and object counting without detection."


CDeep3M is a containerized tool, using deep learning for large-scale image segmentation tasks. It is an open source development and the software is free to use. You can run CDeep3M on your local platforms, on cloud providers, on GPU clusters or with free GPU resources on this website.

https://cdeep3m.crbs.ucsd.edu/cdeep3m


MeVisLab https://www.mevislab.de/


MeshLab http://www.meshlab.net/ 

Famous freeware for working with surfaces. 



The site https://www.idoimaging.com/ has loads of imaging software listings


The Scientific Community Image Forum at https://forum.image.sc/ is a discussion site for software-oriented aspects of scientific imaging, particularly (but not limited to) image analysis, processing, acquisition, storage, and management of digital scientific images.



Blog post on Free software for CT segmentation (2019)

https://peterfalkingham.com/2019/02/18/free-software-for-ct-segmentation-2019


For setting landmarks in 3D images:

(From ResearchGate, 6 years ago) 

Luisa F Pallares

Hi Stefan. The best software for doing that is called TINA Landmarking Tool. It is pretty cool 'cause for placing landmarks you use the cross-sections of the structure (though you can also use the 3D volume) and therefore you can place landmarks in literally every place (internal or external). Besides that, it gives you the possibility of extreme accuracy. I work with mouse skulls and use that software for placing my 3D landmarks. You can get the package and the manual from Anja Schunke in the Max Plank Institute for Evolutionary Biology: schunke@evolbio.mpg.de