Image processing method and device

文档序号:539050 发布日期:2021-06-01 浏览:11次 中文

阅读说明:本技术 一种图像处理方法及装置 (Image processing method and device ) 是由 王伟刚 周国中 欧进利 曾继平 于 2019-05-29 设计创作,主要内容包括:一种图像处理方法及装置,涉及图像处理技术领域,能够解决成本高、空间占用较大的问题。摄像机根据第一预设图像参数在第一时刻采用该摄像机中的图像传感器进行拍摄,以获取第一图像,并根据第二预设图像参数在第二时刻采用所述图像传感器进行拍摄,以获取第二图像。后续,摄像机根据获取到的第一图像和第二图像,获得车辆的信息和车外事物的信息。其中,第一预设图像参数包括第一曝光时间,第二预设图像参数包括第二曝光时间,第二曝光时间与第一曝光时间不同,第一图像中存在车辆,第二图像中存在车外事物。(An image processing method and device relate to the technical field of image processing and can solve the problems of high cost and large occupied space. The camera shoots by adopting an image sensor in the camera at a first moment according to a first preset image parameter so as to obtain a first image, and shoots by adopting the image sensor at a second moment according to a second preset image parameter so as to obtain a second image. Subsequently, the camera obtains information of the vehicle and information of things outside the vehicle according to the obtained first image and the second image. The first preset image parameter comprises first exposure time, the second preset image parameter comprises second exposure time, the second exposure time is different from the first exposure time, a vehicle exists in the first image, and things outside the vehicle exist in the second image.)

An image processing method applied to a road traffic monitoring scene including a camera, the image processing method comprising:

shooting by using an image sensor in the camera at a first moment according to a first preset image parameter to acquire a first image, wherein the first preset image parameter comprises first exposure time;

shooting by using the image sensor at a second moment according to a second preset image parameter to obtain a second image, wherein the second preset image parameter comprises second exposure time, and the second exposure time is different from the first exposure time;

and obtaining information of a vehicle and information of objects outside the vehicle according to the first image and the second image, wherein the vehicle exists in the first image, and the objects outside the vehicle exist in the second image.

An image processing method applied to a road traffic monitoring scene including a camera, the image processing method comprising:

shooting by using a first image sensor in the camera at a first moment according to a first preset image parameter to acquire a first image, wherein the first preset image parameter comprises first exposure time;

shooting by using a second image sensor in the camera at a second moment according to a second preset image parameter to acquire a second image, wherein the second image sensor is different from the first image sensor, the second preset image parameter comprises a second exposure time, and the second exposure time is different from the first exposure time;

and obtaining information of a vehicle and information of objects outside the vehicle according to the first image and the second image, wherein the vehicle exists in the first image, and the objects outside the vehicle exist in the second image.

The image processing method according to claim 1 or 2, wherein the obtaining information of a vehicle and information of an object outside the vehicle from the first image and the second image comprises:

coding the first image by adopting a first preset coding algorithm to obtain a coded first image;

detecting whether a vehicle exists in the coded first image;

obtaining information of a vehicle in the case where the vehicle exists in the encoded first image;

coding the second image by adopting a second preset coding algorithm to obtain a coded second image;

detecting whether the vehicle exterior object exists in the coded second image;

and obtaining information of the vehicle exterior object when the vehicle exterior object exists in the encoded second image.

The image processing method according to claim 1 or 2, wherein the first image and the second image are obtained by shooting a same shooting scene by the camera; the obtaining of information of a vehicle and information of things outside the vehicle according to the first image and the second image comprises:

fusing the first image and the second image by adopting a preset fusion algorithm to generate a third image;

coding the third image by adopting a third preset coding algorithm to obtain a coded third image;

detecting whether the coded third image has vehicle and vehicle-exterior objects or not;

and obtaining information of the vehicle and information of the object outside the vehicle when the vehicle and the object outside the vehicle exist in the encoded third image.

The image processing method according to any one of claims 1 to 4,

the first preset image parameters further comprise at least one of a first frame rate, a first exposure compensation coefficient, a first gain or a first shutter speed;

the second preset image parameters further include at least one of a second frame rate, a second exposure compensation system, a second gain, or a second shutter speed.

The image processing method according to any one of claims 1 to 5,

the information of the vehicle comprises a license plate number;

the off-board item includes at least one of a pedestrian, an animal, a non-motor vehicle outside of the vehicle, or a driver of a non-motor vehicle outside of the vehicle.

A camera for use in a road traffic monitoring scene, the camera comprising:

the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for shooting by using an image sensor in the camera at a first moment according to a first preset image parameter so as to obtain a first image, the first preset image parameter comprises first exposure time, and the acquisition unit is used for shooting by using the image sensor at a second moment according to a second preset image parameter so as to obtain a second image, the second preset image parameter comprises second exposure time, and the second exposure time is different from the first exposure time;

and the processing unit is used for obtaining information of a vehicle and information of objects outside the vehicle according to the first image and the second image obtained by the acquisition unit, wherein the vehicle exists in the first image, and the objects outside the vehicle exist in the second image.

A camera for use in a road traffic monitoring scene, the camera comprising:

the acquisition unit is used for shooting by using a first image sensor in the camera at a first moment according to a first preset image parameter so as to acquire a first image, and shooting by using a second image sensor in the camera at a second moment according to a second preset image parameter so as to acquire a second image, wherein the second image sensor is different from the first image sensor, and the exposure time of the first image is different from that of the second image;

and the processing unit is used for obtaining information of a vehicle and information of objects outside the vehicle according to the first image and the second image obtained by the acquisition unit, wherein the vehicle exists in the first image, and the objects outside the vehicle exist in the second image.

The camera according to claim 7 or 8, characterized in that the processing unit is specifically configured to:

coding the first image by adopting a first preset coding algorithm to obtain a coded first image;

detecting whether a vehicle exists in the coded first image;

obtaining information of a vehicle in the case where the vehicle exists in the encoded first image;

coding the second image by adopting a second preset coding algorithm to obtain a coded second image;

detecting whether the vehicle exterior object exists in the coded second image;

and obtaining information of the vehicle exterior object when the vehicle exterior object exists in the encoded second image.

The camera according to claim 7 or 8, wherein the first image and the second image are obtained by shooting the same shooting scene by the acquisition unit; the processing unit is specifically configured to:

fusing the first image and the second image by adopting a preset fusion algorithm to generate a third image;

coding the third image by adopting a third preset coding algorithm to obtain a coded third image;

detecting whether the coded third image has vehicle and vehicle-exterior objects or not;

and obtaining information of the vehicle and information of the object outside the vehicle when the vehicle and the object outside the vehicle exist in the encoded third image.

The camera according to any one of claims 7 to 10,

the first preset image parameters further comprise at least one of a first frame rate, a first exposure compensation coefficient, a first gain or a first shutter speed;

the second preset image parameters further include at least one of a second frame rate, a second exposure compensation system, a second gain, or a second shutter speed.

The camera according to any one of claims 7 to 11,

the information of the vehicle comprises a license plate number;

the off-board item includes at least one of a pedestrian, an animal, a non-motor vehicle outside of the vehicle, or a driver of a non-motor vehicle outside of the vehicle.

A camera, characterized in that the camera comprises: one or more processors, and a memory;

the memory is coupled with the one or more processors; the memory is for storing computer program code comprising instructions which, when executed by the one or more processors, cause the camera to perform the image processing method of any of claims 1-6.

A computer-readable storage medium comprising instructions that, when run on a camera, cause the camera to perform the image processing method of any one of claims 1-6.

33页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:深度图像获取方法、深度图像获取装置及电子装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类