[go: up one dir, main page]

CN108269270A - Sun detection, tracks of device, method and application - Google Patents

Sun detection, tracks of device, method and application Download PDF

Info

Publication number
CN108269270A
CN108269270A CN201810004861.5A CN201810004861A CN108269270A CN 108269270 A CN108269270 A CN 108269270A CN 201810004861 A CN201810004861 A CN 201810004861A CN 108269270 A CN108269270 A CN 108269270A
Authority
CN
China
Prior art keywords
image
target
unit
detection
imaging
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
CN201810004861.5A
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.)
CHENGDU KECHUANG INTELLECTUAL PROPERTY INSTITUTE
Original Assignee
CHENGDU KECHUANG INTELLECTUAL PROPERTY INSTITUTE
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 CHENGDU KECHUANG INTELLECTUAL PROPERTY INSTITUTE filed Critical CHENGDU KECHUANG INTELLECTUAL PROPERTY INSTITUTE
Publication of CN108269270A publication Critical patent/CN108269270A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • G06T7/41Analysis of texture based on statistical description of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • G06T7/41Analysis of texture based on statistical description of texture
    • G06T7/44Analysis of texture based on statistical description of texture using image operators, e.g. filters, edge density metrics or local histograms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/77Determining position or orientation of objects or cameras using statistical methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Probability & Statistics with Applications (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了太阳检测、跟踪装置,方法及应用,所述检测装置包括,图像采集设备电连接的处理单元,图像采集设备采集被检测目标的图像,形成可检测信号,处理单元识别可检测信号中的目标图像信号,根据目标图像信号对目标图像进行检测,获得被检测目标的检测信息。基于所述检测装置公开了目标跟踪装置,以及相关的方法和应用。本发明可显著提升对目标检测的精确度,同时,可以实现实时的处理和运算,提高效率和准确度。

The invention discloses a sun detection and tracking device, method and application. The detection device includes a processing unit electrically connected to an image acquisition device. The image acquisition device collects an image of a detected target to form a detectable signal, and the processing unit recognizes the detectable signal. The target image signal in is used to detect the target image according to the target image signal to obtain the detection information of the detected target. Based on the detection device, a target tracking device, as well as related methods and applications are disclosed. The invention can significantly improve the accuracy of target detection, and at the same time, can realize real-time processing and calculation, and improve efficiency and accuracy.

Description

太阳检测、跟踪装置,方法及应用Sun detection and tracking device, method and application

技术领域technical field

本发明涉及检测及跟踪技术,尤其是目标检测、跟踪技术及其应用,进一步地,特别涉及太阳的检测、跟踪技术及应用。The present invention relates to detection and tracking technology, especially target detection and tracking technology and its application, and more particularly relates to sun detection and tracking technology and its application.

背景技术Background technique

目标检测与跟踪技术是自动化技术的基础。由于目标对象的差异,会根据不同的需要采用不同的技术方案。对于各类发光、反光(包括能够漫反射和镜面反射的目标)、发热等目标的检测是应用范围较广的检测技术。Object detection and tracking technology is the basis of automation technology. Due to the difference of target objects, different technical solutions will be adopted according to different needs. The detection of all kinds of luminous, reflective (including diffuse reflection and specular reflection targets), heat generation and other targets is a detection technology with a wide range of applications.

以太阳检测、跟踪技术为例,目前,常使用的光电、光热检测及跟踪技术,传感器及相关电路配件多,技术方案比较复杂,灵敏度和精度不高,响应时间较长,从而制约了应用场景和应用效果。Taking the sun detection and tracking technology as an example, at present, the commonly used photoelectric, photothermal detection and tracking technologies have many sensors and related circuit accessories, the technical solutions are relatively complicated, the sensitivity and precision are not high, and the response time is long, which restricts the application. Scene and apply effects.

发明内容Contents of the invention

针对上述不足,本发明所要解决的技术问题在于提供一种新的检测装置,以及相应的跟踪装置;进一步地,提供相应的应用。In view of the above shortcomings, the technical problem to be solved by the present invention is to provide a new detection device and a corresponding tracking device; furthermore, to provide a corresponding application.

检测装置,其特征在于,图像采集设备电连接的处理单元,图像采集设备采集被检测目标的图像,形成可检测信号,处理单元识别可检测信号中的目标图像信号,根据目标图像信号对目标图像进行检测,获得被检测目标的检测信息。The detection device is characterized in that the image acquisition device is electrically connected to the processing unit, the image acquisition device collects the image of the detected target to form a detectable signal, the processing unit identifies the target image signal in the detectable signal, and processes the target image according to the target image signal Perform detection to obtain detection information of the detected target.

优选地,图像采集设备包括光学成像单元,以及设置在其后方的影像单元,光学成像单元将所述目标及其背景在成像单元上形成光学图像,成像单元将光学图像转换为其他类型的可检测信号,并送到所述处理单元。Preferably, the image acquisition device includes an optical imaging unit and an imaging unit arranged behind it, the optical imaging unit forms an optical image of the target and its background on the imaging unit, and the imaging unit converts the optical image into other types of detectable signal and sent to the processing unit.

优选地,所述成像单元为光电成像单元,将光学图像转换为图像电信号,并送到处理单元,所述处理单元识别图像电信号中的目标图像信号,根据目标图像信号的相关参数获得所述目标的检测信息。Preferably, the imaging unit is a photoelectric imaging unit, which converts the optical image into an image electrical signal and sends it to the processing unit, and the processing unit identifies the target image signal in the image electrical signal, and obtains the target image signal according to the relevant parameters of the target image signal. The detection information of the target.

优选地,进一步包括滤光单元,所述滤光单元设置在图像采集设备或光学成像单元前端。Preferably, a filter unit is further included, and the filter unit is arranged at the front end of the image acquisition device or the optical imaging unit.

优选地,所述滤光单元为光学滤镜;或,所述滤光单元为小孔成像系统,所述小孔成像系统包括成像屏,设置在成像屏前方的成像小孔,图像采集设备采集成像屏上的像。Preferably, the filter unit is an optical filter; or, the filter unit is a pinhole imaging system, and the pinhole imaging system includes an imaging screen, an imaging pinhole arranged in front of the imaging screen, and an image acquisition device collects image on the imaging screen.

检测装置,图像传感单元与数据处理单元连接,在所述图像传感单元前方设置成像小孔,通过所述成像小孔将被检测目标直接在图像传感单元上形成光学图像,并被图像传感单元生产数字化电信号。In the detection device, the image sensing unit is connected with the data processing unit, and an imaging pinhole is arranged in front of the image sensing unit, through which the detected target directly forms an optical image on the image sensing unit, and is imaged The sensing unit produces a digitized electrical signal.

目标跟踪装置,包括前述的检测装置,所述检测装置与控制单元连接,所述控制单元与所述跟踪单元连接,所述检测装置通过目标图像信号的位置关系,判断目标的位置情况,通过控制单元控制所述跟踪单元工作。The target tracking device includes the aforementioned detection device, the detection device is connected to the control unit, the control unit is connected to the tracking unit, the detection device judges the position of the target through the positional relationship of the target image signal, and controls the The unit controls the operation of the tracking unit.

太阳能检测或跟踪系统,包括前述的目标跟踪装置,所述检测装置采集太阳的图像,对所述太阳进行检测或跟踪。The solar energy detection or tracking system includes the aforementioned target tracking device, the detection device collects images of the sun, and detects or tracks the sun.

太阳能系统,包括前述的系统,所述跟踪单元与太阳能采集单元连接,并驱动太阳能采集单元的运动或工作状态。The solar energy system includes the aforementioned system, the tracking unit is connected with the solar energy collection unit, and drives the movement or working state of the solar energy collection unit.

目标检测方法,用图像采集设备来采集被检测目标的图像,通过对目标图像的识别和检测、定位,实现对目标的检测和跟踪。The target detection method uses image acquisition equipment to collect the image of the detected target, and realizes the detection and tracking of the target through the recognition, detection and positioning of the target image.

同时,本发明还包括目标跟踪方法、太阳检测、跟踪方法,以及相关检测及跟踪装置的使用方法和应用。At the same time, the present invention also includes a target tracking method, a sun detection and tracking method, and a method and application of related detection and tracking devices.

在上述技术方案中,由于图像传感器具有很高的图像采集灵敏度(如常用的RGB24是一种24位的RGB格式,各分量占用8位,每个分量取值范围为0-255)和像素的精细度(目前的常规图像传感器已经达到百万像素点的精细度),显著提升对目标检测的精确度,同时,通过适当的图像识别算法,可以实现实时的处理和运算,提高效率。比如,通过本发明,可以实现对检测目标的细微变化予以检测、定位。在应用方面,目标跟踪(包括太阳跟踪等),采样本发明,直接利用1个摄像头,即可准确识别太阳位置和角度,并进行实时跟踪。当然也可以用在其他目标跟踪方面,如飞行器,火光检测等。In the above technical solution, since the image sensor has high image acquisition sensitivity (for example, the commonly used RGB24 is a 24-bit RGB format, each component occupies 8 bits, and the value range of each component is 0-255) and the pixel Fineness (the current conventional image sensor has reached the fineness of megapixels), which significantly improves the accuracy of target detection. At the same time, through appropriate image recognition algorithms, real-time processing and calculation can be realized to improve efficiency. For example, through the present invention, it is possible to detect and locate the subtle changes of the detection target. In terms of application, target tracking (including sun tracking, etc.), sampling the present invention, can directly use a camera to accurately identify the sun's position and angle, and perform real-time tracking. Of course, it can also be used in other target tracking, such as aircraft, fire detection, etc.

附图说明Description of drawings

为了更清楚地描述本发明所涉及的相关技术方案,下面将其涉及的附图予以简单说明,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the relevant technical solutions involved in the present invention, the accompanying drawings will be briefly described below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings on the premise of not paying creative efforts.

图1本发明结构原理图;Fig. 1 structural principle diagram of the present invention;

图2检测组件的一实施例;An embodiment of Fig. 2 detection assembly;

图3检测组件的另一实施例;Another embodiment of Fig. 3 detection assembly;

图4太阳检测、跟踪应用系统的一实施例;An embodiment of Fig. 4 sun detection, tracking application system;

图5太阳检测、跟踪应用系统的另一实施例;Another embodiment of Fig. 5 sun detection, tracking application system;

图6太阳检测、跟踪应用系统的又一实施例;Another embodiment of Fig. 6 sun detection, tracking application system;

图7太阳检测、跟踪应用系统的再一实施例;Another embodiment of Fig. 7 sun detection, tracking application system;

图8像素迭代处理原理示意图;Figure 8 is a schematic diagram of the principle of pixel iterative processing;

图9图片像素迭代实测结果示意图;Figure 9 is a schematic diagram of the measured results of image pixel iteration;

图10图片1a的像素迭代处理效果图;Figure 10 picture 1a pixel iterative processing effect diagram;

图11图片1b的像素迭代处理效果图。Fig. 11 Effect diagram of pixel iterative processing of picture 1b.

附图标记说明:Explanation of reference signs:

目标A,目标的像A’(即目标在图像传感单元222上形成的像);图片1,图片上的目标图像10(简称目标图像10),图片上的背景图像13(简称背景图像13),第一状态的图片1a,第二状态的图片1b,第一状态图片上的目标图像10a(简称目标图像10a),第一状态图片上的目标图像10b(简称目标图像10b);检测组件2,滤光单元21,成像小孔211,成像屏212,摄像头22,光学成像单元221,图像传感单元222,数据处理单元23;像素迭代曲线3(简称迭代曲线3),目标部曲线30,目标部曲线峰/谷301,边界部曲线31,背景部曲线33,背景噪声部曲线331,迭代差值曲线30a,噪声迭代差值曲线332;应用系统4,控制单元41,跟踪单元42,太阳能采集单元43,调控单元44,太阳能应用系统45。Target A, the image A' of the target (that is, the image formed by the target on the image sensing unit 222); Picture 1, the target image 10 on the picture (referred to as the target image 10), the background image 13 on the picture (referred to as the background image 13 ), the picture 1a in the first state, the picture 1b in the second state, the target image 10a on the first state picture (referred to as the target image 10a), the target image 10b on the first state picture (referred to as the target image 10b); the detection component 2. Filter unit 21, imaging pinhole 211, imaging screen 212, camera 22, optical imaging unit 221, image sensing unit 222, data processing unit 23; pixel iteration curve 3 (referred to as iteration curve 3), target part curve 30 , target part curve peak/valley 301, boundary part curve 31, background part curve 33, background noise part curve 331, iterative difference curve 30a, noise iterative difference curve 332; application system 4, control unit 41, tracking unit 42, A solar energy collection unit 43 , a control unit 44 , and a solar energy application system 45 .

具体实施方式Detailed ways

为了便于本领域的技术人员对本发明的进一步理解,并清楚地认识本申请所记载的技术方案,完整、充分地公开本发明的相关技术内容,下面结合附图对本发明的具体实施方式进行详细的描述,当然,所描述的具体实施方式仅仅以列举方式给出了本发明的一部分实施例,用于帮助理解本发明及其核心思想。In order to make it easier for those skilled in the art to further understand the present invention, and to clearly understand the technical solutions described in this application, and to fully and fully disclose the relevant technical content of the present invention, the specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings Description, of course, the described specific implementation is only an example to give a part of the embodiments of the present invention, to help understand the present invention and its core idea.

基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,和/或在不背离本发明精神及其实质的情况下,即使对各个步骤的执行顺序(部分的连接关系或结构)进行了改变,以及根据本发明做出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明保护的范围。同时,所述各个实施例的相关部分可以彼此进行替换,并形成新的实施例,具体实现方式本领域技术人员可以完全理解和知晓,在本申请中不再赘述。Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work, and/or without departing from the spirit and essence of the present invention, even if the implementation of each step The order (partial connection relationship or structure) has been changed, and various corresponding changes and deformations have been made according to the present invention, but these corresponding changes and deformations should all belong to the protection scope of the present invention. At the same time, relevant parts of the various embodiments can be replaced with each other to form a new embodiment. The specific implementation manner can be fully understood and known by those skilled in the art, and will not be repeated in this application.

本发明涉及的相关术语定义如下:The definitions of relevant terms involved in the present invention are as follows:

图片,指数字化图片,用以记录采集到的图像信息,由若干像素点构成的,包括背景图像、前景图像(本申请称之为目标图像);对于像素点的描述可以根据不同的协议来实现,并可以采用多种编码方式予以记录、运算和存储,并根据不同的需要采用不同协议规定的模式进行应用。当然,在本发明中,所述的图片还可以是其他形式所记录的图像信息,根据申请文件的上下文可以无歧义的理解。以图片的象素点为单位,行、场(列)方向分别为X轴、Y轴建立坐标系,以像素点为单位,沿行方向为X坐标轴,场方向为Y轴建立坐标系,在建立坐标时,通常选择左上顶点像素点为坐标原点(0,0)Picture refers to a digital picture, which is used to record the collected image information and is composed of several pixels, including background image and foreground image (referred to as the target image in this application); the description of pixels can be realized according to different protocols , and can be recorded, calculated and stored in a variety of encoding methods, and applied in modes specified by different protocols according to different needs. Of course, in the present invention, the picture may also be image information recorded in other forms, which can be understood without ambiguity according to the context of the application documents. The pixel point of the picture is used as the unit, and the row and field (column) directions are respectively the X-axis and the Y-axis to establish a coordinate system. The pixel is used as the unit, and the row direction is the X-coordinate axis, and the field direction is the Y-axis to establish a coordinate system. When establishing coordinates, the upper left vertex pixel point is usually selected as the coordinate origin (0, 0)

图像传感器,或称感光元件,是一种将光学图像转换成数字电信号的器件,它被广泛地应用在数码相机和其他电子光学设备中。图像传感器是组成数字摄像头(简称摄像头)的重要组成部分。根据元件的不同,可分为CCD(Charge Coupled Device,电荷耦合元件)和CMOS(Complementary Metal-Oxide Semiconductor,金属氧化物半导体元件)。当然,随着技术的发展,其他不同的图像传感器技术也将不断形成并应用。Image sensor, or photosensitive element, is a device that converts optical images into digital electrical signals, and it is widely used in digital cameras and other electronic optical devices. The image sensor is an important part of a digital camera (camera for short). According to different components, it can be divided into CCD (Charge Coupled Device, charge-coupled device) and CMOS (Complementary Metal-Oxide Semiconductor, metal oxide semiconductor device). Of course, with the development of technology, other different image sensor technologies will continue to be formed and applied.

摄像头(CAMERA或WEBCAM)又称为电脑相机、电脑眼、电子眼等,是一种视频输入设备。摄像头可分为数字摄像头和模拟摄像头两大类。数字摄像头可以将视频采集设备产生的模拟视频信号转换成数字信号,模拟摄像头捕捉到的视频信号必须经过特定的视频捕捉卡将模拟信号转换成数字模式。在本发明的技术方案中,还可以用其他成像设备或具有相同功能的设备或相关器件组合构成的设备来替代摄像头,同样可以达到本发明的技术效果。Camera (CAMERA or WEBCAM), also known as computer camera, computer eye, electronic eye, etc., is a video input device. Cameras can be divided into two categories: digital cameras and analog cameras. The digital camera can convert the analog video signal generated by the video capture device into a digital signal, and the video signal captured by the analog camera must be converted into a digital mode by a specific video capture card. In the technical solution of the present invention, the camera can also be replaced by other imaging devices or devices with the same function or a combination of related devices, and the technical effect of the present invention can also be achieved.

本发明的基础技术方案如下:Basic technical scheme of the present invention is as follows:

用成像设备(图像采集设备)来采集检测目标的图像,通过对目标图像的识别和检测、定位等,实现对目标的检测和跟踪。由于成像设备对目标图像信息记录全面,响应快,而且成像系统本身的灵敏度、精度高,有效提升目标检测和跟踪的灵敏度、精度和响应速度。Use imaging equipment (image acquisition equipment) to collect the image of the detection target, and realize the detection and tracking of the target through the recognition, detection and positioning of the target image. Since the imaging equipment records the target image information comprehensively and responds quickly, and the imaging system itself has high sensitivity and precision, the sensitivity, precision and response speed of target detection and tracking are effectively improved.

具体地,specifically,

检测装置,图像传感单元与数据处理单元连接,在所述图像传感单元前方设置成像小孔,通过所述成像小孔将被检测目标直接在图像传感单元上形成光学图像,并被图像传感单元生产数字化电信号。In the detection device, the image sensing unit is connected with the data processing unit, and an imaging pinhole is arranged in front of the image sensing unit, through which the detected target directly forms an optical image on the image sensing unit, and is imaged The sensing unit produces a digitized electrical signal.

目标跟踪装置,包括前述的检测装置,所述检测装置与控制单元连接,所述控制单元与所述跟踪单元连接,所述检测装置通过目标图像信号的位置关系,判断目标的位置情况,通过控制单元控制所述跟踪单元工作。The target tracking device includes the aforementioned detection device, the detection device is connected to the control unit, the control unit is connected to the tracking unit, the detection device judges the position of the target through the positional relationship of the target image signal, and controls the The unit controls the operation of the tracking unit.

太阳能检测或跟踪系统,包括前述的目标跟踪装置,所述检测装置采集太阳的图像,对所述太阳进行检测或跟踪。The solar energy detection or tracking system includes the aforementioned target tracking device, the detection device collects images of the sun, and detects or tracks the sun.

太阳能系统,包括前述的系统,所述跟踪单元与太阳能采集单元连接,并驱动太阳能采集单元的运动或工作状态。The solar energy system includes the aforementioned system, the tracking unit is connected with the solar energy collection unit, and drives the movement or working state of the solar energy collection unit.

目标检测方法,用图像采集设备来采集被检测目标的图像,通过对目标图像的识别和检测、定位,实现对目标的检测和跟踪。The target detection method uses image acquisition equipment to collect the image of the detected target, and realizes the detection and tracking of the target through the recognition, detection and positioning of the target image.

检测装置,其特征在于,图像采集设备电连接的处理单元,图像采集设备采集被检测目标的图像,形成可检测信号,处理单元识别可检测信号中的目标图像信号,根据目标图像信号对目标图像进行检测,获得被检测目标的检测信息。The detection device is characterized in that the image acquisition device is electrically connected to the processing unit, the image acquisition device collects the image of the detected target to form a detectable signal, the processing unit identifies the target image signal in the detectable signal, and processes the target image according to the target image signal Perform detection to obtain detection information of the detected target.

本发明可以采用以下具体技术方案、实施例来实现:The present invention can adopt following specific technical scheme, embodiment to realize:

本发明检测组件包括与图像采集设备电连接的处理单元,图像采集设备包括光学成像单元,以及设置在其后方的影像单元,光学成像单元将目标及其背景在成像单元上形成光学图像,成像单元将光学图像转换为其他类型的信息。优选地,作为目前最成熟的技术手段,所述成像单元为光电成像单元,将光学图像转换为图像电信号(例如模拟或数字电信号,例如摄像管等是产生模拟图像电信号的器件之一),送到处理单元,处理单元识别图像电信号中的目标图像信号,根据目标图像信号的相关参数,实现对目标的检测;通过目标图像信号的位置关系,判断目标的位置情况,为目标的跟踪奠定基础。所述的成像单元将光学图像转换为其他类型的信息除了上述转换为电信号,还可以是通过成像单元上微粒子排布,化学反应,温度变化等方式,并采用与之相适应的检测方式来进行检测和判断等。所述的目标图像信号的识别,可以采用现有的技术方案来实现(比如公知的信号检测判断技术),也可采用本发明下述技术方案中所提供的技术手段来实现。此外,作为改进,可以在光学成像单元前端(朝向被检测目标方向,也就是光学成像单元与被检测目标之间)设置滤光单元,以为后续目标图像的识别效率提升、识别手段的简化和延长影像单元寿命奠定基础。The detection assembly of the present invention includes a processing unit electrically connected to the image acquisition device, the image acquisition device includes an optical imaging unit, and an image unit arranged behind it, the optical imaging unit forms an optical image of the target and its background on the imaging unit, and the imaging unit Transform optical images into other types of information. Preferably, as the most mature technical means at present, the imaging unit is a photoelectric imaging unit, which converts the optical image into an image electrical signal (such as an analog or digital electrical signal, such as a camera tube, etc., is one of the devices that generate an analog image electrical signal ), sent to the processing unit, the processing unit recognizes the target image signal in the image electrical signal, and realizes the detection of the target according to the relevant parameters of the target image signal; through the positional relationship of the target image signal, the position of the target is judged, which is the target Track lays the groundwork. The imaging unit converts the optical image into other types of information, in addition to the above-mentioned conversion into electrical signals, it can also be through the arrangement of particles on the imaging unit, chemical reaction, temperature change, etc., and adopt a detection method suitable for it. To detect and judge, etc. The recognition of the target image signal can be realized by using existing technical solutions (such as known signal detection and judgment technology), or by using the technical means provided in the following technical solutions of the present invention. In addition, as an improvement, a filter unit can be set at the front end of the optical imaging unit (towards the direction of the detected target, that is, between the optical imaging unit and the detected target), so as to improve the recognition efficiency of subsequent target images and simplify and extend the identification means. Image unit life lays the foundation.

图1给出了基于图像传感器所实现技术方案的原理图,图中检测组件2包括与数据处理单元23连接的图像传感单元222,图像传感单元222前设置光学成像单元221,光学成像单元221将目标A及其背景在图像传感单元222上形成光学图像,图像传感单元222将光学图像转换数字化的电信号——以若干像素点表示光学图像的电信号——数字化图像(本申请中称为图片),将图片送到数据处理单元23,数据处理单元23识别图片中的目标图像,根据目标图像的相关参数,实现对目标的检测;通过目标图像在图片中的位置关系,判断目标的位置情况,为目标的跟踪奠定基础。所述的目标图像的识别,可以采用现有的技术方案来实现(比如公知的图像识别技术等),也可采用本发明后续的技术方案中所提供的技术手段来实现。Fig. 1 has provided the principle diagram of the technical solution based on the image sensor, in the figure detection assembly 2 comprises the image sensing unit 222 connected with the data processing unit 23, the optical imaging unit 221 is arranged in front of the image sensing unit 222, the optical imaging unit 221 forms an optical image of the target A and its background on the image sensing unit 222, and the image sensing unit 222 converts the optical image into a digitized electrical signal—the electrical signal representing the optical image with several pixels—digitized image (this application is referred to as a picture), the picture is sent to the data processing unit 23, and the data processing unit 23 recognizes the target image in the picture, and realizes the detection of the target according to the relevant parameters of the target image; through the positional relationship of the target image in the picture, the judgment The location of the target lays the foundation for the tracking of the target. The recognition of the target image can be realized by using existing technical solutions (such as known image recognition technology, etc.), or by using the technical means provided in the subsequent technical solutions of the present invention.

作为改进,可以在光学成像单元221前端设置滤光单元21,以为后续目标图像的识别效率提升、识别手段的简化和延长影像单元寿命奠定基础。As an improvement, a filter unit 21 can be provided at the front end of the optical imaging unit 221 to lay a foundation for improving the recognition efficiency of subsequent target images, simplifying the recognition means and prolonging the life of the image unit.

所述图像传感单元222由图像传感器及相关电路组成,所述图像传感单元222可以是CCD或CMOS之一,其根据应用的需要选择符合要求的器件,所述器件的选择及电路组成采用现有技术就可以实现。The image sensing unit 222 is made up of an image sensor and related circuits. The image sensing unit 222 can be one of CCD or CMOS. It selects a device that meets the requirements according to the needs of the application. The selection of the device and the circuit composition adopt Existing technology just can realize.

进一步地,为了实现对检测结果的应用,或者实现对目标的跟踪,数据处理单元23将检测或获得的目标跟踪数据送到应用系统44。Further, in order to realize the application of the detection result, or realize the tracking of the target, the data processing unit 23 sends the detected or obtained target tracking data to the application system 44 .

如图1所示,在第一位置的目标A及其背景通过滤光单元21和光学成像单元221形成投射到图像传感单元222的光学图像(其中目标A的光学图像为A’), 图像传感单元222将所述光学图像转换为数字化的电信号,也就是图片1a,在图1a上有目标图像10a。同理,第二位置的目标A(虚线给出的目标,为了简化附图,没有给出附图标记A,同理其对应的光学图像A’也没有给出附图标记,只是用虚线予以示出)及其背景形成图片1b,在图像1b上有目标图像10b。同图中可以看出,两个不同位置的目标A在图片1上目标图像10的位置也出现了变化,通过数据处理单元23识别图片1a、1b上目标图像10a、10b,并判断目标图像10a、10b在图片1a、1b上的位置变化(通过像素坐标的变化可以获得)可以获得目标A的位置变化情况,同时通过目标图像10像素值的变化、占据的像素数量的变化情况,反映目标A的颜色、状态、距离、尺寸、形状等的变化,从而实现对目标的检测。将所述检测结果送到应用系统4用以满足相关应用需要。As shown in FIG. 1 , the target A at the first position and its background pass through the filter unit 21 and the optical imaging unit 221 to form an optical image projected to the image sensing unit 222 (the optical image of the target A is A'), the image The sensing unit 222 converts the optical image into a digitized electrical signal, that is, a picture 1a, in which there is a target image 10a. In the same way, the target A at the second position (the target given by the dotted line, in order to simplify the drawings, does not give the reference symbol A, and the corresponding optical image A' is not given the reference symbol, but is only shown with a dotted line. shown) and its background form picture 1b, on which there is target image 10b. It can be seen from the same figure that the position of the target image 10 on the picture 1 of the target A in two different positions has also changed. The data processing unit 23 recognizes the target images 10a and 10b on the pictures 1a and 1b, and judges the target image 10a , 10b on the picture 1a, 1b position change (can be obtained by changing the pixel coordinates) can obtain the position change of the target A, and at the same time reflect the change of the target A through the change of the 10 pixel value of the target image and the number of occupied pixels Changes in the color, state, distance, size, shape, etc. of the object, so as to realize the detection of the target. The detection results are sent to the application system 4 to meet relevant application requirements.

图2给出了检测组件2集成化设计的实施例,该方案中,采用现有标准化的摄像头22,所述摄像头22连接数据处理单元23。所述摄像头22包括图像传感器及相关电路,以及光学成像系统。如果摄像头22是模拟摄像头时,在摄像头22与数据处理单元23之间连接将模拟信号转换为数字信号的视频捕捉卡或AD转换模块。当然,还可以根据需要,所述摄像头22采用红外摄像头。FIG. 2 shows an embodiment of the integrated design of the detection component 2 . In this solution, an existing standardized camera 22 is used, and the camera 22 is connected to a data processing unit 23 . The camera 22 includes an image sensor and related circuits, as well as an optical imaging system. If the camera 22 is an analog camera, a video capture card or an AD conversion module that converts analog signals into digital signals is connected between the camera 22 and the data processing unit 23 . Of course, the camera 22 can also be an infrared camera as required.

作为一种应用,所述滤光单元21采用与需求相适应的光学滤镜。当然,所述滤光单元21也可以根据需要予以省略,利用数据处理单元23实现软件滤镜或精确的图像识别技术来实现,但是,这样对于处理效率带来负面影响,同时,如果目标是诸如太阳等亮度高的目标,如果不采用滤镜也会对摄像头22的相关器件,尤其是图像传感器的使用寿命带来损害。As an application, the filter unit 21 adopts an optical filter suitable for requirements. Of course, the filter unit 21 can also be omitted as required, and the data processing unit 23 can be used to implement software filters or precise image recognition techniques, but this will have a negative impact on the processing efficiency. At the same time, if the target is such as For objects with high brightness such as the sun, if no filter is used, it will also damage the relevant components of the camera 22, especially the service life of the image sensor.

图3提高的实施例与图2的差异在于,所述滤光单元21采用小孔成像系统,所述小孔成像系统包括成像屏212,设置在其前方的成像小孔211,同时,所述成像屏212为半透明材质,目标及背景通过小孔在成像屏212上形成倒立的实像,摄像头22采集成像屏212上的成像形成图片1。由于通过成像小孔211可以降低目标的亮度(尤其对于太阳、火焰目标等高亮度目标尤为使用),同时,通过成像屏212的透光情况的选择,进一步降低光强,减少对摄像头的灼烧,延长其寿命,同时,由于背景图像亮度低,成像效果差,辅以成像屏212的阻碍,实现对背景图像的过滤,减少了背景图像对目标图像识别的干扰,增强目标识别效果。The difference between the improved embodiment in Fig. 3 and that in Fig. 2 is that the filter unit 21 adopts a pinhole imaging system, and the pinhole imaging system includes an imaging screen 212, and an imaging pinhole 211 arranged in front of it, and at the same time, the The imaging screen 212 is made of translucent material, and the target and the background form an upside-down real image on the imaging screen 212 through the small hole, and the camera 22 collects the imaging on the imaging screen 212 to form a picture 1 . Since the brightness of the target can be reduced through the imaging pinhole 211 (especially for high-brightness targets such as the sun and flame targets), at the same time, through the selection of the light transmission of the imaging screen 212, the light intensity can be further reduced to reduce the burning of the camera , prolong its lifespan, and at the same time, due to the low brightness of the background image, the imaging effect is poor, supplemented by the obstruction of the imaging screen 212, the filtering of the background image is realized, the interference of the background image on the target image recognition is reduced, and the target recognition effect is enhanced.

当然,作为简化,也可以不使用摄像头22和成像屏212,而直接采用图像传感单元222,通过所述成像小孔211直接在图像传感单元222上形成光学图像。Of course, as a simplification, the image sensing unit 222 may be used instead of the camera 22 and the imaging screen 212 , and an optical image is directly formed on the image sensing unit 222 through the imaging aperture 211 .

在上述技术方案中,由于图像传感器具有很高的图像采集灵敏度(如常用的RGB24是一种24位的RGB格式,像素点的各分量值(或称通道值)——像素值——占用8位,每个分量取值范围为0-255,目标的光强、色彩等变化,在目标图像中通过不同的像素值予以体现。如果采用16为的编码和对应的图像传感器,其精细度还将进一步提高)和像素的精细度(目前的常规图像传感器已经达到百万像素点的精细度),显著提升对目标检测的精确度,同时,通过适当的图像识别算法,可以实现实时的处理和运算,提高效率。比如,通过本发明,可以实现对检测目标的细微变化予以检测、定位。In the above technical solution, since the image sensor has high image acquisition sensitivity (for example, the commonly used RGB24 is a 24-bit RGB format, each component value (or channel value) of a pixel - pixel value - occupies 8 The value range of each component is 0-255. Changes in the light intensity and color of the target are reflected in the target image through different pixel values. If the 16-bit encoding and the corresponding image sensor are used, the fineness is still will be further improved) and the fineness of pixels (the current conventional image sensor has reached the fineness of megapixels), which significantly improves the accuracy of target detection. At the same time, through appropriate image recognition algorithms, real-time processing and operations to improve efficiency. For example, through the present invention, it is possible to detect and locate the subtle changes of the detection target.

鉴于上述检测组件2具有的特性,可以将其具体应用多个领域。比如对太阳的检测、定位和跟踪,有助于太阳能的采集利用等;用于空中目标的观测、定位(比如鸟类、飞机等飞行物,火箭等);用于海洋、水面漂浮物的检测、定位和跟踪;火情的检测、定位和跟踪等;手机等终端设备的显示屏亮度调整和控制(通过终端上的摄像头检测环境光线强度等信息,动态调整显示屏的亮度,可以实现连续、精确并实时的调整);防眩光控制;汽车防远光灯过滤(通过汽车前方设置摄像头等构成的采集组件,采集到强光时,根据光线强度控制设置在挡风玻璃上透光屏或驾驶人佩戴的专用眼镜上,以调整其通光率;采集组件也可设置在专用眼镜上;类似地,还实现特种护目镜)等。当然,在具体应用中,需要根据不同的需要选择与之相适应的器件来实现本发明。In view of the characteristics of the above-mentioned detection component 2, it can be specifically applied in many fields. For example, the detection, positioning and tracking of the sun is helpful for the collection and utilization of solar energy, etc.; it is used for the observation and positioning of air targets (such as birds, airplanes and other flying objects, rockets, etc.); it is used for the detection of floating objects on the ocean and water surface , positioning and tracking; fire detection, positioning and tracking, etc.; display brightness adjustment and control of mobile phones and other terminal equipment (through the camera on the terminal to detect information such as ambient light intensity, and dynamically adjust the brightness of the display screen, it can realize continuous, Precise and real-time adjustment); anti-glare control; car anti-high beam filter (through the acquisition component composed of a camera in front of the car, when strong light is collected, it is set on the light-transmitting screen on the windshield according to the light intensity control or driving On the special glasses worn by people to adjust the light transmittance; the acquisition component can also be set on the special glasses; similarly, special goggles can also be realized), etc. Of course, in specific applications, it is necessary to select suitable devices according to different needs to realize the present invention.

本申请将以太阳的检测、定位和跟踪为例来说明相关的应用,尤其是在太阳能采集利用方面的应用。类似地,在其他相关应用中也可以采用类似技术方案予以实现。This application will take the detection, positioning and tracking of the sun as an example to illustrate related applications, especially the application in solar energy collection and utilization. Similarly, similar technical solutions can also be used in other related applications.

图4给出了太阳检测、跟踪应用系统的一实施例。图中,检测组件2与太阳能采集单元43彼此固定连接或可以同步运动(图中给出的是二者固定连接,这种方式结构简单),并且检测组件2前端(采集图像一端,比如图3给出的技术方案的成像小孔211的端)平面法向n与太阳能采集单元43的受光面(比如太阳能电池板或集热器的采光面、聚光抛物面等)的法向N平行并共向(二者可以共面或不共面)。控制单元41分别与检测组件2、跟踪单元42连接,跟踪单元42驱动太阳能采集单元43的运动。检测组件2将检测到的太阳数据送到控制单元41,控制单元41根据检测结果形成控制信号,控制跟踪单元42的动作,实现太阳能采集单元43对运动太阳的跟踪。在此方案下,将检测组件2与太阳能采集单元43正对太阳能(二者法向与太阳光线平行,并指向太阳),检测组件2记录此时太阳图像(目标图像)的像素坐标位置(C,C),当太阳移动时,太阳图像的像素坐标位置发送变化,根据像素坐标变化量,控制单元41控制跟踪单元42的动作,转动太阳能采集单元43和检测组件2,当检测组件2检测到的太阳图像位置达到像素坐标位置(C,C)时,太阳能采集单元43处于正对太阳状态。具有应用中,控制单元41中可以建立相关数据日志,如果处于阴天时,根据同期的数据日志控制跟踪单元42的动作。所述检测组件2可以实时采用连续或间断方式采集对太阳的检测结果,间断方式采集比如可以采用满足精度要求的视频采集或一定时间间歇的拍照方式采集。太阳图像的定位,可以采用太阳图像的边界或中心位置定位,如果此啊呀边界定位,由于太阳高度的变化,太阳图像的尺寸会方式变化,因此,边界定位时据需以某一边或多个边的配合来实现。由于检测组件2采用图像传感器来获得太阳图像信息,精度高,实时性强,响应快。Figure 4 shows an embodiment of the sun detection and tracking application system. In the figure, the detection component 2 and the solar energy collection unit 43 are fixedly connected to each other or can move synchronously (the figure shows that the two are fixedly connected, and the structure is simple in this way), and the front end of the detection component 2 (the end of the image collection, such as Figure 3 The end of the imaging hole 211 of the given technical solution) The plane normal n is parallel to the normal N of the light-receiving surface of the solar energy collection unit 43 (such as the lighting surface of the solar panel or heat collector, the concentrating paraboloid, etc.) direction (the two may or may not be coplanar). The control unit 41 is respectively connected with the detection component 2 and the tracking unit 42 , and the tracking unit 42 drives the movement of the solar energy collection unit 43 . The detection component 2 sends the detected sun data to the control unit 41, and the control unit 41 forms a control signal according to the detection result, controls the action of the tracking unit 42, and realizes the tracking of the moving sun by the solar energy collection unit 43. Under this scheme, the detection component 2 and the solar energy collection unit 43 are facing the solar energy (the normal direction of both is parallel to the sun’s rays and pointing to the sun), and the detection component 2 records the pixel coordinate position (C , C), when the sun moves, the pixel coordinate position of the sun image changes. According to the pixel coordinate variation, the control unit 41 controls the action of the tracking unit 42, and rotates the solar energy collection unit 43 and the detection component 2. When the detection component 2 detects When the position of the sun image reaches the pixel coordinate position (C, C), the solar energy collection unit 43 is in the state of facing the sun. In some applications, relevant data logs can be established in the control unit 41, and if it is cloudy, the actions of the tracking unit 42 can be controlled according to the same data logs. The detection component 2 can collect the detection results of the sun in a continuous or discontinuous manner in real time, and the discontinuous collection can be, for example, video collection that meets the accuracy requirements or intermittent photo collection for a certain period of time. The location of the sun image can be positioned by the boundary or center of the sun image. If this boundary is positioned, the size of the sun image will change in different ways due to changes in the height of the sun. Therefore, one side or multiple sides are required for boundary positioning cooperation to achieve. Since the detection component 2 uses an image sensor to obtain solar image information, it has high precision, strong real-time performance and fast response.

图5给出的太阳检测、跟踪应用系统的另一实施例,其与图4技术方案的差异在于,所述检测组件2不直接与太阳能采集单元43连接,检测组件2位置固定,跟踪单元42只是控制太阳能采集单元43的运动。当初始设置时,将太阳能采集单元43正对太阳,检测组件2检测太阳图像的位置,太阳运动时,根据检测组件2检测到太阳图像的当前位置,控制单元41根据预定的规则,计算出偏移量,控制跟踪单元42的动作,转动太阳能采集单元43,使其处于正对太阳状态。本实施例中,需要对检测组件2中采集的太阳图像位置与太阳能采集单元43相对太阳的位置关系建立相应的规则,控制单元41的设计相对复杂,但优点在于,太阳图像在图像传感器中的位置是移动的,可以延长图像传感器的使用寿命。Another embodiment of the sun detection and tracking application system shown in Fig. 5 is different from the technical solution in Fig. 4 in that the detection assembly 2 is not directly connected with the solar energy collection unit 43, the detection assembly 2 is in a fixed position, and the tracking unit 42 Only the movement of the solar energy collection unit 43 is controlled. When initially setting, the solar energy collection unit 43 is facing the sun, and the detection component 2 detects the position of the sun image. When the sun moves, the control unit 41 calculates the deviation according to the predetermined rule according to the current position of the sun image detected by the detection component 2. The amount of displacement controls the action of the tracking unit 42, and rotates the solar energy collection unit 43 so that it is in the state of facing the sun. In this embodiment, it is necessary to establish corresponding rules for the solar image position collected in the detection assembly 2 and the positional relationship of the solar energy collection unit 43 relative to the sun. The design of the control unit 41 is relatively complicated, but the advantage is that the solar image in the image sensor The position is moved, which can prolong the life of the image sensor.

图6给出的太阳检测、跟踪应用系统的又一实施例;该图中为了简化附图,没有单独绘制出控制单元41,所述控制单元41可以与检测组件2或调控单元44设置为一个整体。检测组件2检测到太阳光线的强度、位置等信息,控制设置在太阳能采集单元43前方(朝向太阳方向)的调控单元44,调控单元44根据所述强度、位置等信息进行透光度、折射或反射角度,使得太阳能采集单元43具有符合要求的太阳能采集效率或采集需求。比如,如果太阳光线过强,调控单元44降低透光量,以保证太阳能采集单元43在稳定工作等。Another embodiment of the sun detection and tracking application system provided in Fig. 6; in order to simplify the accompanying drawings, the control unit 41 is not drawn separately, and the control unit 41 can be set as one with the detection assembly 2 or the control unit 44 overall. The detection component 2 detects information such as the intensity and position of the sun's rays, and controls the control unit 44 arranged in front of the solar energy collection unit 43 (towards the direction of the sun), and the control unit 44 performs transmittance, refraction or The reflection angle enables the solar energy collection unit 43 to meet the requirements of solar energy collection efficiency or collection requirements. For example, if the sunlight is too strong, the control unit 44 reduces the amount of light transmitted to ensure the stable operation of the solar energy collection unit 43 .

图7给出的太阳检测、跟踪应用系统的再一实施例是太阳能的其他应用系统上的应用。图中为了简化附图,没有单独绘制出控制单元41,所述控制单元41可以与检测组件2或太阳能应用系统45设置为一个整体。所述太阳能应用系统45可根据需要实现根据太阳光强、位置等的变化对其状态的调整,以满足应用需求。Another embodiment of the sun detection and tracking application system shown in Fig. 7 is the application on other application systems of solar energy. In order to simplify the drawings, the control unit 41 is not drawn separately, and the control unit 41 can be integrated with the detection component 2 or the solar energy application system 45 . The solar energy application system 45 can adjust its state according to changes in sunlight intensity, location, etc., to meet application requirements.

为了提高图片1中目标图像10的识别效率,本发明还提供了如下的目标图像识别的技术方案。In order to improve the recognition efficiency of the target image 10 in the picture 1, the present invention also provides the following technical solution for target image recognition.

图8提供了一种利用像素迭代处理实现图片1上目标图像10的识别和定位的原理图;图9给出了基于图8的技术原理对某一黑白图片像素迭代(求和方式的迭代)实测结果图。本技术方案通过将图像像素的行列像素值依次进行求和处理,并绘制相应的曲线,实现将二维的复杂图像信息,转换为简单的一维数据信息,便于计算机的识别应用。当然,还可根据需要,进行其它方向的像素迭代,从而更好地实现图像内容的分析处理。以求和为例对本技术方案予以说明。以图片1行、场(列)方向建立坐标系,其中(0,0)为图片的左上方的像素点(当然,也可以采用其他方式建立坐标系,本申请文件中均采用该坐标系进行说明),以像素点为单位;横坐标x(x=0,1,2……i)为行方向,其刻度为图片的列号,纵坐标y(y=0,1,2……j)为场方向,其刻度为图片的行号。Fig. 8 provides a schematic diagram of realizing the recognition and positioning of the target image 10 on picture 1 by pixel iterative processing; Fig. 9 shows the pixel iteration of a black and white picture based on the technical principle of Fig. 8 (iteration of the summation method) The graph of the measured results. The technical solution converts two-dimensional complex image information into simple one-dimensional data information by sequentially summing the row and column pixel values of image pixels and drawing corresponding curves, which is convenient for computer recognition applications. Of course, pixel iterations in other directions can also be performed as needed, so as to better realize the analysis and processing of image content. The technical solution is described by taking summation as an example. Establish a coordinate system in the direction of one row and field (column) of the picture, where (0, 0) is the pixel point on the upper left of the picture (Of course, other methods can also be used to establish a coordinate system, and this coordinate system is used in this application document) Explanation), in units of pixels; abscissa x (x=0, 1, 2...i) is the row direction, its scale is the column number of the picture, and ordinate y (y=0, 1, 2...j ) is the field direction, and its scale is the line number of the picture.

依次将图片1每行的像素点像素值依次累加求和,投影到像素坐标的纵坐标y上,此时纵坐标y的刻度对应行号,也就得到每行的像素值之和;同理,依次将图片1每列的像素点像素值依次累加求和,投影到像素坐标的横坐标x上,此时横坐标x的刻度对应列号,也就得到每列的像素值之和。由于图片1每个像素点一般由多个通道值构成(具体情况与所使用的编码协议有关,如RGB格式,每个像素点包括3个通道值,求和时分别每个通道进行运算,或者将多个通道值按照一定的运算关系进行求和处理,对于本发明,可以根据不同需要来选择,如果对于太阳检测、定位,采用单通道的黑白图片即可满足要求)由于图片1上不同图像的像素值不同,因此,求和后会直观反应行、列像素值的情况。将求和得到的值绘制成曲线30,因此,迭代曲线30的峰、谷对应不同的目标图像,同时,采用累加方式,背景图像的均匀噪声被淹没,目标图像的特征被放大,可以很好地予以识别。以图8示意的效果(图中假定圆形目标图像10为白色,背景图像为黑色),迭代曲线30的峰值对应目标图像10的峰值,所述峰值对应的行列号就是其在图片上的像素位置,从而快捷地得到目标图像10的位置信息。The pixel values of each row of picture 1 are sequentially accumulated and summed, and projected onto the vertical coordinate y of the pixel coordinates. At this time, the scale of the vertical coordinate y corresponds to the row number, and the sum of the pixel values of each row is obtained; similarly , sequentially accumulate and sum the pixel values of each column of picture 1, and project them onto the abscissa x of the pixel coordinates. At this time, the scale of the abscissa x corresponds to the column number, and the sum of the pixel values of each column is obtained. Since each pixel of picture 1 is generally composed of multiple channel values (the specific situation is related to the encoding protocol used, such as RGB format, each pixel includes 3 channel values, and each channel is calculated separately when summing, or Multiple channel values are summed according to a certain calculation relationship. For the present invention, it can be selected according to different needs. For sun detection and positioning, a single-channel black and white picture can meet the requirements) due to different images on picture 1 The pixel values are different, so the summation will intuitively reflect the row and column pixel values. The value obtained by the summation is drawn into a curve 30, therefore, the peaks and valleys of the iterative curve 30 correspond to different target images, and at the same time, the uniform noise of the background image is submerged and the features of the target image are enlarged by using the accumulation method, which can be very good be identified. Taking the effect shown in Figure 8 (in the figure, it is assumed that the circular target image 10 is white and the background image is black), the peak value of the iterative curve 30 corresponds to the peak value of the target image 10, and the row and column numbers corresponding to the peak value are its pixels on the picture position, so as to quickly obtain the position information of the target image 10 .

图9给出的真实图片1的时间迭代效果,图中图片1为黑白图片,图片上的目标图像10为相同的黑色,北京为白色,行、列方向像素值求和得到曲线如图所示。图中,迭代曲线3包括背景部曲线33(白色,数值最大,8位单通道数值为255),目标部曲线30(黑色,数值小,纯黑色为0),其中目标部曲线谷301是目标图像10中尺寸最大的部位,目标图像10的边界位置为边界部曲线31,此处为迭代曲线3的突变点。通过图中可以看出,通过对迭代曲线3的分析处理,可以直接得到图片1上目标图像10的边界、峰值等像素坐标(对应行列号)。具体应用时,可以设置以峰值,或者以目标部曲线30满足一定的阈值关系来判断是否为目标图像,或者结合目标图10的宽度来进行限定获取。Figure 9 shows the time iteration effect of the real picture 1. Picture 1 in the figure is a black and white picture, the target image 10 on the picture is the same black, Beijing is white, and the sum of the pixel values in the row and column directions is shown in the figure. . In the figure, iteration curve 3 includes background curve 33 (white, maximum value, 8-bit single-channel value is 255), target curve 30 (black, small value, pure black is 0), among which the target curve valley 301 is the target The part with the largest size in the image 10 and the boundary position of the target image 10 is the boundary curve 31 , which is the mutation point of the iterative curve 3 . It can be seen from the figure that through the analysis and processing of the iterative curve 3, the pixel coordinates (corresponding to row and column numbers) such as the boundary and peak of the target image 10 on the picture 1 can be directly obtained. In a specific application, it can be set to determine whether it is a target image based on the peak value or the target part curve 30 satisfying a certain threshold value relationship, or limit the acquisition in combination with the width of the target image 10 .

图10给出了图1中的图片1a的像素迭代处理效果图;图中的虚线为方便参看对应关系而人为给出的辅助线。图片1a的背景为灰度,目标图像10a为白色,图片1尺寸为729×542(宽×高,下同),通过迭代曲线30上的目标部曲线峰301对应目标图像10a的中心(圆形,峰值为几何尺寸最大部位,也就是中心位置,对于通过滤光处理后成像在图片上的太阳图像具有类似效果),根据计算,得到下表一所示的目标图像10a峰值的坐标及结果。从图中可以看出,在y向(表示行号)上,存在背景噪声,背景噪声部曲线331的峰值显著大于目标部曲线峰301,应用中,可以通过目标部曲线30满足相应的阈值范围来判断是否为目标部曲线30。或者通过迭代曲线的曲率、梯度变化等来判断。图中采用迭代差值方式予以进行边界判断(依次相邻的行累加求和值求差,并赋值到对应行号,比如减数对应的行号,也可时被减数对应的行号;列方向相同)得到迭代差值曲线30a,曲线上的峰、谷值满足阈值情况即为边界。背景噪声的差值曲线边界宽度明细小于目标图像宽度,予以丢弃。Fig. 10 shows the pixel iterative processing effect diagram of picture 1a in Fig. 1; the dotted line in the figure is an artificially given auxiliary line for the convenience of referring to the corresponding relationship. The background of picture 1a is grayscale, the target image 10a is white, the size of picture 1 is 729×542 (width×height, the same below), and the target portion curve peak 301 on the iterative curve 30 corresponds to the center of the target image 10a (circle , the peak is the largest part of the geometric size, that is, the central position, which has a similar effect on the solar image imaged on the picture after filtering), according to the calculation, the coordinates and results of the peak of the target image 10a shown in Table 1 below are obtained. It can be seen from the figure that there is background noise in the y direction (representing the row number), and the peak value of the background noise part curve 331 is significantly larger than the target part curve peak 301. In the application, the target part curve 30 can satisfy the corresponding threshold range To judge whether it is the target part curve 30. Or judge by the curvature, gradient change, etc. of the iterative curve. In the figure, the iterative difference method is used to judge the boundary (accumulate the summation value of adjacent rows to calculate the difference, and assign the value to the corresponding row number, such as the row number corresponding to the subtrahend, or the row number corresponding to the subtrahend; The same column direction) to obtain the iterative difference curve 30a, the peak and valley on the curve satisfying the threshold is the boundary. If the boundary width of the difference curve of the background noise is smaller than the width of the target image, it is discarded.

图11给出了图1中的图片1b的像素迭代处理效果图;图中的虚线为方便参看对应关系而人为给出的辅助线,为了简化附图,图11中没有给出附图标记,所述附图标记与图10类似。相关结果如表一、二所示,相关说明同图10.Fig. 11 provides the pixel iterative processing effect diagram of the picture 1b in Fig. 1; the dotted line in the figure is an auxiliary line artificially given for the convenience of referring to the corresponding relationship. In order to simplify the accompanying drawings, no reference numerals are given in Fig. 11, The reference numerals are similar to those in FIG. 10 . The relevant results are shown in Tables 1 and 2, and the relevant descriptions are the same as those in Figure 10.

表一:迭代曲线30峰值情况Table 1: Iteration Curve 30 Peak Situation

表二:迭代梯度曲线峰值情况Table 2: The peak value of the iterative gradient curve

从上表中,可以看出,无论通过峰值还是边界,或者二者的结合,均可以较好地识别目标图像,并得到目标图像的位置坐标,通过图片1a、1b上的目标图像10a、10b坐标变化情况,从而判断出目标在两个状态的位置变化情况。配以适当的算法,就可以作出相关的检测及位置判断,为后续的跟踪定位奠定基础。From the above table, it can be seen that no matter through the peak value or the boundary, or the combination of the two, the target image can be well identified, and the position coordinates of the target image can be obtained. Through the target images 10a, 10b on pictures 1a, 1b Coordinate changes, so as to judge the position changes of the target in the two states. With appropriate algorithms, relevant detection and location judgments can be made, laying the foundation for subsequent tracking and positioning.

本技术方案通过在不同方向上进行像素值迭代(比如求和)的方式,可以在获得图像像素的空间分布特征,从而较好地反应图像的特点。同时,其运算量小,计算复杂度为n(n为图像的像素数量),资源占用少,可以便于在各类移动计算终端、嵌入式设备、乃至计算资源极其有限的单片机等上都可以进行应用,显著提供其应用场景。并且,其稳定性、健壮性和鲁棒性都较强。由于采用迭代方式,使得目标图像像素值与背景图像的像素值的差异化经过跌代而放大,同时,整个过程中无需逐步比较像素值的大小,减小运算负荷,而且,避免了因为图片中噪声的干扰,能较好地对目标图像进行识别。将所述方案用于对图像中的任意目标的边界进行识别,以便于进行目标自动跟踪、图片裁切等,可以对不同形状、不同颜色、背景单一到复杂的多种情况的识别和应用。使用效果好,鲁棒性强,复杂度低。The technical solution can obtain the spatial distribution characteristics of image pixels by iterating (such as summing) pixel values in different directions, so as to better reflect the characteristics of the image. At the same time, it has a small amount of calculation, a computational complexity of n (n is the number of pixels in the image), and a small resource occupation, which can be easily performed on various mobile computing terminals, embedded devices, and even single-chip computers with extremely limited computing resources. application, which notably provides its application scenarios. Moreover, its stability, robustness and robustness are all strong. Due to the iterative method, the difference between the pixel value of the target image and the pixel value of the background image is amplified through iteration. At the same time, there is no need to gradually compare the size of the pixel value in the whole process, which reduces the calculation load. Noise interference can better identify the target image. The scheme is used to identify the boundary of any target in the image, so as to automatically track the target, crop the picture, etc., and can identify and apply various situations of different shapes, different colors, and single to complex backgrounds. It has good effect, strong robustness and low complexity.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Optionally, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or they can be integrated into Multiple modules or steps are fabricated into a single integrated circuit module to realize. As such, the present invention is not limited to any specific combination of hardware and software.

Claims (10)

1.检测装置,其特征在于,图像采集设备电连接的处理单元,图像采集设备采集被检测目标的图像,形成可检测信号,处理单元识别可检测信号中的目标图像信号,根据目标图像信号对目标图像进行检测,获得被检测目标的检测信息。1. The detection device is characterized in that the processing unit electrically connected to the image acquisition device, the image acquisition device collects the image of the detected target to form a detectable signal, the processing unit identifies the target image signal in the detectable signal, and according to the target image signal The target image is detected, and the detection information of the detected target is obtained. 2.如权利要求1所述的装置,其特征在于,图像采集设备包括光学成像单元,以及设置在其后方的影像单元,光学成像单元将所述目标及其背景在成像单元上形成光学图像,成像单元将光学图像转换为其他类型的可检测信号,并送到所述处理单元。2. The device according to claim 1, wherein the image acquisition device comprises an optical imaging unit, and an image unit arranged behind it, the optical imaging unit forms an optical image of the target and its background on the imaging unit, The imaging unit converts the optical images into other types of detectable signals and sends them to the processing unit. 3.如权利要求2所述的装置,其特征在于,所述成像单元为光电成像单元,将光学图像转换为图像电信号,并送到处理单元,所述处理单元识别图像电信号中的目标图像信号,根据目标图像信号的相关参数获得所述目标的检测信息。3. The device according to claim 2, wherein the imaging unit is a photoelectric imaging unit, which converts the optical image into an image electrical signal and sends it to a processing unit, and the processing unit identifies the target in the image electrical signal The image signal is used to obtain the detection information of the target according to the relevant parameters of the target image signal. 4.如权利要求1-3任一项所述的装置,其特征在于,进一步包括滤光单元,所述滤光单元设置在图像采集设备或光学成像单元前端。4. The device according to any one of claims 1-3, further comprising a filter unit, the filter unit being arranged at a front end of an image acquisition device or an optical imaging unit. 5.如权利要求5所述的装置,其特征在于,所述滤光单元为光学滤镜;或,所述滤光单元为小孔成像系统,所述小孔成像系统包括成像屏,设置在成像屏前方的成像小孔,图像采集设备采集成像屏上的像。5. The device according to claim 5, wherein the filter unit is an optical filter; or, the filter unit is a pinhole imaging system, and the pinhole imaging system includes an imaging screen arranged on The imaging hole in front of the imaging screen, the image acquisition device collects the image on the imaging screen. 6.检测装置,其特征在于,图像传感单元与数据处理单元连接,在所述图像传感单元前方设置成像小孔,通过所述成像小孔将被检测目标直接在图像传感单元上形成光学图像,并被图像传感单元生产数字化电信号。6. The detection device is characterized in that the image sensing unit is connected to the data processing unit, an imaging aperture is arranged in front of the image sensing unit, and the detected target is directly formed on the image sensing unit through the imaging aperture. The optical image is produced by the image sensing unit as a digitized electrical signal. 7.目标跟踪装置,其特征在于,包括权利要求1-7任一项所述的检测装置,所述检测装置与控制单元连接,所述控制单元与所述跟踪单元连接,所述检测装置通过目标图像信号的位置关系,判断目标的位置情况,通过控制单元控制所述跟踪单元工作。7. A target tracking device, characterized in that it comprises the detection device according to any one of claims 1-7, the detection device is connected to a control unit, the control unit is connected to the tracking unit, and the detection device passes through The positional relationship of the target image signal is used to determine the position of the target, and the control unit controls the tracking unit to work. 8.太阳能检测或跟踪系统,其特征在于,包括权利要求8所述的目标跟踪装置,所述检测装置采集太阳的图像,对所述太阳进行检测或跟踪。8. The solar energy detection or tracking system, characterized in that it comprises the target tracking device according to claim 8, the detection device collects images of the sun, and detects or tracks the sun. 9.太阳能系统,其特征在于,包括权利要求9所述的系统,所述跟踪单元与太阳能采集单元连接,并驱动太阳能采集单元的运动或工作状态。9. The solar energy system, comprising the system according to claim 9, the tracking unit is connected with the solar energy collection unit, and drives the movement or working state of the solar energy collection unit. 10.目标检测方法,用图像采集设备来采集被检测目标的图像,通过对目标图像的识别和检测、定位,实现对目标的检测和跟踪。10. Target detection method, using image acquisition equipment to collect the image of the detected target, and realize the detection and tracking of the target through the recognition, detection and positioning of the target image.
CN201810004861.5A 2017-01-03 2018-01-03 Sun detection, tracks of device, method and application Pending CN108269270A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2017100026787 2017-01-03
CN201710002678 2017-01-03

Publications (1)

Publication Number Publication Date
CN108269270A true CN108269270A (en) 2018-07-10

Family

ID=62773323

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810004861.5A Pending CN108269270A (en) 2017-01-03 2018-01-03 Sun detection, tracks of device, method and application
CN201810006155.4A Pending CN109146768A (en) 2017-01-03 2018-01-03 image conversion method, system and application

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810006155.4A Pending CN109146768A (en) 2017-01-03 2018-01-03 image conversion method, system and application

Country Status (1)

Country Link
CN (2) CN108269270A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109297464A (en) * 2018-12-03 2019-02-01 大连维德集成电路有限公司 Bridge settlement visual monitoring device and method based on laser positioning
CN110243393A (en) * 2019-06-17 2019-09-17 中国科学院合肥物质科学研究院 A new type of automatic full-spectrum radiation calibration reference target device
CN119210291A (en) * 2024-08-02 2024-12-27 斯托科斯科技(宿迁)有限公司 Photovoltaic carrier micro-motion correction method, system, electronic device and readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343335B (en) * 2020-02-14 2021-02-26 Tcl移动通信科技(宁波)有限公司 Image display processing method, system, storage medium and mobile terminal
CN114494017B (en) * 2022-01-25 2023-04-07 北京至简墨奇科技有限公司 Method, device, equipment and medium for adjusting DPI (deep packet inspection) image according to scale

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680778A (en) * 2004-04-27 2005-10-12 北京山鑫海达科技发展有限公司 High-speed real-time digital image measuring system and method for kinematic object
CN102135777A (en) * 2010-12-14 2011-07-27 天津理工大学 Vehicle-mounted infrared tracking system
CN211827332U (en) * 2018-01-03 2020-10-30 成都科创知识产权研究所 Target detecting and tracking device, sun detecting and tracking device, solar system and anti-glare system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604439A (en) * 2008-06-13 2009-12-16 西北工业大学 A Color Image Encryption Method Based on Multiple Chaotic Systems
CN101790069B (en) * 2010-03-09 2013-03-27 周艇 Scale transformation method based on image edge direction
CN102243766A (en) * 2011-06-08 2011-11-16 无锡引速得信息科技有限公司 New method for accelerating reconstruction of computerized tomography (CT) image
CN102521801B (en) * 2011-11-23 2014-07-02 中国科学院深圳先进技术研究院 Correction method for ring artifact and arc artifact of computed tomography (CT) image
CN102609936A (en) * 2012-01-10 2012-07-25 四川长虹电器股份有限公司 Stereo image matching method based on belief propagation
CN103049598B (en) * 2012-11-29 2015-08-05 北京航空航天大学 A kind of information extracting method of the electromagnetic compatibility test curve picture based on pixel coordinate strategy
CN103325130B (en) * 2013-06-18 2016-09-14 浙江大学 Geometric iteration image approximating method based on T batten
CN103617590B (en) * 2013-11-28 2016-09-07 辽宁大学 A kind of image scrambling method based on Weierstrass function
CN103632338B (en) * 2013-12-05 2016-08-31 鲁东大学 A kind of image registration Evaluation Method based on match curve feature
CN103729856B (en) * 2014-01-24 2016-08-17 浙江师范大学 A kind of Fabric Defects Inspection detection method utilizing S-transformation signal extraction
CN104036290A (en) * 2014-06-11 2014-09-10 新达通科技股份有限公司 Method and device for identifying face value of paper money

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680778A (en) * 2004-04-27 2005-10-12 北京山鑫海达科技发展有限公司 High-speed real-time digital image measuring system and method for kinematic object
CN102135777A (en) * 2010-12-14 2011-07-27 天津理工大学 Vehicle-mounted infrared tracking system
CN211827332U (en) * 2018-01-03 2020-10-30 成都科创知识产权研究所 Target detecting and tracking device, sun detecting and tracking device, solar system and anti-glare system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109297464A (en) * 2018-12-03 2019-02-01 大连维德集成电路有限公司 Bridge settlement visual monitoring device and method based on laser positioning
CN109297464B (en) * 2018-12-03 2021-02-23 大连维德集成电路有限公司 A visual monitoring device and method for bridge settlement based on laser positioning
CN110243393A (en) * 2019-06-17 2019-09-17 中国科学院合肥物质科学研究院 A new type of automatic full-spectrum radiation calibration reference target device
CN119210291A (en) * 2024-08-02 2024-12-27 斯托科斯科技(宿迁)有限公司 Photovoltaic carrier micro-motion correction method, system, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN109146768A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN108269270A (en) Sun detection, tracks of device, method and application
CN110691193B (en) Camera switching method and device, storage medium and electronic equipment
JP6270808B2 (en) Motion sensor device having a plurality of light sources
CN109671106B (en) Image processing method, device and equipment
KR20140122344A (en) Method for providing guide of camera and electronic device
CN111510592A (en) Illumination processing method and device and image pickup device
WO2015131045A1 (en) Imaging providing ratio pixel intensity
CN110889829A (en) A monocular ranging method based on fisheye lens
US20180183998A1 (en) Power reduction and performance improvement through selective sensor image downscaling
CN110346116A (en) A kind of scene illumination calculation method based on Image Acquisition
US11940348B1 (en) System and method for detecting centroid of complementary single pixel
JP5279653B2 (en) Image tracking device, image tracking method, and computer program
CN201413506Y (en) Image capturing and positioning device
CN112884803A (en) Real-time intelligent monitoring target detection method and device based on DSP
CN101581989B (en) Image Capture Positioning System
CN211827332U (en) Target detecting and tracking device, sun detecting and tracking device, solar system and anti-glare system
CN108566545A (en) The method that three-dimensional modeling is carried out to large scene by mobile terminal and ball curtain camera
CN112381852A (en) Method for positioning cleaning robot and storage medium
CN116503567A (en) Intelligent modeling management system based on AI big data
CN113155038A (en) Two-dimensional displacement real-time measurement system based on laser spot position identification
CN204190832U (en) A kind of mans motion simulation camera head
CN116055676A (en) Method and system for solving optimal monitoring point of video monitoring terminal
CN211557362U (en) Front-end image acquisition device capable of adapting to image scene
CN117615253B (en) Method and equipment for directly detecting target moment and rapidly focusing
KR20210128803A (en) Electronic device for detecting defect of image based on differential between sub images acquired by multi photodiode sensor and operating method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication