Data structure describing the camera model and its parameters.
More...
#include <opencv2/sfm/simple_pipeline.hpp>
|
| libmv_CameraIntrinsicsOptions (const int _distortion_model=0, const double _focal_length_x=0, const double _focal_length_y=0, const double _principal_point_x=0, const double _principal_point_y=0, const double _polynomial_k1=0, const double _polynomial_k2=0, const double _polynomial_k3=0, const double _polynomial_p1=0, const double _polynomial_p2=0) |
|
Data structure describing the camera model and its parameters.
- Parameters
-
_distortion_model | Type of camera model. |
_focal_length_x | focal length of the camera (in pixels). |
_focal_length_y | focal length of the camera (in pixels). |
_principal_point_x | principal point of the camera in the x direction (in pixels). |
_principal_point_y | principal point of the camera in the y direction (in pixels). |
_polynomial_k1 | radial distortion parameter. |
_polynomial_k2 | radial distortion parameter. |
_polynomial_k3 | radial distortion parameter. |
_polynomial_p1 | radial distortion parameter. |
_polynomial_p2 | radial distortion parameter. |
Is assumed that modern cameras have their principal point in the image center.
In case that the camera model was SFM_DISTORTION_MODEL_DIVISION, it's only needed to provide _polynomial_k1 and _polynomial_k2 which will be assigned as division distortion parameters.
cv::sfm::libmv_CameraIntrinsicsOptions::libmv_CameraIntrinsicsOptions |
( |
const int |
_distortion_model = 0 , |
|
|
const double |
_focal_length_x = 0 , |
|
|
const double |
_focal_length_y = 0 , |
|
|
const double |
_principal_point_x = 0 , |
|
|
const double |
_principal_point_y = 0 , |
|
|
const double |
_polynomial_k1 = 0 , |
|
|
const double |
_polynomial_k2 = 0 , |
|
|
const double |
_polynomial_k3 = 0 , |
|
|
const double |
_polynomial_p1 = 0 , |
|
|
const double |
_polynomial_p2 = 0 |
|
) |
| |
|
inline |
int cv::sfm::libmv_CameraIntrinsicsOptions::distortion_model |
double cv::sfm::libmv_CameraIntrinsicsOptions::division_k1 |
double cv::sfm::libmv_CameraIntrinsicsOptions::division_k2 |
double cv::sfm::libmv_CameraIntrinsicsOptions::focal_length_x |
double cv::sfm::libmv_CameraIntrinsicsOptions::focal_length_y |
int cv::sfm::libmv_CameraIntrinsicsOptions::image_height |
int cv::sfm::libmv_CameraIntrinsicsOptions::image_width |
double cv::sfm::libmv_CameraIntrinsicsOptions::polynomial_k1 |
double cv::sfm::libmv_CameraIntrinsicsOptions::polynomial_k2 |
double cv::sfm::libmv_CameraIntrinsicsOptions::polynomial_k3 |
double cv::sfm::libmv_CameraIntrinsicsOptions::polynomial_p1 |
double cv::sfm::libmv_CameraIntrinsicsOptions::polynomial_p2 |
double cv::sfm::libmv_CameraIntrinsicsOptions::principal_point_x |
double cv::sfm::libmv_CameraIntrinsicsOptions::principal_point_y |
The documentation for this class was generated from the following file: