AutoMaskingGraphCutOptions Class

Summary: The GraphCut auto masking options.

Module: aspose.imaging.masking.options

Full Name: aspose.imaging.masking.options.AutoMaskingGraphCutOptions

Inheritance: GraphCutMaskingOptions

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
AutoMaskingGraphCutOptions()Initializes a new instance of the AutoMaskingGraphCutOptions class.

Properties

NameTypeAccessDescription
BACKGROUND_OBJECT_NUMBER [static]intrThe background object number
argsIMaskingArgsr/wGets or sets the arguments for segmentation algorithm.
assumed_objectslist[AssumedObjectData]r/wGets or sets the assumed objects.
background_replacement_colorColorr/wGets or sets the background replacement color.
calculate_default_strokesboolr/wGets or sets a value indicating whether default strokes should be calculated.
decomposeboolr/wGets or sets a value indicating whether
needless to separate each Shape from mask as individual object or as united object from mask separated from background.
default_background_strokesPoint[]rGets the default background strokes.
default_foreground_strokesPoint[]rGets the pre-calculated default foreground strokes.
default_objects_rectanglesRectangle[]rGets the default objects rectangles.
export_optionsImageOptionsBaser/wGets or sets the image export options.
feathering_radiusintr/wGets or sets the feathering radius.
masking_areaRectangler/wGets or sets the masking area.
methodSegmentationMethodr/wGets or sets the segmentation method.

Constructor: AutoMaskingGraphCutOptions()

 AutoMaskingGraphCutOptions() 

Initializes a new instance of the AutoMaskingGraphCutOptions class.