Ask Your Question

OpenCV Code Style

asked 2017-03-25 10:41:54 -0500

german_iris gravatar image

updated 2017-03-25 10:43:41 -0500

I am reading the source code of OpenCV under the guidance from The OpenCV Coding Style Guide. It says that the implementation is put to opencv/modules/<module_name>/src and interface is added to the header files in opencv/modules/<module_name>/include/opencv2/<module_name>. But I find some .hpp file under the opencv/modules/<module_name>/src folder, such as opencv/modules/imgproc/src/filterengine.hpp. So what kind of .hpp file should be put to this folder?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-25 10:48:34 -0500

LBerger gravatar image

I think hpp found in module/src are not available when you compile code with opencv as library. It is only for internal purpose of opencv

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-03-25 10:41:54 -0500

Seen: 102 times

Last updated: Mar 25 '17