|
Img2Num C++ (Internal Developer Docs) dev
API Documentation
|
Configuration settings for K-Means in image_to_svg. More...
#include <img2num.h>
Collaboration diagram for img2num::ImageToSvgConfig::KMeansConfig:Public Attributes | |
| int32_t | k = 16 |
| int32_t | max_iter = 100 |
| int32_t img2num::ImageToSvgConfig::KMeansConfig::k = 16 |
Number of clusters to compute in K-Means. Roughly represents number of unique colors discovered.
Definition at line 35 of file img2num.h.
Referenced by img2num::image_to_svg().
| int32_t img2num::ImageToSvgConfig::KMeansConfig::max_iter = 100 |
Maximum number of iterations for the K-Means algorithm. The algorithm may terminate earlier if it converges.
Definition at line 38 of file img2num.h.
Referenced by img2num::image_to_svg().