2012-01-19 17:48:33 +08:00
|
|
|
Camera
|
|
|
|
======
|
|
|
|
|
|
|
|
.. highlight:: cpp
|
|
|
|
|
|
|
|
detail::CameraParams
|
|
|
|
--------------------
|
2012-05-28 15:36:14 +08:00
|
|
|
.. ocv:struct:: detail::CameraParams
|
2012-01-19 17:48:33 +08:00
|
|
|
|
|
|
|
Describes camera parameters.
|
|
|
|
|
2012-10-18 01:42:09 +08:00
|
|
|
.. note:: Translation is assumed to be zero during the whole stitching pipeline.
|
2012-01-19 17:48:33 +08:00
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
struct CV_EXPORTS CameraParams
|
|
|
|
{
|
|
|
|
CameraParams();
|
|
|
|
CameraParams(const CameraParams& other);
|
|
|
|
const CameraParams& operator =(const CameraParams& other);
|
|
|
|
Mat K() const;
|
|
|
|
|
|
|
|
double focal; // Focal length
|
|
|
|
double aspect; // Aspect ratio
|
|
|
|
double ppx; // Principal point X
|
|
|
|
double ppy; // Principal point Y
|
|
|
|
Mat R; // Rotation
|
|
|
|
Mat t; // Translation
|
|
|
|
};
|