boofcv.alg.filter.derivative
Class LaplacianEdge
- java.lang.Object
-
- boofcv.alg.filter.derivative.LaplacianEdge
-
public class LaplacianEdge extends java.lang.ObjectThe Laplacian is convolved across an image to find second derivative of the image. It is often a faster way to compute the intensity of an edge than first derivative algorithms.
This implementation of the laplacian has a 3 by 3 kernel. partial^2 f partial^2 f f(x,y) = ~~~~~~~~~~~ + ~~~~~~~~~~~ partial x^2 partial x^2 [ 0 1 0 ] kernel = [ 1 -4 1 ] [ 0 1 0 ]This formulation is derived by using the [-1 1 0] and [0 -1 1] difference kernels for the image derivative. Alternative formulations can be found using other kernels.
DEVELOPER NOTE: This is still a strong candidate for further optimizations due to redundant array accesses.
-
-
Field Summary
Fields Modifier and Type Field and Description static Kernel2D_F32kernel_F32static Kernel2D_I32kernel_I32
-
Constructor Summary
Constructors Constructor and Description LaplacianEdge()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidprocess(GrayF32 orig, GrayF32 deriv)Computes the Laplacian of 'orig'.static voidprocess(GrayU8 orig, GrayF32 deriv)static voidprocess(GrayU8 orig, GrayS16 deriv)Computes the Laplacian of input image.
-
-
-
Field Detail
-
kernel_I32
public static Kernel2D_I32 kernel_I32
-
kernel_F32
public static Kernel2D_F32 kernel_F32
-
-
DataMelt 3.0 © DataMelt by jWork.ORG