WO2022078437A1 - Three-dimensional processing apparatus and method between moving objects - Google Patents
Three-dimensional processing apparatus and method between moving objects Download PDFInfo
- Publication number
- WO2022078437A1 WO2022078437A1 PCT/CN2021/123774 CN2021123774W WO2022078437A1 WO 2022078437 A1 WO2022078437 A1 WO 2022078437A1 CN 2021123774 W CN2021123774 W CN 2021123774W WO 2022078437 A1 WO2022078437 A1 WO 2022078437A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- acquisition device
- image
- processed
- target object
- image acquisition
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000012545 processing Methods 0.000 title claims abstract description 19
- 230000003287 optical effect Effects 0.000 claims description 24
- 230000009471 action Effects 0.000 claims description 13
- 230000002194 synthesizing effect Effects 0.000 claims description 4
- 238000007639 printing Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 abstract description 3
- 238000010276 construction Methods 0.000 abstract description 3
- 230000000007 visual effect Effects 0.000 abstract description 2
- 230000015572 biosynthetic process Effects 0.000 description 37
- 238000003786 synthesis reaction Methods 0.000 description 37
- 230000008569 process Effects 0.000 description 25
- 238000005259 measurement Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 13
- 238000004422 calculation algorithm Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000001308 synthesis method Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 8
- 238000005457 optimization Methods 0.000 description 7
- 238000002474 experimental method Methods 0.000 description 6
- 239000011159 matrix material Substances 0.000 description 5
- 238000012935 Averaging Methods 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 239000003550 marker Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012876 topography Methods 0.000 description 2
- 239000011165 3D composite Substances 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000009975 flexible effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
- G01B11/25—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
Definitions
- the invention relates to the technical field of topography measurement, in particular to the technical field of 3D topography measurement.
- object-to-object matching is required in many scenarios, such as the use of helicopters for maritime rescue, which requires the helicopter and the surface boat to align with each other; or two trucks that need to relay cargoes. That is to say, for two objects that are in different motions at the same time, they are in motion with each other, so that when aligning, docking, inserting and other actions are to be performed, clear images of both are required for further operations.
- two-dimensional images are used, which brings about large errors.
- a combination of a two-dimensional image and a rangefinder is also used, but the problems of complicated equipment, high cost, and difficult operation are caused. Therefore, there is an urgent need for a device and method for 3D acquisition through a simple structure to achieve fast and accurate matching between objects.
- the commonly used methods include the use of machine vision, structured light, laser ranging, and lidar.
- Structured light, laser ranging, and lidar all require an active light source to be emitted to the target, which will affect the target in some cases, and the cost of the light source is high.
- the structure of the light source is relatively precise and easy to be damaged.
- the machine vision method is to collect pictures of objects from different angles, and match and stitch these pictures to form a 3D model, which is low-cost and easy to use.
- multiple cameras can be set at different angles of the object to be tested, or pictures can be collected from different angles by rotating a single or multiple cameras.
- the acquisition position of the camera needs to be set around the target (referred to as the surround type), but this method requires a large space to set the acquisition position for the image acquisition device. The applicable scenarios are extremely limited.
- the present invention provides an apparatus and method for realizing 3D processing between moving objects that overcomes the above problems or at least partially solves the above problems.
- Embodiments of the present invention provide a device and method for realizing 3D processing between moving objects, including a device for collecting 3D information of a target object and a first processor;
- the target object 3D information acquisition device is used to continuously scan the object to be processed when the object to be processed moves, and obtain multiple images that can synthesize the three-dimensional model at multiple times;
- the first processor is configured to perform a matching operation or a mismatch operation on the three-dimensional models of the at least two objects to be processed at the same time.
- the first processor is further configured to synthesize the three-dimensional model of the object to be processed.
- it further includes a second processor, located in the target object 3D information acquisition device, for synthesizing a three-dimensional model of the object to be processed opposite to it;
- the apparatus for collecting the 3D information of the target object collects the above-mentioned image of the object to be processed at any time, the image is stamped with a time stamp.
- the spatial 3D information acquisition device includes an image acquisition device and a rotation device
- the image acquisition device is connected with the rotating device, and the rotating device drives it to rotate;
- the angle ⁇ between the optical axes of the image acquisition device at two adjacent acquisition positions satisfies the following conditions:
- R is the distance from the rotation center to the surface of the target object
- T is the sum of the object distance and the image distance during acquisition
- d is the length or width of the photosensitive element of the image acquisition device
- F is the lens focal length of the image acquisition device
- u is the experience coefficient.
- u ⁇ 0.498 for better synthesis effect, preferably u ⁇ 0.411, especially preferably u ⁇ 0.359, in some applications, u ⁇ 0.281, or u ⁇ 0.169, or u ⁇ 0.041, or u ⁇ 0.028.
- the optical acquisition ports of the image acquisition device are all facing away from the direction of the rotation axis.
- the device for collecting 3D information of the target object is arranged on the object to be processed.
- the device for collecting 3D information of the target object is provided separately from the object to be processed.
- the processor outputs the processing result to the display device, the printing device, and/or the action execution device.
- FIG. 1 shows a schematic structural diagram of a 3D information collection device provided by an embodiment of the present invention
- FIG. 2 shows another schematic structural diagram of a 3D information collection device provided by an embodiment of the present invention
- FIG. 3 shows a schematic structural diagram of a 3D information collection device including a telescopic device provided by an embodiment of the present invention.
- FIG. 4 shows another schematic structural diagram of a 3D information collection device including a telescopic device provided by an embodiment of the present invention.
- FIG. 5 shows a schematic structural diagram of a 3D information collection device including a pitch device provided by an embodiment of the present invention.
- FIG. 6 shows another schematic structural diagram of a 3D information collection device including a pitching device provided by an embodiment of the present invention.
- FIG. 7 shows a schematic structural diagram of a 3D information collection device including a telescopic and tilt device provided by an embodiment of the present invention.
- FIG. 8 shows another schematic structural diagram of a 3D information collection device including a telescopic and tilt device provided by an embodiment of the present invention.
- FIG. 9 shows a schematic diagram of a 3D information acquisition device located outside a target object for acquisition and matching provided by an embodiment of the present invention.
- FIG. 10 shows another schematic diagram of the 3D information collection apparatus provided by an embodiment of the present invention for collection and matching outside the target object.
- FIG. 11 shows a schematic diagram of a 3D information acquisition device located on a target object for acquisition and matching provided by an embodiment of the present invention.
- FIG. 12 shows a schematic diagram of a mismatch between 3D information collection provided by an embodiment of the present invention that is located outside the target object.
- FIG. 13 shows a schematic diagram of a 3D information collection apparatus provided by an embodiment of the present invention in which a collection apparatus is located on a target object and collects mismatches.
- the present invention provides a 3D information acquisition device, as shown in FIG.
- the image acquisition device 1 is connected with the rotating shaft of the rotating device 2 , and the rotating device 2 drives it to rotate.
- the acquisition direction of the image acquisition device 1 is the direction away from the rotation center. That is, the acquisition direction is directed outward relative to the center of rotation.
- the optical axis of the image acquisition device 1 may be parallel to the rotation plane, or may form a certain angle with the rotation plane, for example, within the range of -90°-90° based on the rotation plane.
- the rotation axis or its extension line ie, the rotation center line
- the acquisition method (surround type) in which the traditional image acquisition device rotates around a certain object, that is, it is completely different from the surround type in which the image acquisition device rotates around the target object.
- the optical collection ports (eg lenses) of the image collection device are all facing away from the direction of the rotation axis, that is to say, the collection area of the image collection device has no intersection with the rotation center line.
- the optical axis of the image acquisition device has an included angle with the horizontal plane, so this method is also quite different from the general autorotation method, especially the target object whose surface is not perpendicular to the horizontal plane can be acquired.
- the rotating shaft of the rotating device can also be connected to the image capturing device through a deceleration device, for example, through a gear set or the like.
- the image capturing device rotates 360° on the horizontal plane, it captures an image corresponding to the target at a specific position (the specific shooting position will be described in detail later). This shooting can be performed in synchronization with the rotation action, or after the shooting position stops rotating, and then continues to rotate after shooting, and so on.
- the above-mentioned rotating device may be a motor, a motor, a stepping motor, a servo motor, a micro motor, or the like.
- the rotating device (for example, various types of motors) can rotate at a specified speed under the control of the controller, and can rotate at a specified angle, so as to realize the optimization of the collection position.
- the specific collection position will be described in detail below.
- the rotating device in the existing equipment can also be used, and the image capturing device can be installed thereon.
- the carrying device 3 is used to carry the weight of the entire equipment, and the rotating device 2 is connected with the carrying device 3 .
- the carrying device can be a tripod as shown in Figure 1, a base with a support device as shown in Figure 2, and so on.
- the rotating device is located in the center part of the carrier to ensure balance. However, in some special occasions, it can also be located at any position of the carrying device. Furthermore, the carrying device is not necessary.
- the swivel device can be installed directly in the application, eg on the roof of a vehicle.
- an image capturing device 1 a rotating device 2 , a carrying device 3 , and a telescopic device 4 are included.
- the image acquisition device 1 is connected with the rotating shaft of the rotating device 2, and the rotating device 2 drives it to rotate.
- the rotating shaft of the rotating device can also be connected to the image capturing device through a deceleration device, for example, through a gear set or the like.
- the image capturing device rotates 360° on the horizontal plane, it captures an image corresponding to the target at a specific position (the specific shooting position will be described in detail later). This shooting can be performed in synchronization with the rotation action, or after the shooting position stops rotating, and then continues to rotate after shooting, and so on.
- the above-mentioned rotating device may be a motor, a motor, a stepping motor, a servo motor, a micro motor, or the like.
- the rotating device (for example, various types of motors) can rotate at a specified speed under the control of the controller, and can rotate at a specified angle, so as to realize the optimization of the collection position.
- the specific collection position will be described in detail below.
- the rotating device in the existing equipment can also be used, and the image capturing device can be installed thereon.
- One end of the telescopic device 4 is connected to the rotating device 2, and the other end is connected to the bearing device 3, and is used to expand and contract in a direction perpendicular to the optical axis of the image capture device, so that the image capture device can be positioned at different positions. At each position, it is rotated and scanned by the rotating device, so that a 3D model of the target at that position can be constructed. After scanning a certain position, the telescopic device moves again, so that the image acquisition device moves to another position, repeating the above scanning, and so on, to realize the construction of the internal 3D model of the slender target. It can also be used to scan at different height levels when the surrounding target is high, so as to construct a 3D model of the entire target.
- the telescopic device can be various telescopic structures such as telescopic sleeves and telescopic slide rails. Its telescoping can be adjusted manually or under the control of the control unit.
- the telescopic device may also include a telescopic motor for driving the telescopic unit (eg, a telescopic sleeve) to extend or shorten. After telescopic in place, the length of the telescopic device can be locked by the locking unit to provide stable support for the rotating device.
- the locking unit may be a mechanical locking unit, such as a locking pin, etc., or an electric locking unit, for example, under the control of the control unit, to lock the telescopic device.
- the carrying device 3 is used to carry the weight of the entire device.
- the carrying device may be a tripod, a base with a supporting device, or the like.
- the rotating device is located in the center part of the carrier to ensure balance. However, in some special occasions, it can also be located at any position of the carrying device. Furthermore, the carrying device is not necessary.
- the rotating device can be installed directly in the application equipment, for example, it can be installed on the top of the walking robot.
- the image acquisition device can collect information at different heights, so that for buildings with high indoor ceilings, comprehensive and accurate acquisition can be achieved.
- the 3D information acquisition device includes an image acquisition device 1 , a rotation device 2 , a carrying device 3 , and a pitch device 5 .
- the image acquisition device 1 is arranged on the tilt device 5, so that the image acquisition device 1 can tilt and rotate along the vertical plane.
- the pitching device can be rollers, gears, bearings, ball joints, etc.
- the optical axis of the image acquisition device 1 is usually parallel to the pitch direction, but may also be at a certain angle in some special cases.
- the pitching device can be adjusted manually, or it can be pitched and rotated under the drive of the motor, so as to realize the precise pitch angle adjustment according to the program control.
- the tilting device further includes a locking mechanism for locking the tilting device after the tilting angle is adjusted in place and the optical axis of the image capturing device is at a predetermined angle with the horizontal plane, thereby preventing it from rotating in the vertical direction again.
- the pitching device 5 is connected with the rotating shaft of the rotating device 2 , and is driven by the rotating device 2 to rotate.
- the rotating shaft of the rotating device can also be connected to the pitching device through a reduction gear, for example, through a gear set or the like.
- the optical axis of the image acquisition device Due to the adjustment of the tilting device, the optical axis of the image acquisition device usually forms a certain angle with the horizontal plane. This allows scanning of targets whose surfaces are not perpendicular to the horizontal. That is, according to the approximate angle between the surface of the target object and the horizontal plane, the tilting device is adjusted so that the optical axis of the image acquisition device is perpendicular to the surface of the target object as much as possible, so as to improve the acquisition accuracy of the details of the target object. Of course, it can also be parallel to the horizontal plane in special cases.
- the image acquisition device can be properly tilted upward, thereby making the acquisition range larger.
- the telescopic device 4 and the pitching device 5 may be included at the same time. That is, the image capturing device 1 is installed on the pitching device 5 , the pitching device 5 is connected to the rotating device 2 , the rotating device 2 is installed on one end of the telescopic device 4 , and the other end of the telescopic device 4 is installed on the carrying device 3 .
- the image acquisition device can be positioned at different heights in turn through the telescopic rod, and then scanned and acquired in sequence, or the pitch angle can be adjusted to make the image acquisition device Collect more upper space information.
- both can be used at the same time depending on the situation.
- the acquisition direction of the image acquisition device is the direction away from the rotation center. That is, the acquisition direction is directed outward relative to the center of rotation.
- the optical axis of the image acquisition device may be parallel to the rotation plane, or may form a certain angle with the rotation plane, for example, within the range of -90°-90° based on the rotation plane.
- the rotation axis or its extension line ie, the rotation center line
- passes through the image acquisition device that is, the image acquisition device still rotates in an autorotation manner. This is essentially different from the acquisition method (surround type) in which the traditional image acquisition device rotates around a certain object, that is, it is completely different from the surround type in which the image acquisition device rotates around the target object.
- optical collection ports (eg lenses) of the image collection device are all facing away from the direction of the rotation axis, that is to say, the collection area of the image collection device has no intersection with the rotation center line.
- the optical axis of the image acquisition device has an included angle with the horizontal plane, so this method is also quite different from the general autorotation method, especially the target object whose surface is not perpendicular to the horizontal plane can be acquired.
- the above device may further include a ranging device, the ranging device is fixedly connected with the image acquisition device, and the pointing direction of the ranging device is the same as the direction of the optical axis of the image acquisition device.
- the distance measuring device can also be fixedly connected to the rotating device, as long as it can rotate synchronously with the image capturing device.
- an installation platform may be provided, the image acquisition device and the distance measuring device are both located on the platform, the platform is installed on the rotating shaft of the rotating device, and is driven and rotated by the rotating device.
- the distance measuring device can use a variety of methods such as a laser distance meter, an ultrasonic distance meter, an electromagnetic wave distance meter, etc., or a traditional mechanical measuring tool distance measuring device.
- the 3D acquisition device is located at a specific location, and its distance from the target has been calibrated, and no additional measurement is required.
- the light source can also include a light source, and the light source can be arranged on the periphery of the image acquisition device, on the rotating device and on the installation platform.
- the light source can also be set independently, for example, an independent light source is used to illuminate the target. Even when lighting conditions are good, no light source is used.
- the light source can be an LED light source or an intelligent light source, that is, the parameters of the light source are automatically adjusted according to the conditions of the target object and the ambient light.
- the light sources are distributed around the lens of the image capture device, for example, the light sources are ring-shaped LED lights around the lens. Because in some applications it is necessary to control the intensity of the light source.
- a diffuser device such as a diffuser housing
- a diffuser housing can be arranged on the light path of the light source.
- directly use the LED surface light source not only the light is softer, but also the light is more uniform.
- an OLED light source can be used, which has a smaller volume, softer light, and has flexible properties, which can be attached to a curved surface.
- marking points can be set at the position of the target. And the coordinates of these marker points are known. By collecting marker points and combining their coordinates, the absolute size of the 3D composite model is obtained. These marking points can be pre-set points or laser light spots.
- the method for determining the coordinates of these points may include: 1Using laser ranging: using a calibration device to emit laser light toward the target to form a plurality of calibration point spots, and obtain the calibration point coordinates through the known positional relationship of the laser ranging unit in the calibration device. Use the calibration device to emit laser light toward the target, so that the light beam emitted by the laser ranging unit in the calibration device falls on the target to form a light spot.
- the laser beams emitted by the laser ranging units are parallel to each other, and the positional relationship between the units is known. Then the two-dimensional coordinates on the emission plane of the multiple light spots formed on the target can be obtained.
- the distance between each laser ranging unit and the corresponding light spot can be obtained, that is, depth information equivalent to multiple light spots formed on the target can be obtained. That is, the depth coordinates perpendicular to the emission plane can be obtained.
- the three-dimensional coordinates of each spot can be obtained.
- 2 using the combination of distance measurement and angle measurement: respectively measure the distance of multiple markers and the angle between each other, so as to calculate the respective coordinates.
- Use other coordinate measurement tools such as RTK, global coordinate positioning system, star-sensing positioning system, position and pose sensors, etc.
- the so-called matching of two objects means that the space occupied by the two objects has an intersection, or a stable relationship is formed between the spaces occupied by the two objects.
- the refueling gun is inserted into the refueling port, the marine helicopter is aimed at the sea to be rescued, and the drone is landed on the top of the moving vehicle.
- the acquisition device is located outside the target object
- the acquisition device 6 acquires images of multiple objects, and performs 3D synthesis respectively, so as to obtain 3D models of multiple objects in a relatively short period of time.
- the specific method is as follows:
- the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at a set position during the rotation process. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed.
- the rotating device can be driven by a pre-programmed control unit program. It can also communicate with the upper computer through the communication interface, and control the rotation through the upper computer. In particular, it can also be wired or wirelessly connected to the mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
- the image acquisition device collects multiple images of the target object, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to synthesize the 3D model of the target object. Synthesize the 3D model of the object to be matched. It can be understood that the speed of the entire acquisition and synthesis is very fast.
- the acquisition device acquires images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects again. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
- images of multiple objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple objects.
- the 3D model information of the target is continuously used to match different targets. For example, when the two trucks are handing over the goods, the 3D models of the two vehicles are continuously obtained, so as to continuously adjust their actions according to the latest vehicle 3D model and its position and attitude information to ensure the alignment of the two cargo boxes, so as to smoothly Complete the handover.
- the length of the telescopic device is controlled so that the image acquisition device is located at a predetermined position, the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at the set position during the rotation.
- the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed.
- the rotating device can be driven by a pre-programmed control unit program. It can also communicate with the upper computer through the communication interface, and control the rotation through the upper computer.
- the rotation of the rotating device can also be wired or wirelessly connected to the mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
- the mobile terminal eg, a mobile phone
- the length of the telescopic device is controlled so that the image acquisition device is located at another predetermined position, and the above-mentioned action of the rotating device is repeated, so that the image acquisition device can acquire the image of the target object surrounding the position, and so on, and the acquisition is performed at multiple height positions to obtain images, thereby Build the corresponding 3D model.
- the image acquisition device collects multiple images of the target, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to perform 3D synthesis of the target.
- the tilting device can also be controlled so that the image acquisition device is tilted to a certain angle, and then rotated and acquired.
- the distance measuring device can be used to measure the corresponding distance parameters in the relevant formula conditions, that is, the distance from the rotation center to the target, and the distance from the sensing element to the target, before or at the same time as the acquisition.
- the collection position is calculated according to the corresponding conditional formula, and the user is prompted to set the rotation parameters, or the rotation parameters are automatically set.
- the rotating device can drive the distance measuring device to rotate, so as to measure the above two distances at different positions.
- the two distances measured at multiple measurement points are averaged respectively, and are brought into the formula as the unified distance value collected this time.
- the average value may be obtained by a summation average method, a weighted average method, or another average value method, or a method of discarding abnormal values and averaging again.
- the acquisition device is located on the target object
- the above-mentioned 3D information acquisition device 6 is set on the object to be matched (referred to as a target object), so that the matched object is within its scanning field of view.
- a target object usually, at least one 3D information acquisition device is provided on each target.
- the 3D model or information of one of the targets is known, or can be checked in real time, it is only necessary to set the acquisition device on it.
- the acquisition device collects the image corresponding to the target, and performs 3D synthesis to obtain a 3D model of the target. If two objects to be matched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects to be matched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by querying the system. The specific collection and synthesis methods are the same as those described above, and are not repeated here.
- the acquisition device acquires an image corresponding to the target object, and performs 3D synthesis to obtain a 3D model of the target object. If two objects to be matched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects to be matched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by querying the system. The specific collection and synthesis methods are the same as those described above, and are not repeated here. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
- the images of the target objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple targets.
- the 3D model information of the target is continuously used to match different targets. For example, when the two trucks are handing over the goods, the 3D models of the two vehicles are continuously obtained, so as to continuously adjust their actions according to the latest vehicle 3D model and its position and attitude information to ensure the alignment of the two cargo boxes, so as to smoothly Complete the handover.
- the matching process can be completed in the acquisition devices of the two objects or in one of the devices respectively, and can also be completed in a server or a cloud platform. That is to say, any acquisition device can independently obtain the 3D model of the opposite target (synthesize it internally, or send it to the device after being synthesized by a third-party server or cloud platform), and can receive or query its own target.
- the 3D model of the object can be adjusted according to the 3D model of the two objects and their position and attitude information inside the device, so as to achieve the matching of the two objects.
- each device can independently synthesize the 3D models of the objects it faces, and send them to the third-party server and cloud platform, so as to realize the integration of the two objects in the third-party server and cloud platform. match.
- each device sends the collected pictures to a third-party server and cloud platform, so as to realize the synthesis of 3D models of two objects in the third-party server and cloud platform, and complete the matching at the same time.
- the time stamp of the acquisition time can be stamped on the image, so as to determine which images were acquired at the same time, and only the images with the same (or very similar) time stamps are used for the 3D model synthesis of the target at this time.
- the above-mentioned matching may be between two objects, or may be a match between one object and two objects, or may be a match between multiple objects and multiple objects.
- mismatch means that the space occupied by two objects has no intersection. For example, vehicles stop when pedestrians pass by; vehicles bypass other vehicles to overtake; drones avoid obstacles, etc.
- the acquisition device is located outside the target object
- the acquisition device cannot be set on the object.
- the scheme of Figure 12 can be used:
- the acquisition device collects images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects.
- the specific method is as follows:
- the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at a set position during the rotation process. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed.
- the rotating device can be driven by a pre-programmed control unit program. It can also communicate with the host computer through the communication interface, and control the rotation through the host computer. In particular, it can also be wired or wirelessly connected with a mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
- the image acquisition device collects multiple images of the target object, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to synthesize the 3D model of the target object. Synthesize 3D models of objects to be mismatched. It can be understood that the speed of the entire acquisition and synthesis is very fast.
- the acquisition device acquires images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects again. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
- images of multiple objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple objects.
- the 3D model information of the target is continuously used to perform mismatch operations on different targets.
- an autonomous vehicle continuously obtains the 3D model of the vehicle and its surrounding vehicles, as well as the 3D models of obstacles such as trees, so as to continuously adjust its actions according to the latest vehicle 3D model and its position and attitude information. , to ensure that the vehicle does not collide with other vehicles and obstacles (mismatch).
- the avoided objects include moving objects and non-moving objects, and the moving objects may be in a moving state or a non-moving state.
- the length of the telescopic device is controlled so that the image acquisition device is located at a predetermined position, the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at the set position during the rotation process.
- the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed.
- the rotating device can be driven by a pre-programmed control unit program. It can also communicate with the host computer through the communication interface, and control the rotation through the host computer.
- the rotating device can also be wired or wirelessly connected with a mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
- the mobile terminal eg, a mobile phone
- the length of the telescopic device is controlled so that the image acquisition device is located at another predetermined position, and the above-mentioned action of the rotating device is repeated, so that the image acquisition device can acquire the image of the target object surrounding the position, and so on, and the acquisition is performed at multiple height positions to obtain images, thereby Build the corresponding 3D model.
- the image acquisition device collects multiple images of the target, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to perform 3D synthesis of the target.
- the tilting device can also be controlled so that the image acquisition device is tilted to a certain angle, and then rotated and acquired.
- the distance measuring device can be used to measure the corresponding distance parameters in the relevant formula conditions, that is, the distance from the rotation center to the target, and the distance from the sensing element to the target, before or at the same time as the acquisition. Calculate the collection position according to the corresponding conditional formula, and prompt the user to set the rotation parameters, or automatically set the rotation parameters.
- the rotating device can drive the distance measuring device to rotate, so as to measure the above two distances at different positions.
- the two distances measured at multiple measurement points are averaged respectively, and are brought into the formula as the unified distance value collected this time.
- the average value may be obtained by a summation average method, a weighted average method, or another average value method, or a method of discarding abnormal values and averaging again.
- the acquisition device is located on the target object
- the above-mentioned 3D information acquisition device 6 is set on the object to be mismatched (referred to as the target), so that the mismatched object is within the scanning field of view.
- the target usually, at least one 3D information acquisition device is provided on each target.
- the 3D model or information of one of the targets is known, or can be checked in real time, it is only necessary to set the acquisition device on it.
- the acquisition device collects the image corresponding to the target, and performs 3D synthesis to obtain a 3D model of the target. If two objects to be mismatched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects that are to be mismatched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by the query system. The specific collection and synthesis methods are the same as those described above, and are not repeated here.
- the acquisition device acquires an image corresponding to the target object, and performs 3D synthesis to obtain a 3D model of the target object. If two objects to be mismatched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects that are to be mismatched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by the query system. The specific collection and synthesis methods are the same as those described above, and are not repeated here. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
- the images of the target objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple targets.
- the 3D model information of the target is continuously used to match different targets.
- an autonomous vehicle continuously obtains the 3D model of the vehicle and its surrounding vehicles, as well as the 3D models of obstacles such as trees, so as to continuously adjust its actions according to the latest vehicle 3D model and its position and attitude information. , to ensure that the vehicle does not collide with other vehicles and obstacles (mismatch).
- the process of mismatching can be completed in the acquisition devices of the two objects or one of the devices respectively, and can also be completed in a server or a cloud platform. That is to say, any acquisition device can independently obtain the 3D model of the opposite target (synthesize it internally, or send it to the device after being synthesized by a third-party server or cloud platform), and can receive or query its own target.
- the 3D model of the object can be adjusted according to the 3D model of the two objects and their position and attitude information inside the device, so as to realize the mismatch between the two objects.
- each device can independently synthesize the 3D models of the objects it faces, and send them to the third-party server and cloud platform, so as to realize the integration of the two objects in the third-party server and cloud platform. Mismatch.
- each device sends the collected pictures to a third-party server and cloud platform, so as to realize the synthesis of 3D models of two objects in the third-party server and cloud platform, and complete the mismatch at the same time.
- the time stamp of the acquisition time can be stamped on the image, so as to determine which images were acquired at the same time, and only the images with the same (or very similar) time stamps are used for the 3D model synthesis of the target at this time.
- the above matching may be between two objects, or a mismatch between one object and two objects, or a mismatch between multiple objects and multiple objects.
- the method of optimizing the camera acquisition position can also be adopted.
- the prior art for such a device does not mention how to better optimize the camera position.
- some optimization methods exist they are obtained under different empirical conditions under different experiments.
- some existing position optimization methods need to obtain the size of the target object, which is feasible in surround 3D acquisition and can be measured in advance.
- the present invention conducts a large number of experiments, and summarizes the following empirical conditions that the interval of camera acquisition is preferably satisfied during acquisition.
- the included angle ⁇ of the optical axis of the image acquisition device at two adjacent positions satisfies the following conditions:
- R is the distance from the center of rotation to the surface of the target
- T is the sum of the object distance and the image distance during acquisition, that is, the distance between the photosensitive unit of the image acquisition device and the target object.
- d is the length or width of the photosensitive element (CCD) of the image acquisition device.
- CCD photosensitive element
- F is the focal length of the lens of the image acquisition device.
- u is the empirical coefficient.
- a distance measuring device such as a laser distance meter
- a distance measuring device is configured on the acquisition device. Adjust its optical axis to be parallel to the optical axis of the image acquisition device, then it can measure the distance from the acquisition device to the surface of the target object. Using the measured distance, according to the known positional relationship between the distance measuring device and the various components of the acquisition device, you can Get R and T.
- the distance from the photosensitive element to the surface of the target object along the optical axis is taken as T.
- multiple averaging methods or other methods can also be used. The principle is that the value of T should not deviate from the distance between the image and the object during acquisition.
- the distance from the center of rotation to the surface of the target object along the optical axis is taken as R.
- multiple averaging methods or other methods can also be used, the principle of which is that the value of R should not deviate from the radius of rotation at the time of acquisition.
- the size of the object is used as a method for estimating the position of the camera in the prior art. Because the size of the object will change with the change of the measured object. For example, after collecting 3D information of a large object, when collecting small objects, it is necessary to re-measure the size and re-calculate. The above-mentioned inconvenient measurements and multiple re-measurements will bring about measurement errors, resulting in incorrect camera position estimation.
- the empirical conditions that the camera position needs to meet are given, and there is no need to directly measure the size of the object.
- d and F are fixed parameters of the camera. When purchasing a camera and lens, the manufacturer will give the corresponding parameters without measurement.
- R and T are only a straight line distance, which can be easily measured by traditional measurement methods, such as straightedge and laser rangefinder.
- the acquisition direction of the image acquisition device eg, camera
- the orientation of the lens is substantially opposite to the rotation center.
- u should be less than 0.498.
- u ⁇ 0.411 is preferred, especially u ⁇ 0.359.
- the multiple images acquired by the image acquisition device are sent to the processing unit, and the following algorithm is used to construct a 3D model.
- the processing unit may be located in the acquisition device, or may be located remotely, such as a cloud platform, a server, a host computer, and the like.
- the specific algorithm mainly includes the following steps:
- Step 1 Perform image enhancement processing on all input photos.
- the following filters are used to enhance the contrast of the original photo and suppress noise at the same time.
- g(x, y) is the gray value of the original image at (x, y)
- f(x, y) is the gray value of the original image after enhancement by Wallis filter
- m g is the local gray value of the original image.
- sg is the local grayscale standard deviation of the original image
- mf is the local grayscale target value of the transformed image
- sf is the localized grayscale standard deviation target value of the transformed image.
- c ⁇ (0,1) is the expansion constant of the image variance
- b ⁇ (0,1) is the image luminance coefficient constant.
- the filter can greatly enhance the image texture patterns of different scales in the image, so it can improve the number and accuracy of feature points when extracting image point features, and improve the reliability and accuracy of matching results in photo feature matching.
- Step 2 Extract feature points from all the input photos, and perform feature point matching to obtain sparse feature points.
- the SURF operator is used to extract and match the feature points of the photo.
- the SURF feature matching method mainly includes three processes, feature point detection, feature point description and feature point matching. This method uses Hessian matrix to detect feature points, uses Box Filters to replace second-order Gaussian filtering, uses integral image to accelerate convolution to improve calculation speed, and reduces the dimension of local image feature descriptors, to speed up matching.
- the main steps include 1 constructing the Hessian matrix to generate all interest points for feature extraction.
- the purpose of constructing the Hessian matrix is to generate image stable edge points (mutation points); 2 constructing the scale space feature point positioning, which will be processed by the Hessian matrix
- Each pixel point is compared with 26 points in the two-dimensional image space and scale space neighborhood, and the key points are initially located.
- (3) The main direction of the feature point is determined by using the harr wavelet feature in the circular neighborhood of the statistical feature point. That is, in the circular neighborhood of the feature points, the sum of the horizontal and vertical harr wavelet features of all points in the 60-degree sector is counted, and then the sector is rotated at intervals of 0.2 radians, and the harr wavelet eigenvalues in the region are counted again.
- the direction of the sector with the largest value is used as the main direction of the feature point; (4) a 64-dimensional feature point description vector is generated, and a 4*4 rectangular area block is taken around the feature point, but the direction of the obtained rectangular area is along the main direction of the feature point. direction.
- Each sub-region counts the haar wavelet features of 25 pixels in the horizontal and vertical directions, where the horizontal and vertical directions are relative to the main direction.
- the haar wavelet features are 4 directions after the horizontal value, after the vertical value, after the absolute value of the horizontal direction and the sum of the absolute value of the vertical direction.
- the matching degree is determined by calculating the Euclidean distance between the two feature points. The shorter the Euclidean distance, the better the matching degree of the two feature points. .
- Step 3 Input the coordinates of the matched feature points, and use the beam method to adjust the position and attitude data of the sparse target object 3D point cloud and the camera to obtain the sparse target object model 3D point cloud and position model coordinates.
- Sparse feature points Take sparse feature points as the initial value, perform dense matching of multi-view photos, and obtain dense point cloud data.
- stereo pair selection For each image in the input dataset, we select a reference image to form a stereo pair for computing the depth map. So we can get a rough depth map for all images, these depth maps may contain noise and errors, and we use its neighborhood depth map to perform a consistency check to optimize the depth map for each image.
- depth map fusion is performed to obtain a 3D point cloud of the entire scene.
- Step 4 Use dense point cloud to reconstruct the target surface. Including several processes of defining octrees, setting function spaces, creating vector fields, solving Poisson equations, and extracting isosurfaces.
- the integral relationship between the sampling point and the indicator function is obtained from the gradient relationship
- the vector field of the point cloud is obtained according to the integral relationship
- the approximation of the gradient field of the indicator function is calculated to form the Poisson equation.
- the approximate solution is obtained by matrix iteration according to the Poisson equation
- the isosurface is extracted by the moving cube algorithm, and the model of the measured object is reconstructed from the measured point cloud.
- Step 5 Fully automatic texture mapping of the target model. After the surface model is constructed, texture mapping is performed.
- the main process includes: 1 texture data acquisition through image reconstruction of the target surface triangle mesh; 2 visibility analysis of the reconstructed model triangle. Use the calibration information of the image to calculate the visible image set of each triangular face and the optimal reference image; 3.
- the triangular face is clustered to generate texture patches.
- the triangular surface is clustered into several reference image texture patches; 4
- the texture patches are automatically sorted to generate texture images. Sort the generated texture patches according to their size relationship, generate a texture image with the smallest enclosing area, and obtain the texture mapping coordinates of each triangular surface.
- the 3D information collection device of the present invention can be arranged on the roofs of the two trucks. Scan and collect the images of the opposite vehicles separately, and transmit them to the server.
- the server synthesizes the 3D models of the two vehicles at different times according to the multiple images, and at the same time, continuously adjusts the operation of the two trucks according to their 3D models and position and attitude information. Track and attitude, and finally realize the matching and alignment of the cargo box.
- the three-dimensional model of the target object is imported into the processor, and the optimal alignment is carried out according to the existing algorithm, that is, the alignment of the two is realized according to the three-dimensional shape of the object. All of the above operations can be implemented in a remote platform, cloud platform, server, host computer and/or mobile terminal.
- the above is the 3D model obtained by each scanning device and imported into the processor for matching, or the pictures of each scanning device can be directly imported into the processor, and the synthesis of the 3D model of the space, the synthesis of the 3D model of the object, and their match between.
- This can simplify the structure and cost of acquisition hardware. For example, it is not necessary to provide a processor capable of processing large data in the scanning device, and only simple control is required.
- the collected images can be transmitted to the cloud platform (equivalent to a processor) for centralized processing through 4G, 5G or other communication networks. This is also one of the inventive points of the present invention.
- the 3D information collection device of the present invention can be arranged on the roof of the vehicle. Scan and collect the images of the opposite vehicle and fixed obstacles respectively, and transmit them to the server.
- the server synthesizes the 3D models of the vehicle, its surrounding vehicles and obstacles at different times according to multiple images, and at the same time according to their 3D models and
- the position and attitude information continuously adjusts the running trajectory and attitude of the vehicle, and finally realizes the obstacle avoidance of the autonomous vehicle.
- the three-dimensional model of the target object is imported into the processor, and the optimal alignment is carried out according to the existing algorithm, that is, the alignment of the two is realized according to the three-dimensional shape of the object. All of the above operations can be implemented in a remote platform, cloud platform, server, host computer and/or mobile terminal.
- each scanning device obtains the 3D model separately and then imports it into the processor for mismatching. It is also possible to directly import the pictures of each scanning device into the processor, and the synthesis of the spatial 3D model, the synthesis of the 3D model of the object, and mismatch between them. This can simplify the structure and cost of acquisition hardware. For example, it is not necessary to provide a processor capable of processing large data in the scanning device, and only simple control is required.
- the collected images can be transmitted to the cloud platform (equivalent to a processor) for centralized processing through 4G, 5G or other communication networks. This is also one of the inventive points of the present invention.
- the above-mentioned target object, target object, and object all represent objects for which three-dimensional information is pre-acquired. It can be a solid object, or it can be composed of multiple objects.
- the three-dimensional information of the target includes a three-dimensional image, a three-dimensional point cloud, a three-dimensional grid, a local three-dimensional feature, a three-dimensional size, and all parameters with the three-dimensional feature of the target.
- the so-called three-dimensional in the present invention refers to having three directional information, XYZ, especially depth information, which is essentially different from having only two-dimensional plane information. It is also fundamentally different from some definitions that are called three-dimensional, panoramic, holographic, and three-dimensional, but actually only include two-dimensional information, especially not depth information.
- the acquisition area mentioned in the present invention refers to the range that can be photographed by an image acquisition device (eg, a camera).
- the image acquisition device in the present invention can be CCD, CMOS, camera, video camera, industrial camera, monitor, camera, mobile phone, tablet, notebook, mobile terminal, wearable device, smart glasses, smart watch, smart bracelet and Image acquisition capabilities for all devices.
- modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment.
- the modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined.
- Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
- Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
- a microprocessor or a digital signal processor (DSP) may be used to implement some or all functions of some or all of the components in the apparatus based on the present invention according to the embodiments of the present invention.
- DSP digital signal processor
- the present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein.
- Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Embodiments of the present invention provide a device and method for realizing three-dimensional (3D) processing between moving objects. The device comprises a target object 3D information collection device and a first processor; the target object 3D information collection device is used for continuously scanning objects to be processed when said objects move, and at a plurality of moments, separately obtaining a plurality of images that can be synthesized into a 3D model; and the first processor is used for performing calculation on the 3D models of at least two objects to be processed at the same moment. It is proposed for the first time that the 3D model construction of the objects is achieved by means of a visual 3D collection device having a simple structure, and thus, mutual matching between the objects can be achieved, the collection speed is high, and the precision is high.
Description
本发明涉及形貌测量技术领域,特别涉及3D形貌测量技术领域。The invention relates to the technical field of topography measurement, in particular to the technical field of 3D topography measurement.
目前在很多场景都需要进行物体与物体的匹配,例如利用直升机海上救援,需要直升机与水面小船之间相互对准;或两个货车需要接力搬运货物等。即对于两个同时在进行不同运动的物体而言,它们相互之间是运动的,这样如果要进行对准、对接、插入等动作时,均需要两者的清晰图像才能进一步操作。在现有技术中,均是采用二维图像进行的,这带来较大误差。当然现有技术中也有使用二维图像和测距仪的结合,但会造成设备复杂、成本高、运算困难的问题。因此目前急需一种通过简单结构进行三维采集,从而实现物体间快速、准确匹配的装置及方法。At present, object-to-object matching is required in many scenarios, such as the use of helicopters for maritime rescue, which requires the helicopter and the surface boat to align with each other; or two trucks that need to relay cargoes. That is to say, for two objects that are in different motions at the same time, they are in motion with each other, so that when aligning, docking, inserting and other actions are to be performed, clear images of both are required for further operations. In the prior art, two-dimensional images are used, which brings about large errors. Of course, in the prior art, a combination of a two-dimensional image and a rangefinder is also used, but the problems of complicated equipment, high cost, and difficult operation are caused. Therefore, there is an urgent need for a device and method for 3D acquisition through a simple structure to achieve fast and accurate matching between objects.
另外,在进行3D信息采集时,目前常用的方法包括使用机器视觉的方式和结构光、激光测距、激光雷达的方式。结构光、激光测距、激光雷达的方式均需要主动光源发射到目标物上,在某些情况下会对目标物造成影响,且光源成本较高。并且光源结构比较精密,易于损坏。而机器视觉的方式是采集物体不同角度的图片,并将这些图片匹配拼接形成3D模型,成本低、易使用。其在采集不同角度图片时,可以待测物不同角度设置多个相机,也可以通过单个或多个相机旋转从不同角度采集图片。但无论这两种方式哪一种,都需要将相机的采集位置围绕目标物设置(简称环绕式),但这种方式需要较大空间为图像采集装置设置采集位置。适用场景受到极大限制。In addition, when collecting 3D information, the commonly used methods include the use of machine vision, structured light, laser ranging, and lidar. Structured light, laser ranging, and lidar all require an active light source to be emitted to the target, which will affect the target in some cases, and the cost of the light source is high. Moreover, the structure of the light source is relatively precise and easy to be damaged. The machine vision method is to collect pictures of objects from different angles, and match and stitch these pictures to form a 3D model, which is low-cost and easy to use. When collecting pictures from different angles, multiple cameras can be set at different angles of the object to be tested, or pictures can be collected from different angles by rotating a single or multiple cameras. But no matter which of the two methods, the acquisition position of the camera needs to be set around the target (referred to as the surround type), but this method requires a large space to set the acquisition position for the image acquisition device. The applicable scenarios are extremely limited.
在现有技术中,也曾提出使用包括旋转角度、目标物尺寸、物距的经验公式限定相机位置,从而兼顾合成速度和效果。然而在实际应用中发现这在环绕式3D采集中是可行的,可以事先测量目标物尺寸。但在开放式的空间中则难以事先测量目标物,例如需要采集获得街道、交通路口、楼群、隧道、车流等的3D信息(不限于此)。这使得这种方法难以奏效。即使是固定的较小的目标物,例如家具、人身体部分等虽然可以事先测量其尺寸,但这种方法依然受到较大限制:目标物尺寸难以准确确定,特别是某些应用场合目标物需要频繁更换,每次测量带来大量额外工作量,并且需要专业设备才能准确测量不规则 目标物。测量的误差导致相机位置设定误差,从而会影响采集合成速度和效果;准确度和速度还需要进一步提高。In the prior art, it has also been proposed to use an empirical formula including rotation angle, target size, and object distance to define the camera position, so as to take into account the synthesis speed and effect. In practice, however, this is found to be feasible in wrap-around 3D acquisition, where the target size can be measured in advance. However, in an open space, it is difficult to measure the target in advance. For example, it is necessary to collect and obtain 3D information of streets, traffic intersections, buildings, tunnels, traffic flows, etc. (not limited to this). This makes this approach ineffective. Even small fixed targets, such as furniture, human body parts, etc., can be measured in advance, but this method is still limited: the size of the target is difficult to accurately determine, especially in some applications. Frequent replacements bring a lot of extra work per measurement and require specialized equipment to accurately measure irregular targets. The measurement error leads to the camera position setting error, which will affect the acquisition and synthesis speed and effect; the accuracy and speed need to be further improved.
现有技术虽然也有对于环绕式采集设备优化的方法,但当3D采集合成设备的相机的采集方向与其旋转轴方向相互背离的情况时,现有技术就没有更佳的优化方法。Although the prior art also has methods for optimizing the wrap-around capturing device, when the capturing direction of the camera of the 3D capturing and synthesizing device deviates from the direction of its rotation axis, there is no better optimization method in the prior art.
因此,还急需一种能够精确、高效、适用场景广泛的采集空间3D信息,并将其与物体3D信息进行匹配优化,从而指导物体与空间的匹配动作的技术。Therefore, there is an urgent need for a technology that can collect spatial 3D information accurately, efficiently, and is applicable to a wide range of scenarios, and match and optimize it with the 3D information of the object, so as to guide the matching action between the object and the space.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,提出了本发明提供一种克服上述问题或者至少部分地解决上述问题的一种实现运动物体之间3D处理的装置及方法。In view of the above problems, it is proposed that the present invention provides an apparatus and method for realizing 3D processing between moving objects that overcomes the above problems or at least partially solves the above problems.
本发明实施例提供了一种实现运动物体之间3D处理的装置及方法,包括目标物3D信息采集装置和第一处理器;Embodiments of the present invention provide a device and method for realizing 3D processing between moving objects, including a device for collecting 3D information of a target object and a first processor;
目标物3D信息采集装置用于在待处理物体运动时,不断对待处理物体进行扫描,在多个时刻分别获得多张能够合成三维模型的图像;The target object 3D information acquisition device is used to continuously scan the object to be processed when the object to be processed moves, and obtain multiple images that can synthesize the three-dimensional model at multiple times;
第一处理器,用于将至少两个待处理物体在同一时刻的三维模型进行匹配运算或不匹配运算。The first processor is configured to perform a matching operation or a mismatch operation on the three-dimensional models of the at least two objects to be processed at the same time.
在可选的实施例中,第一处理器还用于合成待处理物体三维模型。In an optional embodiment, the first processor is further configured to synthesize the three-dimensional model of the object to be processed.
在可选的实施例中,还包括第二处理器,位于目标物3D信息采集装置,用于合成与其相对的待处理物体的三维模型;In an optional embodiment, it further includes a second processor, located in the target object 3D information acquisition device, for synthesizing a three-dimensional model of the object to be processed opposite to it;
在可选的实施例中,目标物3D信息采集装置在任意时刻采集待处理物体的上述图像时,均将图像打上时间戳。In an optional embodiment, when the apparatus for collecting the 3D information of the target object collects the above-mentioned image of the object to be processed at any time, the image is stamped with a time stamp.
在可选的实施例中,空间3D信息采集装置包括图像采集装置、旋转装置;In an optional embodiment, the spatial 3D information acquisition device includes an image acquisition device and a rotation device;
其中图像采集装置与旋转装置连接,由旋转装置带动其旋转;The image acquisition device is connected with the rotating device, and the rotating device drives it to rotate;
图像采集装置在相邻的两个采集位置的光轴的夹角α满足如下条件:The angle α between the optical axes of the image acquisition device at two adjacent acquisition positions satisfies the following conditions:
其中,R为旋转中心到目标物表面的距离,T为采集时物距与像距的和,d为图像采集装置的感光元件的长度或宽度,F为图像采集装置的镜头焦距,u为经验系数。Among them, R is the distance from the rotation center to the surface of the target object, T is the sum of the object distance and the image distance during acquisition, d is the length or width of the photosensitive element of the image acquisition device, F is the lens focal length of the image acquisition device, and u is the experience coefficient.
在可选的实施例中,u<0.498,为了更佳的合成效果,优选u<0.411,特别是优选u<0.359,在一些应用场合下u<0.281,或u<0.169,或u<0.041,或u<0.028。In an optional embodiment, u<0.498, for better synthesis effect, preferably u<0.411, especially preferably u<0.359, in some applications, u<0.281, or u<0.169, or u<0.041, or u<0.028.
在可选的实施例中,图像采集装置的光学采集口均背向旋转轴方向。In an optional embodiment, the optical acquisition ports of the image acquisition device are all facing away from the direction of the rotation axis.
在可选的实施例中,目标物3D信息采集装置设置于待处理物体上。In an optional embodiment, the device for collecting 3D information of the target object is arranged on the object to be processed.
在可选的实施例中,目标物3D信息采集装置与待处理物体分离设置。In an optional embodiment, the device for collecting 3D information of the target object is provided separately from the object to be processed.
在可选的实施例中,处理完成后,处理器将处理结果输出至显示装置、打印装置、和/或动作执行装置。In an optional embodiment, after the processing is completed, the processor outputs the processing result to the display device, the printing device, and/or the action execution device.
发明点及技术效果Inventions and technical effects
1、首次提出通过简单结构的视觉三维采集装置,实现物体的三维模型构建,从而能够实现物体间的相互匹配或不匹配,且采集速度快、精度高。1. For the first time, it is proposed to construct a 3D model of an object through a visual 3D acquisition device with a simple structure, so that the mutual matching or mismatch between objects can be realized, and the acquisition speed is fast and the precision is high.
2、首次提出通过测量旋转中心与目标物距离、图像传感元件与目标物距离的方式优化相机采集位置,从而兼顾3D构建的速度和效果。2. For the first time, it is proposed to optimize the camera acquisition position by measuring the distance between the rotation center and the target, and the distance between the image sensing element and the target, so as to take into account the speed and effect of 3D construction.
3、通过自转式采集设备,使得能够对于物体进行快速扫描,且不受场合限制,使得物体间的匹配或不匹配更容易实现。3. Through the self-rotating acquisition device, it is possible to quickly scan the object without being limited by the occasion, so that the matching or mismatching between objects is easier to achieve.
4、通过灵活设置采集设备的位置(设于目标物外或目标物上),可适用于不同场合。4. By flexibly setting the location of the acquisition device (located outside the target or on the target), it can be applied to different occasions.
5、通过时间戳方式保证3D合成的准确和快捷。5. Ensure the accuracy and speed of 3D synthesis by means of time stamps.
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了本发明实施例提供的3D信息采集装置的的一种结构示意图;FIG. 1 shows a schematic structural diagram of a 3D information collection device provided by an embodiment of the present invention;
图2示出了本发明实施例提供的3D信息采集装置的另一种结构示意图;FIG. 2 shows another schematic structural diagram of a 3D information collection device provided by an embodiment of the present invention;
图3示出了本发明实施例提供的3D信息采集装置的包含伸缩装置结构示意图。FIG. 3 shows a schematic structural diagram of a 3D information collection device including a telescopic device provided by an embodiment of the present invention.
图4示出了本发明实施例提供的3D信息采集装置的包含伸缩装置另一种结构示意图。FIG. 4 shows another schematic structural diagram of a 3D information collection device including a telescopic device provided by an embodiment of the present invention.
图5示出了本发明实施例提供的3D信息采集装置的包含俯仰装置的结构示意图。FIG. 5 shows a schematic structural diagram of a 3D information collection device including a pitch device provided by an embodiment of the present invention.
图6示出了本发明实施例提供的3D信息采集装置的包含俯仰装置的另一种结构示意图。FIG. 6 shows another schematic structural diagram of a 3D information collection device including a pitching device provided by an embodiment of the present invention.
图7示出了本发明实施例提供的3D信息采集装置的包含伸缩俯仰装置的结构示意图。FIG. 7 shows a schematic structural diagram of a 3D information collection device including a telescopic and tilt device provided by an embodiment of the present invention.
图8示出了本发明实施例提供的3D信息采集装置的包含伸缩俯仰装置的另一种结构示意图。FIG. 8 shows another schematic structural diagram of a 3D information collection device including a telescopic and tilt device provided by an embodiment of the present invention.
图9示出了本发明实施例提供的3D信息采集装置位于目标物体之外采集匹配的示意图。FIG. 9 shows a schematic diagram of a 3D information acquisition device located outside a target object for acquisition and matching provided by an embodiment of the present invention.
图10示出了本发明实施例提供的3D信息采集装置位于目标物体之外采集匹配的另一示意图。FIG. 10 shows another schematic diagram of the 3D information collection apparatus provided by an embodiment of the present invention for collection and matching outside the target object.
图11示出了本发明实施例提供的3D信息采集装置位于目标物体上采集匹配的示意图。FIG. 11 shows a schematic diagram of a 3D information acquisition device located on a target object for acquisition and matching provided by an embodiment of the present invention.
图12示出了本发明实施例提供的3D信息采集位于目标物体之外进行采集不匹配的示意图。FIG. 12 shows a schematic diagram of a mismatch between 3D information collection provided by an embodiment of the present invention that is located outside the target object.
图13示出了本发明实施例提供的3D信息采集装置采集装置位于目标物体上采集不匹配的示意图。FIG. 13 shows a schematic diagram of a 3D information collection apparatus provided by an embodiment of the present invention in which a collection apparatus is located on a target object and collects mismatches.
附图中的附图标记与各部件的对应关系如下:The corresponding relationship between the reference numerals in the accompanying drawings and the components is as follows:
1 图像采集装置;1 image acquisition device;
2 旋转装置;2 rotating device;
3 承载装置;3 carrying device;
4 伸缩装置;4 telescopic device;
5 俯仰装置;5 pitching device;
6 3D信息采集装置。6 3D information collection device.
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本 公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
3D信息采集装置结构3D information acquisition device structure
为解决上述技术问题,本发明提出一种3D信息采集装置,如图1所示,包括图像采集装置1、旋转装置2、承载装置3。In order to solve the above technical problems, the present invention provides a 3D information acquisition device, as shown in FIG.
其中图像采集装置1与旋转装置2的旋转轴连接,由旋转装置2带动其转动。图像采集装置1的采集方向为背离旋转中心方向。即采集方向为指向相对于旋转中心向外。图像采集装置1的光轴可以与旋转平面平行,也可以与旋转平面成一定夹角,例如在以旋转平面为基准-90°-90°的范围内均是可以的。通常旋转轴或其延长线(即旋转中心线)通过图像采集装置,即图像采集装置仍然以自转方式转动。这与传统的图像采集装置围绕某一目标物进行旋转的采集方式(环绕式)本质不同,即与环绕目标物转动的环绕式完全不同。图像采集装置的光学采集口(例如镜头)均背向旋转轴方向,也就是说图像采集装置的采集区与旋转中心线无交集。可选的,图像采集装置的光轴与水平面具有夹角,因此这种方式与一般的自转式也有较大差别,特别是能够采集表面与水平面不垂直的目标物。The image acquisition device 1 is connected with the rotating shaft of the rotating device 2 , and the rotating device 2 drives it to rotate. The acquisition direction of the image acquisition device 1 is the direction away from the rotation center. That is, the acquisition direction is directed outward relative to the center of rotation. The optical axis of the image acquisition device 1 may be parallel to the rotation plane, or may form a certain angle with the rotation plane, for example, within the range of -90°-90° based on the rotation plane. Usually, the rotation axis or its extension line (ie, the rotation center line) passes through the image acquisition device, that is, the image acquisition device still rotates in an autorotation manner. This is essentially different from the acquisition method (surround type) in which the traditional image acquisition device rotates around a certain object, that is, it is completely different from the surround type in which the image acquisition device rotates around the target object. The optical collection ports (eg lenses) of the image collection device are all facing away from the direction of the rotation axis, that is to say, the collection area of the image collection device has no intersection with the rotation center line. Optionally, the optical axis of the image acquisition device has an included angle with the horizontal plane, so this method is also quite different from the general autorotation method, especially the target object whose surface is not perpendicular to the horizontal plane can be acquired.
当然,旋转装置的旋转轴也可以通过减速装置与图像采集装置连接,例如通过齿轮组等。当图像采集装置在水平面进行360°的旋转时,其在特定位置拍摄对应目标物的图像(具体拍摄位置后续将详细描述)。这种拍摄可以是与旋转动作同步进行,或是在拍摄位置停止旋转后进行拍摄,拍摄完毕后继续旋转,以此类推。上述旋转装置可以为电机、马达、步进电机、伺服电机、微型马达等。旋转装置(例如各类电机)可以在控制器的控制下按照规定速度转动,并且可以转动规定角度,从而实现采集位置的优化,具体采集位置下面将详细说明。当然也可以使用现有设备中的旋转装置,将图像采集装置安装其上即可。Of course, the rotating shaft of the rotating device can also be connected to the image capturing device through a deceleration device, for example, through a gear set or the like. When the image capturing device rotates 360° on the horizontal plane, it captures an image corresponding to the target at a specific position (the specific shooting position will be described in detail later). This shooting can be performed in synchronization with the rotation action, or after the shooting position stops rotating, and then continues to rotate after shooting, and so on. The above-mentioned rotating device may be a motor, a motor, a stepping motor, a servo motor, a micro motor, or the like. The rotating device (for example, various types of motors) can rotate at a specified speed under the control of the controller, and can rotate at a specified angle, so as to realize the optimization of the collection position. The specific collection position will be described in detail below. Of course, the rotating device in the existing equipment can also be used, and the image capturing device can be installed thereon.
承载装置3用来承载整个设备的重量,旋转装置2与承载装置3连接。承载装置可以为三脚架如图1、带有支撑装置的底座如图2等。通常情况下,旋转装置位于承载装置的中心部分,以保证平衡。但在一些特殊场合中,也可以位于承载装置任意位置。而且承载装置并不是必须的。旋转装置可以直接安装于应用设备中,例如可以安装于车辆顶部。The carrying device 3 is used to carry the weight of the entire equipment, and the rotating device 2 is connected with the carrying device 3 . The carrying device can be a tripod as shown in Figure 1, a base with a support device as shown in Figure 2, and so on. Typically, the rotating device is located in the center part of the carrier to ensure balance. However, in some special occasions, it can also be located at any position of the carrying device. Furthermore, the carrying device is not necessary. The swivel device can be installed directly in the application, eg on the roof of a vehicle.
另一种实施例中,如图3、4所示,包括图像采集装置1、旋转装置2、承载装置3、伸缩装置4。In another embodiment, as shown in FIGS. 3 and 4 , an image capturing device 1 , a rotating device 2 , a carrying device 3 , and a telescopic device 4 are included.
其中图像采集装置1与旋转装置2的旋转轴连接,由旋转装置2带动其转 动。当然,旋转装置的旋转轴也可以通过减速装置与图像采集装置连接,例如通过齿轮组等。当图像采集装置在水平面进行360°的旋转时,其在特定位置拍摄对应目标物的图像(具体拍摄位置后续将详细描述)。这种拍摄可以是与旋转动作同步进行,或是在拍摄位置停止旋转后进行拍摄,拍摄完毕后继续旋转,以此类推。上述旋转装置可以为电机、马达、步进电机、伺服电机、微型马达等。旋转装置(例如各类电机)可以在控制器的控制下按照规定速度转动,并且可以转动规定角度,从而实现采集位置的优化,具体采集位置下面将详细说明。当然也可以使用现有设备中的旋转装置,将图像采集装置安装其上即可。The image acquisition device 1 is connected with the rotating shaft of the rotating device 2, and the rotating device 2 drives it to rotate. Of course, the rotating shaft of the rotating device can also be connected to the image capturing device through a deceleration device, for example, through a gear set or the like. When the image capturing device rotates 360° on the horizontal plane, it captures an image corresponding to the target at a specific position (the specific shooting position will be described in detail later). This shooting can be performed in synchronization with the rotation action, or after the shooting position stops rotating, and then continues to rotate after shooting, and so on. The above-mentioned rotating device may be a motor, a motor, a stepping motor, a servo motor, a micro motor, or the like. The rotating device (for example, various types of motors) can rotate at a specified speed under the control of the controller, and can rotate at a specified angle, so as to realize the optimization of the collection position. The specific collection position will be described in detail below. Of course, the rotating device in the existing equipment can also be used, and the image capturing device can be installed thereon.
伸缩装置4一端与旋转装置2连接,另一端与承载装置3连接,用于在沿图像采集装置光轴垂直的方向伸缩,从而可以将图像采集装置定位在不同的位置。在每个位置,再经过旋转装置驱动下进行旋转扫描,从而可以构建出该位置处目标物的3D模型。在扫描完某一位置后,伸缩装置再次运动,从而使得图像采集装置移动至另一位置,重复进行上述扫描,以此类推,即可实现细长目标物内部3D模型的构建。也可以用于在周边目标物较高时,分不同高度层次进行扫描,从而构建整个目标物的3D模型。One end of the telescopic device 4 is connected to the rotating device 2, and the other end is connected to the bearing device 3, and is used to expand and contract in a direction perpendicular to the optical axis of the image capture device, so that the image capture device can be positioned at different positions. At each position, it is rotated and scanned by the rotating device, so that a 3D model of the target at that position can be constructed. After scanning a certain position, the telescopic device moves again, so that the image acquisition device moves to another position, repeating the above scanning, and so on, to realize the construction of the internal 3D model of the slender target. It can also be used to scan at different height levels when the surrounding target is high, so as to construct a 3D model of the entire target.
伸缩装置可以为伸缩套管、伸缩滑轨等多种伸缩结构。其伸缩可以手动调节,也可以在控制单元的控制下进行伸缩。伸缩装置还可以包括伸缩电机,用于驱动伸缩单元(例如伸缩套管)延长或缩短。在伸缩到位后,可以通过锁定单元将伸缩装置长度锁定,从而为旋转装置提供稳定的支撑。锁定单元可以是机械锁定单元,例如锁定销等,也可以是电动锁定单元,例如在控制单元控制下,锁定伸缩装置。The telescopic device can be various telescopic structures such as telescopic sleeves and telescopic slide rails. Its telescoping can be adjusted manually or under the control of the control unit. The telescopic device may also include a telescopic motor for driving the telescopic unit (eg, a telescopic sleeve) to extend or shorten. After telescopic in place, the length of the telescopic device can be locked by the locking unit to provide stable support for the rotating device. The locking unit may be a mechanical locking unit, such as a locking pin, etc., or an electric locking unit, for example, under the control of the control unit, to lock the telescopic device.
承载装置3用来承载整个设备的重量。承载装置可以为三脚架、带有支撑装置的底座等。通常情况下,旋转装置位于承载装置的中心部分,以保证平衡。但在一些特殊场合中,也可以位于承载装置任意位置。而且承载装置并不是必须的。旋转装置可以直接安装于应用设备中,例如可以安装于行走机器人顶部。The carrying device 3 is used to carry the weight of the entire device. The carrying device may be a tripod, a base with a supporting device, or the like. Typically, the rotating device is located in the center part of the carrier to ensure balance. However, in some special occasions, it can also be located at any position of the carrying device. Furthermore, the carrying device is not necessary. The rotating device can be installed directly in the application equipment, for example, it can be installed on the top of the walking robot.
通过伸缩装置设计,可以使得图像采集装置能够在不同高度采集信息,这样对于室内挑高较高的建筑而言,能够全面准确的采集。Through the design of the telescopic device, the image acquisition device can collect information at different heights, so that for buildings with high indoor ceilings, comprehensive and accurate acquisition can be achieved.
在另一种实施方式中,如图5、6所示,3D信息采集装置包括图像采集装置1、旋转装置2、承载装置3、俯仰装置5。其中图像采集装置1设置在俯仰装置5上,使得图像采集装置1可以沿垂直面俯仰转动。俯仰装置可以为滚轮、齿轮、轴承、球节等。图像采集装置1的光轴通常与俯仰方向平行,但某些特殊情况下也可以呈一定的夹角。俯仰装置可以为手动调节的,也可以在电动机 驱动下俯仰转动,从而根据程序控制实现精确的俯仰角调节。俯仰装置还包括锁死机构,用于在俯仰角调节到位,图像采集装置光轴与水平面呈预定角度后,将俯仰装置锁死,从而防止其在垂直方向上再次转动。In another embodiment, as shown in FIGS. 5 and 6 , the 3D information acquisition device includes an image acquisition device 1 , a rotation device 2 , a carrying device 3 , and a pitch device 5 . The image acquisition device 1 is arranged on the tilt device 5, so that the image acquisition device 1 can tilt and rotate along the vertical plane. The pitching device can be rollers, gears, bearings, ball joints, etc. The optical axis of the image acquisition device 1 is usually parallel to the pitch direction, but may also be at a certain angle in some special cases. The pitching device can be adjusted manually, or it can be pitched and rotated under the drive of the motor, so as to realize the precise pitch angle adjustment according to the program control. The tilting device further includes a locking mechanism for locking the tilting device after the tilting angle is adjusted in place and the optical axis of the image capturing device is at a predetermined angle with the horizontal plane, thereby preventing it from rotating in the vertical direction again.
俯仰装置5与旋转装置2的旋转轴连接,由旋转装置2带动其转动。当然,旋转装置的旋转轴也可以通过减速装置与俯仰装置连接,例如通过齿轮组等。The pitching device 5 is connected with the rotating shaft of the rotating device 2 , and is driven by the rotating device 2 to rotate. Of course, the rotating shaft of the rotating device can also be connected to the pitching device through a reduction gear, for example, through a gear set or the like.
由于俯仰装置的调节,通常情况下图像采集装置的光轴与水平面呈一定的夹角。这样可以扫描表面与水平面不垂直的目标物。即根据目标物表面与水平面大致夹角情况,来调节俯仰装置,使得图像采集装置的光轴尽可能多地垂直目标物表面,提高对于目标物细节的采集精准度。当然,特殊情况下其也可以与水平面平行。Due to the adjustment of the tilting device, the optical axis of the image acquisition device usually forms a certain angle with the horizontal plane. This allows scanning of targets whose surfaces are not perpendicular to the horizontal. That is, according to the approximate angle between the surface of the target object and the horizontal plane, the tilting device is adjusted so that the optical axis of the image acquisition device is perpendicular to the surface of the target object as much as possible, so as to improve the acquisition accuracy of the details of the target object. Of course, it can also be parallel to the horizontal plane in special cases.
通过俯仰角的设计,在图像采集装置的视场不能覆盖室内所有空间,特别是上部空间时,可以适当将图像采集装置向上仰角,从而使得采集范围更大。Through the design of the pitch angle, when the field of view of the image acquisition device cannot cover all spaces in the room, especially the upper space, the image acquisition device can be properly tilted upward, thereby making the acquisition range larger.
在另一种实施方式中,如图7、8所示,可以同时包括伸缩装置4和俯仰装置5。即图像采集装置1安装于俯仰装置5上,俯仰装置5与旋转装置2连接,旋转装置2安装在伸缩装置4一端,伸缩装置4另一端安装于承载装置3上。这样,在遇到室内空间较大、较高时(例如教堂),可以通过伸缩杆依次将图像采集装置定位在不同高度位置,再依次进行扫描采集,也可以通过调整俯仰角,使得图像采集装置采集更多的上层空间信息。当然根据情况两者可以同时使用。In another embodiment, as shown in FIGS. 7 and 8 , the telescopic device 4 and the pitching device 5 may be included at the same time. That is, the image capturing device 1 is installed on the pitching device 5 , the pitching device 5 is connected to the rotating device 2 , the rotating device 2 is installed on one end of the telescopic device 4 , and the other end of the telescopic device 4 is installed on the carrying device 3 . In this way, when the indoor space is large and high (such as a church), the image acquisition device can be positioned at different heights in turn through the telescopic rod, and then scanned and acquired in sequence, or the pitch angle can be adjusted to make the image acquisition device Collect more upper space information. Of course, both can be used at the same time depending on the situation.
对于以上所有实施方式,图像采集装置的采集方向为背离旋转中心方向。即采集方向为指向相对于旋转中心向外。图像采集装置的光轴可以与旋转平面平行,也可以与旋转平面成一定夹角,例如在以旋转平面为基准-90°-90°的范围内均是可以的。通常旋转轴或其延长线(即旋转中心线)通过图像采集装置,即图像采集装置仍然以自转方式转动。这与传统的图像采集装置围绕某一目标物进行旋转的采集方式(环绕式)本质不同,即与环绕目标物转动的环绕式完全不同。图像采集装置的光学采集口(例如镜头)均背向旋转轴方向,也就是说图像采集装置的采集区与旋转中心线无交集。可选的,图像采集装置的光轴与水平面具有夹角,因此这种方式与一般的自转式也有较大差别,特别是能够采集表面与水平面不垂直的目标物。For all the above embodiments, the acquisition direction of the image acquisition device is the direction away from the rotation center. That is, the acquisition direction is directed outward relative to the center of rotation. The optical axis of the image acquisition device may be parallel to the rotation plane, or may form a certain angle with the rotation plane, for example, within the range of -90°-90° based on the rotation plane. Usually, the rotation axis or its extension line (ie, the rotation center line) passes through the image acquisition device, that is, the image acquisition device still rotates in an autorotation manner. This is essentially different from the acquisition method (surround type) in which the traditional image acquisition device rotates around a certain object, that is, it is completely different from the surround type in which the image acquisition device rotates around the target object. The optical collection ports (eg lenses) of the image collection device are all facing away from the direction of the rotation axis, that is to say, the collection area of the image collection device has no intersection with the rotation center line. Optionally, the optical axis of the image acquisition device has an included angle with the horizontal plane, so this method is also quite different from the general autorotation method, especially the target object whose surface is not perpendicular to the horizontal plane can be acquired.
上述装置还可以包括测距装置,测距装置与图像采集装置固定连接,且测距装置指向方向与图像采集装置光轴方向相同。当然测距装置也可以固定连接 于旋转装置上,只要可以随图像采集装置同步转动即可。优选的,可以设置安装平台,图像采集装置和测距装置均位于平台上,平台安装于旋转装置旋转轴上,由旋转装置驱动转动。测距装置可以使用激光测距仪、超声测距仪、电磁波测距仪等多种方式,也可以使用传统的机械量具测距装置。当然,在某些应用场合中,3D采集装置位于特定位置,其与目标物的距离已经标定,无需额外测量。The above device may further include a ranging device, the ranging device is fixedly connected with the image acquisition device, and the pointing direction of the ranging device is the same as the direction of the optical axis of the image acquisition device. Of course, the distance measuring device can also be fixedly connected to the rotating device, as long as it can rotate synchronously with the image capturing device. Preferably, an installation platform may be provided, the image acquisition device and the distance measuring device are both located on the platform, the platform is installed on the rotating shaft of the rotating device, and is driven and rotated by the rotating device. The distance measuring device can use a variety of methods such as a laser distance meter, an ultrasonic distance meter, an electromagnetic wave distance meter, etc., or a traditional mechanical measuring tool distance measuring device. Of course, in some applications, the 3D acquisition device is located at a specific location, and its distance from the target has been calibrated, and no additional measurement is required.
还可以包括光源,光源可以设置于图像采集装置周边、旋转装置上以及安装平台上。当然光源也可以单独设置,例如使用独立光源照射目标物。甚至在光照条件较好的时候不使用光源。光源可以为LED光源,也可以为智能光源,即根据目标物及环境光的情况自动调整光源参数。通常情况下,光源位于图像采集装置的镜头周边分散式分布,例如光源为在镜头周边的环形LED灯。由于在一些应用中需要控制光源强度。特别是可以在光源的光路上设置柔光装置,例如为柔光外壳。或者直接采用LED面光源,不仅光线比较柔和,而且发光更为均匀。更佳地,可以采用OLED光源,体积更小,光线更加柔和,并且具有柔性特性,可以贴附于弯曲的表面。It can also include a light source, and the light source can be arranged on the periphery of the image acquisition device, on the rotating device and on the installation platform. Of course, the light source can also be set independently, for example, an independent light source is used to illuminate the target. Even when lighting conditions are good, no light source is used. The light source can be an LED light source or an intelligent light source, that is, the parameters of the light source are automatically adjusted according to the conditions of the target object and the ambient light. Usually, the light sources are distributed around the lens of the image capture device, for example, the light sources are ring-shaped LED lights around the lens. Because in some applications it is necessary to control the intensity of the light source. In particular, a diffuser device, such as a diffuser housing, can be arranged on the light path of the light source. Or directly use the LED surface light source, not only the light is softer, but also the light is more uniform. More preferably, an OLED light source can be used, which has a smaller volume, softer light, and has flexible properties, which can be attached to a curved surface.
为了方便目标物的实际尺寸测量,可在目标物位置设置多个标记点。并且这些标记点的坐标已知。通过采集标记点,并结合其坐标,获得3D合成模型的绝对尺寸。这些标记点可以为事先设置的点,也可以是激光光点。确定这些点的坐标的方法可以包括:①使用激光测距:使用标定装置向着目标物发射激光,形成多个标定点光斑,通过标定装置中激光测距单元的已知位置关系获得标定点坐标。使用标定装置向着目标物发射激光,使得标定装置中的激光测距单元发射的光束落在目标物上形成光斑。由于激光测距单元发射的激光束相互平行,且各个单元之间的位置关系已知。那么在目标物上形成的多个光斑的在发射平面的二维坐标就可以得到。通过激光测距单元发射的激光束进行测量,可以获得每个激光测距单元与对应光斑之间的距离,即相当于在目标物上形成的多个光斑的深度信息可以获得。即垂直于发射平面的深度坐标就可以得到。由此,可以获得每个光斑的三维坐标。②使用测距与测角结合:分别测量多个标记点的距离以及相互之间的夹角,从而算出各自坐标。③使用其它坐标测量工具:例如RTK、全球坐标定位系统、星敏定位系统、位置和位姿传感器等。In order to facilitate the measurement of the actual size of the target, multiple marking points can be set at the position of the target. And the coordinates of these marker points are known. By collecting marker points and combining their coordinates, the absolute size of the 3D composite model is obtained. These marking points can be pre-set points or laser light spots. The method for determining the coordinates of these points may include: ①Using laser ranging: using a calibration device to emit laser light toward the target to form a plurality of calibration point spots, and obtain the calibration point coordinates through the known positional relationship of the laser ranging unit in the calibration device. Use the calibration device to emit laser light toward the target, so that the light beam emitted by the laser ranging unit in the calibration device falls on the target to form a light spot. Since the laser beams emitted by the laser ranging units are parallel to each other, and the positional relationship between the units is known. Then the two-dimensional coordinates on the emission plane of the multiple light spots formed on the target can be obtained. By measuring the laser beam emitted by the laser ranging unit, the distance between each laser ranging unit and the corresponding light spot can be obtained, that is, depth information equivalent to multiple light spots formed on the target can be obtained. That is, the depth coordinates perpendicular to the emission plane can be obtained. Thereby, the three-dimensional coordinates of each spot can be obtained. ②Using the combination of distance measurement and angle measurement: respectively measure the distance of multiple markers and the angle between each other, so as to calculate the respective coordinates. ③ Use other coordinate measurement tools: such as RTK, global coordinate positioning system, star-sensing positioning system, position and pose sensors, etc.
3D信息采集匹配流程3D information collection and matching process
所谓两个物体匹配是指,两个物体各自所占用空间有交集,或两个物体各 自占用空间之间形成稳定的关系。例如加油枪插入加油口、海上直升机对准海面待救援船只、无人机降落在行驶车辆的顶部等。The so-called matching of two objects means that the space occupied by the two objects has an intersection, or a stable relationship is formed between the spaces occupied by the two objects. For example, the refueling gun is inserted into the refueling port, the marine helicopter is aimed at the sea to be rescued, and the drone is landed on the top of the moving vehicle.
1、采集装置位于目标物体之外1. The acquisition device is located outside the target object
如图9-图10所示:As shown in Figure 9-10:
(1)将3D采集装置6放置在空间某一位置,保证待匹配的物体(以下称目标物)在其扫描视场范围内。(1) Place the 3D acquisition device 6 at a certain position in space to ensure that the object to be matched (hereinafter referred to as the target) is within its scanning field of view.
(2)在T0时刻,采集装置6采集多个目标物的图像,并分别进行3D合成,从而在较短时间内获得多个目标物的3D模型。具体方法如下:(2) At time T0, the acquisition device 6 acquires images of multiple objects, and performs 3D synthesis respectively, so as to obtain 3D models of multiple objects in a relatively short period of time. The specific method is as follows:
旋转装置按一定速度带动图像采集装置进行旋转,在旋转过程中图像采集装置在设定好的位置进行图像采集。此时可以不停止旋转,即图像采集与旋转同步进行;也可以在待采集的位置停止旋转,进行图像采集,采集完毕后继续旋转至下一个待采集位置。旋转装置可以利用事先设定好的控制单元中的程序进行驱动。也可以通过通讯接口与上位机进行通讯,通过上位机进行控制旋转。特别是其还可以与移动终端通过有线或无线进行连接,通过移动终端(例如手机)控制旋转装置转动。即可以通过远程平台、云平台、服务器、上位机、移动终端设置旋转装置转动参数,控制其旋转的启停。The rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at a set position during the rotation process. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed. The rotating device can be driven by a pre-programmed control unit program. It can also communicate with the upper computer through the communication interface, and control the rotation through the upper computer. In particular, it can also be wired or wirelessly connected to the mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
图像采集装置采集到目标物多张图像,并将图像通过通讯装置送入远程平台、云平台、服务器、上位机和/或移动终端中,利用3D模型合成方法进行目标物体的3D模型合成,最终合成待匹配物体的3D模型。可以理解,整个采集和合成的速度是非常快的。The image acquisition device collects multiple images of the target object, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to synthesize the 3D model of the target object. Synthesize the 3D model of the object to be matched. It can be understood that the speed of the entire acquisition and synthesis is very fast.
(3)在T1时刻,采集装置采集多个目标物的图像,并分别进行3D合成,从而再次获得多个目标物的3D模型。可以理解,T0和T1时间间隔可以较短,也可以根据需要较长。最短的间隔为:采集装置一直进行旋转不停,从而不间断地采集。(3) At time T1, the acquisition device acquires images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects again. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
(4)以此类推,在不同时刻分别采集多个目标物的图像,并分别进行3D合成,从而不断获得多个目标物的3D模型。并在此过程中,不断利用目标物的3D模型信息对不同目标物进行匹配操作。例如,在两个搬运车在进行货物交接时,不断获得两个车辆的3D模型,从而根据最新的车辆3D模型和其位置、姿态信息不断调整其动作,保证两者货箱对准,从而顺利完成交接。(4) By analogy, images of multiple objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple objects. In this process, the 3D model information of the target is continuously used to match different targets. For example, when the two trucks are handing over the goods, the 3D models of the two vehicles are continuously obtained, so as to continuously adjust their actions according to the latest vehicle 3D model and its position and attitude information to ensure the alignment of the two cargo boxes, so as to smoothly Complete the handover.
在上述采集过程中,对于需要在多个高度进行采集的空间,可以采用如下流程。In the above collection process, for the space that needs to be collected at multiple heights, the following process can be used.
控制伸缩装置长度使得图像采集装置位于预定位置,旋转装置按一定速度 带动图像采集装置进行旋转,在旋转过程中图像采集装置在设定好的位置进行图像采集。此时可以不停止旋转,即图像采集与旋转同步进行;也可以在待采集的位置停止旋转,进行图像采集,采集完毕后继续旋转至下一个待采集位置。旋转装置可以利用事先设定好的控制单元中的程序进行驱动。也可以通过通讯接口与上位机进行通讯,通过上位机进行控制旋转。特别是其还可以与移动终端通过有线或无线进行连接,通过移动终端(例如手机)控制旋转装置转动。即可以通过远程平台、云平台、服务器、上位机、移动终端设置旋转装置转动参数,控制其旋转的启停。The length of the telescopic device is controlled so that the image acquisition device is located at a predetermined position, the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at the set position during the rotation. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed. The rotating device can be driven by a pre-programmed control unit program. It can also communicate with the upper computer through the communication interface, and control the rotation through the upper computer. In particular, it can also be wired or wirelessly connected to the mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
控制伸缩装置长度使得图像采集装置位于另一预定位置,重复上述旋转装置动作,从而使得图像采集装置可以采集环绕该位置的目标物图像,依次类推,在多个高度位置进行采集,获得图像,从而构建对应的3D模型。The length of the telescopic device is controlled so that the image acquisition device is located at another predetermined position, and the above-mentioned action of the rotating device is repeated, so that the image acquisition device can acquire the image of the target object surrounding the position, and so on, and the acquisition is performed at multiple height positions to obtain images, thereby Build the corresponding 3D model.
图像采集装置采集到目标物多张图像,并将图像通过通讯装置送入远程平台、云平台、服务器、上位机和/或移动终端中,利用3D模型合成方法进行目标物的3D合成。The image acquisition device collects multiple images of the target, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to perform 3D synthesis of the target.
当然,也可以控制俯仰装置,使得图像采集装置俯仰至一定角度后,再进行旋转采集。Of course, the tilting device can also be controlled so that the image acquisition device is tilted to a certain angle, and then rotated and acquired.
特别的,可以在采集前或者采集的同时,使用测距装置测量相关公式条件中相应的距离参数,即旋转中心到目标物的距离、传感元件到目标物的距离。根据相应条件公式计算出采集位置,并提示给用户进行旋转参数的设定,或自动设定旋转参数。In particular, the distance measuring device can be used to measure the corresponding distance parameters in the relevant formula conditions, that is, the distance from the rotation center to the target, and the distance from the sensing element to the target, before or at the same time as the acquisition. The collection position is calculated according to the corresponding conditional formula, and the user is prompted to set the rotation parameters, or the rotation parameters are automatically set.
在采集前进行测距时,可以使得旋转装置带动测距装置转动,从而测量不同位置上上述两个距离。并对多个测量点测得的两个距离分别取平均值,作为本次采集的统一距离值带入公式中。所述平均值的获得可以使用求和平均的方式,也可以使用加权平均的方式,还可以使用其它求均值的方式,或舍弃异常值再平均的方式等。When measuring the distance before acquisition, the rotating device can drive the distance measuring device to rotate, so as to measure the above two distances at different positions. The two distances measured at multiple measurement points are averaged respectively, and are brought into the formula as the unified distance value collected this time. The average value may be obtained by a summation average method, a weighted average method, or another average value method, or a method of discarding abnormal values and averaging again.
在采集过程中进行测距时,在旋转装置转动到第一位置进行图像采集的同时,进行上述两个距离值的测量,并将它们带入条件公式中计算间隔角度,根据该角度确定下一采集位置。When the distance measurement is performed during the acquisition process, while the rotating device is rotated to the first position for image acquisition, the above-mentioned two distance values are measured, and they are brought into the conditional formula to calculate the interval angle, and the next step is determined according to the angle. Collection location.
2、采集装置位于目标物体上2. The acquisition device is located on the target object
在很多场合下,没有额外空间或位置放置采集设备,为此本发明提出如图11所示方案(也是发明点之一):In many occasions, there is no additional space or position to place the acquisition device. For this reason, the present invention proposes a solution as shown in Figure 11 (which is also one of the inventions):
(1)将上述3D信息采集装置6设置于待匹配的物体(称为目标物)上, 从而使得与其匹配的物体在其扫描视场范围内。通常情况,每个目标物上均设置有至少一个3D信息采集装置。但某些情况下,如果其中一个目标物的3D模型或信息已知,或实时可查,则只需要在其上设置采集装置即可。(1) The above-mentioned 3D information acquisition device 6 is set on the object to be matched (referred to as a target object), so that the matched object is within its scanning field of view. Usually, at least one 3D information acquisition device is provided on each target. However, in some cases, if the 3D model or information of one of the targets is known, or can be checked in real time, it is only necessary to set the acquisition device on it.
(2)在T0时刻,采集装置采集对应目标物的图像,并进行3D合成,从而获得目标物的3D模型。若互相待匹配的两个目标物上均设有采集装置,则每个采集装置采集与之相对的目标物的图像。若互相待匹配的两个目标物之一上设有采集装置,则它采集与之相对的目标物的图像,而它所采的目标物3D模型已知,可查询系统给出。具体采集和合成方法与上述描述相同,不再赘述。(2) At time T0, the acquisition device collects the image corresponding to the target, and performs 3D synthesis to obtain a 3D model of the target. If two objects to be matched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects to be matched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by querying the system. The specific collection and synthesis methods are the same as those described above, and are not repeated here.
(3)在T1时刻,采集装置采集对应目标物的图像,并进行3D合成,从而获得目标物的3D模型。若互相待匹配的两个目标物上均设有采集装置,则每个采集装置采集与之相对的目标物的图像。若互相待匹配的两个目标物之一上设有采集装置,则它采集与之相对的目标物的图像,而它所采的目标物3D模型已知,可查询系统给出。具体采集和合成方法与上述描述相同,不再赘述。可以理解,T0和T1时间间隔可以较短,也可以根据需要较长。最短的间隔为:采集装置一直进行旋转不停,从而不间断地采集。(3) At time T1, the acquisition device acquires an image corresponding to the target object, and performs 3D synthesis to obtain a 3D model of the target object. If two objects to be matched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects to be matched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by querying the system. The specific collection and synthesis methods are the same as those described above, and are not repeated here. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
(4)以此类推,在不同时刻分别采集目标物的图像,并分别进行3D合成,从而不断获得多个目标物的3D模型。并在此过程中,不断利用目标物的3D模型信息对不同目标物进行匹配操作。例如,在两个搬运车在进行货物交接时,不断获得两个车辆的3D模型,从而根据最新的车辆3D模型和其位置、姿态信息不断调整其动作,保证两者货箱对准,从而顺利完成交接。(4) By analogy, the images of the target objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple targets. In this process, the 3D model information of the target is continuously used to match different targets. For example, when the two trucks are handing over the goods, the 3D models of the two vehicles are continuously obtained, so as to continuously adjust their actions according to the latest vehicle 3D model and its position and attitude information to ensure the alignment of the two cargo boxes, so as to smoothly Complete the handover.
这里与上述不同的是,匹配的过程可以分别在两个目标物的采集装置或其中一个设备中完成,也可以在服务器、云平台中完成。也就是说,任何一个采集装置可以独立地获得对面目标物的3D模型(在其内部合成,或在第三方服务器、云平台合成后再发送至该设备),且能够接收或查询到自己所在目标物的3D模型,从而在设备内部根据两个目标物的3D模型和其位置、姿态信息不断调整其动作,实现两个目标物的匹配。另外一种情况,每个设备都可以独立合成其所面对的目标物3D模型,并将它们发送至第三方服务器、云平台中,从而在第三方服务器、云平台中实现两个目标物的匹配。还有一种情况,每个设备都将采集到的图片发送至第三方服务器、云平台中,从而在第三方服务器、云平台中实现两个目标物3D模型合成,并同时完成匹配。The difference here is that the matching process can be completed in the acquisition devices of the two objects or in one of the devices respectively, and can also be completed in a server or a cloud platform. That is to say, any acquisition device can independently obtain the 3D model of the opposite target (synthesize it internally, or send it to the device after being synthesized by a third-party server or cloud platform), and can receive or query its own target. The 3D model of the object can be adjusted according to the 3D model of the two objects and their position and attitude information inside the device, so as to achieve the matching of the two objects. In another case, each device can independently synthesize the 3D models of the objects it faces, and send them to the third-party server and cloud platform, so as to realize the integration of the two objects in the third-party server and cloud platform. match. In another case, each device sends the collected pictures to a third-party server and cloud platform, so as to realize the synthesis of 3D models of two objects in the third-party server and cloud platform, and complete the matching at the same time.
以上在每次采集时,可以给图片打上采集时间的时间戳,从而确定哪些图像是同一时刻采集获得的,只有时间戳相同(或非常相近)的图像才用于该时 刻目标物的3D模型合成。In the above, in each acquisition, the time stamp of the acquisition time can be stamped on the image, so as to determine which images were acquired at the same time, and only the images with the same (or very similar) time stamps are used for the 3D model synthesis of the target at this time. .
可以理解,上述匹配可以是两个物体之间,也可以是一个物体和两个物体匹配,也可以是多个物体和多个物体匹配。It can be understood that the above-mentioned matching may be between two objects, or may be a match between one object and two objects, or may be a match between multiple objects and multiple objects.
3D信息采集不匹配流程3D information collection does not match the process
在进行物体间不匹配操作时,其实就是避免物体间相互匹配。要真正实现准确、及时的不匹配,同样也需要首先对物体三维建模,才能够避免物体在运动过程中相撞(占用空间有交集)。所谓不匹配是指两个物体所占用的空间无交集。例如,车辆在有行人通过时停止;车辆绕过其他车辆实现超车;无人机躲避障碍物等。When performing a mismatch operation between objects, it is actually to avoid matching between objects. To truly achieve accurate and timely mismatch, it is also necessary to first model the objects in 3D, so as to avoid objects colliding during the movement process (occupying spaces with intersection). The so-called mismatch means that the space occupied by two objects has no intersection. For example, vehicles stop when pedestrians pass by; vehicles bypass other vehicles to overtake; drones avoid obstacles, etc.
1、采集装置位于目标物体之外1. The acquisition device is located outside the target object
在某些情况下,物体上无法设置采集设备。例如在路口监控场景中,并不是所有车辆都能够装配3D采集设备,这样会带来较大成本。此时可以使用图12的方案:In some cases, the acquisition device cannot be set on the object. For example, in the intersection monitoring scene, not all vehicles can be equipped with 3D acquisition equipment, which will bring a large cost. At this point, the scheme of Figure 12 can be used:
(1)将3D信息采集装置6放置在空间某一位置,保证待不匹配的物体(以下称目标物)在其扫描视场范围内。(1) Place the 3D information acquisition device 6 at a certain position in space to ensure that the object to be mismatched (hereinafter referred to as the target) is within its scanning field of view.
(2)在T0时刻,采集装置采集多个目标物的图像,并分别进行3D合成,从而获得多个目标物的3D模型。具体方法如下:(2) At time T0, the acquisition device collects images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects. The specific method is as follows:
旋转装置按一定速度带动图像采集装置进行旋转,在旋转过程中图像采集装置在设定好的位置进行图像采集。此时可以不停止旋转,即图像采集与旋转同步进行;也可以在待采集的位置停止旋转,进行图像采集,采集完毕后继续旋转至下一个待采集位置。旋转装置可以利用事先设定好的控制单元中的程序进行驱动。也可以通过通讯接口与上位机进行通讯,通过上位机进行控制旋转。特别是其还可以与移动终端通过有线或无线进行连接,通过移动终端(例如手机)控制旋转装置转动。即可以通过远程平台、云平台、服务器、上位机、移动终端设置旋转装置转动参数,控制其旋转的启停。The rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at a set position during the rotation process. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed. The rotating device can be driven by a pre-programmed control unit program. It can also communicate with the host computer through the communication interface, and control the rotation through the host computer. In particular, it can also be wired or wirelessly connected with a mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
图像采集装置采集到目标物多张图像,并将图像通过通讯装置送入远程平台、云平台、服务器、上位机和/或移动终端中,利用3D模型合成方法进行目标物体的3D模型合成,最终合成待不匹配物体的3D模型。可以理解,整个采集和合成的速度是非常快的。The image acquisition device collects multiple images of the target object, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to synthesize the 3D model of the target object. Synthesize 3D models of objects to be mismatched. It can be understood that the speed of the entire acquisition and synthesis is very fast.
(3)在T1时刻,采集装置采集多个目标物的图像,并分别进行3D合成,从而再次获得多个目标物的3D模型。可以理解,T0和T1时间间隔可以较短, 也可以根据需要较长。最短的间隔为:采集装置一直进行旋转不停,从而不间断地采集。(3) At time T1, the acquisition device acquires images of multiple objects, and performs 3D synthesis respectively, thereby obtaining 3D models of multiple objects again. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
(4)以此类推,在不同时刻分别采集多个目标物的图像,并分别进行3D合成,从而不断获得多个目标物的3D模型。并在此过程中,不断利用目标物的3D模型信息对不同目标物进行不匹配操作。例如,自动驾驶车辆在行驶过程中,不断获得该车辆的3D模型和其周边车辆3D模型,以及树木等障碍物的3D模型,从而根据最新的车辆3D模型和其位置、姿态信息不断调整其动作,保证车辆与其他车辆、障碍物不相撞(不匹配)。(4) By analogy, images of multiple objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple objects. In this process, the 3D model information of the target is continuously used to perform mismatch operations on different targets. For example, during the driving process, an autonomous vehicle continuously obtains the 3D model of the vehicle and its surrounding vehicles, as well as the 3D models of obstacles such as trees, so as to continuously adjust its actions according to the latest vehicle 3D model and its position and attitude information. , to ensure that the vehicle does not collide with other vehicles and obstacles (mismatch).
需要说明的是,躲避的物体包括移动物体,也包括不移动物体,移动物体可以处于移动状态,也可以处于不移动状态。It should be noted that the avoided objects include moving objects and non-moving objects, and the moving objects may be in a moving state or a non-moving state.
在上述采集过程中,对于需要在多个高度进行采集的空间,可以采用如下流程。In the above collection process, for the space that needs to be collected at multiple heights, the following process can be used.
控制伸缩装置长度使得图像采集装置位于预定位置,旋转装置按一定速度带动图像采集装置进行旋转,在旋转过程中图像采集装置在设定好的位置进行图像采集。此时可以不停止旋转,即图像采集与旋转同步进行;也可以在待采集的位置停止旋转,进行图像采集,采集完毕后继续旋转至下一个待采集位置。旋转装置可以利用事先设定好的控制单元中的程序进行驱动。也可以通过通讯接口与上位机进行通讯,通过上位机进行控制旋转。特别是其还可以与移动终端通过有线或无线进行连接,通过移动终端(例如手机)控制旋转装置转动。即可以通过远程平台、云平台、服务器、上位机、移动终端设置旋转装置转动参数,控制其旋转的启停。The length of the telescopic device is controlled so that the image acquisition device is located at a predetermined position, the rotating device drives the image acquisition device to rotate at a certain speed, and the image acquisition device performs image acquisition at the set position during the rotation process. At this time, the rotation may not be stopped, that is, the image acquisition and the rotation are performed synchronously; or the rotation may be stopped at the position to be acquired, image acquisition is performed, and the rotation continues to the next position to be acquired after the acquisition is completed. The rotating device can be driven by a pre-programmed control unit program. It can also communicate with the host computer through the communication interface, and control the rotation through the host computer. In particular, it can also be wired or wirelessly connected with a mobile terminal, and the rotation of the rotating device can be controlled by the mobile terminal (eg, a mobile phone). That is, the rotation parameters of the rotating device can be set through the remote platform, cloud platform, server, host computer, and mobile terminal to control the start and stop of its rotation.
控制伸缩装置长度使得图像采集装置位于另一预定位置,重复上述旋转装置动作,从而使得图像采集装置可以采集环绕该位置的目标物图像,依次类推,在多个高度位置进行采集,获得图像,从而构建对应的3D模型。The length of the telescopic device is controlled so that the image acquisition device is located at another predetermined position, and the above-mentioned action of the rotating device is repeated, so that the image acquisition device can acquire the image of the target object surrounding the position, and so on, and the acquisition is performed at multiple height positions to obtain images, thereby Build the corresponding 3D model.
图像采集装置采集到目标物多张图像,并将图像通过通讯装置送入远程平台、云平台、服务器、上位机和/或移动终端中,利用3D模型合成方法进行目标物的3D合成。The image acquisition device collects multiple images of the target, and sends the images to the remote platform, cloud platform, server, host computer and/or mobile terminal through the communication device, and uses the 3D model synthesis method to perform 3D synthesis of the target.
当然,也可以控制俯仰装置,使得图像采集装置俯仰至一定角度后,再进行旋转采集。Of course, the tilting device can also be controlled so that the image acquisition device is tilted to a certain angle, and then rotated and acquired.
特别的,可以在采集前或者采集的同时,使用测距装置测量相关公式条件中相应的距离参数,即旋转中心到目标物的距离、传感元件到目标物的距离。根据相应条件公式计算出采集位置,并提示给用户进行旋转参数的设定,或自 动设定旋转参数。In particular, the distance measuring device can be used to measure the corresponding distance parameters in the relevant formula conditions, that is, the distance from the rotation center to the target, and the distance from the sensing element to the target, before or at the same time as the acquisition. Calculate the collection position according to the corresponding conditional formula, and prompt the user to set the rotation parameters, or automatically set the rotation parameters.
在采集前进行测距时,可以使得旋转装置带动测距装置转动,从而测量不同位置上上述两个距离。并对多个测量点测得的两个距离分别取平均值,作为本次采集的统一距离值带入公式中。所述平均值的获得可以使用求和平均的方式,也可以使用加权平均的方式,还可以使用其它求均值的方式,或舍弃异常值再平均的方式等。When measuring the distance before acquisition, the rotating device can drive the distance measuring device to rotate, so as to measure the above two distances at different positions. The two distances measured at multiple measurement points are averaged respectively, and are brought into the formula as the unified distance value collected this time. The average value may be obtained by a summation average method, a weighted average method, or another average value method, or a method of discarding abnormal values and averaging again.
在采集过程中进行测距时,在旋转装置转动到第一位置进行图像采集的同时,进行上述两个距离值的测量,并将它们带入条件公式中计算间隔角度,根据该角度确定下一采集位置。When the distance measurement is performed during the acquisition process, while the rotating device is rotated to the first position for image acquisition, the above-mentioned two distance values are measured, and they are brought into the conditional formula to calculate the interval angle, and the next step is determined according to the angle. Collection location.
2、采集装置位于目标物体上2. The acquisition device is located on the target object
在很多场合下,没有额外空间或位置放置采集设备,为此本发明提出如图13所示方案(也是发明点之一):In many occasions, there is no additional space or position to place the acquisition device. For this reason, the present invention proposes a solution as shown in Figure 13 (which is also one of the inventions):
(1)将上述3D信息采集装置6设置于待不匹配的物体(称为目标物)上,从而使得与其不匹配的物体在其扫描视场范围内。通常情况,每个目标物上均设置有至少一个3D信息采集装置。但某些情况下,如果其中一个目标物的3D模型或信息已知,或实时可查,则只需要在其上设置采集装置即可。(1) The above-mentioned 3D information acquisition device 6 is set on the object to be mismatched (referred to as the target), so that the mismatched object is within the scanning field of view. Usually, at least one 3D information acquisition device is provided on each target. However, in some cases, if the 3D model or information of one of the targets is known, or can be checked in real time, it is only necessary to set the acquisition device on it.
(2)在T0时刻,采集装置采集对应目标物的图像,并进行3D合成,从而获得目标物的3D模型。若互相待不匹配的两个目标物上均设有采集装置,则每个采集装置采集与之相对的目标物的图像。若互相待不匹配的两个目标物之一上设有采集装置,则它采集与之相对的目标物的图像,而它所采的目标物3D模型已知,可查询系统给出。具体采集和合成方法与上述描述相同,不再赘述。(2) At time T0, the acquisition device collects the image corresponding to the target, and performs 3D synthesis to obtain a 3D model of the target. If two objects to be mismatched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects that are to be mismatched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by the query system. The specific collection and synthesis methods are the same as those described above, and are not repeated here.
(3)在T1时刻,采集装置采集对应目标物的图像,并进行3D合成,从而获得目标物的3D模型。若互相待不匹配的两个目标物上均设有采集装置,则每个采集装置采集与之相对的目标物的图像。若互相待不匹配的两个目标物之一上设有采集装置,则它采集与之相对的目标物的图像,而它所采的目标物3D模型已知,可查询系统给出。具体采集和合成方法与上述描述相同,不再赘述。可以理解,T0和T1时间间隔可以较短,也可以根据需要较长。最短的间隔为:采集装置一直进行旋转不停,从而不间断地采集。(3) At time T1, the acquisition device acquires an image corresponding to the target object, and performs 3D synthesis to obtain a 3D model of the target object. If two objects to be mismatched with each other are provided with acquisition devices, each acquisition device acquires an image of the object opposite to it. If a collection device is provided on one of the two objects that are to be mismatched with each other, it collects the image of the object opposite to it, and the 3D model of the object collected by it is known and can be given by the query system. The specific collection and synthesis methods are the same as those described above, and are not repeated here. It can be understood that the time interval between T0 and T1 may be shorter or longer as required. The shortest interval is: the acquisition device keeps rotating, so that the acquisition is uninterrupted.
(4)以此类推,在不同时刻分别采集目标物的图像,并分别进行3D合成,从而不断获得多个目标物的3D模型。并在此过程中,不断利用目标物的3D模型信息对不同目标物进行匹配操作。例如,自动驾驶车辆在行驶过程中,不断 获得该车辆的3D模型和其周边车辆3D模型,以及树木等障碍物的3D模型,从而根据最新的车辆3D模型和其位置、姿态信息不断调整其动作,保证车辆与其他车辆、障碍物不相撞(不匹配)。(4) By analogy, the images of the target objects are collected at different times, and 3D synthesis is performed respectively, so as to continuously obtain 3D models of multiple targets. In this process, the 3D model information of the target is continuously used to match different targets. For example, during the driving process, an autonomous vehicle continuously obtains the 3D model of the vehicle and its surrounding vehicles, as well as the 3D models of obstacles such as trees, so as to continuously adjust its actions according to the latest vehicle 3D model and its position and attitude information. , to ensure that the vehicle does not collide with other vehicles and obstacles (mismatch).
这里与上述不同的是,不匹配(避免匹配)的过程可以分别在两个目标物的采集装置或其中一个设备中完成,也可以在服务器、云平台中完成。也就是说,任何一个采集装置可以独立地获得对面目标物的3D模型(在其内部合成,或在第三方服务器、云平台合成后再发送至该设备),且能够接收或查询到自己所在目标物的3D模型,从而在设备内部根据两个目标物的3D模型和其位置、姿态信息不断调整其动作,实现两个目标物的不匹配。另外一种情况,每个设备都可以独立合成其所面对的目标物3D模型,并将它们发送至第三方服务器、云平台中,从而在第三方服务器、云平台中实现两个目标物的不匹配。还有一种情况,每个设备都将采集到的图片发送至第三方服务器、云平台中,从而在第三方服务器、云平台中实现两个目标物3D模型合成,并同时完成不匹配。The difference from the above is that the process of mismatching (avoiding matching) can be completed in the acquisition devices of the two objects or one of the devices respectively, and can also be completed in a server or a cloud platform. That is to say, any acquisition device can independently obtain the 3D model of the opposite target (synthesize it internally, or send it to the device after being synthesized by a third-party server or cloud platform), and can receive or query its own target. The 3D model of the object can be adjusted according to the 3D model of the two objects and their position and attitude information inside the device, so as to realize the mismatch between the two objects. In another case, each device can independently synthesize the 3D models of the objects it faces, and send them to the third-party server and cloud platform, so as to realize the integration of the two objects in the third-party server and cloud platform. Mismatch. In another case, each device sends the collected pictures to a third-party server and cloud platform, so as to realize the synthesis of 3D models of two objects in the third-party server and cloud platform, and complete the mismatch at the same time.
以上在每次采集时,可以给图片打上采集时间的时间戳,从而确定哪些图像是同一时刻采集获得的,只有时间戳相同(或非常相近)的图像才用于该时刻目标物的3D模型合成。In the above, in each acquisition, the time stamp of the acquisition time can be stamped on the image, so as to determine which images were acquired at the same time, and only the images with the same (or very similar) time stamps are used for the 3D model synthesis of the target at this time. .
可以理解,上述匹配可以是两个物体之间,也可以是一个物体和两个物体不匹配,也可以是多个物体和多个物体不匹配。It can be understood that the above matching may be between two objects, or a mismatch between one object and two objects, or a mismatch between multiple objects and multiple objects.
相机位置的优化Optimization of camera position
为了保证设备能够兼顾3D合成的效果和效率,除了常规的优化合成算法的方法外,还可以通过优化相机采集位置的方法。特别是当3D采集合成设备的相机的采集方向与其旋转轴方向相互背离的情况时,对于这种设备现有技术未提到如何进行相机位置的更佳的优化。即使存在的一些优化方法,其也是在不同实验下得到的不同的经验条件。特别是,现有的一些位置优化方法需要获得目标物的尺寸,这在环绕式3D采集中是可行的,可以事先测量完毕。但在开放式的空间中则难以事先测量得到。因此需要提出一种能够适用于当3D采集合成设备的相机的采集方向与其旋转轴方向相互背离的情况时进行相机位置优化的方法。这正是本发明所要解决的问题,和做出的技术贡献。In order to ensure that the device can take into account the effect and efficiency of 3D synthesis, in addition to the conventional method of optimizing the synthesis algorithm, the method of optimizing the camera acquisition position can also be adopted. Especially when the acquisition direction of the camera of the 3D acquisition and synthesis device deviates from the direction of its rotation axis, the prior art for such a device does not mention how to better optimize the camera position. Even if some optimization methods exist, they are obtained under different empirical conditions under different experiments. In particular, some existing position optimization methods need to obtain the size of the target object, which is feasible in surround 3D acquisition and can be measured in advance. However, it is difficult to measure in advance in an open space. Therefore, it is necessary to propose a method for optimizing the camera position when the acquisition direction of the camera of the 3D acquisition and synthesis device and the direction of its rotation axis deviate from each other. This is exactly the problem to be solved by the present invention and the technical contribution made.
为此,本发明进行了大量实验,总结出在进行采集时相机采集的间隔优选满足的经验条件如下。To this end, the present invention conducts a large number of experiments, and summarizes the following empirical conditions that the interval of camera acquisition is preferably satisfied during acquisition.
在进行3D采集时,图像采集装置在相邻的两个位置时其光轴的夹角α满足如下条件:When performing 3D acquisition, the included angle α of the optical axis of the image acquisition device at two adjacent positions satisfies the following conditions:
其中,in,
R为旋转中心到目标物表面的距离,R is the distance from the center of rotation to the surface of the target,
T为采集时物距与像距的和,也就是图像采集装置的感光单元与目标物的距离。T is the sum of the object distance and the image distance during acquisition, that is, the distance between the photosensitive unit of the image acquisition device and the target object.
d为图像采集装置的感光元件(CCD)的长度或宽度,当上述两个位置是沿感光元件长度方向时,d取矩形长度;当上述两个位置是沿感光元件宽度方向时,d取矩形宽度。d is the length or width of the photosensitive element (CCD) of the image acquisition device. When the above two positions are along the length direction of the photosensitive element, d is the length of the rectangle; when the above two positions are along the width direction of the photosensitive element, d is the rectangle. width.
F为图像采集装置的镜头焦距。F is the focal length of the lens of the image acquisition device.
u为经验系数。u is the empirical coefficient.
通常情况下,在采集装置上配置有测距装置,例如激光测距仪。将其光轴与图像采集装置的光轴调节平行,则其可以测量采集装置到目标物表面的距离,利用测量得到的距离,根据测距装置与采集装置各部件的已知位置关系,即可获得R和T。Usually, a distance measuring device, such as a laser distance meter, is configured on the acquisition device. Adjust its optical axis to be parallel to the optical axis of the image acquisition device, then it can measure the distance from the acquisition device to the surface of the target object. Using the measured distance, according to the known positional relationship between the distance measuring device and the various components of the acquisition device, you can Get R and T.
图像采集装置在两个位置中的任何一个位置时,感光元件沿着光轴到目标物表面的距离作为T。除了这种方法外,也可以使用多次平均法或其他方法,其原则是T的值应当与采集时像距物距和不背离。When the image acquisition device is in any one of the two positions, the distance from the photosensitive element to the surface of the target object along the optical axis is taken as T. In addition to this method, multiple averaging methods or other methods can also be used. The principle is that the value of T should not deviate from the distance between the image and the object during acquisition.
同样道理,图像采集装置在两个位置中的任何一个位置时,旋转中心沿着光轴到目标物表面的距离作为R。除了这种方法外,也可以使用多次平均法或其他方法,其原则是R的值应当与采集时旋转半径不背离。In the same way, when the image acquisition device is in any one of the two positions, the distance from the center of rotation to the surface of the target object along the optical axis is taken as R. In addition to this method, multiple averaging methods or other methods can also be used, the principle of which is that the value of R should not deviate from the radius of rotation at the time of acquisition.
通常情况下,现有技术中均采用物体尺寸作为推算相机位置的方式。由于物体尺寸会随着测量物体的变化而改变。例如,在进行一个大物体3D信息采集后,再进行小物体采集时,就需要重新测量尺寸,重新推算。上述不方便的测量以及多次重新测量都会带来测量的误差,从而导致相机位置推算错误。而本方案根据大量实验数据,给出了相机位置需要满足的经验条件,不需要直接测量物体大小尺寸。经验条件中d、F均为相机固定参数,在购买相机、镜头时,厂家即会给出相应参数,无需测量。而R、T仅为一个直线距离,用传统测量方法,例如直尺、激光测距仪均可以很便捷的测量得到。同时,由于本发明的设备中,图像采集装置(例如相机)的采集方向与其旋转轴方向相互背离, 也就是说,镜头朝向与旋转中心大体相反。此时控制图像采集装置两次位置的光轴夹角α就更加容易,只需要控制旋转驱动电机的转角即可。因此,使用α来定义最优位置是更为合理的。因此,本发明的经验公式使得准备过程变得方便快捷,同时也提高了相机位置的排布准确度,使得相机能够设置在优化的位置中,从而在同时兼顾了3D合成精度和速度。Usually, the size of the object is used as a method for estimating the position of the camera in the prior art. Because the size of the object will change with the change of the measured object. For example, after collecting 3D information of a large object, when collecting small objects, it is necessary to re-measure the size and re-calculate. The above-mentioned inconvenient measurements and multiple re-measurements will bring about measurement errors, resulting in incorrect camera position estimation. In this scheme, based on a large number of experimental data, the empirical conditions that the camera position needs to meet are given, and there is no need to directly measure the size of the object. In the empirical conditions, d and F are fixed parameters of the camera. When purchasing a camera and lens, the manufacturer will give the corresponding parameters without measurement. However, R and T are only a straight line distance, which can be easily measured by traditional measurement methods, such as straightedge and laser rangefinder. At the same time, in the apparatus of the present invention, the acquisition direction of the image acquisition device (eg, camera) is away from the direction of its rotation axis, that is, the orientation of the lens is substantially opposite to the rotation center. In this case, it is easier to control the angle α of the optical axis between the two positions of the image acquisition device, and it is only necessary to control the rotation angle of the rotary drive motor. Therefore, it is more reasonable to use α to define the optimal position. Therefore, the empirical formula of the present invention makes the preparation process convenient and quick, and also improves the arrangement accuracy of the camera position, so that the camera can be set in an optimized position, thereby taking into account the 3D synthesis accuracy and speed at the same time.
根据大量实验,为保证合成的速度和效果,u应当小于0.498,为了更佳的合成效果,优选u<0.411,特别是优选u<0.359,在一些应用场合下u<0.281,或u<0.169,或u<0.041,或u<0.028。According to a large number of experiments, in order to ensure the speed and effect of synthesis, u should be less than 0.498. For better synthesis effect, u<0.411 is preferred, especially u<0.359. In some applications, u<0.281, or u<0.169, or u<0.041, or u<0.028.
利用本发明装置,进行实验,部分实验数据如下所示,单位mm。(以下数据仅为有限举例)Using the device of the present invention, experiments are carried out, and some experimental data are as follows, in mm. (The following data are only limited examples)
以上数据仅为验证该公式条件所做实验得到的,并不对发明构成限定。即使没有这些数据,也不影响该公式的客观性。本领域技术人员可以根据需要调整设备参数和步骤细节进行实验,得到其他数据也是符合该公式条件的。The above data are only obtained from experiments to verify the conditions of the formula, and do not limit the invention. Even the absence of these data does not affect the objectivity of the formula. Those skilled in the art can adjust the parameters of the equipment and the details of the steps to conduct experiments, and other data obtained are also in line with the conditions of the formula.
3D模型合成方法3D model synthesis method
图像采集装置采集获得的多个图像送入处理单元中,利用下述算法构建3D模型。所述处理单元可以位于采集设备中,也可以位于远程,例如云平台、服务器、上位机等。The multiple images acquired by the image acquisition device are sent to the processing unit, and the following algorithm is used to construct a 3D model. The processing unit may be located in the acquisition device, or may be located remotely, such as a cloud platform, a server, a host computer, and the like.
具体算法主要包括如下步骤:The specific algorithm mainly includes the following steps:
步骤1:对所有输入照片进行图像增强处理。采用下述滤波器增强原始照片的反差和同时压制噪声。Step 1: Perform image enhancement processing on all input photos. The following filters are used to enhance the contrast of the original photo and suppress noise at the same time.
式中:g(x,y)为原始影像在(x,y)处灰度值,f(x,y)为经过Wallis滤波器增强后该处的灰度值,m
g为原始影像局部灰度均值,s
g为原始影像局部灰度标准偏差,m
f为变换后的影像局部灰度目标值,s
f为变换后影像局部灰度标准偏差目标值。c∈(0,1)为影像方差的扩展常数,b∈(0,1)为影像亮度系数常数。
In the formula: g(x, y) is the gray value of the original image at (x, y), f(x, y) is the gray value of the original image after enhancement by Wallis filter, and m g is the local gray value of the original image. sg is the local grayscale standard deviation of the original image, mf is the local grayscale target value of the transformed image, and sf is the localized grayscale standard deviation target value of the transformed image. c∈(0,1) is the expansion constant of the image variance, and b∈(0,1) is the image luminance coefficient constant.
该滤波器可以大大增强影像中不同尺度的影像纹理模式,所以在提取影像的点特征时可以提高特征点的数量和精度,在照片特征匹配中则提高了匹配结果可靠性和精度。The filter can greatly enhance the image texture patterns of different scales in the image, so it can improve the number and accuracy of feature points when extracting image point features, and improve the reliability and accuracy of matching results in photo feature matching.
步骤2:对输入的所有照片进行特征点提取,并进行特征点匹配,获取稀疏特征点。采用SURF算子对照片进行特征点提取与匹配。SURF特征匹配方法主要包含三个过程,特征点检测、特征点描述和特征点匹配。该方法使用Hessian矩阵来检测特征点,用箱式滤波器(Box Filters)来代替二阶高斯滤波,用积分图像来加速卷积以提高计算速度,并减少了局部影像特征描述符的维数,来加快匹配速度。主要步骤包括①构建Hessian矩阵,生成所有的兴趣点,用于特征提取,构建Hessian矩阵的目的是为了生成图像稳定的边缘点(突变点);②构建尺度空间特征点定位,将经过Hessian矩阵处理的每个像素点与二维图像空间和尺度空间邻域内的26个点进行比较,初步定位出关键点,再经过滤除能量比较弱的关键点以及错误定位的关键点,筛选出最终的稳定的特征点;③特征点主方向的确定,采用的是统计特征点圆形邻域内的harr小波特征。即在特征点的圆形邻域内,统计60度扇形内所有点的水平、垂直harr小波特征总和,然后扇形以0.2弧度大小的间隔进行旋转并再次统计该区域内harr小波特征值之后,最后将值最大的那个扇形的方向作为该特征点的主方向;④生成64维特征点描述向量,特征点周围取一个4*4的矩形区域块,但是所取得矩形区域方向是沿着特征点的主方向。每个子区域统计25个像素的水平方向和垂直方向的haar小波特征,这里的水平和垂直方向都是相对主方向而言的。该haar小波特征为水平方向值之后、垂直方向值之后、水平方向绝对值之后以及垂直方向绝对值之和4个方向,把这4个值作为每个子块区域的特征向量,所以一共有4*4*4=64维向量作为Surf特征的描述子;⑤特征点匹配,通过计算两个特征点间的欧式距离来确定匹配度,欧氏距离越短,代表两个特征点的匹配度 越好。Step 2: Extract feature points from all the input photos, and perform feature point matching to obtain sparse feature points. The SURF operator is used to extract and match the feature points of the photo. The SURF feature matching method mainly includes three processes, feature point detection, feature point description and feature point matching. This method uses Hessian matrix to detect feature points, uses Box Filters to replace second-order Gaussian filtering, uses integral image to accelerate convolution to improve calculation speed, and reduces the dimension of local image feature descriptors, to speed up matching. The main steps include ① constructing the Hessian matrix to generate all interest points for feature extraction. The purpose of constructing the Hessian matrix is to generate image stable edge points (mutation points); ② constructing the scale space feature point positioning, which will be processed by the Hessian matrix Each pixel point is compared with 26 points in the two-dimensional image space and scale space neighborhood, and the key points are initially located. (3) The main direction of the feature point is determined by using the harr wavelet feature in the circular neighborhood of the statistical feature point. That is, in the circular neighborhood of the feature points, the sum of the horizontal and vertical harr wavelet features of all points in the 60-degree sector is counted, and then the sector is rotated at intervals of 0.2 radians, and the harr wavelet eigenvalues in the region are counted again. The direction of the sector with the largest value is used as the main direction of the feature point; (4) a 64-dimensional feature point description vector is generated, and a 4*4 rectangular area block is taken around the feature point, but the direction of the obtained rectangular area is along the main direction of the feature point. direction. Each sub-region counts the haar wavelet features of 25 pixels in the horizontal and vertical directions, where the horizontal and vertical directions are relative to the main direction. The haar wavelet features are 4 directions after the horizontal value, after the vertical value, after the absolute value of the horizontal direction and the sum of the absolute value of the vertical direction. These 4 values are used as the feature vector of each sub-block area, so there are 4* 4*4=64-dimensional vector as the descriptor of the Surf feature; ⑤ Matching of feature points, the matching degree is determined by calculating the Euclidean distance between the two feature points. The shorter the Euclidean distance, the better the matching degree of the two feature points. .
步骤3:输入匹配的特征点坐标,利用光束法平差,解算稀疏的目标物三维点云和拍照相机的位置和姿态数据,即获得了稀疏目标物模型三维点云和位置的模型坐标值;以稀疏特征点为初值,进行多视照片稠密匹配,获取得到密集点云数据。该过程主要有四个步骤:立体像对选择、深度图计算、深度图优化、深度图融合。针对输入数据集里的每一张影像,我们选择一张参考影像形成一个立体像对,用于计算深度图。因此我们可以得到所有影像的粗略的深度图,这些深度图可能包含噪声和错误,我们利用它的邻域深度图进行一致性检查,来优化每一张影像的深度图。最后进行深度图融合,得到整个场景的三维点云。Step 3: Input the coordinates of the matched feature points, and use the beam method to adjust the position and attitude data of the sparse target object 3D point cloud and the camera to obtain the sparse target object model 3D point cloud and position model coordinates. ; Take sparse feature points as the initial value, perform dense matching of multi-view photos, and obtain dense point cloud data. There are four main steps in this process: stereo pair selection, depth map calculation, depth map optimization, and depth map fusion. For each image in the input dataset, we select a reference image to form a stereo pair for computing the depth map. So we can get a rough depth map for all images, these depth maps may contain noise and errors, and we use its neighborhood depth map to perform a consistency check to optimize the depth map for each image. Finally, depth map fusion is performed to obtain a 3D point cloud of the entire scene.
步骤4:利用密集点云进行目标物曲面重建。包括定义八叉树、设置函数空间、创建向量场、求解泊松方程、提取等值面几个过程。由梯度关系得到采样点和指示函数的积分关系,根据积分关系获得点云的向量场,计算指示函数梯度场的逼近,构成泊松方程。根据泊松方程使用矩阵迭代求出近似解,采用移动方体算法提取等值面,对所测点云重构出被测物体的模型。Step 4: Use dense point cloud to reconstruct the target surface. Including several processes of defining octrees, setting function spaces, creating vector fields, solving Poisson equations, and extracting isosurfaces. The integral relationship between the sampling point and the indicator function is obtained from the gradient relationship, the vector field of the point cloud is obtained according to the integral relationship, and the approximation of the gradient field of the indicator function is calculated to form the Poisson equation. The approximate solution is obtained by matrix iteration according to the Poisson equation, the isosurface is extracted by the moving cube algorithm, and the model of the measured object is reconstructed from the measured point cloud.
步骤5:目标物模型的全自动纹理贴图。表面模型构建完成后,进行纹理贴图。主要过程包括:①纹理数据获取通过图像重建目标的表面三角面格网;②重建模型三角面的可见性分析。利用图像的标定信息计算每个三角面的可见图像集以及最优参考图像;③三角面聚类生成纹理贴片。根据三角面的可见图像集、最优参考图像以及三角面的邻域拓扑关系,将三角面聚类生成为若干参考图像纹理贴片;④纹理贴片自动排序生成纹理图像。对生成的纹理贴片,按照其大小关系进行排序,生成包围面积最小的纹理图像,得到每个三角面的纹理映射坐标。Step 5: Fully automatic texture mapping of the target model. After the surface model is constructed, texture mapping is performed. The main process includes: ① texture data acquisition through image reconstruction of the target surface triangle mesh; ② visibility analysis of the reconstructed model triangle. Use the calibration information of the image to calculate the visible image set of each triangular face and the optimal reference image; 3. The triangular face is clustered to generate texture patches. According to the visible image set of the triangular surface, the optimal reference image and the neighborhood topology relationship of the triangular surface, the triangular surface is clustered into several reference image texture patches; ④The texture patches are automatically sorted to generate texture images. Sort the generated texture patches according to their size relationship, generate a texture image with the smallest enclosing area, and obtain the texture mapping coordinates of each triangular surface.
应当注意,上述算法是本发明使用的算法,本算法与图像采集条件相互配合,使用该算法兼顾了合成的时间和质量。但可以理解,同样可以使用现有技术中常规3D合成算法也可以与本发明的方案进行配合使用。It should be noted that the above algorithm is the algorithm used in the present invention, the algorithm cooperates with the image acquisition conditions, and the time and quality of synthesis are taken into account when using this algorithm. However, it can be understood that conventional 3D synthesis algorithms in the prior art can also be used in conjunction with the solution of the present invention.
应用实例Applications
为了实现两个搬运车不停车的交接货物,可以在它们车顶设置本发明的3D信息采集装置。分别扫描采集获得对面车辆的图像,并将其传输至服务器中,服务器根据多个图像合成不同时刻两个车辆的3D模型,同时根据它们的3D模型以及位置、姿态信息不断调整两个货车的运行轨迹及姿态,最终实现货箱的 匹配对准。In order to realize the delivery of goods between the two trucks without stopping, the 3D information collection device of the present invention can be arranged on the roofs of the two trucks. Scan and collect the images of the opposite vehicles separately, and transmit them to the server. The server synthesizes the 3D models of the two vehicles at different times according to the multiple images, and at the same time, continuously adjusts the operation of the two trucks according to their 3D models and position and attitude information. Track and attitude, and finally realize the matching and alignment of the cargo box.
将目标物的三维模型导入处理器中,根据现有算法进行最优化对准,即根据物体的三维形状实现两者的对准。以上操作均可以在远程平台、云平台、服务器、上位机和/或移动终端中实现。The three-dimensional model of the target object is imported into the processor, and the optimal alignment is carried out according to the existing algorithm, that is, the alignment of the two is realized according to the three-dimensional shape of the object. All of the above operations can be implemented in a remote platform, cloud platform, server, host computer and/or mobile terminal.
上面是各个扫描装置分别获得3D模型再导入处理器进行匹配,也可以直接将各个扫描装置的图片直接导入处理器,在处理器中集中完成空间3D模型的合成、物体3D模型的合成,以及它们之间的匹配。这样可以简化采集硬件的结构和成本。例如在扫描装置中不需要设置能够实现大数据处理的处理器,只需要进行简单的控制即可。而采集的图像通过4G、5G或其他通讯网络可以传输至云平台(相当于一种处理器)中进行集中处理。这也是本发明的发明点之一。The above is the 3D model obtained by each scanning device and imported into the processor for matching, or the pictures of each scanning device can be directly imported into the processor, and the synthesis of the 3D model of the space, the synthesis of the 3D model of the object, and their match between. This can simplify the structure and cost of acquisition hardware. For example, it is not necessary to provide a processor capable of processing large data in the scanning device, and only simple control is required. The collected images can be transmitted to the cloud platform (equivalent to a processor) for centralized processing through 4G, 5G or other communication networks. This is also one of the inventive points of the present invention.
为了实现自动驾驶汽车在路上的行驶,可以在车顶设置本发明的3D信息采集装置。分别扫描采集获得对面车辆、固定障碍物的图像,并将其传输至服务器中,服务器根据多个图像合成不同时刻该车,及其周边车辆、障碍物的3D模型,同时根据它们的3D模型以及位置、姿态信息不断调整该车的运行轨迹及姿态,最终实现自动驾驶汽车避障。In order to realize the driving of the autonomous vehicle on the road, the 3D information collection device of the present invention can be arranged on the roof of the vehicle. Scan and collect the images of the opposite vehicle and fixed obstacles respectively, and transmit them to the server. The server synthesizes the 3D models of the vehicle, its surrounding vehicles and obstacles at different times according to multiple images, and at the same time according to their 3D models and The position and attitude information continuously adjusts the running trajectory and attitude of the vehicle, and finally realizes the obstacle avoidance of the autonomous vehicle.
将目标物的三维模型导入处理器中,根据现有算法进行最优化对准,即根据物体的三维形状实现两者的对准。以上操作均可以在远程平台、云平台、服务器、上位机和/或移动终端中实现。The three-dimensional model of the target object is imported into the processor, and the optimal alignment is carried out according to the existing algorithm, that is, the alignment of the two is realized according to the three-dimensional shape of the object. All of the above operations can be implemented in a remote platform, cloud platform, server, host computer and/or mobile terminal.
上面是各个扫描装置分别获得3D模型再导入处理器进行不匹配,也可以直接将各个扫描装置的图片直接导入处理器,在处理器中集中完成空间3D模型的合成、物体3D模型的合成,以及它们之间的不匹配。这样可以简化采集硬件的结构和成本。例如在扫描装置中不需要设置能够实现大数据处理的处理器,只需要进行简单的控制即可。而采集的图像通过4G、5G或其他通讯网络可以传输至云平台(相当于一种处理器)中进行集中处理。这也是本发明的发明点之一。The above is that each scanning device obtains the 3D model separately and then imports it into the processor for mismatching. It is also possible to directly import the pictures of each scanning device into the processor, and the synthesis of the spatial 3D model, the synthesis of the 3D model of the object, and mismatch between them. This can simplify the structure and cost of acquisition hardware. For example, it is not necessary to provide a processor capable of processing large data in the scanning device, and only simple control is required. The collected images can be transmitted to the cloud platform (equivalent to a processor) for centralized processing through 4G, 5G or other communication networks. This is also one of the inventive points of the present invention.
上述目标物体、目标物、及物体皆表示预获取三维信息的对象。可以为一实体物体,也可以为多个物体组成物。所述目标物的三维信息包括三维图像、三维点云、三维网格、局部三维特征、三维尺寸及一切带有目标物三维特征的参数。本发明里所谓的三维是指具有XYZ三个方向信息,特别是具有深度信 息,与只有二维平面信息具有本质区别。也与一些称为三维、全景、全息、三维,但实际上只包括二维信息,特别是不包括深度信息的定义有本质区别。The above-mentioned target object, target object, and object all represent objects for which three-dimensional information is pre-acquired. It can be a solid object, or it can be composed of multiple objects. The three-dimensional information of the target includes a three-dimensional image, a three-dimensional point cloud, a three-dimensional grid, a local three-dimensional feature, a three-dimensional size, and all parameters with the three-dimensional feature of the target. The so-called three-dimensional in the present invention refers to having three directional information, XYZ, especially depth information, which is essentially different from having only two-dimensional plane information. It is also fundamentally different from some definitions that are called three-dimensional, panoramic, holographic, and three-dimensional, but actually only include two-dimensional information, especially not depth information.
本发明所说的采集区域是指图像采集装置(例如相机)能够拍摄的范围。本发明中的图像采集装置可以为CCD、CMOS、相机、摄像机、工业相机、监视器、摄像头、手机、平板、笔记本、移动终端、可穿戴设备、智能眼镜、智能手表、智能手环以及带有图像采集功能所有设备。The acquisition area mentioned in the present invention refers to the range that can be photographed by an image acquisition device (eg, a camera). The image acquisition device in the present invention can be CCD, CMOS, camera, video camera, industrial camera, monitor, camera, mobile phone, tablet, notebook, mobile terminal, wearable device, smart glasses, smart watch, smart bracelet and Image acquisition capabilities for all devices.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于本发明装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that, in practice, a microprocessor or a digital signal processor (DSP) may be used to implement some or all functions of some or all of the components in the apparatus based on the present invention according to the embodiments of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
至此,本领域技术人员应认识到,虽然本文已详尽示出和描述了本发明的多个示例性实施例,但是,在不脱离本发明精神和范围的情况下,仍可根据本发明公开的内容直接确定或推导出符合本发明原理的许多其他变型或修改。因此,本发明的范围应被理解和认定为覆盖了所有这些其他变型或修改。By now, those skilled in the art will recognize that, although various exemplary embodiments of the present invention have been illustrated and described in detail herein, the present invention may still be implemented in accordance with the present disclosure without departing from the spirit and scope of the present invention. The content directly determines or derives many other variations or modifications consistent with the principles of the invention. Accordingly, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.
Claims (18)
- 一种实现运动物体之间3D处理的装置,其特征在于:包括目标物3D信息采集装置和第一处理器;A device for realizing 3D processing between moving objects, characterized in that it comprises a device for collecting 3D information of a target object and a first processor;目标物3D信息采集装置用于在待处理物体运动时,不断对待处理物体进行扫描,在多个时刻分别获得多张能够合成三维模型的图像;The target object 3D information acquisition device is used to continuously scan the object to be processed when the object to be processed moves, and obtain multiple images that can synthesize the three-dimensional model at multiple times;第一处理器,用于将至少两个待处理物体在同一时刻的三维模型进行匹配运算或不匹配运算;;a first processor, configured to perform a matching operation or a mismatch operation on the three-dimensional models of at least two objects to be processed at the same time;3D信息采集装置包括图像采集装置、旋转装置;The 3D information acquisition device includes an image acquisition device and a rotation device;其中图像采集装置与旋转装置连接,由旋转装置带动其旋转;The image acquisition device is connected with the rotating device, and the rotating device drives it to rotate;图像采集装置在相邻的两个采集位置的光轴的夹角α满足如下条件:The angle α between the optical axes of the image acquisition device at two adjacent acquisition positions satisfies the following conditions:其中,R为旋转中心到目标物表面的距离,T为采集时物距与像距的和,d为图像采集装置的感光元件的长度或宽度,F为图像采集装置的镜头焦距,u为经验系数。Among them, R is the distance from the rotation center to the surface of the target object, T is the sum of the object distance and the image distance during acquisition, d is the length or width of the photosensitive element of the image acquisition device, F is the lens focal length of the image acquisition device, and u is the experience coefficient.
- 如权利要求1所述的装置,其特征在于:第一处理器还用于合成待处理物体三维模型。The apparatus of claim 1, wherein the first processor is further configured to synthesize a three-dimensional model of the object to be processed.
- 如权利要求1所述的装置,其特征在于:还包括第二处理器,位于目标物3D信息采集装置,用于合成与其相对的待处理物体的三维模型。The device according to claim 1, further comprising a second processor, located in the target object 3D information acquisition device, for synthesizing a three-dimensional model of the object to be processed opposite to it.
- 如权利要求1所述的装置,其特征在于:目标物3D信息采集装置在任意时刻采集待处理物体的上述图像时,均将图像打上时间戳。The device according to claim 1, wherein when the device for collecting the 3D information of the target object collects the image of the object to be processed at any time, the image is stamped with a time stamp.
- 如权利要求1所述的装置,其特征在于:u<0.498,或u<0.411,或u<0.359,或u<0.281,或u<0.169,或u<0.041,或u<0.028。The device of claim 1, wherein: u<0.498, or u<0.411, or u<0.359, or u<0.281, or u<0.169, or u<0.041, or u<0.028.
- 如权利要求1所述的装置,其特征在于:图像采集装置的光学采集口均背向旋转轴方向。The device according to claim 1, wherein the optical acquisition ports of the image acquisition device are all facing away from the direction of the rotation axis.
- 如权利要求1所述的装置,其特征在于:目标物3D信息采集装置设置于待处理物体上。The device of claim 1, wherein the device for collecting 3D information of the target object is arranged on the object to be processed.
- 如权利要求1所述的装置,其特征在于:目标物3D信息采集装置与待处理物体分离设置。The device according to claim 1, wherein the 3D information acquisition device of the target object is arranged separately from the object to be processed.
- 如权利要求1所述的装置,其特征在于:处理完成后,第一处理器将处理结果输出至显示装置、打印装置、和/或动作执行装置。The device according to claim 1, wherein after the processing is completed, the first processor outputs the processing result to the display device, the printing device, and/or the action execution device.
- 一种实现运动物体之间3D处理的方法,其特征在于:包括目标物3D信息采集装置和第一处理器;A method for realizing 3D processing between moving objects, characterized in that it comprises a target object 3D information acquisition device and a first processor;目标物3D信息采集装置用于在待处理物体运动时,不断对待处理物体进行扫描,在多个时刻分别获得多张能够合成三维模型的图像;The target object 3D information acquisition device is used to continuously scan the object to be processed when the object to be processed moves, and obtain multiple images that can synthesize the three-dimensional model at multiple times;第一处理器,用于将至少两个待处理物体在同一时刻的三维模型进行匹配运算或不匹配运算;a first processor, configured to perform a matching operation or a mismatch operation on the three-dimensional models of the at least two objects to be processed at the same moment;3D信息采集装置包括图像采集装置、旋转装置;The 3D information acquisition device includes an image acquisition device and a rotation device;其中图像采集装置与旋转装置连接,由旋转装置带动其旋转;The image acquisition device is connected with the rotating device, and the rotating device drives it to rotate;图像采集装置在相邻的两个采集位置的光轴的夹角α满足如下条件:The angle α between the optical axes of the image acquisition device at two adjacent acquisition positions satisfies the following conditions:其中,R为旋转中心到目标物表面的距离,T为采集时物距与像距的和,d为图像采集装置的感光元件的长度或宽度,F为图像采集装置的镜头焦距,u为经验系数。Among them, R is the distance from the rotation center to the surface of the target object, T is the sum of the object distance and the image distance during acquisition, d is the length or width of the photosensitive element of the image acquisition device, F is the lens focal length of the image acquisition device, and u is the experience coefficient.
- 如权利要求10所述的方法,其特征在于:第一处理器还用于合成待处理物体三维模型。The method of claim 10, wherein the first processor is further configured to synthesize a three-dimensional model of the object to be processed.
- 如权利要求10所述的方法,其特征在于:还包括第二处理器,位于目标物3D信息采集装置,用于合成与其相对的待处理物体的三维模型。The method of claim 10, further comprising: a second processor, located in the target object 3D information acquisition device, for synthesizing a three-dimensional model of the object to be processed opposite to it.
- 如权利要求10所述的方法,其特征在于:目标物3D信息采集装置在任意时刻采集待处理物体的上述图像时,均将图像打上时间戳。The method according to claim 10, characterized in that, when the device for collecting the 3D information of the target object collects the above-mentioned image of the object to be processed at any time, the image is stamped with a time stamp.
- 如权利要求10所述的方法,其特征在于:u<0.498,或u<0.411,或u<0.359,或u<0.281,或u<0.169,或u<0.041,或u<0.028。The method of claim 10, wherein: u<0.498, or u<0.411, or u<0.359, or u<0.281, or u<0.169, or u<0.041, or u<0.028.
- 如权利要求10所述的方法,其特征在于:图像采集装置的光学采集口均背向旋转轴方向。The method according to claim 10, wherein the optical acquisition ports of the image acquisition device are all facing away from the direction of the rotation axis.
- 如权利要求10所述的方法,其特征在于:目标物3D信息采集装置设置于待处理物体上。The method of claim 10, wherein the 3D information acquisition device of the target object is arranged on the object to be processed.
- 如权利要求10所述的方法,其特征在于:目标物3D信息采集装置与待处理物体分离设置。The method according to claim 10, wherein the 3D information acquisition device of the target object is arranged separately from the object to be processed.
- 如权利要求10所述的方法,其特征在于:处理完成后,第一处理器将处理结果输出至显示装置、打印装置、和/或动作执行装置。The method of claim 10, wherein after the processing is completed, the first processor outputs the processing result to the display device, the printing device, and/or the action execution device.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011105293.1 | 2020-10-15 | ||
CN202011105318.8 | 2020-10-15 | ||
CN202011105318.8A CN112304250B (en) | 2020-10-15 | 2020-10-15 | Three-dimensional matching equipment and method between moving objects |
CN202011105293.1A CN112257535B (en) | 2020-10-15 | 2020-10-15 | Three-dimensional matching equipment and method for avoiding object |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022078437A1 true WO2022078437A1 (en) | 2022-04-21 |
Family
ID=81207700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/123774 WO2022078437A1 (en) | 2020-10-15 | 2021-10-14 | Three-dimensional processing apparatus and method between moving objects |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022078437A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116165671A (en) * | 2023-04-25 | 2023-05-26 | 山东科技大学 | Be used for navigation laser range finder |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6072903A (en) * | 1997-01-07 | 2000-06-06 | Kabushiki Kaisha Toshiba | Image processing apparatus and image processing method |
CN109584636A (en) * | 2018-11-20 | 2019-04-05 | 武汉理工大学 | Berthing auxiliary device and its monitoring method for the monitoring of port ship machine Cooperative Security |
CN110612431A (en) * | 2017-05-10 | 2019-12-24 | 御眼视觉技术有限公司 | Cross field of view for autonomous vehicle systems |
CN111050154A (en) * | 2019-12-12 | 2020-04-21 | 天目爱视(北京)科技有限公司 | Mobile terminal with lifting type rotary 3D acquisition device |
CN112257535A (en) * | 2020-10-15 | 2021-01-22 | 天目爱视(北京)科技有限公司 | Three-dimensional matching equipment and method for avoiding object |
CN112304250A (en) * | 2020-10-15 | 2021-02-02 | 天目爱视(北京)科技有限公司 | Three-dimensional matching equipment and method between moving objects |
-
2021
- 2021-10-14 WO PCT/CN2021/123774 patent/WO2022078437A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6072903A (en) * | 1997-01-07 | 2000-06-06 | Kabushiki Kaisha Toshiba | Image processing apparatus and image processing method |
CN110612431A (en) * | 2017-05-10 | 2019-12-24 | 御眼视觉技术有限公司 | Cross field of view for autonomous vehicle systems |
CN109584636A (en) * | 2018-11-20 | 2019-04-05 | 武汉理工大学 | Berthing auxiliary device and its monitoring method for the monitoring of port ship machine Cooperative Security |
CN111050154A (en) * | 2019-12-12 | 2020-04-21 | 天目爱视(北京)科技有限公司 | Mobile terminal with lifting type rotary 3D acquisition device |
CN112257535A (en) * | 2020-10-15 | 2021-01-22 | 天目爱视(北京)科技有限公司 | Three-dimensional matching equipment and method for avoiding object |
CN112304250A (en) * | 2020-10-15 | 2021-02-02 | 天目爱视(北京)科技有限公司 | Three-dimensional matching equipment and method between moving objects |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116165671A (en) * | 2023-04-25 | 2023-05-26 | 山东科技大学 | Be used for navigation laser range finder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022078442A1 (en) | Method for 3d information acquisition based on fusion of optical scanning and smart vision | |
WO2022111105A1 (en) | Intelligent visual 3d information acquisition apparatus with free posture | |
WO2022078439A1 (en) | Apparatus and method for acquisition and matching of 3d information of space and object | |
WO2022078440A1 (en) | Device and method for acquiring and determining space occupancy comprising moving object | |
WO2022078418A1 (en) | Intelligent three-dimensional information acquisition appratus capable of stably rotating | |
CN112254680B (en) | Multi freedom's intelligent vision 3D information acquisition equipment | |
CN112257537B (en) | Intelligent multi-point three-dimensional information acquisition equipment | |
CN112361962A (en) | Intelligent visual 3D information acquisition equipment of many every single move angles | |
WO2022078437A1 (en) | Three-dimensional processing apparatus and method between moving objects | |
CN112254638B (en) | Intelligent visual 3D information acquisition equipment that every single move was adjusted | |
CN112253913B (en) | Intelligent visual 3D information acquisition equipment deviating from rotation center | |
CN112254676B (en) | Portable intelligent 3D information acquisition equipment | |
CN112304250B (en) | Three-dimensional matching equipment and method between moving objects | |
CN112257535B (en) | Three-dimensional matching equipment and method for avoiding object | |
CN112082486A (en) | Handheld intelligent 3D information acquisition equipment | |
WO2022078438A1 (en) | Indoor 3d information acquisition device | |
WO2022078419A1 (en) | Intelligent visual 3d information acquisition device having multiple offset angles | |
WO2022078433A1 (en) | Multi-location combined 3d image acquisition system and method | |
WO2022111104A1 (en) | Smart visual apparatus for 3d information acquisition from multiple roll angles | |
WO2022078444A1 (en) | Program control method for 3d information acquisition | |
CN112254673B (en) | Self-rotation type intelligent vision 3D information acquisition equipment | |
CN112254671B (en) | Multi-time combined 3D acquisition system and method | |
CN112254679A (en) | Multi-position combined 3D acquisition system and method | |
CN112254677A (en) | Multi-position combined 3D acquisition system and method based on handheld device | |
WO2022078417A1 (en) | Rotatory intelligent visual 3d information collection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21879480 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21879480 Country of ref document: EP Kind code of ref document: A1 |