SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectionFrameGroupStamp.h
Go to the documentation of this file.
1 
17 /*
18  * DetectionFrameGroupStamp.h
19  *
20  * Created on: May 5, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
25 #define _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_
26 
27 
30 
31 namespace SourceXtractor {
32 
34 
35 public:
36 
37  virtual ~DetectionFrameGroupStamp() = default;
38 
40  std::shared_ptr<DetectionImage> thresholded_stamp, PixelCoordinate top_left,
41  std::shared_ptr<WeightImage> variance_stamp) :
42  m_stamp(stamp), m_thresholded_stamp(thresholded_stamp),
43  m_variance_stamp(variance_stamp), m_top_left(top_left) {}
44 
45  // Returns the stamp image
46  const DetectionImage& getStamp() const {
47  return *m_stamp;
48  }
49 
51  return *m_thresholded_stamp;
52  }
53 
54  // Returns the stamp's associated weight image
56  return *m_variance_stamp;
57  }
58 
60  return m_top_left;
61  }
62 
63 private:
67 
68 };
69 
70 
71 } /* namespace SourceXtractor */
72 
73 
74 
75 
76 #endif /* _SEIMPLEMENTATION_PLUGIN_DETECTIONFRAMEGROUPSTAMP_DETECTIONFRAMEGROUPSTAMP_H_ */
const DetectionImage & getThresholdedStamp() const
Base class for all Properties. (has no actual content)
Definition: Property.h:33
std::shared_ptr< WeightImage > m_variance_stamp
A pixel coordinate made of two integers m_x and m_y.
DetectionFrameGroupStamp(std::shared_ptr< DetectionImage > stamp, std::shared_ptr< DetectionImage > thresholded_stamp, PixelCoordinate top_left, std::shared_ptr< WeightImage > variance_stamp)
Interface representing an image.
Definition: Image.h:43
std::shared_ptr< DetectionImage > m_thresholded_stamp
std::shared_ptr< DetectionImage > m_stamp
const DetectionImage & getVarianceStamp() const