Geometric Calibration of The Hasselblad H3D Medium Format Camera
Geometric Calibration of The Hasselblad H3D Medium Format Camera
Geometric Calibration of The Hasselblad H3D Medium Format Camera
ABSTRACT:
The Hasselblad H3D digital camera, which is designed for professional studio shootings, is equipped with a 39 megapixel digital
back. It would be desirable to use this very high geometric resolution in photogrammetric applications. Unfortunately, the digital
back does not have a tight connection to the camera body. In addition, the unknown internal image processing algorithms and the
autofocus lens make it difficult to obtain a reliable camera calibration. In this paper, we investigate whether the Hasselblad H3D
camera can be calibrated for use in photogrammetric applications. Repeated calibrations were performed using a 2D (planar) target
as well as a 3D test field. Results of the individual calibration projects are compared in order to analyze the stability of the camera
over time. We also investigate if there is a fixed pattern of systematic image residuals (after removal of radial distortion), which
could be described by a distortion grid. Software tools were developed for semi-automatic calibration using the MATLAB
programming environment. This calibration software consists of a graphical user interface supporting automated and precise
measurement of circular point targets, robust calculation of initial orientation parameters and bundle adjustment with self-calibration
capabilities. The commercial software package PhotoModeler (Eos Systems Inc./Vancouver) was also used for comparison to derive
calibration parameters based on the planar target.
1. INTRODUCTION
In this paper we present repeated geometric calibrations of a Raw image data was converted to RGB 8 bit TIFF for further
Hasselblad H3D digital SLR camera (see Fig. 1). The H3D photogrammetric processing. The final image size was 5412 x
digital back holds a 39 megapixel image sensor (36.7 x 49 mm) 7216 (file size of 111 MB for uncompressed storage).
and can be detached from the camera body for maintenance.
Our equipment includes three HC lenses, i.e., 3.5/35 mm, The H3D has been successfully used in terrestrial
3.5/50 mm, and 2.8/80 mm. Image data can be stored on photogrammetric projects, e.g. for glacier monitoring and
internal CF cards (type II) or on external storage media architectural projects, and in helicopter based mapping projects
(Imagebank or computer). Image data (16 bit, color) is stored in (Raggam et al., 2007). A relative accuracy of point positioning
lossless compressed Hasselblad 3F RAW file format. Automatic of at least 1:10000 is needed for such applications. A reliable
autofocus must be switched off for photogrammetric work. The camera calibration must thus be performed for all three
internal tilt sensor must also be disabled for proper available lenses. Furthermore, we wanted to investigate the
photogrammetric image orientation. Hasselblad FlexColor stability of the H3D camera by comparing repeated calibrations
software (version 4.6.7) is needed for further image processing. (in total four calibrations during 9 months).
Digital correction of the (lateral) effect of color aberration is
carried out by “Digital APO Correction” (DAC). In order to derive calibration parameters from images taken of
2D or 3D targets in reasonable time, it was necessary to
implement a (semi-)automatic workflow for point measurement,
calculation of approximate exterior orientation (EO) parameters
and final bundle adjustment. This was done in a master thesis
(Fauner, 2008) and a bachelor thesis (Längauer, 2008). Results
were cross checked by the commercial PhotoModeler software
package of Eos Systems Inc. (PhotoModeler, 2008).
* Corresponding author.
1077
The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Vol. XXXVII. Part B1. Beijing 2008
1078
The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Vol. XXXVII. Part B1. Beijing 2008
It should be mentioned that the center of the ellipse does not This workflow was successfully implemented in a MATLAB
exactly coincide with the projected center of the circular tool (see Fig. 7). Image measurements for all images of the
marker. This small eccentricity is a function of the viewing calibration project are exported to an ASCII file for further
angle, marker size and focal length (Dold, 1997). The evaluation in the bundle adjustment.
evaluation of this formula (see Fig. 5) showed that maximum
eccentricity values of 1.25µm can be expected for the 2D target
(80mm lens) and even lower values (below 0.25µm) for the 3D
test field. The eccentricity error was therefore neglected for the
purposes of our study.
Eccentricity error
1
0.5
Eccentricity [μm]
-0.5
H3D 35 mm (Distance 4m)
H3D 50 mm (Distance 4m)
H3D 80 mm (Distance 4m)
-1
H3D 35 mm (Distance 2m)
H3D 50 mm (Distance 2m)
H3D 80 mm (Distance 2m) Figure 7. MATLAB tool for automated 2D measurements
-1.5
-80 -60 -40 -20 0 20 40 60 80
Viewing angle [deg] The following table gives an overview of the H3D calibration
Figure 5. Eccentricity error of the ellipse operator projects performed using the planar target:
Another error source concerning the ellipse operator was also Date Lens Focus # Images # Points
investigated. This error occurs when large radial distortion is June 25, 2007 35mm ∞ 16 2450
present in the images and the markers are imaged at a large 50mm ∞ 20 3150
image scale. In this case distortion may change even within a 80mm ∞ 19 2900
single imaged marker, which causes a non-linear deformation of July 1, 2007 35mm ∞ 17 2800
the ellipse, resulting in a positioning error. As can be seen from 50mm ∞ 18 3000
Fig. 6, this error is estimated to be well below 0.5µm for all 80mm ∞ 18 2800
lenses and can therefore also be neglected in this study. March 19, 2008 35mm ∞ 31 5200
50mm ∞ 23 3660
Distorted ellipse error 80mm ∞ 22 2950
0.5
35mm 1.5m 28 4660
Hasselblad H3D 35 mm
0.4
Hasselblad H3D 50 mm 50mm 2m 24 3800
0.3 Hasselblad H3D 80 mm 80mm 2m 19 2100
0.2
Table 1. Statistics of the 2D marker measurements
Positioning error [μm]
0.1
0
Automation of marker measurements is much more complicated
-0.1 for a 3D test field. We therefore decided to use a semi-
-0.2 automated approach where a limited number of manual
-0.3 measurements must be made for each image. Again, the
-0.4
necessary steps were implemented in a MATLAB tool (see Fig.
8):
-0.5
0 5 10 15 20 25 30
Radius [mm]
1. Manual measurement of at least four markers
2. Determination of approximate EO parameters using
Figure 6. Influence of large distortion on the ellipse operator the robust Müller/Killian resection algorithm
(modified after Killian, 1955: 171-179)
The following steps are necessary in order to fully automate the 3. Determination of refined EO and IO parameters and
process of marker measurement for a planar target (cp. radial distortion by a single image bundle adjustment
Längauer, 2008): (using additional manual measurements)
4. Re-projection of all visible markers into the image
1. Localization of (coded) markers in the image gives approximate positions for the ellipse operator
2. Determination of a 2D projective transformation 5. Automated precise marker measurement using the
between image and object coordinates ellipse operator
3. Estimation of radial distortion (optional)
4. Calculation of approximate positions for each marker Steps 3 to 5 can be performed iteratively until all markers have
5. Precise measurement using the ellipse operator been successfully measured. It is also possible to carry out steps
6. Determination of approximate EO parameters using a 1 to 4 for all images of the calibration project in advance and
robust resection algorithm (Killian, 1955: 97-104) run the (time consuming) automated marker measurement as a
1079
The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Vol. XXXVII. Part B1. Beijing 2008
batch job. Image measurements, approximate EO parameters within the different projects. Pixel size is a physical
and marker coordinates are exported to ASCII files, which can constant, so we decided to fix this parameter at a
directly be used for bundle adjustment. mean value, resulting in a pixel size of 6.8 x
6.801µm.
1080
The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Vol. XXXVII. Part B1. Beijing 2008
Radial distortion coefficients k1, k2 are not given here target: 2m, 3D test field: 5m). Focal length parameters differ by
explicitly. Fig. 9 shows the unbalanced radial distortion curves about 0.4% for the 35mm lens, 0.7% for the 50mm lens and
derived from these parameters. 4.0% for the 80mm lens (see Table 5). With lenses focused at
Unbalanced radial distortion
5m, the differences are 0.2% and 1.4% (for the 50mm and
100
80mm lens, respectively, see Table 6).
0
PHOBA: Distance Dependent Radial Distortion
3.5
-100
Distance 1.25m
Distance 1.5m
-200 3
Distance 1.75m
Distance 2m
Distortion [μm]
-300 2.5
-400
2
dr [µm]
-500
Hasselblad H3D 35 mm (2D Calibration) 1.5
Hasselblad H3D 35 mm (3D Calibration)
-600
Hasselblad H3D 50 mm (2D Calibration)
Hasselblad H3D 50 mm (3D Calibration)
1
Hasselblad H3D 80 mm (2D Calibration)
-700
Hasselblad H3D 80 mm (3D Calibration)
0.5
-800
0 5 10 15 20 25 30 35
Radius [mm]
0
0 5 10 15 20 25 30
Figure 9. Unbalanced radial distortion curves Radius [mm]
A clear difference can be seen between the 2D and 3D Figure 11. Distance dependent distortion (2D)
calibration methods for all three lenses (calibration on March
19, 2008). This is caused by the high correlation of the radial Calibration results cannot be improved significantly and the
distortion parameters with other parameters in the bundle same systematic residuals can be observed in the images. For
adjustment (focal length, EO parameters), especially for the 2D the 80mm lens and the 2D target, however, results are much
target. Errors will also propagate into the object coordinates better, because we get sharp images with the focused lens.
(model deformation).
March 19, 2008
PHOBA: Single Image Residual Plot Lens c [mm] x0 [µm] y0 [µm] σ0
20 35 mm 35.820 -61.9 278.8 0.7
15
±0.0006 ±0.3 ±0.3
50 mm 50.585 -102.0 235.1 0.7
10 ±0.0007 ±0.3 ±0.4
5 80 mm 85.465 -243.0 256.5 0.9
±0.0028 ±1.1 ±1.6
0
y [mm]
1081
The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences. Vol. XXXVII. Part B1. Beijing 2008
Lens RMS_X RMS_Y RMS_Z σ0 criterion is not met for the 2D calibration, whereas relative
[mm] [mm] [mm] accuracies of up to 1:20000 (planar positioning) and 1:4000 (Z
35 mm ±1.95 ±1.08 ±1.90 1.8 component) are achieved using the 3D calibration.
50 mm ±0.62 ±0.34 ±0.92 1.6
80 mm ±0.51 ±0.62 ±0.80 0.9 The H3D camera can therefore be used for close range
applications (e.g. architectural photogrammetry) without self-
calibration. If parameters of a 2D calibration are used, self-
Table 7. Quality check of the 2D camera calibration
calibration (focal length and radial distortion parameters)
should be applied if reliable control points are available. This is
Lens RMS_X RMS_Y RMS_Z σ0
also recommended for aerial (small scale) projects, even for 3D
[mm] [mm] [mm]
calibration.
35 mm ±0.30 ±0.18 ±0.64 0.5
50 mm ±0.34 ±0.32 ±0.64 0.6
80 mm ±0.19 ±0.34 ±0.59 0.5 4. REFERENCES
Table 8. Quality check of the 3D camera calibration Dold, J., 1997: Ein hybrides photogrammetrisches Industrie-
messsystem höchster Genauigkeit und seine Überprüfung.
Schriftenreihe, Studiengang Vermessungswesen, Universität der
3. CONCLUSIONS Bundeswehr München, Heft 54, pp. 26-32.
Marker measurement can be fully automated using the planar Fauner, A., 2008: Erstellung einer Applikation zur Kalibrierung
2D target. PhotoModeler and our in-house developed software von Digitalkameras. Unpublished master thesis, Graz
give very similar results. In the 3D case, automation is more University of Technology, in German, 91 p.
difficult and error prone. We will need to further improve our
software in order to reduce the number of gross errors (up to Kaufmann, V., Ladstädter, R., 2005: Elimination of color
5%). fringes in digital photographs caused by lateral chromatic
aberration. Proceedings of the XX International Symposium
If the ellipse operator is used for automated point CIPA 2005, 26 September - 1 October 2005, Turin, Italy, Vol.
measurements, the marker size must be chosen carefully, 1, pp. 403-408.
depending on the image scales used. If the size of the imaged
markers gets too small, the accuracy of the measurement will Killian, K., 1955: Über das Rückwärtsschneiden im Raum.
decrease. If markers get larger, systematic errors will increase Österreichische Zeitschrift für Vermessungswesen, 43, pp. 97-
(eccentricity error and ellipse deformation caused by radial 104, pp. 171-179.
distortion). A marker diameter of 20-50 image pixels has been
found to be the optimal size. Längauer, K., 2008: Entwicklung von MATLAB-Routinen zur
automatischen Bildkoordinatenmessung von kreisförmigen
Focal length and radial distortion are stable and can be Mustern in Digitalbildern für Zwecke der Kamerakalibrierung.
determined very accurately using the 3D test field. Using the Unpublished bachelor thesis, Graz University of Technology, in
2D target, these parameters show a much higher variation and German, 39 p.
lower significance. The principal point is very unstable, varying
up to 50µm between calibrations. This has been expected Luhmann, T., 1986: Ein Verfahren zur rotationsinvarianten
because of the unstable connection between the camera body Punktbestimmung. Bildmessung und Luftbildwesen, 4/1986, pp.
and the digital back. It is therefore necessary to recalibrate the 147-154.
camera each time the digital back has been removed (e.g. for
sensor cleaning). Luhmann, T., Robson, S., Kyle, S., Harley, I., 2006: Close
Range Photogrammetry: Principles, Methods and Applications.
A significant scale difference (1.5E-4) has been determined for Whittles Publishing, Dunbeath, Scotland, UK.
the x and y component of the sensor. This scale difference adds
up to 7.2µm (more than one pixel) for the longer sensor PhotoModeler, 2008: http://www.photomodeler.com (accessed
dimension. This results in a non-square pixel size of 6.800 x 1 April 2008)
6.801µm.
Raggam, H., Wack, R., Gutjahr, K., 2007: Mapping Capability
Setting focus to infinity for calibration causes problems when of a Low-Cost Aerial Data Acquisition Platform - First Results.
close range targets are used. Images out of focus will be ISPRS-Workshop, Commission VI, WG VI/4, "High Resolution
blurred, especially when narrow angle lenses are used and Earth Imaging for Geospatial Information", Hannover, May
object distance gets too short. Although the ellipse fitting 29th - June 1st, 2007.
operator can handle blurred images to a certain extent, accuracy
of image measurements will be reduced (e.g. for the 80mm lens
using the 2D target). 5. ACKNOWLEDGEMENTS
1082