Manual Segmentation
To use manual segmentation, call the CreateNewSegment method to add a new segment and customize the segment coordinates and type. To modify a segment type or its coordinates, use the SetSegmentData method. This method will update only one segment’s data each time it is called. To delete a segment, call the DeleteSegment method.
Save the segmentation handle and data to a file by calling the SaveSegmentation method. To load the saved segmentation handle and data from a file, call the LoadSegmentation method.