
The Tree Rings sample, its color survey while the local window grows from 1 px to 32 px (macro, script)
OrientationJ¶
OrientationJ is open-source software for the directional analysis of 2D images: a series of Java plugins, easy to install on ImageJ and Fiji, free under the GPL-3.0 licence — how to cite. It relies on the gradient structure tensor, evaluated over a small window at every pixel, from which it computes the directional features that say how the local structure is organized: its orientation, the coherency telling whether that orientation is well defined, and how anisotropic the neighborhood is. One parameter controls the measurement, the local window, the size of that window.
OrientationJ holds several plugins: Analysis for the feature maps and the color survey, Distribution for the angular histogram, Vector Field for the overlay, and MonogenicJ for a multiresolution analysis. Every command runs from a dialog and from an ImageJ macro. In addition, 20 test images come with the documentation, together with the assessments built on them: the plugin across the sizes of its aggregation, the angular distribution against other tools, the accuracy of the five gradients, a minimal Python operator of the same tensor, and the structure tensor against the nematic tensor.
Applications¶
Fibers, filaments, fringes, cracks, fractures, flows, growth rings: many scientific images are made of elongated structures, and what matters about them is their direction. OrientationJ quantifies that direction everywhere in the image, and more than 300 published studies have used it to do so — from the actin cytoskeleton to nanofibers and bone.
In 3D, with OrientationPy¶
OrientationJ measures orientation in 2D images only. For volumes, the EPFL Center for Imaging develops OrientationPy, its Python successor: the same gradient structure tensor, in 2D and in 3D, usable as a library or through its napari plugin.
OrientationPy — orientation in 2D and 3D
Demonstration in the browser¶
The interactive online demo runs the analysis in the browser, without installing anything, on the samples provided or on your own image: move the σ slider and the color survey follows.
Color survey¶
Drag the handle below: on the left the collagen fibers as they were acquired, on the right the same field as a color survey. How that image is built, and how to read it, is on the Color Survey HSB page.
Drag the handle: collagen fibers on the left, the same field as a color survey on the right
hue gives the orientation, saturation the coherency.
