1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00

structured_light: python / java bindings

This commit is contained in:
berak
2016-05-02 09:55:55 +02:00
parent 0c24199057
commit 4889ec5cdf
3 changed files with 17 additions and 6 deletions

View File

@@ -471,5 +471,15 @@ Ptr<GrayCodePattern> GrayCodePattern::create( const GrayCodePattern::Params& par
return makePtr<GrayCodePattern_Impl>( params );
}
// Creates the GrayCodePattern instance
// alias for scripting
Ptr<GrayCodePattern> GrayCodePattern::create( int width, int height )
{
Params params;
params.width = width;
params.height = height;
return makePtr<GrayCodePattern_Impl>( params );
}
}
}