16 #ifndef TARGET_H_INCLUDED 17 #define TARGET_H_INCLUDED 29 #include <opencv2/core/core.hpp> 129 cv::Point2f centroid;
159 std::vector<Object *> objects;
163 #endif // TARGET_H_INCLUDED Container class for storing information about identified targets in real-world measurements Adding Pi...
Definition: object.h:35
double get_error_angle()
Getter for error angle.
cv::Scalar get_colour()
Getter for colour.
Container class for storing information about identified targets in real-world measurements Adding Pi...
Definition: target.h:34
cv::Point2f get_error()
Getter for error.
cv::Point2f get_centroid()
Getter for centroid.
double get_area()
Getter for area.
const std::vector< Object * > & get_objects()
Getter for pixel Targets.
void add_object(Object *t)
Adds given PixelTarget to Target's storage and recalculate target information.
std::string get_type()
Getter for type field.
cv::Mat get_image()
Getter for Target image.
double get_perimeter()
Getter for perimeter.