SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectionFrameGroupStampPlugin.cpp
Go to the documentation of this file.
1 
17 /*
18  * DetectionFrameGroupStampPlugin.cpp
19  *
20  * Created on: May 5, 2017
21  * Author: mschefer
22  */
23 
25 
30 
31 namespace SourceXtractor {
32 
34 
37 
39  "group_stamp_top",
40  [](const DetectionFrameGroupStamp &d) {
41  return d.getTopLeft().m_y;
42  },
43  "pixel",
44  "Maximum y-coordinate of the detection group"
45  );
47  "group_stamp_left",
48  [](const DetectionFrameGroupStamp &d) {
49  return d.getTopLeft().m_x;
50  },
51  "pixel",
52  "Minimum x-coordinate of the detection group"
53  );
55  "group_stamp_width",
56  [](const DetectionFrameGroupStamp &d) {
57  return d.getStamp().getWidth();
58  },
59  "pixel",
60  "Width of the detection group"
61  );
63  "group_stamp_height",
64  [](const DetectionFrameGroupStamp &d) {
65  return d.getStamp().getHeight();
66  },
67  "pixel",
68  "Height of the detection group"
69  );
70  plugin_api.getOutputRegistry().enableOutput<DetectionFrameGroupStamp>("GroupStamp");
71 }
72 
74  return "DetectionFrameGroupStamp";
75 }
76 
77 }
78 
79 
virtual OutputRegistry & getOutputRegistry() const =0
STL class.
virtual void registerPlugin(PluginAPI &plugin_api) override
static StaticPlugin< DetectionFrameGroupStampPlugin > detection_frame_group_stamp_plugin
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
void enableOutput(std::string alias_name)
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")