Configuration options for image_to_svg.
More...
#include <img2num.h>
Configuration options for image_to_svg.
Definition at line 20 of file img2num.h.
◆ color_space
| uint8_t img2num::ImageToSvgConfig::color_space = 0 |
Color space flag.
- 0 = CIE LAB (more perceptually accurate)
- 1 = sRGB (faster).
Definition at line 52 of file img2num.h.
◆ min_cluster_area
| int img2num::ImageToSvgConfig::min_cluster_area = 100 |
Minimum area (in pixels) for a region to be included in the SVG.
Definition at line 42 of file img2num.h.
◆ min_thickness
| int img2num::ImageToSvgConfig::min_thickness = 0 |
Minimum thickness (in pixels) for a region to be included in the SVG. Regions with an inscribed disk diameter less than this value are merged. Set to 0 to disable thickness-based filtering.
Definition at line 47 of file img2num.h.
The documentation for this struct was generated from the following file: