Function: removeContourHoles()
removeContourHoles(
segmentationId,segmentIndex):void
Removes contour holes from a segmentation segment by detecting and deleting hole annotations. This function analyzes the polylines in a segment to identify which contours are holes (contours that are inside other contours) and removes them completely.
Parameters
• segmentationId: string
The unique identifier of the segmentation
• segmentIndex: number
The index of the segment within the segmentation
Returns
void
Defined in
tools/src/stateManagement/segmentation/utilities/removeContourHoles.ts:21