Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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/classcv_1_1structured__light_1_1StructuredLightPattern.html

and the Java version

https://docs.opencv.org/4.1.2/javadoc/org/opencv/structured_light/StructuredLightPattern.html

I am trying to do the structured light tutorials, but it hinges on this function being available https://docs.opencv.org/master/dc/da9/tutorial_decode_graycode_pattern.html

Do i somehow use getprojpixels instead? anybody have any clue how to do this, or how to decode the images with Java?