OpenCV  3.2.0
Open Source Computer Vision
Classes | Namespaces | Macros | Functions
layer.hpp File Reference
#include <opencv2/dnn.hpp>

Classes

class  cv::dnn::_LayerStaticRegisterer
 
class  cv::dnn::LayerFactory
 Layer factory allows to create instances of registered layers. More...
 

Namespaces

 cv
 
 cv::dnn
 This namespace is used for dnn module functionlaity.
 

Macros

#define REG_RUNTIME_LAYER_CLASS(type, class)   cv::dnn::LayerFactory::registerLayer(#type, _layerDynamicRegisterer<class>);
 Registers layer class in runtime. More...
 
#define REG_RUNTIME_LAYER_FUNC(type, constuctorFunc)   cv::dnn::LayerFactory::registerLayer(#type, constuctorFunc);
 Registers layer constructor in runtime. More...
 
#define REG_STATIC_LAYER_CLASS(type, class)
 Registers layer class on module load time. More...
 
#define REG_STATIC_LAYER_FUNC(type, constuctorFunc)   static cv::dnn::_LayerStaticRegisterer __LayerStaticRegisterer_##type(#type, constuctorFunc);
 Registers layer constructor on module load time. More...
 

Functions

template<typename LayerClass >
Ptr< Layer > cv::dnn::_layerDynamicRegisterer (LayerParams &params)