5#include "../shape/shapetypes.h"
34 std::uint32_t
seed = 9001U;
The ImageRunnerOptions class encapsulates preferences/options that the image runner uses.
Definition: imagerunneroptions.h:28
std::uint32_t shapeCount
The number of candidate shapes that will be tried per model step.
Definition: imagerunneroptions.h:32
std::uint32_t seed
The seed for the random number generators used by the image runner.
Definition: imagerunneroptions.h:34
geometrize::ShapeTypes shapeTypes
The shape types that the image runner shall use.
Definition: imagerunneroptions.h:30
std::uint32_t maxShapeMutations
The maximum number of times each candidate shape will be modified to attempt to find a better fit.
Definition: imagerunneroptions.h:33
ImageRunnerShapeBoundsOptions shapeBounds
If zero or do not form a rectangle, the entire target image is used i.e. (0, 0, imageWidth,...
Definition: imagerunneroptions.h:36
std::uint8_t alpha
The alpha/opacity of the shapes (0-255).
Definition: imagerunneroptions.h:31
std::uint32_t maxThreads
The maximum number of separate threads for the implementation to use. 0 lets the implementation choos...
Definition: imagerunneroptions.h:35
ShapeTypes
The ShapeTypes enum specifies the types of shapes that can be used. These can be combined to produce ...
Definition: shapetypes.h:17
@ ELLIPSE
Definition: shapetypes.h:21
The ImageRunnerShapeBoundsOptions struct encapsulates options for where shapes may be drawn within th...
Definition: imagerunneroptions.h:15
double xMinPercent
Definition: imagerunneroptions.h:17
double yMinPercent
Definition: imagerunneroptions.h:18
double xMaxPercent
Definition: imagerunneroptions.h:19
bool enabled
Definition: imagerunneroptions.h:16
double yMaxPercent
Definition: imagerunneroptions.h:20