8 #ifndef META_OCEAN_CV_SYNTHESIS_OPTIMIZER_SUBSET_H
9 #define META_OCEAN_CV_SYNTHESIS_OPTIMIZER_SUBSET_H
44 bool invoke(
const unsigned int radii,
const unsigned int iterations = 5u,
const unsigned int maxSpatialCost = 0xFFFFFFFFu,
Worker* worker =
nullptr,
const bool applyInitialMapping =
true)
const override;
62 virtual void optimizeSubset(
const unsigned int radii,
const unsigned int maxSpatialCost,
const unsigned int boundingBoxTop,
const unsigned int boundingBoxHeight,
const bool downIsMain,
const unsigned int firstColumn,
const unsigned int numberColumns,
const unsigned int rowOffset,
const unsigned int firstRow,
const unsigned int numberRows,
const unsigned int threadIndex)
const = 0;
72 randomGenerator_(randomGenerator)
This class implements the base class for all inpainting layers.
Definition: Layer.h:35
This class is the base class for all synthesis optimizers.
Definition: Optimizer.h:30
This class is the base class for all optimizers that are able to optimize seperate subsets of the syn...
Definition: OptimizerSubset.h:30
RandomGenerator & randomGenerator_
Random number generator of this optimizer.
Definition: OptimizerSubset.h:67
bool invoke(const unsigned int radii, const unsigned int iterations=5u, const unsigned int maxSpatialCost=0xFFFFFFFFu, Worker *worker=nullptr, const bool applyInitialMapping=true) const override
Invokes the operator.
virtual void optimizeSubset(const unsigned int radii, const unsigned int maxSpatialCost, const unsigned int boundingBoxTop, const unsigned int boundingBoxHeight, const bool downIsMain, const unsigned int firstColumn, const unsigned int numberColumns, const unsigned int rowOffset, const unsigned int firstRow, const unsigned int numberRows, const unsigned int threadIndex) const =0
Optimizes a subset of the synthesis frame.
OptimizerSubset(Layer &layer, RandomGenerator &randomGenerator)
Creates a new optimizer object.
Definition: OptimizerSubset.h:70
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15