Laplace transformation can also be used as edge detection and defined in the form of quadratic derivatives.
Laplace transform is an integral transformation commonly used in Engineering Mathematics.
For the comparison and significance of Laplace and Fourier transformation, refer to here
Bytes --------------------------------------------------------------------------------------------------------
The Laplace transform function is:
Laplace
Calculate the Laplacian transformation of an image
void cvlaplace (const cvarr * SRC, cvarr * DST, int aperture_size = 3);
-
SRC
-
Input image.
-
DST
-
Output image.
-
Aperture_size
-
Core size (as defined in cvsobel ).
The cvlaplace function is used to calculate the Laplacian transformation of the input image by using the Sobel operator to calculate the second-order X-and y-difference, and then sum:
The fastest calculation result is given for aperture_size = 1, which is equivalent to Convolution of the image using the following kernel:
Similar to the cvsobel function, this function does not perform image scale conversion. The input and output image types supported are the same as those supported by cvsobel.
Bytes --------------------------------------------------------------------------------------------------------
/* Code */
# Include
Bytes --------------------------------------------------------------------------------------------------------
/* Result */
Laplace the image