|
Img2Num C++ (Internal Developer Docs) dev
API Documentation
|
Configuration options for image_to_svg. More...
#include <img2num.h>
Collaboration diagram for img2num::ImageToSvgConfig:Classes | |
| struct | BilateralFilterConfig |
| Configuration settings for the bilateral filter in image_to_svg. More... | |
| struct | KMeansConfig |
| Configuration settings for K-Means in image_to_svg. More... | |
Public Attributes | |
| struct img2num::ImageToSvgConfig::BilateralFilterConfig | bilateral_filter |
| struct img2num::ImageToSvgConfig::KMeansConfig | kmeans |
| int | min_cluster_area = 100 |
| Minimum area (in pixels) for a region to be included in the SVG. | |
| int | min_thickness = 0 |
| uint8_t | color_space = 0 |
| uint8_t img2num::ImageToSvgConfig::color_space = 0 |
Color space flag.
Definition at line 52 of file img2num.h.
Referenced by img2num::image_to_svg().
| 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.
Referenced by img2num::image_to_svg().
| 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.
Referenced by img2num::image_to_svg().