Welcome to Raspbot repository
6.Gaussian mean filtering
Image processing-filtering
Filtering: It is a basic operation in signal and image processing. The purpose is to selectively extract certain information in the image that is considered important according to the application environment. By filtering, we can remove noise in the image, extract some visual features, allow image re-sampling, and so on.
Frequency domain analysis: The image is divided into different parts from low frequency to high frequency. Low frequencies correspond to areas with small changes in image intensity. High frequencies correspond to areas with very large changes in image intensity.
In the framework of frequency analysis, filtering is used to enhance a certain band or frequency in an image and block (or reduce) other frequency bands.
The low-pass filter eliminates the high-frequency part of the image and keeps the low-frequency part.
The high-pass filter eliminates the low-frequency part of the image and retains the high-frequency part.
Code path:
/home/pi/Yahboom_Project/Raspbot/1.OpenCV_course/04image_beautification/ 06_Gaussian_mean_filtering.ipynb
|
After running the above program, two pictures will be displayed in the jupyterLab control interface, as shown below.
[Original picture] [Gaussian mean filtering picture]