- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Blurring an image using the OpenCV function Gaussian Blur()
In this program, will blur an image using the openCV function GaussianBlur(). Gaussian blur is the process of blurring an image using the gaussian function. It is widely used in graphics software to remove noise from the image and reduce detail.
Algorithm
Step 1: Import cv2. Step 2: Read the original image. Step 3: Apply gaussian blur function. Pass the image and the kernel size as parameter. Step 4: Display the image.
Original Image
Example Code
import cv2 image = cv2.imread("testimage.jpg") Gaussian = cv2.GaussianBlur(image, (7,7), 0) cv2.imshow("Gaussian Blur", Gaussian)
Output
Gaussian Blur:
- Related Articles
- Blurring an image using the OpenCV function blur()
- Blurring an image using the OpenCV function medianBlur()
- Applying Gaussian Blur to an image using the Pillow library
- How to implement Gaussian blur in OpenCV using Java?
- How to blur an image using Node Jimp blur() function?
- How to blur faces in an image using OpenCV Python?
- OpenCV Python Program to blur an image?
- How to find Gaussian pyramids for an image using OpenCV in Python?
- Eroding an image using the OpenCV function erode()
- How to perform adaptive mean and gaussian thresholding of an image using Python OpenCV?
- Applying Box Blur to an image using the Pillow library
- Upsampling an image using OpenCV
- Downsampling an image using OpenCV
- How to implement blur (averaging) in OpenCV using Java?
- How to implement Bilateral blur in OpenCV using Java?

Advertisements