Page history Edit this page How do I edit this website?

Strahler Analysis (From Images)

A SNT1 plugin that performs Strahler analysis on topographic skeletons (2D/3D). Strahler numbering is a numerical procedure that summarizes the branching complexity of mathematical trees.

This page describes how to perform Strahler Analysis directly from skeletonized images. For analysis of traced structures have a look at SNT.

Description

strahleranimation

The analysis occurs through progressive pruning of terminal branches, iterative tree simplification, a method that requires detecting all terminal branches (i.e., branches that contain an end-point) and all the degree-one paths leading to them.

Strahler Analysis takes a binary or 8-bit grayscale image (2D or 3D) containing a single arbor, and calls AnalyzeSkeleton2 iteratively to retrieve Horton-Strahler numbers from the skeletonized centerlines of the input image. Each iteration includes three operations: 1) a (re)-skeletonization step to ensure that arbor remains represented by its centerlines, 2) an elimination step in which terminal-branches are pruned from the image and 3) an analysis step in which pruned branches are counted and measured. The iteration ceases as soon as all branches have been eliminated or a unresolved closed loop has been detected in the pruned arbor.

Parameters

Tree Classification

Infer root end-points from rectangular ROI

This option is only available when a rectangular ROI is present. It is described in Non-radial arbors.

Ignore single-point arbors (Isolated pixels)

Elimination of end-point branches may give rise to single point arbors. Such ‘debris’ have 1 end-point but no slab branches or junctions. When this option is selected, single-point arbors will be discarded on each iteration. If deselected, the total number of end-points may be overestimated.

Elimination of Skeleton Loops

Method

Strahler Analysis cannot process skeletons containing closed loops and will output a warning message when such structures have been detected. The available methods in this drop-down menu define how closed loops should be resolved by and are described in the AnalyzeSkeleton documentation page.

Unsegmented image

The initial non-thinned image to be used by AnalyzeSkeleton for intensity-based elimination of closed loops. This option is only used if either Lowest intensity voxel or Lowest intensity branch is chosen as Method. Note that if an intensity-based method is selected but the chosen image is a binary one, closed loops will not be resolved.

Output Options

Display Iteration stack

If checked, an image stack that documents individual pruning cycles will be displayed. End-points and Junction-points positions are appended to the stack.

Show detailed information

If checked, analysis will run in verbose mode by outputting detailed measurements and by logging debug messages.

Root Detection

The problem with undiscriminated elimination of terminal branches is that a root-branch containing an end-point is always eliminated on the first iteration step. In order to protect root branches from elimination, Strahler Analysis needs to know where root branches are located. Root-detection is implemented by means of a rectangular ROI containing the root branch and by activating the Infer root end-points from rectangular ROI option. Here is an example:

/media/plugins/strahler-rootprotection.png

Left: Arbor with rectangular ROI containing root. Middle: Analysis ignores ROI. Root-branch is interpreted as any other terminal-branch and the resulting classification is inaccurate. Right: Analysis takes ROI into account and infers that the end-point contained by the ROI is the root of the structure. Root branch is excluded from the iteration and the classification is accurate.

Notes on Root Detection

  • Only a rectangular ROI can be used to mark the root branch. This is intentional: The way the root-detection algorithm works is by protecting all end-points that are contained by the ROI from end-point elimination. Using complex ROIs (e.g., discontinuous or containing internal holes) would make this task much more cumbersome.
  • The ROI only needs to contain root end-point(s) and it should not matter if its boundaries intercept other branches. However, measurements on root-branches may be inaccurate if the ROI contains junction(s) points. The best way to ensure the algorithm ran as expected is to visually inspect all the slices in the Iteration stack.
  • Root detection may not be required in the case of radial arbors (i.e., tree-like structures that branch out evenly in multiple directions), if root(s) remain connected in the center of the arbor (as in the animation above). In neurobiology, radial-ramification is an anatomical hallmark of certain cell types such as Retinal Ganglion Cells, Chandelier neurons or Drosophila Class IV sensory neurons.
  • If you are batch processing multiple images you should work with .tif files: When saving as TIFF, ImageJ will store the active ROI in the image header, making it immediately available when the image is open.

Results

The plugin produces three types of outputs:

Strahler Image

A heat-map image, in which branches are color-coded by their Horton-Strahler numbers. By default, a calibration ramp (AnalyzeToolsCalibration Bar…) is added as an overlay. WYSIWYG versions (RGB images) of this Strahler Color Map image can be obtained by pressing ⇧ Shift + F (shortcut for ImageOverlayFlatten).

Strahler table

Table listing Horton-Strahler counts. The extension and format of this Strahler Table can be specified in EditOptionsInput/Output…. It contains the following data:

  • End-point Branches - The number of branches for each Horton-Strahler order.

  • Ramification ratios - Ramification or bifurcation ratios are the quotients between branches of consecutive orders. An overall ratio may be obtained by averaging ratios across orders.

Iteration log

If Show detailed information is checked, Average branch length, N. of trees, N. of branches, N. of junctions, N. of triple points, N. of quadruple points are also retrieved for each iteration. These are described in the AnalyzeSkeleton’s documentation page.

Installation

To use Strahler Analysis you must install SNT.

Citing

The authoritative reference for Strahler Analysis is:

doi:10.1038/s41592-021-01105-7

The authoritative reference for AnalyzeSkeleton is:

doi:10.1002/jemt.20829

Acknowledgments

To all the developers of AnalyzeSkeleton.

References

Original publications by Robert E. Horton and Arthur N. Strahler: