# A Master-Slave Calibration Algorithm with Fish-Eye Correction

Authors: J. C. Neves; J. C. Moreno; H. Proença
Journal: Mathematical Problems in Engineering
 (2015)

---

## Abstract

Surveillance systems capable of autonomously monitoring vast areas are an emerging trend, particularly when wide-angle cameras are combined with pan-tilt-zoom (PTZ) cameras in a master-slave
configuration. The use of fish-eye lenses allows the master camera to maximize the coverage area
while the PTZ acts as a foveal sensor, providing high-resolution images of regions of interest. Despite
the advantages of this architecture, the mapping between image coordinates and pan-tilt values is
the major bottleneck in such systems, since it depends on depth information and fish-eye effect correction. In this paper, we address these problems by exploiting geometric cues to perform height
estimation. This information is used both for inferring 3D information from a single static camera
deployed on an arbitrary position and for determining lens parameters to remove fish-eye distortion.
When compared with the previous approaches, our method has the following advantages: (1) fish-eye
distortion is corrected without relying on calibration patterns; (2) 3D information is inferred from a
single static camera disposed on an arbitrary location of the scene.


---

## Body

## 1. Introduction

The coexistence of humans and video surveillance cameras in outdoor environments is becoming commonplace in modern societies. This new paradigm has raised the interest in automated surveillance systems capable of inferring useful information from the scene (e.g., person identification, action recognition, and abnormal event detection). However, these systems are designed for monitoring vast areas, which highly decreases the resolution of regions of interest.To address this issue, several approaches have exploited pan-tilt-zoom (PTZ) cameras, since the mechanical properties of these devices allow zooming in on arbitrary scene locations. Most PTZ-based methods adopt a master-slave configuration, where a static camera monitors a large surveillance area to instruct the PTZ camera to zoom in on regions of interest. While several advantages can be outlined, intercamera calibration is the major bottleneck of this configuration, since an accurate mapping from image coordinates to pan-tilt space requires depth information and distortion correction, as illustrated in Figure1. The existing approaches [1–4] rely on rough approximations or on the use of multiple static devices to perform triangulation. Also, they assume the pin-hole model for the static camera. Such assumption is highly restrictive, since in surveillance scenarios fish-eye lenses are commonly used to increase the coverage area and the distortion introduced by these lenses is nonnegligible.Figure 1
The major problems in the calibration of master-slave systems. (a) Inaccurate estimation of the pan and tilt angles when depth information is not considered. (b) Nonnegligible distortion introduced by the use of fish-eye lenses.
(a)
(b)In this paper, we propose a master-slave calibration algorithm capable of both removing the fish-eye distortion and inferring an accurate mapping between the static and the active camera without requiring calibration patterns. Our approach exploits geometric cues—which are typically available in urban environments—to measure objects in the scene. As in [5], the vanishing line of a reference plane in the scene and one vertical vanishing point are used to infer the height of static objects or subjects walking throughout a surveillance scenario. This information has a twofold goal: (1) to determine the properties of a fish-eye lens and (2) to determine the 3D position of a subject. In the former, the height of an object is exploited to determine the angle of view and the projection type of the lens to rectify the image coordinates according to the pin-hole projective transform. In the later, subjects height is imposed to the projective transform to determine its 3D location, enabling the correct estimation of pan-tilt values.When compared with the previous approaches, our method has the following advantages:(1) fish-eye distortion is corrected without relying on calibration patterns; (2) 3D information is inferred from a single static camera; (3) cameras can be disposed on an arbitrary location of the scene.The remainder of this paper is organized as follows. Section2 summarizes the most relevant master-slave approaches as well as the existing fish-eye correction strategies. Section 3 describes the proposed method. The experimental evaluation of the proposed algorithm is presented and discussed in Section 4. Finally, Sections 5 and 6 outline the major conclusions of this work and its future direction.


## 2. Related Work

Most fish-eye correction approaches focus on defining a mapping from the viewing sphere to the view plane using polynomial functions or fish-eye projection models [6–8]. Straight line preservation is a strategy commonly used to infer the correction models, for which two distinct approaches have been proposed: (1) the use of planar calibration patterns [9–14] and (2) automatic extraction of geometric constraints from the scene. In the former, a set of calibration points, arranged in straight lines, are used to minimize the lines curvature or the reprojection error when full calibration is considered. The later uses a set of automatically detected key points to impose epipolar geometry constraints in multiple views of the scene [15–18]. Another strategy is to use a semiassisted straight line detection [19].Regarding the integration of fish-eye correction in master-slave systems, [20] is the only work that proposed a full integrated system. However, this approach does not take into account depth information which turns the mapping between both devices as an ill-posed problem. To alleviate the mapping inaccuracies, the cameras are assumed to be side-by-side.To address the lack of depth information in master-slave systems, a large number of approximations have been proposed. The use of manually constructed look-up tables [21] or linear interpolations [22, 23] is one alternative to perform the static to pan-tilt mapping. To alleviate the burden of manual mapping, automatic calibration approaches infer an approximate relation between camera images using feature point matching [20].Some alternative approaches have also been presented in [2, 24, 25]. In [24] multiple consecutive frames were used to approximate target depth. However, this strategy is time-consuming and, consequently, increases the delay between issuing the order and directing the PTZ. You et al. [25] estimated the relationship between the static and the active camera using a homography for each image of the mosaic derived from the slave camera. Del Bimbo et al. [2] relied on feature point matching to automatically estimate a homography (H), relating the master and slave views with respect to the reference plane. H is used to perform an online mapping between the feet locations in the master to the slave camera and also determine the reference plane vanishing line from the one manually marked on the static view. Despite being capable of determining head location, this strategy has to set the active camera in an intermediate zoom level to cope with the uncertainties of vanishing line location. In contrast to the previous approaches, the use of multiple static cameras has also been introduced to solve the lack of depth information in master-slave systems. However, these systems either rely on stereographic reconstruction [26], which is computationally expensive, or dispose the cameras in a specific configuration to ease object triangulation [3, 4], which is not practical for real-world scenarios.


## 3. Proposed Method

In this section the proposed method is divided into two distinct phases: the fish-eye correction method and the master-slave calibration algorithm. The former is used to rectify the image coordinates to the projective projection, on which our master-slave calibration depends. The later shows how to determine the 3D position of a subject’s head in the scene and the correspondent pan and tilt values.


### 3.1. Fish-Eye Correction

While the pin-hole camera projection can be modelled by the perspective projectionr=ftan⁡(θ), fish-eye lenses introduce one of the following projections described in Table 1, r being the distance to the principal point, f the focal distance, and θ the angle between the incident ray and the optical axis. Figure 2 illustrates the effect of fish-eye lenses on the projection of an incident ray when compared with the projective projection of the pin-hole model. rd and ru represent the radial positions where a ray is projected when a fish-eye lens is used and when it is not, respectively. This model provides evidence that the radial position yielded by a projective projection model can be recovered by establishing a relation between ru and rd. Although a more general model exists—the polynomial fish-eye transform (PFET) [27]—they require a larger amount of ground truth data, and for the majority of the lenses, these models are a good approximation of the fish-eye projective models described in Table 1 [28].Table 1
Projection models of the fish-eye lenses.
Projection
Model
Equidistance
r
=
f
θ
Orthogonal
r
=
2
f
sin
⁡
θ
Equisolid angle
r
=
2
f
s
i
n
θ
2
Stereographic
r
=
2
f
t
a
n
θ
2Figure 2
Illustration of the fish-eye projection model. In the pin-hole camera model, a ray of light defining an angleθ with the optical axis is projected at a distance ru from the principal point. The use of a fish-eye lens forces the ray to be projected at ru according to the projection type of the lens.Given the pin-hole camera projection modelru=ftan⁡(θ) and a fish-eye projection model rd=fκ(θ), a relation between ru and rd is given by(1)ru=ftan⁡κ-1rdf,where κ is one fish-eye projection function.Considering thatf is necessary to define (1), it can be determined by(2)f=wuκθmax/2,and thus(3)ru=wuκθmax/2tan⁡κ-1rd·κθmax/2wu,where θmax is the horizontal angle of view and wu represents the image width in pixels. While determining wu being trivial, θmax and κ require knowledge about the lens properties, which are often unavailable.As such, we argue that the height of scene objects can be used to estimateθmax and κ. The insight behind this idea is that image-based height estimation methods rely on the pin-hole camera model and thus yields incorrect height measurements in distorted images. Therefore, fish-eye correction is regarded as a minimization problem, where the correct lens parameters are the ones which minimize the height estimation error in the corrected image.In order to perform height estimation from a single camera, we build on the work of Criminisi et al. [5]. We use three vanishing points (vx,vy,vz) for the x-, y- and z- axis, determined by the intersection of parallel lines (points at infinite) drawn manually in the image scene. vx and vy are determined from parallel lines contained in the reference plane, so that the line l defined by these points represents the plane vanishing line. The point vz does not belong to reference plane since it is the intersection of two parallel lines perpendicular to the reference plane.Givenl, vz, the top (pt), and bottom (pb) points in an image, the height of an object can be obtained by(4)Z=-pb×ptαl·pbv×pt,where α=-prb×prt/(Zr(l·prb)v×prt), whereas prt and prb are the top and base points of a reference object in the image with height equal to Zr.Considering that the vanishing points are marked on the original image, (3) is used to correct their locations and estimate the height of an object with respect to the lens parameters, hereinafter denoted by Z(θ,κ). Given the height Zo of an object in the scene, the angle of view (θmax) and the projection type (κ) can be estimated by(5)θmax∗,κ∗=argminθ,κ⁡Zo-Zθ,κ.


### 3.2. Master-Slave Calibration

First, we introduce the notation used to describe the proposed master-slave calibration algorithm:(i)
(X,Y,Z): the 3D world coordinates.(ii)
(Xs,Ys,Zs): the 3D coordinates in the static camera referentiality.(iii)
(Xp,Yp,Zp): the 3D coordinates in the PTZ camera referentiality.(iv)
(xs,ys): the 2D coordinates in the static camera referentiality.(v)
(xp,yp): the 2D coordinates in the PTZ camera referentiality.(vi)
(xh,yh): the head position of a subject in the static camera image plane.(vii)
(θp,θt): the pan, tilt parameters of the PTZ camera.In the pin-hole camera model, the projective transformation of 3D scene points onto the 2D image plane is governed by(6)λxhyh1=KR∣T︸≔PXYZ1,where λ is a scalar factor and K and R∣T represent the intrinsic and extrinsic camera matrices, which define the projection matrix P.Letph=(xh,yh) denote the head position of a subject in the static camera image plane. Solving (6) for (X,Y,Z) yields an underdetermined system, that is, infinite possible 3D locations for this point. As such, we propose to solve (6) by determining one of the 3D components previously.By assuming a world coordinate system (WCS) where theXY plane corresponds to the reference ground plane of the scene, the Z component of a subject’s head corresponds to its height (Zx). The use of height information reduces (6) to(7)λph1=p1p2Zxp3+p4XYW,where λ is a scalar factor and pn,n∈{1,2,3,4}, is the set of column vectors of the projection matrix P (refer to Appendix for the demonstration of (7)). In consequence, our algorithm works on the static camera to determine ph and infer the subject position in the WCS using its height.Assuming that there is no displacement between the PTZ center of rotation and the optical center, the coordinates of 3D world point (X,Y,Z) in the PTZ referentiality are given by(8)XpYpZp=R∣TXYZ1.The correspondent pan and tilt angles can be therefore obtained by(9)θp=arctan⁡YpXp,θt=arccos⁡YpXp2+Yp2+Zp2.Considering that both fish-eye correction and master-slave calibration algorithms depend on an accurate height estimation, it is important to note that the ground is assumed to be approximately plane. The validity of our method in approximately plane scenarios has been assessed in Section4.


## 3.1. Fish-Eye Correction

While the pin-hole camera projection can be modelled by the perspective projectionr=ftan⁡(θ), fish-eye lenses introduce one of the following projections described in Table 1, r being the distance to the principal point, f the focal distance, and θ the angle between the incident ray and the optical axis. Figure 2 illustrates the effect of fish-eye lenses on the projection of an incident ray when compared with the projective projection of the pin-hole model. rd and ru represent the radial positions where a ray is projected when a fish-eye lens is used and when it is not, respectively. This model provides evidence that the radial position yielded by a projective projection model can be recovered by establishing a relation between ru and rd. Although a more general model exists—the polynomial fish-eye transform (PFET) [27]—they require a larger amount of ground truth data, and for the majority of the lenses, these models are a good approximation of the fish-eye projective models described in Table 1 [28].Table 1
Projection models of the fish-eye lenses.
Projection
Model
Equidistance
r
=
f
θ
Orthogonal
r
=
2
f
sin
⁡
θ
Equisolid angle
r
=
2
f
s
i
n
θ
2
Stereographic
r
=
2
f
t
a
n
θ
2Figure 2
Illustration of the fish-eye projection model. In the pin-hole camera model, a ray of light defining an angleθ with the optical axis is projected at a distance ru from the principal point. The use of a fish-eye lens forces the ray to be projected at ru according to the projection type of the lens.Given the pin-hole camera projection modelru=ftan⁡(θ) and a fish-eye projection model rd=fκ(θ), a relation between ru and rd is given by(1)ru=ftan⁡κ-1rdf,where κ is one fish-eye projection function.Considering thatf is necessary to define (1), it can be determined by(2)f=wuκθmax/2,and thus(3)ru=wuκθmax/2tan⁡κ-1rd·κθmax/2wu,where θmax is the horizontal angle of view and wu represents the image width in pixels. While determining wu being trivial, θmax and κ require knowledge about the lens properties, which are often unavailable.As such, we argue that the height of scene objects can be used to estimateθmax and κ. The insight behind this idea is that image-based height estimation methods rely on the pin-hole camera model and thus yields incorrect height measurements in distorted images. Therefore, fish-eye correction is regarded as a minimization problem, where the correct lens parameters are the ones which minimize the height estimation error in the corrected image.In order to perform height estimation from a single camera, we build on the work of Criminisi et al. [5]. We use three vanishing points (vx,vy,vz) for the x-, y- and z- axis, determined by the intersection of parallel lines (points at infinite) drawn manually in the image scene. vx and vy are determined from parallel lines contained in the reference plane, so that the line l defined by these points represents the plane vanishing line. The point vz does not belong to reference plane since it is the intersection of two parallel lines perpendicular to the reference plane.Givenl, vz, the top (pt), and bottom (pb) points in an image, the height of an object can be obtained by(4)Z=-pb×ptαl·pbv×pt,where α=-prb×prt/(Zr(l·prb)v×prt), whereas prt and prb are the top and base points of a reference object in the image with height equal to Zr.Considering that the vanishing points are marked on the original image, (3) is used to correct their locations and estimate the height of an object with respect to the lens parameters, hereinafter denoted by Z(θ,κ). Given the height Zo of an object in the scene, the angle of view (θmax) and the projection type (κ) can be estimated by(5)θmax∗,κ∗=argminθ,κ⁡Zo-Zθ,κ.


## 3.2. Master-Slave Calibration

First, we introduce the notation used to describe the proposed master-slave calibration algorithm:(i)
(X,Y,Z): the 3D world coordinates.(ii)
(Xs,Ys,Zs): the 3D coordinates in the static camera referentiality.(iii)
(Xp,Yp,Zp): the 3D coordinates in the PTZ camera referentiality.(iv)
(xs,ys): the 2D coordinates in the static camera referentiality.(v)
(xp,yp): the 2D coordinates in the PTZ camera referentiality.(vi)
(xh,yh): the head position of a subject in the static camera image plane.(vii)
(θp,θt): the pan, tilt parameters of the PTZ camera.In the pin-hole camera model, the projective transformation of 3D scene points onto the 2D image plane is governed by(6)λxhyh1=KR∣T︸≔PXYZ1,where λ is a scalar factor and K and R∣T represent the intrinsic and extrinsic camera matrices, which define the projection matrix P.Letph=(xh,yh) denote the head position of a subject in the static camera image plane. Solving (6) for (X,Y,Z) yields an underdetermined system, that is, infinite possible 3D locations for this point. As such, we propose to solve (6) by determining one of the 3D components previously.By assuming a world coordinate system (WCS) where theXY plane corresponds to the reference ground plane of the scene, the Z component of a subject’s head corresponds to its height (Zx). The use of height information reduces (6) to(7)λph1=p1p2Zxp3+p4XYW,where λ is a scalar factor and pn,n∈{1,2,3,4}, is the set of column vectors of the projection matrix P (refer to Appendix for the demonstration of (7)). In consequence, our algorithm works on the static camera to determine ph and infer the subject position in the WCS using its height.Assuming that there is no displacement between the PTZ center of rotation and the optical center, the coordinates of 3D world point (X,Y,Z) in the PTZ referentiality are given by(8)XpYpZp=R∣TXYZ1.The correspondent pan and tilt angles can be therefore obtained by(9)θp=arctan⁡YpXp,θt=arccos⁡YpXp2+Yp2+Zp2.Considering that both fish-eye correction and master-slave calibration algorithms depend on an accurate height estimation, it is important to note that the ground is assumed to be approximately plane. The validity of our method in approximately plane scenarios has been assessed in Section4.


## 4. Experimental Results

In this section, the evaluation of the proposed method was divided into two distinct phases:(1) fish-eye correction and (2) estimation of the image coordinate to pan-tilt mapping.


### 4.1. Performance Evaluation: Fish-Eye Correction

The proposed fish-eye correction method was tested using a surveillance camera equipped with a fish-eye lens installed in an outdoor parking lot. Three pairs of parallel lines were manually annotated on the distorted image to estimate the location of one vertical and two horizontal vanishing points. Additionally, two reference objects were annotated and measured as depicted in Figure3(a). These data were used to estimate the height deviation with respect to θmax using the different fish-eye projection functions, and the attained results are presented in Figure 3(b). The comparative analysis between the different fish-eye projection types supports the idea that lens parameters can be inferred by minimizing the error of automatic height estimation. According to (3), the pair (κ,θmax)={orthogonal,112.5∘} would be chosen as the lens parameters, which constitutes a good approximation to the real angle of view of the lens, 112.6∘.Figure 3
Evaluation of the proposed fish-eye correction method. (a) The surveillance scenario used to perform the experimental validation of the proposed approach. The reference object is annotated in yellow while the objects used to perform distortion correction are presented in red. Lines representing the direction of the vanishing points are shown in black color. (b) The height estimation error, in centimeters, when using different fish-eye projections and angles of view to correct the image distortion.
(a)
(b)In order to validate the effectiveness of our approach, a comparison with pattern-based approaches (CB) was conducted by determining the average reprojection error when calibrating the camera using images corrected with the different strategies. For this purpose, a checkerboard was used and 60 marks were disposed in the scene and their image and world coordinates were manually determined. In both strategies, the intrinsic and extrinsic parameters of the camera were determined with the method described in [29]. The distribution of the reprojection error using both strategies is presented in Figure 4(a), whereas Figures 4(b) and 4(c) illustrate the displacement between the correct positions (in green) and the projected positions (in red) for CB and our method, respectively. The comparative analysis of the reprojection error of both approaches provides evidence that the proposed method provides a good approximation to typical fish-eye removal approaches without requiring the use of a planar calibration pattern.Figure 4
Comparative analysis between the proposed fish-eye correction approach and fish-eye correction with calibration patterns. (a) The reprojection errors attained using a calibration pattern (CB) to correct fish-eye distortion and using the proposed method. Notice the residual difference with the traditional calibration approach. The reprojected pixel locations are illustrated in (b) and (c) for CB and for our approach, respectively. (d) Comparative analysis of the height estimation error in different locations of the scene. (f) The pan-tilt angle error when observing a human being in different scene locations.
(a)
(b)
(c)
(d)
(e)
(f)Additionally, a comparative analysis of the height estimation performance was conducted. This performance was measured with respect to the deviationΔh to the true height of the target. The height of a human being was used to assess Δh in 50 different scene locations, as illustrated in Figure 4(e). As shown in Figure 4(d), the distribution of Δh is highly similar for both approaches and in average an accurate height estimation is attained.


### 4.2. Performance Evaluation: Intercamera Calibration

To assess the accuracy of the proposed approach, we used the following procedure: given(xs,ys) and its corresponding (xp,yp) point, the algorithm error (Δθ) was determined by the angular difference between the estimated (Xp,Yp,Zp) and the 3D ray associated with (xp,yp). When compared with the typical reprojection error, this strategy is advantageous since it allows a direct comparison with the camera angle of view.To assess the overall performance of our approach, three different persons were recorded—comprising more than 300 frames—byboth the static and the active camera while walking throughout a surveillance scenario. Both PTZ and wide-view images were annotated to mark the pixel location of the head and feet. Using these data, the system was evaluated with respect toΔθ, which was useful to determine if an object of interest will be successfully imaged when using the PTZ at the maximum zoom.Figure4(f) illustrates the attained results for the proposed method with respect to the pan and tilt error. The obtained results provide evidence that in the majority of the cases the displacement between the estimated pan-tilt values and the center of the region of interest is less than the field of view of the PTZ camera when using a 30-time zoom magnification, which corresponds to the maximum capability of state-of-the-art PTZ cameras.


## 4.1. Performance Evaluation: Fish-Eye Correction

The proposed fish-eye correction method was tested using a surveillance camera equipped with a fish-eye lens installed in an outdoor parking lot. Three pairs of parallel lines were manually annotated on the distorted image to estimate the location of one vertical and two horizontal vanishing points. Additionally, two reference objects were annotated and measured as depicted in Figure3(a). These data were used to estimate the height deviation with respect to θmax using the different fish-eye projection functions, and the attained results are presented in Figure 3(b). The comparative analysis between the different fish-eye projection types supports the idea that lens parameters can be inferred by minimizing the error of automatic height estimation. According to (3), the pair (κ,θmax)={orthogonal,112.5∘} would be chosen as the lens parameters, which constitutes a good approximation to the real angle of view of the lens, 112.6∘.Figure 3
Evaluation of the proposed fish-eye correction method. (a) The surveillance scenario used to perform the experimental validation of the proposed approach. The reference object is annotated in yellow while the objects used to perform distortion correction are presented in red. Lines representing the direction of the vanishing points are shown in black color. (b) The height estimation error, in centimeters, when using different fish-eye projections and angles of view to correct the image distortion.
(a)
(b)In order to validate the effectiveness of our approach, a comparison with pattern-based approaches (CB) was conducted by determining the average reprojection error when calibrating the camera using images corrected with the different strategies. For this purpose, a checkerboard was used and 60 marks were disposed in the scene and their image and world coordinates were manually determined. In both strategies, the intrinsic and extrinsic parameters of the camera were determined with the method described in [29]. The distribution of the reprojection error using both strategies is presented in Figure 4(a), whereas Figures 4(b) and 4(c) illustrate the displacement between the correct positions (in green) and the projected positions (in red) for CB and our method, respectively. The comparative analysis of the reprojection error of both approaches provides evidence that the proposed method provides a good approximation to typical fish-eye removal approaches without requiring the use of a planar calibration pattern.Figure 4
Comparative analysis between the proposed fish-eye correction approach and fish-eye correction with calibration patterns. (a) The reprojection errors attained using a calibration pattern (CB) to correct fish-eye distortion and using the proposed method. Notice the residual difference with the traditional calibration approach. The reprojected pixel locations are illustrated in (b) and (c) for CB and for our approach, respectively. (d) Comparative analysis of the height estimation error in different locations of the scene. (f) The pan-tilt angle error when observing a human being in different scene locations.
(a)
(b)
(c)
(d)
(e)
(f)Additionally, a comparative analysis of the height estimation performance was conducted. This performance was measured with respect to the deviationΔh to the true height of the target. The height of a human being was used to assess Δh in 50 different scene locations, as illustrated in Figure 4(e). As shown in Figure 4(d), the distribution of Δh is highly similar for both approaches and in average an accurate height estimation is attained.


## 4.2. Performance Evaluation: Intercamera Calibration

To assess the accuracy of the proposed approach, we used the following procedure: given(xs,ys) and its corresponding (xp,yp) point, the algorithm error (Δθ) was determined by the angular difference between the estimated (Xp,Yp,Zp) and the 3D ray associated with (xp,yp). When compared with the typical reprojection error, this strategy is advantageous since it allows a direct comparison with the camera angle of view.To assess the overall performance of our approach, three different persons were recorded—comprising more than 300 frames—byboth the static and the active camera while walking throughout a surveillance scenario. Both PTZ and wide-view images were annotated to mark the pixel location of the head and feet. Using these data, the system was evaluated with respect toΔθ, which was useful to determine if an object of interest will be successfully imaged when using the PTZ at the maximum zoom.Figure4(f) illustrates the attained results for the proposed method with respect to the pan and tilt error. The obtained results provide evidence that in the majority of the cases the displacement between the estimated pan-tilt values and the center of the region of interest is less than the field of view of the PTZ camera when using a 30-time zoom magnification, which corresponds to the maximum capability of state-of-the-art PTZ cameras.


## 5. Conclusions

In this paper, we introduced a master-slave calibration algorithm capable of removing fish-eye distortion and accurately estimating the mapping from the image coordinates to pan-tilt space without depending on calibration patterns. The geometrical cues typically available in urban scenes were exploited to perform height estimation, which can be used to infer the parameters of fish-eye lenses and also the 3D position of subjects in the scene.An experimental evaluation in a real surveillance scenario provided evidence that fish-eye correction based on height estimation attains highly similar results to typical pattern-based approaches. Regarding the master-slave calibration algorithm, the pan and tilt errors of the method are confined to a tight range of values which in the majority of the cases do not exceed the PTZ field of view.


## 6. Further Work

In the future, we aim at determining how this approach can be extended to more general fish-eye correction models while maintaining the amount of ground truth data as low as possible. For that purpose, we will investigate how multiple height measurements extracted from a walking human can be informative enough to infer the correct parameters of a PFET.



---

*Source: 427270-2015-09-20.xml*