Ask Your Question
2

Camera intrinsic matrix

asked 2012-09-10 02:34:19 -0600

Abbas gravatar image

I am new in computer vision and now i want to get the intrinsic matrix of the camera. I have found the once OpencCV library funtion cvCalibrateCamera2. but i am unable to use it only for the intrinsic matrix. Usually i am getting the sample code with the chess currently which is very difficult for me to understand. Can you please let me know any easy sample code of OpenCv through which i can get the intrinsic matrix of camera. I will be very thankful to you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2012-09-12 01:47:59 -0600

Jacek gravatar image

There's no a simple single function that will give you camera intrinsic parameters. Calibration process requires a few steps:

  1. Acquisition of calibration images (with chessboard pattern or with circle pattern)
  2. Detecting chessboard corners(or blobs in case of circle pattern) with subpixel accuracy
  3. Finding camera calibration paramters: intrinsic matrix and distortion coefficients with

The easiest approach is to use an example provided with OpenCV - calibration.exe. You can use it with your own images, so it'll do a calibration for you and give you camera intrinsic matrix and distortions coefficients.

Read below tutorial, it explains how OpenCV calibration example works and how to use it with your own calibration images: http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html#cameracalibrationopencv

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-10 02:34:19 -0600

Seen: 7,251 times

Last updated: Sep 12 '12