BasePluginCameraTakePicture(Boolean, Boolean, Double, Int32, Color, Double) Method |
Takes a picture with the camera and downscales it if demanded.
Namespace: RAYLASE.Marker.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic 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
BitmapHolderThe taken picture.
See Also