Tomviz 3.1: Animation, Advanced Rendering, Label Maps, and Live Updates

October 13, 2026
A PtCu nanoparticle split into slabs with the new exploded view. The data itself is unchanged.

We are pleased to announce the release of Tomviz 3.1. Tomviz is a free, open source, cross-platform application for the reconstruction, visualization, and analysis of 3D tomographic data, developed openly on GitHub and distributed under the 3-clause BSD license.

Tomviz 3.0 rebuilt the application around a node-based pipeline. Tomviz 3.1 brings a significantly improved Animation Helper, advanced volume rendering, and a new Label Map visualization for exploring and cleaning up segmentations. Pipelines can now also update live while data is being acquired, and new transforms filter data in Fourier space.

Featured Image: A PtCu nanoparticle split into slabs with the new exploded view. The data itself is unchanged.

Animate Your Data

The Animation Helper has been significantly improved and now has its own Animation menu. Save a few viewpoints, and the camera flies between them, with optional orbits, easing, and on-screen captions. Each viewpoint can also record the state of your visualizations, such as opacity, slice and clip positions, threshold values, hidden labels, and cut-out or exploded views, and any changes animate along the way. Movies export directly to MP4.

A 3D tomographic volume visualization rendered in Tomviz, labeled "Start," displaying a star-shaped purple structure enclosed within a wireframe bounding box on a gray background.
An animation made with the Animation Helper: the camera orbits the star nanoparticle, an exploded view opens and closes, and a clip plane sweeps through it.

Advanced Volume Rendering

Volume rendering gains new ways to light your data and see inside it:

  • Lighting presets, from unlit to full volumetric shadows, plus custom presets you can save and reuse.
  • Cut-out views hide one corner of the volume to show its interior.
  • Exploded views split the volume into slabs and pull them apart.
  • Several volumes in one view blend correctly, each with its own color map and opacity.
  • Opacity presets and auto contrast over a region you select.
A side-by-side comparison of 3D volumetric renders in Tomviz, contrasting standard volume rendering on the left with depth-enhanced or ray-traced lighting effects on the right for a bright magenta star-shaped dataset against a black background.
The star nanoparticle bundled with the installers, with the Flat (left) and Full (right) lighting presets.
A 3D volumetric reconstruction rendered in Tomviz displaying a porous, irregular spherical biological or nanoscale sample color-coded with a viridis colormap against a black background.
A 3D volumetric rendering in Tomviz depicting segmented nanoparticle or material grain layers, highlighted in bright blue on the left and magenta-orange on the right against a black background.

Left: a cut-out view of a PtCu nanoparticle. Right: tungsten (blue) and copper (magenta) XRF maps of an integrated circuit, rendered as two volumes in one view.

Live Updates During an Experiment

Pipelines can now keep up with data as it is acquired. With periodic execution turned on, Tomviz checks a Python source for new data at a set interval and re-runs it, along with everything downstream, so you can watch a reconstruction sharpen as projections arrive. Real-time reconstruction was first demonstrated in Tomviz for electron tomography (Schwartz et al., Nature Communications 13, 4458, 2022), and Tomviz 3.1 now provides it as flexible, extensible infrastructure that any Python source can build on.

To try it without an instrument, choose Sample Data > Simulated Live Acquisition, which is designed as a starting point for building a live source for your own instrument. The PyXRF and ptychography sources, built specifically for X-ray fluorescence and ptychography workflows at NSLS-II, are two more examples: they add new scans as they complete.

A configuration dialog in Tomviz titled "Simulated Live Acquisition" under the "Execution" tab, showing parameters for periodic execution every 5 seconds.
Periodic execution is turned on from the Execution tab of a node’s dialog.

Segmentation and Label Maps

The new Label Map visualization shows each label of a segmentation in its own color, as smoothed surfaces or as a volume, and stays responsive with tens of thousands of labels. You can show or hide labels one by one, and the Animation Helper can reveal them as the camera moves.

A 3D particle segmentation visualization in Tomviz displaying numerous individually colored, distinct spherical and irregular nodules scattered in 3D space against a black background.
Nanoparticles segmented with Segment Particles and Connected Components, shown as 140 smoothed surfaces in a Label Map.

Segmenting is easier too. Binary Threshold followed by Connected Components is one route to a segmentation, and the sliders of Binary Threshold are now linked to the Threshold visualization, so you can watch the 3D view update interactively as you choose values. To clean up the result, the new Remove Labels transform starts with exactly the labels you hid in the Label Map. Thresholding, connected components, and binary morphology now run on NumPy and SciPy.

Working Across Modalities

Slices and clips can now be linked across datasets and matched by physical position, so XRF and ptychography reconstructions of the same sample stay in register despite their different resolutions. Any render view can also switch to a 2D image viewer.

A multi-pane Tomviz user interface showing data processing pipelines for ptychography and XRF reconstructions, an interactive logarithmic color histogram, properties controls, and two comparative 2D slice render views (RenderView1 and RenderView2).
Linked 2D slices through the ptychography (left) and XRF (right) reconstructions of the same integrated circuit.

New transforms combine datasets: Image Math works voxel by voxel, even across resolutions, and Combine Datasets merges arrays into one dataset. Manual Manipulation and Elastix-based Registration are also back for aligning one volume to another.

Fourier-Space Filtering

Three new transforms filter data in Fourier space and return real-space results: Fourier Filter (low, high, and band pass), Fourier Peak Mask, which automatically finds peaks and keeps only their neighborhoods, and Fourier Mask, which keeps whatever a mask volume covers. The mask can be made from the spectrum itself: on an FFT branch, use the Binary Threshold, Connected Components, and Remove Labels workflow described above to select the peaks you want, so the whole process lives in one pipeline.

A Tomviz interface showing an active data processing pipeline (FFT, Binary Threshold, Connected Components, Remove Labels, Fourier Mask), an interactive scalar histogram, and dual 3D viewports comparing isolated segmented particles in View1 with a reciprocal space lattice volume in View2.
A Fourier Mask built on an FFT branch: Binary Threshold, Connected Components, and Remove Labels select 22 Bragg peaks (left), and Fourier Mask keeps only those periodicities in the filtered lattice (right). Data: A. Michelson et al., Science 376, 203-207 (2022), doi:10.1126/science.abk0463, shown with permission.

A Standalone Pipeline Package

The pipeline engine is now a standalone Python package, tomviz-pipeline, that installs from PyPI or conda-forge. It runs saved pipelines in batch from the command line or Python, and any Python environment with it installed can run Tomviz transforms outside the application. Tomviz now checks such an environment as soon as you select it and shows the install command if anything is missing.

pip install tomviz-pipeline
tomviz-pipeline -s pipeline.tvsm -o results/ --input 'data/*.emd

Also New in 3.1

  • Custom transforms can be created, edited, and managed from the Custom Transforms menu.
  • Linux packages: an RPM for RHEL 8 and 9, and a Flatpak.
  • Python 3.14 is supported and included in the installers.

What’s Next

Work continues on the trame-based web version of Tomviz, built on the same pipeline design and tomviz-pipeline package, for remote and in-browser analysis.

Try Tomviz 3.1

Tomviz 3.1 is available for Linux, macOS, and Windows from tomviz.org/downloads. Documentation, with new tutorial videos and a gallery, is at tomviz.readthedocs.io, and the source code is at github.com/OpenChemistry/tomviz. If you use Tomviz in your research, please cite J. Schwartz et al., “Real-time 3D analysis during electron tomography using tomviz,” Nature Communications 13, 4458 (2022). For help applying Tomviz to your data, or to collaborate on new capabilities, contact Kitware.

Acknowledgments

The Tomviz project was founded as a collaboration between Kitware, Cornell University, and the University of Michigan under DOE Office of Science contract DE-SC0011385. The tomviz-pipeline package, which implements the multi-input/multi-output pipeline design, was developed under DOE SBIR Phase II award DE-SC0024765, “Multivariate Volume Visualization and Machine-Guided Exploration in Tomviz,” and will also power the upcoming web version of Tomviz. The desktop features in this release were funded by Brookhaven Science Associates under the Statement of Work “Extending Tomviz for Synchrotron Tomography” in support of NSLS-II at Brookhaven National Laboratory. We thank Aaron Michelson for permission to show the gold nanoparticle superlattice data.

Leave a Reply