Class ConvolveFunction<T,R>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.filter.ConvolveFunction<T,R>
-
- All Implemented Interfaces:
BiFunction<ImageWrapper<T>,double[][],ImageWrapper<R>>
public class ConvolveFunction<T,R> extends Object implements BiFunction<ImageWrapper<T>,double[][],ImageWrapper<R>>
Applies a given kernel to the given image wrapper. kernel y-coordinate is the first array, and x the second. access via: kernel[y][x]
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description ConvolveFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<R>
apply(ImageWrapper<T> imageWrapper, double[][] kernel)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
apply
public ImageWrapper<R> apply(ImageWrapper<T> imageWrapper, double[][] kernel)
- Specified by:
apply
in interfaceBiFunction<ImageWrapper<T>,double[][],ImageWrapper<R>>
-
-