Structured Light Module Missing "decode" function
In the java version (and hence the ported OpenCV for Unity version I am using), I noticed that there is a missing function (which seems quite important!) between the normal Structured Light documentation in the regular C++ api
https://docs.opencv.org/4.1.2/d9/dbb/...
and the Java version
https://docs.opencv.org/4.1.2/javadoc...
I am trying to do the structured light tutorials, but it hinges on this function being available https://docs.opencv.org/master/dc/da9...
Do i somehow use getprojpixels instead? anybody have any clue how to do this, or how to decode the images with Java?
getprojpixels only returns the projectors pixel position wrt the camera, not any disparity
indeed, the python / java bindings are incomplete, but maybe we (you?) can fix it. did you build from src, and would you want to do some experiments to get it done ?
python bindings have it, btw.
Dang!!!!!!!!! Thanks for helping validate that i was not losing my mind! Unfortunately i did not compile it myself, i am using a port of a port (OpenCVforUnity https://assetstore.unity.com/packages... ) to try to make structured light scanning possible going directly into unity. But doesn't look like im going to do that anytime soon :(
hmm, for sure we can't help with unity, but maybe you can use the SinusoidalPattern instead ?