EstervQrCode 1.1.1
Library for qr code manipulation
Enumerations | Functions
cv::fisheye Namespace Reference

The methods in this namespace use a so-called fisheye camera model. More...

Enumerations

enum  {
  CALIB_USE_INTRINSIC_GUESS = 1 << 0 , CALIB_RECOMPUTE_EXTRINSIC = 1 << 1 , CALIB_CHECK_COND = 1 << 2 , CALIB_FIX_SKEW = 1 << 3 ,
  CALIB_FIX_K1 = 1 << 4 , CALIB_FIX_K2 = 1 << 5 , CALIB_FIX_K3 = 1 << 6 , CALIB_FIX_K4 = 1 << 7 ,
  CALIB_FIX_INTRINSIC = 1 << 8 , CALIB_FIX_PRINCIPAL_POINT = 1 << 9 , CALIB_ZERO_DISPARITY = 1 << 10 , CALIB_FIX_FOCAL_LENGTH = 1 << 11
}
 

Functions

CV_EXPORTS void projectPoints (InputArray objectPoints, OutputArray imagePoints, const Affine3d &affine, InputArray K, InputArray D, double alpha=0, OutputArray jacobian=noArray())
 Projects points using fisheye model. More...
 
CV_EXPORTS_W void projectPoints (InputArray objectPoints, OutputArray imagePoints, InputArray rvec, InputArray tvec, InputArray K, InputArray D, double alpha=0, OutputArray jacobian=noArray())
 
CV_EXPORTS_W void distortPoints (InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha=0)
 Distorts 2D points using fisheye model. More...
 
CV_EXPORTS_W void undistortPoints (InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray R=noArray(), InputArray P=noArray(), TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 10, 1e-8))
 Undistorts 2D points using fisheye model. More...
 
CV_EXPORTS_W void initUndistortRectifyMap (InputArray K, InputArray D, InputArray R, InputArray P, const cv::Size &size, int m1type, OutputArray map1, OutputArray map2)
 Computes undistortion and rectification maps for image transform by remap. If D is empty zero distortion is used, if R or P is empty identity matrixes are used. More...
 
CV_EXPORTS_W void undistortImage (InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray Knew=cv::noArray(), const Size &new_size=Size())
 Transforms an image to compensate for fisheye lens distortion. More...
 
CV_EXPORTS_W void estimateNewCameraMatrixForUndistortRectify (InputArray K, InputArray D, const Size &image_size, InputArray R, OutputArray P, double balance=0.0, const Size &new_size=Size(), double fov_scale=1.0)
 Estimates new camera intrinsic matrix for undistortion or rectification. More...
 
CV_EXPORTS_W double calibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, const Size &image_size, InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 Performs camera calibration. More...
 
CV_EXPORTS_W void stereoRectify (InputArray K1, InputArray D1, InputArray K2, InputArray D2, const Size &imageSize, InputArray R, InputArray tvec, OutputArray R1, OutputArray R2, OutputArray P1, OutputArray P2, OutputArray Q, int flags, const Size &newImageSize=Size(), double balance=0.0, double fov_scale=1.0)
 Stereo rectification for fisheye camera model. More...
 
CV_EXPORTS_W double stereoCalibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray K1, InputOutputArray D1, InputOutputArray K2, InputOutputArray D2, Size imageSize, OutputArray R, OutputArray T, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags=fisheye::CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 Performs stereo calibration. More...
 
CV_EXPORTS_W double stereoCalibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray K1, InputOutputArray D1, InputOutputArray K2, InputOutputArray D2, Size imageSize, OutputArray R, OutputArray T, int flags=fisheye::CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
CV_EXPORTS_W bool solvePnP (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 10, 1e-8))
 Finds an object pose from 3D-2D point correspondences for fisheye camera moodel. More...
 

Detailed Description

The methods in this namespace use a so-called fisheye camera model.