Chapter 6-image transformation-Laplace transformation (cvlaplace)

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.