Click or drag to resize

BasePluginCameraPutMatIntoMat Method

Puts a small source picture at the given xy position into a larger destination picture; the origin is the upper left corner of the destination picture, and the xy position is the upper left corner of the source where it will be placed. If an out of bounds situation occurs, the source image is clipped to fit into the destination.
(0,0)
    +----------------------------+
    |                   dest     |
    |   (x,y)                    |
    |       +------+             |
    |       |source|             |
    |       +------+         +---+--+  out of bounds:
    |                        |   |  |  source will be clipped
    |                        +---+--+  to fit into dest
    |                            |
    +----------------------------+
                                 (width-1, height-1)

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public static void PutMatIntoMat(
	Mat source,
	int x,
	int y,
	Mat dest
)

Parameters

source  Mat
The source picture.
x  Int32
The x coordinate where to put the source.
y  Int32
The y coordinate where to put the source.
dest  Mat
The destination picture.
See Also