Package sc.fiji.snt.analysis.detection
Class AlongPathDetector.Config
java.lang.Object
sc.fiji.snt.analysis.detection.AlongPathDetector.Config
- Enclosing class:
AlongPathDetector
Configuration for along-path detection with builder-like setters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignToNearestPath(boolean b) SetsassignToNearestPath.excludeJunctions(boolean b) SetsexcludeJunctions.mergingDistance(double v) SetsmergingDistance.minIntensity(double v) SetsminIntensity.swellingFactor(double v) SetsswellingFactor.toString()windowSize(int v) SetswindowSize.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
swellingFactor
SetsswellingFactor.- Parameters:
v- swelling threshold; clamped to ≥ 1.01- Returns:
- this config
-
windowSize
SetswindowSize.- Parameters:
v- half-window; clamped to [1, 50]- Returns:
- this config
-
minIntensity
SetsminIntensity.- Parameters:
v- minimum intensity; 0 or negative disables filtering- Returns:
- this config
-
mergingDistance
SetsmergingDistance.- Parameters:
v- merging distance in physical units;-1for auto- Returns:
- this config
-
assignToNearestPath
SetsassignToNearestPath.- Parameters:
b- whether to reassign detections to nearest path- Returns:
- this config
-
excludeJunctions
SetsexcludeJunctions.- Parameters:
b- whether to exclude junction/tip nodes from detection- Returns:
- this config
-
toString
-