OSVR-Core
Public Member Functions | Public Attributes | List of all members
osvr::vbtracker::CameraParameters Struct Reference

Public Member Functions

 CameraParameters (double fx, double fy, cv::Size size, std::initializer_list< double > distortionParams)
 Separate focal lengths, distortion specified.
 
 CameraParameters (double focalLength, cv::Size size, std::initializer_list< double > distortionParams)
 Single focal length, distortion specified.
 
 CameraParameters (double fx, double fy, cv::Size size)
 The zero-distortion constructor, separate focal lengths.
 
 CameraParameters (double focalLength=700, cv::Size size=cv::Size(640, 480))
 The zero-distortion constructor, single focal length.
 
CameraParameters createUndistortedVariant () const
 Copy-constructs, with zero distortion parameters.
 
double focalLengthX () const
 
double focalLengthY () const
 
double focalLength () const
 
double k1 () const
 
double k2 () const
 
double k3 () const
 
cv::Point2d principalPoint () const
 
Eigen::Vector2d eiPrincipalPoint () const
 

Public Attributes

cv::Matx33d cameraMatrix
 
std::vector< double > distortionParameters
 
cv::Size imageSize
 

The documentation for this struct was generated from the following file: