Module org.scijava.ops.image
Class DefaultDetectJunctions
- java.lang.Object
-
- org.scijava.ops.image.segment.detectJunctions.DefaultDetectJunctions
-
- All Implemented Interfaces:
BiFunction<List<? extends WritablePolyline>,Double,List<RealPoint>>
public class DefaultDetectJunctions extends Object implements BiFunction<List<? extends WritablePolyline>,Double,List<RealPoint>>
Finds the junctions between aArrayListofWritablePolyline, intended to be used optionally after runningDefaultDetectRidgesbut applicable to all groups of polylines.TODO refactor the op to determine junction points between n-d
WritablePolyline- Author:
- Gabriel Selzer
- Implementation Note:
- op names='segment.detectJunctions'
-
-
Constructor Summary
Constructors Constructor Description DefaultDetectJunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RealPoint>apply(List<? extends WritablePolyline> lines, Double threshold)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
public List<RealPoint> apply(List<? extends WritablePolyline> lines, Double threshold)
TODO- Specified by:
applyin interfaceBiFunction<List<? extends WritablePolyline>,Double,List<RealPoint>>- Parameters:
lines-threshold- Maximum distance between polylines to be considered a junction- Returns:
- junctions
-
-