public class ApplyThresholdComparator<T> extends AbstractBinaryComputerOp<T,T,BitType> implements ApplyThreshold<T,BitType>
BitType set to 1 iff the object
compares above the threshold.SpecialOp.FlavorNAME| Constructor and Description |
|---|
ApplyThresholdComparator() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(T input1,
T input2,
BitType output)
Computes the output given two inputs.
|
in1, in2, out, setInput1, setInput2, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, compute, getIndependentInstance, run, runin, setInputruncandidates, filterArity, opops, setEnvironmentinitializesetOutputcompute, getIndependentInstance, run, runin, setInputpublic void compute(T input1, T input2, BitType output)
BinaryComputerOpcompute in interface BinaryComputerOp<T,T,BitType>input1 - first argument to the computation, which
must be non-nullinput2 - second 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
input1 and input2Copyright © 2014–2022 ImageJ. All rights reserved.