public class DefaultContour<B extends BooleanType<B>> extends AbstractUnaryFunctionOp<RandomAccessibleInterval<B>,Polygon2D> implements Contingent, Ops.Geometric.Contour
geom.contour.
This implementation assumes that foreground-pixels are 'true' and
background-pixels are 'false'.SpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultContour() |
| Modifier and Type | Method and Description |
|---|---|
Polygon2D |
calculate(RandomAccessibleInterval<B> 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, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, opinitializepublic Polygon2D calculate(RandomAccessibleInterval<B> input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<RandomAccessibleInterval<B extends BooleanType<B>>,Polygon2D>input - Argument to the functionpublic boolean conforms()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.