Reference

intrinsic & extrinsic camera parameters, homogenous transformation

3차원에 있는 한 점을 image plane 위에 있는 으로 매핑하는 것을 projective transformation 이라고 한다. 하지만 우리가 3D 포인트들을 image plane 위에 투영한 것들은 우리가 보는 디지털 이미지와 직접적으로 일치하지 않는다. 그 이유는, 1. 디지털 이미지 위의 점들과 image plane 위의 점들은 in a different reference system 2. 디지털 이미지는 discrete pixels 들로 나뉘어져 있다. 하지만 image plane 위의 점들은 continuous 하다. 3. physical lens 들은 distortion 과 같은 non-linearity 를 야기할 수 있다.

이러한 다름을 additional transformations 를 가지고 해소할 수 있다.

Abstract

The camera matrix model describes a set of important parameters that affect how a world point P is mapped to image coordinates P 0 . As the name suggests, these parameters will be represented in matrix form. First, let’s introduce some of those parameters.

Camera Center,

image plane origin () at the center of the image digital image origin 은 주로 좌상단 혹은 좌하단에 위치한다. 그러므로 이 차이를 translation vector 로 상쇄한다.

Scale ratio,

digital image 는 연속적이지 않은 pixel 단위로 표현되고 image plane 은 physical measurement (cm) 로 표현된다. 이 차이를 를 사용하여 상쇄한다. 의 유닛은 이다. 카메라가 정사각형이 아닐수도 있으므로 (가로) 와 (세로) 를 따로 두었다. 이것을 위의 식에 적용하면, 하지만 operation 이 input parameters 중 하나, 로 들어가기 때문에, linear 하지 못하게 된다.

homogeneous-coordinate

위의 projection 을 linear 하게 만들기 위해서 하나의 차원을 추가한다. 그리고 이것을 homogeneous coordinate system 이라고 부른다.

예를 들어, Euclidean vector Homogeneous coordinates Homogeneous coordinates Euclidean coordinates

이것을 적용하면, = camera matrix

Complete Camera Matrix Model

위의 식은 skewness 와 distortion 을 무시하고 있다. 원래는 대부분의 카메라는 zero-skew 이지만, sensor manufacturing 단계에서 some degree of skewness 가 발생할 수 있다. Skewness 를 반영한 camera matrix 는, 그리고 이 camera matrix 는 5DoF 를 가지고 있다.

  • 2 for focal length
  • 2 for offset
  • 1 for skewness 그리고 이 parameters 들을 intrinsic parameters 라고 부른다.

Extrinsic Parameters

Quote

What if the information about the 3D world is available in a different coordinate system? Then, we need to include an additional transformation that relates points from the world reference system to the camera reference system. This transformation is captured by a rotation matrix and translation vector .

, where = a point in a world reference system

원래는 이지만 이러면 식이 복잡해지므로 여기서도 homogeneous coordinate 을 사용한다. 저 식을 다시 camera matrix 에 적용하면,

extrinsic parameters 이다.

Projection Matrix,

Overall, we find projection matrix has 11 DoF.

  • 5 from intrinsic camera matrix
  • 3 from extrinsic rotation
  • 3 from extrinsic translation