Module org.scijava.ops.image
Class ApplyThresholdComparator<T>
- java.lang.Object
-
- org.scijava.ops.image.threshold.apply.ApplyThresholdComparator<T>
-
- All Implemented Interfaces:
Computers.Arity3<T,T,Comparator<? super T>,BitType>,Consumers.Arity4<T,T,Comparator<? super T>,BitType>
public class ApplyThresholdComparator<T> extends Object implements Computers.Arity3<T,T,Comparator<? super T>,BitType>
Applies a threshold value (the second input) to the given object using the specified comparator, producing aBitTypeset to 1 iff the object compares above the threshold.- Author:
- Curtis Rueden
- Implementation Note:
- op names='threshold.apply'
-
-
Constructor Summary
Constructors Constructor Description ApplyThresholdComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(T input, T threshold, Comparator<? super T> comparator, 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.Arity3
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity4
andThen
-
-
-
-
Method Detail
-
compute
public void compute(T input, T threshold, Comparator<? super T> comparator, BitType output)
TODO- Specified by:
computein interfaceComputers.Arity3<T,T,Comparator<? super T>,BitType>- Parameters:
input-threshold-comparator-output-
-
-