AutoMaskingArgs Class

Summary: Represents the arguments that are specified for automated masking methods

Module: aspose.imaging.masking.options

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

Inheritance: IMaskingArgs

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
AutoMaskingArgs()Initializes a new instance of the AutoMaskingArgs class

Properties

NameTypeAccessDescription
max_iteration_numberintr/wGets or sets the maximum number of iterations.
number_of_objectsintr/wGets or sets the number of objects
to separate initial image to (optional), default value is 2 (object and background).
objects_pointsPoint[]r/wGets or sets the points that belong to separated objects (optional)
NumberOfObjects coordinates that belong to NumberOfObjects objects of initial image.
This parameter is used to increase segmentation method precision.
objects_rectanglesRectangle[]r/wGets or sets the objects rectangles that belong to separated objects (optional).
This parameter is used to increase segmentation method precision.
orphaned_pointsPoint[]r/wGets or sets the points that no longer belong to any object (optional).
This parameter is used only in case of re-segmentation.
precisiondoubler/wGets or sets the precision of segmentation method (optional).

Constructor: AutoMaskingArgs()

 AutoMaskingArgs() 

Initializes a new instance of the AutoMaskingArgs class