This application claims priority to European Patent Application No. 17202630.4 filed on Nov. 20, 2017, which is incorporated herein by reference.
The present invention relates to a handheld device comprising a stereo camera and also a method for image-based measurement of a remote object by means of such a device.
Devices and methods for stereophotogrammetric image recording are fundamentally known in the prior art and are used in manifold ways to perform measurements in images, i.e., in particular to ascertain dimensions in an image, for example, distances between depicted features.
For example, EP 2 918 972 A2 discloses a method and a corresponding handheld device for producing a spatial model by means of stereophotogrammetry.
If known stereophotogrammetry devices are used to record images of artificial and/or man-made structures such as buildings, errors can occur during the automated matching of the images by means of feature extraction. This is because in particular modern buildings have many uniform and repeating features. If the stereo base of the stereophotogrammetry device is coincidentally parallel to the repetition direction during the recording, the equivalent features in the two images can be incorrectly associated with one another under certain circumstances, and therefore an incorrectly compiled stereo image results and the image measurements performed therein are flawed.
It is therefore an object of some embodiments of the present invention to provide a device and a method, by means of which the probability of error during the compilation of the images in the scope of the stereophotogrammetry can be reduced.
In particular, it is an object of some embodiments to provide such a device and such a method, by means of which the probability of error is reducible without special design expenditure or substantially elevated computing power.
A further object of some embodiments is to provide such a device and such a method which can be handled simply and intuitively by a user.
At least one of these objects is achieved by the implementation of the characterizing features of the independent claims. Advantageous embodiments of the invention are found in this case in the respective dependent claims.
Since in particular contemporary buildings are generally planned and built linearly and having right angles, they are aligned to the direction of gravity and the horizon line orthogonal thereto. This has the result that in buildings, the directions of the repetition of identical features (for example, the windows of a window façade) are generally exactly horizontal and/or vertical. In a stereo camera device according to the present invention, a stereo base is therefore used according to the invention which is arranged diagonally in relation to a longitudinal axis of the device, which is aligned substantially horizontally during normal use.
A first aspect of some embodiments of the present invention relate to a handheld device for the image-based measurement of a remote object, comprising a housing having a front side and a rear side, a first camera and a second camera, which are arranged with a stereo base as a fixed spacing in relation to one another on the rear side, for recording images of the object, an analysis unit comprising an algorithm for the stereophotogrammetric analysis of the images of the first camera and the second camera and a display unit, which is arranged on the front side, for displaying images of the object and of results of the stereophotogrammetric analysis. The housing has a longitudinal axis, and the stereo base is aligned diagonally in relation to the longitudinal axis, wherein the analysis unit is designed for the purpose of taking into consideration the relative alignment of the stereo base during the stereophotogrammetric analysis.
According to one embodiment, the device comprises an electronic distance meter, designed in particular as a laser distance meter, which is arranged on the rear side, for measuring a distance to the remote object, wherein the analysis unit is designed for the purpose of taking the measured distance into consideration during the stereophotogrammetric analysis.
According to a further embodiment of the device, the stereo base is arranged at an angle of at least 20°, in particular at an angle between 30° and 60° in relation to the longitudinal axis.
According to a further embodiment, the device is designed for handheld use by a user such that the device is held to record images of the object in such a way that the longitudinal axis is substantially horizontal.
According to one embodiment, the cameras are arranged in such a way that the stereo base comprises at least 75% of a maximum extension of the rear side, in particular at least 90%.
In one embodiment, the device has input means, which are arranged on the front side, for the input of data and/or commands by a user. The input means can be embodied in particular as buttons, or the display unit and the input means are designed as a touchscreen.
The input means are designed in particular for the purpose of enabling marking or selecting of pixels in the image of the object by a user, wherein the pixels correspond to target points of the object. The analysis unit can be designed for the purpose of ascertaining a distance between the target points corresponding to the selected pixels and displaying it on the display unit.
In one embodiment, the device has a recording functionality which runs automatically after triggering by a user, in the scope of which in chronological correlation, in particular simultaneously, the first camera records a first image and the second camera records a second image of the object, the algorithm of the analysis unit relates the first image and the second image to one another by means of feature recognition and on the basis of the knowledge about the stereo base, and an image of the object is displayed on the display unit.
In this case, the relating of the first image and the second image to one another can in particular include a rectification of the images and a stereo matching of the rectified images, in particular by means of the semi-global matching method.
According to a further embodiment, the analysis unit is designed for the purpose of recognizing repeating patterns in at least one of the images and deriving a repetition direction of repeating features of the object therefrom, and ascertaining an angle β between the repetition direction and an epipolar line.
A second aspect of some embodiments of the present invention relate to a handheld device for the image-based surveying of a remote object, comprising a housing having a front side and a rear side, a first camera and a second camera, which are arranged with a stereo base as a fixed spacing in relation to one another on the rear side, for recording images of the object, an analysis unit having an algorithm for the stereophotogrammetric analysis of the images of the first camera and the second camera, and a display unit, which is arranged on the front side, for displaying images of the object and results of the stereophotogrammetric analysis. According to this aspect of the invention, the analysis unit is designed for the purpose of recognizing repeating patterns in at least one of the images and deriving a repetition direction of repeating features of the object therefrom, and of ascertaining an angle β between the repetition direction and an epipolar line, wherein the analysis unit is designed for the purpose of initiating measures if the value of the angle β falls below a predefined threshold value, wherein the measures are capable of resulting in a further recording of images of the object, in which the predefined threshold value is reached or exceeded.
According to one embodiment of the device, the measures comprise a handling instruction for a user, to hold the device inclined for the further recording in comparison to a prior recording, in particular wherein the handling instruction is displayed on the display unit.
A third aspect of some embodiments of the invention relate to a method for the image-based surveying of a remote object by means of a handheld device, in particular a device according to the first or second aspect of the invention, comprising a stereoscopic recording of images by a first camera and a second camera, and a stereophotogrammetric analysis of the images of the first camera and the second camera. The analysis of the images takes place according to this aspect of the invention in consideration of a known angle α, wherein the first camera and the second camera are arranged having a stereo base as a fixed spacing in relation to one another on the device such that the stereo base is aligned diagonally at the angle α in relation to a longitudinal axis of the device.
According to one embodiment, the method comprises
A fourth aspect of some embodiments of the invention relate to a computer program product having program code which is stored on a machine-readable carrier, for executing a method for the image-based measurement of a remote object by means of a handheld device, in particular a method according to the third aspect, wherein the program is executed in an analysis unit of a device according to the first or second aspect of the invention and comprises at least the following steps:
A fifth aspect of some embodiments of the present invention relate to a system for the image-based measurement of a remote object, comprising a handheld device and a computer program product. The handheld device comprises in this case a housing having a front side and a rear side, a first and a second camera, which are arranged having a stereo base as a fixed spacing in relation to one another on the rear side, for recording images of the object, and a data interface for transmitting digital image data of recorded images to an external electronic device. The computer program product has program code which is stored on a machine-readable carrier, having an algorithm for the stereophotogrammetric analysis of the images of the first camera and the second camera. The housing has a longitudinal axis and the stereo base is aligned diagonally in relation to the longitudinal axis, wherein the program code contains an item of information about the relative alignment of the stereo base, is executable in the external electronic device, and is designed for the purpose of taking into consideration the relative alignment of the stereo base during the stereophotogrammetric analysis.
According to one embodiment, the handheld device comprises the machine-readable carrier, in particular wherein the machine-readable carrier is a permanently installed data storage unit and is designed for the purpose of transmitting the program code via the data interface to the external electronic device.
The device according to the invention and the method according to the invention will be described in greater detail solely by way of example hereafter on the basis of specific exemplary embodiments schematically illustrated in the drawings, wherein further advantages of the invention will also be discussed. In the specific figures:
A recording of an image 50 of a building 5 by means of a handheld stereophotogrammetry device 1 of the prior art is illustrated in
Two cameras 3a, 3b are arranged having a stereo base 30 on a rear side of the device 1 facing toward the building 5 to be recorded. The stereo base 30 is parallel to a longitudinal axis of the device 1 here.
The building 5 as the object to be recorded by the cameras 3a, 3b, which is shown here in front of a horizon 6 for illustration, has an array of prominent features which are aligned horizontally, i.e., along the X axis. This relates, for example, to the windows and the eaves, which are aligned along the horizontal lines 61-64. Moreover, predominantly right angles are used, and therefore the features of windows and walls also extend vertically.
The stereophotogrammetry device 1 is designed such that it is preferably held linearly by a user, i.e., having its longitudinal axis parallel to the horizon 6, inter alia, because measured values displayed on the display unit 20 are thus most easily readable. This has the result that the stereo base 30 extends in the same direction as the prominent features of the building 5.
The stereophotogrammetry device 1 from
In
To match the two images 51, 52, the algorithm thus has to compare a feature in the first rectified image 51′ only with those features of the second rectified image 52′ which are located on the same epipolar line 70. A corner of a window cross is shown as a feature 71 by way of example here in the left image 51′. Due to the uniform construction, uniform features repeat on the building in the horizontal direction—both windows are of equal size and the same design and moreover are located at the same height.
Since the epipolar line 70 also extends horizontally in the rectified images 51′, 52′, multiple similar or uniform features 72, 72′ are located adjacent to one another on the epipolar line 70 in the right image 52′. Errors can thus occur during matching of the features, if the algorithm erroneously associates an uniform feature 72′ with the feature 71 in the first image 51, instead of the actually corresponding feature 72 in the second image 52.
An exemplary embodiment of a stereophotogrammetry device 1 according to the invention is shown in
A distance registered using the laser distance meter 4 can be used in particular for scaling the images recorded by the cameras 3a, 3b, which enhances the accuracy of photogrammetric measurements.
Using the device 1 shown, even an untrained user can carry out high-quality photogrammetric measurements on buildings and other man-made structures. In this case, there is generally no necessity of holding the device 1 diagonally during the image recording. Furthermore, a maximum length of the stereo base 30 can advantageously be achieved due to the inclined arrangement of the cameras 3a, b.
However, the device does have to be held diagonally in the case in which natural or artificial objects are to be measured, in the case of which object features repeat at an angle corresponding to the inclination of the stereo base 30. However, such cases occur comparatively rarely in practice.
The user can record stereoscopic images of the building 5 using the cameras 3a, 3b, and can mark pixels 56, 57 in an image 50 displayed by the display unit 20, which correspond to target points 66, 67 on the actual building 5, and can determine a distance 68 between the target points by photogrammetry and have it displayed.
In
To match the two images 51, 52, the algorithm thus has to compare a feature in the first rectified image 51′ only with those features of the second rectified image 52′ which are located on the same epipolar line 70. A corner of a window cross is shown as a feature 71 by way of example here in the left image 51′. Due to the uniform construction, uniform features repeat on the building in the horizontal direction—both windows are of equal size and the same design and moreover are located at the same height.
Because of the diagonal arrangement of the cameras, these naturally horizontal lines extend diagonally in the rectified images. Thus, in contrast to
Alternatively, a matching can also be carried out without prior rectification, of course. In the case of the conventional device from
Alternatively, only specific points of interest can also be related to one another, without the entire image having to be processed. For example, a template matching can be executed after a selection of points of interest by the user.
In step 110, firstly a stereoscopic recording of images of the object is executed by means of the two cameras. Optionally, a distance measurement 130 to the object can be carried out simultaneously, in order to be able to scale the images accurately, and thus have an accurate scale for measurements in the image.
Using the knowledge about the angle α (i.e., about the relative alignment of the stereo base in relation to the longitudinal axis of the device, see
At the same time, an image of the object is displayed to a user on the display unit of the device in step 120, this can be, for example, one of the images of the cameras, or a compiled image already. The user thereupon selects, in step 150, certain routes or areas on the basis of the image, the dimensions of which are to be measured. These dimensions are determined in step 160 by means of image measurement in the stereophotogrammetrically analyzed images and finally displayed to the user on the display unit in step 170 and stored in a storage unit of the device in step 180.
In one embodiment, the analysis unit of the device is designed for the purpose of recognizing repeating patterns in the images and deriving a repetition direction of repeating real features therefrom. This is shown in
Subsequently, it is established that the repetition direction 78 is parallel to the epipolar line 70, which can result in errors during the matching of the images, as shown in
The analysis unit is preferably designed for the purpose of ascertaining the angle β, between the repetition direction 78 and the epipolar line 70 and initiating the measures if the value of the angle β, falls below a predefined threshold value.
In particular, this method part 200 can be placed before that shown in
The stereophotogrammetry device 1 is used by the user to record images, the data of which are transferred—either in real time or following a recording series—to the laptop 2. The software is stored in the storage unit 19 and is transmitted to the laptop 2 together with the image data, for example. In particular, steps 140-170 of the method 100 from
It is apparent that these illustrated figures only schematically show possible exemplary embodiments. The various approaches can also be combined with one another and with methods and devices of the prior art.
Number | Date | Country | Kind |
---|---|---|---|
17202630 | Nov 2017 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6038074 | Kitaguchi | Mar 2000 | A |
9185387 | Campbell | Nov 2015 | B2 |
9303982 | Ivanchenko | Apr 2016 | B1 |
9470792 | Giger | Oct 2016 | B2 |
9609305 | Ramaswamy | Mar 2017 | B1 |
9886759 | Lin | Feb 2018 | B2 |
20080118143 | Gordon | May 2008 | A1 |
20080137940 | Kakinami | Jun 2008 | A1 |
20080239135 | Tamura | Oct 2008 | A1 |
20090237491 | Saito | Sep 2009 | A1 |
20100074532 | Gordon | Mar 2010 | A1 |
20100194860 | Mentz | Aug 2010 | A1 |
20120274626 | Hsieh | Nov 2012 | A1 |
20120293633 | Yamato | Nov 2012 | A1 |
20130258066 | Asano | Oct 2013 | A1 |
20140043436 | Bell | Feb 2014 | A1 |
20140210950 | Atanassov | Jul 2014 | A1 |
20140363048 | Vrcelj | Dec 2014 | A1 |
20150009119 | Zuccarino | Jan 2015 | A1 |
20150124060 | Hasegawa | May 2015 | A1 |
20150370348 | Slutsky | Dec 2015 | A1 |
20160037152 | Kim | Feb 2016 | A1 |
20160050401 | Gordon | Feb 2016 | A1 |
20160234477 | Singhal | Aug 2016 | A1 |
20170026634 | Mirlay | Jan 2017 | A1 |
20170264880 | Zolotov | Sep 2017 | A1 |
20180144458 | Xu | May 2018 | A1 |
20180150973 | Tang | May 2018 | A1 |
20180156608 | McLean | Jun 2018 | A1 |
20180247416 | Ruda | Aug 2018 | A1 |
20190139297 | Chen | May 2019 | A1 |
20190236796 | Blasco Claret | Aug 2019 | A1 |
Number | Date | Country |
---|---|---|
106382917 | Feb 2017 | CN |
10 2013 202658 | Aug 2014 | DE |
2 918 972 | Sep 2015 | EP |
Entry |
---|
European Search Report dated May 28, 2018 as received in Application No. 17 20 2630. |
Banz et al., “Real-time stereo vision system using semi-global matching disparity estimation: Architecture and FPGA-implementation”, Embedded Computer Systems (Samos), 2010 International Conference on, IEEE, Piscataway, NJ, USA, Jul. 19, 2010, pp. 93-101. |
Number | Date | Country | |
---|---|---|---|
20190158811 A1 | May 2019 | US |