OpenCV
5.0.0alpha
Open Source Computer Vision
|
#include <opencv2/dnn/layer.hpp>
Classes | |
class | cv::dnn::details::_LayerStaticRegisterer |
Namespaces | |
namespace | cv |
namespace | cv::dnn |
namespace | cv::dnn::details |
Macros | |
#define | CV_DNN_REGISTER_LAYER_CLASS(type, class) |
Registers layer class in runtime. | |
#define | CV_DNN_REGISTER_LAYER_CLASS_STATIC(type, class) |
Registers layer class on module load time. | |
#define | CV_DNN_REGISTER_LAYER_FUNC(type, constructorFunc) |
Registers layer constructor in runtime. | |
#define | CV_DNN_REGISTER_LAYER_FUNC_STATIC(type, constructorFunc) |
Registers layer constructor on module load time. | |
Functions | |
template<typename LayerClass > | |
Ptr< Layer > | cv::dnn::details::_layerDynamicRegisterer (LayerParams ¶ms) |
#define CV_DNN_REGISTER_LAYER_CLASS | ( | type, | |
class ) |
Registers layer class in runtime.
type | string, containing type name of the layer. |
class | C++ class, derived from Layer. |
This macros must be placed inside the function code.
#define CV_DNN_REGISTER_LAYER_CLASS_STATIC | ( | type, | |
class ) |
Registers layer class on module load time.
type | string, containing type name of the layer. |
class | C++ class, derived from Layer. |
This macros must be placed outside the function code.
#define CV_DNN_REGISTER_LAYER_FUNC | ( | type, | |
constructorFunc ) |
Registers layer constructor in runtime.
type | string, containing type name of the layer. |
constructorFunc | pointer to the function of type LayerRegister::Constructor, which creates the layer. |
This macros must be placed inside the function code.
#define CV_DNN_REGISTER_LAYER_FUNC_STATIC | ( | type, | |
constructorFunc ) |
Registers layer constructor on module load time.
type | string, containing type name of the layer. |
constructorFunc | pointer to the function of type LayerRegister::Constructor, which creates the layer. |
This macros must be placed outside the function code.