menpo / conda-opencv3

Automated building of OpenCV3 Python bindings
BSD 3-Clause "New" or "Revised" License
54 stars 17 forks source link

No binding for function cv::EMD #7

Closed juhka closed 8 years ago

juhka commented 8 years ago

I installed the package with conda (win-64/opencv3-3.1.0-py34_0.tar.bz2) and noticed that there is no binding for the function cv::EMD. I assume it should be cv2.EMD in Python. Other image processing functions such as cv2.CalcHist are available. Is this functionality disabled on purpose or is there some other issue?

patricksnape commented 8 years ago

If the documentation is anything to go by it appears that the EMD is not exposed to Python? This appears to be an issue with the OpenCV3 project itself. If I am wrong then let me know and point me to a resource that explains how to use EMD in Python in OpenCV3 and I will update the build!

juhka commented 8 years ago

Thanks for your response. I am new to OpenCV, but it seems to be an issue with OpenCV3 itself, and I will raise it in that project. In the meanwhile, the function is available from OpenCV2 package.

I came across the same question in the OpenCV forums, but no answer there.