public class DefaultDetectJunctions extends AbstractUnaryFunctionOp<List<? extends WritablePolyline>,List<RealPoint>> implements Ops.Segment.DetectJunctions, Contingent
ArrayList
of WritablePolyline
,
intended to be used optionally after running DefaultDetectRidges
but
applicable to all groups of polylines.
TODO refactor the op to determine junction points between n-d
WritablePolyline
SpecialOp.Flavor
NAME
Constructor and Description |
---|
DefaultDetectJunctions() |
Modifier and Type | Method and Description |
---|---|
List<RealPoint> |
calculate(List<? extends WritablePolyline> input)
Calculates the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
initialize
public List<RealPoint> calculate(List<? extends WritablePolyline> input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<List<? extends WritablePolyline>,List<RealPoint>>
input
- Argument to the functionpublic boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.