BasePluginCameraCropMatCenter Method |
Returns a cutting of the given srcMat from its center with the
given width and height.
Namespace: RAYLASE.Marker.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic static Mat CropMatCenter(
Mat srcMat,
int width,
int height
)
Parameters
- srcMat Mat
- The source image.
- width Int32
- The wanted width.
- height Int32
- The wanted height.
Return Value
MatThe cut image.
See Also