Adds given object to the list of objects in the frame.
- Parameters
-
o | object identified as being in the frame |
std::string Frame::get_id |
( |
| ) |
|
- Returns
- timestamp identifier for the frame
cv::Mat & Frame::get_img |
( |
| ) |
|
- Returns
- image associated with the frame
const Metadata * Frame::get_metadata |
( |
| ) |
|
getter for metadata
- Returns
- const pointer to internal metadata structure
getter for targets
- Returns
- iterator pointing at the first target in the target list
cv::Mat & Frame::orig_img |
( |
| ) |
|
Original Image.
- Returns
- original image before any calibration
void Frame::save |
( |
std::string |
dir | ) |
|
Stores the frame as an image file.
- Parameters
-
dir | Directory to store the file |
cv::Mat * Frame::undistort |
( |
Camera & |
camera | ) |
|
returns a new undistorted image using the given camera Intended for testing purposes, Does not modify the Frame.
- Parameters
-
camera | the camera to use for undistortion |
- Returns
- A new image that is the original image contained in this frame undistorted with the camera
The documentation for this class was generated from the following files:
- modules/core/include/frame.h
- modules/core/src/frame.cpp