OpenCV Python Tutorial For Beginners 21 - Image Pyramids with Python and OpenCV

preview_player
Показать описание
In this video on OpenCV Python Tutorial For Beginners, I am going to show How to use Image Pyramids with Python and OpenCV.
There are two kinds of Image Pyramids. 1) Gaussian Pyramid and 2) Laplacian Pyramids

OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. opencv is available on Mac, Windows, Linux. Works in C, C++, and Python.
it is Open Source and free. opencv is easy to use and install.

Starting with an overview of what the course will be covering, we move on to discussing morphological operations and practically learn how they work on images. We will then learn contrast enhancement using equalization and contrast limiting. Finally we will learn 3 methods to subtract the background from the video and implement them using OpenCV.

At the end of this course, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This course will be your gateway to the world of data science.

Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.

#ProgrammingKnowledge #ComputerVision #OpenCV
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

finally found the good explanation for image pyramid. good job

greybandreg
Автор

last image is in index 6, not 5.. small inattention mistake because the array had an element before the for loop, aside from that, good work !

elarbiamraoui
Автор

you can fix the error by rectifying
gaussian_extended = cv2.pyrUp(gp[i], dstsize = (gp[i - 1].shape[1], gp[i - 1].shape[0]))
these parameter basically needs the size of the image,
I guess the updated version of python gives that error.

jayshimpi
Автор

for I in range(6) does NOT iterate 5 times....

hermeticGreen
Автор

Hi, I've been following this playlist, and this is the first tutorial I had a problem with.

On the line "laplacian = cv2.subtract(gp[i-1], gaussian_extended)
" I get an error that reads:

Traceback (most recent call last):
File "[File Path]", line 20, in <module>
[code mentioned earlier]


cv2.error: OpenCV(4.1.1) error: (-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array' in function 'cv::arithm_op'

What should I do to fix it? It's some sort of problem with cv2.subtract, because I get good results both for gp[i-1] and gaussian_extended. With the code from your website, I get the same error.

Thank you very much to anyone who knows what to do.

zoltantorok
Автор

Why did you use a copy of the image instead of the variable containing the image ?

randalllionelkharkrang
Автор

cv2_imshow(str(i), layer) this line is not working in google colab.
can anyone suggest how do I write this?

debjanichakraborty
Автор

I'm getting this error. I'have copied the same code. Can anyone please help me out?? ---AttributeError: 'NoneType' object has no attribute 'copy'

Nanda-hoeh
Автор

Please i need the project in c# language 😭😭 who can get the code for c#

اسامةرائد-وذ
welcome to shbcf.ru