calibration

stereoCalibrate for different cameras (rgb and infrared)

∥☆過路亽.° 提交于 2019-12-03 11:19:13
问题 I have problems with calibrating two cameras: first is rgb and second is infrared. They have different resolution (I resized and croped bigger image), focal length, etc... Examples: RGB 1920x1080 Infrared 512x424 How to calibrate them to each other? What parameters should I use in stereoCalibrate. Default sample stereo_calib.cpp produce very big error. Something like this: https://www.dropbox.com/s/x57rrzp1ejm3cac/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-04-05%2012.54.17.png

Camera Calibration: How to do it right

别说谁变了你拦得住时间么 提交于 2019-12-03 10:08:50
问题 I am trying to calibrate a camera using a checkerboard by the well known Zhang's method followed by bundle adjustment, which is available in both Matlab and OpenCV. There are a lot of empirical guidelines but from my personal experience the accuracy is pretty random. It could sometimes be really good but also sometimes really bad. The result actually can vary quite a bit just by simply placing the checkerboard at different locations. Suppose the target camera is rectilinear with 110 degree

Fisheye/Wide-Angle lens Calibration in OpenCV

蹲街弑〆低调 提交于 2019-12-03 03:27:30
I know the default OpenCV Calibration systems model a Pinhole camera, but I'm working with a system using extremely wide FOV lens (187-degrees). If there any existing way to do this in OpenCV, or to work with just wide lenses? Or will I have to rewrite all the calibration/undistort for my system? Seems there's no good OpenCV way to do this. I wound up using OCamLib to do the actual calibration, then writing my own "undistortPoints" function (using Scaramuzza's algorithms) to undistort 2D image points into 3D unit vectors (rather than 2D points). Unfortunately, this also breaks lots of other

stereoCalibrate for different cameras (rgb and infrared)

做~自己de王妃 提交于 2019-12-03 00:47:22
I have problems with calibrating two cameras: first is rgb and second is infrared. They have different resolution (I resized and croped bigger image), focal length, etc... Examples: RGB 1920x1080 Infrared 512x424 How to calibrate them to each other? What parameters should I use in stereoCalibrate. Default sample stereo_calib.cpp produce very big error. Something like this: https://www.dropbox.com/s/x57rrzp1ejm3cac/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-04-05%2012.54.17.png done with RMS error=4.1026 average reprojection err = 10.2601 UPDATE I generated calibration parameters

The coordinate system of pinhole camera model

风格不统一 提交于 2019-12-02 19:45:44
Recently, I have been studying the pinhole camera model, but I was confused with the model provided by OpenCV and the " Multiple View geometry in computer vision " textbook. I know that the following photo is a simplified model which switch the position of the image plane and the camera frame. For better illustration and understanding, and taking consideration of the principal point (u0,v0), the relation between two frames is x=f(X/Z)+u0 and y=f(Y/Z)+v0 . However,I was really confused because normally the image coordinate is in the form of the 4th quadrant coordinate as the following one!

Check and enable Magnetic sensor calibration in Android

我只是一个虾纸丫 提交于 2019-12-02 15:19:25
问题 I'm using Magnetic Sensor calibration in my Android app to implement Augmented reality. When the app is used for a long time, the sensor calibration is reduced gradually. Is there any way to check the calibration and automatically enable or prompt the user to perform manual calibration again? 回答1: Unfortunately for an AR type app I can't see how you can know if the magnetic sensor is correctly calibrated or not. Since there are lots of things which can cause the magnetic sensors to go out of

Check and enable Magnetic sensor calibration in Android

二次信任 提交于 2019-12-02 12:14:03
I'm using Magnetic Sensor calibration in my Android app to implement Augmented reality. When the app is used for a long time, the sensor calibration is reduced gradually. Is there any way to check the calibration and automatically enable or prompt the user to perform manual calibration again? Morrison Chang Unfortunately for an AR type app I can't see how you can know if the magnetic sensor is correctly calibrated or not. Since there are lots of things which can cause the magnetic sensors to go out of alignment (see: https://stackoverflow.com/a/9583998/295004 ) one thing that a map/navigation

Calibration (inverse prediction) from LOESS object in R

孤者浪人 提交于 2019-12-02 10:11:09
I have fit a LOESS local regression to some data and I want to be able to find the X value associated with a given Y value. plot(cars, main = "Stopping Distance versus Speed") car_loess <- loess(cars$dist~cars$speed,span=.5) lines(1:50, predict(car_loess,data.frame(speed=1:50))) I was hoping that I could use teh inverse.predict function from the chemCal package, but that does not work for LOESS objects. Does anyone have any idea how I might be able to do this calibrationa in a better way than predicticting Y values from a long vector of X values and looking through the resulting fitted Y for

OpenCV OpenNI calibrate kinect

萝らか妹 提交于 2019-12-02 01:20:47
I use home to capture by kinect: capture.retrieve( depthMap, CV_CAP_OPENNI_DEPTH_MAP ) capture.retrieve( bgrImage, CV_CAP_OPENNI_BGR_IMAGE ) Now I don't know if I have to calibrate kinect to have depth pixel value correct. That is, if I take a pixel (u, v) from the image RBG, get the correct value of depth taking the pixels (u, v) from the image depth? depthMap.at<uchar>(u,v) Any help is much appreciated. Thanks! You can check if registration is on like so: cout << "REGISTRATION " << capture.get( CV_CAP_PROP_OPENNI_REGISTRATION ) << endl; and if it's not, set it like so: capture.set(CV_CAP

cvUndistort2 () and cvRemap () crash

痞子三分冷 提交于 2019-12-01 12:59:43
I was doing example 11-1 of "Learning OpenCV" by Bradski. Unfortunately the given example doesn't work on my computer. The program is supposed to calibrate camera using chessboard and then output undistorted video output from the camera. The calibration part works fine, the problem arises when the program tries to undistort the image. I tried both cvUndistort2() and cvRemap(), in both cases the output windows freeze and the the program crashes, so that I have to force close it. Here is the code: #include <cv.h> #include <highgui.h> #include <stdio.h> #include <stdlib.h> #include <iostream> int