Skip to content

darkhorse-420/LaplacianFilter

Repository files navigation

LaplacianFilter

Laplacian Filtering in Spatial and Frequency Domains

Laplacian Filter In Spatial Domain Using Python

Laplacian Filter in Spatial Domain is used to enhance edges and detect fine details. It directly operates on pixel values of the image. In the spatial domain, Laplacian filtering involves convolving the image with a Laplacian kernel. The spatial domain approach directly operates on the pixel values of the image and applies the convolution operation using techniques such as sliding window or matrix multiplication.

Screenshot 2023-05-28 at 11 02 29 PM

Laplacian image is obtained after convolving the Laplacian kernel with the input image in spatial domain.

Screenshot 2023-05-28 at 11 04 21 PM

Original Image

Screenshot 2023-05-28 at 11 37 09 PM
+

Laplacian Image

Screenshot 2023-05-28 at 11 37 59 PM

= Enhanced Image

Screenshot 2023-05-28 at 11 38 40 PM

Laplacian Filtering in Frequency Domain

Laplacian filtering involves transforming the image into the frequency domain using techniques like the Fourier transform. The Laplacian filter is then applied to the frequency domain representation of the image. The filtered image is obtained by performing an inverse Fourier transform to return to the spatial domain. Screenshot 2023-05-28 at 11 51 29 PM

Original Image-

Screenshot 2023-05-28 at 11 37 09 PM

Laplacian Image

Screenshot 2023-05-29 at 12 13 30 AM

= Enhanced Image

Screenshot 2023-05-29 at 12 13 49 AM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published