|
| LedMeasurement (cv::Point2f location, float diam, cv::Size imgSize, float beaconArea=-1) |
| Constructor for a measurement. More...
|
|
| LedMeasurement (cv::KeyPoint const &kp, cv::Size imgSize, float beaconArea=-1) |
| Constructor for a measurement from a KeyPoint and image size. More...
|
|
| LedMeasurement (float x, float y, float diam, cv::Size imgSize, float beaconArea=-1) |
| Constructor primarily used by replay for calibration/optimization purposes. More...
|
|
bool | knowBoundingBox () const |
| Do we know an upright bounding box? (that is, is the next member valid?)
|
|
cv::Size2f | boundingBoxSize () const |
| Dimensions of the upright bounding box. More...
|
|
void | setBoundingBox (cv::Size2f size) |
| Set the upright bounding box (from a size)
|
|
void | setBoundingBox (cv::Rect const &box) |
| Set the upright bounding box (from a Rect)
|
|
bool | operator== (LedMeasurement const &other) const |
|
|
cv::Point2f | loc |
| Location in image space - should be undistorted when passed to the Led class. More...
|
|
cv::Size | imageSize |
| Size of the image the measurement came from.
|
|
Brightness | brightness |
| "Brightness" - currently actually diameter.
|
|
float | diameter = 0.f |
| Blob diameter in pixels.
|
|
float | area = 1.f |
| Area in pixels.
|
|
float | circularity = 0.f |
| Blob circularity (as defined by OpenCV) - in [0,1].
|
|
§ LedMeasurement() [1/3]
osvr::vbtracker::LedMeasurement::LedMeasurement |
( |
cv::Point2f |
location, |
|
|
float |
diam, |
|
|
cv::Size |
imgSize, |
|
|
float |
beaconArea = -1 |
|
) |
| |
|
inline |
Constructor for a measurement.
- Parameters
-
beaconArea | measured area: if <= 0, will be estimated based on an assumption of circularity and the diameter. |
§ LedMeasurement() [2/3]
osvr::vbtracker::LedMeasurement::LedMeasurement |
( |
cv::KeyPoint const & |
kp, |
|
|
cv::Size |
imgSize, |
|
|
float |
beaconArea = -1 |
|
) |
| |
|
inline |
Constructor for a measurement from a KeyPoint and image size.
- Parameters
-
beaconArea | measured area: if <= 0, will be estimated based on an assumption of circularity and the diameter. |
Delegates to the constructor taking Point2f.
§ LedMeasurement() [3/3]
osvr::vbtracker::LedMeasurement::LedMeasurement |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
diam, |
|
|
cv::Size |
imgSize, |
|
|
float |
beaconArea = -1 |
|
) |
| |
|
inline |
Constructor primarily used by replay for calibration/optimization purposes.
Delegates to the constructor taking Point2f.
§ boundingBoxSize()
cv::Size2f osvr::vbtracker::LedMeasurement::boundingBoxSize |
( |
| ) |
const |
|
inline |
§ loc
cv::Point2f osvr::vbtracker::LedMeasurement::loc |
Location in image space - should be undistorted when passed to the Led class.
The documentation for this struct was generated from the following file: