Click or drag to resize

BasePluginCameraTakePicture(Boolean, Boolean, Double, Int32, Color, Double) Method

Takes a picture with the camera and downscales it if demanded.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public BitmapHolder TakePicture(
	bool isRectify,
	bool isCrossHair,
	double crossHairSize,
	int crossHairThickness,
	Color crossHairColor,
	double scale = 1
)

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  Int32
The thickness of the cross hair lines in pixel.
crossHairColor  Color
The color of the cross hair.
scale  Double  (Optional)
A downscale factor in the range of ]0, 1] to be applied to the taken image . If 0 the global DownscaleFactor is used.

Return Value

BitmapHolder
The taken picture.
See Also