public class CentroidMesh extends AbstractUnaryFunctionOp<Mesh,RealLocalizable> implements Ops.Geometric.Centroid
geom.centroid.
Computation based on http://wwwf.imperial.ac.uk/~rn/centroid.pdf.SpecialOp.FlavorNAME| Constructor and Description |
|---|
CentroidMesh() |
| Modifier and Type | Method and Description |
|---|---|
RealLocalizable |
calculate(Mesh input)
Calculates the output given some input.
|
void |
initialize()
Initializes the object.
|
in, out, run, setInputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runruncandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic RealLocalizable calculate(Mesh input)
UnaryFunctionOpcalculate in interface UnaryFunctionOp<Mesh,RealLocalizable>input - Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.