OPENCV | Python for Computer Vision by Global Emenwa & IfeanyiChukwu Ejike
Author:Global, Emenwa & IfeanyiChukwu, Ejike
Language: eng
Format: epub
Published: 2022-06-08T00:00:00+00:00
img = cv.imread ('images/cats.jpg')
cv.imshow('Cats', img)
# average = cv.blur(img, (3,3))
# cv.imshow('Averaging', average)
# gauss = cv.GaussianBlur(img, (7,7), 0)
#cv.imshow ("Gaussian Blur", gauss)
median = cv.medianBlur(img, 7)
cv.imshow ('Median Blur', median)
cv.waitKey(0)
And the way we apply the blur is by saying, let's call this median and set the use the cv.medianBlur () method, we pass in the source image, and this kernel size will not be a tuple of 7 by 7, but instead, just an integer to 7. And the reason for this is because open CV automatically assumes that this kernel size will be a 7 by 7, just based on this integer.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Administration | Adult & Continuing Education |
Business School Guides | College Guides |
Financial Aid | Graduate School Guides |
Law School Guides | Medical School Guides |
Test Preparation | Vocational |
Navigation and Map Reading by K Andrew(4558)
Spare by Prince Harry The Duke of Sussex(4222)
Tuesdays with Morrie by Mitch Albom(3841)
Cracking the GRE Premium Edition with 6 Practice Tests, 2015 (Graduate School Test Preparation) by Princeton Review(3600)
What It Really Takes to Get Into Ivy League and Other Highly Selective Colleges by Hughes Chuck(3224)
Goodbye Paradise(2977)
Never by Ken Follett(2907)
Pledged by Alexandra Robbins(2796)
Kick Ass in College: Highest Rated "How to Study in College" Book | 77 Ninja Study Skills Tips and Career Strategies | Motivational for College Students: A Guerrilla Guide to College Success by Fox Gunnar(2724)
A Dictionary of Sociology by Unknown(2521)
Graduate Admissions Essays, Fourth Edition: Write Your Way into the Graduate School of Your Choice (Graduate Admissions Essays: Write Your Way Into the) by Asher Donald(2479)
Sapiens and Homo Deus by Yuval Noah Harari(2420)
Get into Any College by Tanabe Gen Tanabe Kelly(2387)
Zero to Make by David Lang(2349)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(2317)
The Social Psychology of Inequality by Unknown(2316)
500 Must-Know AP Microeconomics/Macroeconomics Questions(2245)
Fairy Tale by Stephen King(2090)
Will by Will Smith(2061)