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.Flavor
NAME
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, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, compute, getIndependentInstance, run, run
in, setInput
run
candidates, filterArity, op
ops, setEnvironment
initialize
setOutput
compute, getIndependentInstance, run, run
in, setInput
public void compute(T input1, T input2, BitType output)
BinaryComputerOp
compute
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 input2
Copyright © 2014–2022 ImageJ. All rights reserved.