CN109727188A - Image processing method and device, safe driving method and device - Google Patents

Image processing method and device, safe driving method and device Download PDF

Info

Publication number
CN109727188A
CN109727188A CN201711050555.7A CN201711050555A CN109727188A CN 109727188 A CN109727188 A CN 109727188A CN 201711050555 A CN201711050555 A CN 201711050555A CN 109727188 A CN109727188 A CN 109727188A
Authority
CN
China
Prior art keywords
image
vehicle
pedestrian
safe driving
target
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201711050555.7A
Other languages
Chinese (zh)
Inventor
何敏政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201711050555.7A priority Critical patent/CN109727188A/en
Priority to PCT/CN2018/112902 priority patent/WO2019085929A1/en
Publication of CN109727188A publication Critical patent/CN109727188A/en
Pending legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00—Geometric image transformations in the plane of the image
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00—Geometric image transformations in the plane of the image
    • G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00—Image enhancement or restoration
    • G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00—Image analysis
    • G06T7/20—Analysis of motion
    • G—PHYSICS
    • G08—SIGNALLING
    • G08G—TRAFFIC CONTROL SYSTEMS
    • G08G1/00—Traffic control systems for road vehicles
    • G08G1/16—Anti-collision systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Traffic Control Systems (AREA)
  • Image Processing (AREA)

Abstract

本发明提出一种图像处理方法及其装置、安全驾驶方法及其装置,其中,图像处理方法包括:基于车辆上的双摄像装置获取第一图像和第二图像;对第一图像和第二图像进行图像融合,形成目标图像;从目标图像中识别每个对象;其中,对象为行人对象或者车辆对象。该图像处理方法通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性。

The present invention provides an image processing method and device, a safe driving method and device thereof, wherein the image processing method includes: acquiring a first image and a second image based on a dual camera device on a vehicle; Perform image fusion to form a target image; identify each object from the target image; wherein, the object is a pedestrian object or a vehicle object. The image processing method forms a target image by image fusion of the images captured by the dual cameras, which can ensure the quality of the target image, thereby recognizing the target image, improving the accuracy of object recognition, and thus ensuring the safety of vehicle driving.

Description

图像处理方法及其装置、安全驾驶方法及其装置Image processing method and device, safe driving method and device

技术领域technical field

本发明涉及车辆控制技术领域,尤其涉及一种图像处理方法及其装置、安全驾驶方法及其装置。The present invention relates to the technical field of vehicle control, and in particular, to an image processing method and device thereof, a safe driving method and device thereof.

背景技术Background technique

随着车辆保有量的持续增加,交通事故的发生率也随之增加。为了有效保证车辆的驾驶人员以及车辆中乘客的生命与财产安全,车辆生产厂商均致力于开发更加可靠的安全辅助系统。As the number of vehicles continues to increase, the incidence of traffic accidents also increases. In order to effectively ensure the safety of life and property of the driver and the passengers in the vehicle, vehicle manufacturers are committed to developing more reliable safety assistance systems.

现有技术中,车辆的高级驾驶辅助系统(Advanced Driver Assistant System,ADAS)采用视觉方式,对车辆外部的环境数据进行采集,而后对采集的数据进行对象的识别。具体地,采用可见光摄像装置获取车辆外部的图像,而后对采集到的图像进行对象识别。In the prior art, an Advanced Driver Assistant System (ADAS) of a vehicle uses a visual method to collect environmental data outside the vehicle, and then performs object recognition on the collected data. Specifically, a visible light camera device is used to acquire an image outside the vehicle, and then object recognition is performed on the acquired image.

这种方式下,由于可见光摄像装置只能在光线充足的场景下,拍摄高质量的图像,而在光线较弱的场景下,拍摄的图像画面较为模糊,且噪声较大,因此,在后续对图像进行对象识别的过程中,对象的误识别率以及漏识别率较大,直接影响车辆的行驶安全。In this way, since the visible light camera can only capture high-quality images in scenes with sufficient light, and in scenes with weak light, the captured images are blurred and noisy. In the process of object recognition from images, the false recognition rate and missed recognition rate of objects are relatively large, which directly affects the driving safety of vehicles.

发明内容SUMMARY OF THE INVENTION

本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本发明的第一个目的在于提出一种图像处理方法,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性,用于解决现有ADAS系统采用可见光摄像装置获取车辆外部的图像,在光线较弱的场景下,拍摄的图像画面较为模糊,且噪声较大,因此,在后续对图像进行对象识别的过程中,对象的误识别率以及漏识别率较大,直接影响车辆的行驶安全的技术问题。Therefore, the first object of the present invention is to propose an image processing method, which can ensure the quality of the target image by performing image fusion on the images captured by the dual cameras to form a target image, so that the target image can be recognized, and the target image can be improved. The accuracy of recognition, thereby ensuring the safety of vehicle driving, is used to solve the problem that the existing ADAS system uses a visible light camera device to obtain images outside the vehicle. Therefore, in the subsequent process of object recognition on the image, the false recognition rate and the missed recognition rate of the object are relatively large, which directly affects the technical problem of the driving safety of the vehicle.

本发明的第二个目的在于提出一种安全驾驶方法。The second object of the present invention is to provide a safe driving method.

本发明的第三个目的在于提出一种图像处理装置。The third object of the present invention is to provide an image processing apparatus.

本发明的第四个目的在于提出一种安全驾驶装置。The fourth object of the present invention is to provide a safe driving device.

本发明的第五个目的在于提出一种计算机设备。A fifth object of the present invention is to provide a computer device.

本发明的第六个目的在于提出一种非临时性计算机可读存储介质。A sixth object of the present invention is to propose a non-transitory computer-readable storage medium.

本发明的第七个目的在于提出一种计算机程序产品。A seventh object of the present invention is to propose a computer program product.

为达上述目的,本发明第一方面实施例提出了一种图像处理方法,包括:In order to achieve the above purpose, the embodiment of the first aspect of the present invention proposes an image processing method, including:

基于车辆上的双摄像装置获取第一图像和第二图像;acquiring the first image and the second image based on the dual camera device on the vehicle;

对所述第一图像和所述第二图像进行图像融合,形成目标图像;performing image fusion on the first image and the second image to form a target image;

从所述目标图像中识别每个对象;其中,所述对象为行人对象或者车辆对象。Each object is identified from the target image; wherein the object is a pedestrian object or a vehicle object.

本发明实施例的图像方法,通过基于车辆上的双摄像装置获取第一图像和第二图像;对第一图像和第二图像进行图像融合,形成目标图像;从目标图像中识别每个对象。本实施例中,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性。The image method of the embodiment of the present invention obtains a first image and a second image based on a dual camera device on a vehicle; performs image fusion on the first image and the second image to form a target image; and identifies each object from the target image. In this embodiment, the target image is formed by image fusion of the images captured by the dual cameras, which can ensure the quality of the target image, thereby identifying the target image, improving the accuracy of object recognition, and thus ensuring the safety of vehicle driving.

为达上述目的,本发明第二方面实施例提出了一种安全驾驶方法,包括:In order to achieve the above purpose, a second aspect of the present invention provides a safe driving method, including:

获取目标图像;其中,所述目标图像是根据本发明第一方面实施例所述的图像处理方法得到的;acquiring a target image; wherein, the target image is obtained according to the image processing method described in the embodiment of the first aspect of the present invention;

从所述目标图像中识别每个对象;identify each object from the target image;

根据识别出的所述对象和所述车辆当前的运行信息,生成安全驾驶策略并执行。According to the identified object and the current running information of the vehicle, a safe driving strategy is generated and executed.

本发明实施例的安全驾驶方法,通过获取目标图像,从目标图像中识别每个对象,而后根据识别出的对象和车辆的当前的运行信息,生成安全驾驶策略并执行,能够有效保障车辆行驶的安全性。In the safe driving method of the embodiment of the present invention, a target image is acquired, each object is identified from the target image, and then a safe driving strategy is generated and executed according to the identified object and the current operation information of the vehicle, which can effectively ensure the driving safety of the vehicle. safety.

为达上述目的,本发明第三方面实施例提出了一种图像处理装置,包括:In order to achieve the above-mentioned purpose, an image processing apparatus is provided in an embodiment of the third aspect of the present invention, including:

图像获取模块,用于基于车辆上的双摄像装置获取第一图像和第二图像;an image acquisition module for acquiring the first image and the second image based on the dual camera device on the vehicle;

形成模块,用于对所述第一图像和所述第二图像进行图像融合,形成目标图像;a forming module, configured to perform image fusion on the first image and the second image to form a target image;

第一识别模块,用于从所述目标图像中识别每个对象。A first recognition module for recognizing each object from the target image.

本发明实施例的图像处理装置,通过基于车辆上的双摄像装置获取第一图像和第二图像;对第一图像和第二图像进行图像融合,形成目标图像;从目标图像中识别每个对象。本实施例中,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性。The image processing device according to the embodiment of the present invention obtains a first image and a second image based on a dual camera device on a vehicle; performs image fusion on the first image and the second image to form a target image; and identifies each object from the target image . In this embodiment, the target image is formed by image fusion of the images captured by the dual cameras, which can ensure the quality of the target image, thereby identifying the target image, improving the accuracy of object recognition, and thus ensuring the safety of vehicle driving.

为达上述目的,本发明第四方面实施例提出了一种安全驾驶装置,包括:In order to achieve the above purpose, a fourth aspect of the present invention provides a safe driving device, including:

获取模块,用于获取目标图像;其中,所述目标图像是根据权利要求1-9任一项所述的图像处理方法得到的;an acquisition module for acquiring a target image; wherein, the target image is obtained according to the image processing method according to any one of claims 1-9;

第二识别模块,用于从所述目标图像中识别每个对象;a second identification module for identifying each object from the target image;

生成模块,用于根据识别出的所述对象和所述车辆当前的运行信息,生成安全驾驶策略并执行。The generating module is configured to generate and execute a safe driving strategy according to the identified object and the current running information of the vehicle.

本发明实施例的安全驾驶装置,通过获取目标图像,从目标图像中识别每个对象,而后根据识别出的对象和车辆的当前的运行信息,生成安全驾驶策略并执行,能够有效保障车辆行驶的安全性。The safe driving device according to the embodiment of the present invention can obtain a target image, identify each object from the target image, and then generate and execute a safe driving strategy according to the identified object and the current running information of the vehicle, which can effectively ensure the driving safety of the vehicle. safety.

为达上述目的,本发明第五方面实施例提出了一种计算机设备,包括:处理器和存储器;In order to achieve the above object, a fifth aspect of the present invention provides a computer device, including: a processor and a memory;

其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如本发明第一方法实施例所述的图像处理方法或者第二方面实施例所述的安全驾驶方法。Wherein, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the image processing method according to the first method embodiment of the present invention Or the safe driving method described in the embodiment of the second aspect.

为了实现上述目的,本发明第六方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如本发明第一方法实施例所述的图像处理方法或者第二方面实施例所述的安全驾驶方法。In order to achieve the above object, the embodiment of the sixth aspect of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the first embodiment of the present invention is implemented The image processing method described in the method embodiment or the safe driving method described in the second aspect embodiment.

为了实现上述目的,本发明第七方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如本发明第一方法实施例所述的图像处理方法或者第二方面实施例所述的安全驾驶方法。In order to achieve the above object, an embodiment of the seventh aspect of the present invention provides a computer program product. When an instruction in the computer program product is executed by a processor, the image processing method according to the first method embodiment of the present invention is executed. Or the safe driving method described in the embodiment of the second aspect.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1为本发明实施例所提供的第一种图像处理方法的流程示意图;1 is a schematic flowchart of a first image processing method provided by an embodiment of the present invention;

图2为本发明实施例所提供的第二种图像处理方法的流程示意图;2 is a schematic flowchart of a second image processing method provided by an embodiment of the present invention;

图3为本发明实施例中双摄像装置的标定模板示意图;3 is a schematic diagram of a calibration template of a dual camera device in an embodiment of the present invention;

图4为本发明实施例所提供的第一种安全驾驶方法的流程示意图;4 is a schematic flowchart of a first safe driving method provided by an embodiment of the present invention;

图5为本发明实施例所提供的第二种安全驾驶方法的流程示意图;5 is a schematic flowchart of a second safe driving method provided by an embodiment of the present invention;

图6为本发明实施例所提供的第三种安全驾驶方法的流程示意图;6 is a schematic flowchart of a third safe driving method provided by an embodiment of the present invention;

图7为本发明实施例中目标图像中的每个对象的位置示意图;7 is a schematic diagram of the position of each object in the target image according to the embodiment of the present invention;

图8为本发明实施例中安全驾驶系统的结构示意图;8 is a schematic structural diagram of a safe driving system in an embodiment of the present invention;

图9为本发明实施例所提供的一种图像处理装置的结构示意图;FIG. 9 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention;

图10为本发明实施例所提供的另一种图像处理装置的结构示意图;10 is a schematic structural diagram of another image processing apparatus provided by an embodiment of the present invention;

图11为本发明实施例所提供的一种安全驾驶装置的结构示意图;11 is a schematic structural diagram of a safe driving device according to an embodiment of the present invention;

图12为本发明实施例所提供的另一种安全驾驶装置的结构示意图;12 is a schematic structural diagram of another safe driving device provided by an embodiment of the present invention;

图13为本发明实施例所提供的一种安全辅助系统的结构示意图。FIG. 13 is a schematic structural diagram of a safety assistance system provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

下面参考附图描述本发明实施例的图像处理方法及其装置、安全驾驶方法及其装置。在具体描述本发明实施例之前,为了便于理解,首先对常用技术词进行介绍:The image processing method and device thereof, the safe driving method and the device thereof according to the embodiments of the present invention are described below with reference to the accompanying drawings. Before the specific description of the embodiments of the present invention, in order to facilitate understanding, common technical terms are first introduced:

YUV,是一种颜色编码方法,其中,“Y”表示明亮度(Luminance或Luma),即灰阶值;而“U”和“V”表示色度(Chrominance或Chroma),作用是描述图像色彩及饱和度,用于指定像素的颜色。YUV色彩空间的特点是它的亮度信号Y和色度信号U、V是分离的。如果只有Y信号分量而没有U、V分量,表明图像为黑白灰度图像。YUV is a color coding method, in which "Y" represents the brightness (Luminance or Luma), that is, the grayscale value; while "U" and "V" represent the chromaticity (Chrominance or Chroma), which are used to describe the color of the image and saturation, which specify the color of the pixel. The characteristic of YUV color space is that its luminance signal Y and chrominance signals U and V are separated. If there is only Y signal component but no U and V components, it indicates that the image is a black and white grayscale image.

多尺度分解(Multi-Scale decomposition,MSD),指对输入图像进行多个尺度的缩放,生成多个分辨率的缩小图像,而后在各个尺度的缩放图像上进行分析和处理。MSD可以将图像包含的高低频细节信息分离至各个尺度的缩放图像中,而后可以对图像不同频段的信息进行分析和处理。Multi-Scale decomposition (MSD) refers to scaling the input image at multiple scales to generate reduced images with multiple resolutions, and then analyze and process the scaled images at each scale. MSD can separate the high and low frequency detail information contained in the image into zoomed images of various scales, and then analyze and process the information in different frequency bands of the image.

图1为本发明实施例所提供的第一种图像处理方法的流程示意图。FIG. 1 is a schematic flowchart of a first image processing method provided by an embodiment of the present invention.

如图1所示,该图像处理方法包括以下步骤:As shown in Figure 1, the image processing method includes the following steps:

步骤101,基于车辆上的双摄像装置获取第一图像和第二图像。Step 101, acquiring a first image and a second image based on the dual camera device on the vehicle.

本发明实施例中,车辆上可以并排安装两个不同分辨率的摄像装置,例如可以记为摄像装置A和摄像装置B,其中,摄像装置A和B所拍摄的视野范围相同,以对其拍摄的图像进行后续处理。例如,摄像装置A可以为可见光摄像装置,摄像装置B可以为红外摄像装置。红外摄像装置的分辨率可以低于可见光摄像装置的分辨率,其对场景中的细节信息描述相对不足,因此,可见光摄像装置可以选择高清摄像装置,这样能够保证在光线充足的情况下,可见光摄像装置所拍摄图像对场景的细节信息描述比较清晰,而在光线较弱的情况下,红外摄像装置所拍摄图像对场景的细节信息描述比较清晰。In this embodiment of the present invention, two camera devices with different resolutions may be installed side by side on the vehicle, for example, they may be recorded as camera device A and camera device B, wherein, the fields of view captured by camera devices A and B are the same, so that they can be captured by cameras A and B. image for subsequent processing. For example, the camera A may be a visible light camera, and the camera B may be an infrared camera. The resolution of the infrared camera can be lower than that of the visible light camera, and it is relatively insufficient to describe the detailed information in the scene. Therefore, the visible light camera device can choose a high-definition camera device, which can ensure that in the case of sufficient light, visible light camera. The images captured by the device describe the detailed information of the scene relatively clearly, and in the case of weak light, the images captured by the infrared camera device describe the detailed information of the scene relatively clearly.

因此,可以基于车辆上的双摄像装置的其中一个摄像装置获取第一图像,基于另一个摄像装置获取第二图像。例如可以基于摄像装置A获取第一图像,基于摄像装置B获取第二图像,或者可以基于摄像装置B获取第一图像,基于摄像装置A获取第二图像。Thus, the first image may be acquired based on one of the dual cameras on the vehicle and the second image may be acquired based on the other camera. For example, the first image may be acquired based on camera A and the second image may be acquired based on camera B, or the first image may be acquired based on camera B and the second image may be acquired based on camera A.

本发明实施例以摄像装置A拍摄得到第一图像,摄像装置B拍摄得到第二图像示例。In this embodiment of the present invention, an example is that the camera device A captures the first image, and the camera device B captures the second image.

步骤102,对第一图像和第二图像进行图像融合,形成目标图像。Step 102: Perform image fusion on the first image and the second image to form a target image.

本发明实施例中,由于双摄像装置的分辨率可以不同,在对第一图像和第二图像进行图像融合前,需要调整第一图像和第二图像的分辨率,使得第一图像和第二图像的分辨率相同。In this embodiment of the present invention, since the resolutions of the dual camera devices may be different, before image fusion is performed on the first image and the second image, the resolutions of the first image and the second image need to be adjusted so that the first image and the second image The images are of the same resolution.

例如,可以基于两个图像中的一个图像的分辨率,调整另一个图像的分辨率,使得两个图像的分辨率相同。或者,可以根据第一图像的分辨率和第二图像的分辨率,获取一个折中的分辨率中作为目标分辨率,而后同时调整第一图像和第二图像的分辨率为目标分辨率。例如,当第一图像的分辨率为1600*1200,第二图像的分辨率为1024*768时,目标分辨率可以为1280*960,同时调整第一图像的第二图像的分辨率为1280*960。For example, based on the resolution of one of the two images, the resolution of the other image can be adjusted so that the resolution of the two images is the same. Alternatively, according to the resolution of the first image and the resolution of the second image, a compromised resolution may be obtained as the target resolution, and then the resolutions of the first image and the second image may be simultaneously adjusted as the target resolution. For example, when the resolution of the first image is 1600*1200 and the resolution of the second image is 1024*768, the target resolution can be 1280*960, and the resolution of the second image of the first image is adjusted to 1280* 960.

需要说明的是,虽然双摄像装置并排安装在一起,且拍摄的视野范围相同,但是由于双摄像装置的位置不同,分辨率调整后两个图像还是无法完全重合到一起。因此,本实施例中,可以将分辨率相同的两个图像进行配准,而后对配准后的第一图像和第二图像进行融合,得到目标图像。具体地,可选选择一个图像作为基准图像,而后根据基准图像,对另外一个图像进行几何变换处理,将处理后的图像与该基准图像进行融合,从而使得两个图像完全重合。It should be noted that although the dual camera devices are installed side by side and have the same field of view, the two images cannot be completely overlapped after the resolution adjustment due to the different positions of the dual camera devices. Therefore, in this embodiment, two images with the same resolution can be registered, and then the registered first image and the second image can be fused to obtain the target image. Specifically, one image can be selected as the reference image, and then another image is subjected to geometric transformation processing according to the reference image, and the processed image is fused with the reference image, so that the two images are completely coincident.

步骤103,从目标图像中识别每个对象;其中,对象为行人对象或者车辆对象。Step 103: Identify each object from the target image; wherein, the object is a pedestrian object or a vehicle object.

一般而言,摄像装置的输入图像是彩色图像,且色彩空间是YUV的,为了减少图像融合过程中的运算量,在图像融合的计算过程中,只对色彩空间中的Y分量进行计算,而UV分量不参与计算。Generally speaking, the input image of the camera is a color image, and the color space is YUV. In order to reduce the amount of calculation in the image fusion process, only the Y component in the color space is calculated in the calculation process of the image fusion, and UV components do not participate in the calculation.

本实施例中,在对目标图像中的对象进行识别时,可以从融合后的目标图像中提取出Y分量,无论目标图像是彩色图像还是黑白图像,提取Y分量的过程即为图像的灰度处理过程,以此来减少运算量,提升系统的实时性能。In this embodiment, when recognizing the object in the target image, the Y component can be extracted from the fused target image. Regardless of whether the target image is a color image or a black and white image, the process of extracting the Y component is the grayscale of the image. This reduces the amount of computation and improves the real-time performance of the system.

在从目标图像中提取出Y分量后,即对目标图像进行灰度处理后,可以得到目标图像的灰度图。为了提高灰度图的对比度以及灰度色调的变化,使得灰度图更加清晰,本实施例中,可以对灰度图进行直方图均衡化处理,得到均衡后的灰度图。After the Y component is extracted from the target image, that is, after grayscale processing is performed on the target image, the grayscale image of the target image can be obtained. In order to improve the contrast of the grayscale image and the change of the grayscale tone, and make the grayscale image clearer, in this embodiment, a histogram equalization process may be performed on the grayscale image to obtain an equalized grayscale image.

本发明实施例中,由于行人、车辆等对象的识别规则不同,因此,在得到均衡后的灰度图后,可以将将均衡后灰度图分路,形成至少两路均衡后灰度图,然后可以对一路均衡后灰度图进行行人识别,获取行人对象和行人对象的识别信息,而对另一路均衡后灰度图进行车辆识别,获取车辆对象和车辆对象的识别信息。需要说明的是,上述两路识别处理过程是同时进行的,以提升系统的实时性能。In the embodiment of the present invention, since the identification rules of objects such as pedestrians and vehicles are different, after the equalized grayscale images are obtained, the equalized grayscale images can be divided into at least two channels to form at least two equalized grayscale images. Then, pedestrian recognition can be performed on one of the equalized grayscale images to obtain identification information of pedestrian objects and pedestrian objects, and vehicle identification can be performed on the other equalized grayscale images to obtain vehicle objects and vehicle object identification information. It should be noted that, the above two identification processing processes are performed simultaneously, so as to improve the real-time performance of the system.

其中,识别信息可以包括:坐标信息、宽度信息、高度信息、距离信息等。The identification information may include coordinate information, width information, height information, distance information, and the like.

作为一种可能的实现方式,对于行人对象的识别,可以利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理,而后在每个层次上的缩放图像上进行方向梯度直方图(Histogram of Oriented Gradient,本实施例记为hog)特征提取,进而可以基于hog特征进行分类识别,从对象中识别出的行人对象。对于车辆对象的识别,可以利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理,而后对每个层次上的缩放图像进行哈尔(haar)特征提取,进而可以基于haar特征进行分类识别,从对象中识别出的车辆对象。As a possible implementation, for the recognition of pedestrian objects, the Laplacian pyramid decomposition algorithm can be used to perform multi-level scaling processing on the equalized grayscale image, and then perform directional gradients on the scaled images at each level. Histogram of Oriented Gradient (referred to as hog in this embodiment) feature extraction, and further classification and identification based on the hog feature can be performed to identify pedestrian objects from objects. For vehicle object recognition, the Laplacian pyramid decomposition algorithm can be used to perform multi-level scaling processing on the equalized grayscale image, and then Haar feature extraction is performed on the scaled image on each level, which can be based on The haar feature is used for classification and recognition, and the vehicle object is recognized from the object.

进一步地,为了提升行人对象或者车辆对象识别的准确性,在识别出目标图像中的行人对象或者车辆对象后,可以采用行人对象和车辆对象的跟踪算法,例如卡尔曼滤波算法,对行人对象和车辆对象进行跟踪,剔除误识别的行人对象和车辆对象。Further, in order to improve the recognition accuracy of pedestrian objects or vehicle objects, after identifying pedestrian objects or vehicle objects in the target image, a tracking algorithm for pedestrian objects and vehicle objects, such as Kalman filtering algorithm, can be used to detect pedestrian objects and vehicle objects. Vehicle objects are tracked, and misidentified pedestrian objects and vehicle objects are eliminated.

本实施例的图像处理方法,通过基于车辆上的双摄像装置获取第一图像和第二图像;对第一图像和第二图像进行图像融合,形成目标图像;从目标图像中识别每个对象。本实施例中,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性。In the image processing method of this embodiment, a first image and a second image are acquired based on a dual camera device on a vehicle; image fusion is performed on the first image and the second image to form a target image; and each object is identified from the target image. In this embodiment, the target image is formed by image fusion of the images captured by the dual cameras, which can ensure the quality of the target image, thereby identifying the target image, improving the accuracy of object recognition, and thus ensuring the safety of vehicle driving.

作为本发明实施例的一种可能的实现方式,参见图2,在图1所示实施例的基础上,步骤102具体包括以下子步骤:As a possible implementation manner of the embodiment of the present invention, referring to FIG. 2 , on the basis of the embodiment shown in FIG. 1 , step 102 specifically includes the following sub-steps:

步骤201,调整第一图像和/或第二图像的分辨率,使两个图像的分辨率相同。Step 201: Adjust the resolution of the first image and/or the second image so that the resolutions of the two images are the same.

作为本发明实施例的一种可能的实现方式,可以基于两个图像中的一个图像的分辨率,调整另一个图像的分辨率,使得两个图像的分辨率相同。具体地,可以从第一图像和第二图像中选取一个作为参考图像,而后根据参考图像的分辨率调整另一个图像的分辨率。例如当参考图像为第一图像时,可以调整第二图像的分辨率,使得第二图像的分辨率与第一图像的分辨率相同,或者当参考图像为第二图像时,可以调整第一图像的分辨率,使得第一图像的分辨率与第二图像的分辨率相同。As a possible implementation manner of the embodiment of the present invention, the resolution of one image in the two images may be adjusted based on the resolution of the other image, so that the resolutions of the two images are the same. Specifically, one of the first image and the second image may be selected as a reference image, and then the resolution of the other image may be adjusted according to the resolution of the reference image. For example, when the reference image is the first image, the resolution of the second image can be adjusted so that the resolution of the second image is the same as the resolution of the first image, or when the reference image is the second image, the first image can be adjusted resolution, so that the resolution of the first image is the same as the resolution of the second image.

优选地,可以从第一图像和第二图像中选取分辨率较小的一个作为参考图像,例如,当第一图像的分辨率低于第二图像的分辨率时,可以将第一图像的作为参考图像,而后可以对第二图像进行缩放处理,减小第二图像的分辨率,使得两个图像的分辨率相同。由此,可以减少系统的运算量,提升系统的实时性能。Preferably, the one with the smaller resolution can be selected from the first image and the second image as the reference image. For example, when the resolution of the first image is lower than that of the second image, the resolution of the first image can be used as the reference image. Referring to the reference image, the second image can then be scaled to reduce the resolution of the second image, so that the resolutions of the two images are the same. Thereby, the calculation amount of the system can be reduced, and the real-time performance of the system can be improved.

作为本发明实施例的另一种可能的实现方式,可以根据第一图像的分辨率和第二图像的分辨率,获取一个目标分辨率;同时调整第一图像和第二图像的分辨率为目标分辨率。例如,当第一图像的分辨率为1600*1200,第二图像的分辨率为1024*768时,目标分辨率可以为1280*960,同时调整第一图像的第二图像的分辨率为1280*960。As another possible implementation manner of the embodiment of the present invention, a target resolution may be obtained according to the resolution of the first image and the resolution of the second image; and the resolution of the first image and the second image is adjusted simultaneously as the target resolution. For example, when the resolution of the first image is 1600*1200 and the resolution of the second image is 1024*768, the target resolution can be 1280*960, and the resolution of the second image of the first image is adjusted to 1280* 960.

步骤202,将分辨率相同的第一图像和第二图像进行配准。Step 202, register the first image and the second image with the same resolution.

本发明实施例中,可以从分辨率相同的两个图像中选取一个作为基准图像,而后根据基准图像,对另外一个图像进行几何变换处理,使得处理后的图像可以与基准图像较好地重合。具体地,可以根据基准图像,获取对另一个图像进行仿射变换的变换系数,而后按照变换系数对另一个图像进行仿射变换,得到配准后的第一图像和第二图像,其中,变换系数是预先对双摄像装置进行标定得到的。In the embodiment of the present invention, one of the two images with the same resolution can be selected as the reference image, and then another image is subjected to geometric transformation processing according to the reference image, so that the processed image can be well coincident with the reference image. Specifically, a transformation coefficient for performing affine transformation on another image can be obtained according to the reference image, and then affine transformation is performed on the other image according to the transformation coefficient to obtain the registered first image and second image, wherein the transformation The coefficients are obtained by pre-calibrating the dual-camera device.

本发明实施例以第一图像为基准图像示例,拍摄第一图像的摄像装置为摄像装置A。因此,可以根据摄像装置A所拍摄的第一图像,对第二图像进行几何变换处理,使得处理后的第二图像可以与第一图像较好地重合。具体地,可以根据第一图像,获取对第二图像进行放射变换的变换系数,而后按照变换系数对第二图像进行仿射变换,得到配准后的第一图像和第二图像。In this embodiment of the present invention, the first image is used as an example of a reference image, and the camera that captures the first image is camera A. Therefore, geometric transformation processing can be performed on the second image according to the first image captured by the camera device A, so that the processed second image can well coincide with the first image. Specifically, a transformation coefficient for performing radiological transformation on the second image can be obtained according to the first image, and then affine transformation is performed on the second image according to the transformation coefficient to obtain the registered first image and the second image.

本实施例中,变换系数的标定过程可以如下所示:In this embodiment, the calibration process of the transform coefficients may be as follows:

可以按照图3所示制作标定模板(图3的标定模板只是示例,具体实现时,可以根据实际情况制作),而后用纸张打印出来。而后,将该标定模板放置在双摄像装置的正前方,调整标定模板与双摄像装置之间的距离,使得标定模板上面的4个角落的黑色矩形框均落入双摄像装置所拍摄图像的4个角落区域中。而后可以采集双摄像装置拍摄的图像,利用“角点检测”方法求解出4个角落的黑色矩形框的全部顶点坐标。The calibration template can be made as shown in FIG. 3 (the calibration template in FIG. 3 is just an example, and can be made according to the actual situation during the specific implementation), and then printed out with paper. Then, place the calibration template directly in front of the dual-camera device, and adjust the distance between the calibration template and the dual-camera device, so that the black rectangles at the four corners above the calibration template all fall into the four corners of the image captured by the dual-camera device. in a corner area. Then, the images captured by the dual-camera device can be collected, and the coordinates of all the vertices of the black rectangular frame at the four corners can be obtained by using the "corner detection" method.

具体地,可以将摄像装置A拍摄的图像上所有的黑色矩形框的顶点坐标以及摄像装置B拍摄的图像上与之对应的黑色矩形框的顶点坐标代入到如公式(1)所示的仿射变换矩阵方程中,而后推导得到公式(2)。Specifically, the vertex coordinates of all black rectangular frames on the image captured by camera A and the vertex coordinates of the corresponding black rectangular frames on the image captured by camera B can be substituted into the affine as shown in formula (1). In the transformation matrix equation, the formula (2) is then derived.

其中,x和y表示摄像装置A拍摄的图像上黑色矩形框的顶点坐标,x'和y'表示摄像装置B拍摄的图像上与摄像装置A拍摄的图像上对应的黑色矩形框的顶点坐标,m1、m2、m3、m4、m5和m6为仿射变换的变换系数。Wherein, x and y represent the vertex coordinates of the black rectangular frame on the image captured by the camera A, x' and y' represent the vertex coordinates of the black rectangular frame corresponding to the image captured by the camera B and the image captured by the camera A, m 1 , m 2 , m 3 , m 4 , m 5 , and m 6 are transform coefficients of the affine transform.

其中,k表示黑色矩形框顶点坐标的个数(图3中k的个数为28),xk和yk表示摄像装置A拍摄的图像上第k个黑色矩形框的顶点坐标,xk'和yk'表示摄像装置B拍摄的图像上与摄像装置A拍摄的图像上第k个黑色矩形框对应的顶点坐标。Among them, k represents the number of vertex coordinates of the black rectangular frame (the number of k in Fig. 3 is 28), x k and y k represent the vertex coordinates of the kth black rectangular frame on the image captured by the camera A, and x k ' and y k ′ represent the vertex coordinates corresponding to the kth black rectangular frame on the image captured by the camera B and the image captured by the camera A.

最后,利用最小二乘法,可以求解得到仿射变换的变换系数m1、m2、m3、m4、m5和m6。Finally, using the least squares method, the transformation coefficients m 1 , m 2 , m 3 , m 4 , m 5 and m 6 of the affine transformation can be obtained by solving.

在得到仿射变换的变换系数后,可以按照变换系数对摄像装置B所拍摄的第二图像进行仿射变换,得到配准后的第一图像和第二图像。After the transformation coefficients of the affine transformation are obtained, affine transformation may be performed on the second image captured by the camera B according to the transformation coefficients to obtain the registered first image and the second image.

步骤203,对配准后的第一图像和第二图像进行融合,得到目标图像。Step 203 , fuse the registered first image and the second image to obtain a target image.

在对配准后的第一图像和第二图像进行融合时,首先需计算两个图像的融合系数。例如,可以使用MSD法,计算配准后的第一图像和第二图像的融合系数,而后可以根据融合系数得到目标图像。When the registered first image and the second image are fused, first, a fusion coefficient of the two images needs to be calculated. For example, the MSD method can be used to calculate the fusion coefficients of the registered first image and the second image, and then the target image can be obtained according to the fusion coefficients.

具体地,可以对配准后的第一图像和第二图像进行多尺度分解,获取两组多尺度分解系数:Specifically, multi-scale decomposition can be performed on the registered first image and second image to obtain two sets of multi-scale decomposition coefficients:

其中,i=1,2,…,n,n表示多尺度分解的层数,表示第一图像的多尺度分解系数,表示第二图像的多尺度分解系数。Among them, i=1,2,...,n, n represents the number of layers of multi-scale decomposition, represents the multiscale decomposition coefficients of the first image, Represents the multiscale decomposition coefficients of the second image.

在得到两组多尺度分解系数后,可以按照预设的融合规则对两组多尺度分解系数进行融合,得到融合系数:After obtaining the two sets of multi-scale decomposition coefficients, the two sets of multi-scale decomposition coefficients can be fused according to the preset fusion rules to obtain the fusion coefficients:

其中,表示融合系数,θ表示预设的融入规则。in, represents the fusion coefficient, and θ represents the preset fusion rule.

在得到融合系数后,可以根据融合系数进行多尺度反变换反向重构出目标图像,具体如下式所示:After getting the fusion coefficient After that, according to the fusion coefficient Perform multi-scale inverse transformation to reconstruct the target image in reverse, as shown in the following formula:

其中,imager表示融合后的目标图像。Among them, image r represents the fused target image.

本实施例的图像处理方法,通过调整第一图像和/或第二图像的分辨率,使两个图像的分辨率相同,将分辨率相同的第一图像和第二图像进行配准,对配准后的第一图像和第二图像进行融合,得到目标图像。由此,可以实现两个图像较好的重合,进而可以提升图像识别的准确性。In the image processing method of this embodiment, the resolution of the first image and/or the second image is adjusted so that the resolutions of the two images are the same, the first image and the second image with the same resolution are registered, and the matching The calibrated first image and the second image are fused to obtain the target image. In this way, a good coincidence of the two images can be achieved, thereby improving the accuracy of image recognition.

图4为本发明实施例所提供的第一种安全驾驶方法的流程示意图。FIG. 4 is a schematic flowchart of a first safe driving method provided by an embodiment of the present invention.

如图4所示,该安全驾驶方法可以包括以下步骤:As shown in Figure 4, the safe driving method may include the following steps:

步骤301,获取目标图像。Step 301, acquiring a target image.

本发明实施例中,由步骤102对第一图像和第二图像进行图像融合,形成目标图像后,可以获取目标图像。In this embodiment of the present invention, after image fusion is performed on the first image and the second image in step 102 to form a target image, the target image can be acquired.

步骤302,从目标图像中识别每个对象。Step 302, identify each object from the target image.

一般而言,摄像装置的输入图像是彩色图像,且色彩空间是YUV的,为了减少图像融合过程中的运算量,在图像融合的计算过程中,只对色彩空间中的Y分量进行计算,而UV分量不参与计算。Generally speaking, the input image of the camera is a color image, and the color space is YUV. In order to reduce the amount of calculation in the image fusion process, only the Y component in the color space is calculated in the calculation process of the image fusion, and UV components do not participate in the calculation.

本实施例中,在对目标图像中的对象进行识别时,可以从融合后的目标图像中提取出Y分量,无论目标图像是彩色图像还是黑白图像,提取Y分量的过程即为图像的灰度处理过程,以此来减少运算量,提升系统的实时性能。In this embodiment, when recognizing the object in the target image, the Y component can be extracted from the fused target image. Regardless of whether the target image is a color image or a black and white image, the process of extracting the Y component is the grayscale of the image. This reduces the amount of computation and improves the real-time performance of the system.

在从目标图像中提取出Y分量后,即对目标图像进行灰度处理后,可以得到目标图像的灰度图。为了提高灰度图的对比度以及灰度色调的变化,使得灰度图更加清晰,本实施例中,可以对灰度图进行直方图均衡化处理,得到均衡后的灰度图。After the Y component is extracted from the target image, that is, after grayscale processing is performed on the target image, the grayscale image of the target image can be obtained. In order to improve the contrast of the grayscale image and the change of the grayscale tone, and make the grayscale image clearer, in this embodiment, a histogram equalization process may be performed on the grayscale image to obtain an equalized grayscale image.

本发明实施例中,由于行人、车辆等对象的识别规则不同,因此,在得到均衡后的灰度图后,可以将将均衡后灰度图分路,形成至少两路均衡后灰度图,然后可以对一路均衡后灰度图进行行人识别,获取行人对象和行人对象的识别信息,而对另一路均衡后灰度图进行车辆识别,获取车辆对象和车辆对象的识别信息。需要说明的是,上述两路识别处理过程是同时进行的,以提升系统的实时性能。In the embodiment of the present invention, since the identification rules of objects such as pedestrians and vehicles are different, after the equalized grayscale images are obtained, the equalized grayscale images can be divided into at least two channels to form at least two equalized grayscale images. Then, pedestrian recognition can be performed on one of the equalized grayscale images to obtain identification information of pedestrian objects and pedestrian objects, and vehicle identification can be performed on the other equalized grayscale images to obtain vehicle objects and vehicle object identification information. It should be noted that, the above two identification processing processes are performed simultaneously, so as to improve the real-time performance of the system.

其中,识别信息可以包括:坐标信息、宽度信息、高度信息、距离信息等。The identification information may include coordinate information, width information, height information, distance information, and the like.

作为一种可能的实现方式,对于行人对象的识别,可以利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理,而后在每个层次上的缩放图像上进行方向梯度直方图(Histogram of Oriented Gradient,本实施例记为hog)特征提取,进而可以基于hog特征进行分类识别,从对象中识别出的行人对象。对于车辆对象的识别,可以利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理,而后对每个层次上的缩放图像进行哈尔(haar)特征提取,进而可以基于haar特征进行分类识别,从对象中识别出的车辆对象。As a possible implementation, for the recognition of pedestrian objects, the Laplacian pyramid decomposition algorithm can be used to perform multi-level scaling processing on the equalized grayscale image, and then perform directional gradients on the scaled images at each level. Histogram of Oriented Gradient (referred to as hog in this embodiment) feature extraction, and further classification and identification based on the hog feature can be performed to identify pedestrian objects from objects. For vehicle object recognition, the Laplacian pyramid decomposition algorithm can be used to perform multi-level scaling processing on the equalized grayscale image, and then Haar feature extraction is performed on the scaled image on each level, which can be based on The haar feature is used for classification and recognition, and the vehicle object is recognized from the object.

进一步地,为了提升行人对象或者车辆对象识别的准确性,在识别出目标图像中的行人对象或者车辆对象后,可以采用行人对象和车辆对象的跟踪算法,例如卡尔曼滤波算法,对行人对象和车辆对象进行跟踪,剔除误识别的行人对象和车辆对象。Further, in order to improve the recognition accuracy of pedestrian objects or vehicle objects, after identifying pedestrian objects or vehicle objects in the target image, a tracking algorithm for pedestrian objects and vehicle objects, such as Kalman filtering algorithm, can be used to detect pedestrian objects and vehicle objects. Vehicle objects are tracked, and misidentified pedestrian objects and vehicle objects are eliminated.

步骤303,根据识别出的对象和车辆当前的运行信息,生成安全驾驶策略并执行。Step 303 , according to the identified objects and the current running information of the vehicle, generate a safe driving strategy and execute it.

本发明实施例中,车辆当前的运行信息可以包括:车辆当前的行驶速度(车速)、车辆当前所行驶的位置、加速踏板状态和/或制动踏板状态等。具体地,可以通过车辆的CAN总线采集车辆当前的运行信息。In this embodiment of the present invention, the current running information of the vehicle may include: the current running speed (vehicle speed) of the vehicle, the current position of the vehicle, the state of the accelerator pedal and/or the state of the brake pedal, and the like. Specifically, the current running information of the vehicle can be collected through the CAN bus of the vehicle.

可以理解的是,对象离车辆的距离不同,以及车辆当前的运行信息不同时,影响车辆安全行驶的风险等级不同。例如,当对象距离车辆较近,且车辆当前的行驶速度较高时,其对车辆安全行驶的风险等级较高,或者,当对象距离车辆较远,且车辆当前的行驶速度较低时,其对车辆安全行驶的风险等级较低。因此,本实施例中,可以根据对象和车辆当前的运行信息,生成车辆的安全驾驶策略并执行。It can be understood that when the distance between the object and the vehicle is different, and the current running information of the vehicle is different, the risk level affecting the safe driving of the vehicle is different. For example, when the object is close to the vehicle and the current speed of the vehicle is high, its risk level for safe driving of the vehicle is high, or when the object is far away from the vehicle and the current speed of the vehicle is low, its The risk level for safe driving of the vehicle is low. Therefore, in this embodiment, a safe driving strategy of the vehicle can be generated and executed according to the object and the current running information of the vehicle.

举例而言,当对象距离车辆较远,且车辆当前的行驶速度较低时,由于其对车辆安全行驶的风险等级较低,此时,可以通过语音提醒、报警灯等形式,提示驾驶员,以使驾驶员减速行驶。而当对象距离车辆较近,且车辆当前的行驶速度较高时,由于其对车辆安全行驶的风险等级较高,此时,可以通过方向盘振动提示驾驶员、自动刹车等,保障车辆和车上乘客的安全。For example, when the object is far away from the vehicle and the current driving speed of the vehicle is low, due to its low risk level to the safe driving of the vehicle, at this time, the driver can be reminded through voice reminders, warning lights, etc. to slow down the driver. However, when the object is close to the vehicle and the current driving speed of the vehicle is high, due to its high risk level for the safe driving of the vehicle, at this time, the steering wheel vibration can be used to prompt the driver, automatic braking, etc., to ensure the safety of the vehicle and the vehicle. Passenger safety.

本发明实施例的安全驾驶方法,通过获取目标图像,从目标图像中识别每个对象,而后根据识别出的对象和车辆的当前的运行信息,生成安全驾驶策略并执行,能够有效保障车辆行驶的安全性。In the safe driving method of the embodiment of the present invention, a target image is acquired, each object is identified from the target image, and then a safe driving strategy is generated and executed according to the identified object and the current operation information of the vehicle, which can effectively ensure the driving safety of the vehicle. safety.

作为本发明实施例的一种可能的实现方式,参见图5,在图4所示实施例的基础上,步骤303具体包括以下子步骤:As a possible implementation manner of the embodiment of the present invention, referring to FIG. 5 , on the basis of the embodiment shown in FIG. 4 , step 303 specifically includes the following sub-steps:

步骤401,从所有的对象中确定距离最近的对象作为与车辆之间存在风险的第一对象。Step 401, from all the objects, determine the object with the closest distance as the first object that is at risk with the vehicle.

可以理解的是,当车辆行驶时,对驾驶安全造成威胁的是位于车辆所处车道中的对象,而其他车道中的对象对车辆的驾驶安全不构成威胁。因此,本实施例中,可以根据行人对象的识别信息和车辆对象的识别信息进行筛选,从中获取位于车辆所处车道中的对象作为候选对象,而后根据每个候选对象与车辆之间的距离,从所有的候选对象中识别出第一对象。It can be understood that when the vehicle is driving, it is the objects located in the lane where the vehicle is located that threatens the driving safety, while the objects in other lanes do not pose a threat to the driving safety of the vehicle. Therefore, in this embodiment, the identification information of the pedestrian object and the identification information of the vehicle object can be screened, and the object located in the lane where the vehicle is located is obtained as the candidate object, and then according to the distance between each candidate object and the vehicle, A first object is identified from all candidate objects.

步骤402,根据第一对象和运行信息,生成车辆的安全驾驶策略并执行。Step 402 , according to the first object and the operation information, generate and execute a safe driving strategy of the vehicle.

可以理解的是,第一对象离车辆的距离不同,以及车辆的运行信息不同时,影响车辆安全行驶的风险等级不同。例如,当第一对象距离车辆较近,且车速较高时,第一对象对车辆安全行驶的风险等级较高,或者,当第一对象距离车辆较远,且车辆的行驶速度较低时,其对车辆安全行驶的风险等级较低。It can be understood that when the distance between the first object and the vehicle is different, and the running information of the vehicle is different, the risk levels affecting the safe driving of the vehicle are different. For example, when the first object is closer to the vehicle and the vehicle speed is higher, the risk level of the first object to the safe driving of the vehicle is higher, or, when the first object is far away from the vehicle and the vehicle speed is lower, It has a low level of risk to the safe driving of the vehicle.

因此,本实施例中,可以获取第一对象与车辆之间的第一距离,而后根据运行信息中的车速和第一距离,获取车辆到达第一对象所需的运行时间,进而可以根据运行时间确定第一对象与车辆之间的风险等级,通过根据风险等级生成安全驾驶策略并执行。Therefore, in this embodiment, the first distance between the first object and the vehicle can be obtained, and then the running time required for the vehicle to reach the first object can be obtained according to the vehicle speed and the first distance in the running information, and then the running time can be obtained according to the running time. The risk level between the first object and the vehicle is determined, and a safe driving strategy is generated and executed according to the risk level.

举例而言,当第一对象距离车辆较远,且车速较低时,车辆到达第一对象所需的运行时间较长,此时,第一对象对车辆安全行驶的风险等级较低,因此,可以通过语音提醒、报警灯等形式,提示驾驶员,以使驾驶员减速行驶。而当第一对象距离车辆较近,且车速较高时,车辆到达第一对象所需的运行时间较短,此时,第一对象对车辆安全行驶的风险等级较高,此时,可以通过方向盘振动提示驾驶员、自动刹车等,保障车辆和车上乘客的安全。For example, when the first object is far away from the vehicle and the vehicle speed is low, the running time required for the vehicle to reach the first object is longer, and at this time, the risk level of the first object to the safe driving of the vehicle is low. Therefore, The driver can be prompted through voice reminders, warning lights, etc., so that the driver can slow down. However, when the first object is closer to the vehicle and the vehicle speed is higher, the running time required for the vehicle to reach the first object is shorter, and at this time, the risk level of the first object to the safe driving of the vehicle is higher. Steering wheel vibration alerts the driver, automatic braking, etc., to ensure the safety of the vehicle and its passengers.

本实施例的安全驾驶方法,通过从识别出的所有对象中确定距离车辆最近的对象作为与车辆之间存在风险的第一对象;根据第一对象和运行信息,生成车辆的安全驾驶策略并执行。由此,能够在确定出与车辆之间存在风险的第一对象,保障车辆行驶的安全性的同时,减少系统的处理量,从而提升系统的实时性能。In the safe driving method of this embodiment, the object closest to the vehicle is determined from all the identified objects as the first object that has a risk with the vehicle; according to the first object and the operation information, a safe driving strategy for the vehicle is generated and executed . In this way, the first object that is at risk with the vehicle can be determined, and the safety of the vehicle can be ensured while the processing amount of the system can be reduced, thereby improving the real-time performance of the system.

作为本发明实施例的一种可能的实现方式,参见图6,在图5所示实施例的基础上,步骤401具体包括以下子步骤:As a possible implementation manner of the embodiment of the present invention, referring to FIG. 6 , on the basis of the embodiment shown in FIG. 5 , step 401 specifically includes the following sub-steps:

步骤501,根据行人对象的识别信息和车辆对象的识别信息进行筛选,从中获取满足预设条件的行人对象和车辆对象作为候选对象。Step 501: Screen according to the identification information of the pedestrian object and the identification information of the vehicle object, and obtain the pedestrian object and the vehicle object that meet the preset conditions as candidate objects.

由于对驾驶安全造成威胁的是位于车辆所处车道中的对象,因此,本发明实施例中,预设条件例如可以为对象是否位于当前车辆所处车道中。Since it is the object located in the lane where the vehicle is located that threatens driving safety, in this embodiment of the present invention, the preset condition may be, for example, whether the object is located in the lane where the current vehicle is located.

作为本发明实施例的一种可能的实现方式,可以根据识别信息中的坐标信息,获取每个行人对象和每个车辆对象的边缘像素点。具体地,坐标信息为对象的中心点坐标,可以基于中心点的图像信息,进行连通域识别,从而可以识别每个连通域的边界。本实施例中,可以从边界中确定出边缘像素点,而后,判断边缘像素点是否有至少一个像素点处于第一区域内,其中,第一区域为目标图像中由车辆所处车道形成的区域。当边缘像素点有至少一个像素点处于第一区域内时,表明该对象位于第一区域中,即位于车辆所处车道中,因此,可以将边缘像素点均处于第一区域内的行人对象或者车辆对象作为候选对象。As a possible implementation manner of the embodiment of the present invention, the edge pixels of each pedestrian object and each vehicle object may be acquired according to the coordinate information in the identification information. Specifically, the coordinate information is the coordinates of the center point of the object, and the connected domain can be identified based on the image information of the center point, so that the boundary of each connected domain can be identified. In this embodiment, edge pixels can be determined from the boundary, and then it is determined whether at least one pixel of the edge pixels is located in the first area, where the first area is the area formed by the lane where the vehicle is located in the target image . When at least one edge pixel is located in the first area, it indicates that the object is located in the first area, that is, in the lane where the vehicle is located. Therefore, all edge pixels can be classified as pedestrian objects or pedestrian objects in the first area. Vehicle objects are used as candidates.

作为本发明实施例的另一种可能的实现方式,可以根据识别信息中的坐标信息,为每个行人对象和每个车辆对象标记识别框。具体地,坐标信息为对象的中心点坐标,可以按照预设的尺寸形成以坐标点为中心的识别框,该识别框可以为矩形,例如,参见图7,识别框1、2、3、4和5分别为不同的对象,且每个识别框均具有四个边界点。而后可以判断每个识别框是否有至少一个指定边界点处于第一区域内,其中,指定边界点可以为识别框的左下边界点和右下边界点。当有至少一个指定边界点处于第一区域内时,表明该对象位于第一区域中,此时,可以将有至少一个指定边界点处于第一区域内的识别框作为目标识别框,而后将目标识别框对应的对象作为候选对象。As another possible implementation manner of the embodiment of the present invention, an identification frame may be marked for each pedestrian object and each vehicle object according to the coordinate information in the identification information. Specifically, the coordinate information is the coordinates of the center point of the object, and a recognition frame centered on the coordinate point can be formed according to a preset size, and the recognition frame can be a rectangle. For example, referring to FIG. 7 , the recognition frames 1, 2, 3, and 4 and 5 are different objects, and each recognition box has four boundary points. Then, it can be determined whether each recognition frame has at least one designated boundary point in the first area, wherein the designated boundary points can be the lower left boundary point and the lower right boundary point of the recognition frame. When there is at least one specified boundary point in the first area, it indicates that the object is located in the first area. At this time, the recognition frame with at least one specified boundary point in the first area can be used as the target recognition frame, and then the target The object corresponding to the recognition frame is used as a candidate object.

作为一种示例,参见图7,识别框2的右下边界点位于第一区域中、识别框的3的左下边界点和右下边界点均位于第一区域中,以及识别框4的左下边界点第一区域中,因此,可以将识别框2、3和4作为目标识别框。As an example, referring to FIG. 7 , the lower right boundary point of the recognition frame 2 is located in the first area, the lower left boundary point and the lower right boundary point of the recognition frame 3 are both located in the first area, and the lower left boundary point of the recognition frame 4 is located in the first area. point in the first area, therefore, the recognition boxes 2, 3 and 4 can be used as target recognition boxes.

步骤502,根据每个候选对象与车辆之间的距离,从所有的候选对象中识别出第一对象。Step 502: Identify the first object from all the candidate objects according to the distance between each candidate object and the vehicle.

可选地,可以根据识别信息中的距离信息,获取每个候选对象与车辆之间的距离,而后将距离最近的对象作为与车辆之间存在风险的第一对象。Optionally, the distance between each candidate object and the vehicle may be obtained according to the distance information in the identification information, and then the object with the closest distance may be used as the first object that is at risk with the vehicle.

本实施例的安全驾驶方法,通过根据行人对象的识别信息和车辆对象的识别信息进行筛选,从中获取满足预设条件的行人对象和车辆对象作为候选对象,根据每个候选对象与车辆之间的距离,从所有的候选对象中识别出第一对象。由此,能够在确定出与车辆之间存在风险的第一对象,保障车辆行驶的安全性的同时,减少系统的处理量,从而提升系统的实时性能。In the safe driving method of this embodiment, the pedestrian objects and vehicle objects that satisfy the preset conditions are obtained as candidate objects by screening according to the identification information of pedestrian objects and the identification information of vehicle objects. distance to identify the first object from all candidate objects. In this way, the first object that is at risk with the vehicle can be determined, and the safety of the vehicle can be ensured while the processing amount of the system can be reduced, thereby improving the real-time performance of the system.

作为一种示例,参见图8,图8为本发明实施例中安全驾驶系统的结构示意图。图8包括:摄像装置A2011、摄像装置B2012、图像处理芯片202,以及执行机构203,其中,图像处理芯片202包括:图像融合单元2021、图像识别单元2022和系统决策单元2023。As an example, referring to FIG. 8 , FIG. 8 is a schematic structural diagram of a safe driving system in an embodiment of the present invention. 8 includes: a camera A2011, a camera B2012, an image processing chip 202, and an execution mechanism 203, wherein the image processing chip 202 includes: an image fusion unit 2021, an image recognition unit 2022, and a system decision unit 2023.

现有技术中,采用多芯片完成图像数据的不同处理过程,每个单独的芯片均需采用独占的DDR内存,不同的芯片之间无法进行内存共享,导致图像数据和中间结果等数据的传输较为困难。In the prior art, multiple chips are used to complete different processing processes of image data, each individual chip needs to use an exclusive DDR memory, and memory sharing cannot be performed between different chips, resulting in a relatively low transmission of data such as image data and intermediate results. difficulty.

而本发明实施例中,摄像装置A2011和摄像装置B2012均与图像处理芯片202相连,图像处理芯片202可以采用SOC芯片,SOC芯片上可以集成多个中央处理单元(CentralProcessing Unit,CPU),可以将上述集成的CPU的主频按照频率大小分为低、中、高等几个等级,其中,低等级的主频可以为200MHz左右,中等级的主频可以为500~700MHz,而高等级的主频可以为1GHz以上。每个CPU可以负责不同的图像处理工作,此外,不同的CPU可以通过外部的DDR内存进行图像数据和中间结果等数据的共享。However, in the embodiment of the present invention, the camera A2011 and the camera B2012 are both connected to the image processing chip 202, and the image processing chip 202 may use a SOC chip, and the SOC chip may integrate multiple central processing units (Central Processing Unit, CPU), which can The main frequency of the above-mentioned integrated CPU is divided into low, medium and high grades according to the frequency. Among them, the main frequency of the low grade can be about 200MHz, the main frequency of the middle grade can be 500~700MHz, and the main frequency of the high grade can be 500~700MHz. It can be 1GHz or more. Each CPU can be responsible for different image processing tasks. In addition, different CPUs can share data such as image data and intermediate results through external DDR memory.

在图像识别单元2022识别出对象后,系统决策单元2023可以根据识别结果生成安全驾驶策略,然后根据安全驾驶策略对执行机构203进行控制,其中,执行机构203可以发出包括声、光等形式的报警提醒,以及诸如控制方向盘抖动或者自动刹车等操作。After the image recognition unit 2022 recognizes the object, the system decision unit 2023 can generate a safe driving strategy according to the recognition result, and then control the execution mechanism 203 according to the safe driving strategy, wherein the execution mechanism 203 can issue an alarm in the form of sound, light, etc. Reminders, and actions such as controlling steering wheel shake or automatic braking.

为了实现上述实施例,本发明还提出一种图像处理装置。In order to realize the above embodiments, the present invention also provides an image processing apparatus.

图9为本发明实施例所提供的一种图像处理装置的结构示意图。FIG. 9 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention.

如图9所示,该图像处理装置900包括:图像获取模块910、形成模块920,以及识别模块930。其中,As shown in FIG. 9 , the image processing apparatus 900 includes: an image acquisition module 910 , a formation module 920 , and an identification module 930 . in,

图像获取模块910,用于基于车辆上的双摄像装置获取第一图像和第二图像。The image acquisition module 910 is configured to acquire the first image and the second image based on the dual camera device on the vehicle.

形成模块920,用于对第一图像和第二图像进行图像融合,形成目标图像。The forming module 920 is configured to perform image fusion on the first image and the second image to form a target image.

第一识别模块930,用于从目标图像中识别每个对象。The first recognition module 930 is used to recognize each object from the target image.

进一步地,在本发明实施例的一种可能的实现方式中,参见图10,在图9所示实施例的基础上,该图像处理装置900还可以包括:Further, in a possible implementation manner of the embodiment of the present invention, referring to FIG. 10 , on the basis of the embodiment shown in FIG. 9 , the image processing apparatus 900 may further include:

本发明实施例中,形成模块920,包括:In this embodiment of the present invention, the forming module 920 includes:

调整子模块921,用于调整第一图像和/或第二图像的分辨率,使两个图像的分辨率相同。The adjustment sub-module 921 is configured to adjust the resolution of the first image and/or the second image so that the resolutions of the two images are the same.

本发明实施例中,调整子模块921,具体用于从第一图像和第二图像中选取一个作为参考图像;根据参考图像的分辨率调整另一个图像的分辨率;或者,根据第一图像的分辨率和第二图像的分辨率,获取一个目标分辨率;同时调整第一图像和第二图像的分辨率为目标分辨率。In this embodiment of the present invention, the adjustment submodule 921 is specifically configured to select one of the first image and the second image as a reference image; adjust the resolution of the other image according to the resolution of the reference image; or, according to the resolution of the first image The resolution and the resolution of the second image are obtained to obtain a target resolution; at the same time, the resolutions of the first image and the second image are adjusted to be the target resolution.

配准子模块922,用于将分辨率相同的第一图像和第二图像进行配准。The registration sub-module 922 is used for registering the first image and the second image with the same resolution.

本发明实施例中,配准子模块922,具体用于从分辨率相同的第一图像和第二图像中选取一个作为基准图像;根据基准图像,获取对另一个图像进行仿射变换的变换系数;其中,变换系数是预先对双摄像装置进行标定得到的;按照变换系数对另一个图像进行仿射变换,得到配准后的第一图像和第二图像。In this embodiment of the present invention, the registration sub-module 922 is specifically configured to select one of the first image and the second image with the same resolution as a reference image; and obtain a transformation coefficient for performing affine transformation on the other image according to the reference image. wherein, the transformation coefficient is obtained by pre-calibrating the dual camera device; and the other image is affine transformed according to the transformation coefficient to obtain the registered first image and the second image.

作为一种可能的实现方式,配准子模块922,具体用于分别对配准后的第一图像和第二图像进行多尺度分解,获取两组多尺度分解系数;按照预设的融合规则对两组多尺度分解系数进行融合,得到融合系数;根据融合系数进行多尺度反变换反向重构出目标图像。As a possible implementation manner, the registration sub-module 922 is specifically configured to perform multi-scale decomposition on the registered first image and the second image respectively, and obtain two sets of multi-scale decomposition coefficients; Two sets of multi-scale decomposition coefficients are fused to obtain fusion coefficients; according to the fusion coefficients, multi-scale inverse transformation is performed to reversely reconstruct the target image.

融合子模块923,对配准后的第一图像和第二图像进行融合,得到目标图像。The fusion sub-module 923 fuses the registered first image and the second image to obtain the target image.

本发明实施例中,第一识别模块930,包括:In this embodiment of the present invention, the first identification module 930 includes:

第一处理子模块931,用于对目标图像进行灰度处理,得到目标图像的灰度图。The first processing sub-module 931 is configured to perform grayscale processing on the target image to obtain a grayscale image of the target image.

第二处理子模块932,用于对灰度图进行直方图均衡化处理,得到均衡后灰度图。The second processing sub-module 932 is configured to perform histogram equalization processing on the grayscale image to obtain an equalized grayscale image.

分路子模块933,用于将均衡后灰度图分路,形成至少两路均衡后灰度图。The branching sub-module 933 is used for branching the equalized grayscale images to form at least two equalized grayscale images.

行人识别子模块934,用于对一路均衡后灰度图进行行人识别,获取行人对象和行人对象的识别信息。The pedestrian recognition sub-module 934 is used to perform pedestrian recognition on the grayscale image after equalization, and obtain the pedestrian object and the identification information of the pedestrian object.

本发明实施例中,行人识别子模块934,具体用于利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理;对每个层次上的缩放图像进行hog特征提取;基于hog特征进行分类识别,从对象中识别出的行人对象。In the embodiment of the present invention, the pedestrian identification sub-module 934 is specifically configured to use the Laplace pyramid decomposition algorithm to perform multi-level scaling processing on the equalized grayscale image; perform hog feature extraction on the scaled image on each level; Pedestrian objects are identified from objects for classification and recognition based on hog features.

车辆识别子模块935,用于对另一路均衡后灰度图进行车辆识别,获取车辆对象和车辆对象的识别信息。The vehicle identification sub-module 935 is used to perform vehicle identification on another grayscale image after equalization, and obtain identification information of vehicle objects and vehicle objects.

本发明实施例中,车辆识别子模块935,具体用于利用拉普拉斯金字塔分解算法,对均衡后灰度图进行多层次的缩放处理;对每个层次上的缩放图像进行haar特征提取;基于haar特征进行分类识别,从对象中识别出的车辆对象。In the embodiment of the present invention, the vehicle identification sub-module 935 is specifically configured to use the Laplace pyramid decomposition algorithm to perform multi-level scaling processing on the equalized grayscale image; perform haar feature extraction on the scaled image on each level; Classification and recognition based on haar features, vehicle objects identified from objects.

跟踪剔除子模块936,用于对识别出的行人对象和车辆对象进行跟踪,剔除误识别的行人对象和车辆对象。The tracking and eliminating sub-module 936 is used for tracking the identified pedestrian objects and vehicle objects, and eliminating the wrongly identified pedestrian objects and vehicle objects.

需要说明的是,前述对图像处理方法实施例的解释说明也适用于该实施例的图像处理装置900,此处不再赘述。It should be noted that, the foregoing explanations on the image processing method embodiment are also applicable to the image processing apparatus 900 of this embodiment, and are not repeated here.

本实施例的图像处理装置,通过基于车辆上的双摄像装置获取第一图像和第二图像;对第一图像和第二图像进行图像融合,形成目标图像;从目标图像中识别每个对象。本实施例中,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度,进而保障车辆行驶的安全性。The image processing device of this embodiment obtains the first image and the second image based on the dual camera device on the vehicle; performs image fusion on the first image and the second image to form a target image; and identifies each object from the target image. In this embodiment, image fusion is performed on the images captured by the dual cameras to form a target image, which can ensure the quality of the target image, thereby recognizing the target image, improving the accuracy of object recognition, and thus ensuring the safety of vehicle driving.

为了实现上述实施例,本发明还提出一种安全驾驶装置。In order to realize the above embodiments, the present invention also provides a safe driving device.

图11为本发明实施例所提供的一种安全驾驶装置的结构示意图。FIG. 11 is a schematic structural diagram of a safe driving device according to an embodiment of the present invention.

如图11所示,该安全驾驶装置1100包括:获取模块1110、第二识别模块1120,以及生成模块1130。其中,As shown in FIG. 11 , the safe driving device 1100 includes: an acquisition module 1110 , a second identification module 1120 , and a generation module 1130 . in,

获取模块1110,用于获取目标图像;其中,目标图像是根据权利要求1-9任一项的图像处理方法得到的。The acquiring module 1110 is configured to acquire a target image; wherein, the target image is obtained according to the image processing method of any one of claims 1-9.

第二识别模块1120,用于从目标图像中识别每个对象。The second recognition module 1120 is used to recognize each object from the target image.

本发明实施例中,第二识别模块1120,具体用于对目标图像进行灰度处理,得到目标图像的灰度图;对灰度图进行直方图均衡化处理,得到均衡后灰度图;将均衡后灰度图分路,形成至少两路均衡后灰度图;对一路均衡后灰度图进行行人识别,获取行人对象和行人对象的识别信息;对另一路均衡后灰度图进行车辆识别,获取车辆对象和车辆对象的识别信息。In this embodiment of the present invention, the second identification module 1120 is specifically configured to perform grayscale processing on the target image to obtain a grayscale image of the target image; perform histogram equalization processing on the grayscale image to obtain an equalized grayscale image; After equalization, the grayscale images are split to form at least two equalized grayscale images; pedestrian identification is performed on one equalized grayscale image to obtain identification information of pedestrian objects and pedestrian objects; vehicle identification is performed on the other equalized grayscale images. , to obtain vehicle object and vehicle object identification information.

生成模块1130,用于根据识别出的对象和车辆当前的运行信息,生成安全驾驶策略并执行。The generating module 1130 is configured to generate and execute a safe driving strategy according to the identified objects and the current running information of the vehicle.

进一步地,在本发明实施例的一种可能的实现方式中,参见图12,在图11所示实施例的基础上,该安全驾驶装置1100还可以包括:Further, in a possible implementation manner of the embodiment of the present invention, referring to FIG. 12 , on the basis of the embodiment shown in FIG. 11 , the safe driving device 1100 may further include:

本发明实施例中,生成模块1130,包括:In this embodiment of the present invention, the generating module 1130 includes:

确定子模块1131,用于从识别出的所有对象中确定距离车辆最近的对象作为与车辆之间存在风险的第一对象。A determination sub-module 1131 is configured to determine, from all the identified objects, the object closest to the vehicle as the first object that is at risk with the vehicle.

本发明实施例中,确定子模块1131,包括:In this embodiment of the present invention, the determination sub-module 1131 includes:

获取单元11311,用于根据行人对象的识别信息和车辆对象的识别信息进行筛选,从中获取满足预设条件的行人对象和车辆对象作为候选对象。The obtaining unit 11311 is configured to screen according to the identification information of the pedestrian object and the identification information of the vehicle object, and obtain the pedestrian object and the vehicle object that meet the preset conditions as candidate objects.

作为一种可能的实现方式,获取单元11311,具体用于根据识别信息中的坐标信息,获取每个行人对象和每个车辆对象的边缘像素点;判断边缘像素点是否有至少一个像素点处于第一区域内;第一区域为目标图像中由车辆所处车道形成的区域;将边缘像素点有至少一个像素点处于第一区域内的行人对象或者车辆对象作为候选对象。As a possible implementation, the acquiring unit 11311 is specifically configured to acquire the edge pixels of each pedestrian object and each vehicle object according to the coordinate information in the identification information; determine whether at least one pixel of the edge pixels is in the first In an area; the first area is the area formed by the lane where the vehicle is located in the target image; the pedestrian objects or vehicle objects whose edge pixels have at least one pixel point in the first area are used as candidate objects.

作为另一种可能的实现方式,获取单元11311,具体用于根据识别信息中的坐标信息,为每个行人对象和每个车辆对象标记识别框;判断每个识别框是否有至少一个指定边界点处于第一区域内;第一区域为目标图像中由车辆所处车道形成的区域;将有至少一个指定边界点处于第一区域内的识别框作为目标识别框;将目标识别框对应的对象作为候选对象。As another possible implementation, the obtaining unit 11311 is specifically configured to mark a recognition frame for each pedestrian object and each vehicle object according to the coordinate information in the recognition information; determine whether each recognition frame has at least one designated boundary point is in the first area; the first area is the area formed by the lane where the vehicle is located in the target image; the recognition frame with at least one specified boundary point in the first area is used as the target recognition frame; the object corresponding to the target recognition frame is used as the target recognition frame. candidates.

识别单元11312,用于根据每个候选对象与车辆之间的距离,从所有的候选对象中识别出第一对象。The identifying unit 11312 is configured to identify the first object from all the candidate objects according to the distance between each candidate object and the vehicle.

生成子模块1132,用于根据第一对象和运行信息,生成车辆的安全驾驶策略并执行。The generating sub-module 1132 is configured to generate and execute a safe driving strategy of the vehicle according to the first object and the operation information.

本发明实施例中,生成子模块1132,具体用于获取第一对象与车辆之间的第一距离;根据运行信息中的车速和第一距离,获取车辆到达第一对象所需的运行时间;根据运行时间确定第一对象与车辆之间的风险等级;根据风险等级生成安全驾驶策略并执行。In the embodiment of the present invention, the generating sub-module 1132 is specifically used to obtain the first distance between the first object and the vehicle; according to the vehicle speed and the first distance in the operation information, obtain the running time required for the vehicle to reach the first object; Determine the risk level between the first object and the vehicle according to the running time; generate and execute a safe driving strategy according to the risk level.

需要说明的是,前述对安全驾驶方法实施例的解释说明也适用于该实施例的安全驾驶装置1100,此处不再赘述。It should be noted that, the foregoing explanations of the embodiment of the safe driving method are also applicable to the safe driving device 1100 of this embodiment, which will not be repeated here.

本发明实施例的安全驾驶装置,通过获取目标图像,从目标图像中识别每个对象,而后根据识别出的对象和车辆的当前的运行信息,生成安全驾驶策略并执行,能够有效保障车辆行驶的安全性。The safe driving device according to the embodiment of the present invention can obtain a target image, identify each object from the target image, and then generate and execute a safe driving strategy according to the identified object and the current running information of the vehicle, which can effectively ensure the driving safety of the vehicle. safety.

为了实现上述实施例,本发明还提出一种安全辅助系统。In order to realize the above embodiments, the present invention also proposes a safety assistance system.

图13为本发明实施例所提供的一种安全辅助系统的结构示意图。FIG. 13 is a schematic structural diagram of a safety assistance system provided by an embodiment of the present invention.

如图13所示,该安全辅助系统1300包括:如前述图9-10实施例所述的图像处理装置和图11-12实施例所述的安全驾驶装置。As shown in FIG. 13 , the safety assistance system 1300 includes: the image processing device described in the foregoing embodiments of FIGS. 9-10 and the safe driving device described in the embodiments of FIGS. 11-12 .

本实施例的安全辅助系统,通过对双摄像头拍摄的图像进行图像融合,形成目标图像,能够保证目标图像的质量,从而对目标图像进行识别,可以提升对象识别的准确度。此外,根据与车辆之间存在风险的第一对象和运行信息,生成车辆的安全驾驶策略并执行安全驾驶策略,能够有效保障车辆行驶的安全性,用于解决现有ADAS系统采用可见光摄像装置获取车辆外部的图像,在光线较弱的场景下,拍摄的图像画面较为模糊,且噪声较大,因此,在后续对图像进行对象识别的过程中,对象的误识别率以及漏识别率较大,直接影响车辆的行驶安全的技术问题。The safety assistance system of this embodiment forms a target image by image fusion of the images captured by the dual cameras, which can ensure the quality of the target image, thereby recognizing the target image and improving the accuracy of object recognition. In addition, according to the first object and operation information that is at risk with the vehicle, the safe driving strategy of the vehicle is generated and executed, which can effectively ensure the safety of the vehicle driving, which is used to solve the problem that the existing ADAS system adopts the visible light camera device to obtain the For the image outside the vehicle, in the scene with weak light, the captured image is relatively blurry and noisy. Therefore, in the subsequent process of object recognition on the image, the false recognition rate and the missed recognition rate of the object are relatively large. Technical issues that directly affect the driving safety of vehicles.

为了实现上述实施例,本发明还提出一种计算机设备,包括:处理器和存储器;其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如本发明前述实施例提出的图像处理方法或者安全驾驶方法。In order to realize the above-mentioned embodiments, the present invention also provides a computer device, comprising: a processor and a memory; wherein, the processor runs and executes the executable program code by reading the executable program code stored in the memory. A corresponding program is used to implement the image processing method or the safe driving method as proposed in the foregoing embodiments of the present invention.

为了实现上述实施例,本发明还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如本发明前述实施例提出的图像处理方法或者安全驾驶方法。In order to realize the above-mentioned embodiments, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the image as proposed in the foregoing embodiments of the present invention is realized. How to deal with it or how to drive safely.

为了实现上述实施例,本发明还提出一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如本发明前述实施例提出的图像处理方法或者安全驾驶方法。In order to realize the above embodiments, the present invention also provides a computer program product, when the instructions in the computer program product are executed by the processor, the image processing method or the safe driving method proposed in the foregoing embodiments of the present invention is executed.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following techniques known in the art, or a combination thereof: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program is stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (21)

1. An image processing method, comprising:
acquiring a first image and a second image based on a double-camera device on a vehicle;
carrying out image fusion on the first image and the second image to form a target image;
identifying each object from the target image; wherein the object is a pedestrian object or a vehicular object.
2. The image processing method according to claim 1, wherein the image fusing the first image and the second image to form a target image comprises:
adjusting the resolution of the first image and/or the second image to make the resolution of the two images the same;
registering the first and second images of the same resolution;
and fusing the first image and the second image after registration to obtain the target image.
3. The method according to claim 2, wherein the adjusting the resolution of the first image and/or the second image to make the resolution of the two images the same comprises:
selecting one of the first image and the second image as a reference image;
adjusting the resolution of the other image according to the resolution of the reference image; or,
acquiring a target resolution according to the resolution of the first image and the resolution of the second image;
and simultaneously adjusting the resolution of the first image and the second image to be the target resolution.
4. The image processing method of claim 2, wherein said registering the first and second images of the same resolution comprises:
selecting one of the first image and the second image with the same resolution as a reference image;
acquiring a transformation coefficient for performing affine transformation on another image according to the reference image; the transformation coefficient is obtained by calibrating the double-camera device in advance;
and carrying out affine transformation on the other image according to the transformation coefficient to obtain the first image and the second image after registration.
5. The image processing method according to claim 4, wherein the fusing the registered first image and the second image to obtain the target image comprises:
respectively carrying out multi-scale decomposition on the registered first image and the registered second image to obtain two groups of multi-scale decomposition coefficients;
fusing the two groups of multi-scale decomposition coefficients according to a preset fusion rule to obtain fusion coefficients;
and carrying out multi-scale inverse transformation and reverse reconstruction according to the fusion coefficient to obtain the target image.
6. The image processing method according to any one of claims 1 to 5, wherein the identifying each object from the target image comprises:
carrying out gray level processing on the target image to obtain a gray level image of the target image;
performing histogram equalization processing on the gray level image to obtain an equalized gray level image;
dividing the balanced gray level images to form at least two paths of balanced gray level images;
carrying out pedestrian recognition on one path of the equalized gray level image to obtain a pedestrian object and recognition information of the pedestrian object;
and carrying out vehicle identification on the other path of the equalized gray scale image to acquire a vehicle object and identification information of the vehicle object.
7. The image processing method according to claim 6, wherein the performing pedestrian recognition on one path of the equalized gray-scale map to obtain a pedestrian object comprises:
performing multilevel scaling processing on the equalized gray level image by using a Laplacian pyramid decomposition algorithm;
carrying out hog feature extraction on the zoomed image on each level;
and performing classification identification based on the hog features, wherein the pedestrian object is identified from the objects.
8. The image processing method according to claim 6, wherein the performing vehicle identification on the other path of the equalized gray scale map to obtain a vehicle object comprises:
performing multilevel scaling processing on the equalized gray level image by using a Laplacian pyramid decomposition algorithm;
extracting haar characteristics of the zoomed image on each level;
and performing classification identification based on the haar features, and identifying vehicle objects from the objects.
9. The image processing method according to claim 7 or 8, characterized by, after identifying a pedestrian object or a vehicular object from the objects, further comprising:
and tracking the identified pedestrian objects and the identified vehicle objects, and eliminating the pedestrian objects and the vehicle objects which are identified by mistake.
10. A safe driving method, characterized in that the method comprises:
acquiring a target image; wherein the target image is obtained by the image processing method according to any one of claims 1 to 9;
identifying each object from the target image;
and generating and executing a safe driving strategy according to the identified object and the current running information of the vehicle.
11. The safe driving method according to claim 10, wherein the identifying each object from the target image includes:
carrying out gray level processing on the target image to obtain a gray level image of the target image;
performing histogram equalization processing on the gray level image to obtain an equalized gray level image;
dividing the balanced gray level images to form at least two paths of balanced gray level images;
carrying out pedestrian recognition on one path of the equalized gray level image to obtain a pedestrian object and recognition information of the pedestrian object;
and carrying out vehicle identification on the other path of the equalized gray scale image to acquire a vehicle object and identification information of the vehicle object.
12. The safe driving method according to claim 11, wherein the generating and executing of the safe driving strategy according to the identified object and the current operation information of the vehicle comprises:
determining an object closest to the vehicle from all the identified objects as a first object at risk with the vehicle;
and generating and executing a safe driving strategy of the vehicle according to the first object and the operation information.
13. The safe driving method according to claim 12, wherein the determining, as the first object at risk with the vehicle, an object closest to the vehicle from among all the objects identified, comprises:
screening according to the identification information of the pedestrian object and the identification information of the vehicle object, and acquiring the pedestrian object and the vehicle object which meet preset conditions as candidate objects;
the first object is identified from all candidate objects according to the distance between each candidate object and the vehicle.
14. The safe driving method according to claim 13, wherein the performing the filtering according to the identification information of the pedestrian object and the identification information of the vehicle object, from which the pedestrian object and the vehicle object that satisfy a preset condition are acquired as candidate objects, includes:
acquiring edge pixel points of each pedestrian object and each vehicle object according to the coordinate information in the identification information;
judging whether at least one pixel point of the edge pixel points is in a first area or not; the first area is an area formed by a lane where the vehicle is located in the target image;
and taking the pedestrian object or the vehicle object of which at least one pixel point is located in the first region of the edge pixel points as the candidate object.
15. The safe driving method according to claim 13, wherein the performing the filtering according to the identification information of the pedestrian object and the identification information of the vehicle object, from which the pedestrian object and the vehicle object that satisfy a preset condition are acquired as candidate objects, includes:
marking an identification frame for each pedestrian object and each vehicle object according to the coordinate information in the identification information;
judging whether each identification frame has at least one appointed boundary point in the first area; the first area is an area formed by a lane where the vehicle is located in the target image;
taking the recognition frame with at least one designated boundary point in the first area as a target recognition frame;
and taking the object corresponding to the target recognition frame as the candidate object.
16. The safe driving method according to any one of claims 12 to 15, wherein the generating and executing of the safe driving strategy of the vehicle based on the first object and the operation information includes:
obtaining a first distance between the first object and the vehicle;
acquiring the running time required by the vehicle to reach the first object according to the vehicle speed and the first distance in the running information;
determining a risk level between the first object and the vehicle as a function of the runtime;
and generating and executing the safe driving strategy according to the risk level.
17. An image processing apparatus characterized by comprising:
the system comprises an image acquisition module, a first image acquisition module and a second image acquisition module, wherein the image acquisition module is used for acquiring a first image and a second image based on a double-camera device on a vehicle;
the forming module is used for carrying out image fusion on the first image and the second image to form a target image;
a first recognition module for recognizing each object from the target image.
18. A safe driving apparatus, comprising:
the acquisition module is used for acquiring a target image; wherein the target image is obtained by the image processing method according to any one of claims 1 to 9;
a second recognition module for recognizing each object from the target image;
and the generating module is used for generating and executing a safe driving strategy according to the identified object and the current running information of the vehicle.
19. A computer device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the image processing method according to any one of claims 1 to 9 or the safe driving method according to any one of claims 10 to 16.
20. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the image processing method according to any one of claims 1 to 9 or the safe driving method according to any one of claims 10 to 16.
21. A computer program product, wherein instructions, when executed by a processor, perform the image processing method of any of claims 1-9 or the safe driving method of any of claims 10-16.
CN201711050555.7A 2017-10-31 2017-10-31 Image processing method and device, safe driving method and device Pending CN109727188A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711050555.7A CN109727188A (en) 2017-10-31 2017-10-31 Image processing method and device, safe driving method and device
PCT/CN2018/112902 WO2019085929A1 (en) 2017-10-31 2018-10-31 Image processing method, device for same, and method for safe driving

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711050555.7A CN109727188A (en) 2017-10-31 2017-10-31 Image processing method and device, safe driving method and device

Publications (1)

Publication Number Publication Date
CN109727188A true CN109727188A (en) 2019-05-07

Family

ID=66293630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711050555.7A Pending CN109727188A (en) 2017-10-31 2017-10-31 Image processing method and device, safe driving method and device

Country Status (2)

Country Link
CN (1) CN109727188A (en)
WO (1) WO2019085929A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115777A (en) * 2020-08-10 2020-12-22 杭州优行科技有限公司 Method, device and equipment for detecting and identifying traffic sign categories
CN114723615A (en) * 2021-01-06 2022-07-08 通用汽车环球科技运作有限责任公司 Combining grayscale and color images to create a high resolution overlay image in a vehicle
CN114911062A (en) * 2021-02-07 2022-08-16 浙江舜宇智能光学技术有限公司 Optical system with dual imaging optical paths and optical device with dual imaging optical paths
WO2022237891A1 (en) * 2021-05-13 2022-11-17 南京大学 Imaging method and apparatus, and computer-readable medium
CN116264011A (en) * 2021-12-13 2023-06-16 浙江宇视科技有限公司 Image quality control method, device, medium and equipment based on two-way lens

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118097581B (en) * 2024-04-28 2024-06-25 山东领军智能交通科技有限公司 Road edge recognition control method and device

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006017233A1 (en) * 2004-07-12 2006-02-16 Lehigh University Image fusion methods and apparatus
US20080131024A1 (en) * 2006-12-01 2008-06-05 Harris Corporation Structured Smoothing for Superresolution of Multispectral Imagery Based on Registered Panchromatic Image
CN101699470A (en) * 2009-10-30 2010-04-28 华南理工大学 A method for extracting smiley face recognition from human face pictures
CN102005037A (en) * 2010-11-12 2011-04-06 湖南大学 Multimodality image fusion method combining multi-scale bilateral filtering and direction filtering
CN102542843A (en) * 2010-12-07 2012-07-04 比亚迪股份有限公司 Early warning method for preventing vehicle collision and device
CN102663366A (en) * 2012-04-13 2012-09-12 中国科学院深圳先进技术研究院 Method and system for identifying pedestrian target
CN102685516A (en) * 2011-03-07 2012-09-19 李慧盈 Active safety type assistant driving method based on stereoscopic vision
CN102693427A (en) * 2011-03-22 2012-09-26 日电(中国)有限公司 Method and device for forming detector for detecting images
CN203134149U (en) * 2012-12-11 2013-08-14 武汉高德红外股份有限公司 Vehicle auxiliary driving system based on different wave band imaging fusion image processing
CN103516997A (en) * 2012-06-18 2014-01-15 中兴通讯股份有限公司 Multi-source video image information real-time fusion method and device
CN103886566A (en) * 2014-03-18 2014-06-25 河海大学常州校区 Urban traffic dispatching system and method based on image fusion in severe weather
WO2014110629A1 (en) * 2013-01-17 2014-07-24 Sensen Networks Pty Ltd Automated vehicle recognition
CN104835130A (en) * 2015-04-17 2015-08-12 北京联合大学 Multi-exposure image fusion method
CN105138983A (en) * 2015-08-21 2015-12-09 燕山大学 Pedestrian detection method based on weighted part model and selective search segmentation
CN105303159A (en) * 2015-09-17 2016-02-03 中国科学院合肥物质科学研究院 Far-infrared pedestrian detection method based on distinctive features
CN105809649A (en) * 2016-03-03 2016-07-27 西安电子科技大学 Variation multi-scale decomposing based SAR image and visible light image integration method
CN105830131A (en) * 2013-11-04 2016-08-03 雷诺股份公司 Apparatus for detecting the lateral position of a pedestrian relative to the trajectory of a vehicle
CN106096604A (en) * 2016-06-02 2016-11-09 西安电子科技大学昆山创新研究院 Multi-spectrum fusion detection method based on unmanned platform
CN106599773A (en) * 2016-10-31 2017-04-26 清华大学 Deep learning image identification method and deep learning image identification system used for intelligent driving, and terminal device
CN106650615A (en) * 2016-11-07 2017-05-10 深圳云天励飞技术有限公司 Image processing method and terminal
CN107146247A (en) * 2017-05-31 2017-09-08 西安科技大学 Automobile assistant driving system and method based on binocular camera
CN107194905A (en) * 2017-05-22 2017-09-22 阜阳师范学院 A kind of image processing method and system based on non-lower sampling Cotourlet conversion
CN107230199A (en) * 2017-06-23 2017-10-03 歌尔科技有限公司 Image processing method, device and augmented reality equipment
CN107253485A (en) * 2017-05-16 2017-10-17 北京交通大学 Foreign matter invades detection method and foreign matter intrusion detection means

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714556A (en) * 2014-01-06 2014-04-09 中国科学院自动化研究所 Moving target tracking method based on pyramid appearance model

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006017233A1 (en) * 2004-07-12 2006-02-16 Lehigh University Image fusion methods and apparatus
US20080131024A1 (en) * 2006-12-01 2008-06-05 Harris Corporation Structured Smoothing for Superresolution of Multispectral Imagery Based on Registered Panchromatic Image
CN101699470A (en) * 2009-10-30 2010-04-28 华南理工大学 A method for extracting smiley face recognition from human face pictures
CN102005037A (en) * 2010-11-12 2011-04-06 湖南大学 Multimodality image fusion method combining multi-scale bilateral filtering and direction filtering
CN102542843A (en) * 2010-12-07 2012-07-04 比亚迪股份有限公司 Early warning method for preventing vehicle collision and device
CN102685516A (en) * 2011-03-07 2012-09-19 李慧盈 Active safety type assistant driving method based on stereoscopic vision
CN102693427A (en) * 2011-03-22 2012-09-26 日电(中国)有限公司 Method and device for forming detector for detecting images
CN102663366A (en) * 2012-04-13 2012-09-12 中国科学院深圳先进技术研究院 Method and system for identifying pedestrian target
CN103516997A (en) * 2012-06-18 2014-01-15 中兴通讯股份有限公司 Multi-source video image information real-time fusion method and device
CN203134149U (en) * 2012-12-11 2013-08-14 武汉高德红外股份有限公司 Vehicle auxiliary driving system based on different wave band imaging fusion image processing
WO2014110629A1 (en) * 2013-01-17 2014-07-24 Sensen Networks Pty Ltd Automated vehicle recognition
CN105830131A (en) * 2013-11-04 2016-08-03 雷诺股份公司 Apparatus for detecting the lateral position of a pedestrian relative to the trajectory of a vehicle
CN103886566A (en) * 2014-03-18 2014-06-25 河海大学常州校区 Urban traffic dispatching system and method based on image fusion in severe weather
CN104835130A (en) * 2015-04-17 2015-08-12 北京联合大学 Multi-exposure image fusion method
CN105138983A (en) * 2015-08-21 2015-12-09 燕山大学 Pedestrian detection method based on weighted part model and selective search segmentation
CN105303159A (en) * 2015-09-17 2016-02-03 中国科学院合肥物质科学研究院 Far-infrared pedestrian detection method based on distinctive features
CN105809649A (en) * 2016-03-03 2016-07-27 西安电子科技大学 Variation multi-scale decomposing based SAR image and visible light image integration method
CN106096604A (en) * 2016-06-02 2016-11-09 西安电子科技大学昆山创新研究院 Multi-spectrum fusion detection method based on unmanned platform
CN106599773A (en) * 2016-10-31 2017-04-26 清华大学 Deep learning image identification method and deep learning image identification system used for intelligent driving, and terminal device
CN106650615A (en) * 2016-11-07 2017-05-10 深圳云天励飞技术有限公司 Image processing method and terminal
CN107253485A (en) * 2017-05-16 2017-10-17 北京交通大学 Foreign matter invades detection method and foreign matter intrusion detection means
CN107194905A (en) * 2017-05-22 2017-09-22 阜阳师范学院 A kind of image processing method and system based on non-lower sampling Cotourlet conversion
CN107146247A (en) * 2017-05-31 2017-09-08 西安科技大学 Automobile assistant driving system and method based on binocular camera
CN107230199A (en) * 2017-06-23 2017-10-03 歌尔科技有限公司 Image processing method, device and augmented reality equipment

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
BURT P ET AL: "The Laplacian pyramid as a compact", 《IEEE》 *
冯翔 等: "基于多尺度图像局部结构分解的人脸特征提取方法", 《计算机与现代化》 *
刘璐: "智能视频监控中的行人车辆检测算法研究", 《中国优秀硕士学位论文全文数据库电子期刊 信息科技辑》 *
孙思佳: "基于可见光与红外图像融合的目标识别研究", 《中国优秀硕士学位论文全文数据库电子期刊 信息科技辑》 *
张宝辉: "红外与可见光的图像融合系统及应用研究", 《中国博士学位论文全文数据库电子期刊 信息科技辑》 *
李瑞峰: "《工业机器人设计与应用》", 31 January 2017, 哈尔滨: 工业大学出版社 *
赵超: "交通对象识别关键技术研究", 《中国优秀硕士学位论文全文数据库电子期刊 信息科技辑》 *
黄蕾 等: "A 基于相位一致的多尺度金字塔图像特征提取", 《计算机技术与发展》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115777A (en) * 2020-08-10 2020-12-22 杭州优行科技有限公司 Method, device and equipment for detecting and identifying traffic sign categories
CN114723615A (en) * 2021-01-06 2022-07-08 通用汽车环球科技运作有限责任公司 Combining grayscale and color images to create a high resolution overlay image in a vehicle
CN114911062A (en) * 2021-02-07 2022-08-16 浙江舜宇智能光学技术有限公司 Optical system with dual imaging optical paths and optical device with dual imaging optical paths
WO2022237891A1 (en) * 2021-05-13 2022-11-17 南京大学 Imaging method and apparatus, and computer-readable medium
CN116264011A (en) * 2021-12-13 2023-06-16 浙江宇视科技有限公司 Image quality control method, device, medium and equipment based on two-way lens
CN116264011B (en) * 2021-12-13 2026-07-03 浙江宇视科技有限公司 Image quality control method, device, medium and equipment based on double-path lens

Also Published As

Publication number Publication date
WO2019085929A1 (en) 2019-05-09

Similar Documents

Publication Publication Date Title
CN109729256B (en) Control method and device for dual camera device in vehicle
Wu et al. Lane-mark extraction for automobiles under complex conditions
US8391555B2 (en) Lane recognition apparatus for vehicle, vehicle thereof, and lane recognition program for vehicle
KR101669713B1 (en) Object detection
US9183447B1 (en) Object detection using candidate object alignment
US8611598B2 (en) Vehicle obstacle detection system
WO2019085929A1 (en) Image processing method, device for same, and method for safe driving
KR101848019B1 (en) Method and Apparatus for Detecting Vehicle License Plate by Detecting Vehicle Area
US10552706B2 (en) Attachable matter detection apparatus and attachable matter detection method
US9858493B2 (en) Method and apparatus for performing registration plate detection with aid of edge-based sliding concentric windows
CN114332704B (en) Traffic light recognition model training method and traffic light recognition method
CN101185084A (en) Method and system for detecting roads at night
JP7264428B2 (en) Road sign recognition device and its program
US20190213427A1 (en) Detection and Validation of Objects from Sequential Images of a Camera
CN111191482B (en) Brake lamp identification method and device and electronic equipment
CN101978392B (en) Image processing device for vehicle
Merugu et al. Multi lane detection, curve fitting and lane type classification
Barua et al. An efficient method of lane detection and tracking for highway safety
US11625048B2 (en) Apparatus and method for determining tow hitch location
WO2020001630A1 (en) Ternary image obtaining method and apparatus, and vehicle
JP4826355B2 (en) Vehicle surrounding display device
US10417518B2 (en) Vehicle camera system
KR102109841B1 (en) Method and apparatus for detecting vehicle from driving image
Harsha et al. Vehicle Detection and Lane Keep Assist System for Self-driving Cars
WO2017017140A1 (en) Method for capturing an object on a road in the environment of a motor vehicle, camera system and motor vehicle using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination