Click or drag to resize

TakeImageAutomationCreateRoiImage(WorkspaceRegion, Boolean) Method

Creates the image to be saved. In multi head scenarios a combined image from several cameras will be created if necessary.

Namespace: RAYLASE.Marker.ClickAndTeachPlugin.JobElements
Assembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.49.0
Syntax
C#
public static (Rectangle roiRectPixel, Mat RoiImage, Size workSpaceSize) CreateRoiImage(
	WorkspaceRegion roi,
	bool doOverlay
)

Parameters

roi  WorkspaceRegion
The region of interest in workspace world coordinates without any transformations; i. e. as given in the settings dialog.
doOverlay  Boolean
Currently unused, seems not to do any harm to calculate the max. image size even without an overlay (compare with Volker's commented-out original code below).

Return Value

ValueTupleRectangle, Mat, Size
A triple with the size of the created image, the image and the workspace size (possible cut to a max. size).
See Also