Ask Your Question

Camera intrinsic matrix

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

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

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

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:

edit flag offensive delete link more

Question Tools


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

Seen: 6,708 times

Last updated: Sep 12 '12