Question: Write a program in Python using the OpenCV library that A) takes the name of an image from the command line and reads the image.

Write a program in Python using the OpenCV library that A) takes the name of an image from the command line and reads the image. B) Filter the image with a Gaussian filter of size (11,11). The standard deviation in the x and y directions should be specified based on the kernel size. C) Filter the image with a Gaussian filter with size (19,19). Set the standard deviation in the x and y directions to 50. D) Filter the image with a median filter with dimensions of 11 by 11. E) Display raw and filtered images in a 2 in 2 window

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!