Automated Computed Embroidery

ACEParaBitmapToVector

POST

Tolerance (default 20)

0-300: Maximum color difference that is still grouped together as a single color.

This parameter determines the extent to which similar colors are grouped together. The similarity is determined by the distance in the 3-dimensional color space. Grouping colors is useful when the pattern has many shades that are to be stitched as a single area. Furthermore, even areas that appear to be a single color at first glance often have individual pixels in various shades at their edges, which this function suppresses.

Smoothing (default 50)

0-200: Curve smoothing factor

Larger values reduces the number of points included in the curve calculation. This results in more straight lines and smoother curves.

DetermineBackgroundColor (default 1)

0: Background color is specified

                The background color is defined using the parameter BackGroundColor

1: Automatically determine background color from the image

The system uses the first color detected from the outside as the background color. However, this can sometimes be the wrong color, for example, if the background is half-filled with a color. If the switch is disabled, the detected background color is displayed in the field to the left of the switch. After clicking this color field, the desired background color can be set.

BackgroundColor

rrr, ggg, bbb RGB value of the background color.

Each component is in the range 0-255.

BackgroundFill (default 1)

0: Areas with background color will not be filled

This option means that areas inside the pattern that are colored with the background color will not be filled with stitches. This function is useful when there are actual "holes" in the pattern through which the background shows through.

1: Areas with background color will be filled

Parameters

Parameter Type Description Required
Tolerance int Maximum color difference that is still grouped together as a single color. Yes
Smoothing int Curve smoothing factor Yes
DetermineBackgroundColor int Determine background color Yes
BackgroundColor int array rrr, ggg, bbb RGB value of the background color. Yes
BackgroundFill int 0: Areas with background color will not be filled. 1: Areas with background color will be filled Yes

Example

"ACEParaBitmapToVector": {
    "Tolerance": "20",
    "Smoothing": "50",
    "DetermineBackgroundColor": "1",
    "BackgroundColor": "255,255,255",
    "BackgroundFill": "1"
  }