BasePluginCameraTakePictureAndPutItIntoScanFieldImage Method |
Takes a picture at the given position and puts it into the
untransformed ScanFieldImage at the correct place.
Namespace: RAYLASE.Marker.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic Mat TakePictureAndPutItIntoScanFieldImage(
bool isRectify,
bool isCrossHairs,
double crossHairsSize,
double crossHairsThickness,
Color crossHairsColor,
dvec3 pointWorld,
bool isToClear,
double scale = 0
)
Parameters
- isRectify Boolean
- If true the image is rectified according
to the rectification calibration.
- isCrossHairs Boolean
- If true a cross hair is added to the
picture where the center offset is.
- crossHairsSize Double
- The size of the cross hair as percentage
of the camera field size.
- crossHairsThickness Double
- The thickness of the cross hair in
pixel.
- crossHairsColor Color
- The color of the cross hairs.
- pointWorld dvec3
- The mouse pointer's coordinates in
world coordinates in the scan field; i. e. the origin is the center
of the scan field and without any transformations but multiplied
with the wave length correction factor.
- isToClear Boolean
- If true the ScanFieldImage will be cleared
before the taken picture is put into it.
- scale Double (Optional)
- A downscale factor to be applied to the
taken image. If 0 the global DownscaleFactor is used.
Return Value
MatThe taken picture.
See Also