CN107154057B - Point positioning method and device - Google Patents

Point positioning method and device Download PDF

Info

Publication number
CN107154057B
CN107154057B CN201710289476.5A CN201710289476A CN107154057B CN 107154057 B CN107154057 B CN 107154057B CN 201710289476 A CN201710289476 A CN 201710289476A CN 107154057 B CN107154057 B CN 107154057B
Authority
CN
China
Prior art keywords
point
lamp
row
points
column
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
Application number
CN201710289476.5A
Other languages
Chinese (zh)
Other versions
CN107154057A (en
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.)
Xi'an Nova Nebula Technology Co Ltd
Original Assignee
Xi'an Nova Nebula Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Nova Nebula Technology Co Ltd filed Critical Xi'an Nova Nebula Technology Co Ltd
Priority to CN201710289476.5A priority Critical patent/CN107154057B/en
Publication of CN107154057A publication Critical patent/CN107154057A/en
Application granted granted Critical
Publication of CN107154057B publication Critical patent/CN107154057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • 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
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

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

Abstract

The embodiment of the invention discloses a point positioning method and a point positioning device. The method comprises the following steps: binarizing the image data according to the read image data; extracting a lamp point central point according to the binarized image data connected domain; calculating the diffusion step length according to the central point of the lamp point; and acquiring the row and column numbers of the lamp points by using a diffusion method according to the diffusion step length. The embodiment of the invention can effectively perform point positioning on the conventional screen body and the special-shaped screen, and particularly can solve the problem that the special-shaped screen is difficult to perform point positioning.

Description

Point positioning method and device
Technical Field
The present invention relates to the field of display control and image processing technologies, and in particular, to a point positioning method and a point positioning apparatus.
Background
Since the 21 st century, the display industry has been unprecedentedly developed, and the LED display screens have spread over central squares and commercial buildings of all cities. The LED display screen is well appreciated by people with the advantages of unique bright color, high visibility, low power consumption and the like, however, due to the fact that the manufacturing process level of the domestic LED display screen is low, the produced LED lamp tube has large brightness and chromaticity difference (for example, the brightness of LEDs in the same production batch may be different by nearly 50%, and the chromaticity may be different by 15-20 nm), and the brightness and chromaticity difference of the display screen spliced by the LEDs in different production batches is more serious. These differences in luminance are intolerable to the human eye, so that new production or aged LED displays need to be adjusted in luminance effectively.
In the calibration, when appropriate image data is acquired, each lamp point needs to be positioned, so that a bright chromatic value corresponding to each lamp point is extracted. The traditional point positioning method is to perform point positioning in a row-by-row or column-by-column direction with a certain step length. Aiming at the LED special-shaped screen, the traditional positioning scheme can not realize point positioning successfully.
Disclosure of Invention
The embodiment of the invention provides a point positioning method and a point positioning device, which realize the technical effect of successfully positioning points of a display screen, particularly a special-shaped screen.
In one aspect, a point positioning method is provided, including: reading image data; binarizing the image data; extracting a lamp point central point according to the connected domain of the binarized image data; calculating diffusion step length according to the lamp point central point; and acquiring the row and column numbers of the lamp points by using a diffusion method according to the diffusion step length.
In one embodiment of the present invention, binarizing the image data comprises: extracting color principal components of the image data; and binarizing the principal color component.
In an embodiment of the present invention, extracting the lamp point center point according to the connected domain of the binarized image data includes: digitally calibrating the connected domain; and counting the center points of the connected domains to form the center points of the lamp points.
In one embodiment of the invention, before calculating the diffusion step size from the lamp spot center point, the spot location method further comprises: and counting the area of the connected domain, and removing the connected domain with the area larger than a first threshold value and the area smaller than a second threshold value.
In one embodiment of the present invention, calculating the diffusion step size from the lamp center point comprises: determining an initial point according to the lamp point central point; and calculating a row step size and a column step size according to the initial point to form the diffusion step size.
In an embodiment of the present invention, obtaining the row and column numbers of the light points by using a diffusion method according to the diffusion step length includes: traversing the center point of the connected domain with unknown row number and column number of the lamp points; comparing the pixel distance of the central point of the connected domain with the unknown row and column number and the known row and column number according to the diffusion step length; and determining the row number and the column number of the lamp points according to the comparison result.
In one embodiment of the present invention, after the lamp dot row and column numbers are obtained by the diffusion method according to the diffusion step size, the dot positioning method further includes: correcting the row number and the column number of the lamp points; determining the width and height of the lamp points and the number of dead lamps according to the lamp point central points, the corrected lamp point row and column numbers and the binarized image data; and recording the lamp point central point, the corrected lamp point row number, the width and the height of the lamp point and the number of dead lamps.
In still another aspect, a point locating apparatus is provided, including: the reading module is used for reading image data; the binarization module is used for binarizing the image data; the extraction module is used for extracting a lamp point central point according to the connected domain of the binarized image data; the calculation module is used for calculating the diffusion step length according to the lamp point central point; and the acquisition module is used for acquiring the row and column numbers of the lamp points by using a diffusion method according to the diffusion step length.
In one embodiment of the present invention, the binarization module comprises: an extraction unit configured to extract a principal component of color of the image data; and a binarization unit configured to binarize the principal color component.
In one embodiment of the invention, the extraction module comprises: the calibration unit is used for digitally calibrating the connected domain; and the statistical unit is used for counting the center points of the connected domain to form the lamp point center.
In one embodiment of the present invention, the point locating apparatus further comprises: and the abnormal point removing module is used for counting the area of the connected domain and removing the connected domain of which the area is larger than a first threshold and the area is smaller than a second threshold.
In one embodiment of the invention, the calculation module comprises: the first calculating unit is used for determining an initial point according to the lamp point central point; and a second calculation unit for calculating a row step size and a column step size from the initial point to form the diffusion step size.
In one embodiment of the present invention, the obtaining module includes: the traversing unit is used for traversing the connected domain center points with unknown row numbers and column numbers of the lamp points; the comparison unit is used for comparing the pixel distance of the central point of the connected domain with unknown row and column number and known row and column number according to the diffusion step length; and the determining unit is used for determining the row number and the column number of the lamp points according to the comparison result.
In one embodiment of the present invention, the point locating apparatus further comprises: a logging module, the logging module comprising: the correction unit is used for correcting the lamp point row number; the calculation unit is used for determining the width and height of the lamp points and the number of dead lamps according to the lamp point central points, the corrected lamp point row and column numbers and the binarized image data; and the recording unit is used for recording the lamp point central points, the lamp point row numbers, the width and the height of the lamp points and the number of dead lamps.
One technical scheme of the technical scheme has the following advantages or beneficial effects: the invention can effectively carry out point positioning on the conventional LED screen body and the special-shaped screen, and particularly can solve the problem that the special-shaped screen is difficult to carry out point positioning.
Still another technical scheme of above-mentioned technical scheme has following advantage or beneficial effect: the point positioning device provided by the embodiment of the invention can effectively perform point positioning on the conventional LED screen body and the special-shaped screen, and particularly can solve the problem that the special-shaped screen is difficult to perform point positioning.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a point locating method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a point locating method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of an image after a connected domain is calibrated according to a second embodiment of the present invention;
fig. 4 is a schematic view of a point locating device according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First embodiment
As shown in fig. 1, fig. 1 is a schematic diagram of a point positioning method according to an embodiment of the present invention, where the method includes the following steps:
step 1, reading image data;
step 2, binarizing the image data;
step 3, extracting a lamp point central point according to the connected domain of the binarized image data;
step 4, calculating a diffusion step length according to the lamp point central point;
and 5, acquiring the row and column numbers of the lamp points by using a diffusion method according to the diffusion step length.
In order to understand the embodiment more clearly, the following description specifically describes the foregoing steps 1 to 5 with specific examples.
Wherein, for step 2, may include:
and extracting the color principal component of the image data, and binarizing the color principal component.
Wherein, for step 3, it may include:
and calibrating the connected domain by numbers, and counting central points of the connected domain to form the lamp point center.
Further, before step 4, the method may further include:
and counting the area of the connected domain, and removing the connected domain with the area larger than a first threshold value and the area smaller than a second threshold value.
Wherein, for step 4, the method may include:
a1) determining an initial point according to the lamp point central point;
a2) and calculating a row step length and a column step length according to the initial point to form the diffusion step length.
Wherein, for step 5, the method may comprise:
b1) traversing the connected domain center point with unknown row and column numbers of the lamp points;
b2) comparing the pixel distance of the central point of the connected domain with unknown row and column number and known row and column number according to the diffusion step length;
b3) and determining the row number and the column number of the lamp points according to the comparison result.
Further, after step 5, the method may further include:
c1) correcting the row number and the column number of the lamp points;
c2) determining the width and height of the lamp points and the number of dead lamps according to the lamp point central points, the corrected lamp point row and column numbers and the binarized image data;
c3) and recording the lamp point central point, the corrected lamp point row number, the corrected width and the corrected height and the corrected number of the dead lamps.
The invention can effectively carry out point positioning on the conventional LED screen body and the special-shaped screen, and particularly can solve the problem that the special-shaped screen is difficult to carry out point positioning.
Second embodiment
Referring to fig. 2, fig. 2 is a flowchart of a point positioning method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes:
1) loading image data
Image data is read. If the image data is Bayer interpolated at this time, where Bayer interpolation is the prior art, the present invention is not described in detail, and it is necessary to convert the image data into full pixels.
2) Binarization method
Principal components of the current color of the image data are extracted and then binarized.
The method comprises the following specific steps:
the image data is divided into blocks 50 × 50 in width, the maximum value of the pixels of each image data block is extracted, and the pixels inside the image data block are binarized with 0.1 time of the maximum value as a threshold value. If the maximum value of the image data block is too small, that is, the maximum value is less than 0.3 times the maximum value mean value, binarization is not performed, and all the values are 0.
Preferably, the maximum-mean may be obtained by solving the maximum-mean of all 50 x 50 image data blocks.
3) Connected domain calibration
If the pixels are adjacent to 8-connected domains, each connected domain is calibrated by an independent number in the same connected domain, the central point of each connected domain is obtained through statistics, and the central point is used as the central point of the LED lamp point.
Fig. 3 shows the calibrated connected component, and fig. 3 is a schematic diagram of an image after the calibrated connected component according to an embodiment of the present invention.
4) Rejecting outliers
Counting the area of each connected domain, and rejecting the connected domains with the areas larger than a first threshold and smaller than a second threshold; the first threshold is 2 times of the mean value of the area of the connected region, and the second threshold is 0.5 times of the mean value of the area of the connected region
5) Initial point
And selecting a center of a connected domain at random as an initial point, and selecting the center of the connected domain closest to the upper left corner, the upper right corner, the lower left corner and the lower right corner as the initial point.
6) Diffusion step size
Searching a point closest to the initial point, and if the pixel row distance is greater than the pixel column distance, taking the step length between the two points as the row step length; if the pixel column distance is greater than the pixel row distance, the step length between the two is the column step length.
7) Diffusion
And circularly traversing the central point of the communication domain with unknown LED lamp point row-column numbers, and if the pixel distance between the central point of the communication domain and the known LED lamp point row-column numbers (M rows and N columns) is within the threshold range, obtaining the corresponding LED lamp point row-column numbers.
If the pixel distance is between 0.7 and 1.3 times of the step length of the diffusion row and the pixel row distance is greater than the pixel column distance, if the pixel row coordinate is smaller than the pixel row coordinate of the known central point, the LED lamp point row number is M-1, and the column number is N; if the pixel row coordinate is larger than the pixel row coordinate of the known central point, the LED lamp point row number is M +1, and the column number is N.
If the pixel distance is between 0.7 and 1.3 times of the diffusion row step length and the pixel row distance is greater than the pixel row distance, if the pixel row coordinate is less than the pixel row coordinate of the known central point, the LED lamp point row number is M, and the row number is N-1; if the pixel column coordinate is larger than the pixel column coordinate of the known central point, the row number of the LED lamp point is M, and the column number is N + 1.
8) Correction
Since the initial point is not necessarily the corner point located at the upper left corner of the box, the diffused row and column numbers of the lamp points may have negative values. Therefore, the row number of the lamp points is corrected, so that the minimum row number is 0, the minimum column number is 0, the maximum row number is the row number-1 of the known LED lamp points, and the maximum column number is the row number-1 of the LED lamp points.
9) Recording spot positioning results
Determining the width and height of the lamp points and the number of dead lamps according to the lamp point central point, the lamp point row numbers and the binarized image data;
and recording the central point of the lamp point, the row number, the height, the width and the number of dead lamps.
By adopting the method provided by the embodiment, the conventional LED screen body and the special-shaped screen can be effectively subjected to point positioning, and the problem that the special-shaped screen is difficult to point position is solved.
Third embodiment
Referring to fig. 4, fig. 4 is a schematic view of a point locating device according to an embodiment of the present invention, as shown in fig. 4, the point locating device includes:
a reading module 301, a binarization module 302, an extraction module 303, a calculation module 305 and an acquisition module 306.
The reading module 301 is used for reading image data;
the binarization module 302 is used for binarizing the image data;
the extraction module 303 is configured to extract a lamp point center point according to the binarized image data connected domain;
the calculation module 305 is configured to calculate a diffusion step length according to the center point of the light point;
the obtaining module 306 is configured to obtain the row and column numbers of the light spots by using a diffusion method according to the diffusion step length.
The binarization module 302 includes, for example, an extraction unit 3001 and a binarization unit 3002, wherein the extraction unit 3001 is used for extracting a principal color component of the image data; the binarization unit 3002 is used to binarize the principal color component.
The extraction module 303 includes, for example, a calibration unit 3003 and a statistics unit 3004, where the calibration unit 3003 is configured to digitally calibrate the connected component; the statistical unit 3004 is used for counting connected domain center points forming a lamp point center.
Further, an abnormal point removing module 304 is further included, configured to count the area of the connected component, and remove the connected component having the area larger than the first threshold and the area smaller than the second threshold.
The calculating module 305 includes, for example, a first calculating unit 3005 and a second calculating unit 3006, wherein the first calculating unit 3005 is configured to determine an initial point according to the lamp point center point; the second calculation unit 3006 is used to calculate a row step size and a column step size from an initial point, forming a diffusion step size.
The obtaining module 306 includes, for example, a traversing unit 3007, a comparing unit 3008, and a determining unit 3009, where the traversing unit 3007 is configured to traverse a connected domain center point with an unknown lamp point row number; the comparison unit 3008 is configured to compare, according to the diffusion step length, the pixel distance between the connected domain center point whose row/column number is unknown and the row/column number is known; and the determining unit 3009 is configured to determine a row number and a column number of the light points according to the comparison result.
Further, a recording module 307 is also included, and the recording module 307 includes, for example, a correction unit 3010, a calculation unit 3011, and a recording unit 3012; the correcting unit 3010 is configured to correct the light point row number; the calculating unit 3011 is configured to determine the width and height of the light point and the number of dead lights according to the light point center point, the corrected light point row and column number, and the binarized image data; the recording unit 3012 is configured to record the light point center point, the light point row number, the width and height of the light point, and the number of dead lights.
The device provided by the embodiment can effectively perform point positioning on the conventional LED screen body and the special-shaped screen, and particularly can solve the problem that the special-shaped screen is difficult to perform point positioning.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A method of point location, comprising:
reading image data;
binarizing the image data;
extracting a lamp point central point according to the connected domain of the binarized image data;
calculating the diffusion step length according to the lamp point central point, comprising the following steps: determining an initial point according to the central point of the lamp point, searching a point closest to the initial point, wherein the step length between the two points is a row step length when the pixel row distance is greater than the pixel column distance, the step length between the two points is a column step length when the pixel column distance is greater than the pixel row distance, and the row step length and the column step length form the diffusion step length;
and acquiring the row number and the column number of the lamp points by using a diffusion method according to the diffusion step length, wherein the method comprises the following steps: traversing the center point of the connected domain with unknown row and column numbers of the lamp points, comparing the pixel distance of the center point of the connected domain with unknown row and column numbers and known row and column numbers according to the diffusion step length, and determining the row and column numbers of the lamp points according to the comparison result.
2. The method of claim 1, wherein the binarizing the image data comprises:
extracting color principal components of the image data;
and binarizing the principal color component.
3. The method according to claim 1 or 2, wherein the extracting the lamp point center point according to the connected domain of the binarized image data comprises:
digitally calibrating the connected domain;
and counting the center points of the connected domains to form the center points of the lamp points.
4. The method of claim 3, wherein prior to said calculating a diffusion step size from said lamp center point, said method further comprises:
and counting the area of the connected domain, and removing the connected domain with the area larger than a first threshold value and the area smaller than a second threshold value.
5. The method of claim 1, wherein after said obtaining the lamp row and column numbers by diffusion according to the diffusion step size, the method further comprises:
correcting the row number and the column number of the lamp points;
determining the width and height of the lamp points and the number of dead lamps according to the lamp point central points, the corrected lamp point row and column numbers and the binarized image data;
and recording the lamp point central points, the corrected lamp point row numbers, the width and the height of the lamp points and the number of dead lamps.
6. A point locating device, comprising:
the reading module is used for reading image data;
the binarization module is used for binarizing the image data;
the extraction module is used for extracting a lamp point central point according to the connected domain of the binarized image data;
the calculation module is used for calculating the diffusion step length according to the lamp point central point, and comprises: determining an initial point according to the central point of the lamp point, searching a point closest to the initial point, wherein the step length between the two points is a row step length when the pixel row distance is greater than the pixel column distance, the step length between the two points is a column step length when the pixel column distance is greater than the pixel navigation distance, and the row step length and the column step length form the diffusion step length;
the acquisition module is used for acquiring the row and column numbers of the lamp points by using a diffusion method according to the diffusion step length, and comprises the following steps: traversing the center point of the connected domain with unknown row and column numbers of the lamp points, comparing the pixel distance of the center point of the connected domain with unknown row and column numbers and known row and column numbers according to the diffusion step length, and determining the row and column numbers of the lamp points according to the comparison result.
7. The apparatus of claim 6, wherein the binarization module comprises:
an extraction unit configured to extract a principal component of color of the image data;
a binarization unit configured to binarize the principal color component.
8. The apparatus of claim 6 or 7, wherein the extraction module comprises:
the calibration unit is used for digitally calibrating the connected domain;
and the statistical unit is used for counting the center points of the connected domains to form the lamp point centers.
9. The apparatus of claim 8, further comprising:
and the abnormal point removing module is used for counting the area of the connected domain and removing the connected domain of which the area is larger than a first threshold and the area is smaller than a second threshold.
10. The apparatus of claim 6, wherein the computing module comprises:
the first calculating unit is used for determining an initial point according to the lamp point central point;
and the second calculation unit is used for calculating a row step size and a column step size according to the initial point to form the diffusion step size.
11. The apparatus of claim 6, wherein the obtaining module comprises:
the traversing unit is used for traversing the connected domain center points with unknown row numbers and column numbers of the lamp points;
the comparison unit is used for comparing the pixel distance of the central point of the connected domain with unknown row and column number and known row and column number according to the diffusion step length;
and the determining unit is used for determining the row number and the column number of the lamp points according to the comparison result.
12. The apparatus of claim 6, further comprising: a logging module, the logging module comprising:
the correction unit is used for correcting the lamp point row number;
the calculation unit is used for determining the width and height of the lamp points and the number of dead lamps according to the lamp point central points, the corrected lamp point row and column numbers and the binarized image data;
and the recording unit is used for recording the lamp point central points, the lamp point row numbers, the width and the height of the lamp points and the number of dead lamps.
CN201710289476.5A 2017-04-27 2017-04-27 Point positioning method and device Active CN107154057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710289476.5A CN107154057B (en) 2017-04-27 2017-04-27 Point positioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710289476.5A CN107154057B (en) 2017-04-27 2017-04-27 Point positioning method and device

Publications (2)

Publication Number Publication Date
CN107154057A CN107154057A (en) 2017-09-12
CN107154057B true CN107154057B (en) 2020-01-17

Family

ID=59792809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710289476.5A Active CN107154057B (en) 2017-04-27 2017-04-27 Point positioning method and device

Country Status (1)

Country Link
CN (1) CN107154057B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742497B (en) * 2017-10-31 2019-08-27 昆山国显光电有限公司 The pixel unit driving method and driving device of special-shaped display screen
CN112581536B (en) * 2019-09-30 2022-06-17 华中科技大学 OLED mobile phone screen pixel positioning method based on region growing
CN112785545B (en) * 2019-11-06 2022-09-16 杭州海康威视数字技术股份有限公司 Abnormal lamp bead positioning method and device and storage medium
CN113257182B (en) * 2021-06-29 2021-09-17 卡莱特云科技股份有限公司 Lamp point position correction method and device in LED display screen correction process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN105551024A (en) * 2015-12-07 2016-05-04 西安诺瓦电子科技有限公司 Area positioning judgment method for LED display screen point-by-point correction and application
CN105574851A (en) * 2015-12-09 2016-05-11 西安诺瓦电子科技有限公司 Point positioning method and point positioning device for LED display screen point-by-point correction
CN105957071A (en) * 2016-04-26 2016-09-21 浙江宇视科技有限公司 Lamp group positioning method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN105551024A (en) * 2015-12-07 2016-05-04 西安诺瓦电子科技有限公司 Area positioning judgment method for LED display screen point-by-point correction and application
CN105574851A (en) * 2015-12-09 2016-05-11 西安诺瓦电子科技有限公司 Point positioning method and point positioning device for LED display screen point-by-point correction
CN105957071A (en) * 2016-04-26 2016-09-21 浙江宇视科技有限公司 Lamp group positioning method and device

Also Published As

Publication number Publication date
CN107154057A (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN107154057B (en) Point positioning method and device
CN108280822B (en) Screen scratch detection method and device
US10102408B2 (en) Quick response code feature detection method and system
CN102132147B (en) Defect detecting apparatus
CN1940994B (en) Defect detecting device, image sensor device, and image sensor module
CN111612781A (en) Screen defect detection method and device and head-mounted display equipment
CN113379680B (en) Defect detection method, defect detection device, electronic device and computer readable storage medium
CN106303483B (en) A kind of image processing method and device
CN108596908B (en) LED display screen detection method and device and terminal
CN109214229B (en) Bar code scanning method and device and electronic equipment
CN116503388B (en) Defect detection method, device and storage medium
CN109905700A (en) Virtual display device and its detection method, device, computer readable storage medium
CN113053324A (en) Backlight control method, device, equipment, system and storage medium
CN109101855B (en) Lost positioning frame two-dimensional code identification method based on opencv
CN114399507B (en) Mobile phone appearance quality detection method and device, electronic equipment and storage medium
CN117152165A (en) Photosensitive chip defect detection method and device, storage medium and electronic equipment
CN111160215A (en) Image identifier extraction device, and brightness adjustment method and device of image identifier
CN113345036B (en) HSV (hue, saturation, value) feature transformation based indicator lamp state identification method
WO2019019681A1 (en) Method and apparatus for acquiring tilt value of identity card image, terminal and storage medium
CN110992328B (en) Dark spot detection method and device
JP5788367B2 (en) Long object number measuring device, long object number measuring method, and computer program
CN115375679B (en) Edge-finding and point-searching positioning method and device for defective chip
CN107358221B (en) Video recognition technology-based chessboard positioning method for automatically recording chess manual of go
CN111695557B (en) Image processing method and device
TWI760934B (en) Mura compensation method for display panel, system, electronic device, and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 710075 DEF101, Zengyi Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Applicant after: Xi'an Nova Nebula Technology Co., Ltd.

Address before: High tech Zone technology two road 710075 Shaanxi city of Xi'an Province, No. 68 Xi'an Software Park D District 401

Applicant before: Xian Novastar Electronic Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant