17 #ifndef CAMERA_H_INCLUDED 18 #define CAMERA_H_INCLUDED 39 Camera(cv::Size imageSize, cv::Size2d fov, cv::Mat cameraMatrix, cv::Mat distortionCoeffs, cv::Mat newCameraMatrix,
bool applyUndistort =
true);
62 cv::Mat distortionCoeffs;
63 cv::Mat newCameraMatrix;
66 #endif //CAMERA_H_INCLUDED cv::Size2d get_fov()
Returns the field of view of the camera in degrees for both horizontal and vertical dimensions...
Definition: camera.cpp:65
static Camera TestCamera()
Example Camera for testing purposes.
Definition: camera.cpp:37
cv::Mat * undistort(cv::Mat &img)
Undistorts image.
Definition: camera.cpp:27
Camera(cv::Size imageSize, cv::Size2d fov, cv::Mat cameraMatrix, cv::Mat distortionCoeffs, cv::Mat newCameraMatrix, bool applyUndistort=true)
creates a Camera representing the specs for a given lens and sensor
Definition: camera.cpp:23
Container class for storing information about the camera used to capture an image *...
Definition: camera.h:28