Method, device and system for determining stereoscopic multimedia information
By using multiple aircraft to adjust the baseline distance and de-shake processing, it solves the problem of lack of three-dimensionality for long-distance objects in traditional stereoscopic video shooting, and improves the three-dimensionality and user experience of the video.
Patent Information
- Application Number
- CN201710056693.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-01-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2038-06-21
AI Technical Summary
Existing stereoscopic video shooting methods are difficult to maintain the stereoscopic effect when shooting distant objects, resulting in a lack of three-dimensional effect on the objects in the video.
Use at least two aircraft to carry multimedia collection equipment and shoot the same object from different angles. By adjusting the baseline distance between the aircraft and performing de-shaking processing, ensure that the captured video has a good three-dimensional sense.
It improves the user's three-dimensional experience when watching videos, improves the three-dimensional sense and quality of the video, and solves the problem of the lack of three-dimensional sense of distant objects in traditional shooting methods.
Smart Images

Figure CN108615243B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual processing technology, and in particular to a method, device and system for determining stereoscopic multimedia information. Background Art
[0002] VR (Virtual Reality) technology is a technology that uses computer graphics systems and various display and control interface devices to provide an immersive feeling in a computer-generated, interactive stereoscopic (three-dimensional) environment. At present, with the gradual popularization of VR devices, more and more users are beginning to enjoy this immersive experience, which requires a large number of stereoscopic video sources. At this time, stereoscopic video sources become increasingly important. Users may want to see the stereoscopic videos they shot, but the equipment for shooting stereoscopic videos is expensive, and it is costly for users to buy them by themselves. At the same time, users will also have the need to watch stereoscopic videos shot from high altitudes.
[0003] Traditional stereo video shooting methods usually use a binocular camera with normal pupil distance to collect binocular frame images to form a stereo video. Users can hold a binocular camera to shoot; when shooting close-up videos, the binocular camera used to shoot close-up videos can be mounted on a gimbal, and the gimbal can be moved along a pre-arranged track to shoot; when shooting distant scenes, the binocular camera can be mounted on a drone to shoot.
[0004] However, the inventors of the present invention have noticed that when the subject is far away from the camera mounted on the drone, the subject in the video captured by the traditional stereoscopic video shooting method may not have a stereoscopic effect.
[0005] In summary, the existing stereoscopic video shooting method has the defect that the objects at a relatively far distance in the shot video do not have a stereoscopic effect. Summary of the invention
[0006] In view of the shortcomings of the existing methods, the present invention proposes a method, device and system for determining stereoscopic multimedia information to solve the problem in the prior art that objects at a distance in the captured video do not have a stereoscopic effect.
[0007] According to a first aspect, an embodiment of the present invention provides a method for determining stereoscopic multimedia information, comprising:
[0008] Acquiring multimedia information collected by multimedia collection devices of at least two aircrafts;
[0009] Corresponding stereoscopic multimedia information is determined according to the acquired multimedia information.
[0010] According to a second aspect, an embodiment of the present invention further provides a device for determining stereoscopic video multimedia information, comprising:
[0011] A multimedia information acquisition module, used to acquire multimedia information respectively acquired by multimedia acquisition devices of at least two aircrafts;
[0012] The stereoscopic multimedia information determining module is used to determine corresponding stereoscopic multimedia information according to the multimedia information acquired by the multimedia information acquiring module.
[0013] According to the third aspect, an embodiment of the present invention further provides a system for determining stereoscopic multimedia information, including: at least two aircraft, multimedia acquisition equipment of each aircraft, and a device for determining stereoscopic multimedia information provided by each embodiment of the present invention.
[0014] In the technical solution of the present invention, at least two aircrafts respectively shoot the same object from different angles through the multimedia acquisition devices they carry. Compared with the traditional single drone shooting the same object from the same angle, more three-dimensional multimedia information can be obtained, making it easier for users to feel the three-dimensional sense of the multimedia information when watching, thereby enhancing the user's visual enjoyment and improving the user experience.
[0015] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0017] Figure 1 A schematic diagram of a flow chart of a method for determining stereoscopic multimedia information of the present invention;
[0018] Figure 2 Schematic diagram showing a comparison of the stereoscopic effects of a traditional single drone and a dual drone of the first embodiment of the present invention photographing the same distant object
[0019] Figure 3a and 3b It is a schematic diagram of an example of directly using the anti-shake method of a single drone to independently perform de-shake processing on binocular frame images captured by dual drones in the first embodiment of the present invention;
[0020] Figure 4 This is a schematic diagram of the principle of an example of de-jittering processing on a binocular frame image in the first embodiment of the present invention;
[0021] Figure 5Schematic diagram of multiple examples of the coplanarity / non-coplanarity of the dual UAVs of the present invention, and the equal or unequal angles between the optical axis and the baseline;
[0022] Figure 6a is a schematic diagram of an example of the internal structure of a drone when the aircraft is a drone in the first embodiment of the present invention;
[0023] Figure 6b It is a schematic diagram of an example of a process principle of two UAVs performing stereoscopic video shooting when the aircraft is a UAV in the first embodiment of the present invention;
[0024] Figure 7 An example of the relationship between the object distance and the baseline distance in the second embodiment of the present invention, and an example of the relationship between the size of the area occupied by the subject and the baseline distance;
[0025] Figure 8 It is a schematic diagram of an example of estimating the object distance according to the pitch angle of the drone and the shooting height of the drone according to the second embodiment of the present invention;
[0026] Fig. 9 It is a schematic diagram of an example in which the baseline distance between two aircrafts remains unchanged when the photographed object remains unchanged according to the second embodiment of the present invention;
[0027] Fig.10a , 10b They are schematic diagrams of an example of adjusting the baseline distance between two aircrafts in baseline distance adjustment modes 1 and 2 according to the second embodiment of the present invention;
[0028] Fig.11 It is a flowchart of a method for de-jittering multimedia information collected by multimedia information collection devices of at least two aircrafts according to a third embodiment of the present invention;
[0029] Fig.12 A schematic diagram of the relationship between four frames of monocular frame graphics collected by two drones at adjacent moments in Example 3 of the present invention;
[0030] Fig.13a , 13b All of them are schematic diagrams of the principle of filtering feature points in a frame image according to Embodiment 3 of the present invention;
[0031] Fig.14 A schematic diagram of an example of determining motion information between two frames of images at adjacent moments according to Embodiment 3 of the present invention;
[0032] Fig.15 A schematic diagram of an example of motion information accumulated by multiple frames of images within a time period according to the third embodiment of the present invention;
[0033] Fig.16A schematic diagram showing the principle of determining the position relationship of imaging pixels of the same three-dimensional point by two aircrafts in accordance with the third embodiment of the present invention;
[0034] Fig.17a A schematic diagram of a flow chart of a method for adjusting the shooting focal length of a multimedia acquisition device according to a fourth embodiment of the present invention;
[0035] Fig.17b It is a schematic diagram of the principle of the multimedia acquisition devices of two aircrafts in the fourth embodiment of the present invention bidirectionally searching the current focal length based on the initial focal length;
[0036] Fig.17c It is a schematic diagram of a framework of an example of a multimedia information collection device of two aircrafts, respectively, bidirectionally searching for a current focal length based on an initial focal length according to a fourth embodiment of the present invention;
[0037] Fig.18 A schematic flow chart of a method for determining a baseline distance and an adjustment method based on a shared neural network and an initial focal length according to a fifth embodiment of the present invention;
[0038] Fig.19 A schematic diagram of an example of the internal structure and working principle of a shared neural network according to a fifth embodiment of the present invention;
[0039] Fig. 20 It is a flowchart of another method for determining the baseline distance and adjustment method based on a shared neural network and the initial focal length according to the fifth embodiment of the present invention;
[0040] Fig.21 A schematic diagram of another example of the internal structure and working principle of the shared neural network according to the fifth embodiment of the present invention;
[0041] Fig. 22 is a schematic diagram of an example of hardware related to spatial synchronization in a drone according to Embodiment 6 of the present invention;
[0042] Fig.23a A schematic diagram of an example of the rotation trajectory of two aircrafts according to Embodiment 7 of the present invention;
[0043] Figure 23b A schematic flow chart of an example of a method for coordinated steering control of two aircraft according to Embodiment 7 of the present invention;
[0044] Fig.24 A schematic diagram of an example of a target object in Embodiment 8 of the present invention;
[0045] Fig.25 A schematic diagram of an example of two aircraft automatically tracking and photographing the trajectory of a target object according to Embodiment 8 of the present invention;
[0046] Fig.26is a schematic diagram of the internal structure of a device for determining stereoscopic multimedia information according to a tenth embodiment of the present invention;
[0047] Fig.27a is a schematic diagram of a more detailed architecture example of a single UAV according to Embodiment 10 of the present invention;
[0048] Figure 27b FIG. 1 is a schematic diagram of a more detailed architecture example of a dual UAV according to Embodiment 10 of the present invention. DETAILED DESCRIPTION
[0049] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0050] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0051] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.
[0052] It will be understood by those skilled in the art that the "terminal" and "terminal device" used herein include both devices with wireless signal receivers, which are devices with only wireless signal receivers without transmission capabilities, and devices with receiving and transmitting hardware, which are devices with receiving and transmitting hardware capable of two-way communication over a two-way communication link. Such devices may include: cellular or other communication devices, which have a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, Internet / intranet access, a web browser, a notepad, a calendar and / or a GPS (Global Positioning System) receiver; conventional laptop and / or palmtop computers or other devices, which have and / or include a conventional laptop and / or palmtop computer or other device with and / or including a radio frequency receiver. The "terminal" or "terminal device" used herein may be portable, transportable, installed in a vehicle (air, sea and / or land), or adapted and / or configured to operate locally, and / or in a distributed form, at any other location on the earth and / or in space. The "terminal" or "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playing terminal, such as a PDA, a MID (Mobile Internet Device) and / or a mobile phone with a music / video playing function, or a smart TV, a set-top box and other devices.
[0053] The present invention provides a system for determining stereoscopic multimedia information, comprising: at least two aircrafts.
[0054] Each of the at least two aircrafts includes: a multimedia acquisition device.
[0055] In the present invention, multimedia information includes: pictures and / or videos. Pictures can be individual pictures or continuous pictures. Videos include frame images.
[0056] For ease of understanding, this article will take two aircraft shooting stereoscopic videos as an example to specifically introduce the technical solution of the present invention.
[0057] The two aircrafts may both be fixed-wing aircrafts or both be rotary-wing aircrafts; they may both be manned aircrafts or both be unmanned aerial vehicles.
[0058] Preferably, since rotor-type drones are easier to control their flight attitude, such as hovering, they can be used as two aircraft for shooting stereoscopic videos. Rotor-type drones can include: single-axis rotor drones and multi-axis rotor drones; for example, a quad-rotor drone has four independent rotating axes, each of which is equipped with a set of rotors.
[0059] The stereoscopic multimedia information determination system of the present invention further comprises a stereoscopic multimedia information determination device.
[0060] Preferably, the three-dimensional multimedia information determination system of the present invention further includes: a ground control console.
[0061] The present invention provides a method for determining stereoscopic multimedia information, the flow chart of the method is as follows: Figure 1 As shown, the method includes the following steps S101 to S102: S101: Acquire multimedia information respectively collected by multimedia collection devices of at least two aircrafts. S102: Determine corresponding stereoscopic multimedia information according to the acquired multimedia information.
[0062] It can be understood that compared with the solution in the prior art that a drone is equipped with a binocular camera to perform stereoscopic video shooting, in the technical solution of the present invention, at least two aircraft use their own multimedia acquisition devices to shoot the same object from different angles. Compared with the traditional single drone shooting the same object from the same angle, more three-dimensional multimedia information can be captured, making it easier for users to feel the three-dimensional sense of the multimedia information when watching, thereby enhancing the user's visual enjoyment and improving the user experience.
[0063] In the prior art, when a drone is equipped with binocular cameras for stereoscopic video shooting, the baseline distance between the binocular cameras is generally the normal pupil distance. If a distant object is shot, the baseline distance between the two cameras is much smaller than the object distance, so the shot stereoscopic video may not have a stereoscopic sense. In the technical solution of the present invention, each aircraft is equipped with its own corresponding multimedia information acquisition device, and the baseline distance between the multimedia acquisition devices is larger, so the shot stereoscopic video will have a good stereoscopic effect, making it easier for users to feel the stereoscopic sense of multimedia information when watching, thereby enhancing the user's visual enjoyment and improving the user experience.
[0064] Several embodiments of the technical solution of the present invention are described in detail below.
[0065] Embodiment 1
[0066] The inventors of the present invention have found through research that in the traditional method for determining stereoscopic video, all settings of the two cameras are fixed and synchronized, and the baseline distance between the two cameras is fixed (baseline distance: the absolute length of the line segment between the optical centers of the two cameras).
[0067] The binocular camera collects binocular frame images based on a baseline distance equal to the normal pupil distance. When the ratio of the object distance (the distance between the object and the camera) to the baseline distance is less than 50 (for example, the normal pupil distance is 7cm, and when observing an object at a distance of 2m, the ratio of the object distance to the baseline distance is less than 50), the human eye can sense parallax, and the observer can then feel the three-dimensional sense of the object.
[0068] For objects at long distances or medium-long distances, since the object distance is much greater than the baseline distance (for example, the ratio of the object distance to the baseline distance is much greater than 50), the baseline distance between the two cameras can actually be ignored compared to the object distance. The two cameras can be considered to be photographing the same object from the same angle, and there is basically no parallax between the object area in one frame image and the object area in the other frame image. When a user views an object without parallax in a binocular frame image, the human eye basically cannot feel the stereoscopic sense of the observed object (for example, looking down at a building on the ground from an airplane).
[0069] Therefore, the existing method of determining stereoscopic video with a fixed short baseline distance easily causes the objects being photographed at long distances or medium and long distances to lose the stereoscopic sense. In other words, although the stereoscopic video is composed of binocular frame images taken by a binocular camera, for users, when watching the video, the objects at long distances or medium and long distances appearing in the video have no stereoscopic sense, which is equivalent to watching ordinary 2D videos, greatly affecting the user's viewing experience.
[0070] The inventors of the present invention have found that the baseline distance between binocular cameras set on a single carrier (user handheld, pan / tilt, rail or single drone, etc.) can be adjusted. The maximum baseline distance between existing binocular cameras is still limited by the length of human arms, the size of pan / tilt, rail and single drone, and is still much smaller than the object distance, that is, the ratio of the object distance to the existing maximum baseline distance is still greater than 50. For objects at a long distance (object distance), there is still no stereoscopic effect.
[0071] Based on the above research and findings, the inventors of the present invention consider that it is necessary to adjust the baseline distance between the two aircrafts of the present invention.
[0072] Specifically, the inventors of the present invention have noticed that parallax is very important in stereoscopic video shooting. Generally speaking, the distance between the eyes of an adult is about 7 cm (for the convenience of calculation, the baseline distance of the human eye is usually determined to be about 10 cm). If a person observes an object close to him / her with human vision, he / she can often see a large parallax, thereby generating a sense of stereo. When a single drone simulates the baseline distance between a person's eyes to shoot (watch) a distant object, for example, Figure 2As shown in the left part of , when observing distant objects, the distant objects will lack parallax and thus lose the stereoscopic sense, so that the stereoscopic video will degenerate into a 2D video.
[0073] Therefore, for some scenes with many distant objects, such as Figure 2 As shown in the right part of the figure, increasing the baseline distance appropriately can keep distant objects in the user's eyes still presenting a three-dimensional effect. For some close objects, the baseline distance can be appropriately reduced.
[0074] Based on the above considerations, the method for determining stereoscopic multimedia information in the first embodiment of the present invention further includes: adjusting the baseline distance between at least two aircrafts according to the photographed object and / or the shooting environment.
[0075] For a specific embodiment of adjusting the baseline distance between at least two aircrafts according to the photographed object and / or the shooting environment, please refer to the subsequent embodiment 2.
[0076] In summary, the method for adjusting the baseline distance between at least two aircraft in the first embodiment of the present invention can adaptively determine and adjust to a suitable baseline distance according to the photographed object (the object being photographed).
[0077] Preferably, the inventor of the present invention has found through research that users are more sensitive to video jitter. If the captured video causes the frame images observed by the user's left and right eyes to be inconsistent due to jitter, it will greatly affect the user's viewing experience. Therefore, de-jittering is a very important step for video stereo capture.
[0078] When two aircraft are collecting stereoscopic videos, the aircraft may shake due to motor vibration, air flow, and / or flight control errors, causing the multimedia information acquisition equipment fixed on the aircraft to shake along with the aircraft, which may easily lead to image jitter such as up and down inconsistencies between the captured binocular frame images, and easily reduce the quality of the captured stereoscopic video.
[0079] In order to ensure the quality of the captured content, in the first embodiment of the present invention, whether jitter occurs is detected based on the binocular frame images captured by two aircraft; if jitter occurs, the jitter information is calculated, and the captured frame images are subjected to jitter compensation processing, i.e., de-jitter processing, based on the jitter information.
[0080] Generally speaking, jitter is divided into high-frequency jitter and low-frequency jitter. High-frequency jitter is often caused by aircraft flight control errors, and its jitter amplitude is often small, which has little effect on the frame image. For high-frequency jitter, due to its high frequency, it requires a faster response. In the first embodiment of the present invention, the optical and physical anti-shake devices provided by the aircraft multimedia information acquisition device can be used to achieve this. These technologies are well known to those skilled in the art and will not be described in detail here.
[0081] Low-frequency jitter is often caused by environmental changes, such as airflow changes, and its vibration amplitude is greater than that of high-frequency jitter. Low-frequency anti-shake caused by airflow is beyond the capabilities of the aircraft's own equipment and needs to be assisted by image processing methods. The following focuses on low-frequency anti-shake methods based on image processing.
[0082] Existing anti-shake methods for single-vehicle aircraft generally include: for frame images in a monocular video image sequence, using a motion estimation algorithm to detect actual motion information of the frame image, and judging whether the motion is jitter (for example, the motion of the frame image can be smoothed and filtered, and the low-frequency motion information obtained after filtering can be considered as the expected motion information of the frame image, and the actual motion information of the detected frame image is compared with the expected motion information to further judge whether the motion is jitter). If it is jitter, an image motion compensation algorithm is used to eliminate or reduce the interference of the jitter on the image.
[0083] However, the difference between multi-drone collaborative shooting and existing single-drone shooting is that a single-drone only needs to independently handle the anti-shake problem of the single-drone, while multi-drone collaborative shooting needs to take into account the relative positions of the two drones. For two drones working together, if the anti-shake method of a single drone is directly used, it is likely to cause problems such as height inconsistency between the binocular frame images after de-shaking, which greatly affects the user's viewing experience and may even cause users to feel dizzy or other discomfort.
[0084] For example, when two UAVs cooperate to shoot stereoscopic video, if the anti-shake method of a single UAV is directly used to de-shake the binocular frame images obtained by the two UAVs, it is easy to obtain the following Figure 3a or Figure 3b The results in .
[0085] exist Figure 3aIn the figure, the two solid curves represent the actual motion trajectories of the frame images taken by the two drones, and the endpoints at the lower left corners of the two solid curves represent the flight starting points of the two drones at the corresponding shooting moments; the dotted line represents the expected motion trajectory of the frame images taken by each aircraft after anti-shake processing when independent anti-shake processing is performed. Since the binocular frame images are independently shot by the multimedia information acquisition devices of the two drones, the actual motion trajectories of the two drones may be inconsistent due to the influence of airflow, etc. After independent anti-shake is performed based on the actual motion trajectories of the two drones, the independent expected motion trajectories of the two drones are obtained. Since the independent anti-shake of one drone does not consider matching the expected motion trajectory of the other drone, in most cases, the independent motion trajectories of the two drones are not coplanar, and there is even no overlapping field of view; it is easy to cause the position of the object in one frame image to be higher, and the position of the same object in the other frame image to be lower, which is unacceptable to the human eye; or because the two expected motion trajectories are respectively biased to the left and right, the same object does not exist in the two frame images (that is, there is no overlapping area between the two frame images), there is no binocular focus point, and no stereoscopic effect can be formed; which can easily lead to inconsistent binocular vision, seriously affecting the user's viewing experience.
[0086] exist Figure 3b In the case of two aircraft encountering air currents, one aircraft will sink while the other will float up. When the independent anti-shake algorithm for each aircraft is used, the binocular frame image seen by the user may have one side high and the other side low. Users will naturally feel uncomfortable when watching such frame images. Figure 3b In the figure, assuming that the aircraft carrying the left-eye multimedia information acquisition device (a multimedia information acquisition device used to capture left-eye images) is subject to a downward airflow, the independent anti-shake function will deem that the aircraft's flight trajectory is biased downward, and will give an upward compensation to the left-eye image, that is, select the upper part of the image as the compensated left-eye image. Similarly, assuming that the aircraft carrying the right-eye multimedia information acquisition device (a multimedia information acquisition device used to capture right-eye images) is subject to an upward airflow, the independent anti-shake function will deem that the aircraft's flight trajectory is biased upward, and will give a downward compensation to the right-eye image, that is, select the lower part of the image as the compensated right-eye image. However, the two aircraft do not perform coordinated anti-shake, and the estimated jitter amplitudes of the two aircraft may deviate significantly from the actual amplitudes. In a single aircraft, this deviation will not have a significant impact on the video quality, but in a binocular video, it will result in fewer overlapping areas of the observed binocular images, and the positions are not in the same horizontal plane. Figure 3bFrom the results of independent anti-shake of the two aircraft, it can be seen that the overlap area of the left and right eye images is small, and the overlap area is not in the same horizontal plane, which seriously affects the user's viewing experience. Therefore, the technical solution of the present invention adopts a collaborative anti-shake method, which not only considers the de-shake of a single aircraft, but also takes into account the relative position relationship of multiple aircraft, realizes the collaborative anti-shake of multiple aircraft, and then provides users with a better stereoscopic video viewing experience.
[0087] Specifically, in the multi-aircraft coordinated anti-shake method of the technical solution of the present invention, the actual motion information of the images taken by the two aircraft can be obtained by actual measurement, or by matching the feature points of the binocular frame images taken by the aircraft. Figure 4 When the desired relative position relationship of the two aircrafts is obtained according to the current desired baseline distance obtained in the baseline distance adjustment process, the desired relative position relationship of the two aircrafts is determined, and the desired relative position relationship of the two aircrafts is used as a constraint condition to determine the desired motion information of the binocular frame image. Then, the binocular frame image can be de-jittered according to the desired motion information and the actual motion information of the binocular frame image.
[0088] For example, Figure 4 The figure is a schematic diagram of the principle of an example of collaborative de-jittering processing of binocular frame images in the first embodiment of the present invention.
[0089] When the two aircraft are specifically dual drones, Figure 4 middle, It represents the expected relative position relationship between UAV 1 and UAV 2 at time t. The solid curve represents the actual motion of the frame image taken by the UAV, and the dotted line represents the expected motion of the frame image taken by each UAV when the dual UAVs cooperate to stabilize.
[0090] Preferably, the de-jitter processing method described in the first embodiment of the present invention may be used to perform de-jitter processing on low-frequency jitter and / or other types of jitter (such as high-frequency jitter) occurring during drone photography.
[0091] Furthermore, when it is detected that the shaking of the drone is not severe, the above method can be used to perform de-shaking processing based on the frame image; however, when the shaking is more severe due to the influence of strong airflow, other methods are used for processing (the other methods will be described in detail later and will not be repeated here).
[0092] Therefore, the method for determining stereoscopic multimedia information according to the first embodiment of the present invention further includes: performing de-jitter processing on the collected multimedia information.
[0093] In addition, for the specific method of de-jittering the collected multimedia information in the first embodiment of the present invention, please refer to the subsequent third embodiment.
[0094] By utilizing the collaborative anti-shake method provided in the first embodiment of the present invention, the common area of the binocular frame image can be maximized, the stereoscopic effect of the common area can be enhanced, and the viewing experience of the user can be improved.
[0095] Preferably, the method for determining stereoscopic multimedia information of the first embodiment of the present invention further includes: adjusting the shooting focal length of the multimedia acquisition device.
[0096] For the specific method of adjusting the focal length of the multimedia acquisition devices of at least two aircraft, please refer to Example 4.
[0097] Preferably, the inventor of the present invention further discovered that in order to ensure the consistency of binocular vision of multimedia information collected by multimedia collection devices of at least two aircraft in Example 1 of the present invention, the multimedia collection devices respectively provided on the two aircraft can satisfy the following coplanar conditions:
[0098] 1) When the multimedia acquisition devices are placed horizontally, the horizontal plane passing through the optical centers of the two multimedia acquisition devices is defined as the normal plane; when the multimedia acquisition devices are tilted, the normal plane also tilts accordingly; in the technical solution of the present invention, the normal planes of the two multimedia acquisition devices are coplanar.
[0099] 2) The optical center connection line of the two multimedia acquisition devices is defined as a baseline. In the technical solution of the present invention, the angle between the baseline and the optical axes of the two camera settings is equal.
[0100] The technical solution of the present invention sets the angle between the multimedia acquisition device and its carrier (i.e., the aircraft on which the multimedia acquisition device is installed) perpendicular to the normal plane to a fixed angle. Therefore, in the technical solution of the present invention, the normal planes of the two multimedia acquisition devices are coplanar, which actually requires the two aircraft to be coplanar.
[0101] For ease of understanding, this article uses the coplanarity of the two aircraft to represent the coplanarity of the normal planes of the two multimedia acquisition devices.
[0102] In addition, according to actual needs, the multimedia acquisition devices can be controlled to rotate in the normal plane so that the optical axes of the two multimedia acquisition devices are parallel or non-parallel.
[0103] For example, Figure 5 Multiple examples of coplanarity / non-coplanarity of the two drones and equal or unequal angles between the optical axis and the baseline are shown. Figure 5 When the two aircraft are dual-rotor drones, the two drones may be coplanar or non-coplanar, and the angles between the optical axis and the baseline may be equal or unequal. Figure 5 The normal planes of the two cameras in the lower left and lower right sub-images are coplanar, while the heights of the two drones in the lower middle sub-image are not equal, so the normal planes of the two cameras are not coplanar.
[0104] The method for determining stereoscopic multimedia information according to the first embodiment of the present invention further includes: performing time synchronization and / or space synchronization on at least two aircraft.
[0105] When the two aircraft are spatially synchronized, the two aircraft are coplanar. The specific synchronization method can be referred to in the subsequent embodiment 6, which will not be described here.
[0106] Preferably, after the two aircraft are synchronized, one aircraft shoots through the multimedia acquisition device carried by the aircraft to obtain a frame image of one eye as multimedia information; similarly, the other aircraft shoots to obtain another frame image. For the two aircraft, binocular frame images are captured. Since the shooting time has been synchronized, the binocular frame images captured at the same time can be used to determine the stereoscopic video as stereoscopic multimedia information.
[0107] In fact, during the process of shooting stereoscopic videos with two aircraft, the method in embodiment 1 of the present invention can be used to perform at least one of the following operations: real-time synchronization of the two aircraft, real-time adjustment of the baseline distance between the two aircraft, real-time adjustment of the focal length of the multimedia acquisition devices of the two aircraft, and real-time de-jittering of the multimedia information collected by the multimedia acquisition devices. Through the above operations, stereoscopic multimedia information with richer stereoscopic sense and clearer images can be acquired, which can enhance the user viewing experience.
[0108] In addition, the technical solution of the first embodiment of the present invention also proposes a method for handling anomalies caused by the synchronous operation of two aircraft (i.e., synchronously shooting three-dimensional multimedia information) (please refer to the subsequent ninth embodiment for details).
[0109] Better, Figure 6a A schematic diagram of an example of the internal structure of a drone is shown when the aircraft is a drone. Figure 6a , the information transmission relationship between some modules is not shown.
[0110] The drone of the first embodiment of the present invention comprises: a multimedia acquisition device, a flight system, a synchronization module, a baseline adjustment module, a control module, etc. Preferably, the drone of the first embodiment of the present invention also comprises: an anti-shake module, a communication module, an antenna, a sensor, etc.
[0111] Among them, the main function of the synchronization module is to synchronize the time and space of the two aircraft.
[0112] The control module is mainly used to control the operation of the entire aircraft and undertake the following tasks: receiving information sent by other modules; sending control signals to other modules; performing error control when anomalies occur; undertaking the main visual computing tasks; and anti-shake work at the flight control level. Preferably, the control module is used to call the multimedia information acquisition device to capture monocular frame images. For two aircraft, it is to capture binocular frame images. Preferably, the control module is used to call the flight system to control the flight attitude of the aircraft to which it belongs.
[0113] The main functions of the baseline adjustment module are: to analyze the binocular frame image based on the binocular vision-related algorithm and provide the baseline adjustment information to the control module; the control module calls the flight system to adjust the baseline distance between the two aircraft.
[0114] The main function of the anti-shake module is to detect and compensate for the shaking of the aircraft during shooting to ensure smooth video shooting.
[0115] The main function of the focus module is to quickly focus on the subject according to the content of the subject.
[0116] The main functions of the communication module include: information exchange with the ground control console and / or geographic control console.
[0117] The main function of the flight system is to receive the aircraft's flight-related upper-level abstract commands and perform specific control of the aircraft's flight attitude.
[0118] The specific functions of the above-mentioned multiple modules and systems will be described in detail later and will not be repeated here.
[0119] In actual applications, the control module of each of the two aircraft is mainly responsible for the overall control function of the system, undertakes the main neural network calculation work, receives information from other working modules, and sends relevant control information to the corresponding module to achieve control of the entire system.
[0120] The control module receives the frame image captured by the multimedia information acquisition device, pre-calculates the frame image, and sends it to the focusing module and the baseline adjustment module for focal length adjustment and baseline distance adjustment respectively. The focusing module and the baseline adjustment module feed back parameter update information to the control module through online learning. After receiving this information, the control module updates the corresponding parameters of the deep learning network. For details, please refer to Example 5.
[0121] The communication module of each of the two aircraft mainly demodulates the received information and transmits it to the control module, which distributes the received information to each related module. At the same time, the control module transmits the system's image / configuration information to the communication module, which transmits the information to the cooperating aircraft or ground control console through the communication module.
[0122] The synchronization module of each of the two aircraft mainly sends a time synchronization signal according to the timestamp given by the control module to perform time synchronization. In addition, when the spatial positioning is completed, the synchronization module will send a signal to the control module to complete the synchronization process.
[0123] When the flight status of the collaborative aircraft is abnormal and exceeds the range that the anti-shake module can normally resolve, the control module will integrate the information transmitted by the multimedia information acquisition device, the baseline adjustment module and the sensor, calculate the flight control parameters, and directly send flight attitude and trajectory adjustment instructions to the flight system (please refer to the subsequent embodiment 6 for details), and can be reinitialized through the synchronization module.
[0124] The following is an overall introduction to the interaction between the various modules of the drone.
[0125] When the drone is flying, the antenna receives the signal and inputs it into the communication module. The communication module demodulates the information received by the antenna and transmits it to the control module. The control module receives the information, analyzes it, and transmits the control information to the corresponding module for execution. If collaborative operation is required, the drone synchronization module will receive the command of the control module and perform the synchronization process. After the synchronization process is completed, the synchronization module sends a message to notify the control module that the synchronization is complete.
[0126] After the synchronization is completed, the drone can start synchronous shooting. For a drone, the multimedia information acquisition device transmits the frame image obtained by shooting to the anti-shake module. The anti-shake module can calculate the jitter information according to the inconsistency between the actual movement of the frame image and the expected movement. Here, the frame image can be compensated based on the information between the frames of the frame image or based on the measurement and estimation of the jitter, thereby eliminating the jitter. At the same time, the image captured by the multimedia information acquisition device will also be transmitted to the control module, and the control module will perform deep learning front-end calculations (please refer to the subsequent embodiments 2, 3 and 5 for details), and the calculated results will be transmitted to the focusing module and the baseline adjustment module for further calculation, thereby determining the focal length of the binocular frame image captured and the appropriate expected baseline distance between the two drones. The focusing module transmits the calculated focal length value to the lens of the multimedia information acquisition device for rapid focusing, and the baseline adjustment module sends the calculated expected baseline distance to the control module and the flight system. The flight system coordinates the actual baseline distance between the two aircraft according to the adjustment instructions generated by the control module according to the expected baseline distance.
[0127] Better, Figure 6b The diagram shows an example of a process principle of two UAVs performing stereoscopic video shooting when the aircraft is a UAV.
[0128] According to the image flow, we can get Figure 6bThe flowchart shown (please refer to the subsequent Example 2 for the description of the actual relative position relationship and the expected relative position relationship). The original binocular frame image captured by the multimedia information acquisition device is de-shaked, and the binocular frame image after de-shaking is sent to the control module. The control module sends the front-end result calculated based on the binocular frame image to the focusing module and the baseline adjustment module. The focusing module determines the focal length information for adjusting the focal length, and the baseline adjustment module determines the expected baseline distance information and sends it to the flight system. The flight system adjusts according to the expected baseline distance information, and after adjustment, the actual baseline distance information is sent to the anti-shake module. The anti-shake module will perform collaborative anti-shake processing in combination with the actual baseline distance information (please refer to the description of the anti-shake module for details).
[0129] In the first embodiment of the present invention, when two aircraft shoot distant objects or medium-long-distance objects through the multimedia acquisition devices carried by each aircraft, the baseline distance between the two aircraft can be adjusted, for example, the baseline distance can be adjusted to 100m (meters) to shoot distant high-rise buildings, so that the distant objects or medium-long-distance objects have a three-dimensional sense when viewed by the user. It can be seen that the adjustment range of the baseline distance in the first embodiment of the present invention can far exceed the size of existing vehicles represented by a single aircraft, and can solve the technical problem that distant objects or medium-long-distance objects are prone to lose the three-dimensional sense in multimedia information shot by existing vehicles such as single aircraft.
[0130] Moreover, in the first embodiment of the present invention, when two aircrafts shoot medium and near distance objects through the multimedia acquisition devices carried by each of them, the baseline distance between the two aircrafts can be adjusted to be reduced so that the medium and near distance objects also have a three-dimensional sense when viewed by the user.
[0131] Furthermore, in the first embodiment of the present invention, when two aircraft are shooting multimedia information, since the two aircraft are flying dynamically, the distance between them and the subject may change continuously. Therefore, by using the first embodiment of the present invention, the baseline distance between the two aircraft (i.e., between the multimedia acquisition devices) can be appropriately and dynamically adjusted to always protect the stereoscopic sense of the subject, thereby enhancing the user's visual enjoyment and user experience.
[0132] Embodiment 2
[0133] The second embodiment of the present invention mainly introduces the method for adjusting the baseline distance between at least two aircrafts according to the photographed object in the first embodiment.
[0134] A second embodiment of the present invention provides a method for adjusting a baseline distance between at least two aircrafts according to a photographed object, specifically comprising: adjusting the baseline distance between at least two aircrafts according to an object distance corresponding to the photographed object and / or a content attribute of the photographed object.
[0135] The content attribute of the photographed object includes at least one of the following: the shape of the photographed object, the area occupied by the photographed object in the multimedia information, and the surface feature attribute of the photographed object.
[0136] The following describes a method for adjusting the baseline distance between at least two aircrafts according to the object distance corresponding to the photographed object.
[0137] Specifically, the object distance between the aircraft and the object can be measured by binocular ranging, or calculated according to the pitch angle of the aircraft and the shooting altitude of the aircraft (flight altitude during acquisition).
[0138] According to the binocular frame images acquired by the multimedia acquisition devices of the two aircrafts, the depth information of the photographed object is determined. It can be understood that the depth information of the photographed object is the depth information relative to the aircraft (the multimedia acquisition device), and the object distance between the photographed object and the aircraft can be determined. The principle of this step is actually to determine the object distance between the photographed object and the aircraft.
[0139] Preferably, the photographed object may be a salient object. A salient detection method, an infrared detection method, or an ultrasonic detection method may be used to directly extract a salient area from a binocular frame image as a salient object. An object detection method may be used to extract multiple detection areas from a binocular frame image, and a living target such as a person or an animal that is centered and has a larger area in the frame image may be preferentially selected as a salient object. If there is no living target such as a person or an animal in the frame image, other objects (such as buildings or furniture) may be selected as salient objects.
[0140] Adjust the baseline distance between the two aircrafts according to the object distance between the subject and the aircraft.
[0141] Figure 7 Part (a) is a schematic diagram showing an example of the relationship between the object distance and the baseline distance. Figure 7 In part (a), the distance between the building as the subject in the upper frame image and the aircraft is relatively large. In order to make the building have a three-dimensional effect, the baseline distance between the two aircraft needs to be a long baseline distance. Therefore, when the object distance is large, the baseline distance needs to be adjusted to be longer.
[0142] Figure 7 In part (a), the distance between the building as the subject in the frame image in the lower half and the aircraft is small. In order to make the building have a three-dimensional effect, the baseline distance between the two aircraft needs to be a short baseline distance. Therefore, when the object distance is small, the baseline distance needs to be adjusted to be shorter.
[0143] Preferably, after detecting that the photographed object in the binocular frame image is switched, the object distance between the switched photographed object and the aircraft is adjusted.
[0144] More preferably, the object distance between the photographed object and the aircraft is calculated according to the pitch angle of the aircraft and the shooting height of the aircraft; and the baseline distance between the two aircraft is adjusted according to the calculated object distance.
[0145] Figure 8 A schematic diagram showing an example of estimating the object distance according to the pitch angle θ of the drone and the shooting height of the drone.
[0146] The multiple adjustment methods for adjusting the baseline distance between two aircraft according to the object distance in the second embodiment of the present invention are applicable to shooting scenes containing close-range objects and / or medium-range objects, and are also applicable to shooting scenes containing medium-range and long-range objects and / or long-range objects.
[0147] Among them, the object distance in the present invention refers to the distance between the subject and the multimedia information acquisition device of the aircraft; since the distance between the multimedia information acquisition device and the aircraft is much smaller than the distance between the subject and the multimedia information acquisition device and can be ignored, the distance between the subject and the aircraft can be used as the object distance in the subsequent calculation.
[0148] Those skilled in the art can divide the range of medium-long distance object distance and long distance object distance according to experimental data, historical data, empirical data and / or actual situation. For example, to simplify the problem, the object distance of 20 to 200 meters can be defined as medium-long distance object distance, and the object distance greater than 200 meters can be defined as long distance object distance.
[0149] Preferably, for medium-distance objects or long-distance objects, the object distance can be determined by binocular ranging according to binocular frame images.
[0150] Preferably, the inventors of the present invention have noticed that when the object distance is large, the human eye is insensitive to small changes in the baseline distance. For a distant object, the object distance can be determined based on the pitch angle of the aircraft and the shooting height of the aircraft. The computational complexity of the baseline adjustment algorithm can be simplified, the adjustment efficiency of the baseline distance can be improved, and computing resources can be saved, which is beneficial to power saving of the drone and can extend the flight time of the drone.
[0151] The following describes a method for adjusting the baseline distance between at least two aircrafts according to the shape of the object being photographed.
[0152] Specifically, the baseline distance between at least two aircrafts is adjusted according to the parallax of the object in different target frame images.
[0153] Determine the shape of the photographed object in the multimedia information. Preferably, the photographed object may be a significant object. The area occupied by the significant object may be detected by the following methods: object detection method, significant detection method, infrared detection method, or ultrasonic detection method. Then determine the shape of the significant object.
[0154] When the shape of the same object in one binocular frame image is the same as that in the other binocular frame image, it indicates that there is no parallax of the object in the binocular frame image, and there is no need to adjust the baseline distance between the two aircrafts.
[0155] Preferably, the baseline distance between the two aircraft is adjusted according to the parallax in multimedia information collected by the multimedia collection equipment of the same aircraft under different baseline distance conditions for the same object.
[0156] When the multimedia acquisition device of the same aircraft shoots the same object under different baseline distance conditions, if the shape of the photographed object remains unchanged, there is no need to adjust the baseline distance in this case.
[0157] The following describes a method for adjusting the baseline distance between at least two aircrafts according to the area occupied by the photographed object in the multimedia information.
[0158] Specifically, the area occupied by the photographed object is determined from the binocular frame images acquired by the multimedia acquisition devices of the two aircraft. Preferably, the photographed object can be a significant object. The area occupied by the significant object can be detected by the following methods: object detection method, significant detection method, infrared detection method, or ultrasonic detection method.
[0159] Adjust the baseline distance between the two aircrafts according to the size of the area occupied by the subject.
[0160] Figure 7 Part (b) is a schematic diagram showing an example of the relationship between the size of the area occupied by the subject and the baseline distance. Figure 7 In part (b), the area occupied by the toy as the subject in the upper frame image is small, so that when the object distance between the toy and the drone remains unchanged, a larger baseline distance is required between the two drones to ensure binocular parallax for the toy, so that the toy has a three-dimensional sense. Therefore, when the area occupied by the subject is small, the baseline distance needs to be increased.
[0161] Figure 7In part (b), the area occupied by the person as the subject in the frame image in the lower half is relatively large, so that when the distance between the person and the drone remains unchanged, a smaller baseline distance is required between the two drones to ensure binocular parallax for the person, so that the person has a three-dimensional sense. Therefore, when the area occupied by the subject is relatively large, the baseline distance needs to be reduced.
[0162] Preferably, when the area occupied by the subject belongs to the preset occupied area level, the expected baseline distance between the two aircraft is determined from the corresponding preset expected baseline distance level on the basis of maintaining the object distance; and the actual baseline distance between the two aircraft is adjusted according to the determined expected baseline distance.
[0163] The following describes a method for adjusting the baseline distance between at least two aircrafts according to the surface feature attributes of the photographed object. The surface feature attributes include: texture, and / or color, etc.
[0164] Specifically, the inventors of the present invention have found through research that, for two objects at the same distance from an aircraft, the smoother the surface texture of the object, the longer the baseline distance between the two aircraft needs to be, in order to enhance the binocular parallax of the object.
[0165] The surface texture features of the photographed object are determined from the multimedia information collected by the multimedia information collection devices of at least two aircraft. For example, the surface texture features of the photographed object can be obtained by high-pass filtering or other methods. Preferably, the photographed object can be a significant object.
[0166] Adjust the baseline distance between the two aircraft according to the surface texture characteristics of the object being photographed.
[0167] For example, zebras as the subject have rich texture information, while ordinary horses have less texture information. When the drone switches from photographing zebras to photographing ordinary horses, the baseline distance between the drones can be increased.
[0168] Preferably, if the texture features of the subject are extremely weak and are very insensitive to the baseline distance between the two aircraft, the stereoscopic effect of the subject will not be significantly enhanced even if the baseline distance is adjusted. In this case, you can choose not to adjust the baseline distance to save unnecessary workload, improve shooting efficiency, help aircraft nodes, and extend aircraft flight time.
[0169] Preferably, when the surface feature attribute of the subject is specifically texture, and the texture belongs to a preset sparsity level, the expected baseline distance between the two aircraft is determined from the corresponding preset expected baseline distance level; and the actual baseline distance between the two aircraft is adjusted according to the determined expected baseline distance.
[0170] Preferably, the inventor of the present invention has also found that the more monochromatic the surface color of the object being photographed is, the weaker the parallax sense is. Therefore, when the surface color of the object being photographed is monochromatic, there is no need to adjust the baseline distance between the two aircrafts.
[0171] The following describes a method for adjusting the baseline distance between at least two aircraft according to a shooting environment, specifically including: adjusting the baseline distance between at least two aircraft according to at least one of the ambient brightness of the shooting environment, the contrast between the shooting background and the subject, and the flight altitude limit of the aircraft.
[0172] Specifically, when the ambient brightness of the shooting environment decreases to a preset brightness level, the object distance is shortened to the preset object distance level. For example, when the drone moves to shoot, the distance to the subject can be shortened when moving from a brighter area to a darker area. According to the shortened object distance, the baseline distance between the two aircrafts is adjusted.
[0173] When the contrast between the background and the subject decreases to a preset contrast level, the object distance is shortened to the preset object distance level. For example, if the contrast between the oasis and the camel is large, and the contrast between the desert and the camel is small, when the drone moves from the oasis to the desert, the distance to the subject can be shortened. According to the shortened object distance, the baseline distance between the two aircrafts is adjusted.
[0174] When the aircraft moves from outdoor to indoor shooting, shorten the object distance to the preset object distance level. For example, when the drone moves from outdoor to indoor shooting, the drone needs to shorten the distance to the subject due to the indoor shooting height limit. Adjust the baseline distance between the two aircraft according to the shortened object distance.
[0175] More preferably, in actual operation, in particular, when two aircraft are shooting the same object, the baseline distance between the two aircraft can be kept unchanged to ensure the visual continuity of the shooting content and avoid the discomfort caused by the frequent changes in the three-dimensional sense of the same object to the audience.
[0176] When the photographed object remains unchanged, even if the object distance between the photographed object and the aircraft, the area occupied by the photographed object, the shape of the photographed object, and / or the surface feature attributes of the photographed object change, the baseline distance between the two aircraft can remain unchanged.
[0177] Fig. 9 FIG. 1 is a schematic diagram showing an example in which the baseline distance between two aircraft remains unchanged when the subject remains unchanged. Fig. 9 As shown, for example, two drones follow a person walking from inside a house to outside. The ambient brightness may change, but there is no need to adjust the baseline distance between the two drones.
[0178] Preferably, when switching the photographed object, the aircraft can slowly adjust the baseline distance between the two aircraft so that the viewer can adapt to the adjustment as much as possible. For example, when the baseline distance between the two drones at the current moment is d, the baseline distance can be adjusted at 0.1*d / second as the adjustment speed.
[0179] The switching of the photographed object includes: actively switching the photographed object and passively switching the photographed object. Actively switching the photographed object means actively giving up the current photographed object and switching to shoot the next object as the photographed object.
[0180] Passive switching of subjects means that the current subject suddenly disappears from the field of view, and the next subject is forced to be the subject. For example, if the person who is the current subject enters the house, the drone outside the house cannot immediately shoot the person entering the house, and the subject is forced to switch to the door or other parts of the house.
[0181] In addition, when no significant object is detected as the subject in the binocular frame image, the baseline distance between the two aircraft is not adjusted.
[0182] In addition, the following describes a method for adjusting the baseline distance between two aircraft according to user instructions.
[0183] Specifically, according to the subject information specified by the user, the object distance between the specified subject and the aircraft is determined, and then the baseline distance between the two aircraft is adjusted. For example, after the system receives the object of interest specified by the user, the drone automatically adjusts the baseline according to the user's specification. For example, the object area in the binocular frame image is retained, and the surrounding area is set to zero as the image input to the neural network, and the expected baseline distance is regressed.
[0184] Alternatively, the baseline distance between the two aircrafts is adjusted according to the user's adjustment instruction for the baseline distance. For example, the user fine-tunes the baseline distance in real time according to the visual effect produced by the system's automatic baseline adjustment. The system receives the user's baseline adjustment instruction and adjusts the actual baseline distance.
[0185] Alternatively, the baseline distance between the two drones is adjusted according to the object distance adjusted by the user. For example, the user adjusts the object distance, such as adjusting the vertical height and horizontal distance between the drone and the photographed object, or the shooting angle, and the drone automatically adjusts the baseline distance between the two drones based on the adjusted object distance.
[0186] The following describes a method for adjusting a baseline distance between at least two aircraft.
[0187] Specifically, an adjustment method for each aircraft is determined, and the motion state of the corresponding aircraft is adjusted according to the determined adjustment method, where the adjustment method includes adjusting direction and / or adjusting step length.
[0188] Preferably, when adjusting the baseline distance between the two aircrafts, it can be implemented in two modes.
[0189] Baseline distance adjustment mode 1
[0190] The adjustment state of the baseline distance between the two aircraft is divided into three states: adjustment to width, adjustment to shorten, and maintenance (ie, no adjustment). In this mode, the adjustment steps of the two aircraft are equal, and the adjustment directions are opposite.
[0191] Preferably, in the baseline distance adjustment mode 1, the baseline distance between the two aircrafts can be periodically adjusted according to the set adjustment step length. Among them, the adjustment of one cycle includes: obtaining multimedia information collected by the multimedia collection devices of the two aircrafts, inputting into the preset deep learning neural network, classifying and predicting the baseline distance adjustment state of the current cycle as wide adjustment, short adjustment or maintenance; when the classification prediction result of the neural network shows that the current cycle is wide adjustment or short adjustment, controlling the flight systems of the two aircrafts so that the two aircrafts adjust the distance of one adjustment step length to the back or to the opposite at the same time; then, continuing to obtain the multimedia information collected by the multimedia collection devices of the two aircrafts after the baseline distance is adjusted in the current cycle, and continuing to classify the baseline distance adjustment state of the next cycle, until the adjustment state of the baseline distance between the two aircrafts is maintenance, and ending the entire baseline distance adjustment process.
[0192] Furthermore, in addition to using the neural network to obtain the classification prediction results, the expected baseline distance between the two aircraft can also be obtained through the neural network regression algorithm (regression); then, the actual baseline distance between the two aircraft is adjusted based on the expected baseline distance. For example, when the baseline distance adjustment state is to adjust to a wider distance or to a shorter distance, the flight systems of the two aircraft are controlled so that the two aircraft adjust their positions to the opposite sides or to the opposite sides at the same time until the actual baseline distance between the two aircraft reaches the expected baseline distance.
[0193] More preferably, the adjustment of the baseline distance between the two aircrafts for one cycle may include: obtaining the expected baseline distance between the two aircrafts for the current cycle directly through a neural network regression algorithm, and obtaining the actual baseline distance between the two aircrafts for the current cycle through a distance measuring device between the two drones; thereby determining whether the baseline distance adjustment state for the current cycle is adjustment to width, adjustment to shorten, or maintenance. When the baseline distance adjustment state for the current cycle is adjustment to width or adjustment to shorten, controlling the flight systems of the two aircrafts so that the two aircrafts adjust their positions to face each other or to face each other at the same time; and then performing the adjustment of the baseline distance for the next cycle until the actual baseline distance between the two aircrafts for a certain cycle is consistent with the expected baseline distance.
[0194] Fig.10a A schematic diagram showing an example of adjusting the baseline distance between two aircrafts in the baseline distance adjustment mode. Fig.10a In the present invention, the baseline adjustment method can be obtained by neural network classification prediction, or by comparing the current actual baseline distance with the expected baseline distance. The baseline adjustment module determines the baseline adjustment method (closer, farther or keep) and the expected baseline distance through the left eye video frame and the right eye video frame, and then controls the flight systems of the two UAVs to adjust the flight trajectories respectively, thereby adjusting the baseline distance between the UAVs.
[0195] Baseline distance adjustment mode 2
[0196] In baseline distance adjustment mode 2, the adjustment methods of the two aircraft are independent of each other. Each aircraft has three adjustment directions: left adjustment, right adjustment, and no adjustment; the adjustment step lengths of the two aircraft are usually not equal.
[0197] Preferably, in baseline distance adjustment mode 2, the adjustment mode of each aircraft is determined according to the position of the subject in the collected multimedia information. In order to make the subject always in the center of the multimedia information, the adjustment direction and adjustment step size of the two aircraft can be different.
[0198] Preferably, in the second baseline distance adjustment mode, the baseline distance between the two aircraft can be adjusted periodically. The adjustment of one cycle includes: obtaining multimedia information collected by the multimedia acquisition devices of the two aircraft, inputting into a preset deep learning neural network, classifying and predicting the adjustment methods of the two aircraft in the current cycle, including the respective adjustment directions and adjustment steps, wherein the adjustment directions of the two aircraft include nine situations; according to the respective adjustment methods of the two aircraft, respectively controlling the flight systems of the two aircraft, respectively adjusting the flight positions of the two aircraft; then, continuing to obtain the multimedia information collected by the multimedia acquisition devices of the two aircraft after the baseline distance is adjusted in the current cycle, continuing to classify and predict the adjustment methods of the two aircraft in the next cycle, until the adjustment methods of the two aircraft are both no adjustment, and then the entire baseline distance adjustment process is ended.
[0199] Fig.10b A schematic diagram of an example of adjusting the baseline distance between two aircrafts in baseline distance adjustment mode 2 is shown. The baseline adjustment module determines the baseline adjustment mode (left, right or unchanged) of each drone through the left-eye video frame and the right-eye video frame, and then controls the flight system of each drone to adjust the flight trajectory according to its corresponding baseline adjustment mode, thereby adjusting the baseline distance between the drones.
[0200] In the second embodiment of the present invention, the baseline distance between at least two aircraft can be adjusted in real time according to the distance between the subject and the aircraft (i.e., the object distance) and the content attributes of the subject, so that the subject, especially the subject at a medium-long distance and a long distance, has sufficient binocular parallax between the multimedia information collected by the multimedia collection devices of the at least two aircraft, so that the subject at a medium-long distance and a long distance has a three-dimensional sense, thereby improving the user's viewing experience.
[0201] Moreover, in the second embodiment of the present invention, the baseline distance between at least two aircraft is adjusted in real time according to at least one of the shape of the photographed object, the area occupied by the photographed object in the multimedia information, and the surface feature attributes of the photographed object. The baseline distance between at least two aircraft is adjusted according to at least one of the ambient brightness of the shooting environment, the contrast between the shooting background and the photographed object, and the flight altitude limit of the aircraft. The three-dimensional sense of the photographed object in the multimedia information collected by the multimedia collection devices of the at least two aircraft is further enhanced.
[0202] Embodiment 3
[0203] The third embodiment of the present invention mainly introduces a method for de-jittering multimedia information collected by multimedia information collection devices of at least two aircrafts. The flowchart of the method is as follows: Fig.11As shown, the following steps S1101-1103 are included:
[0204] S1101: Determine actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft.
[0205] The characteristic points are determined from each multimedia information collected by the multimedia collection device of each aircraft within a time period corresponding to a set time point.
[0206] Among them, the time period corresponding to the set time point can be a time period that includes the set time point; for example, a time period with the set time point as the starting time point, a time period with the set time point as the ending time point, or the set time point is a time point in the time period.
[0207] For example, suppose that at time t and time t+1, four monocular frames of images collected by UAVs i and j are obtained as multimedia information. The relationship between the four monocular frames collected by the two UAVs is as follows: Fig.12 At the same time (e.g. time t), the pixels of the monocular frame images of different drones should conform to the actual relative position relationship. Constraints; at time t+1, the pixels of the monocular frame images of different drones should conform to the actual relative position relationship In addition, the position information of the same feature point in the two monocular frames taken by each drone between time t and t+1 can be used to estimate the actual motion information of the image taken by the drone at time t.
[0208] Preferably, feature points are selected from multimedia information collected by multimedia collection equipment of a set aircraft at a set time point. Based on the selected feature points, matching feature points are determined in each multimedia information collected by multimedia collection equipment of each aircraft within a time period corresponding to the set time point.
[0209] Specifically, for a set aircraft among the at least two aircraft, at least one feature point is extracted from multimedia information collected by a multimedia collection device of the set aircraft at a set time point.
[0210] For multiple feature points in the multimedia information (such as video frame images) collected at the set time point corresponding to the set aircraft, in the spatial dimension, feature points that match these multiple feature points in the multimedia information collected by the multimedia collection devices of other aircraft at the set time point can be determined; in the time dimension, feature points that match these multiple feature points in the multimedia information collected by the multimedia collection device of the set aircraft within the time period corresponding to (for example, belonging to) the set time point can be determined.
[0211] More preferably, after the matching feature points are determined, the feature points in the multimedia information captured by the multimedia acquisition device of each aircraft at any time point within the time period are screened out to match the relative position relationship of each aircraft at any time point.
[0212] Specifically, based on the actual baseline distance between the two aircraft at the set time point, the first actual relative position relationship corresponding to the multimedia information collected by the multimedia collection devices of the two aircraft at the set time point is determined; the feature points in the multimedia information collected by each aircraft at the set time point that do not conform to the first actual relative position relationship are determined and filtered out. Among them, the first actual relative position relationship specifically refers to the position relationship between the matching feature points in the multimedia information of the two aircraft at the set time point. Furthermore, when the feature point does not exist in one of the multimedia information (for example, collected by an aircraft other than the set aircraft), it naturally does not conform to the first actual relative position relationship.
[0213] For example, for the monocular frame image (here as multimedia information) collected by drone i (here as the set aircraft) at time t (here as the set time point), N feature candidate points can be obtained (using the feature point selection algorithm), and the actual relative position relationship between the two drones at time t can be used to obtain N feature candidate points. Find matching feature candidate points in the monocular frame image collected by UAV j at time t. Fig.13a , where the leftmost feature candidate point of drone i is beyond the field of view of drone j and cannot be observed in the monocular frame image taken by drone j, so it is filtered out. It should be noted that the actual relative position relationship is calculated based on the measured baseline distance of the two drones.
[0214] In the time dimension, feature points in the multimedia information collected by each aircraft at other time points after the set time point that match the feature points in the multimedia information at the set time point are determined.
[0215] According to the actual baseline distance between the two aircraft at other time points (e.g., the next time point) other than the set time point, the second actual relative position relationship corresponding to the multimedia information collected by the multimedia collection devices of the two aircraft at other time points is determined; the feature points in the multimedia information collected by each aircraft at the set time point that do not conform to the second actual relative position relationship are determined and filtered out. Furthermore, for the feature points in the multimedia information collected by the set aircraft at other time points, when there are no feature points matching these feature points in the multimedia information collected by other aircraft at other time points, the feature points in the multimedia information collected by the set aircraft at other time points naturally do not conform to the second actual relative position relationship.
[0216] Among them, the second actual relative position relationship specifically includes: for at least one feature point in the multimedia information collected by the set aircraft at the set time point, the parallax of the at least one feature point in the multimedia information collected by the set aircraft and other aircraft at adjacent time points should be the same. In other words, at least one feature point does not have a relative displacement relative to the aircraft after passing through the same time period. When a feature point (of a moving object) has a relative displacement relative to the aircraft after passing through the same time period, the parallax of the feature point in the multimedia information collected by the two aircraft at adjacent time points (other time points other than the set time point) is different from the parallax of other feature points (of stationary objects) and should be filtered out.
[0217] Objects that are stationary relative to the aircraft in multimedia information (such as frame images) may include objects that are stationary relative to the ground; they may also include objects that move slowly relative to the ground but whose moving speed is much smaller than the moving speed of the aircraft during shooting (so the moving speed can be ignored); for example, a running person.
[0218] It is understandable that objects in the distance in multimedia information are often slower and more likely to be static objects. Therefore, the feature points obtained after filtering are usually feature points of static distant objects.
[0219] For example, using feature point matching technology, in the monocular frame image (as multimedia information) of drone i (as the set aircraft) at time t+1 (as other time points other than the set time point, such as adjacent time points), find feature points that match the feature candidate points in the monocular frame image of drone i at time t (as the set time point), and perform the same operation on drone j (as other aircraft other than the set aircraft).
[0220] The feature points matched in the binocular frame images of the two drones i and j at time t+1 are used to calculate the actual relative position relationship of the two drones at time t+1. The relationship is verified. Because the moving object will still change position when the drone is not shaking, and the position change of the foreground object in the image cannot accurately reflect the shaking of the drone, the feature points of the moving object or the foreground object participate in the motion estimation process, which will cause a large deviation in the estimation result. In the feature point matching process, the present invention selects a series of stable static distant feature points according to the relative position relationship between the two drones, thereby improving the accuracy of calculating the feature point position information and the accuracy of collaborative anti-shake. Fig.13b In the figure, since the car is in relative motion with respect to the drone and the car is a close-up object, the relative positions of the feature points within the car contour at time t+1 do not conform to Constraints, filtering.
[0221] Preferably, the image taken by drone i at time t Get feature point set It can be randomly selected or obtained through feature extraction and other rules. The corresponding point set on It can be obtained through block matching, optical flow method, feature matching and other methods, and satisfies the following formula (1):
[0222]
[0223] Consider UAV i at adjacent time t, t+1, image and The correspondence between the frame images. Shangdianji Calculate its position in the frame image through block matching, optical flow method, feature matching and other methods The corresponding feature point set on Calculate the frame image in the same way The corresponding feature point set on And the following formula (2) is satisfied:
[0224]
[0225] Only feature point sets that satisfy both constraints (1) and (2) are retained.
[0226] According to the determined feature points, the motion information between the multimedia information collected by the multimedia acquisition device within the time period corresponding to the set time point is determined as the actual motion information corresponding to the multimedia information collected by the multimedia acquisition device at the set time point.
[0227] Preferably, the position information of the feature point in the plurality of multimedia information collected in the time period corresponding to the set time point is determined, and the motion information between any two adjacent multimedia information in the time period is determined according to the determined position information.
[0228] Furthermore, according to the position information of the feature points in the multimedia information of the same aircraft at multiple time points, the motion information between the multimedia information at two adjacent time points is determined.
[0229] For example, by filtering the feature points of any drone (taking drone i as an example) at time t and t+1, the motion information between two frames of images (as multimedia information) in the time period [t, t+1] can be estimated. ( Fig.14 ), that is, solving
[0230] Among them, argmin means finding the minimum value; ||*|| means a metric, which can be an L2 norm, an L1 norm or other meaningful metrics. Similarly, the motion information of the frame images in each time period such as [t-1, t] and [t-2, t-1] can be estimated.
[0231] Preferably, based on the motion information between two adjacent multimedia information, the accumulated motion information of each multimedia information collected by the multimedia acquisition device in the time period corresponding to the set time point is determined as the motion information between the multimedia information collected by the multimedia acquisition device in the time period.
[0232] The accumulated motion information of each multimedia information collected within the time period corresponding to the set time point may refer to the accumulated motion information of each multimedia information collected at any two time points within the time period corresponding to the set time point; or may refer to the accumulated motion information of each multimedia information collected at multiple time points within the time period corresponding to the set time point. When the time period corresponding to the set time point includes only two time points, the accumulated motion information of each multimedia information collected at the two time points is referred to.
[0233] Furthermore, based on the motion information between the multimedia information at two adjacent time points, the motion information accumulated by each multimedia information in the time period corresponding to the set time point is determined as the actual motion information of the multimedia information at the set time point.
[0234] For example, Fig.15 As shown, the motion information of the frame image (as multimedia information) within a period of time (for example, within the period [tk, t+1]) is calculated The accumulation of the actual motion information of the image can be obtained
[0235] S1102: Determine expected motion information corresponding to the multimedia information according to the actual motion information and the expected baseline distance between at least two drones.
[0236] Based on the expected baseline distance between at least two aircraft, the expected relative position relationship between at least two aircraft is determined; based on the actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft and the determined expected relative position relationship, the expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft is determined.
[0237] Preferably, based on the expected baseline distance between the two aircraft at the set time point, the expected relative position relationship corresponding to the multimedia information collected by the multimedia acquisition devices of the two aircraft at the set time point is determined; based on the expected relative position relationship corresponding to the multimedia information at the set time point, the expected motion information corresponding to the multimedia information collected by the multimedia acquisition device of each aircraft at the set time point is determined.
[0238] For example, the expected relative position relationship between the two drones at a set time point is determined based on the expected baseline distance between the two drones at a set time point obtained by the above deep learning neural network regression. The constraints are then used to obtain the expected motion information of the monocular frame image (as multimedia information) taken by each UAV at a set time point.
[0239] That is, we can solve the optimization
[0240] in, and satisfy relationship.
[0241] S1103: De-jitter the multimedia information according to the actual motion information and the expected motion information corresponding to the multimedia information.
[0242] According to the actual motion information and expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft, the jitter information corresponding to the multimedia information is determined; and the multimedia information is de-jittered according to the jitter information.
[0243] Preferably, jitter information of the multimedia information at the set time point is determined based on actual motion information and expected motion information of the multimedia information captured by the multimedia acquisition equipment of each aircraft at the set time point; and de-jitter processing is performed on the multimedia information at the set time point based on the jitter information of the multimedia information at the set time point.
[0244] Preferably, by comparing the actual motion information of the frame image (as multimedia information) taken by the drone at a set time point with the expected motion information, the jitter information of the frame image can be obtained, and each frame image can be collaboratively de-jittered based on the jitter information.
[0245] For example, for drone i, the jitter information of the monocular frame image (as multimedia information) taken at time t (as the set time point) is calculated according to the following formula (3):
[0246]
[0247] For images with jitter, the jitter is eliminated according to the following formula (4):
[0248]
[0249] In the above formula (4), It represents the monocular frame image after de-shaking taken by UAV i at time t.
[0250] Similarly, the monocular frame image taken by drone j at time t can also be de-jittered using the above method.
[0251] It should be pointed out that, compared with using the motion information between adjacent frames, the third embodiment of the present invention uses the expected relative position relationship of the two drones to constrain the motion information accumulated in the image within a time period. This can eliminate the possible micro-disturbance contained in the motion information between adjacent frames, improve the smoothness of the motion information, and use smoother motion information to improve the smoothness of the entire de-jittering process.
[0252] The specific process of determining the relative position relationship H is introduced below.
[0253] like Fig.16 As shown, the position relationship of the imaging pixels of the multimedia acquisition devices of the two aircraft for the same three-dimensional point is shown in the following formula (5):
[0254] P′=K′RK -1 P+K′t / Z……………………(5)
[0255] In formula (5), P and P′ are the coordinate positions of the two imaged pixels in their respective monocular frame images, where P = [x, y, z] T ,P′=[x′,y′,z′] T . You can define a vector ( Similarly, we can define the relative position relationship Make Where Z is the object distance, t is the translation transformation relationship (related to the baseline distance), R is the rotation transformation matrix (which is related to the angle between the optical axes of the two multimedia acquisition devices (e.g., binocular cameras) of the two aircraft in the normal plane, but in general, the optical axes of the binocular multimedia acquisition devices are parallel, so R degenerates into the unit matrix I). K, K' is the camera calibration matrix, which is related to the camera focal length and the principal point of the camera (it can be assumed that K and K' are equal when the camera focus and other parameters are the same).
[0256] The variables that affect the relative position relationship H include the baseline distance. When the feature points between the monocular frame images in the spatial dimension and the temporal dimension are matched in the above step S1501, the actual relative position relationship can be obtained by measuring the baseline distance. and When calculating the expected motion information of the image in the above step S1502, the expected relative position relationship can be obtained by regressing the expected baseline distance obtained by the baseline adjustment module.
[0257] In another embodiment, the drone can measure the actual absolute position at each moment through its own measuring device, including the altitude and the plane position; for example, the altitude is measured by a barometer and ultrasound; the plane position can specifically be the position in a plane parallel to the horizontal plane; for example, the longitude and latitude coordinates can be measured by GPS. The expected absolute position at each moment can be obtained through the flight system, and the frame image taken by the drone at each moment is de-jittered according to the expected absolute position and the actual absolute position.
[0258] In practice, the absolute coordinate position error of the drone measured by its own measuring device is usually large (about 10m), which greatly exceeds the amplitude of the jitter. Therefore, the de-jitter processing based on the expected absolute position and the actual absolute position can be used as a pre-de-jitter processing before the above-mentioned de-jitter processing based on the actual motion information and the expected motion information of the binocular frame image.
[0259] In the third embodiment of the present invention, when determining the expected motion information of the multimedia information collected by each of the at least two aircraft, the relative position relationship between the two aircraft is taken into consideration, which is equivalent to the expected operation information including the relative position relationship between the two aircraft; based on the expected motion information including the relative position relationship between the two aircraft, and the actual motion information, the multimedia information collected by the multimedia acquisition devices of the two aircraft are de-jittered. Compared with the existing de-jittering processing method, it is beneficial to expand the common area between the two multimedia information after the de-jittering processing, can enhance the visual consistency between the two multimedia information after the de-jittering processing, and is beneficial to enhance the stereoscopic sense of the stereoscopic multimedia information generated according to the multimedia information after the de-jittering processing, which can improve the user's viewing experience of stereoscopic multimedia information (such as stereoscopic video).
[0260] Moreover, in the third embodiment of the present invention, in the process of determining the actual motion information of the multimedia information collected by each of the two aircraft, the feature points are filtered, the statically stable feature points are retained, and the actual motion information of the multimedia at the set time point is determined based on the statically stable feature points; this not only improves the accuracy of determining the actual motion information, but also reduces the workload by filtering the feature points, thereby improving the efficiency of determining the actual motion information and the efficiency of subsequent steps.
[0261] Embodiment 4
[0262] The fourth embodiment of the present invention specifically introduces a method for adjusting the shooting focal length of a multimedia acquisition device. The flowchart of the method is as follows: Fig.17a As shown, the following steps S1701-1702 are included:
[0263] S1701: Determine an initial focal length based on multimedia information collected by multimedia collection devices of at least two aircrafts.
[0264] The inventors of the present invention have noticed that compared with traditional machine learning methods, deep learning has the characteristics of end-to-end learning. The neural network model based on deep learning has more parameters, better performance than traditional methods, and is convenient for online learning and timely adjustment of the model. At the same time, deep learning can autonomously learn information such as potential saliency in frame images based on pre-labeled training samples.
[0265] A neural network is used to process multimedia information (eg, binocular frame images) collected by multimedia collection devices of at least two aircrafts respectively, and an estimated focal length is determined as an initial focal length.
[0266] Preferably, the de-jittered multimedia information is input into a deep learning neural network, and the neural network regresses an estimated value d′ of the focal length of the multimedia information as an initial value of the focal length of the multimedia acquisition devices of the two aircraft, i.e., the initial focal length.
[0267] S1702: For each aircraft, a focal length search is performed starting from the determined initial focal length.
[0268] For each of the at least two aircrafts, with respect to the multimedia acquisition devices mounted on the aircraft, the multimedia acquisition devices are controlled to perform focal length search based on the determined initial focal length as a starting point.
[0269] The search direction of each aircraft when performing the focal length search is different. For example, the multimedia acquisition devices of the two aircraft are controlled to search for the current focal length in opposite directions respectively, starting from the initial focal length determined in the above steps.
[0270] Fig.17b A schematic diagram showing the principle of the multimedia acquisition devices of two aircrafts bidirectionally searching for the current focal length based on the initial focal length. Fig.17b The estimated focal length d′ represents the initial focal length, and the ideal focal length is the current focal length; cameras 1 and 2 represent the multimedia acquisition devices of the two aircraft respectively; the focal length search method of the multimedia acquisition device of one aircraft is d′→0, and the focal length search method of the multimedia acquisition device of the other aircraft is d′→∞.
[0271] When the multimedia acquisition device of one aircraft searches for a suitable focal length value, the suitable focal length value is used as the current focal length, and the value is sent to the other aircraft to complete the focal length synchronization process, and the multimedia acquisition device of the other aircraft completes focusing according to the received current focal length. Since the current accurate focal length value is generally close to the above-mentioned estimated initial focal length, in this step, the multimedia acquisition devices of the two aircrafts both start bidirectional search from the estimated initial focal length, which can find the accurate current focal length value very quickly compared to the existing one-way multimedia acquisition device traversing search from the minimum focal length to the maximum focal length and the other-way multimedia acquisition device searching from the maximum focal length to the minimum focal length.
[0272] Fig.17c The schematic diagram of the framework of an example of the multimedia acquisition devices of two aircrafts bidirectionally searching for the current focal length based on the initial focal length is shown. The host and the slave can be specified by the user, or the drone with more remaining power can be specified as the host, or randomly assigned, because the distinction between the host and the slave here is just the weight of the calculation burden. The host focusing module obtains the estimated value d', that is, the initial focal length, based on the left eye frame image and the right eye frame image. Taking the multimedia acquisition device as the reference, the host focusing module can search from the estimated value to the far, and the abdominal muscle focusing module can search from the estimated value to the near. Fig.17c The middle focal length value d represents the exact current focal length.
[0273] In fact, the inventors of the present invention have discovered through experiments that because there is often a certain gap between the training set and the test set, the best performance in the training set does not mean that the multimedia information (such as frame images) collected in another environment (lighting, weather, photographed objects, etc.) will definitely have excellent performance.
[0274] Therefore, in order to further improve the focusing performance, online learning can be used to continuously optimize the original deep learning neural network model using the precise focal length value actually positioned.
[0275] Specifically, the precise focal length value can be bidirectionally searched through the multimedia acquisition devices of the two aircraft. The difference between the estimated value (initial focal length) and the precise focal length value (such as L2 norm) obtained by deep learning regression is returned as the loss, so that the deep learning neural network model can be updated, so that the initial focal length value estimated by the updated neural network model is more accurate, further improving the focusing speed.
[0276] In the fourth embodiment of the present invention, deep learning is performed on the multimedia information collected by the multimedia acquisition devices of at least two aircraft to obtain a relatively accurate estimate of the focal length as the initial focal length; then the multimedia acquisition devices of at least two aircraft search in different directions based on the initial focal length, and can locate the precise focal length value more quickly, thereby achieving rapid focusing.
[0277] Embodiment 5
[0278] The method for determining the baseline distance between at least two aircraft and its adjustment method in the above-mentioned embodiment 2 and the method for determining the initial focal length in the above-mentioned embodiment 4 both use deep learning neural networks.
[0279] In order to save computing resources, and since the two tasks of baseline adjustment and focusing are similar, they can share a deep neural network for calculation, so as to save computing resources and improve the speed of real-time processing.
[0280] The fifth embodiment of the present invention mainly introduces a baseline distance and adjustment method based on a shared neural network, and multiple methods for determining the initial focal length.
[0281] The flowchart of a method for determining the baseline distance and adjustment method based on a shared neural network and the initial focal length is as follows Fig.18 As shown, the following steps S1801-S1802 are included:
[0282] S1801: Utilize the previous sub-neural network in the neural network to process the multimedia information of the set aircraft and the multimedia information received from other aircraft to obtain the feature multimedia information after the previous processing.
[0283] Preferably, one of the two aircraft (as the set aircraft) uses the previous sub-neural network in the neural network to process a frame image of the one aircraft and another frame image received from the other aircraft to obtain a feature image after the previous processing.
[0284] In general, the shared neural network is set up as a whole in one aircraft, and one aircraft uses the shared neural network to process the binocular frame images of two aircraft and shares the processing results with the other aircraft.
[0285] For example, Fig.19 A schematic diagram showing an example of the internal structure and working principle of a shared neural network. Fig.19 The host and slave in the middle represent the main aircraft and the slave aircraft respectively; Fig.19 The block diagram in the middle left part shows the entire shared neural network in the host; the perception modules 1 and 2 in the shared neural network are both composite layers, both composed of basic modules; Fig.19The upper right part is the enlarged internal structure of perception module 1, and the lower right part is the enlarged internal structure of perception module 2. Fig.19 The arrows in the figure indicate the direction of signal flow. Fig.19 In the shared neural network, the first cascade layer in the upper left corner to the last nonlinear unit layer in the second column is the previous sub-neural network.
[0286] Fig.19 In the example, the role of the cascade layer is to glue together multiple data in the upper layer for subsequent processing. For example, the dimensions of the output data of the two nonlinear units in the perception module 2 are C (Channel) 1*H (High)*W (Width) and C2*H*W, respectively. The output after cascading is (C1+C2)*H*W. It should be noted that the cascade needs to satisfy the need for the two-dimensional scales of the cascaded data to be consistent. Nonlinear units include Sigmoid (S-type activation function), Tanh (hyperbolic tangent activation function), and / or ReLU (Rectified Linear Unit) and other units. The role of nonlinear units is to introduce nonlinear transformations into neural networks and enhance the network's ability to classify data.
[0287] The monocular frame image captured by the multimedia information acquisition device of the auxiliary machine is downsampled and transmitted to the main machine (the downsampled frame image can be but is not limited to 112*112 pixels). After receiving the frame image, the main machine inputs the two frame images into the previous sub-neural network in the shared neural network for calculation to obtain the feature image after the previous stage processing.
[0288] S1802: using the first, second and third post-stage sub-neural networks in the neural network respectively, respectively process the feature multimedia information processed by the previous stage, and respectively obtain the expected baseline distance, the adjustment method of the baseline distance, and the initial focal length.
[0289] Preferably, an aircraft (as a set aircraft) uses the first, second and third post-stage sub-neural networks in the neural network to process the feature images after the pre-stage processing, respectively, to obtain the expected baseline distance, the adjustment method of the baseline distance, and the initial focal length, respectively.
[0290] For example, Fig.19The part after the last nonlinear unit layer in the shared neural network is divided into the subsequent sub-neural networks. Among them, the perception module 2 layers, pooling layer, fully connected layer and fully connected layer extending to the lower left side after the last nonlinear unit layer constitute the first subsequent sub-neural network; the perception module 2 layers, pooling layer, fully connected layer extending to the lower left side, and the fully connected layer and Sigmoid classification layer extending to the lower left constitute the second subsequent sub-neural network; the perception module 2 layers, pooling layer, fully connected layer and fully connected layer extending to the lower right side after the last nonlinear unit layer constitute the third subsequent sub-neural network.
[0291] The first post-stage sub-neural network, the second post-stage sub-neural network, and the third post-stage sub-neural network in the neural network are respectively used to process the feature image after the previous stage processing to obtain the expected baseline distance, the baseline distance adjustment method, and the initial focal length.
[0292] Preferably, the main unit and the auxiliary unit collect left-eye and right-eye frame images respectively. By sharing the convolution layer and pooling layer in the neural network, the abstract features in the frame image can be extracted layer by layer. The image features extracted at a deep level help improve the accuracy of the baseline distance, the baseline distance adjustment method and the focal length estimation.
[0293] Moreover, as the number of layers of the neural network increases, the resolution of the feature image input to the lower layer gradually decreases, and the amount of calculation decreases. Therefore, the calculation of the previous sub-neural network is more complicated and the workload is larger, while the calculation of the subsequent sub-neural network is simpler and the workload is smaller. Therefore, the control module, baseline adjustment module and focusing module can be divided into two parts; the control module is responsible for the calculation work involved in the previous sub-neural network, and the baseline adjustment module and focusing module use the calculation work involved in the subsequent sub-neural network.
[0294] Preferably, the main control module, the baseline adjustment module and the focusing module can be different hardware modules. Since the workload of the baseline adjustment module and the focusing module is relatively small, the hardware configuration of these two modules can be saved, which is beneficial to reduce costs while ensuring real-time calculation.
[0295] The host transmits the expected baseline distance, the baseline distance adjustment direction, and the initial focal length as calculated results to the slave; the slave makes adjustments according to the received calculation results.
[0296] A flowchart of another method for determining the baseline distance, the baseline distance adjustment method, and the initial focal length based on a shared neural network is shown in FIG. Fig. 20 As shown, the method comprises the following steps S2001-S2003:
[0297] S2001: Using the first-level sub-neural network in the previous-level sub-neural network in the neural network, the multimedia information collected by the multimedia collection device of the set aircraft is processed to obtain the first-level characteristic multimedia information of the set aircraft.
[0298] Preferably, for one of the two aircraft, a first-level sub-neural network in a previous-level sub-neural network in a neural network is used to process a de-jittered frame image of the aircraft to obtain a first-level feature image of the frame.
[0299] In general, most of the shared neural network is set in one aircraft, and a small part of the shared neural network is set in another aircraft. The two aircraft first pre-process their respective monocular frame images according to the front-end layers of the shared neural network, and each obtains a pre-processed feature image. Afterwards, one aircraft uses the remaining layers of the shared neural network to process the pre-processed feature images of the two aircraft, and shares the final processing results with the other aircraft.
[0300] For example, Fig.21 A schematic diagram showing another example of the internal structure and working principle of a shared neural network. Fig.21 The host and slave in the middle represent the main aircraft and the slave aircraft respectively; Fig.21 The block diagram in the middle left part shows the part of the shared neural network in the host; Fig.21 The middle right part is the part of the shared neural network in the slave machine.
[0301] Fig.21 In the shared neural network, the first cascade layer in the upper left corner, the first cascade layer in the upper right corner, and the last nonlinear unit layer in the middle column are the previous sub-neural network. The first cascade layer to the last pooling layer in the left column is the first sub-neural network set in the host; the first cascade layer to the last pooling layer in the right column is the first sub-neural network set in the slave.
[0302] The main aircraft of the two aircraft uses the first-level sub-neural network in the previous sub-neural network in the neural network to process the de-jittered frame image of the aircraft to obtain the first-level feature image of the one object. Similarly, the auxiliary aircraft of the two aircraft obtains the first-level feature image of another object and sends it to the main aircraft.
[0303] S2002: Receive first-level characteristic multimedia information of other aircraft.
[0304] Preferably, another target first-level characteristic image of another aircraft is received.
[0305] Preferably, the master aircraft receives another target first-level characteristic image of the slave aircraft.
[0306] For example, the control module in the main aircraft receives another target first-level characteristic image of the secondary aircraft through the communication module or the synchronization module.
[0307] S2003: Using the second-level sub-neural network in the previous-level sub-neural network, the first-level characteristic multimedia information of the set aircraft and other aircraft is processed to obtain the characteristic multimedia information after the previous-level processing.
[0308] Preferably, the first-level feature image of the binocular is processed by using the second-level sub-neural network in the previous-level sub-neural network to obtain the feature image after the previous-level processing.
[0309] For example, Fig.21 In the shared neural network, the first cascade layer to the last nonlinear unit layer in the middle column is the second-level sub-neural network set in the host computer of the previous sub-neural network.
[0310] S2004: The first post-stage sub-neural network, the second post-stage sub-neural network, and the third post-stage sub-neural network in the neural network are used to process the feature multimedia information after the previous stage processing, and respectively obtain the expected baseline distance, the baseline distance adjustment method, and the initial focal length.
[0311] Fig.21 The first, second and third post-stage neural networks in the above Fig.19 The same as in.
[0312] The specific method for obtaining the expected baseline distance, baseline distance adjustment method, and initial focal length in this step is consistent with the specific method for obtaining the expected baseline distance, baseline distance adjustment method, and initial focal length in the above step S1802, and will not be repeated here.
[0313] Preferably, the main aircraft uses the first post-stage sub-neural network, the second post-stage sub-neural network, and the third post-stage sub-neural network in the neural network to process the feature image after the previous stage processing, and obtain the expected baseline distance, baseline distance adjustment method, and initial focal length, respectively.
[0314] It can be understood that in the method of steps S2001 to S2003, the primary and secondary aircraft respectively perform front-end calculations, and the secondary aircraft sends the intermediate results of the calculations to the primary aircraft for subsequent calculations. This strategy can fully utilize the computing resources of the two aircraft and has a faster real-time response speed.
[0315] In the fifth embodiment of the present invention, a shared neural network is used to reduce the computational workload of the method for determining the expected baseline distance, the baseline distance adjustment method, and the initial focal length, thereby improving efficiency and improving the real-time performance of determining the expected baseline distance, the baseline distance adjustment method, and the initial focal length; and reducing the energy consumption of the aircraft, which is beneficial to extending the flight time of the aircraft.
[0316] Moreover, in the fifth embodiment of the present invention, the neural network can be divided into front-end and rear-end sub-neural networks, and the calculation of the rear-end sub-neural network with smaller computational workload can be assigned to the baseline adjustment module and the focusing module, which is beneficial to reducing the hardware configuration requirements of the baseline adjustment module and the focusing module, and is beneficial to reducing costs while maintaining real-time calculations.
[0317] Embodiment 6
[0318] Embodiment 6 of the present invention mainly introduces a method for time synchronization and / or space synchronization of at least two aircraft, including: synchronizing the shooting time of the two aircraft and making the two aircraft coplanar.
[0319] Preferably, the synchronization modules in the two aircraft mainly complete two tasks: space synchronization and time synchronization.
[0320] For spatial synchronization: it is mainly used in the initialization process of two aircraft; it can also be used in the process of two aircraft carrying their own multimedia acquisition devices to collect multimedia information; for example, to repair (reinitialize) the situation where the two aircraft are not coplanar due to jitter.
[0321] Fig. 22 A schematic diagram of an example of space synchronization related hardware in a UAV is shown. The space synchronization related hardware includes: an optical transmitter, an optical receiver, an ultrasonic transmitting antenna, and a receiving antenna array.
[0322] The methods used for drone positioning include LED (Light-Emitting Diode)-based positioning methods, laser-based positioning methods (invisible light, such as 1480nm infrared light), and ultrasonic positioning methods.
[0323] Preferably, ultrasound can be used for coarse positioning, and its transmitted signal is received by an antenna array, and the solid angle is calculated for positioning. Laser transmitters and receivers are used for precise positioning correction. When the center of the receiver receives the highest power of the transmitter laser, spatial positioning is completed.
[0324] In addition, this method can also be generalized to calibrate multiple parallel UAVs through cascading.
[0325] For online time synchronization, time synchronization is used to synchronize and calibrate the time of communication and shooting between the two aircraft. When time synchronization is completed, the two aircraft can shoot synchronously, and the binocular video frame images captured can be completely consistent in time.
[0326] Preferably, a pulse optical signal with a changing frequency is transmitted between the two aircraft as a synchronization signal, and the timestamp is synchronized through the optical signal. Alternatively, a pulse electrical signal with a changing frequency is transmitted between the two aircraft as a synchronization signal, and the timestamp is synchronized through the electrical signal.
[0327] The synchronization module is also responsible for aircraft fault handling and flight control when multiple aircraft are coordinated, such as coordinated steering control and automatic tracking shooting; please refer to embodiments 7 and 8 for details.
[0328] Embodiment 7
[0329] Embodiment 7 of the present invention mainly introduces a method for coordinated steering control of two aircraft, including: after each of the two aircraft receives a rotation instruction, a common angular velocity of the two aircraft and a rotation orbit of the aircraft are determined according to the rotation instruction; each aircraft performs synchronous rotation flight according to the common angular velocity and the rotation orbit of the aircraft.
[0330] The inventor of the present invention has noticed that when the aircraft needs to turn an angle, the two aircraft need to rotate synchronously while ensuring a continuous and consistent field of view. The continuous and consistent field of view here includes that the cameras of the two aircraft always meet the coplanar condition, and the baseline distance between the two aircraft needs to be adjusted according to the instructions given by the baseline adjustment module.
[0331] like Fig.23a As shown, because the distances between the two aircraft and the center of the rotating sphere are different, the lengths of their rotation arcs will be adjusted accordingly to ensure synchronization. Synchronization here means that the two aircraft are at the same radius with the center of the rotating sphere (the two aircraft are on the same straight line with the center of the rotating sphere), and the rotation angular velocities of the two aircraft are equal.
[0332] When the aircraft receives the rotation instruction, the synchronization module determines the rotation center and the respective rotation orbits, which are then implemented by the control module (defining the angular velocity of each aircraft, etc.), and then the operation instruction is transmitted to the flight control system to complete the operation of the aircraft's flight attitude. During the adjustment process, the aircraft status will be fed back to the control system in real time to ensure that both aircraft are in a normal and synchronized state.
[0333] Figure 23bThe flowchart of an example of the coordinated steering control method of two aircraft is shown. The communication module of the dual UAV receives the selection command input by the user, the expected position, altitude, shooting angle of the multimedia information acquisition device and other parameters and decodes them (converts the analog signal into a machine-executable digital signal), and hands them over to the control module, which analyzes the command and passes the necessary information to the synchronization module. Here we focus on the synchronization module, so other modules are omitted.
[0334] Embodiment 8
[0335] The eighth embodiment of the present invention mainly introduces a method for automatically tracking and photographing two aircraft, including:
[0336] After one of the two aircraft receives the tracking instruction of the target object, it uses the binocular frame image to determine the position information of the target object involved in the tracking instruction and sends it to the other aircraft.
[0337] The two aircrafts track and shoot the target object as the subject according to the physical position information of the target, including: when the movement direction of the target object is detected to change, a corresponding rotation instruction is generated, a corresponding synchronous rotation flight is performed, and a binocular frame image is obtained by shooting.
[0338] Preferably, the aircraft can track and photograph an object. When the control module of the aircraft receives a tracking instruction sent by the ground control console through the communication module, the aircraft will maintain the current altitude and angle according to the tracking instruction and track and photograph the target object. At the same time, when the object turns, the two aircraft will also rotate and photograph in coordination. This task is relatively complex and requires the coordination of multiple modules, and the working principle and implementation of each module can refer to the corresponding embodiments above.
[0339] For example, when you need to track Fig.24 When the main aircraft receives the instruction to track the target object, it will notify the secondary aircraft to track and shoot together. Here, target tracking technology is required. The calculation of this tracking technology can be completed in the control module. The main aircraft calculates the position of the tracked object in real time and then tracks it (such as Fig.25 The communication module of the slave aircraft receives the control command of the main aircraft and makes synchronous adjustments according to the command of the main aircraft (such as Fig.25Track 2), and at the same time, the control module will cooperate with the baseline adjustment module to adjust the appropriate baseline distance between the main and auxiliary aircraft according to the target object (i.e., the target antelope) (the specific adjustment method of the baseline distance can be referred to the above embodiment 2), and send the received frame image to the focusing module for focal length estimation. After the adjustment is completed, the two aircraft track the target object, and the specific flight instructions are handed over to the flight control system by the control modules of the main and auxiliary aircraft until the shooting is completed. During the whole process, if the target object's walking trajectory is not a straight line, the two aircraft can rotate synchronously (the specific method of synchronous rotation can be referred to the above embodiment 7).
[0340] The automatic tracking and shooting method of two aircrafts in the eighth embodiment of the present invention realizes the automatic tracking and shooting of stereoscopic videos and / or stereoscopic pictures of the moving target object by using the two aircrafts as binoculars.
[0341] Embodiment 9
[0342] The ninth embodiment of the present invention mainly introduces a method for handling typical anomalies in the process of at least two aircraft shooting a stereoscopic video.
[0343] The anti-shake method for exceeding the anti-shake capability of the anti-shake module includes: when it is detected that the overlapping area of the subject contained in the multimedia information collected by the multimedia collection devices of the two aircrafts is less than the overlapping area threshold, or when it is detected that the unit jitter amplitude of any of the two aircrafts exceeds the unit jitter amplitude threshold, resynchronization.
[0344] Specifically, during the shooting process of the two aircraft, the control module in the aircraft needs to monitor the entire shooting process. Whether the jitter of the aircraft is within the processing capability of the anti-shake module can be determined by judging the size of the overlapping area of the binocular frame image (as the multimedia information of the two aircraft) (for example, the matching degree between the feature points of the binocular frame image) or by physical device measurement. Among them, the physical device measurement can be the amplitude of the jitter of an aircraft; for example, the altitude of the drone drops by 10 meters in one second, and the jitter amplitude is too large, which exceeds the capability of the anti-shake module.
[0345] If the two aircraft encounter strong airflow or the synchronization of the two aircraft states is abnormal due to some reasons, resulting in the common field of view of the two aircraft being too small (that is, the overlapping area in the binocular frame image is too small), the control module can detect the abnormality.
[0346] After that, the two aircraft can start the resynchronization process until they return to normal. At the same time, the control module can integrate the information transmitted by the multimedia information acquisition device, the baseline adjustment module and the sensor, calculate the flight control parameters, and directly send flight attitude and trajectory adjustment instructions to the flight system.
[0347] A seamless replacement method after a single aircraft failure includes: when one of the two aircraft detects that the aircraft is about to or has failed to work normally, the parameters of the aircraft are sent to the other aircraft in real time; the other aircraft flies to the vicinity of the aircraft based on the parameters received in real time, synchronizes with the other aircraft, and then takes over the aircraft to continue shooting.
[0348] For example, when one of the two drones A and B runs out of power or has other problems, causing it to be unable to continue working normally for a short period of time, B will send a message to the ground control console, which will dispatch drone C to take over B's work. The ground dispatch console transmits B's working status information, including detailed information such as flight attitude and work task status, to C. After receiving the information, C uses the information content as a reference to fit its own working status to the same status as B. At this time, B disconnects from the link and returns to the base station. At this time, A and C work together to achieve the purpose of seamless switching between B and C.
[0349] The method for saving computing resources includes: one of two aircraft sends parameters required for adjusting baseline distance and / or focal length to the other aircraft; and the other aircraft adjusts the baseline distance and / or focal length according to the received parameters.
[0350] For example, when two drones work together, a lot of energy is consumed to maintain flight, control, video and collaboration. However, some of the work content is similar or identical when the two drones work together, such as communication with the base station, path planning and flight control. In order to save energy, the same or similar workload is placed on one of the drones, and the calculation results are shared with the other drone. In this way, when A and B work together, A maintains 100% load calculation, while B only maintains the load of its own necessary work (flight system, camera, communication module and synchronization module), and receives the calculation results of A. This can save 30% to 50% of the energy consumption in B.
[0351] Similarly, if certain sensors or other components such as the focusing module, baseline adjustment module and anti-shake module on the B machine fail, the calculation results of the corresponding components of the A machine in the collaboration can also be used.
[0352] A method for two aircraft to monitor each other in real time.
[0353] For example, when one of the two drones is performing a mission, it can use multimedia information collection equipment or sensors to obtain the appearance or status information of the other drone. If one of the drones A is abnormal and the ground control console cannot obtain relevant information about drone A, the multimedia information collection equipment and sensors of drone B are used to collect information about drone A, and drone B will feedback to the ground control console.
[0354] How to deal with occlusion during shooting.
[0355] For example, when two drones are shooting stereoscopic videos and detect that the multimedia information collection device of one drone encounters an obstructing object, the user can automatically or manually select the de-obstruction mode through the ground control console. The ground control console sends the relevant instructions of the de-obstruction mode to the obstructed drone, and the multimedia information collection device of the drone will pause recording until the obstruction ends. At this time, the multimedia information (such as frame images) of the multimedia information collection device can be supplemented by the multimedia information collected by the multimedia information collection device of another drone at the same time. This can save storage resources and ensure that the audience is not affected by obstructions when watching.
[0356] Embodiment 10
[0357] In the tenth embodiment of the present invention, based on the methods of the above embodiments, a device for determining stereoscopic multimedia information is provided. According to actual conditions, the device may include but is not limited to being set in the cloud in the backbone network, being set in a ground control console, or being set in each aircraft of multiple aircraft.
[0358] The schematic diagram of the internal structure of the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention is as follows: Fig.26 As shown, it includes: a multimedia information acquisition module 2601 and a three-dimensional multimedia information determination module 2602.
[0359] The multimedia information acquisition module 2601 is used to acquire multimedia information collected by multimedia acquisition devices of at least two aircrafts.
[0360] The stereoscopic multimedia information determination module 2602 is used to determine corresponding stereoscopic multimedia information according to the multimedia information acquired by the multimedia information acquisition module.
[0361] Better, such as Fig.26 As shown, the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention further includes: a baseline adjustment module 2603 .
[0362] The baseline adjustment module 2603 is used to adjust the baseline distance between at least two aircrafts according to the photographed object and / or the shooting environment.
[0363] Preferably, the baseline adjustment module 2603 is specifically used to adjust the baseline distance between at least two aircraft according to the object distance corresponding to the subject and / or the content attributes of the subject; the content attributes of the subject include at least one of the following: the shape of the subject, the area occupied by the subject in the multimedia information, and the surface feature attributes of the subject.
[0364] Preferably, the baseline adjustment module 2603 is specifically used to adjust the baseline distance between at least two aircrafts according to at least one of the ambient brightness of the shooting environment, the contrast between the shooting background and the subject, and the flight altitude limit of the aircraft.
[0365] Preferably, the baseline adjustment module 2603 is specifically used to adjust the baseline distance between at least two aircrafts according to at least one of the ambient brightness of the shooting environment, the contrast between the shooting background and the subject, and the flight altitude limit of the aircraft.
[0366] Preferably, the baseline adjustment module 2603 is specifically used to determine the adjustment mode of each aircraft according to the position of the photographed object in the collected multimedia information.
[0367] Better, such as Fig.26 As shown, the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention further includes: an anti-shake module 2604 .
[0368] The anti-shake module 2604 is used to perform de-shaking processing on the collected multimedia information.
[0369] Preferably, the anti-shake module 2604 is specifically used to determine the actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft; determine the expected motion information corresponding to the multimedia information based on the actual motion information and the expected baseline distance between at least two drones; and perform de-shaking processing on the multimedia information based on the actual motion information and the expected motion information corresponding to the multimedia information.
[0370] Preferably, the anti-shake module 2604 is specifically used to determine feature points from each multimedia information collected by the multimedia acquisition device of each aircraft within the time period corresponding to the set time point; based on the determined feature points, determine the motion information between the multimedia information collected by the multimedia acquisition device within the time period corresponding to the set time point, as the actual motion information corresponding to the multimedia information collected by the multimedia acquisition device at the set time point.
[0371] Preferably, the anti-shake module 2604 is specifically used to determine the position information of the feature point in multiple multimedia information collected within the time period corresponding to the set time point; determine the motion information between any two adjacent multimedia information within the time period based on the determined position information; and determine the accumulated motion information of each multimedia information collected by the multimedia collection device within the time period based on the motion information between the two adjacent multimedia information as the motion information between the multimedia collection device within the time period.
[0372] Preferably, the anti-shake module 2604 is specifically used to select feature points from the multimedia information collected by the multimedia acquisition device of the set aircraft at a set time point; based on the selected feature points, matching feature points are determined in the multimedia information collected by the multimedia acquisition device of each aircraft within the time period corresponding to the set time point.
[0373] Preferably, the anti-shake module 2604 is further used to, after determining the matching feature points, filter out feature points that match the relative position relationship of each aircraft at any time point in the multimedia information captured by the multimedia acquisition device of each aircraft at any time point within the time period.
[0374] Preferably, the anti-shake module 2604 is specifically used to determine an expected relative position relationship between at least two aircraft based on an expected baseline distance between the at least two aircraft; and to determine expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft based on actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft and the determined expected relative position relationship.
[0375] Preferably, the anti-shake module 2604 is specifically used to determine the jitter information corresponding to the multimedia information according to the actual motion information and expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft; and de-jitter the multimedia information according to the jitter information.
[0376] Better, such as Fig.26 As shown, the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention further includes: a focusing module 2605 .
[0377] The focusing module 2605 is used to adjust the shooting focal length of the multimedia acquisition device.
[0378] Preferably, the focusing module 2605 is specifically used to determine the initial focal length based on the multimedia information collected by the multimedia collection devices of at least two aircraft respectively; for each aircraft, a focal length search is performed starting from the determined initial focal length, and the search direction of each aircraft when performing the focal length search is different.
[0379] Better, such as Fig.26 As shown, the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention further includes: a synchronization module 2606 .
[0380] The synchronization module 2606 is used to perform time synchronization and / or space synchronization on at least two aircraft.
[0381] Preferably, the synchronization module 2606 is used to send a synchronization notification after performing time synchronization and / or spatial synchronization on at least two aircraft.
[0382] Furthermore, the multimedia information acquisition module 2601 is used to continue to acquire multimedia information respectively collected by the multimedia collection devices of at least two aircrafts after receiving the synchronization notification.
[0383] More preferably, the apparatus for determining stereoscopic multimedia information according to the tenth embodiment of the present invention further includes: a control module (not marked in the figure).
[0384] The control module is used to enable the set aircraft to use the previous sub-neural network in the neural network to process the multimedia information of the set aircraft and the multimedia information received from other aircraft to obtain the characteristic multimedia information after the previous stage processing; the set aircraft uses the first, second and third subsequent sub-neural networks in the neural network to process the characteristic multimedia information after the previous stage processing respectively, and obtain the expected baseline distance, the adjustment method of the baseline distance, and the initial focal length respectively.
[0385] Alternatively, the control module is used to enable the set aircraft to use the first-level sub-neural network in the previous-level sub-neural network in the neural network to process the multimedia information collected by the multimedia acquisition device of the set aircraft to obtain the first-level characteristic multimedia information of the set aircraft; enable the set aircraft to receive the first-level characteristic multimedia information of other aircraft; enable the set aircraft to use the second-level sub-neural network in the previous-level sub-neural network to process the first-level characteristic multimedia information of the set aircraft and other aircraft to obtain the characteristic multimedia information after the previous-level processing.
[0386] The implementation method of the functions of the above-mentioned multimedia information acquisition module 2601, stereo multimedia information determination module 2602, baseline adjustment module 2603, anti-shake module 2604, focusing module 2605, synchronization module 2606 and control module can be parameterized by the specific contents of the method flow steps in the above-mentioned embodiments one to nine, which will not be repeated here.
[0387] Fig.27a A more detailed architecture example of a single UAV in the tenth embodiment of the present invention is shown. The figure mainly shows the transmission method of the internal information flow of the UAV. For the sake of clarity and intuitiveness, some information not involved in the present application is omitted.
[0388] Figure 27b A more detailed architecture example of the dual UAVs in the tenth embodiment of the present invention is shown. The figure mainly shows the transmission mode of the information flow within each UAV and the transmission mode of the information flow between the dual UAVs. For the sake of clarity and intuitiveness, some information not involved in the present application is omitted.
[0389] Users can choose to use one drone to complete 2D video shooting, or expand to use two drones to complete stereoscopic video shooting. Compared with existing drones used to shoot videos, the main hardware cost is the need to set up a synchronization module in the drone. This allows users to easily shoot the stereoscopic video they need without relying on very complex equipment, which is conducive to reducing the overall cost of the stereoscopic multimedia information determination system and expanding the application scope of the system.
[0390] It will be appreciated by those skilled in the art that the present invention includes devices for performing one or more of the operations in the present application. These devices may be specially designed and manufactured for the desired purpose, or may include known devices in general-purpose computers. These devices have computer programs stored therein, which are selectively activated or reconstructed. Such computer programs may be stored in a device (e.g., computer) readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, respectively, computer readable medium including but not limited to any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, readable medium includes any medium that stores or transmits information in a readable form by a device (e.g., computer).
[0391] Those skilled in the art will appreciate that each block in these structure diagrams and / or block diagrams and / or flow charts and combinations of blocks in these structure diagrams and / or block diagrams and / or flow charts can be implemented using computer program instructions. Those skilled in the art will appreciate that these computer program instructions can be provided to a general-purpose computer, a professional computer, or a processor of other programmable data processing methods to implement, thereby executing the scheme specified in the block or multiple blocks of the structure diagram and / or block diagram and / or flow chart disclosed in the present invention through the processor of the computer or other programmable data processing method.
[0392] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes discussed in the present invention may be alternated, modified, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and schemes discussed in the present invention may also be alternated, modified, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in the present invention may also be alternated, modified, rearranged, decomposed, combined, or deleted.
[0393] The above are only some embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method performed by an electronic device, It is characterized in that include: According to the attributes of the photographed objects of the at least two aircrafts and the distances between the photographed objects and the at least two aircrafts, the baseline distance between the at least two aircrafts is adjusted in real time; wherein the attributes of the photographed objects include at least one of the following: The shape of the object, the area occupied by the object in the multimedia information, and the surface feature attributes of the object; Acquire multimedia information of the subject from at least two aircraft after adjusting the baseline distance; Corresponding stereoscopic multimedia information is determined according to the acquired multiple multimedia information.
2. The method according to claim 1, It is characterized in that Also includes: The baseline distance between the at least two aircrafts is adjusted according to the shooting environment of the object.
3. The method according to claim 2, It is characterized in that Adjusting the baseline distance between the at least two aircrafts according to the shooting environment specifically includes: The baseline distance between the at least two aircrafts is adjusted according to at least one of the ambient brightness of the shooting environment of the object, the contrast between the shooting background and the object, and the flight altitude limit of the aircraft.
4. The method according to any one of claims 1 to 3, It is characterized in that Adjusting the baseline distance between the at least two aircrafts specifically includes: An adjustment mode of at least one of the at least two aircraft is determined, and the motion state of the corresponding aircraft is adjusted according to the determined adjustment mode, wherein the adjustment mode includes an adjustment direction and / or an adjustment step length.
5. The method according to claim 4, It is characterized in that The aircraft's adjustment pattern is determined based on the subject's position.
6. The method according to any one of claims 1 to 5, It is characterized in that Also includes: De-jittering is performed on the acquired multiple multimedia information.
7. The method according to claim 6, It is characterized in that The de-jittering process of the acquired multiple multimedia information specifically includes: Determining actual motion information corresponding to the plurality of multimedia information; Determining actual accumulated motion information according to the actual motion information corresponding to the plurality of multimedia information; Determining expected accumulated motion information corresponding to the plurality of multimedia information according to the actual accumulated motion information and the expected relative position relationship between at least two aircrafts; According to the actual accumulated motion information and the expected accumulated motion information, de-jitter processing is performed on the acquired multiple multimedia information.
8. The method according to claim 7, It is characterized in that The determining the actual accumulated motion information corresponding to the plurality of multimedia information includes: Determine feature points from a plurality of multimedia information collected within a time period corresponding to a set time point; According to the determined feature points, actual accumulated motion information corresponding to the plurality of multimedia information is determined.
9. The method according to claim 8, It is characterized in that The determining, based on the determined feature points, actual accumulated motion information corresponding to the plurality of multimedia information includes: Determining position information of the feature point in a plurality of multimedia information; Determine actual motion information between any two adjacent monocular frame images according to the determined position information, wherein the plurality of multimedia information includes the two adjacent monocular frame images; The determining the actual accumulated motion information according to the actual motion information corresponding to the plurality of multimedia information includes: According to the actual motion information between the two adjacent monocular frame images, actual accumulated motion information corresponding to the multiple multimedia information is determined.
10. The method according to claim 8 or 9, It is characterized in that Determine the feature points, including: Selecting feature points from multimedia information collected by a multimedia collection device of a set aircraft at a set time point; According to the selected feature points, matching feature points are determined in each multimedia information collected by the multimedia collection device of each aircraft within a time period corresponding to the set time point.
11. The method according to claim 10, It is characterized in that After determining the matching feature points, the method further includes: With respect to the feature points in the multimedia information captured by the multimedia acquisition device of each aircraft at any time point within the time period, the feature points that conform to the relative position relationship of each aircraft at the any time point are screened out.
12. The method according to any one of claims 7 to 11, It is characterized in that The expected relative position relationship is obtained based on regressing the position data of the aircraft.
13. The method according to any one of claims 7 to 12, It is characterized in that The determining, according to the actual accumulated motion information and the expected relative position relationship between at least two aircraft, the expected accumulated motion information corresponding to the plurality of multimedia information includes: Determining an expected relative position relationship between the at least two aircraft based on an expected baseline distance between the at least two aircraft; According to the actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft and the determined expected relative position relationship, the expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft is determined.
14. The method according to any one of claims 7 to 13, It is characterized in that The de-jittering process is performed on the obtained multiple multimedia information according to the actual accumulated motion information and the expected accumulated motion information, including: Determining jitter information corresponding to the plurality of multimedia information according to the actual accumulated motion information and the expected accumulated motion information; De-jittering is performed on a plurality of multimedia information according to the jitter information.
15. The method according to claim 14, It is characterized in that The plurality of multimedia information includes a monocular frame image; and the de-jittering process of the acquired plurality of multimedia information includes: Determine the jitter information of the monocular frame image taken by the aircraft; De-jittering is performed on the monocular frame image according to the jitter information.
16. The method according to any one of claims 1 to 15, It is characterized in that Also includes: Adjust the shooting focal length of the multimedia acquisition equipment of each aircraft.
17. The method according to claim 16, It is characterized in that Adjust the shooting focal length of the multimedia acquisition device, including: Determine an initial focal length according to the acquired multiple multimedia information; For each aircraft, a focal length search is performed with the initial focal length as a starting point, and each aircraft has a different search direction when performing the focal length search.
18. The method according to any one of claims 1 to 17, It is characterized in that Also includes: At least two aircraft are synchronized in time and / or space.
19. A device for determining stereoscopic multimedia information, It is characterized in that include: A baseline adjustment module is used to adjust the baseline distance between the at least two aircraft in real time according to the attributes of the photographed objects of the at least two aircraft and the distance between the photographed objects and the at least two aircraft; wherein the attributes of the photographed objects include at least one of the following: The shape of the object, the area occupied by the object in the multimedia information, and the surface feature attributes of the object; A multimedia information acquisition module, used to respectively acquire multimedia information of the photographed object from at least two aircraft after adjusting the baseline distance; The stereoscopic multimedia information determining module is used to determine corresponding stereoscopic multimedia information according to the multiple multimedia information acquired by the multimedia information acquiring module.
20. The device according to claim 19, It is characterized in that The baseline adjustment module is also used to: The baseline distance between the at least two aircrafts is adjusted according to the shooting environment of the object.
21. The device according to claim 20, It is characterized in that The baseline adjustment module is specifically used for: The baseline distance between the at least two aircrafts is adjusted according to at least one of the ambient brightness of the shooting environment of the object, the contrast between the shooting background and the object, and the flight altitude limit of the aircraft.
22. The device according to any one of claims 19 to 21, It is characterized in that The baseline adjustment module is specifically used for: An adjustment mode of at least one of the at least two aircraft is determined, and the motion state of the corresponding aircraft is adjusted according to the determined adjustment mode, wherein the adjustment mode includes an adjustment direction and / or an adjustment step length.
23. The device according to claim 22, It is characterized in that The aircraft's adjustment pattern is determined based on the subject's position.
24. The device according to any one of claims 19 to 23, It is characterized in that Also includes an anti-shake module for: De-jittering is performed on the acquired multiple multimedia information.
25. The device according to claim 24, It is characterized in that The anti-shake module is specifically used for: Determining actual motion information corresponding to the plurality of multimedia information; Determining actual accumulated motion information according to the actual motion information corresponding to the plurality of multimedia information; Determining expected motion information corresponding to the plurality of multimedia information according to the actual accumulated motion information and the expected relative position information between at least two aircrafts; According to the actual accumulated motion information and the expected accumulated motion information, de-jitter processing is performed on the acquired multiple multimedia information.
26. The device according to claim 25, It is characterized in that The anti-shake module is specifically used for: Determine feature points from a plurality of multimedia information collected within a time period corresponding to a set time point; According to the determined feature points, actual accumulated motion information corresponding to the plurality of multimedia information is determined.
27. The device according to claim 26, It is characterized in that The anti-shake module is specifically used for: Determining position information of the feature point in a plurality of multimedia information; Determine actual motion information between any two adjacent monocular frame images according to the determined position information, wherein the plurality of multimedia information includes the two adjacent monocular frame images; According to the actual motion information between the two adjacent monocular frame images, actual accumulated motion information corresponding to the multiple multimedia information is determined.
28. The device according to claim 26 or 27, It is characterized in that The anti-shake module is specifically used for: Selecting feature points from multimedia information collected by a multimedia collection device of a set aircraft at a set time point; According to the selected feature points, matching feature points are determined in each multimedia information collected by the multimedia collection device of each aircraft within a time period corresponding to the set time point.
29. The device according to claim 28, It is characterized in that The anti-shake module is also used for: After the matching feature points are determined, the feature points in the multimedia information captured by the multimedia acquisition device of each aircraft at any time point within the time period are screened out to match the relative position relationship of each aircraft at any time point.
30. The device according to any one of claims 25 to 29, It is characterized in that The expected relative position information is obtained based on regressing the position data of the aircraft.
31. The device according to any one of claims 25 to 30, It is characterized in that The anti-shake module is specifically used for: Determining an expected relative position relationship between the at least two aircraft based on an expected baseline distance between the at least two aircraft; According to the actual motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft and the determined expected relative position relationship, the expected motion information corresponding to the multimedia information collected by the multimedia collection device of each aircraft is determined.
32. The device according to any one of claims 25 to 31, It is characterized in that The anti-shake module is specifically used for: Determining jitter information corresponding to the plurality of multimedia information according to the actual accumulated motion information and the expected accumulated motion information; De-jittering is performed on a plurality of multimedia information according to the jitter information.
33. The device according to claim 25, It is characterized in that The anti-shake module is specifically used for: Determine the jitter information of the monocular frame image taken by the aircraft; De-jittering is performed on the monocular frame image according to the jitter information.
34. The device according to any one of claims 19 to 33, It is characterized in that Also includes a focus module for: Adjust the shooting focal length of the multimedia acquisition equipment of each aircraft.
35. The device according to claim 34, It is characterized in that The focusing module is specifically used for: Determine an initial focal length according to the acquired multimedia information; For each aircraft, a focal length search is performed with the initial focal length as a starting point, and each aircraft has a different search direction when performing the focal length search.
36. The device according to any one of claims 19 to 35, It is characterized in that Also includes synchronization modules for: At least two aircraft are synchronized in time and / or space.
37. A system for determining stereoscopic multimedia information, It is characterized in that include: At least two aircraft, multimedia acquisition equipment for each aircraft, and a device for determining stereoscopic multimedia information as described in any one of claims 19-36.
38. An electronic device, It is characterized in that The electronic device comprises: one or more processors; Memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to: execute the method according to any one of claims 1 to 18.
39. A computer readable storage medium, It is characterized in that The computer-readable storage medium is used to store a computer program, and when the computer program runs on a processor, the processor can execute the method according to any one of claims 1 to 18.
