Parameters about how to crop the image containing a segmented object.
- boolean: If true, we store all the cropped images of segmented objects in SR_SegmentedObject::croppedImage, otherwise not. For optimal performance, we recommend 'not' to store cropped image.
- default crop size: Crop the segmented objects, whose width and height are smaller than defaultCropSize, by (default crop size x default crop size).
- mode of crop large objects: Mode of cropping objects whose width or height are bigger than default crop size
- margin: margin when cropping large objects. For eModeOfCropLargeObjects::SR_CROP_CENTER_BY_CROPSIZE , margin is not applied.
- cropped size = object size * (1 + 2 * margin)
- margin should be in [0, 0.5]
◆ SR_GetSegTestIsToStoreCroppedImage()
◆ SR_SetSegTestIsToStoreCroppedImage()