Click or drag to resize

BasePluginCameraCropMatCenter Method

Returns a cutting of the given srcMat from its center with the given width and height.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public 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

Mat
The cut image.
See Also