1. Technical Field
The present invention relates to a method of capturing a whole-scene image, more particularly to a method of determining the whole-scene image by using multiple image-capturing devices and a concyclic fitting calculation to determine locations and orientations of the image-capturing devices. The method of the present invention can be applied to measure multi-angle large-range area displacement and deformation, and also applied in a whole-scene security monitoring system.
2. Background of Related Arts
Digital image correlation was revealed in 1980s and includes technologies of interpolation of digital image value and affection of the subimage's size on convergence time and accuracy. Sequentially, the digital image correlation method is applied in various applied mechanics, such as surface profile measurement, automatic measurement system in cooperation with digital images, or large-deformation measurement system based on image processing.
In the present market, a technology based on non-contact image deformation measurement is widely applied and can be used to measure the deformation of whole surface of an object. In implementation, two cameras are combined to form a three-dimensional (3D) measuring device for measuring whole field deformation on object's surface. The device uses characteristics of object's surface for comparing and diagnosing surface displacement. Image capturing process by the cameras and the image correlation are combined to finish measuring of the 3D surface deformation in the fastest way and to obtain the best resolution. Any tiny surface deformation can be shown in data and on the image. Then, through post-processing, displacement and strain of any single dot on surface can also be figured out. However, the device cannot monitor an outdoor scene, such as mountain tendency.
Taiwan Patent No. 1428562, titled “Formation Apparatus Using Digital Image Correlation”, discloses that multiple cameras are moved in semi-arc track to given locations to capture images, and by means of changing the contained angles between cameras, the image-capturing range of the cameras can be changed quickly. The cameras of the formation type measurement system are configured in con-arc, so the optical axes of the cameras can be adjusted to cross at a cyclic center of the con-arc to complete definition of outer parameters of the cameras. When the three cameras C1, C2 and C3 are controlled to capture images with multiple angles simultaneously, the formations of camera sets C1-C2, C1-C3 and C2-C3 can be used to perform 3D reconstruction. The present invention is an extension application of the Taiwan Patent No. 1428562, titled “Formation Apparatus Using Digital Image Correlation”. In the present invention, multiple cameras can be arbitrary arranged in a non-formation type structure, and a concyclic fitting calculation is performed to build up a con-arc geographic relationship between three cameras in a single circle.
During a 3D reconstruction, a base line process and a camera array are used to search common object feature points matching with each other between the images; however, when a shielding effect is occurred in capturing the multi-angle images of the object, it is not easy to extract the common object feature points, and failure of searching the object features or image matching error may occur. In such situation, the postures of the cameras must be adjusted to perform the 3D reconstruction correctly. In addition, light-sensitive elements of the multiple cameras have different intrinsic parameters (such as image resolutions and focuses of camera lenses) and the manual adjustment errors exist, so the images captured by adjacent cameras have different vertical parallax and horizontal parallax, such effects seriously impact the quality of 3D composite image of image system, and it is still necessary to perform a calibration process on the multi-angle images.
What is need is to make capturing of the whole-scene image more convenient and calibrate the images captured in multiple angles for better image quality.
An exemplary embodiment of the present invention provides a method of determining a whole-scene image by using multiple image-capturing devices. The method includes steps of: (a) arbitrarily selecting a first image-capturing device, a second image-capturing device and a third image-capturing device located in a whole-scene space; (b) determining a first base line, a second base line and a third base line on a basis of the second image-capturing device; (c) calculating coordinates of the first image-capturing device, the second image-capturing device and third image-capturing device; (d) performing a fitting calculation for a co-circle according to the coordinates; (e) calculating a cyclic point and a radius of the co-circle, and a first angle θ1 and a second angle θ2 ; (f) when a number of the image-capturing devices exceeds three, selecting the at least one of the first, second and third image-capturing devices, and two image-capturing devices comprising one image-capturing device other than the first, second and third image-capturing devices, and defining the selected three image-capturing devices as the first, second and third image-capturing devices in the step (a) and then performing the step (a) through step (h) according to the selected three image-capturing devices; (g) calculating a con-cyclic plane of the co-circle, and arranging the first, the second and the third image-capturing devices according to the con-cyclic plane; (h) analyzing images captured by the first, the second and the third image-capturing devices to determine whether an image calibration is required; (i) if it is necessary to perform the image calibration, a parallax elimination process is performed on the captured images; (j) according to the con-cyclic plane, evaluating a correlation between a single circle and the con-cyclic plane joined with each other, so as to obtain a physical quantity analysis result of the whole-scene after analysis of a correlation evaluation report; and (k) determining the whole-scene image according to the physical quantity analysis result.
In an embodiment, the physical quantity analysis result includes a displacement field and a stress field obtained from calculation according to an image correlation.
In an embodiment, the step (i) further includes a step (i1): analyzing the images captured by the first, the second, and the third image-capturing devices to determine whether it is necessary to perform the image calibration because of a vertical parallax or a horizontal parallax existing between different image-capturing devices. The step (j) further includes a step (j1): if it is necessary to perform the image calibration, a parallax elimination process is performed on the images captured.
Therefore, the present invention uses non-contact formation digital image method to arrange the multiple image-capturing devices, so as to achieve the objective of assisting in capturing the whole-scene image. In addition, the present invention also uses the parallax elimination process for captured images to effectively improve the image quality, so as to effectively solve the problems in conventional technology.
The detailed structure, operating principle and effects of the present disclosure will now be described in more details hereinafter with reference to the accompanying drawings that show various embodiments of the present disclosure as follows.
The present invention will be apparent from the following detailed description, which proceeds with reference to the accompanying drawings, wherein the same references relate to the same elements.
Reference will now be made in detail to the exemplary embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Therefore, it is to be understood that the foregoing is illustrative of exemplary embodiments and is not to be construed as limited to the specific embodiments disclosed, and that modifications to the disclosed exemplary embodiments, as well as other exemplary embodiments, are intended to be included within the scope of the appended claims. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the inventive concept to those skilled in the art. The relative proportions and ratios of elements in the drawings may be exaggerated or diminished in size for the sake of clarity and convenience in the drawings, and such arbitrary proportions are only illustrative and not limiting in any way. The same reference numbers are used in the drawings and the description to refer to the same or like parts.
It will be understood that, although the terms ‘first’, ‘second’, ‘third’, etc., may be used herein to describe various elements, these elements should not be limited by these terms. The terms are used only for the purpose of distinguishing one component from another component. Thus, a first element discussed below could be termed a second element without departing from the teachings of embodiments. As used herein, the term “or” includes any and all combinations of one or more of the associated listed items.
Please refer to
The present invention is operated based on non-formation type digital image correlation method, so in a whole-scene space at least three image-capturing devices are required to complete the whole-scene image to achieve the objective of the present invention. That is, the method of the present invention can be completed by three or more image-capturing devices.
First, in step 101, a first image-capturing device 3, a second image-capturing device 4 and a third image-capturing device 5 are arbitrary selected from all available image-capturing devices in the whole-scene space, and the locations and orientations of the selected image-capturing devices will be determined to capture the whole-scene image.
Next, in step 102, a first base line 6, a second base line 7 and a third base line 8 are generated on a basis of the second image-capturing device 4, as shown in
Next, in step 103, coordinates of the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 are calculated, and the coordinates are indicated by (x1, y1, z1), (x2, y2, z2) and (x3, y3, z3) shown in
In step 104, a fitting calculation of a co-circle is performed according to the coordinates (x1, y1, z1), (x2, y2, z2) and (x3, y3, z3), so that a cyclic point 1 (x, y, z) and radius of the co-circle and two angles (that is, a first angle θ1 9 and a second angle θ2 10) can be calculated in step 105, and steps of their calculation are described below.
First, vectors from the first image-capturing device 3 to the second image-capturing device 4, and to the third image-capturing device 5 respectively are defined as V1 and V2, and lengths of vectors from the second image-capturing device 4 to the first image-capturing device 3, and the third image-capturing device 5 respectively are defined as L1 and L2,
V
1
=C
1(x1, y1, z1)−C2(x2 , y2, z2)’ V2=C3(x3, y3, z3)−C2(x2, y2, z3)’ (1)
L
1
=∥V
1
∥, L
2
=∥V
2∥∘ (2)
Next, the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 are concyclic at a cyclic point 1, and such calculation is referred as fitting calculation. After the coordinate (x, y, z) of cyclic point 1 and the concyclic radiuses 2 of the first image-capturing device 3 and the second image-capturing device 4 are obtained, two angles between the vectors can be calculated by inner product: the angle between the first image-capturing device 3 and the second image-capturing device 4 is θ1, and the angle between the third image-capturing device 5 and the second image-capturing device 4 is θ2, 0≦θ1≦π, and the angles θ1 and θ2 can be calculated by following formulas:
In step 106, when the number of the plurality of the image-capturing devices exceeds three, the at least one of the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5, and other two image-capturing devices including at least one image-capturing device other than the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5, are selected to be the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 required in the step 101. Next, the re-selected image-capturing devices are used to repeat step 102 through step 105.
For example, when there are four image-capturing devices, a fourth image-capturing device 11 and any two of the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 can form a co-circle (not shown in Figs) according to the above manner, so that two jointed circles (not shown in Figs) can be formed and the fourth image-capturing device 11 is assigned as a target of whole scene of the second co-circle, and an orientation of the fourth image-capturing device 11 is determined.
When the number of the total image-capturing devices is five, as shown in
In step 107, a con-cyclic plane of the first co-circle is calculated, and the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 are configured according to the con-cyclic plane, for example, the configuration includes determination of the orientations of the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5. The exemplary embodiment including more than three image-capturing devices is described below.
Images captured by different image-capturing devices may have horizontal parallax and vertical parallax which can be observed on the images, so in step 108 the images captured by the first image-capturing device 3, the second image-capturing device 4 and the third image-capturing device 5 are analyzed to check whether an image calibration is required.
If the image calibration is required, in step 109 an image calibration process is performed in the captured images. The image calibration process is referred as a parallax elimination process in the present invention.
In step 110, an evaluation of correlation between a single circle and the con-cyclic plane joined with each other is completed according to the con-cyclic plane, and a physical quantity analysis result of the whole scene can be obtained according to a correlation evaluation report. The physical quantity analysis result includes a displacement field and a stress field. The technology is well-known by the persons skilled in the art and introduced in the background of the present invention, so its detailed description is omitted.
Next, the whole-scene image is determined according to the physical analysis result in step 111. The images captured by all image-capturing devices can processed according to the above steps upon demand, and the processed images can achieve a more ideal and desired image quality.
The calibration for the horizontal parallax is described below. A pair of images captured from independent angles and viewing ranges are taken as an example. Please refer to
In summary, the present invention discloses a method of determining the whole-scene image by using multiple image-capturing devices, and the method has two main features including non-contact formation digital image method which uses co-circle fitting calculation to determine the location and orientation of each of the image-capturing devices, and the parallax elimination process for captured images. The former can determine the locations and orientations of the image-capturing devices easily to achieve the objective of assisting image capturing; the latter can effectively improve the image quality. Therefore, the present invention can effectively solve the problems in prior art.
The above-mentioned descriptions represent merely the exemplary embodiment of the present disclosure, without any intention to limit the scope of the present disclosure thereto. Various equivalent changes, alternations or modifications based on the claims of present disclosure are all consequently viewed as being embraced by the scope of the present disclosure.
Although the invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments, will be apparent to persons skilled in the art. It is, therefore, contemplated that the appended claims will cover all modifications that fall within the true scope of the invention.