Package sc.fiji.snt.tracing.cost
Class Difference
java.lang.Object
sc.fiji.snt.tracing.cost.Difference
- All Implemented Interfaces:
Cost
- Direct Known Subclasses:
DifferenceSq
Cost function that computes path cost based on the difference between voxel values
and a specified range, useful for tracing along intensity gradients.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Difference
public Difference(double min, double max)
-
-
Method Details
-
costMovingTo
public double costMovingTo(double valueAtNewPoint) - Specified by:
costMovingToin interfaceCost
-
minStepCost
public double minStepCost()- Specified by:
minStepCostin interfaceCost
-