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.Flavor
NAME
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, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public RealLocalizable calculate(Mesh input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<Mesh,RealLocalizable>
input
- Argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.