Module org.scijava.ops.image
Class LocalPhansalkarThreshold<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.ApplyLocalThresholdIntegral<T,DoubleType>
-
- org.scijava.ops.image.threshold.localPhansalkar.LocalPhansalkarThreshold<T>
-
- All Implemented Interfaces:
Computers.Arity5<RandomAccessibleInterval<T>,Shape,Double,Double,OutOfBoundsFactory<T,RandomAccessibleInterval<T>>,RandomAccessibleInterval<BitType>>,Consumers.Arity6<RandomAccessibleInterval<T>,Shape,Double,Double,OutOfBoundsFactory<T,RandomAccessibleInterval<T>>,RandomAccessibleInterval<BitType>>
public class LocalPhansalkarThreshold<T extends RealType<T>> extends ApplyLocalThresholdIntegral<T,DoubleType> implements Computers.Arity5<RandomAccessibleInterval<T>,Shape,Double,Double,OutOfBoundsFactory<T,RandomAccessibleInterval<T>>,RandomAccessibleInterval<BitType>>
- Implementation Note:
- op names='threshold.localPhansalkar', priority='-100.'
-
-
Constructor Summary
Constructors Constructor Description LocalPhansalkarThreshold()
-
Method Summary
-
Methods inherited from class org.scijava.ops.image.threshold.ApplyLocalThresholdIntegral
compute, defaultOutOfBoundsFactory, getIntegralImageOp
-
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.Arity5
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity6
andThen
-
-
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<T> input, Shape inputNeighborhoodShape, Double k, Double r, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, RandomAccessibleInterval<BitType> output)
TODO- Specified by:
computein interfaceComputers.Arity5<RandomAccessibleInterval<T extends RealType<T>>,Shape,Double,Double,OutOfBoundsFactory<T extends RealType<T>,RandomAccessibleInterval<T extends RealType<T>>>,RandomAccessibleInterval<BitType>>- Parameters:
input-inputNeighborhoodShape-k-r-outOfBoundsFactory-output-
-
computeNonIntegral
public void computeNonIntegral(RandomAccessibleInterval<T> input, Shape inputNeighborhoodShape, Double k, Double r, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, Computers.Arity4<Iterable<T>,T,Double,Double,BitType> computeThresholdOp, RandomAccessibleInterval<BitType> output)
-
computeIntegral
public void computeIntegral(RandomAccessibleInterval<T> input, RectangleShape inputNeighborhoodShape, Double k, Double r, OutOfBoundsFactory<T,RandomAccessibleInterval<T>> outOfBoundsFactory, Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<DoubleType>> integralImageOp, Function<RandomAccessibleInterval<T>,RandomAccessibleInterval<DoubleType>> squareIntegralImageOp, Computers.Arity4<RectangleNeighborhood<? extends Composite<DoubleType>>,T,Double,Double,BitType> computeThresholdOp, RandomAccessibleInterval<BitType> output)
-
-