Click or drag to resize

BasePluginCameraCreateDownscaledTakenPicture Method

Creates a downscaled, three channel Mat object from the given, one channel takenPictureMat and adds a red cross hair if wanted.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
protected Mat CreateDownscaledTakenPicture(
	Mat takenPictureMat,
	bool createCrossHair,
	double crossHairSize,
	double crossHairThickness,
	Color crossHairColor,
	double scale
)

Parameters

takenPictureMat  Mat
The original Mat object.
createCrossHair  Boolean
If true a red cross hair is added where the Laser actually points to.
crossHairSize  Double
The size of the cross hair in micrometers.
crossHairThickness  Double
The thickness of the cross hair lines in pixel.
crossHairColor  Color
The color of the cross hair.
scale  Double
The downscale factor in range ]0, 1]. If less than or equal 0 the global DownscaleFactor is used.

Return Value

Mat
The downscaled Mat object of the given taken picture with a cross hair added if wanted.
See Also