CN111640122B - LED special-shaped display screen facula positioning and dividing method based on connected domain - Google Patents
LED special-shaped display screen facula positioning and dividing method based on connected domain Download PDFInfo
- Publication number
- CN111640122B CN111640122B CN202010405855.8A CN202010405855A CN111640122B CN 111640122 B CN111640122 B CN 111640122B CN 202010405855 A CN202010405855 A CN 202010405855A CN 111640122 B CN111640122 B CN 111640122B
- Authority
- CN
- China
- Prior art keywords
- display screen
- pixel
- special
- pixels
- point
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/187—Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention relates to a light spot positioning and dividing method of an LED special-shaped screen based on a connected domain. The method solves the problem of inaccurate positioning and segmentation caused by irregular shapes of the display screen, is applicable to display screens with any shapes, and has strong engineering application value.
Description
Technical Field
The invention relates to the technical field of LED correction, in particular to a method for positioning and dividing light spots of an LED special-shaped display screen based on a connected domain.
Background
Along with the continuous development of LED display technology, LED display screens are developed towards diversification, and the demands of people on special-shaped screens are increasing. Since the LED light emission luminance has a discrete shape, a correction technique must be applied to the LED to ensure display uniformity of the LED, so that the luminance of each display pixel is uniform after the acquisition correction technique is applied. The core of the acquisition correction technology is how to locate and divide the light spots acquired by the LED display screen to obtain independent light spots, so that the accurate extraction of light spot data is realized. However, the light emitting chips of the special-shaped screen are irregularly arranged, and are variously arranged according to the shapes of the display screen, so that great difficulty is brought to the positioning and segmentation of light spots.
In order to solve the problems, the conventional light spot positioning method only aims at a display screen with regular luminous chip arrangement and a special-shaped screen with low arrangement irregularity degree, has the capability of successfully positioning and dividing once, and the special-shaped screen with high luminous chip arrangement irregularity degree only can divide the display screen into a plurality of areas with low arrangement irregularity degree to perform regional light spot positioning and dividing, so that the production efficiency is seriously influenced, and meanwhile, the problem of multi-region splicing incompatibility is generated. Therefore, how to realize accurate one-time positioning and segmentation of light spots in the acquisition and correction process of a display screen with complicated shape and high irregular arrangement degree of the light emitting chips becomes a difficult problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a light spot positioning and dividing method for an LED special-shaped display screen based on a connected domain, which can accurately and quickly position and divide luminous pixels of the special-shaped display screen.
In order to solve the technical problems, the LED special-shaped display screen facula positioning and dividing method based on the connected domain is realized by the following steps:
step one,
The method comprises the steps of collecting a special-shaped display screen formed by M light-emitting chips point by point to obtain a light-emitting chip distribution diagram A, wherein M independent light spots are arranged in the distribution diagram A; setting the size of a distribution diagram A as m multiplied by n pixels, and performing binarization processing on all pixels in the distribution diagram A to obtain a binarized image A1;
step two,
Let only two pixels with gray value of 0 and L in the binarized image A1 be defined as pixel point T1 (i,j) All pixels in the binarized image A1 are scanned point by point, and a pixel point T1 is judged (i,j) If there is a pixel point with the same gray value of L in the 8 neighborhood range, if there is, the two pixel points are considered to be communicated and marked as S k (T1 (i,j) ,T1 (i±δ,j±η) ) Where k=1, 2, 3..n, δ e [0, 1.)],η∈[0,1]N is the total number of pixel points with the gray value of L;
order the
Judging every two S k Whether or not there is a common pixel point, and S will be the common pixel point k As a group, marked as a connected domain L p Wherein p is the set of labels; finally, the value of p is recorded, and p independent connected domains are determined; the p independent connected domains represent p independent light spots, corresponding to each light emitting chip, i.e., p=m;
step three,
The intermediate pixel coordinates (x i-p ,y j-p ) And the middle pixel coordinates are used as a positioning center and a segmentation center of the corresponding light spots, so that the light spots of the special-shaped screen are positioned and segmented.
In the first step, all pixels in a distribution diagram A are brought into a formula (1) to be subjected to binarization processing, so as to obtain a binarized image formed by pixels with gray values of 0 and L, and the binarized image is marked as A1;
wherein T is (i,j) The gray value of the (i, j) th pixel in the distribution diagram A, delta is a binarization threshold value, and the range is 1.9-20% L max Between them; l (L) max Is the highest gray level of the special-shaped display screen pixel.
In the binarized image A1, the gray value l=l max 。
L may also be 1/2L max ~L max A gray value in between.
According to the mathematical characteristics of the connected domain, the method and the device realize accurate and rapid positioning and segmentation of the luminous pixels of the special-shaped screen, and have high engineering application value.
Drawings
The invention is described in further detail below with reference to the drawings and the detailed description.
FIG. 1 is a light spot distribution diagram of a special-shaped display screen;
FIG. 2 is a binarized gray scale map;
FIG. 3 is a connected domain effect diagram;
fig. 4 is a flow chart of a method for positioning and dividing light spots of an LED special-shaped screen based on connected domains.
Detailed Description
The present invention will be described in detail below using the approximately trapezoidal polygonal display screen shown in fig. 1 as an example.
As shown in fig. 4, the method for positioning and dividing the light spots of the LED special-shaped screen based on the connected domain is specifically realized through the following steps:
step one, setting 2269 luminous chips on a special-shaped display screen; acquiring pixel points of the special-shaped display screen one by using a camera to obtain a luminous chip distribution diagram A; each light emitting chip was a complete independent spot in profile a, for a total of 2269 independent spots. The size of the distribution map A is 2748×3840 pixels;
as shown in fig. 2, the gray values of all pixels in the distribution diagram a of the light-emitting chip of the special-shaped display screen are brought into a formula (1) for binarization processing; assume that the highest gray level L of special-shaped display screen max The binarization threshold delta may be set between 5 and 50 for 255. Here, since the gray level of the peak of the light spot is between 120 and 200 at the time of camera acquisition, the gray threshold δ=10 may be set, and finally, the binarized image A1 is obtained.
Step two, as shown in fig. 3, all pixels in the binarized image A1 are scanned point by point, and a pixel with a gray level L of 255 in the binarized image A1 is defined as a pixel point T1 (i,j) Determining the pixel point T1 (i,j) If there is a pixel point with the gray value of 255 in the 8 neighborhood range, if there is, the two points are considered to be connected, and the pixel point is marked as S k (T1 (i,j) ,T1 (i±δ,j±η) ) Where k=1, 2, 3..n, δ e [0, 1.)],η∈[0,1]N is the total number of pixels with a gray value of 255; as shown in formula (2):
then one by one all S k Bringing into the equation (3) to judge every two S k Whether or not there is a common pixel point, S will be the common pixel point k As a group, denoted as L p Wherein p is the set of labels. And finally, recording the value of p, and determining p independent connected domains.
L p =(S k+γ ,S k+ρ )S k+γ ∩S k+ρ ≠0 (3)
Wherein gamma and rho are any numerical values from 0 to N. S with all common pixels k Form an independent communicating region L p S without common pixels k Belongs to two different connected domains, and finally obtains p independent connected domains L p P=2269. Each L p Representing an independent spot.
Step three, as shown in FIG. 4, each connected domain L p The coordinate range of (2) is added to the formula (4) to find each connected domain L p Intermediate pixel coordinates (x) m-p ,y m-p );
With (x) m-p ,y m-p ) And as a positioning center and a segmentation center of the light spots, the light spot positioning and segmentation of the special-shaped display screen are realized.
Claims (3)
1. The LED special-shaped display screen light spot positioning and dividing method based on the connected domain is characterized by comprising the following steps of:
step one,
The method comprises the steps of collecting a special-shaped display screen formed by M light-emitting chips point by point to obtain a light-emitting chip distribution diagram A, wherein M independent light spots are arranged in the distribution diagram A; setting the size of a distribution diagram A as m multiplied by n pixels, and performing binarization processing on all pixels in the distribution diagram A to obtain a binarized image A1;
step two,
Let only two pixels with gray values of 0 and L in the binarized image A1,the pixel with the gray value L is defined as a pixel point T1 (i,j) All pixels in the binarized image A1 are scanned point by point, and a pixel point T1 is judged (i,j) If there is a pixel point with the same gray value of L in the 8 neighborhood range, if there is, the two pixel points are considered to be communicated and marked as S k (T1 (i,j) ,T1 (i±δ,j±η) ) Where k=1, 2, 3..n, δ e [0, 1.)],η∈[0,1]N is the total number of pixel points with the gray value of L;
order the
Judging every two S k Whether or not there is a common pixel point, and S will be the common pixel point k As a group, marked as a connected domain L p Wherein p is the set of labels; finally, the value of p is recorded, and p independent connected domains are determined; the p independent connected domains represent p independent light spots, corresponding to each light emitting chip, i.e., p=m;
step three,
The intermediate pixel coordinates (x i-p ,y j-p ) The middle pixel coordinates are used as a positioning center and a segmentation center of the corresponding light spots, so that the light spots of the special-shaped screen are positioned and segmented;
in the first step, all pixels in a distribution diagram A are brought into a formula (1) to be subjected to binarization processing, so as to obtain a binarized image formed by pixels with gray values of 0 and L, and the binarized image is marked as A1;
wherein T is (i,j) The gray value of the (i, j) th pixel in the distribution diagram A, delta is a binarization threshold value, and the range is 1.9-20% L max Between them; l (L) max Is the highest gray level of the special-shaped display screen pixel.
2. The LED special-shaped display screen facula positioning and dividing method based on the connected domain according to claim 1,characterized in that in the binarized image A1, the gradation value l=l max 。
3. The connected domain-based LED special-shaped display screen light spot positioning and dividing method as set forth in claim 1, wherein L is 1/2L max ~L max A gray value in between.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010405855.8A CN111640122B (en) | 2020-05-14 | 2020-05-14 | LED special-shaped display screen facula positioning and dividing method based on connected domain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010405855.8A CN111640122B (en) | 2020-05-14 | 2020-05-14 | LED special-shaped display screen facula positioning and dividing method based on connected domain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111640122A CN111640122A (en) | 2020-09-08 |
CN111640122B true CN111640122B (en) | 2023-07-18 |
Family
ID=72332042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010405855.8A Active CN111640122B (en) | 2020-05-14 | 2020-05-14 | LED special-shaped display screen facula positioning and dividing method based on connected domain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111640122B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112927206B (en) * | 2021-03-01 | 2023-05-30 | 安徽慧视金瞳科技有限公司 | Special-shape material sorting method suitable for linear array CCD |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012770A (en) * | 2010-11-22 | 2011-04-13 | 广东威创视讯科技股份有限公司 | Image correction-based camera positioning method |
CN104504674A (en) * | 2014-10-15 | 2015-04-08 | 西北工业大学 | Space debris star extraction and positioning method |
WO2016197477A1 (en) * | 2015-06-12 | 2016-12-15 | 深圳大学 | Method for calculating spot size of laser beam |
CN107133627A (en) * | 2017-04-01 | 2017-09-05 | 深圳市欢创科技有限公司 | Infrared light spot center point extracting method and device |
CN107256689A (en) * | 2016-11-09 | 2017-10-17 | 长春希达电子技术有限公司 | Uniformity restorative procedure after LED display gamma correction |
CN107784669A (en) * | 2017-10-27 | 2018-03-09 | 东南大学 | A kind of method that hot spot extraction and its barycenter determine |
KR101845760B1 (en) * | 2017-01-25 | 2018-05-18 | 한국 천문 연구원 | System and method for forecasting of solar flares using sunspot |
CN108198220A (en) * | 2018-01-19 | 2018-06-22 | 长春希达电子技术有限公司 | A kind of optical camera image surfaces method for precisely marking |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ITVA20020060A1 (en) * | 2002-11-22 | 2004-05-23 | St Microelectronics Srl | METHOD OF ANALYSIS OF IMAGES DETECTED FROM A MICRO-ARRAY |
CN106296621B (en) * | 2015-05-22 | 2019-08-23 | 腾讯科技(深圳)有限公司 | Image processing method and device |
-
2020
- 2020-05-14 CN CN202010405855.8A patent/CN111640122B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012770A (en) * | 2010-11-22 | 2011-04-13 | 广东威创视讯科技股份有限公司 | Image correction-based camera positioning method |
CN104504674A (en) * | 2014-10-15 | 2015-04-08 | 西北工业大学 | Space debris star extraction and positioning method |
WO2016197477A1 (en) * | 2015-06-12 | 2016-12-15 | 深圳大学 | Method for calculating spot size of laser beam |
CN107256689A (en) * | 2016-11-09 | 2017-10-17 | 长春希达电子技术有限公司 | Uniformity restorative procedure after LED display gamma correction |
KR101845760B1 (en) * | 2017-01-25 | 2018-05-18 | 한국 천문 연구원 | System and method for forecasting of solar flares using sunspot |
CN107133627A (en) * | 2017-04-01 | 2017-09-05 | 深圳市欢创科技有限公司 | Infrared light spot center point extracting method and device |
WO2018176938A1 (en) * | 2017-04-01 | 2018-10-04 | 深圳市欢创科技有限公司 | Method and device for extracting center of infrared light spot, and electronic device |
CN107784669A (en) * | 2017-10-27 | 2018-03-09 | 东南大学 | A kind of method that hot spot extraction and its barycenter determine |
CN108198220A (en) * | 2018-01-19 | 2018-06-22 | 长春希达电子技术有限公司 | A kind of optical camera image surfaces method for precisely marking |
Non-Patent Citations (1)
Title |
---|
管道三维检测仪的激光光斑位敏探测技术;刘滔滔;《激光与红外》;1323-1327 * |
Also Published As
Publication number | Publication date |
---|---|
CN111640122A (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113688807B (en) | Self-adaptive defect detection method, device, recognition system and storage medium | |
KR101958634B1 (en) | Apparatus and Method for Mura Defect Detection of Display Device | |
CN109472271B (en) | Printed circuit board image contour extraction method and device | |
CN110009607B (en) | Display screen dead pixel detection method and device, computer equipment and storage medium | |
CN104616275A (en) | Defect detecting method and defect detecting device | |
CN116559183B (en) | Method and system for improving defect judging efficiency | |
WO2020155043A1 (en) | Fluorescence image registration method, gene sequencing instrument and system, and storage medium | |
CN108985363A (en) | A kind of cracks in reinforced concrete bridge classifying identification method based on RBPNN | |
CN110210316B (en) | Traffic signal lamp digital identification method based on gray level image | |
CN113012096B (en) | Display screen sub-pixel positioning and brightness extraction method, device and storage medium | |
CN104331695A (en) | Robust round identifier shape quality detection method | |
CN111861979A (en) | Positioning method, positioning equipment and computer readable storage medium | |
CN111640122B (en) | LED special-shaped display screen facula positioning and dividing method based on connected domain | |
CN110766683A (en) | Pearl finish grade detection method and system | |
CN114463314A (en) | Wafer defect detection method and system based on color difference shadow model | |
CN110400320B (en) | Segmentation method of electrowetting defective pixels | |
CN106501271A (en) | product appearance detection method | |
CN1898555A (en) | Substrate inspection device | |
CN115880683B (en) | Urban waterlogging ponding intelligent water level detection method based on deep learning | |
CN110084117B (en) | Document table line detection method and system based on binary image segmentation projection | |
CN116402822A (en) | Concrete structure image detection method and device, electronic equipment and storage medium | |
CN108256475B (en) | Bill image inversion detection method | |
CN113840135B (en) | Color cast detection method, device, equipment and storage medium | |
CN109886276B (en) | Half-word judging method for dial rolling digital character | |
US11644427B2 (en) | Automatic detection method and automatic detection system for detecting crack on wafer edges |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |