public class ApplyConstantThreshold<T extends RealType<T>> extends AbstractBinaryComputerOp<Iterable<T>,T,Iterable<BitType>> implements Ops.Threshold.Apply
Iterable
input.SpecialOp.Flavor
NAME
Constructor and Description |
---|
ApplyConstantThreshold() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Iterable<T> input1,
T input2,
Iterable<BitType> output)
Computes the output given two inputs.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, setInput1, setInput2, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
compute, getIndependentInstance, run, run
in, setInput
compute, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public void compute(Iterable<T> input1, T input2, Iterable<BitType> output)
BinaryComputerOp
compute
in interface BinaryComputerOp<Iterable<T extends RealType<T>>,T extends RealType<T>,Iterable<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.