Class PeripathDetector.Detection

java.lang.Object
sc.fiji.snt.analysis.PeripathDetector.Detection
Enclosing class:
PeripathDetector

public static final class PeripathDetector.Detection extends Object
One detected maximum (varicosity, spine, punctum, etc.).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
    Distance from the path skeleton at the detection point (physical units)
    final double
    Intensity at the maximum in the detection image
    final int
    Index of the nearest node on the associated path
    final Path
    The path this detection is associated with
    final double
    X-coordinate of the detection in real-world units
    final double
    Y-coordinate of the detection in real-world units
    final double
    Z-coordinate of the detection in real-world units
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns this detection as an SNTPoint.
     
    double[]
    Returns the XYZCT coordinates for bookmark/ROI integration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

      public final double x
      X-coordinate of the detection in real-world units
    • y

      public final double y
      Y-coordinate of the detection in real-world units
    • z

      public final double z
      Z-coordinate of the detection in real-world units
    • intensity

      public final double intensity
      Intensity at the maximum in the detection image
    • path

      public final Path path
      The path this detection is associated with
    • nodeIndex

      public final int nodeIndex
      Index of the nearest node on the associated path
    • distanceFromSkeleton

      public final double distanceFromSkeleton
      Distance from the path skeleton at the detection point (physical units)
  • Method Details

    • toSNTPoint

      public PointInImage toSNTPoint()
      Returns this detection as an SNTPoint.
      Returns:
      a new PointInImage at this detection's coordinates
    • xyzct

      public double[] xyzct()
      Returns the XYZCT coordinates for bookmark/ROI integration. X, Y, Z are in pixel (uncalibrated) coordinates; C and T are 1-based indices from the associated path.
      Returns:
      double[5]: {xPixel, yPixel, zPixel, channel, frame}
    • toString

      public String toString()
      Overrides:
      toString in class Object