Class Difference

java.lang.Object
sc.fiji.snt.tracing.cost.Difference
All Implemented Interfaces:
Cost
Direct Known Subclasses:
DifferenceSq

public class Difference extends Object implements Cost
Cost function that computes path cost based on the difference between voxel values and a specified range, useful for tracing along intensity gradients.
  • Constructor Details

    • Difference

      public Difference(double min, double max)
  • Method Details

    • costMovingTo

      public double costMovingTo(double valueAtNewPoint)
      Specified by:
      costMovingTo in interface Cost
    • minStepCost

      public double minStepCost()
      Specified by:
      minStepCost in interface Cost