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:
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user