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.JobElementsAssembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.49.0
Syntaxpublic 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,
SizeA triple with the size of the created image, the image and
the workspace size (possible cut to a max. size).
See Also