MpInteractiveSegmenterLegacySegmentImage function
MpStatus
MpInteractiveSegmenterLegacySegmentImage(
- MpInteractiveSegmenterLegacyPtr segmenter,
- MpImagePtr image,
- Pointer<
MpRegionOfInterest> roi, - Pointer<
MpImageProcessingOptions> image_processing_options, - Pointer<
MpImageSegmenterResult> result, - Pointer<
Pointer< error_msg,Char> >
Implementation
MpStatus MpInteractiveSegmenterLegacySegmentImage(
MpInteractiveSegmenterLegacyPtr segmenter,
MpImagePtr image,
ffi.Pointer<MpRegionOfInterest> roi,
ffi.Pointer<MpImageProcessingOptions> image_processing_options,
ffi.Pointer<MpImageSegmenterResult> result,
ffi.Pointer<ffi.Pointer<ffi.Char>> error_msg,
) {
return MpStatus.fromValue(
_MpInteractiveSegmenterLegacySegmentImage(
segmenter,
image,
roi,
image_processing_options,
result,
error_msg,
),
);
}