Class Reciprocal

java.lang.Object
sc.fiji.snt.tracing.cost.Reciprocal
All Implemented Interfaces:
Cost

public class Reciprocal extends Object implements Cost
Uses the reciprocal of voxel intensity, rescaled to the interval (double precision) 255 * (intensity - min) / (max - min) to compute the cost of moving to a neighbor node.
  • Field Details

  • Constructor Details

    • Reciprocal

      public Reciprocal(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