![]() |
Geometrize 1.0
C++ library for geometrizing images into geometric primitives
|
The ImageRunnerOptions class encapsulates preferences/options that the image runner uses. More...
#include <imagerunneroptions.h>
Public Attributes | |
geometrize::ShapeTypes | shapeTypes = geometrize::ShapeTypes::ELLIPSE |
The shape types that the image runner shall use. More... | |
std::uint8_t | alpha = 128U |
The alpha/opacity of the shapes (0-255). More... | |
std::uint32_t | shapeCount = 50U |
The number of candidate shapes that will be tried per model step. More... | |
std::uint32_t | maxShapeMutations = 100U |
The maximum number of times each candidate shape will be modified to attempt to find a better fit. More... | |
std::uint32_t | seed = 9001U |
The seed for the random number generators used by the image runner. More... | |
std::uint32_t | maxThreads = 0 |
The maximum number of separate threads for the implementation to use. 0 lets the implementation choose a reasonable number. More... | |
ImageRunnerShapeBoundsOptions | shapeBounds {} |
If zero or do not form a rectangle, the entire target image is used i.e. (0, 0, imageWidth, imageHeight) More... | |
The ImageRunnerOptions class encapsulates preferences/options that the image runner uses.
std::uint8_t geometrize::ImageRunnerOptions::alpha = 128U |
The alpha/opacity of the shapes (0-255).
std::uint32_t geometrize::ImageRunnerOptions::maxShapeMutations = 100U |
The maximum number of times each candidate shape will be modified to attempt to find a better fit.
std::uint32_t geometrize::ImageRunnerOptions::maxThreads = 0 |
The maximum number of separate threads for the implementation to use. 0 lets the implementation choose a reasonable number.
std::uint32_t geometrize::ImageRunnerOptions::seed = 9001U |
The seed for the random number generators used by the image runner.
ImageRunnerShapeBoundsOptions geometrize::ImageRunnerOptions::shapeBounds {} |
If zero or do not form a rectangle, the entire target image is used i.e. (0, 0, imageWidth, imageHeight)
std::uint32_t geometrize::ImageRunnerOptions::shapeCount = 50U |
The number of candidate shapes that will be tried per model step.
geometrize::ShapeTypes geometrize::ImageRunnerOptions::shapeTypes = geometrize::ShapeTypes::ELLIPSE |
The shape types that the image runner shall use.