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.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxprotected 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
MatThe downscaled Mat object of the given taken picture
with a cross hair added if wanted.
See Also