Class PeripathDetector

java.lang.Object
sc.fiji.snt.analysis.PeripathDetector

public class PeripathDetector extends Object
Detects intensity maxima (varicosities, spines, synaptic puncta) in annular cross-sections around traced paths. At each path node, a perpendicular cross-section is sampled from the image (see PathFitter), masked to an annulus defined by the node's radius (inner) and a configurable outer radius, and then analyzed for local maxima with prominence filtering via MaximumFinder. Detections from adjacent cross-sections are deduplicated via greedy non-maximum suppression.

Usage:

   PeripathDetector.Config cfg = new PeripathDetector.Config()
       .innerRadiusMultiplier(0.5)  // start at 0.5× node radius (closer to skeleton)
       .outerRadiusMultiplier(2.0)  // search up to 2× node radius
       .prominence(50)              // MaximumFinder noise tolerance
       .mergingDistance(1.5);        // NMS radius in calibrated units
   List<PeripathDetector.Detection> hits =
       PeripathDetector.detect(paths, image, cfg);
 
Author:
Tiago Ferreira
See Also: