WO2023066232A1 - Three-dimensional scanning and imaging method and system for vehicle, and computer device and storage medium - Google Patents

Three-dimensional scanning and imaging method and system for vehicle, and computer device and storage medium Download PDF

Info

Publication number
WO2023066232A1
WO2023066232A1 PCT/CN2022/125861 CN2022125861W WO2023066232A1 WO 2023066232 A1 WO2023066232 A1 WO 2023066232A1 CN 2022125861 W CN2022125861 W CN 2022125861W WO 2023066232 A1 WO2023066232 A1 WO 2023066232A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
data
imaging
scanning
image data
Prior art date
Application number
PCT/CN2022/125861
Other languages
French (fr)
Chinese (zh)
Inventor
鄂文轩
周子策
Original Assignee
北京魔鬼鱼科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京魔鬼鱼科技有限公司 filed Critical 北京魔鬼鱼科技有限公司
Publication of WO2023066232A1 publication Critical patent/WO2023066232A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/20Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring contours or curvatures, e.g. determining profile
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/08Indexing scheme for image data processing or generation, in general involving all processing steps from image acquisition to 3D model generation

Definitions

  • the present application belongs to the technical field of image recognition, and in particular relates to a vehicle three-dimensional scanning imaging method, system, computer equipment and storage medium.
  • an embodiment of the present application provides a vehicle three-dimensional scanning imaging method, the method comprising:
  • Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system
  • the shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
  • the embodiment of the present application provides a vehicle three-dimensional scanning imaging system, including:
  • the coordinate system establishment module is used to construct a unified three-dimensional coordinate system according to the structural layout in the working environment;
  • the image acquisition module is used to obtain the shape image data of the vehicle; wherein, the shape image data is obtained by scanning the outer side of the vehicle parked in the parking area through a variety of imaging devices; and
  • the image generation module is used to uniformly present the vehicle's outline image data acquired at different times in a three-dimensional coordinate system and perform data aggregation to form complete three-dimensional image data of the vehicle.
  • an embodiment of the present application provides a computer device, which includes a memory and one or more processors, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the one or more processors, Causes one or more processors to perform the following steps:
  • Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system
  • the shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
  • the embodiment of the present application provides one or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the computer-readable instructions are executed by one or more processors, one or more A processor performs the following steps:
  • Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system
  • the shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
  • FIG. 1 is a schematic flowchart of a vehicle three-dimensional scanning imaging method according to an embodiment of the present application.
  • FIG. 2 is a structural diagram of a vehicle three-dimensional scanning imaging system according to an embodiment of the present application.
  • FIG. 3 is a schematic layout diagram of an imaging device according to an embodiment of the present application.
  • Figure 4 is an internal block diagram of a computer device in accordance with one or more embodiments.
  • Fig. 5 is a schematic diagram of an application environment of a vehicle three-dimensional scanning imaging method according to one or more embodiments.
  • An embodiment of the present application provides a three-dimensional scanning imaging method for a vehicle, which is used for acquiring vehicle shape features during a self-service car wash.
  • Tracks are installed and fixed on the periphery of the parking area for cleaning.
  • the track can be an elliptical track that surrounds the vehicle, or one or more linear tracks that are parallel or non-parallel along the length of the vehicle or other directions.
  • the motion terminal of the track glide, the motion terminal can be a robot, a machine, or a module with simple functions such as imaging.
  • the motion terminal comes with multiple and different types of sensors to scan the shape features of the vehicle in an all-round way. .
  • the vehicle three-dimensional scanning imaging method may include step S101, step S102 and step S103.
  • Step S101 Establish a unified three-dimensional coordinate system according to the current environment structure where the vehicle is located.
  • establishing a three-dimensional coordinate system includes the following methods:
  • the structural layout of the working environment where the vehicle is located determine a certain point in the structural layout as the coordinate origin, and at the same time determine the type and direction of the coordinate system; taking the car wash as an example, according to the size of the car wash, spatial structure layout, parking area and other factors , select a point in the space as the coordinate origin, and then determine the direction of the coordinate axes and the type of coordinates to establish a three-dimensional coordinate system, such as a three-dimensional Cartesian coordinate system. After establishing a unified coordinate system, the position data of all subsequent scanned image points will be calculated and judged in this coordinate system.
  • the structures in the environmental structure and the vehicle positions in the parking area are measured and calibrated to determine their coordinate points relative to the coordinate origin. After the coordinate system is selected, all static structures in the current environment structure and the subsequent vehicles entering the car wash have corresponding position coordinate points.
  • the selected structures may include tracks on the ground, lights on the walls, wall lines, parking lines and so on.
  • the image point position data actually scanned and imaged by the imaging device will be obtained later, based on the manually measured and calibrated structure and the coordinate point of the vehicle relative to the origin, which is consistent with the actual image point of the imaging device.
  • the position data of an image point obtained by scanning is compared with the coordinate point of the origin.
  • the error range is preset in the imaging data and corrected, such as adjusting the rotation axis of the imaging device to adjust the imaging coordinates Points, such continuous corrections, make the coordinates of the two points as consistent as possible, thereby improving the accuracy of image recognition.
  • Step S102 The imaging device scans the motion of the vehicles parked in the parking area at different times to obtain the image data of the vehicle's appearance and present them in a unified coordinate system.
  • motion scanning includes moving scanning, rotating scanning or a combination of both.
  • Mobile scanning includes scanning in the horizontal direction, such as scanning in a straight line along the length of the vehicle or scanning in a circle or arc around the circumference of the vehicle body.
  • Mobile scanning may also include scanning in the vertical direction, such as scanning when performing linear sliding in the vehicle height direction.
  • Mobile scanning may also include oblique scanning, and the trajectory path of the imaging device is calculated and determined by the local computer or the background server, and its movement route is fixed and precise.
  • the imaging angle can also be rotated at the same time, and the image data formed during the moving process is essentially point cloud data.
  • some imaging devices scan and image in real time during motion.
  • the imaging device is moving, and its position will change in the coordinate system, and the obtained imaging data is also determined based on the real-time positional relationship of the imaging device.
  • the relationship between the movement displacement of the imaging device and time, and the positional relationship of the imaging device relative to the vehicle at a certain moment are corresponding to each other. Since the displacement of the imaging device is relatively definite and clear, the obtained vehicle imaging data is also relatively clearly.
  • the imaging device can acquire point cloud data of different parts of the vehicle from different angles at different times, and accumulate and superimpose the point cloud data, which significantly improves the resolution of the imaging aggregation data and also improves the imaging accuracy.
  • the quality and imaging resolution are reduced from about 10cm of the original high-end lidar to less than 1cm, and the imaging accuracy is reduced from 2cm of the original high-end lidar to less than 1cm.
  • the acquisition of vehicle appearance features can be carried out through the cooperation of multiple different types of imaging devices.
  • the imaging devices can include radar (such as laser radar, ultrasonic radar, millimeter wave radar, etc.), image sensor ( One or more of high-definition cameras, binocular or multi-eye cameras, TOF cameras, thermal imaging cameras, etc.), distance sensors.
  • different types of imaging devices can be used to collect independently at the same time, and each sensor has its own unique advantages. After fusion processing, data redundancy will be formed, from which better image feature points can be selected to reduce the defect that the imaging data of a single type of sensor is prone to missing or the imaging quality of a specific part of a pair of vehicles is poor, so as to be more complete. Capturing the complete features of the vehicle can also overcome the poor imaging quality of the vehicle's dark mirror surface.
  • the sports terminal When the sports terminal includes a machine, there can be one, two or more machines. There is a gap between the imaging sensor (ie, the sensor of the imaging device) and the vehicle body. It is better to install the imaging sensor at a height higher than the highest point of the vehicle body to avoid missing Roof imaging data, and better imaging angles when imaging other vehicle positions.
  • the incident source of the imaging sensor is in the direction of the vehicle's top view and side view, which is a vertical incidence, and imaging data cannot be captured in vertical parts such as the front and rear of the vehicle.
  • the imaging device in the embodiment of the present application scans at different positions of the vehicle body, the sensor is controlled to adjust different spatial attitudes.
  • the scanning that follows the shape of the vehicle can be completed.
  • the incident angle of the radiation signal generated by one or more imaging sensors coincides with or approaches the normal of the vehicle surface.
  • sensors that actively transmit signals such as radars, distance sensors, and TOF (Time-of-Flight) cameras as examples, the incident signal is incident from the normal direction, and the reflected signal returns along the normal line, because it is nearly perpendicular to the surface of the object.
  • the reflection performance of the signal is the strongest, and there is the greatest possibility to obtain high-quality imaging data and ensure high accuracy and high confidence of the data.
  • the specific performance is significantly improved available resolution, three-dimensional measurement accuracy, and the problem of dark mirrors is significantly improved. ; It is convenient for the precise planning of subsequent cleaning and air-drying trajectories.
  • the imaging sensor is in the form of rotation and movement. Even if the signal source at a certain moment is not close to the normal of the vehicle shape, it will be close to the normal of the vehicle shape at the next moment or at other moments. line or coincident with the vehicle shape normal.
  • the above-mentioned method overcomes the core problem of limited incident angle of the imaging sensor, cooperates with computer algorithms, significantly weakens the problem of dark mirrors, significantly improves the imaging coverage and imaging quality of the car body, and significantly improves the three-dimensional measurement accuracy.
  • the image acquisition of the imaging device adopts a combination of global scanning and local scanning.
  • it can be divided into main sensor and local sensor.
  • the main sensor is responsible for the overall scanning of vehicle data
  • the local sensor is responsible for scanning and imaging the area where the main sensor cannot accurately obtain data.
  • the main sensor and the local sensor scan and image at the same time.
  • the overall data is based on the scanning data of the main sensor.
  • the main sensor should ensure the largest possible scanning coverage area, and the local sensor is responsible for the scanning data of special positions such as rearview mirrors and bumpers.
  • the installation height of the main sensor on the machine is usually relatively high, for example, it is located on the top of the moving machine to obtain a relatively good scanning area, and the location of the local sensor is mainly personalized according to the part to be scanned.
  • the local sensor can be arranged in the rearview mirror of a car, and the local sensor can also perform motion control (including movement, rotation, etc.).
  • a filtering algorithm such as a Kalman filtering algorithm may be used to remove noise from the imaging data and retain high-quality data.
  • Step S103 Aggregating the outline image data presented in the three-dimensional coordinate system to form complete three-dimensional image data of the vehicle.
  • the imaging device Since the imaging device is imaging in real time during motion, it is necessary to aggregate the vehicle shape image data acquired by the sensor from different angles at different times in a three-dimensional coordinate system, and finally form a complete three-dimensional image data of the vehicle, including the vehicle shape and various The location coordinates of the image points. According to the formed three-dimensional image data of the vehicle, the local computer or background server further calculates the cleaning path and air-drying path for the vehicle.
  • the vehicle shape data acquired by imaging equipment often has missing or other abnormal problems, resulting in poor imaging effects, especially in dark mirrors (especially black mirrors) and car glass parts.
  • the acquired data can be further optimized to achieve a good imaging effect.
  • optimizing the acquired shape image data includes the following methods:
  • the first way is to judge the continuity of the image data of the vehicle shape, and to perform fuzzy filling processing on the blank image area.
  • the vehicle shape has obvious continuity characteristics, and the continuity of the vehicle shape image data is used as the basis for judging whether the imaging data is complete.
  • the continuity of the vehicle can be judged by outlier detection algorithm, region growing, or vehicle characteristics.
  • Outlier inspection is the process of finding out that its behavior is different from the expected object, including: outlier detection based on statistical methods, distance-based outlier inspection sum, density-based outlier inspection, etc., based on distance Take the outlier detection method as an example. It considers the neighborhood of a given radius of the object. If there are not enough other points in its neighborhood, it is considered an outlier, and the data that is obviously irregular is removed through the outlier test. .
  • the region growing algorithm is to merge pixels with similar properties together, segment connected regions that do not have the same characteristics, and provide good boundary information and segmentation results.
  • exemplary, for the scanned point cloud data adjacent points are connected to form a grid, and the normal direction of the grid is calculated.
  • the normal point cloud grids with the same direction have a high probability of belonging to the same object.
  • the prior knowledge of the vehicle feature area is to first separate the different surface area properties of the vehicle through the feature model. If one of the areas is the front engine cover, it is judged that there is no large cavity in this area and it needs to be repaired. When it is judged that there is some discontinuity in the image data of the vehicle's shape, such as a hollow or blank area, it will perform fuzzy filling processing.
  • the fuzzy filling can automatically generate an image for the blank area based on the interpolation filling algorithm.
  • Method 2 According to the symmetry characteristics of the vehicle, when the image data scanned on one side is detected to be defective, the qualified image data scanned on the other side is mirrored, and finally the complete 3D image data of the vehicle is synthesized. In some optional implementations, in response to detecting that the image data scanned from one side of the vehicle is defective, image processing is performed on qualified image data scanned from the other side, and finally the complete 3D image data of the vehicle is synthesized.
  • the exterior rearview mirrors of automobiles will most likely not exist in isolation.
  • the mirror image replacement is performed using the scan result of the other side that is symmetrical. Specifically, through sensor motion scanning, it is judged whether the data is missing. If a certain part of the data is missing more seriously, but according to the central axis of the vehicle, look for the scanning result on the other side corresponding to the missing part.
  • the hub data Imaging is the best in theory, so it is very convenient to use the contour data and coordinates on both sides as a reference, establish a symmetrical plane in the coordinate system, perform mirror replacement of left and right image data, and finally generate a complete 3D image data.
  • the third way is to establish a model database containing the complete shape of vehicles of different models, and construct a scene data model of structures and machinery in the current environment structure.
  • the vehicle scans If the image is still poor after optimization, the vehicle to be cleaned is replaced by a vehicle model of the same type in the model database at the current position.
  • the historical scan data of the vehicle can also be stored.
  • the stored historical scan data is at least the data reflecting the complete appearance characteristics of the vehicle, preferably the data of the complete appearance characteristics formed from the latest scan of the vehicle. When the vehicle has multiple scans, it can be Only keep one qualified scan data, and replace the previous scan data with the optimal scan data.
  • the following processing operations are performed: based on the established model database containing a large number of complete vehicle shapes of different models, according to the detected The model of the current vehicle is queried from the model database to replace the vehicle model data of the same model; or, query whether the current vehicle has historical scan data, and in response to the existence of historical scan data, select the corresponding vehicle model data from the historical scan data to replace .
  • the shape of the actual vehicle shall prevail.
  • the shape data model of the same type of vehicle in the system database shall be directly replaced with the currently scanned data, or Query to find the corresponding data model from the previously scanned historical scan data of the vehicle.
  • the background server directly takes the model data of the same type of vehicle in the model database or the model data in the historical scan data as the standard, and based on the queried vehicle The model data is used to plan the cleaning path and air-drying path.
  • the above three methods realize the optimization of the vehicle scanning data from different directions, wherein the above three methods can be performed independently, that is, directly select different optimization methods according to different situations, or cooperate with each other.
  • the optimization of the first method is given priority, that is, the continuity of the image features of the vehicle shape is judged. If there are some discontinuities, the fuzzy filling process is directly performed. Basically, it can handle most of the scanning results; however, when there are large discontinuous parts, or the scanning quality of some areas is too poor, there are many faults, and fuzzy filling cannot be performed, the symmetrical optimization method in method 2 can be used.
  • the processing of the first method can also be carried out at the same time, for example, after the fuzzy filling of a certain part is performed on the side of the vehicle with a relatively good scanning result, and then the image data of the other side is obtained by mirroring based on this side; if in After the processing of method 1 and method 2, if still unable to obtain better imaging data, then consider method 3 to select similar vehicle models from the database or historical scan data for equivalent replacement.
  • an artificial intelligence model can also be constructed through big data, and continuously learn the advantages and disadvantages of different imaging devices or imaging data. Dynamic real-time scanning of vehicle appearance images, obtaining a large amount of scanning data, building an artificial intelligence model, learning and understanding the data defects existing in the machine imaging process, and making perfect and accurate predictions.
  • a vehicle three-dimensional scanning imaging method disclosed in the embodiment of the present application can significantly improve the imaging accuracy and imaging quality by means of multi-sensor motion scanning in the same coordinate system. Improve the imaging quality, especially in the dark mirror and car glass, the imaging effect is better.
  • the vehicle three-dimensional scanning method can be applied in the application environment shown in FIG. 5 .
  • the server 501 can execute the vehicle three-dimensional scanning method, for example, step S101 , step S102 and step S103 can be executed.
  • the server 501 can also perform other more steps.
  • the imaging device 502 can scan the vehicle in motion to obtain outline image data, and send the outline image data to the server 501 .
  • the server 501 may also control the imaging device 502 to scan the vehicle for motion by sending a control signal.
  • the resolution of the imaging data, the precision of the three-dimensional measurement and the imaging quality are improved through the motion scanning of multiple types of sensors.
  • the collected image data is clearer, Weaken dark specular issues.
  • the embodiment of the present application provides a vehicle three-dimensional scanning imaging system 200 , which includes: a coordinate system establishment module 201 , an image acquisition module 202 , and an image generation module 203 .
  • the coordinate system establishment module 201 is configured to construct a unified three-dimensional coordinate system according to the structural layout of the working environment where the vehicle is located.
  • the image acquisition module 202 is used to acquire the image data of the vehicle's appearance. Wherein, the image acquisition module scans the outer side of the vehicle parked in the parking area through multiple different types of imaging devices.
  • FIG. 3 is a schematic layout diagram of an imaging device in an embodiment of the present application. Exemplarily, the imaging device moves and scans in a horizontal direction along with machines A and B on slide rails on both sides.
  • the image generation module 203 is used for uniformly presenting the vehicle's outline image data acquired at different times in a three-dimensional coordinate system and performing data aggregation to form complete three-dimensional image data of the vehicle.
  • the vehicle three-dimensional scanning imaging system 200 may also include a data optimization module (not shown), which is used to judge the quality of the scanned outline image data and correct for optimization.
  • the data optimization module may include: an image filling unit, a mirror image processing unit and a vehicle model replacement unit.
  • the image filling unit is used for performing fuzzy filling processing on blank image areas appearing in the scanned vehicle outline image data.
  • the mirror image processing unit is configured to, according to the symmetry characteristics of the vehicle, perform mirror image processing on the qualified image data obtained by scanning on the other side for replacement in response to detecting that the image data obtained by scanning on one side is defective.
  • the image processing unit can be used together with the graphic filling unit.
  • the vehicle model replacement unit includes a model database storing complete appearance features of different vehicle models and storing historical scanning data of the vehicle, for responding to the fact that the scanning imaging data of the current vehicle is still determined to be Bad, replace it with the model data of the same model vehicle in the model database, or select qualified model data from the historical scan data of the vehicle for replacement.
  • the system of the present application is also provided with a model building unit, which accumulates the shape image data of the vehicle acquired by dynamic real-time scanning of the machine equipment, and establishes an artificial intelligence model including the complete shape characteristics of the vehicle.
  • Each module or unit in the above-mentioned vehicle three-dimensional scanning imaging system 200 may be fully or partially realized by software, hardware or a combination thereof.
  • the above-mentioned modules or units may be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above modules.
  • the vehicle three-dimensional scanning imaging system in the embodiment of the present application may have the same technical effect as the vehicle three-dimensional scanning imaging method described in the foregoing embodiments, so details are not repeated here.
  • an embodiment of the present application provides a computer device, including a memory and one or more processors, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the one or more processors, Make one or more processors execute the steps of the vehicle three-dimensional scanning imaging method in any one of the foregoing embodiments.
  • the computer device provided in the embodiment of the present application may be a server, and its internal structure diagram may be as shown in FIG. 4 .
  • the computer device includes a processor, a memory, and a network interface connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer readable instructions.
  • the internal memory provides an environment for the execution of the operating system and computer readable instructions in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer-readable instructions are executed by the processor, the vehicle three-dimensional scanning imaging method in any embodiment herein can be implemented.
  • the embodiments of the present application also provide one or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the computer-readable instructions are executed by one or more processors, a or a plurality of processors execute the steps of the vehicle three-dimensional scanning imaging method in any of the foregoing embodiments.
  • Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM random access memory
  • RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

A three-dimensional scanning and imaging method for a vehicle. The method comprises: establishing a unified three-dimensional coordinate system according to an operating environment in which a vehicle is located (S11); performing, by means of an imaging device, motion scanning on the vehicle parked in a parking area, so as to obtain appearance image data of the vehicle at different moments, and uniformly presenting the appearance image data in the three-dimensional coordinate system (S12); and aggregating the appearance image data presented in the unified coordinate system, so as to form complete three-dimensional image data of the appearance of the vehicle (S13).

Description

车辆三维扫描成像方法、系统、计算机设备和存储介质Vehicle three-dimensional scanning imaging method, system, computer equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年10月18日提交中国专利局,申请号为CN202111210901.X,申请名称为“车辆三维扫描成像方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on October 18, 2021, with the application number CN202111210901.X and the application title "Method and System for Three-Dimensional Scanning and Imaging of Vehicles", the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本申请属于图像识别技术领域,尤其涉及一种车辆三维扫描成像方法、系统、计算机设备和存储介质。The present application belongs to the technical field of image recognition, and in particular relates to a vehicle three-dimensional scanning imaging method, system, computer equipment and storage medium.
背景技术Background technique
随着城市现代化发展进程,自动洗车服务已被社会广泛需求。With the development of urban modernization, automatic car washing services have been widely demanded by the society.
在自动洗车领域,需要对车辆的外形进行识别成像以形成后续的路径规划,目前的三维成像方法,大多都存在成像数据质量差、成本高等问题。例如:对射管成像:仅有二维数据,且分辨率受限于对射管的原理不可能太高,成本高;固定机位成像:单个或多个测距或成像传感器(测距传感器,普通摄像头、三维摄像头、激光雷达),传感器入射角和射程均不理想,成本极高,测距传感器和普通摄像头的数据精度差、分辨率低;空间漫游成像:SLAM式成像,精度低,数据一致性差,入射角度和射程不良。而入射角不佳和射程不良则容易导致成像精度差、成像质量不好。In the field of automatic car washing, it is necessary to identify and image the shape of the vehicle to form subsequent path planning. Most of the current 3D imaging methods have problems such as poor imaging data quality and high cost. For example: tube imaging: only two-dimensional data, and the resolution is limited by the principle of the tube can not be too high, high cost; fixed position imaging: single or multiple ranging or imaging sensors (ranging sensor , ordinary camera, three-dimensional camera, lidar), the sensor’s incident angle and range are not ideal, the cost is extremely high, the data accuracy and resolution of the ranging sensor and ordinary camera are poor, and the resolution is low; space roaming imaging: SLAM imaging, low precision, Poor data consistency, poor angle of incidence and range. However, poor incident angle and poor range will easily lead to poor imaging accuracy and poor imaging quality.
发明内容Contents of the invention
在第一方面,本申请实施例提供了一种车辆三维扫描成像方法,该方法包括:In a first aspect, an embodiment of the present application provides a vehicle three-dimensional scanning imaging method, the method comprising:
根据车辆所处的作业环境建立统一的三维坐标系;Establish a unified three-dimensional coordinate system according to the operating environment of the vehicle;
通过成像设备对停靠在停车区域内的车辆进行运动扫描,得到不同时刻的车辆的外形图像数据并统一呈现于统一的三维坐标系内;以及Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system; and
将呈现于三维坐标系内的外形图像数据进行聚合,形成车辆的完整的三维图像数 据。The shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
在第二方面,本申请实施例提供了提供了一种车辆三维扫描成像系统,包括:In the second aspect, the embodiment of the present application provides a vehicle three-dimensional scanning imaging system, including:
坐标系建立模块,用于根据作业环境内的结构布局构建统一的三维坐标系;The coordinate system establishment module is used to construct a unified three-dimensional coordinate system according to the structural layout in the working environment;
图像采集模块,用于获取车辆的外形图像数据;其中,外形图像数据通过设置的多种成像设备沿停靠在停车区域内的车辆外侧运动扫描得到;以及The image acquisition module is used to obtain the shape image data of the vehicle; wherein, the shape image data is obtained by scanning the outer side of the vehicle parked in the parking area through a variety of imaging devices; and
图像生成模块,用于对不同时刻获取的车辆的外形图像数据统一呈现于三维坐标系内并进行数据聚合,以形成车辆的完整的三维图像数据。The image generation module is used to uniformly present the vehicle's outline image data acquired at different times in a three-dimensional coordinate system and perform data aggregation to form complete three-dimensional image data of the vehicle.
在第三方面,本申请实施例提供了一种计算机设备,其包括存储器及一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:In a third aspect, an embodiment of the present application provides a computer device, which includes a memory and one or more processors, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the one or more processors, Causes one or more processors to perform the following steps:
根据车辆所处的作业环境建立统一的三维坐标系;Establish a unified three-dimensional coordinate system according to the operating environment of the vehicle;
通过成像设备对停靠在停车区域内的车辆进行运动扫描,得到不同时刻的车辆的外形图像数据并统一呈现于统一的三维坐标系内;以及Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system; and
将呈现于三维坐标系内的外形图像数据进行聚合,形成车辆的完整的三维图像数据。The shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
在第四方面,本申请实施例提供了一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:In a fourth aspect, the embodiment of the present application provides one or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, one or more A processor performs the following steps:
根据车辆所处的作业环境建立统一的三维坐标系;Establish a unified three-dimensional coordinate system according to the operating environment of the vehicle;
通过成像设备对停靠在停车区域内的车辆进行运动扫描,得到不同时刻的车辆的外形图像数据并统一呈现于统一的三维坐标系内;以及Motion scanning of the vehicles parked in the parking area by the imaging device to obtain the image data of the vehicle's appearance at different times and present them in a unified three-dimensional coordinate system; and
将呈现于三维坐标系内的外形图像数据进行聚合,形成车辆的完整的三维图像数据。The shape image data presented in the three-dimensional coordinate system is aggregated to form a complete three-dimensional image data of the vehicle.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the application will be apparent from the description, drawings, and claims.
附图说明Description of drawings
图1是本申请实施例的车辆三维扫描成像方法的流程示意图。FIG. 1 is a schematic flowchart of a vehicle three-dimensional scanning imaging method according to an embodiment of the present application.
图2是本申请实施例的车辆三维扫描成像系统的架构图。FIG. 2 is a structural diagram of a vehicle three-dimensional scanning imaging system according to an embodiment of the present application.
图3是本申请实施例的成像设备的布置示意图。FIG. 3 is a schematic layout diagram of an imaging device according to an embodiment of the present application.
图4是根据一个或多个实施例中计算机设备的内部结构图。Figure 4 is an internal block diagram of a computer device in accordance with one or more embodiments.
图5是根据一个或多个实施例中车辆三维扫描成像方法的应用环境示意图。Fig. 5 is a schematic diagram of an application environment of a vehicle three-dimensional scanning imaging method according to one or more embodiments.
具体实施方式Detailed ways
以下实施例仅用于更加清楚地说明本申请的技术方案,而不能以此来限制本申请的保护范围。如在说明书及权利要求当中使用了某些词汇来指称特定部件。本领域技术人员应可理解,硬件或软件制造商可能会用不同名词来称呼同一个部件。本说明书及权利要求并不以名称的差异来作为区分部件的方式,而是以部件在功能上的差异来作为区分的准则。说明书后续的描述为实施本申请的部分实施方式,然所述描述乃以说明本申请的一般原则为目的,并非用以限定本申请的范围。本申请的保护范围当视所附权利要求所界定者为准。The following examples are only used to illustrate the technical solutions of the present application more clearly, but not to limit the protection scope of the present application. Certain terms are used, for example, in the description and claims to refer to particular components. Those skilled in the art should understand that hardware or software manufacturers may use different terms to refer to the same component. The specification and claims do not use the difference in name as the way to distinguish components, but use the difference in function of the components as the criterion for distinguishing. The subsequent descriptions in the specification are part of the implementation of the present application, but the descriptions are for the purpose of illustrating the general principles of the present application, and are not intended to limit the scope of the present application. The scope of protection of the present application should be defined by the appended claims.
下面结合附图和具体实施例对本申请做进一步说明。The application will be further described below in conjunction with the accompanying drawings and specific embodiments.
本申请实施例提供了一种车辆三维扫描成像方法,用于汽车自助洗车时的车辆外形特征获取,其中,自助洗车可以在室内外的洗车房内进行,或者其他特定的环境场景下,在车辆清洗的停靠区域外围安装固定有轨道,轨道可以是环绕车辆一周的椭圆形轨道,或者是沿车辆长度或其他方向平行或非平行设置的一条或更多条直线型轨道,轨道上设置有可沿轨道滑行的运动终端,运动终端可以是机器人、机器,也可以是仅含有成像等简单功能的模块,运动终端自带多个且不同类型的传感器,以对车辆的外形特征进行全方位运动式扫描。An embodiment of the present application provides a three-dimensional scanning imaging method for a vehicle, which is used for acquiring vehicle shape features during a self-service car wash. Tracks are installed and fixed on the periphery of the parking area for cleaning. The track can be an elliptical track that surrounds the vehicle, or one or more linear tracks that are parallel or non-parallel along the length of the vehicle or other directions. The motion terminal of the track glide, the motion terminal can be a robot, a machine, or a module with simple functions such as imaging. The motion terminal comes with multiple and different types of sensors to scan the shape features of the vehicle in an all-round way. .
参照图1所示,车辆三维扫描成像方法可以包括步骤S101、步骤S102和步骤S103。Referring to Fig. 1, the vehicle three-dimensional scanning imaging method may include step S101, step S102 and step S103.
步骤S101:根据车辆所处的当前环境结构建立统一的三维坐标系。Step S101: Establish a unified three-dimensional coordinate system according to the current environment structure where the vehicle is located.
其中,建立三维坐标系包括以下方式:Among them, establishing a three-dimensional coordinate system includes the following methods:
根据车辆所在的作业环境的结构布局,确定该结构布局内的某一点为坐标原点,同时确定坐标系类型及方向;以洗车房为例,根据洗车房的大小、空间结构布局、停车区域等因素,选定空间内的某一个点为坐标原点,然后再确定坐标轴方向和坐标类型,建立一个三维坐标系,比如选用三维笛卡尔坐标系。建立统一的坐标系后,后续所有扫描得到的图像点的位置数据将在该坐标系中进行计算和判断。According to the structural layout of the working environment where the vehicle is located, determine a certain point in the structural layout as the coordinate origin, and at the same time determine the type and direction of the coordinate system; taking the car wash as an example, according to the size of the car wash, spatial structure layout, parking area and other factors , select a point in the space as the coordinate origin, and then determine the direction of the coordinate axes and the type of coordinates to establish a three-dimensional coordinate system, such as a three-dimensional Cartesian coordinate system. After establishing a unified coordinate system, the position data of all subsequent scanned image points will be calculated and judged in this coordinate system.
对该环境结构内的构筑物以及停车区域内的车辆位置进行测量和位置标定,确定它们相对坐标原点所处的坐标点。当选定坐标系之后,当前环境结构内的所有静态的构筑 物以及后续进入该洗车房内的车辆均具有对应的位置坐标点。其中,选取的构筑物可以包括地面上的轨道、墙壁上的照明灯、墙面线、停车线等等。The structures in the environmental structure and the vehicle positions in the parking area are measured and calibrated to determine their coordinate points relative to the coordinate origin. After the coordinate system is selected, all static structures in the current environment structure and the subsequent vehicles entering the car wash have corresponding position coordinate points. Wherein, the selected structures may include tracks on the ground, lights on the walls, wall lines, parking lines and so on.
当对洗车房内的构筑物与停车位置等标定后,后续还会获取成像设备实际扫描成像的图像点位置数据,以人工测量并标定的构筑物及车辆相对原点的坐标点为基准,与成像设备实际扫描获得的某图像点位置数据相对原点的坐标点进行对比,当二者存在误差时,则将误差范围预设于成像数据中,进行修正,比如通过调整成像设备的旋转轴进而调整成像的坐标点,如此不断修正,使得二者的坐标点尽量保持一致,进而提高图像识别的精度。After the structure and parking position in the car wash room are calibrated, the image point position data actually scanned and imaged by the imaging device will be obtained later, based on the manually measured and calibrated structure and the coordinate point of the vehicle relative to the origin, which is consistent with the actual image point of the imaging device. The position data of an image point obtained by scanning is compared with the coordinate point of the origin. When there is an error between the two, the error range is preset in the imaging data and corrected, such as adjusting the rotation axis of the imaging device to adjust the imaging coordinates Points, such continuous corrections, make the coordinates of the two points as consistent as possible, thereby improving the accuracy of image recognition.
步骤S102:通过成像设备在不同时刻对停靠在停车区域内的车辆进行运动扫描,得到车辆的外形图像数据并统一呈现于统一坐标系内。Step S102: The imaging device scans the motion of the vehicles parked in the parking area at different times to obtain the image data of the vehicle's appearance and present them in a unified coordinate system.
其中,运动扫描包括移动扫描、旋转扫描或者二者的组合。移动扫描包括水平方向的扫描,比如沿车辆长度方向进行直线滑移时的扫描或者绕车身周围进行的圆周式或弧形扫描。移动扫描还可以包括竖直方向上的扫描,比如在车辆高度方向上进行直线滑移时的扫描。移动扫描还可以包括斜向的扫描,成像设备的运动轨迹路径由本地计算机或后台服务器计算后确定,其运动路线是固定且精确的。在移动扫描过程中还可以同时进行成像角度的旋转,移动过程中形成的图像数据实质为点云数据。本申请实施例中,一些成像设备是在运动过程中实时扫描成像的。一方面,成像设备在运动,其位置在坐标系内会变化,获得的成像数据也是基于成像设备的实时位置关系而确定的。成像设备的运动位移与时间的关系,以及某一时刻下成像设备相对于车辆的位置关系,是相互对应的,由于成像设备的位移是相对确定且明确的,所以,获取的车辆成像数据也是相对明确的。Wherein, motion scanning includes moving scanning, rotating scanning or a combination of both. Mobile scanning includes scanning in the horizontal direction, such as scanning in a straight line along the length of the vehicle or scanning in a circle or arc around the circumference of the vehicle body. Mobile scanning may also include scanning in the vertical direction, such as scanning when performing linear sliding in the vehicle height direction. Mobile scanning may also include oblique scanning, and the trajectory path of the imaging device is calculated and determined by the local computer or the background server, and its movement route is fixed and precise. During the moving scanning process, the imaging angle can also be rotated at the same time, and the image data formed during the moving process is essentially point cloud data. In the embodiment of the present application, some imaging devices scan and image in real time during motion. On the one hand, the imaging device is moving, and its position will change in the coordinate system, and the obtained imaging data is also determined based on the real-time positional relationship of the imaging device. The relationship between the movement displacement of the imaging device and time, and the positional relationship of the imaging device relative to the vehicle at a certain moment are corresponding to each other. Since the displacement of the imaging device is relatively definite and clear, the obtained vehicle imaging data is also relatively clearly.
在一些可选的实施方式中,成像设备在不同时刻可以从不同角度获取车辆的不同部位的点云数据,将点云数据进行积累叠加,明显提升了成像聚合数据的分辨率,也提升了成像质量,成像分辨率从原有高档激光雷达的10cm左右减少到不到1cm,成像精度从原有高档激光雷达的2cm减少到1cm以内。In some optional implementations, the imaging device can acquire point cloud data of different parts of the vehicle from different angles at different times, and accumulate and superimpose the point cloud data, which significantly improves the resolution of the imaging aggregation data and also improves the imaging accuracy. The quality and imaging resolution are reduced from about 10cm of the original high-end lidar to less than 1cm, and the imaging accuracy is reduced from 2cm of the original high-end lidar to less than 1cm.
对车辆外形特征的获取可以通过多个不同类型的成像设备配合来进行,在一些可选的实施方式中,成像设备可以包括雷达(如激光雷达、超声波雷达、毫米波雷达等)、图像传感器(如高清摄像头、双目或多目摄像头、TOF摄像头、热成像摄像头等)、距离传感器中的一种或多种。The acquisition of vehicle appearance features can be carried out through the cooperation of multiple different types of imaging devices. In some optional implementations, the imaging devices can include radar (such as laser radar, ultrasonic radar, millimeter wave radar, etc.), image sensor ( One or more of high-definition cameras, binocular or multi-eye cameras, TOF cameras, thermal imaging cameras, etc.), distance sensors.
在一些可选的实施方式中,可以采用不同类型的成像设备(即采用不同类型的传感器)同时独立进行采集,每个传感器都有自己独特的优势,对不同种类的传感器分别采 集的图像数据进行融合处理后,会形成数据冗余,可以从中选取较好的图像特征点,减少单类型传感器存在的成像数据容易发生缺失或某对车辆的某特定部位成像质量差的缺陷,从而更能完整的捕获车辆的完整特征,也能克服车辆深色镜面表面成像质量差的问题。In some optional embodiments, different types of imaging devices (that is, different types of sensors) can be used to collect independently at the same time, and each sensor has its own unique advantages. After fusion processing, data redundancy will be formed, from which better image feature points can be selected to reduce the defect that the imaging data of a single type of sensor is prone to missing or the imaging quality of a specific part of a pair of vehicles is poor, so as to be more complete. Capturing the complete features of the vehicle can also overcome the poor imaging quality of the vehicle's dark mirror surface.
运动终端包括机器时,机器可以是一台、两台或两台以上,成像传感器(即成像设备的传感器)与车身具有一段间隔,成像传感器的安装高度高于车身最高点为佳,避免漏掉车顶成像数据,且对其他车辆位置成像时获得更好的成像角度。传统技术中,成像传感器的入射源在车辆的俯视与侧视方向,属于垂直入射,在车辆的车头与车尾等垂直部分会有无法捕捉成像数据的显现。本申请实施例中的成像设备在车体不同位置进行扫描时,控制传感器调整不同的空间姿态。例如跟随汽车外形的扫描,保证入射源尽可能多的贴近汽车法线,通过控制传感器的运行轨迹,可完成跟随车辆外形的扫描。具体来说,控制成像传感器在持续移动和/或旋转过程中,至少在某一时刻,某一个或多个成像传感器产生的辐射信号的入射角与车辆表面的法线重合或接近法线。以雷达、距离传感器和TOF(Time-of-Flight,飞行时间)摄像头等主动发射信号的传感器为例,从法线方向进行入射,其反射信号沿法线返回,因接近垂直入射至物体表面,所以信号的反射表现最强,有最大的可能性获得高质量成像数据并保证数据的高准确性和高置信度,具体表现为显著提升的可用分辨率、三维测量精度、深色镜面问题显著改善;便于后续的清洗轨迹及风干轨迹的精准规划,此外,成像传感器是旋转与移动形式的,即使某一时刻的信号源没有接近车辆外形法线,会在下一时刻或其它时刻接近车辆外形的法线或与车辆外形法线重合。上述方式,克服了成像传感器入射角受限的核心问题,配合计算机算法,显著弱化了深色镜面问题,显著提升车身的成像覆盖率和成像质量,显著提升了三维测量精度。When the sports terminal includes a machine, there can be one, two or more machines. There is a gap between the imaging sensor (ie, the sensor of the imaging device) and the vehicle body. It is better to install the imaging sensor at a height higher than the highest point of the vehicle body to avoid missing Roof imaging data, and better imaging angles when imaging other vehicle positions. In traditional technology, the incident source of the imaging sensor is in the direction of the vehicle's top view and side view, which is a vertical incidence, and imaging data cannot be captured in vertical parts such as the front and rear of the vehicle. When the imaging device in the embodiment of the present application scans at different positions of the vehicle body, the sensor is controlled to adjust different spatial attitudes. For example, when scanning following the shape of a car, ensure that the incident source is as close as possible to the normal line of the car. By controlling the running track of the sensor, the scanning that follows the shape of the vehicle can be completed. Specifically, during the continuous movement and/or rotation of the imaging sensors, at least at a certain moment, the incident angle of the radiation signal generated by one or more imaging sensors coincides with or approaches the normal of the vehicle surface. Taking sensors that actively transmit signals such as radars, distance sensors, and TOF (Time-of-Flight) cameras as examples, the incident signal is incident from the normal direction, and the reflected signal returns along the normal line, because it is nearly perpendicular to the surface of the object. Therefore, the reflection performance of the signal is the strongest, and there is the greatest possibility to obtain high-quality imaging data and ensure high accuracy and high confidence of the data. The specific performance is significantly improved available resolution, three-dimensional measurement accuracy, and the problem of dark mirrors is significantly improved. ; It is convenient for the precise planning of subsequent cleaning and air-drying trajectories. In addition, the imaging sensor is in the form of rotation and movement. Even if the signal source at a certain moment is not close to the normal of the vehicle shape, it will be close to the normal of the vehicle shape at the next moment or at other moments. line or coincident with the vehicle shape normal. The above-mentioned method overcomes the core problem of limited incident angle of the imaging sensor, cooperates with computer algorithms, significantly weakens the problem of dark mirrors, significantly improves the imaging coverage and imaging quality of the car body, and significantly improves the three-dimensional measurement accuracy.
在一些实施例中,对成像设备进行的图像采集采用全局扫描和局部扫描相配合的方式。具体来说,根据工作性质的分工,可分为主传感器与局部传感器,主传感器负责车辆数据的整体扫描,局部传感器负责主传感器无法精确获得数据的区域进行扫描成像。主传感器与局部传感器同时进行扫描成像,总体数据以主传感器的扫描数据为准,主传感器要保证尽可能大的扫描覆盖面积,局部传感器负责车后视镜、保险杠等特殊位置的扫描数据。在布置时,主传感器在机器上的安装高度通常相对较高,比如位于移动的机器顶部,以获得相对较好的扫描面积,局部传感器的布置位置则主要根据所要扫描的部位进行个性化布置,比如可以布置于车后视镜等位置,局部传感器同样可进行运动控制(包括移动、旋转等)。In some embodiments, the image acquisition of the imaging device adopts a combination of global scanning and local scanning. Specifically, according to the division of work nature, it can be divided into main sensor and local sensor. The main sensor is responsible for the overall scanning of vehicle data, and the local sensor is responsible for scanning and imaging the area where the main sensor cannot accurately obtain data. The main sensor and the local sensor scan and image at the same time. The overall data is based on the scanning data of the main sensor. The main sensor should ensure the largest possible scanning coverage area, and the local sensor is responsible for the scanning data of special positions such as rearview mirrors and bumpers. When arranging, the installation height of the main sensor on the machine is usually relatively high, for example, it is located on the top of the moving machine to obtain a relatively good scanning area, and the location of the local sensor is mainly personalized according to the part to be scanned. For example, it can be arranged in the rearview mirror of a car, and the local sensor can also perform motion control (including movement, rotation, etc.).
此外,在一些可选的实施方式中,在获得车辆的外形图像数据后,可以采用滤波算法(如卡尔曼滤波算法)去除成像数据噪声,保留高质量的数据。In addition, in some optional implementation manners, after obtaining the shape image data of the vehicle, a filtering algorithm (such as a Kalman filtering algorithm) may be used to remove noise from the imaging data and retain high-quality data.
步骤S103:将呈现于三维坐标系内的外形图像数据进行聚合,形成车辆的完整的三维图像数据。Step S103: Aggregating the outline image data presented in the three-dimensional coordinate system to form complete three-dimensional image data of the vehicle.
由于成像设备是在运动过程中实时成像,故需要将传感器从不同时刻不同角度获取的车辆外形图像数据在一个三维坐标系内进行聚合,最终形成一个完整的车辆三维图像数据,包含车辆外形以及各图像点的位置坐标。根据形成的车辆三维图像数据,本地计算机或后台服务器则进一步计算出对车辆的清洗路径及风干路径。Since the imaging device is imaging in real time during motion, it is necessary to aggregate the vehicle shape image data acquired by the sensor from different angles at different times in a three-dimensional coordinate system, and finally form a complete three-dimensional image data of the vehicle, including the vehicle shape and various The location coordinates of the image points. According to the formed three-dimensional image data of the vehicle, the local computer or background server further calculates the cleaning path and air-drying path for the vehicle.
在图像采集时,通过成像设备获取的车辆外形数据往往会出现缺失或其它异常的问题,导致成像效果不良,尤其是在深色镜面(尤其是黑色镜面)与车玻璃部分。为解决此问题,可以对获取的数据进行进一步的优化处理,以达到良好的成像效果。During image acquisition, the vehicle shape data acquired by imaging equipment often has missing or other abnormal problems, resulting in poor imaging effects, especially in dark mirrors (especially black mirrors) and car glass parts. To solve this problem, the acquired data can be further optimized to achieve a good imaging effect.
在一些实施例汇总,对获取的外形图像数据进行优化处理包括如下方式:In some embodiments, optimizing the acquired shape image data includes the following methods:
方式一,对车辆外形图像数据的连续性进行判断,对出现空白的图像区域进行模糊填充处理。The first way is to judge the continuity of the image data of the vehicle shape, and to perform fuzzy filling processing on the blank image area.
车辆外形是具有明显的连续性特征的,以车辆外形图像数据的连续性作为成像数据是否完整的判别依据,其中,对车辆的连续性判断可以采用离群点检测算法、区域生长以或车辆特征区域先验知识算法来判断。离群点检验就是找出其行为不同于预期对象的过程,包括:基于统计学方法的离群点检测、基于距离的离群点检验和、基于密度的离群点检验等,以基于距离的离群点检测方法为例,其考虑对象给定半径的邻域,如果它的邻域没有足够多的其他点,则认为它为离群点,通过离群点检验去掉明显不符合规律的数据。区域生长算法就是将具有相似性质的像素点合并到一起,将不具有相同特征的联通区域分割出来,并能提供很好的边界信息和分割结果。示例性的,扫描的点云数据,将相邻的点进行连线,形成网格,计算网格的法线方向,具有方向相同的法线点云网格大概率属于同一物体。车辆特征区域先验知识是首先通过特征模型分离出车辆的不同表面区域性质,如其中一块区域是前发动机盖,则判断该区域不可能出现大型空洞,需要修补。在判断出车辆存在部分外形图像数据不连续的情况,如出现镂空或空白区域时,则进行模糊填充处理,模糊填充可基于插值填充算法,对空白区域自动生成图像。The vehicle shape has obvious continuity characteristics, and the continuity of the vehicle shape image data is used as the basis for judging whether the imaging data is complete. Among them, the continuity of the vehicle can be judged by outlier detection algorithm, region growing, or vehicle characteristics. Regional prior knowledge algorithm to judge. Outlier inspection is the process of finding out that its behavior is different from the expected object, including: outlier detection based on statistical methods, distance-based outlier inspection sum, density-based outlier inspection, etc., based on distance Take the outlier detection method as an example. It considers the neighborhood of a given radius of the object. If there are not enough other points in its neighborhood, it is considered an outlier, and the data that is obviously irregular is removed through the outlier test. . The region growing algorithm is to merge pixels with similar properties together, segment connected regions that do not have the same characteristics, and provide good boundary information and segmentation results. Exemplarily, for the scanned point cloud data, adjacent points are connected to form a grid, and the normal direction of the grid is calculated. The normal point cloud grids with the same direction have a high probability of belonging to the same object. The prior knowledge of the vehicle feature area is to first separate the different surface area properties of the vehicle through the feature model. If one of the areas is the front engine cover, it is judged that there is no large cavity in this area and it needs to be repaired. When it is judged that there is some discontinuity in the image data of the vehicle's shape, such as a hollow or blank area, it will perform fuzzy filling processing. The fuzzy filling can automatically generate an image for the blank area based on the interpolation filling algorithm.
方式二,根据车辆的对称性特点,在检测到单侧扫描得到的图像数据不良时,对另一侧扫描得到的合格的图像数据做镜像处理,最终合成得到车辆的完整的三维图像数据。在一些可选的实施方式中,响应于检测到车辆单侧扫描得到的图像数据不良,对另一侧扫描得到的合格的图像数据做镜像处理,最终合成得到车辆完整的三维图像数据。Method 2: According to the symmetry characteristics of the vehicle, when the image data scanned on one side is detected to be defective, the qualified image data scanned on the other side is mirrored, and finally the complete 3D image data of the vehicle is synthesized. In some optional implementations, in response to detecting that the image data scanned from one side of the vehicle is defective, image processing is performed on qualified image data scanned from the other side, and finally the complete 3D image data of the vehicle is synthesized.
目前市场上的车辆外形多数是对称设计的,比如汽车外部后视镜大概率不会孤立存在。基于上述特点,在单侧扫描不良时,利用对称的另一侧的扫描结果进行镜像替换。具体来说,通过传感器运动扫描,判断数据是否缺失,如果某部分数据缺失比较严重,但根据车辆的中轴线,寻找该缺失部分对应的另外一侧的扫描结果,在实际操作中,轮毂数据的成像理论上是最好的,这样就很方便的以两侧的轮廓数据及坐标作为参考,在坐标系内,建立对称面,进行左右图像数据的镜像替换,最终生成一个完整的三维图像数据。At present, most of the vehicles on the market are designed symmetrically. For example, the exterior rearview mirrors of automobiles will most likely not exist in isolation. Based on the above characteristics, when one side of the scan is defective, the mirror image replacement is performed using the scan result of the other side that is symmetrical. Specifically, through sensor motion scanning, it is judged whether the data is missing. If a certain part of the data is missing more seriously, but according to the central axis of the vehicle, look for the scanning result on the other side corresponding to the missing part. In actual operation, the hub data Imaging is the best in theory, so it is very convenient to use the contour data and coordinates on both sides as a reference, establish a symmetrical plane in the coordinate system, perform mirror replacement of left and right image data, and finally generate a complete 3D image data.
方式三,建立包含不同车型的车辆完整外形的模型数据库,构建当前环境结构内的构筑物与机器设备的场景数据模型,对车辆进行扫描时,定位车辆在当前环境结构内的相对位置,当车辆扫描成像经过优化处理仍然不良时,在待清洗的车辆所在的当前位置,以模型数据库中的同类型的车辆模型进行替换。此外,还可以存储车辆的历史扫描数据,存储的历史扫描数据至少是体现车辆完整外形特征的数据,优选从车辆最近一次的扫描形成的完整外形特征的数据,当车辆存在多次扫描时,可以仅保留其中一次合格的扫描数据,并使用最优的扫描数据替换之前的扫描数据。The third way is to establish a model database containing the complete shape of vehicles of different models, and construct a scene data model of structures and machinery in the current environment structure. When scanning the vehicle, locate the relative position of the vehicle in the current environment structure. When the vehicle scans If the image is still poor after optimization, the vehicle to be cleaned is replaced by a vehicle model of the same type in the model database at the current position. In addition, the historical scan data of the vehicle can also be stored. The stored historical scan data is at least the data reflecting the complete appearance characteristics of the vehicle, preferably the data of the complete appearance characteristics formed from the latest scan of the vehicle. When the vehicle has multiple scans, it can be Only keep one qualified scan data, and replace the previous scan data with the optimal scan data.
在一些可选的实施方式中,响应于扫描的车辆的外形图像数据经过优化处理后仍然被确定为不良,执行如下处理操作:基于建立的包含大量不同车型的车辆完整外形的模型数据库,根据检测的当前车辆的型号从模型数据库中查询出同型号的车辆模型数据进行替换;或者,查询当前车辆是否有历史扫描数据,响应于存在历史扫描数据,从历史扫描数据选择对应的车辆模型数据进行替换。In some optional implementation manners, in response to the fact that the scanned vehicle shape image data is still determined to be bad after optimization processing, the following processing operations are performed: based on the established model database containing a large number of complete vehicle shapes of different models, according to the detected The model of the current vehicle is queried from the model database to replace the vehicle model data of the same model; or, query whether the current vehicle has historical scan data, and in response to the existence of historical scan data, select the corresponding vehicle model data from the historical scan data to replace .
以实际车辆的外形为准,当发生成像质量实在无法优化,或者优化后也达不到相应的标准时,则直接以系统数据库中相同型号的车辆的外形数据模型直接替换为当前扫描的数据,或者从该车辆以前被扫描过的历史扫描数据中查询找到相应的数据模型,这样,后台服务器直接以模型数据库中的同类型车辆模型数据或者历史扫描数据中的模型数据为准,基于查询出的车辆的模型数据进行清洗路径和风干路径的规划。The shape of the actual vehicle shall prevail. When the imaging quality cannot be optimized, or the corresponding standard cannot be reached after optimization, the shape data model of the same type of vehicle in the system database shall be directly replaced with the currently scanned data, or Query to find the corresponding data model from the previously scanned historical scan data of the vehicle. In this way, the background server directly takes the model data of the same type of vehicle in the model database or the model data in the historical scan data as the standard, and based on the queried vehicle The model data is used to plan the cleaning path and air-drying path.
上述三种方式从不同方向实现了对车辆扫描数据的优化,其中,上述三种方式可以分开独立进行,也即根据不同的情况直接选用不同的优化方式,或者相互配合。举例来说,当完成成像扫描后,优先进行方式一的优化,也即对车辆外形图像特征的连续性进行判断,如存在部分部位不连续,则直接进行模糊填充处理,经过方式一的处理,基本上能够处理大多数的扫描结果;但是,当存在的不连续部位较大,或者部分区域扫描质量太差、断层较多、无法进行模糊填充时,则可以采用方式二中的对称优化方式,当然,在方式二中也可以同时进行方式一的处理,比如先对扫描结果相对好的车辆一侧进 行某部位的模糊填充之后,再基于该侧进行镜像得到另一侧的图像数据;假如在方式一和方式二的处理后,仍然无法获得较好的成像数据,则再考虑方式三中从数据库或历史扫描数据中选出同类的车辆模型进行等同替换。The above three methods realize the optimization of the vehicle scanning data from different directions, wherein the above three methods can be performed independently, that is, directly select different optimization methods according to different situations, or cooperate with each other. For example, after the imaging scan is completed, the optimization of the first method is given priority, that is, the continuity of the image features of the vehicle shape is judged. If there are some discontinuities, the fuzzy filling process is directly performed. Basically, it can handle most of the scanning results; however, when there are large discontinuous parts, or the scanning quality of some areas is too poor, there are many faults, and fuzzy filling cannot be performed, the symmetrical optimization method in method 2 can be used. Of course, in the second method, the processing of the first method can also be carried out at the same time, for example, after the fuzzy filling of a certain part is performed on the side of the vehicle with a relatively good scanning result, and then the image data of the other side is obtained by mirroring based on this side; if in After the processing of method 1 and method 2, if still unable to obtain better imaging data, then consider method 3 to select similar vehicle models from the database or historical scan data for equivalent replacement.
在一些可选的实施方式中,还可以通过大数据构建人工智能模型,持续学习不同成像设备或成像数据的优缺点。动态实时扫描车辆的外形图像,获取大量的扫描数据,建立人工智能模型,学习和理解机器成像过程中存在的数据缺陷并进行完善和精准预测。In some optional implementation manners, an artificial intelligence model can also be constructed through big data, and continuously learn the advantages and disadvantages of different imaging devices or imaging data. Dynamic real-time scanning of vehicle appearance images, obtaining a large amount of scanning data, building an artificial intelligence model, learning and understanding the data defects existing in the machine imaging process, and making perfect and accurate predictions.
在扫描成像过程中,或多或少会出现部分成像效果不佳的情况,这些情况可能和所处的环境有关系,比如光线、温湿度等,或者跟扫描设备自身有关系,比如精度、角度、设备参数等,或者与算法本身有关系,比如滤波器参数或者滤波器模型,通过不断扫描获取车辆的外形图像数据,如此能够获得大量的扫描数据,基于这些扫描数据和结果,建立人工智能模型,通过对模型不断的学习与理解,能够挖掘出成像设备或者成像数据存在的缺陷,根据结果统计出识别率较为准确的一组参数值,通过大数据的积累,进而对参数不断调整、不断改善,最终能预测出更精确的扫描结果。During the scanning imaging process, there will be more or less poor imaging effects, which may be related to the environment, such as light, temperature and humidity, or related to the scanning equipment itself, such as accuracy, angle , equipment parameters, etc., or have a relationship with the algorithm itself, such as filter parameters or filter models, through continuous scanning to obtain the shape image data of the vehicle, so that a large amount of scanning data can be obtained, based on these scanning data and results, an artificial intelligence model can be established , through continuous learning and understanding of the model, the defects of imaging equipment or imaging data can be excavated, and a set of parameter values with relatively accurate recognition rate can be calculated according to the results. Through the accumulation of big data, the parameters can be continuously adjusted and improved , and ultimately predict more accurate scan results.
本申请实施例所公开的一种车辆三维扫描成像方法,在同一个坐标系内,通过多传感器运动扫描的方式,明显提升了成像精度和成像质量,同时结合多种方式的优化处理,可以进一步提升成像质量,尤其是在深色镜面与车玻璃部分,成像效果更佳。A vehicle three-dimensional scanning imaging method disclosed in the embodiment of the present application can significantly improve the imaging accuracy and imaging quality by means of multi-sensor motion scanning in the same coordinate system. Improve the imaging quality, especially in the dark mirror and car glass, the imaging effect is better.
在一些实施例中,车辆三维扫描方法可以应用于图5所示的应用环境中。图5中,服务器501可以执行车辆三维扫描方法,例如可以执行步骤S101、步骤S102和步骤S103。当然,服务器501还可以执行其他更多的步骤。成像设备502可以对车辆进行运动扫描而得到外形图像数据,并将外形图像数据发送至服务器501。在一些可选的实施方式中,服务器501还可以通过发送控制信号的方式,控制成像设备502对车辆进行运动扫描。In some embodiments, the vehicle three-dimensional scanning method can be applied in the application environment shown in FIG. 5 . In FIG. 5 , the server 501 can execute the vehicle three-dimensional scanning method, for example, step S101 , step S102 and step S103 can be executed. Of course, the server 501 can also perform other more steps. The imaging device 502 can scan the vehicle in motion to obtain outline image data, and send the outline image data to the server 501 . In some optional implementation manners, the server 501 may also control the imaging device 502 to scan the vehicle for motion by sending a control signal.
在上述的一些实施例中,在执行车辆三维扫描成像方法的过程中,通过多类型传感器的运动式扫描,提升了成像数据的分辨率、三维测量精度和成像质量。In some of the above-mentioned embodiments, during the execution of the vehicle three-dimensional scanning imaging method, the resolution of the imaging data, the precision of the three-dimensional measurement and the imaging quality are improved through the motion scanning of multiple types of sensors.
在上述的一些实施例中,在执行车辆三维扫描成像方法的过程中,通过调整传感器的信号源发射角度,使其能够接近或重合于车辆外形的法线方向,采集得到的图像数据更清晰,弱化深色镜面问题。In some of the above-mentioned embodiments, during the process of implementing the vehicle three-dimensional scanning imaging method, by adjusting the emission angle of the signal source of the sensor so that it can approach or coincide with the normal direction of the vehicle shape, the collected image data is clearer, Weaken dark specular issues.
在上述的一些实施例中,在执行车辆三维扫描成像方法的过程中,达到或超越类似高线束激光雷达成像精度和成像质量且成本远低该方式的效果。In some of the above-mentioned embodiments, in the process of implementing the vehicle three-dimensional scanning imaging method, the effect of a method similar to high line beam lidar imaging accuracy and imaging quality and far lower cost is achieved or surpassed.
在上述的一些实施例中,在执行车辆三维扫描成像方法的过程中,通过不同数据优化方式的相互配合,根据不同的情形进行不同类型的优化,形成最佳的扫描成像效果。In some of the above-mentioned embodiments, in the process of executing the vehicle three-dimensional scanning imaging method, different types of optimizations are performed according to different situations through cooperation of different data optimization methods to form the best scanning imaging effect.
如图2所示,本申请实施例提供了一种车辆三维扫描成像系统200,该系统包括:坐标系建立模块201、图像采集模块202、图像生成模块203。As shown in FIG. 2 , the embodiment of the present application provides a vehicle three-dimensional scanning imaging system 200 , which includes: a coordinate system establishment module 201 , an image acquisition module 202 , and an image generation module 203 .
坐标系建立模块201,用于根据车辆所处的作业环境的结构布局构建统一的三维坐标系。The coordinate system establishment module 201 is configured to construct a unified three-dimensional coordinate system according to the structural layout of the working environment where the vehicle is located.
图像采集模块202,用于获取车辆的外形图像数据。其中,图像采集模块通过设置的多种不同类型的成像设备沿停靠在停车区域内的车辆的外侧运动扫描得到。图3是本申请实施例中成像设备的一个布置示意图,示例性的,该成像设备随两侧滑轨上的机器A和机器B沿水平方向移动扫描。The image acquisition module 202 is used to acquire the image data of the vehicle's appearance. Wherein, the image acquisition module scans the outer side of the vehicle parked in the parking area through multiple different types of imaging devices. FIG. 3 is a schematic layout diagram of an imaging device in an embodiment of the present application. Exemplarily, the imaging device moves and scans in a horizontal direction along with machines A and B on slide rails on both sides.
图像生成模块203,用于对不同时刻获取的车辆的外形图像数据统一呈现于三维坐标系内并进行数据聚合,以形成车辆的完整的三维图像数据。The image generation module 203 is used for uniformly presenting the vehicle's outline image data acquired at different times in a three-dimensional coordinate system and performing data aggregation to form complete three-dimensional image data of the vehicle.
为了提升成像质量,在一些可选的实施方式中,车辆三维扫描成像系统200还可以包括数据优化模块(未图示),用于对扫描的外形图像数据的质量进行判断并对存在质量缺陷的进行优化处理。数据优化模块可以包括:图像填充单元、镜像处理单元和车辆模型替换单元。In order to improve the imaging quality, in some optional implementations, the vehicle three-dimensional scanning imaging system 200 may also include a data optimization module (not shown), which is used to judge the quality of the scanned outline image data and correct for optimization. The data optimization module may include: an image filling unit, a mirror image processing unit and a vehicle model replacement unit.
图像填充单元,用于对扫描的车辆外形图像数据中出现的空白图像区域进行模糊填充处理。The image filling unit is used for performing fuzzy filling processing on blank image areas appearing in the scanned vehicle outline image data.
镜像处理单元,用于根据车辆的对称性特点,响应于检测到单侧扫描得到的图像数据不良,对另一侧扫描得到的合格的图像数据做镜像处理进行替换。其中,镜像处理单元可以配合图形填充单元同时使用。The mirror image processing unit is configured to, according to the symmetry characteristics of the vehicle, perform mirror image processing on the qualified image data obtained by scanning on the other side for replacement in response to detecting that the image data obtained by scanning on one side is defective. Wherein, the image processing unit can be used together with the graphic filling unit.
车辆模型替换单元,包括存储有不同车辆模型的完整外形特征的模型数据库以及存储车辆的历史扫描数据,用于响应于当前车辆的扫描成像数据经图像填充单元或镜像处理单元处理后仍然被确定为不良,以该模型数据库的同型号车辆的模型数据进行替换,或从该车辆历史扫描数据中选取合格的模型数据进行替换。The vehicle model replacement unit includes a model database storing complete appearance features of different vehicle models and storing historical scanning data of the vehicle, for responding to the fact that the scanning imaging data of the current vehicle is still determined to be Bad, replace it with the model data of the same model vehicle in the model database, or select qualified model data from the historical scan data of the vehicle for replacement.
当然,本领域技术人员应当能够理解的是,上述数据优化模块中的各功能单元可以相互独立进行或者相互配合进行,但考虑到即使是同一款车型可能存在微小的改装或变化,故优先使用图像填充单元处理,其次镜像处理单元,最后车辆模型替换单元。Of course, those skilled in the art should be able to understand that the various functional units in the above data optimization module can be performed independently or in cooperation with each other, but considering that there may be minor modifications or changes even in the same model, it is preferred to use the image Population cell processing, followed by mirror processing cells, and finally vehicle model replacement cells.
由于持续的扫描成像,形成了大数据积累,本申请的系统还设置有模型建立单元,对机器设备动态实时扫描获取的车辆的外形图像数据进行积累,建立包含车辆完整外形特征的人工智能模型,通过持续学习不同成像装置的优缺点,改进成像装置的参数或者调整滤波器参数,进而提高图像扫描的精度和扫描效率。Due to the continuous scanning and imaging, the accumulation of big data has been formed. The system of the present application is also provided with a model building unit, which accumulates the shape image data of the vehicle acquired by dynamic real-time scanning of the machine equipment, and establishes an artificial intelligence model including the complete shape characteristics of the vehicle. By continuously learning the advantages and disadvantages of different imaging devices, improving the parameters of the imaging device or adjusting the filter parameters, and then improving the accuracy and scanning efficiency of image scanning.
关于车辆三维扫描成像系统200的具体限定可以参见上文中对于车辆车辆三维扫描 成像方法的限定,在此不再赘述。上述车辆三维扫描成像系统200中的各个模块或单元可全部或部分通过软件、硬件及其组合来实现。上述各模块或单元可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the vehicle three-dimensional scanning imaging system 200, please refer to the above-mentioned limitations on the vehicle three-dimensional scanning imaging method, which will not be repeated here. Each module or unit in the above-mentioned vehicle three-dimensional scanning imaging system 200 may be fully or partially realized by software, hardware or a combination thereof. The above-mentioned modules or units may be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above modules.
本申请实施例中的车辆三维扫描成像系统可以具有与前文实施例中所述的车辆三维扫描成像方法相同的技术效果,故在此不再赘述。The vehicle three-dimensional scanning imaging system in the embodiment of the present application may have the same technical effect as the vehicle three-dimensional scanning imaging method described in the foregoing embodiments, so details are not repeated here.
在一些实施例中,本申请实施例提供了一种计算机设备,包括存储器及一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行前文任一实施例中的车辆三维扫描成像方法的步骤。In some embodiments, an embodiment of the present application provides a computer device, including a memory and one or more processors, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the one or more processors, Make one or more processors execute the steps of the vehicle three-dimensional scanning imaging method in any one of the foregoing embodiments.
本申请实施例提供的计算机设备可以是服务器,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现本文任一实施例中的车辆三维扫描成像方法。The computer device provided in the embodiment of the present application may be a server, and its internal structure diagram may be as shown in FIG. 4 . The computer device includes a processor, a memory, and a network interface connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the execution of the operating system and computer readable instructions in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer-readable instructions are executed by the processor, the vehicle three-dimensional scanning imaging method in any embodiment herein can be implemented.
在一些实施例中,本申请实施例还提供了一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行前文任一实施例中的车辆三维扫描成像方法的步骤。In some embodiments, the embodiments of the present application also provide one or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, a or a plurality of processors execute the steps of the vehicle three-dimensional scanning imaging method in any of the foregoing embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,前述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本公开实施例所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware. The aforementioned computer programs can be stored in a non-volatile computer-readable storage medium In this case, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided by the embodiments of the present disclosure may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
值得注意的是,以上提供的仅为本申请的部分实施例,并非因此限定本申请的专利保护范围,本申请还可以对上述各种零部件的构造进行材料和结构的改进,或者是采用技术等同物进行替换。故凡运用本申请的说明书及图示内容所作的等效结构变化,或直接或间接运用于其他相关技术领域均同理皆包含于本申请所涵盖的范围内。It is worth noting that the above are only some embodiments of the application, and do not limit the scope of patent protection of the application. equivalents are substituted. Therefore, all equivalent structural changes made by using the instructions and illustrations of this application, or directly or indirectly applied to other related technical fields are also included in the scope of this application.

Claims (14)

  1. 一种车辆三维扫描成像方法,其特征在于,包括:A vehicle three-dimensional scanning imaging method, characterized in that it comprises:
    根据车辆所处的作业环境建立统一的三维坐标系;Establish a unified three-dimensional coordinate system according to the operating environment of the vehicle;
    通过成像设备对停靠在停车区域内的车辆进行运动扫描,得到不同时刻的车辆的外形图像数据并统一呈现于所述统一的三维坐标系内;以及Scanning the motion of the vehicles parked in the parking area through the imaging device, obtaining the image data of the vehicle's appearance at different times and presenting them in the unified three-dimensional coordinate system; and
    将呈现于所述三维坐标系内的外形图像数据进行聚合,形成车辆的完整的三维图像数据。The shape image data presented in the three-dimensional coordinate system are aggregated to form complete three-dimensional image data of the vehicle.
  2. 如权利要求1所述的成像方法,其特征在于,还包括:对扫描的所述外形图像数据的点云质量进行判断并对存在质量缺陷的进行优化处理;The imaging method according to claim 1, further comprising: judging the quality of the point cloud of the scanned outline image data and optimizing the quality defects;
    其中,所述的优化处理包括:对车辆外形图像数据的连续性进行判断,对出现空白的图像区域进行模糊填充处理;和/或,根据车辆的对称性特点,响应于检测到车辆单侧扫描得到的图像数据不良,对另一侧扫描得到的合格的图像数据做镜像处理,最终合成得到车辆完整的三维图像数据。Wherein, the optimization process includes: judging the continuity of the vehicle shape image data, and performing fuzzy filling processing on the blank image area; and/or, according to the symmetry characteristics of the vehicle, in response The obtained image data is bad, and the qualified image data scanned on the other side is mirrored, and finally the complete three-dimensional image data of the vehicle is synthesized.
  3. 如权利要求2所述的成像方法,其特征在于,还包括:响应于扫描的车辆的外形图像数据经过所述优化处理后仍然被确定为不良,执行如下处理操作:基于建立的包含大量不同车型的车辆完整外形的模型数据库,根据检测的当前车辆的型号从所述模型数据库中查询出同型号的车辆模型数据进行替换;或者,查询当前车辆是否有历史扫描数据,响应于存在历史扫描数据,从历史扫描数据选择对应的车辆模型数据进行替换。The imaging method according to claim 2, further comprising: in response to the fact that the scanned profile image data of the vehicle is still determined to be bad after the optimization process, performing the following processing operations: A model database of the complete shape of the vehicle, according to the model of the detected current vehicle, query the vehicle model data of the same model from the model database for replacement; or, query whether the current vehicle has historical scan data, and respond to the presence of historical scan data, Select the corresponding vehicle model data from the historical scan data for replacement.
  4. 如权利要求2所述的成像方法,其特征在于,所述的优化处理还包括:动态实时扫描车辆的外形图像,获取大量的扫描数据,建立人工智能模型,学习和理解成像过程中成像设备存在的缺陷并对所述成像设备的工作参数进行完善。The imaging method according to claim 2, wherein said optimization processing also includes: dynamically scanning the outline image of the vehicle in real time, acquiring a large amount of scanning data, establishing an artificial intelligence model, and learning and understanding the presence of imaging equipment during the imaging process. defects and improve the working parameters of the imaging device.
  5. 如权利要求1所述的成像方法,其特征在于,所述根据作业环境建立统一的所述三维坐标系,包括:The imaging method according to claim 1, wherein said establishing a unified three-dimensional coordinate system according to the working environment comprises:
    根据车辆所在的作业环境的结构布局,确定该结构布局内的某一点为坐标原点,同时确定坐标系类型及方向;以及According to the structural layout of the working environment where the vehicle is located, determine a certain point within the structural layout as the coordinate origin, and determine the type and direction of the coordinate system at the same time; and
    对该环境结构内的构筑物以及停车区域内的车辆位置进行测量和位置标定,确定它们相对坐标原点的坐标点。Measure and calibrate the positions of the structures in the environmental structure and the vehicles in the parking area, and determine their coordinate points relative to the origin of the coordinates.
  6. 如权利要求5所述的成像方法,其特征在于,所述运动扫描包括:对实际扫描的图像数据与测量标定的位置数据进行修正;The imaging method according to claim 5, wherein the motion scanning comprises: correcting the actually scanned image data and the measured and calibrated position data;
    所述修正包括:以测量标定出的构筑物及车辆相对原点的位置坐标点为基准,与成像设备实际扫描获得的图像数据相对原点的坐标点进行对比,标定成像精度误差,如存在误差,则将误差范围预设于成像数据中并进行修正。The correction includes: taking the position coordinate points of the structure and the vehicle relative to the origin that have been measured and calibrated as the reference, and comparing with the coordinate points of the image data obtained by the actual scanning of the imaging device relative to the origin, to calibrate the imaging accuracy error, and if there is an error, the A margin of error is preset and corrected in the imaging data.
  7. 如权利要求1所述的成像方法,其特征在于,所述的运动扫描包括移动扫描、旋转扫描或者二者的组合,所述的移动扫描包括水平方向、竖直方向或斜向的移动式扫描。The imaging method according to claim 1, wherein the motion scan includes motion scan, rotation scan or a combination of the two, and the motion scan includes horizontal, vertical or oblique motion scan .
  8. 如权利要求7所述的成像方法,其特征在于,所述运动扫描,还包括:对车辆不同位置进行扫描时,控制并调整成像设备的位置及姿态,使得入射源贴近汽车表面的法线方向;其中,所述对车辆不同位置进行扫描包括全局扫描和局部扫描。The imaging method according to claim 7, wherein the motion scanning further comprises: when scanning different positions of the vehicle, controlling and adjusting the position and posture of the imaging device so that the incident source is close to the normal direction of the vehicle surface ; Wherein, the scanning of different positions of the vehicle includes global scanning and local scanning.
  9. 如权利要求1或8所述的成像方法,其特征在于,所述成像设备包括激光雷达、视觉传感器、图像传感器、距离传感器、毫米波传感器、超声波传感器、热成像传感器中的一种或多种。The imaging method according to claim 1 or 8, wherein the imaging device includes one or more of laser radar, vision sensor, image sensor, distance sensor, millimeter wave sensor, ultrasonic sensor, thermal imaging sensor .
  10. 如权利要求9所述的成像方法,其特征在于,还包括:对不同种类的成像设备采集的图像数据进行融合处理。The imaging method according to claim 9, further comprising: performing fusion processing on image data collected by different types of imaging devices.
  11. 一种车辆三维扫描成像系统,其特征在于,包括:A vehicle three-dimensional scanning imaging system, characterized in that it comprises:
    坐标系建立模块,用于根据作业环境内的结构布局构建统一的三维坐标系;The coordinate system establishment module is used to construct a unified three-dimensional coordinate system according to the structural layout in the working environment;
    图像采集模块,用于获取车辆的外形图像数据;其中,所述外形图像数据通过设置的多种成像设备沿停靠在停车区域内的车辆外侧运动扫描得到;以及The image acquisition module is used to acquire the outline image data of the vehicle; wherein, the outline image data is obtained by scanning the outer side of the vehicle parked in the parking area by various imaging devices; and
    图像生成模块,用于对不同时刻获取的车辆的外形图像数据统一呈现于所述三维坐标系内并进行数据聚合,以形成车辆的完整的三维图像数据。The image generating module is used for uniformly presenting the external image data of the vehicle acquired at different times in the three-dimensional coordinate system and performing data aggregation to form complete three-dimensional image data of the vehicle.
  12. 如权利要求10所述的系统,其特征在于,还包括:数据优化模块,用于对扫描的所述外形图像数据的质量进行判断并对存在质量缺陷的进行优化处理;The system according to claim 10, further comprising: a data optimization module, configured to judge the quality of the scanned profile image data and optimize the data with quality defects;
    其中,所述数据优化模块包括:Wherein, the data optimization module includes:
    图像填充单元,对扫描的车辆外形图像数据中出现的空白图像区域进行模糊填充处理;The image filling unit performs fuzzy filling processing on the blank image area appearing in the scanned vehicle shape image data;
    镜像处理单元,根据车辆的对称性特点,响应于检测到单侧扫描得到的图像数据不良,对另一侧扫描得到的合格的图像数据做镜像处理进行替换;The mirror image processing unit, according to the symmetry characteristics of the vehicle, responds to the detection of bad image data obtained by scanning on one side, and performs mirror processing on the qualified image data obtained by scanning on the other side to replace it;
    车辆模型替换单元,包括存储有不同车辆模型的完整外形特征的模型数据库以及存储车辆的历史扫描数据,用于响应于前车辆的扫描成像数据经图像填充单元或镜像处理单元处理后仍然被确定为不良,以所述模型数据库的同型号车辆的模型数据进行替换,或从该车辆的历史扫描数据中选取对应合格的模型数据进行替换;以及The vehicle model replacement unit includes a model database storing the complete shape features of different vehicle models and storing historical scanning data of the vehicle, which is used to respond to the scanning imaging data of the preceding vehicle being processed by the image filling unit or the image processing unit and still determined as Defective, replace it with the model data of the same model vehicle in the model database, or select the corresponding qualified model data from the historical scan data of the vehicle for replacement; and
    智能模型建立单元,对动态实时扫描获取的车辆的外形图像数据进行积累,建立包 含车辆外形特征的人工智能模型。The intelligent model building unit accumulates the vehicle shape image data obtained by dynamic real-time scanning, and establishes an artificial intelligence model including vehicle shape features.
  13. 一种计算机设备,其特征在于,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1-10中任一所述方法的步骤。A computer device, characterized by comprising a memory and one or more processors, wherein computer readable instructions are stored in the memory, and when the computer readable instructions are executed by the one or more processors, the The one or more processors execute the steps of the method according to any one of claims 1-10.
  14. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1-10中任一所述方法的步骤。One or more non-transitory computer-readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors Performing the steps of the method according to any one of claims 1-10.
PCT/CN2022/125861 2021-10-18 2022-10-18 Three-dimensional scanning and imaging method and system for vehicle, and computer device and storage medium WO2023066232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111210901.X 2021-10-18
CN202111210901.XA CN114088041A (en) 2021-10-18 2021-10-18 Vehicle three-dimensional scanning imaging method and system

Publications (1)

Publication Number Publication Date
WO2023066232A1 true WO2023066232A1 (en) 2023-04-27

Family

ID=80297070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/125861 WO2023066232A1 (en) 2021-10-18 2022-10-18 Three-dimensional scanning and imaging method and system for vehicle, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN114088041A (en)
WO (1) WO2023066232A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114088041A (en) * 2021-10-18 2022-02-25 北京魔鬼鱼科技有限公司 Vehicle three-dimensional scanning imaging method and system
WO2023108544A1 (en) * 2021-12-15 2023-06-22 深圳航天科技创新研究院 Single-antenna ultra-wideband radar system for imaging application
CN114863695B (en) * 2022-05-30 2023-04-18 中邮建技术有限公司 Overproof vehicle detection system and method based on vehicle-mounted laser and camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137614A1 (en) * 2015-06-09 2018-05-17 Vehant Technologies Private Limited System and method for detecting a dissimilar object in undercarriage of a vehicle
CN111340877A (en) * 2020-03-25 2020-06-26 北京爱笔科技有限公司 Vehicle positioning method and device
CN111915652A (en) * 2020-08-14 2020-11-10 广州立信电子科技有限公司 Vehicle beauty maintenance intelligent service platform based on big data machine vision
CN112099050A (en) * 2020-09-14 2020-12-18 北京魔鬼鱼科技有限公司 Vehicle appearance recognition device and method, vehicle processing apparatus and method
CN114088041A (en) * 2021-10-18 2022-02-25 北京魔鬼鱼科技有限公司 Vehicle three-dimensional scanning imaging method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103162639B (en) * 2011-12-12 2015-06-10 无锡物联网产业研究院 Method, device and system for obtaining vehicle three-dimensional outline
CN103162659B (en) * 2013-03-22 2015-11-25 张振宇 A kind of method constructing three-dimensional vehicle scan table and generate goods stochastic sampling point
CN107167090A (en) * 2017-03-13 2017-09-15 深圳市速腾聚创科技有限公司 Vehicle overall dimension measuring method and system
US11482008B2 (en) * 2019-07-05 2022-10-25 Nvidia Corporation Directing board repositioning during sensor calibration for autonomous vehicles
CN112434368A (en) * 2020-10-20 2021-03-02 联保(北京)科技有限公司 Image acquisition method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180137614A1 (en) * 2015-06-09 2018-05-17 Vehant Technologies Private Limited System and method for detecting a dissimilar object in undercarriage of a vehicle
CN111340877A (en) * 2020-03-25 2020-06-26 北京爱笔科技有限公司 Vehicle positioning method and device
CN111915652A (en) * 2020-08-14 2020-11-10 广州立信电子科技有限公司 Vehicle beauty maintenance intelligent service platform based on big data machine vision
CN112099050A (en) * 2020-09-14 2020-12-18 北京魔鬼鱼科技有限公司 Vehicle appearance recognition device and method, vehicle processing apparatus and method
CN114088041A (en) * 2021-10-18 2022-02-25 北京魔鬼鱼科技有限公司 Vehicle three-dimensional scanning imaging method and system

Also Published As

Publication number Publication date
CN114088041A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
WO2023066232A1 (en) Three-dimensional scanning and imaging method and system for vehicle, and computer device and storage medium
WO2023066231A1 (en) Vehicle point cloud recognition imaging method, system, computer device, and storage medium
CN111368706B (en) Data fusion dynamic vehicle detection method based on millimeter wave radar and machine vision
US20220371602A1 (en) Vehicle positioning method, apparatus, and controller, intelligent vehicle, and system
CN107632308B (en) Method for detecting contour of obstacle in front of vehicle based on recursive superposition algorithm
CN111028340B (en) Three-dimensional reconstruction method, device, equipment and system in precise assembly
CN105404844A (en) Road boundary detection method based on multi-line laser radar
CN111257909B (en) Multi-2D laser radar fusion mapping and positioning method and system
CN110766760B (en) Method, device, equipment and storage medium for camera calibration
CN114283391A (en) Automatic parking sensing method fusing panoramic image and laser radar
US20230300319A1 (en) Automated real-time calibration
CN113947639A (en) Self-adaptive online estimation calibration system and method based on multi-radar-point cloud line characteristics
CN110766761A (en) Method, device, equipment and storage medium for camera calibration
CN112000109B (en) Position correction method for power inspection robot, power inspection robot and medium
CN115151836A (en) Method for detecting a moving object in the surroundings of a vehicle and motor vehicle
CN117274036A (en) Parking scene detection method based on multi-view and time sequence fusion
CN116840853A (en) Method and system for removing tailing points and outliers of multi-line laser radar
CN117169848A (en) Method for filtering glass noise, laser radar and robot
Alefs et al. Hypothesis based vehicle detection for increased simplicity in multi-sensor ACC
CN113385779B (en) Large-break-angle welding seam tracking and obstacle prediction system based on binocular four-line vision sensing
CN112884845B (en) Indoor robot obstacle positioning method based on single camera
US20230009071A1 (en) Control method for light sources of vision machine, and vision machine
CN113627569A (en) Data fusion method for radar video all-in-one machine used for traffic large scene
CN210294530U (en) Automatic walking device and robot
Wang et al. Algorithm Research Based on 2D LiDAR-Binocular Camera Fusion

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: 22882837

Country of ref document: EP

Kind code of ref document: A1