1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00

Allows structured_light pipeline to be run from Python

SinusoidalPattern::unwrapPhaseMap now takes an InputArray instead of InputArrayOfArrays to correct a Python binding problem
present a scriptable HistogramPhaseUnwrapping::create

replicate C++ structured_light test in Python

PhaseUnwrapping now init unwrappedPhase so pixel outside the mask area are set to 0

python binding for HistogramPhaseUnwrapping::Params to use HistogramPhaseUnwrapping::create
This commit is contained in:
David Geldreich
2020-03-08 23:18:20 +01:00
parent 9c0ae273fd
commit e967557e17
5 changed files with 109 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ public:
* @param shadowMask Mask used to discard shadow regions.
*/
CV_WRAP
virtual void unwrapPhaseMap( InputArrayOfArrays wrappedPhaseMap,
virtual void unwrapPhaseMap( InputArray wrappedPhaseMap,
OutputArray unwrappedPhaseMap,
cv::Size camSize,
InputArray shadowMask = noArray() ) = 0;