The subsequent section investigates how changing temperature affects the IOP separated in self-heating and ambient temperature impacts. The obtained knowledge is used to simulate temperature-related changes of the camera parameters in order to assess the error metric in object space.
4.1. Self-Heating Temperature Impacts at Smartphone Cameras
Cold-started and warm-started cameras are considered as two individual cameras to be investigated.
Table 2 shows the deviations between the last and the first estimated variables after 150 measurements (25 min of heating), respectively for each investigated camera and two measurement periods M1, M2. In
Figure 3, the difference of the estimated IOP to the expected parameters, corresponding to the initial values when the cameras were not affected by temperature variations, are visualised. In addition to this, the differences of the standard deviation of the unit weight
are visualised that indicate possible changes of the measurement accuracy.
All smartphone experiments reveal that the higher the rise in temperature, the more the principal point
is shifting and the more the principal distance
c is increasing. These effects are also visible in
Table 3, where the image content seems to move although the camera device, i.e., the smartphone, was fixed.
Figure 4 confirms the changes in the principal distance and the principal point resulting in directional zooming effects. Similar observations were made by [
14]. Focussing on the different camera types, the principle point of the LG Google Nexus 5 camera moves to the lower right, whereas the principle point of the Samsung Galaxy S8 camera moves to the upper left. This may be related to the mounting direction of the built-in camera sensors that may be rotated by 180
. Having cold started cameras with a strong increase of the device temperature, the changes in the IOP are significantly higher compared to warm started cameras. The principle point of the Samsung Galaxy S8 camera is changing nearly twice as much as the principle point of the LG Google Nexus 5 camera (about 40 vs. 16 pixels in terms of cold started cameras and 11 vs. 8 pixels in terms of warm started cameras). It is highly likely that this is related to the greater temperature increases of the Samsung device compared to the Google Nexus smartphone that was already expected from the different hardware designs. This finding would support the assumption of housing deformations affecting the exterior orientation of the camera module and/or internal camera deformations due to different kinds of heat dissipation.
The extent to which the principal distance
c is changing is influenced by the magnitude of temperature change and shows similar results for both tested cameras (average deviation is about 0.007 mm at cold start and 0.003 mm at warm start). This would mean a depth of field variation of 5 mm and 3 mm (Nexus/ S8) for cold started- and 3 mm and 2 mm (Nexus/S8) for warm started devices assuming a camera whose focus distance was set to 1 m. These changes in the captured images lead to decreasing image point measurement quality, which becomes obvious by the increasing noise reflected in the standard deviations
and in the measurements of especially the principal distance and the radial lens distortion in the later measurements. It can be observed that the IOP changes towards an equilibrium, which was also observed by e.g., [
14,
20,
39], when smartphones are protected against overheating by reducing the CPU load. Moreover, the camera parameters and the temperature reveal a linear relationship that is further investigated in
Section 4.3.
Considering the increase of measurement uncertainties, it is important to evaluate if the estimated IOP-variations are significant. For that purpose, temperature-related two-sided moving variances
are calculated over
consecutive measurements for each investigated camera parameter
k. They are compared to the two-sided moving averages of
squared standard deviations
of each investigated camera parameter
k (see
Section 3.1) via f-test to examine if
is significantly greater than
. Usually, f-test requires measurements with a normal distribution, but a large sample size (
) can excuse violations of the normality assumption according to [
40]. The size of the moving window was set to
. The test parameters are given in
Table 4 assuming a significance level of
.
The f-test was performed for each time stamp of one measurement series (provided that the moving variance could be calculated over
measurements) summarising the number of success. Success means that the null hypothesis could be rejected, i.e., the temperature-related variances are significantly greater than the measurement uncertainties and thus significant. The success ratios
(number of success divided by the total number of tests) are given in
Table 5 summarising the test results from measurement series M1 and M2, respectively.
The results indicate that variations due to temperature changes are significant with regards to individual measurement series. In a few individual measurements, where could not be rejected, measurement uncertainties are greater than temperature-related deviations. This is usually the case when the test field drifted out of the focus resulting in an insufficient estimation of the image coordinates and thus leading to higher measurement uncertainties.
4.2. Temperature Impacts at the Stability of RPi Cameras
Influences of changing temperatures at the camera stability of RPi cameras are shown in
Figure 5.
The relation between the individual IOP changes due to camera exposure to heating and cooling are compared to the initial values using the same approach as for the smartphone camera
Section 4.1. The estimated changes in the IOP of RPi camera v2.1 with 3 mm lens are highly correlated with temperature changes in both measurements, which is further examined in
Section 4.3.
For the RPi camera module, back and forth focus shifts due to expansion and contraction of the principal distances
c because of alternating temperatures are revealed. The principal point (
) is changing as well. When the temperature rises, the point moves into one direction (lower left) and when the temperature decreases, the point moves almost completely back along the same direction. Both can be seen in
Table 6 and
Figure 6; the image content moves wave-like and is out of focus when temperature rises and again in focus when temperature decreases. It is of special interest that the image points do not return to their starting position when the temperature changes to its initial state. For that purpose, some permanent changes of the camera geometry due to temperature changes must be assumed either due to changes of the relationship between sensor board and projection center or due to camera movements. Similar to the smartphone cameras, the changing interior geometry causes strong fluctuations in the image point measurement accuracies, which results in lower reliabilities of the estimated parameters when the camera is exposed to direct radiation. The influence of the temperature changes at the measurement accuracy can be seen towards the standard deviation of the unit weight
which is up to 3.5 times higher at the maximum temperature compared to the initial measurement accuracy. These conclusions are also confirmed by f-test, which was performed in the same way as for the smartphone measurements (see
Section 4.1). The success rates
amount to
,
,
,
,
,
,
and
.
4.3. Statistical Evaluation of Temperature Dependencies
The experiments reveal a linear relationship between temperature changes and the determined IOP (see
Figure 7). To assess the statistical relevance of the relation between temperature change and IOP stability, the Pearson correlation coefficients
are calculated for the estimations of the the interior orientation parameter
k and the simultaneously measured temperature
t. To estimate the significance of the correlation coefficient between independently estimated variables, t-test is applied to determine the significance levels given by the
p-values (must be less than
).
A high correlation of nearly 100% between temperature and principal distance
c as well as principal point (
) is revealed in this study (see correlation matrix in
Figure 8). Thereby, reversed correlations of the principal point coordinates
and
(except for the RPi camera) close to
are noticeable. Moderate correlations between temperature and radial lens distortion parameters
are observable. Furthermore, strong correlations between temperature and decentering lens distortion, described by
, are noticeable for the RPi camera and the smartphone camera integrated in the LG Google Nexus 5. It is worth mentioning that the measurement accuracies
of the Samsung Galaxy S8- and the RPi measurements are highly correlated with the temperature but not the measurements made with the LG Google Nexus 5 camera. The reason can be found considering the image clips given in
Table 3 and the parameter deviations shown in
Figure 3. The images of LG Google Nexus 5 appear to be less effected by focus changes than the images of Samsung Galaxy S8. One reason might be that the direction of movement of the principal point of the camera of the LG Google Nexus 5 counteracts the extension of the principal distance whereas the moving direction of Samsung Galaxy S8’s principal point amplifies the impact of the change of the focus (see
Figure 4). Together with the correlation coefficients,
p-values were determined which were less than the significance level
in all calculations. Thus, the determined correlations are considered to be significant for all assessed parameters.
Using Monte-Carlo simulations to assess temperature-related measurement errors in object space requires knowledge about the correlations between the IOP, although they are reduced as far as possible by using an adapted 3D test-field- and camera configuration. The correlations were obtained from the variance-covariance matrices, which were also calculated during camera parameter determination. The correlations between the parameters should be consistent within the measurements of one measurement series because of a constant camera configuration. However, temperature-related measurement uncertainties resulted in noise of the correlation coefficients. The noise amounts to
using warm started smartphone cameras and the RPi camera. With regards to cold started smartphone cameras, the noise is getting bigger at the end of the measurement series when the temperature increase is at its highest. To further obtain one significant value to use in the subsequent Monte-Carlo simulations, the median values were determined considering all observations in both given series M1 and M2 (see
Figure 9).
Most parameters of the IOP are less- or completely uncorrelated. Significant correlations are reported between the parameters of the radial lens distortion (
) and between the principal point and the parameters of the decentering lens distortion (
). As described by [
33], these mathematically correlations are related to the principle of camera calibration and cannot be avoided. However, all estimated correlations are considered in the Monte-Carlo simulations to ensure plausible sets of IOP in agreement with temperature-induced changes.
4.4. Temperature-Related Error Assessment in Object Space: Results of Monte-Carlo Simulation
Monte-Carlo simulation was applied for each investigated camera as described in
Section 3.2, i.e., 50.000 sets of modified IOP are simulated that can result from temperature change. The simulated parameters were used to project a 3 × 3 raster of image points onto a virtual object plane parallel to the camera sensor in a distance of 10 m. The results are visualised in
Figure 10 where the point color refers to the Euclidean distance
between the projected object point and the expected, red-coloured object point. The Euclidean distances, which are used to determine the magnitude of errors due to temperature change, were clustered in distances <1.5 cm (dark green), 1.5–5.0 cm (light green) and 5–10 cm (yellow). Errors >10 cm (pink) appeared hardly ever.
As might be expected, the individual plots of
Figure 10 reveal that cold started smartphone cameras show significantly higher errors in the point projection than warmed up cameras.
Table 7 gives the percentage of point projections in relation to the visualised error clusters.
Considering all 50.000 iterations, the probability of temperature-related errors less than 1.5 cm amounts to 98% and 93% using the warmed up smartphone cameras of the LG Google Nexus 5 and the Samsung Galaxy S8 smartphone. Deviations of more than 5 cm are unlikely for both cameras. Similar results could be achieved for the RPi camera whose initial device temperature was similar to the device temperatures of the warm started smartphone cameras. Considering the cold-started smartphone cameras of LG Google Nexus 5 and Samsung Galaxy S8, only 67% and 20% of all projected points show deviations less than 1.5 cm. It has also been shown for the S8 camera that errors up to 10 cm are likely. Focussing on the extension and orientation of the deviations between the expected and the projected object point coordinates, which are visualised in
Figure 11 by light orange
and dark orange
points, the errors show directionality for all investigated cameras. For the most cameras, the deviations are larger in
X- than in
Y-direction due to the greater scattering of the principal point in
-direction. Moreover, projected object points that originate from image points lying at the image edges and corners show higher deviations that points inside the image, which is also due to the principal distance. The changing principal distance has less impact on point projections from the image center but great impact on point projections from the image edges and corners. This becomes visible when comparing the largest deviations given by the maximum Euclidean distances
(light green squares) in
Figure 11. In relation to this, the highest deviations are shown by the cold-started smartphone cameras. Calculating the mean of the maximum deviations considering all nine projected image points (visualised in
Figure 11 by a red dashed line) results in deviations of 6.2 cm and 12.9 cm for LG Google Nexus 5 and Samsung Galaxy S8, respectively.
In contrast, warm started smartphone cameras show deviations up to 2.9 cm and 3.5 cm and thus a reduced temperature-related error by half. Considering the RPi camera, the maximum deviations depend more on the image point position (lowest - image center, highest - upper right corner) with a mean of 4.5 cm. The mean of the Euclidean distances
between the coordinates of the projected image points in object space and the expected coordinates of the respective object points are visualised
Figure 11 with dark green triangles.
To give a final magnitude of errors to be expected when the camera is exposed to changing temperature, the mean of all Euclidean distances of each projected point per investigated camera was determined (independently from the original image point position on the camera sensor). An error magnitude of 1.3 cm (cold start) and 0.6 cm (warm start) was determined for the investigated LG Google Nexus 5 camera. Furthermore, an error magnitude of about 3.0 cm (cold start) and 0.8 cm (warm start) was investigated for the applied Samsung Galaxy S8 camera. Finally, an average error of 1.1 cm was established for the used RPi camera v2.1 with a fixed focal length of 3 mm that was exposed to ambient temperature changes. Overall, the temperature-related error clearly depends on the used camera model and its construction and can be significantly reduced using warmed up devices (considering smartphone cameras). The average temperature-related measurement error that should be expected using (warmed up) cameras as measurement devices is between 1 cm and 2 cm in a camera-to-object distance of 10 m.