Module org.scijava.ops.image
Class ApplyThresholdComparable<T>
- java.lang.Object
-
- org.scijava.ops.image.threshold.apply.ApplyThresholdComparable<T>
-
- All Implemented Interfaces:
Computers.Arity2<Comparable<? super T>,T,BitType>,Consumers.Arity3<Comparable<? super T>,T,BitType>
public class ApplyThresholdComparable<T> extends Object implements Computers.Arity2<Comparable<? super T>,T,BitType>
Applies a threshold value (the second input) to the given comparable object, producing aBitTypeset to 1 iff the object compares above the threshold.- Author:
- Martin Horn (University of Konstanz)
- Implementation Note:
- op names='threshold.apply'
-
-
Constructor Summary
Constructors Constructor Description ApplyThresholdComparable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(Comparable<? super T> input, T threshold, BitType output)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Computers.Arity2
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity3
andThen
-
-
-
-
Method Detail
-
compute
public void compute(Comparable<? super T> input, T threshold, BitType output)
TODO- Specified by:
computein interfaceComputers.Arity2<Comparable<? super T>,T,BitType>- Parameters:
input-threshold-output-
-
-