UWARG Computer Vision
|
Container class for storing information about interesting objects in photos or video frames using pixels as measurement. More...
#include <pixel_object.h>
Public Member Functions | |
PixelObject (cv::Mat &crop, std::vector< cv::Point > &contour, cv::Point2d centroid, double area, double perimeter, cv::Scalar colour, cv::Point2d error, double errorAngle) | |
std::vector< cv::Point > & | get_contour () |
Getter for contour. More... | |
cv::Point2d | get_centroid () |
Getter for centroid. More... | |
double | get_area () |
Getter for area. More... | |
double | get_perimeter () |
Getter for perimeter. More... | |
cv::Scalar | get_colour () |
Getter for colour. More... | |
cv::Point2d | get_error () |
Getter for error. More... | |
double | get_error_angle () |
Getter for error angle. More... | |
Frame * | get_image () |
Getter for image. More... | |
cv::Mat & | get_cropped_image () |
Getter for cropped image. More... | |
Friends | |
void | Frame::add_object (PixelObject *o) |
add_object sets the PixelObject's frame pointer | |
Container class for storing information about interesting objects in photos or video frames using pixels as measurement.
double PixelObject::get_area | ( | ) |
Getter for area.
cv::Point2d PixelObject::get_centroid | ( | ) |
Getter for centroid.
cv::Scalar PixelObject::get_colour | ( | ) |
Getter for colour.
std::vector< Point > & PixelObject::get_contour | ( | ) |
Getter for contour.
Mat & PixelObject::get_cropped_image | ( | ) |
Getter for cropped image.
cv::Point2d PixelObject::get_error | ( | ) |
Getter for error.
double PixelObject::get_error_angle | ( | ) |
Getter for error angle.
double PixelObject::get_perimeter | ( | ) |
Getter for perimeter.