SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
31namespace 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 );
71}
72
74 return "DetectionFrameGroupStamp";
75}
76
77}
78
79
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
void enableOutput(std::string alias_name, bool configurable_output=false)
This interface is given to the plugin to let it access object instances from the framework.
Definition PluginAPI.h:40
virtual OutputRegistry & getOutputRegistry() const =0
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
Used to register compile-time (static) plugins with the PluginManager.
static StaticPlugin< DetectionFrameGroupStampPlugin > detection_frame_group_stamp_plugin