Related Experiment Video
Updated: Oct 17, 2026

Correlative Microscopy for 3D Structural Analysis of Dynamic Interactions
Published on: June 24, 2013
pykarambola: Minkowski tensor morphometry of 3D structures
Yajushi Khurana1,2, Keisuke Ishihara1,3
1Department of Computational and Systems Biology, University of Pittsburgh, 3396 Fifth Avenue, Pittsburgh, PA 15213, United States.
Motivation:
Three-dimensional biological morphologies encode functional and physiological state, yet their directional, orientational, and topological properties are rarely captured by morphometric tools in bioimage analysis. Minkowski tensors encode surface curvature and directionality for arbitrary topologies; their eigensystems directly quantify elongation axes and anisotropy. A C++ implementation, karambola, computes Minkowski tensors for triangulated surfaces but is inaccessible within Python-based bioimage workflows.
Results:
We present pykarambola, a Python package that accepts NumPy arrays and standard mesh formats and returns Minkowski tensors, including derived anisotropy and orientation quantities. A high-level label-image interface converts 3D integer arrays into per-object Minkowski tensors in a single call, making pykarambola directly compatible with the output of segmentation tools. An optional Cython extension accelerates graph-traversal steps of mesh initialization for large-scale analyses. Validated on synthetic meshes spanning three topologies and benchmarked on 1584 adrenal gland meshes, pykarambola reproduces all 121 karambola features to near-floating-point agreement and is 2.8-fold faster, with speedups primarily attributable to per-object file input/output.
Availability And Implementation:
pykarambola is distributed under the BSD 3-Clause License and is available on GitHub at https://github.com/Ishihara-SynthMorph/pykarambola. It can be installed via pip.
Related Concept Videos
Three-Dimensional Analysis of Strain
Electron Microscope Tomography and Single-particle Reconstruction
Electron Tomography
Electron tomography can be performed either in TEM or STEM (scanning transmission...

