Understanding the code

asked 2019-10-14 04:02:53 -0600

Hi,

I am relatively new to coding and I apologize if my questions are straightforward to you.

I am trying to understand OpenCV code to be able to add my contributions (mainly converting 2D tools to 3D as it would be useful for my machine learning projects and for medical projects). There is also some extra-curiosity since I like to understand how things work.

1) On the example of the GaussianBlur method. What happens when I call it in Python? Namely, how the Python code is bind to the C++ one?

2) if I want to understand the whole GaussianBlur algorithm, I am also not familiar with C++ browsing, so how should I proceed to retrieve what files are used (methods and also inherited classes)

3) this is more a curiosity question since I am not familiar with makefiles, but when is done the binding between Python and C++? When I install OpenCV with pip it is done automatically, but I would like to understand the process.

Thanks a lot for your answers! I would appreciate any tutorial since I've googled a lot before asking, of course, but did not find what could help me on my own.

edit retag flag offensive close merge delete

Comments

1) 3) : https://docs.opencv.org/master/df/da2...

2) please get a book on computer-vision, don't try to unravel the simd optimizations in the opencv code ...

berak gravatar imageberak ( 2019-10-14 04:49:30 -0600 )edit

Thanks a lot, but understanding how things are done behind the scene, in the code, is really what I want. I like theory.

NicolasD gravatar imageNicolasD ( 2019-10-14 07:24:07 -0600 )edit