SourceXtractorPlusPlus  0.13
Please provide a description of the project.
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 
SourceXtractor::DetectionFrameGroupStampTaskFactory
Produces DetectionFrameGroupStampTask.
Definition: DetectionFrameGroupStampTaskFactory.h:39
std::string
STL class.
StaticPlugin.h
SourceXtractor::DetectionFrameGroupStampPlugin::getIdString
virtual std::string getIdString() const override
Definition: DetectionFrameGroupStampPlugin.cpp:73
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::PluginAPI
This interface is given to the plugin to let it access object instances from the framework.
Definition: PluginAPI.h:39
SourceXtractor::TaskFactoryRegistry::registerTaskFactory
void registerTaskFactory()
Definition: TaskFactoryRegistry.h:51
ImageInterfaceTraits.h
SourceXtractor::DetectionFrameGroupStamp
Definition: DetectionFrameGroupStamp.h:33
SourceXtractor::DetectionFrameGroupStampPlugin::registerPlugin
virtual void registerPlugin(PluginAPI &plugin_api) override
Definition: DetectionFrameGroupStampPlugin.cpp:35
SourceXtractor::PluginAPI::getOutputRegistry
virtual OutputRegistry & getOutputRegistry() const =0
SourceXtractor::PluginAPI::getTaskFactoryRegistry
virtual TaskFactoryRegistry & getTaskFactoryRegistry() const =0
SourceXtractor::detection_frame_group_stamp_plugin
static StaticPlugin< DetectionFrameGroupStampPlugin > detection_frame_group_stamp_plugin
Definition: DetectionFrameGroupStampPlugin.cpp:33
DetectionFrameGroupStampPlugin.h
SourceXtractor::StaticPlugin
Used to register compile-time (static) plugins with the PluginManager.
Definition: StaticPlugin.h:38
SourceXtractor::OutputRegistry::enableOutput
void enableOutput(std::string alias_name, bool configurable_output=false)
Definition: OutputRegistry.h:141
SourceXtractor::OutputRegistry::registerColumnConverter
void registerColumnConverter(std::string column_name, ColumnConverter< PropertyType, OutType > converter, std::string column_unit="", std::string column_description="")
Definition: OutputRegistry.h:46
DetectionFrameGroupStampTaskFactory.h
DetectionFrameGroupStamp.h