Class PlausibilityCheck.TortuosityConsistency

java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.LiveCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.TortuosityConsistency
Enclosing class:
PlausibilityCheck

public static class PlausibilityCheck.TortuosityConsistency extends PlausibilityCheck.LiveCheck
Warns when child and parent have very different tortuosity (contraction).
  • Constructor Details

    • TortuosityConsistency

      public TortuosityConsistency()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class PlausibilityCheck.LiveCheck
      Returns:
      a short human-readable name for this check
    • setMaxContractionDiff

      public void setMaxContractionDiff(double diff)
    • getMaxContractionDiff

      public double getMaxContractionDiff()
    • check

      public List<PlausibilityCheck.Warning> check(Path parent, Path child, int branchIndex)
      Description copied from class: PlausibilityCheck.LiveCheck
      Evaluates the plausibility of a child path forking from a parent.
      Specified by:
      check in class PlausibilityCheck.LiveCheck
      Parameters:
      parent - the parent path
      child - the child (candidate) path
      branchIndex - the node index in the parent where the fork occurs
      Returns:
      list of warnings (empty if the operation is plausible)