Classes
Methods
ondone(_event)
Handle a completed labeling. Default behavior is do nothing, this is meant to be overridden.
Parameters:
| Name | Type | Description |
|---|---|---|
_event | object | The work item event fired when a labeling calculation is completed. Event.data should contain a 'labels' item. |
run(imageBuffer, geometry)
Trigger a labels recalculation.
Parameters:
| Name | Type | Description |
|---|---|---|
imageBuffer | TypedArray | The buffer to label. |
geometry | Geometry | The image geometry. |