ProjectionShowImage Method |
Display a 2D color image using the projector
Namespace:
Zivid.NET.Projection
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax public static ProjectedImage ShowImage(
Camera camera,
ImageBGRA image
)
Public Shared Function ShowImage (
camera As Camera,
image As ImageBGRA
) As ProjectedImage
public:
static ProjectedImage^ ShowImage(
Camera^ camera,
ImageBGRA^ image
)
Parameters
- camera
- Type: Zivid.NETCamera
Reference to camera instance - image
- Type: Zivid.NETImageBGRA
Image to display, provided in BGRA format
Return Value
Type:
ProjectedImageA handle to the projected image
Remarks
The image resolution needs to be the same as the resolution obtained from the
ProjectorResolution function. To project the image, the returned projected image handle must be kept alive.
The projection will stop when the handle goes out of scope, if the Stop() function is called on the handle,
or if another capture is initiated on the camera.
See Also