Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nonfree.hpp doesn't exist in OpenCV 3 and contrib module has been introduced in OpenCV 3 to have experimental, unstable or non free algorithms.

Recently, this pull request has introduced the OPENCV_ENABLE_NONFREE option in CMake to enable or disable non free algorithms when you build OpenCV 3.

Currently, only the BM3Dimage denoising algorithm has been protected with this macro.

Fell free to add the macro guard to the corresponding non free algorithms in OpenCV and contribute to OpenCV by submitting the pull requests.