

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- 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?
- OpenCV Python Program to blur an image?
- How to blur an image using Node Jimp blur() function?
- Eroding an image using the OpenCV function erode()
- Upsampling an image using OpenCV
- Downsampling an image using OpenCV
- Applying Box Blur to an image using the Pillow library
- Draw an ellipse on an image using OpenCV
- Reading an image using Python OpenCv module
- Cartooning an Image using OpenCV in Python?
- Draw rectangle on an image using OpenCV
- Detecting contours in an image using OpenCV
Advertisements