public class ApplyThresholdComparable<T> extends AbstractBinaryComputerOp<Comparable<? super T>,T,BitType> implements ApplyThreshold<Comparable<? super T>,BitType>
BitType set to 1 iff the object compares above the
threshold.SpecialOp.FlavorNAME| Constructor and Description |
|---|
ApplyThresholdComparable() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(Comparable<? super 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(Comparable<? super T> input1, T input2, BitType output)
BinaryComputerOpcompute in interface BinaryComputerOp<Comparable<? super 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.