Ocean
Optimizer1.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_CV_SYNTHESIS_OPTIMIZER_1_H
9 #define META_OCEAN_CV_SYNTHESIS_OPTIMIZER_1_H
10 
13 
14 namespace Ocean
15 {
16 
17 namespace CV
18 {
19 
20 namespace Synthesis
21 {
22 
23 /**
24  * This class implements the base class for all synthesis optimizers that use one single frame.
25  * @ingroup cvsynthesis
26  */
27 class OCEAN_CV_SYNTHESIS_EXPORT Optimizer1 : virtual public Optimizer
28 {
29  protected:
30 
31  /**
32  * Creates a new optimizer object.
33  * @param layer The layer to be optimized
34  */
35  inline Optimizer1(Layer& layer);
36 };
37 
38 inline Optimizer1::Optimizer1(Layer& layer) :
39  Operator(),
40  Optimizer(layer)
41 {
42  // nothing to do here
43 }
44 
45 }
46 
47 }
48 
49 }
50 
51 #endif // META_OCEAN_CV_SYNTHESIS_OPTIMIZER_1_H
This class implements the base class for all inpainting layers.
Definition: Layer.h:35
This class is the base class for all image synthesis operators.
Definition: Operator.h:28
This class implements the base class for all synthesis optimizers that use one single frame.
Definition: Optimizer1.h:28
Optimizer1(Layer &layer)
Creates a new optimizer object.
Definition: Optimizer1.h:38
This class is the base class for all synthesis optimizers.
Definition: Optimizer.h:30
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15