|
Ocean
|
This class implements the base class for all synthesis initializers. More...
#include <Initializer.h>
Public Member Functions | |
| virtual bool | invoke (Worker *worker=nullptr) const =0 |
| Invokes the initializer. | |
Public Member Functions inherited from Ocean::CV::Synthesis::Operator | |
| virtual | ~Operator ()=default |
| Destructs the object. | |
Protected Member Functions | |
| Initializer (Layer &layer) | |
| Creates a new initializer object. | |
Protected Member Functions inherited from Ocean::CV::Synthesis::Operator | |
| Operator () | |
| Creates a new operator object. | |
| Operator (const Operator &object)=delete | |
| Disabled copy constructor. | |
| Operator & | operator= (const Operator &object)=delete |
| Disabled copy operator. | |
Protected Attributes | |
| Layer & | layer_ |
| Synthesis layer that has to be initialized. | |
This class implements the base class for all synthesis initializers.
An initializer provides the initial mapping for a synthesis layer.
The initializer holds only references to e.g. the synthesis layers or any other input or output information.
Each initialization object is a simple container that gathers all objects that are necessary for the initialization directly when it is created.
Once the initializer has been created it should be invoked.
A initializer should not be invoked twice.
|
inlineprotected |
Creates a new initializer object.
| layer | The layer for that the initial mapping has to be provided |
|
pure virtual |
Invokes the initializer.
| worker | Optional worker object to distribute the computation. |
Implemented in Ocean::CV::Synthesis::InitializerShrinkingPatchMatchingI1, Ocean::CV::Synthesis::InitializerContourMappingI1, Ocean::CV::Synthesis::InitializerCopyMappingI1, Ocean::CV::Synthesis::InitializerMoveMappingI1, Ocean::CV::Synthesis::InitializerCoarserMappingAdaptionSpatialCostMaskI1< tFactor, tNeighborhood >, Ocean::CV::Synthesis::InitializerShrinkingErosionI1, Ocean::CV::Synthesis::InitializerShrinkingErosionRandomizedI1, Ocean::CV::Synthesis::InitializerShrinkingPatchMatchingI1, and Ocean::CV::Synthesis::InitializerSubset.
|
protected |
Synthesis layer that has to be initialized.