Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.DeepCheck
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.DeepCheck
- Direct Known Subclasses:
PlausibilityCheck.BoundaryProximity,PlausibilityCheck.BundledPaths,PlausibilityCheck.Crossovers,PlausibilityCheck.IntensityValley,PlausibilityCheck.InvalidRadius,PlausibilityCheck.RadiusJumps,PlausibilityCheck.RadiusMonotonicity,PlausibilityCheck.SignalQuality,PlausibilityCheck.TerminalNearAncestor,PlausibilityCheck.UncertainTerminal,PlausibilityCheck.ZExtentRatio
- Enclosing class:
PlausibilityCheck
A heavier check that scans an entire collection of paths for issues.
Triggered explicitly by the user via a "Run Deep Scan" button.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetName()Declares how this check's errors propagate.booleanmeasure(Collection<Path> paths) Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold.abstract List<PlausibilityCheck.Warning> scan(Collection<Path> paths) Scans a collection of paths for plausibility issues.voidsetEnabled(boolean enabled)
-
Constructor Details
-
DeepCheck
public DeepCheck()
-
-
Method Details
-
getName
- Returns:
- a short human-readable name for this check
-
scan
Scans a collection of paths for plausibility issues.- Parameters:
paths- the paths to scan- Returns:
- list of warnings (empty if no issues found)
-
measure
Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold. Default implementation returnsPlausibilityCheck.Measurements.EMPTY; subclasses override to enable per-check histogram popups in the Curation Assistant.- Parameters:
paths- the paths to evaluate;nullor empty yieldsPlausibilityCheck.Measurements.EMPTY.- Returns:
- a
PlausibilityCheck.Measurementsrecord; nevernull.
-
impactKind
Declares how this check's errors propagate. DefaultLOCALfor deep checks because most deep checks (radius jumps, monotonicity, signal quality) measure intrinsic per-path properties that don't propagate to descendants. Topology-class checks (e.g.,Crossovers) override toPlausibilityCheck.ImpactKind.SUBTREE. -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-