Click or drag to resize

DalsaCameraTakePictureMat Method

Takes a single picture.

Namespace: RAYLASE.Marker.CamerasPlugin.TeledyneDalsaCamera
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public override Mat TakePictureMat(
	bool isRectify,
	bool isCrossHair,
	double crossHairSize,
	double crossHairThickness,
	Color crossHairColor,
	double scale = 0
)

Parameters

isRectify  Boolean
If true the image is rectified according to the rectification calibration.
isCrossHair  Boolean
If true a cross hair is added to the picture where the center offset is.
crossHairSize  Double
The size of the cross hair as percentage of the camera field size.
crossHairThickness  Double
The thickness of the cross hair lines in pixel.
crossHairColor  Color
The color of the cross hair.
scale  Double  (Optional)
A downscale factor to be applied to the taken image. If 0 the global _downscaleFactor is used.

Return Value

Mat
The taken image or null if an error occurred.
See Also