public class DefaultXYEquation<T extends RealType<T>> extends AbstractUnaryComputerOp<DoubleBinaryOperator,IterableInterval<T>> implements DoubleBinaryEquationOp<T>
ops.image().equation(image2, (x, y) -> Math.pow(x, 2)
+ Math.pow(y, 2)); SpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultXYEquation() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(DoubleBinaryOperator lambda,
IterableInterval<T> output)
Computes the output given some input.
|
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, getIndependentInstance, run, runin, setInputruncandidates, filterArity, opops, setEnvironmentsetOutputpublic void initialize()
Initializableinitialize in interface Initializablepublic void compute(DoubleBinaryOperator lambda, IterableInterval<T> output)
UnaryComputerOpcompute in interface UnaryComputerOp<DoubleBinaryOperator,IterableInterval<T extends RealType<T>>>lambda - Argument to the computation, which must be non-nulloutput - Object where the computation's result will be stored, which
must be non-null and a different object than inputCopyright © 2014–2022 ImageJ. All rights reserved.