This article was prepared with AI assistance based on an analysis of the current Lumina Studio source code, existing Wiki content, and relevant workflows. It has been checked against the current version, but omissions or details that become outdated may remain as the software evolves. If you find an error or have a clearer explanation, example, or suggestion, please leave a comment on this page or propose an edit on GitHub.
Superpixel Segmentation and Antialiasing
For multicolor vectorization, the engine first divides the image into SLIC superpixels, then refines their labels using color and edge information. These controls primarily determine how color-region boundaries are formed.
SLIC Region Size
The range is 5–100, with a default of 20. It is the target size for the initial SLIC regions:
- Smaller values create more, smaller superpixels and can follow finer local changes.
- Larger values create fewer, larger superpixels, processing faster with more generalized regions.
It is not a fixed size for final SVG shapes. Color merging, boundary refinement, and filtering still change the regions afterward.
Edge Sensitivity
The range is 0–1, with a default of 0.8. It controls how strongly SLIC relaxes its spatial constraint when an edge is detected:
- Higher values follow color boundaries more aggressively.
- Lower values emphasize spatial regularity and generally smoother segmentation.
Refine Passes
The range is 0–20, with a default of 6. Each pass refines region labels from their neighborhood. More passes can align boundaries more closely to the image, but take longer. 0 skips this stage.
Antialiasing Detection
When enabled, the engine identifies mixed pixels between two colors so that each antialiasing shade is less likely to become a separate region. It is useful for smoothly edged illustrations, icons, and text. Leave it off when pixel art must retain its exact stair-stepped pixels.
AA Tolerance ranges from 1–50, defaults to 10, and is measured in LAB ΔE. Higher values allow a wider color difference to be classified as a mixed edge pixel.
Related pages:
Submit feedback
Your feedback is sent privately to the Wiki maintainers and is not displayed publicly on this page.