Geometrize 1.0
C++ library for geometrizing images into geometric primitives
Classes | Namespaces | Typedefs
model.h File Reference
#include <cstdint>
#include <functional>
#include <memory>
#include <vector>
#include "core.h"
#include "shaperesult.h"

Go to the source code of this file.

Classes

class  geometrize::Model
 The Model class is the model for the core optimization/fitting algorithm. More...
 

Namespaces

namespace  geometrize
 

Typedefs

using geometrize::ShapeAcceptancePreconditionFunction = std::function< bool(double lastScore, double newScore, const geometrize::Shape &shape, const std::vector< geometrize::Scanline > &lines, const geometrize::rgba &color, const geometrize::Bitmap &before, const geometrize::Bitmap &after, const geometrize::Bitmap &target)>
 ShapeAcceptancePreconditionFunction Type alias for a function that is used to decide whether or not to finally add a shape to the image. More...