Package sc.fiji.snt.analysis.curation
Class PlausibilityCheck.BoundaryProximity
java.lang.Object
sc.fiji.snt.analysis.curation.PlausibilityCheck.DeepCheck
sc.fiji.snt.analysis.curation.PlausibilityCheck.BoundaryProximity
- Enclosing class:
PlausibilityCheck
Flags terminal branches whose endpoint lies suspiciously close to the
image's field-of-view boundary. Pattern: the trace was truncated by
the imaging window, not by an actual neurite ending. The check
requires image data so it knows the FOV dimensions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetName()booleanhasImage()Declares how this check's errors propagate.measure(Collection<Path> paths) Computes the full distribution of this check's metric acrosspaths, without applying the warning threshold.scan(Collection<Path> paths) Scans a collection of paths for plausibility issues.voidsetImage(net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> image) Sets the image whose FOV dimensions are used as the reference.voidsetMinVoxelsFromBoundary(double v) Methods inherited from class sc.fiji.snt.analysis.curation.PlausibilityCheck.DeepCheck
isEnabled, setEnabled
-
Constructor Details
-
BoundaryProximity
public BoundaryProximity()
-
-
Method Details
-
getName
- Specified by:
getNamein classPlausibilityCheck.DeepCheck- Returns:
- a short human-readable name for this check
-
impactKind
Description copied from class:PlausibilityCheck.DeepCheckDeclares 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.- Overrides:
impactKindin classPlausibilityCheck.DeepCheck
-
setMinVoxelsFromBoundary
public void setMinVoxelsFromBoundary(double v) -
getMinVoxelsFromBoundary
public double getMinVoxelsFromBoundary() -
setImage
public void setImage(net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> image) Sets the image whose FOV dimensions are used as the reference. -
hasImage
public boolean hasImage() -
scan
Description copied from class:PlausibilityCheck.DeepCheckScans a collection of paths for plausibility issues.- Specified by:
scanin classPlausibilityCheck.DeepCheck- Parameters:
paths- the paths to scan- Returns:
- list of warnings (empty if no issues found)
-
measure
Description copied from class:PlausibilityCheck.DeepCheckComputes 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.- Overrides:
measurein classPlausibilityCheck.DeepCheck- Parameters:
paths- the paths to evaluate;nullor empty yieldsPlausibilityCheck.Measurements.EMPTY.- Returns:
- a
PlausibilityCheck.Measurementsrecord; nevernull.
-