CameraEmulatorTakePictureMat Method |
Takes a picture by cutting the appropriate section out of the
"big" picture and returns it as a bitmap.
Namespace: RAYLASE.Marker.CamerasPlugin.EmulatorAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic override Mat TakePictureMat(
bool isRectify,
bool isCrossHair,
double crossHairSize,
double crossHairThickness,
Color crossHairColor,
double scale = 0
)
Parameters
- isRectify Boolean
[Missing <param name="isRectify"/> documentation for "M:RAYLASE.Marker.CamerasPlugin.Emulator.CameraEmulator.TakePictureMat(System.Boolean,System.Boolean,System.Double,System.Double,System.Windows.Media.Color,System.Double)"]
- 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
MatThe taken image or null if an error occurred.
See Also