CN109461182A - A kind of LED array rapid detection method and device based on imaging sensor communication - Google Patents

A kind of LED array rapid detection method and device based on imaging sensor communication Download PDF

Info

Publication number
CN109461182A
CN109461182A CN201811029945.0A CN201811029945A CN109461182A CN 109461182 A CN109461182 A CN 109461182A CN 201811029945 A CN201811029945 A CN 201811029945A CN 109461182 A CN109461182 A CN 109461182A
Authority
CN
China
Prior art keywords
led array
group
imaging sensor
sensor communication
led
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
CN201811029945.0A
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.)
Yangzhong Intelligent Electric Research Center North China Electric Power University
Original Assignee
Yangzhong Intelligent Electric Research Center North China Electric Power University
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 Yangzhong Intelligent Electric Research Center North China Electric Power University filed Critical Yangzhong Intelligent Electric Research Center North China Electric Power University
Priority to CN201811029945.0A priority Critical patent/CN109461182A/en
Publication of CN109461182A publication Critical patent/CN109461182A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a kind of LED array rapid detection methods based on imaging sensor communication, this method comprises: the variable signal data of image capture sensor LED array, obtain binary image;The circle in the binary image of the variable signal data is detected by Hough transformation;Connected component labeling method detects optical signal from binary image;LED array signal is decoded by positioning the determination of LED signal.The advantages of according to two dimensional code design feature, positioning LED's present invention tri- bright one for designing the quadrangle of LED array goes out, and weakens the interference of reflected light by Hough transformation detection, then detects optical signal using connected component labeling method, the performance of communication system can be improved.

Description

A kind of LED array rapid detection method and device based on imaging sensor communication
Technical field
The present invention relates to fields of communication technology, quick more particularly to a kind of LED array based on imaging sensor communication Detection method and device.
Background technique
Visible light communication (Visible light communication, abbreviation VLC) is a kind of using light emitting diode The light and shade of (Light emitting diodes, abbreviation LED) changes the technology carried out wireless communication.VLC technology has application wide The advantages that general, saving radio spectrum resource, security performance height and electromagnetic-radiation-free.Wherein, imaging sensor communicates (Image Sensor communication, abbreviation ISC) it is using LED as signal transmitting terminal, imaging sensor as receiving end, it is main To be applied to the occasions such as intelligent transportation and indoor positioning.In addition, in order to improve communication performance, multiple-input and multiple-output (multi- Input multi-output, abbreviation MIMO) technology be applied to ISC system in.But in the application process of MIMO-ISC technology In, due to the reflection etc. at the edge, bending place of the presence and experimental facilities of external interference and bias light, so that image sensing Device is unable to accurate discrimination and goes out the variation of LED, to reduce system communication performance.
In order to slow down the influence of external interference light, the technologies such as edge algorithms, block growth method and frame difference method are generallyd use.Side Edge algorithm utilizes the significant difference of edge gray value, the edge of image is found, so that image is split.But image side The not inevitable connection of boundary between edge and object, at the same in imaging process optical noise it is inevitable, cause image segmentation tired It is difficult heavy.For result there may be noise, arithmetic speed is slower when wherein Hough transformation detection is round;Connected component labeling method cannot Avoid the detection of non-circular light source.Region-growing method is from the sub-pixel point of one or more definition, along the pixel Growth is too big without more pixels or other small area with this pixel starting point different from those until growing into Region can merge, and pixel just stops growing.Basic principle is exactly similar point to be integrated together the specific region of composition, Most serious problem is exactly under dividing efficiency comparatively, and cost is larger.In addition, this method is bad to Shadows Processing effect.Frame difference method Exactly make difference with two frames or three frame images, subtract identical information in picture, retain different information, to find out two width The difference of picture.Although algorithm calculation amount is small, complexity is low, and background does not add up, more sensitive for ambient noise, Threshold value is too low, cannot inhibit noise, and threshold value is excessively high, cannot mark useful information.The moving object relatively simple for color, Cavity may be generated in inside, target is caused to be unable to complete extraction.The serious interference of non-circular light source, LED array signal detection Accuracy is low.
Summary of the invention
Technical problem to be solved by the present invention lies in the deficiencies for overcoming the above-mentioned prior art, provide a kind of based on image biography The LED array rapid detection method of sensor communication, this method comprises:
The variable signal data of image capture sensor LED array obtain binary image;
The circle in the binary image of the variable signal data is detected by Hough transformation;
Connected component labeling method detects optical signal from binary image;
LED array signal is decoded by positioning the determination of LED signal.
Preferably, the Hough transformation specifically: pixel in image by abr space representation,
Wherein, x, y are the coordinates of pixel, and a, b, r were the central coordinate of circle and radius of the circle of pixel, are joined by finding The peak value of number space abr, to determine round optical signal.
Preferably, the connected component labeling method is completed to mark using secondary traversal.
Preferably, the secondary traversal specifically: when the first round traverses, connected region is designated as one by progressive scanning picture A group;The group of all rows in addition to the first row assigns to the group if there is lap in the group with previous row and is connected group most Small label, and the label of the group of these same labels is all of equal value;When the second wheel traversal, traversal starts the label of group, finds Equivalent sequence re-flags.
Preferably, the determination of the LED signal is determined by maximum isosceles right triangle.
Preferably, the Hough transformation and connected component labeling method carry out binary conversion treatment according to suitable threshold value.
A kind of LED array device for fast detecting based on imaging sensor communication, it is characterised in that: the device includes:
Capture module obtains binary image for the variable signal data of image capture sensor LED array;
Hough transformation module, in the binary image for detecting the variable signal data by Hough transformation Circle;
Detection module detects optical signal for connected component labeling method from binary image;
Decoder module, for decoding LED array signal by the determination for positioning LED signal.
Preferably, the Hough transformation and connected component labeling method carry out binary conversion treatment according to suitable threshold value.
Preferably, the connected component labeling method is completed to mark using secondary traversal.
Preferably, the secondary traversal specifically: when the first round traverses, connected region is designated as one by progressive scanning picture A group;The group of all rows in addition to the first row assigns to the group if there is lap in the group with previous row and is connected group most Small label, and the label of the group of these same labels is all of equal value;When the second wheel traversal, traversal starts the label of group, finds Equivalent sequence re-flags.
According to a kind of LED array rapid detection method and device based on imaging sensor communication provided by the invention and existing There is technology to compare to have the advantages that
1), the scheme of Design Orientation LED of the present invention not only can determine that the direction of LED array, moreover it is possible to be suitable for LED array and send out The case where raw rotation.
2), the determination method of positioning LED proposed by the present invention, arithmetic speed is fast, has originality, novelty.
3), the present invention carries out edge detection using Hough transformation, connected component labeling method joint, can not only avoid significantly The influence of external interference light, especially non-circular light source, moreover it is possible to improve the accuracy of LED array detection, and then improve communication system Performance.
4), the present invention not only can quickly detect LED array signal, can also be applied in indoor positioning, have practical Value.
Detailed description of the invention
Fig. 1 is work flow diagram of the invention,
Fig. 2 is the identification of positioning LED of the invention,
Fig. 3 is structure chart of the invention.
Specific embodiment
Clearly to illustrate the scheme in the present invention, preferred embodiment is given below and being described with reference to the accompanying drawings.With Under explanation be substantially only exemplary and be not intended to limitation the disclosure application or purposes.It should be understood that In whole attached drawings, corresponding appended drawing reference indicates identical or corresponding component and feature.
As shown in Figure 1.A kind of LED array rapid detection method based on imaging sensor communication, this method comprises:
S101, the variable signal data of image capture sensor LED array obtain binary image;
S102 detects the circle in the binary image of the variable signal data by Hough transformation;The Hough becomes Change specifically: pixel in image by abr space representation,
Wherein, x, y are the coordinates of pixel, and a, b, r were the central coordinate of circle and radius of the circle of pixel, are joined by finding The peak value of number space abr, to determine round optical signal.
S103, connected component labeling method detect optical signal from binary image;What the connected component labeling method used It is that secondary traversal completes label.The secondary traversal specifically: when the first round traverses, progressive scanning picture, connected region mark For a group;The group of all rows in addition to the first row assigns the group that is connected to the group if there is lap in the group with previous row Minimum label, and the label of the group of these same labels is all of equal value;When the second wheel traversal, traversal starts the label of group, Equivalent sequence is found, is re-flagged.
S104 decodes LED array signal by positioning the determination of LED signal.The determination of the LED signal passes through maximum Isosceles right triangle determine.Specifically: the present invention searches out maximum isosceles by the distance between calculating any two points Right angled triangle, and the right-angle side of the isosceles right triangle is N-1 times of the spacing of N*N LED array, the then triangle Three vertex are positioning LED, and respectively (1,1), (1, n) and (n, 1), in bright state, another positioning LED is then located at this Another vertex (n, n) of the square of 3 points of compositions, the state in pass, as shown in Figure 2.
The Hough transformation and connected component labeling method carry out binary conversion treatment according to suitable threshold value.Specifically: no matter It is Hough transformation or connected component labeling detection algorithm, can all obtains the position of all LED and interference source.According to suitable Threshold value carries out binary conversion treatment, while judging the type of the light source of the position.Only meet h simultaneouslyijAnd pijWhen being all 1, LED 1 can be just decoded as;It otherwise is 0.
Wherein, thmax、thminThe respectively maximum of LED, minimum gradation value, SijIt is the ash of light source (i, j) in gray level image Angle value.
Wherein, x1、y1It is the coordinate for positioning LED (1,1), d is LED array spacing, and δ is location error amount.
As shown in figure 3, a kind of LED array device for fast detecting based on imaging sensor communication, it is characterised in that: the dress It sets and includes:
Capture module 201 obtains binary image for the variable signal data of image capture sensor LED array;
Hough transformation module 202, in the binary image for detecting the variable signal data by Hough transformation Circle;The Hough transformation and connected component labeling method carry out binary conversion treatment according to suitable threshold value.
Detection module 203 detects optical signal for connected component labeling method from binary image;The connected region mark Notation is completed to mark using secondary traversal.The secondary traversal specifically: when the first round traverses, progressive scanning picture, Connected region is designated as a group;The group of all rows in addition to the first row gives the group if there is lap in the group with previous row The minimum label for the group that is connected is assigned, and the label of the group of these same labels is all of equal value;When the second wheel traversal, traversal starts The label of group is found equivalent sequence, is re-flagged.
Decoder module 204, for decoding LED array signal by the determination for positioning LED signal.
In conclusion above said content is only the embodiment of the present invention, it is merely to illustrate the principle of the present invention, is not used In limiting the scope of protection of the present invention.All within the spirits and principles of the present invention, made any modification, equivalent replacement, change Into etc., it should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of LED array rapid detection method based on imaging sensor communication, it is characterised in that: this method comprises:
The variable signal data of image capture sensor LED array obtain binary image;
The circle in the binary image of the variable signal data is detected by Hough transformation;
Connected component labeling method detects optical signal from binary image;
LED array signal is decoded by positioning the determination of LED signal.
2. the LED array rapid detection method as described in claim 1 based on imaging sensor communication, it is characterised in that: institute State Hough transformation specifically: pixel in image by abr space representation,
Wherein, x, y are the coordinates of pixel, and a, b, r were the central coordinate of circle and radius of the circle of pixel, empty by finding parameter Between abr peak value, to determine round optical signal.
3. the LED array rapid detection method as described in claim 1 based on imaging sensor communication, it is characterised in that: institute It states connected component labeling method and completes to mark using secondary traversal.
4. the LED array rapid detection method as claimed in claim 3 based on imaging sensor communication, it is characterised in that: institute State secondary traversal specifically: when the first round traverses, connected region is designated as a group by progressive scanning picture;In addition to the first row The group of all rows assigns the minimum label for the group that is connected to the group, and these are same if there is lap in the group with previous row The label of the group of label is all of equal value;When the second wheel traversal, traversal starts the label of group, finds equivalent sequence, re-flags.
5. the LED array rapid detection method as described in claim 1 based on imaging sensor communication, it is characterised in that: institute The determination for stating LED signal is determined by maximum isosceles right triangle.
6. the LED array rapid detection method as described in claim 1 based on imaging sensor communication, it is characterised in that: institute Hough transformation and connected component labeling method are stated according to suitable threshold value, carries out binary conversion treatment.
7. a kind of LED array device for fast detecting based on imaging sensor communication, it is characterised in that: the device includes:
Capture module obtains binary image for the variable signal data of image capture sensor LED array;
Hough transformation module, the circle in binary image for detecting the variable signal data by Hough transformation;
Detection module detects optical signal for connected component labeling method from binary image;
Decoder module, for decoding LED array signal by the determination for positioning LED signal.
8. the LED array device for fast detecting as claimed in claim 7 based on imaging sensor communication, it is characterised in that: institute Hough transformation and connected component labeling method are stated according to suitable threshold value, carries out binary conversion treatment.
9. the LED array device for fast detecting as claimed in claim 7 based on imaging sensor communication, it is characterised in that: institute It states connected component labeling method and completes to mark using secondary traversal.
10. the LED array device for fast detecting as claimed in claim 9 based on imaging sensor communication, it is characterised in that: institute State secondary traversal specifically: when the first round traverses, connected region is designated as a group by progressive scanning picture;In addition to the first row The group of all rows assigns the minimum label for the group that is connected to the group, and these are same if there is lap in the group with previous row The label of the group of label is all of equal value;When the second wheel traversal, traversal starts the label of group, finds equivalent sequence, re-flags.
CN201811029945.0A 2018-09-05 2018-09-05 A kind of LED array rapid detection method and device based on imaging sensor communication Pending CN109461182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811029945.0A CN109461182A (en) 2018-09-05 2018-09-05 A kind of LED array rapid detection method and device based on imaging sensor communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811029945.0A CN109461182A (en) 2018-09-05 2018-09-05 A kind of LED array rapid detection method and device based on imaging sensor communication

Publications (1)

Publication Number Publication Date
CN109461182A true CN109461182A (en) 2019-03-12

Family

ID=65606532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811029945.0A Pending CN109461182A (en) 2018-09-05 2018-09-05 A kind of LED array rapid detection method and device based on imaging sensor communication

Country Status (1)

Country Link
CN (1) CN109461182A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020077516A1 (en) * 2018-10-16 2020-04-23 华北电力大学扬中智能电气研究中心 Led array signal detection method, and device
CN111951693A (en) * 2019-05-17 2020-11-17 浙江宇视科技有限公司 Array device positioning method and device, storage medium and electronic equipment
US10977469B2 (en) 2019-03-29 2021-04-13 SINO IC Technology Co., Ltd. Halo test method for an optical chip in an integrated circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101612054B1 (en) * 2015-01-28 2016-04-26 대덕밸리과학기술인 협동조합 Image-based Two-dimensional Bar Code Detection System at Long Range
CN107833238A (en) * 2017-11-14 2018-03-23 京东方科技集团股份有限公司 Largest connected field mark method, method for tracking target, augmented reality/virtual reality device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101612054B1 (en) * 2015-01-28 2016-04-26 대덕밸리과학기술인 협동조합 Image-based Two-dimensional Bar Code Detection System at Long Range
CN107833238A (en) * 2017-11-14 2018-03-23 京东方科技集团股份有限公司 Largest connected field mark method, method for tracking target, augmented reality/virtual reality device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江雷雷: "基于LED阵列的图像传感器可见光通信研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020077516A1 (en) * 2018-10-16 2020-04-23 华北电力大学扬中智能电气研究中心 Led array signal detection method, and device
JP2022508842A (en) * 2018-10-16 2022-01-19 ヤンジョン・インテリジェント・エレクトリカル・インスティテュート,ノース・チャイナ・エレクトリック・パワー・ユニバーシティ Methods and equipment for detecting LED array signals
JP7182722B2 (en) 2018-10-16 2022-12-02 ヤンジョン・インテリジェント・エレクトリカル・インスティテュート,ノース・チャイナ・エレクトリック・パワー・ユニバーシティ Method and apparatus for detecting LED array signals
US10977469B2 (en) 2019-03-29 2021-04-13 SINO IC Technology Co., Ltd. Halo test method for an optical chip in an integrated circuit
CN111951693A (en) * 2019-05-17 2020-11-17 浙江宇视科技有限公司 Array device positioning method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US7231063B2 (en) Fiducial detection system
CN109461182A (en) A kind of LED array rapid detection method and device based on imaging sensor communication
US6081627A (en) Two-dimensional code reader
CN104253646A (en) Visible light communication MIMO system and method for realizing data transmitting and receiving
CN103698337B (en) A kind of adhesion defect of label of flat wine bottle automatic testing method
CN101937563B (en) Target detection method and equipment and image acquisition device thereof
US9174830B1 (en) Industrial vehicles with point fix based localization
US9177239B1 (en) Generating machine-readable optical codes with aesthetic component
JP2020524863A (en) System and method for fast identification and processing of image areas of interest
CN102096802B (en) Face detection method and device
US9982995B2 (en) 3D scanner using structured lighting
CN112184765B (en) Autonomous tracking method for underwater vehicle
CN105493141A (en) Unstructured road boundary detection
CN108197521A (en) A kind of leggy Quick Response Code obtains identification device and method
CN105241400A (en) Glass flatness detection method and device
CN101937505B (en) Target detection method and equipment and used image acquisition device thereof
Ji et al. A single LED lamp positioning system based on CMOS camera and visible light communication
CN101593271B (en) System for identifying figures in card game machine
CN107563331A (en) A kind of road sign line detecting method and system based on geometrical relationship
Wang et al. Road detection based on illuminant invariance and quadratic estimation
CN103065147B (en) A kind of vehicle monitoring method based on images match and recognition technology
Kim et al. Quasi-globally optimal and real-time visual compass in manhattan structured environments
Tang et al. Robust vehicle surveillance in night traffic videos using an azimuthally blur technique
CN108765456A (en) Method for tracking target, system based on linear edge feature
CN103327317A (en) Light communication transmitting and receiving apparatus and method, and light communication system and method

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

RJ01 Rejection of invention patent application after publication