Module org.scijava.ops.image
Class DefaultBilateral<I extends RealType<I>,O extends RealType<O>>
- java.lang.Object
-
- org.scijava.ops.image.filter.bilateral.DefaultBilateral<I,O>
-
- Type Parameters:
I-O-
- All Implemented Interfaces:
Computers.Arity4<RandomAccessibleInterval<I>,Double,Double,Integer,RandomAccessibleInterval<O>>,Consumers.Arity5<RandomAccessibleInterval<I>,Double,Double,Integer,RandomAccessibleInterval<O>>
public class DefaultBilateral<I extends RealType<I>,O extends RealType<O>> extends Object implements Computers.Arity4<RandomAccessibleInterval<I>,Double,Double,Integer,RandomAccessibleInterval<O>>
Performs a bilateral filter on an image.- Author:
- Gabriel Selzer
- Implementation Note:
- op names='filter.bilateral'
-
-
Constructor Summary
Constructors Constructor Description DefaultBilateral()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RandomAccessibleInterval<I> input, Double sigmaR, Double sigmaS, Integer radius, RandomAccessibleInterval<O> 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.Arity4
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity5
andThen
-
-
-
-
Field Detail
-
MIN_DIMS
public static final int MIN_DIMS
- See Also:
- Constant Field Values
-
MAX_DIMS
public static final int MAX_DIMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<I> input, Double sigmaR, Double sigmaS, Integer radius, RandomAccessibleInterval<O> output)
TODO- Specified by:
computein interfaceComputers.Arity4<RandomAccessibleInterval<I extends RealType<I>>,Double,Double,Integer,RandomAccessibleInterval<O extends RealType<O>>>- Parameters:
input- the input datasigmaR- range smoothing param, larger sigma means larger effect of intensity differences.sigmaS- spatial smoothing param, larger sigma means smoother image.radius- defines size of the square of pixels considered at each iteration.output-
-
-