CN107230442A - LED display lamp independent positioning method and device - Google Patents
LED display lamp independent positioning method and device Download PDFInfo
- Publication number
- CN107230442A CN107230442A CN201710364871.5A CN201710364871A CN107230442A CN 107230442 A CN107230442 A CN 107230442A CN 201710364871 A CN201710364871 A CN 201710364871A CN 107230442 A CN107230442 A CN 107230442A
- Authority
- CN
- China
- Prior art keywords
- point
- lamp
- coordinate
- lamp point
- actual coordinate
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/006—Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
Abstract
The present invention provides a kind of LED display lamp independent positioning method and device, including step:Search for first and last lamp point, obtain lamp point spacing, in the position of the actual coordinate when the first direction adjacent lamps point of the row of headlight point, portable lamp point spacing on line direction, to obtain the reference coordinate when headlight point, centered on the reference coordinate when headlight point, high luminance values pixel is searched in all pixels point in the range of pre-determined distance, the coordinate for setting high luminance values pixel is actual coordinate, using the position of initial light point coordinates as starting, cycle calculations reference coordinate and acquisition actual coordinate, until obtaining the actual coordinate of all lamp points one by one.Method and apparatus provided by the present invention need not set up iconic model, influenceed relatively low without carrying out similarity mode, therefore by actual lamp dot image feature, can accurately obtain the actual coordinate of lamp point.
Description
Technical field
The present invention relates to LED display detection technique, more particularly to a kind of LED display lamp independent positioning method and device.
Background technology
In order to ensure the display uniformity of LED display, lifting display quality is, it is necessary to which the bright chroma to LED display is entered
Row correction, it is necessary to be positioned to each LED point before being corrected to bright chroma.LED is clicked through in the prior art
The method of row positioning generally uses template matches positioning mode, that is, the iconic model of LED point is initially set up, then using image mould
Type carries out similarity mode to the actual LED display image including multiple lamp points, so as to position the actual bit of each lamp point
Put.
However, require that the characteristics of image of actual lamp point and iconic model have certain similarity in template matches positioning mode, it is right
The characteristics of image uniformity of multiple actual lamp points has higher requirements, and the parameter setting and the LED of actual photographed of iconic model
Positioning of the imaging effect of display image to lamp point can have a significant impact, and easily cause position error, especially use as a lamp number
When measuring many.
The content of the invention
For above existing issue, by actual lamp dot image feature influenceed relatively low it is an object of the invention to provide a kind of
LED display lamp independent positioning method and device.
There is provided a kind of LED display lamp independent positioning method, including step according to the first aspect of the invention:Search is first
The step of last lamp point, the lamp dot image corresponding with the LED display shown with pixel is placed in the one of two-dimensional coordinate system
In quadrant, the actual coordinate of the actual coordinate of initial light point and last lighting point in lamp lattice array is obtained;Obtain lamp point spacing
Between row lamp point in portable lighter point spacing and column direction on step, acquisition lamp lattice array line direction between adjacent lamps point between adjacent lamps point
At least one away from;The step of calculating reference coordinate, in the first direction adjacent lamps point of the row of lamp point or the first direction adjacent lamps point of row
Actual coordinate position, portable lamp point spacing on line direction or on column direction, to obtain the reference coordinate of the next light point;Obtain
The step of taking actual coordinate, in lamp dot image, centered on the reference coordinate of lamp point, all pictures in the range of pre-determined distance
High luminance values pixel is searched in vegetarian refreshments, the coordinate for setting high luminance values pixel is actual coordinate, and high luminance values pixel is
Refer to the brightness value highest pixel in the range of pre-determined distance;Using the position of initial light point coordinates as starting, circulation performs calculating
Reference coordinate step and acquisition actual coordinate step, until obtaining the actual coordinate of all lamp points one by one.
Preferably, it is relatively multiple more highlighted when there is multiple high luminance values pixels in the step of obtaining actual coordinate
The brightness value of adjacent multiple pixels of each high luminance values pixel in angle value pixel, sets the bright of neighbor pixel
The coordinate of angle value highest high luminance values pixel is actual coordinate.
Preferably, in the step of obtaining actual coordinate, the pre-determined distance scope centered on the reference coordinate of lamp point is calculated
The brightness value of interior all pixels point, when the brightness value is less than predetermined threshold value, judges lamp point for blind spot, with reference coordinate generation
For actual coordinate.
Preferably, calculate reference coordinate the step of in, portable lamp point spacing include calculate lamp point deviation angle, and according to
After lamp point deviation angle is compensated to lamp point spacing, the lamp point spacing after motion compensation.
Preferably, in the step of calculating reference coordinate, lamp point deviation angle is when the first direction adjacent lamps point of headlight point row
Actual coordinate line of the actual coordinate with being more than or equal to 3 lamp points when the first direction interval of headlight point row line direction deviation angle
Degree;Or, lamp point deviation angle is when the actual coordinate of the first direction adjacent lamps point of headlight point range and when between the first direction of headlight point range
Every the column direction deviation angle of the actual coordinate line of more than or equal to 3 lamp points.
Preferably, in the step of calculating reference coordinate, lamp point deviation angle is when the first direction adjacent lamps point of headlight point row
Or the line direction or row side of the actual coordinate of the first direction adjacent lamps point of row and the first lamp point of row or the actual coordinate line of the first lamp point of row
To deviation angle.
Preferably, in the step of calculating reference coordinate, lamp point spacing is compensated according to lamp point deviation angle, it is mobile
Lamp point spacing after compensation includes:The lamp point spacing obtained in acquisition lamp point spacing step is multiplied by lamp point deviation angle respectively
Sine value and cosine value, to obtain the row minute on lamp point spacing row component in the row direction and column direction after compensation
Amount, moves row component and row component in the row direction and the column direction respectively.
Preferably, in addition to step:Region is chosen, and lamp dot image is entered into the selection processing of portable lighter lattice array region.
Preferably, in addition to step:First lamp point confirms that, in the position of the actual coordinate of first trip lamp point, nematic head is moved in direction
Dynamic lamp point spacing obtains fitting first trip lamp as the reference coordinate of fitting first trip lamp point according to the reference coordinate of fitting first trip lamp point
Point actual coordinate by judge initial light point whether headed by lamp point;Or, in the position of the actual coordinate of first lamp point, to row head
Direction portable lamp point spacing is obtained according to the reference coordinate for being fitted first lamp point and is fitted as the reference coordinate for being fitted first lamp point
The actual coordinate of first lamp point by judge initial light point whether headed by lamp point.
Preferably, obtain the actual coordinate of fitting first trip lamp point or be fitted the actual coordinate of first lamp point, then judge starting
Lamp point is not first lamp point, is entered with least one being fitted in the actual coordinate of first lamp point of the actual coordinate with fitting of first trip lamp point
Row fitting a straight line, to obtain first lamp point coordinates, the actual coordinate of all lamp points is recalculated using first lamp point coordinates as starting.
Preferably, it is impossible to obtain the actual coordinate of fitting first trip lamp point or be fitted the actual coordinate of first lamp point, then judge
Initial light point is first lamp point, continues to obtain the actual coordinate of follow-up lamp point.
According to the second aspect of the invention there is provided a kind of LED display lamp location device, including:Memory cell, is used
In storage program, the step of program processed unit realizes the LED display lamp independent positioning method of first aspect when performing;Perform
Unit, for performing memory cell Program.
Due to having used above technology, LED display lamp independent positioning method of the invention need not set up image with device
Model, is influenceed relatively low without carrying out similarity mode, therefore by actual lamp dot image feature, can accurately obtain the reality of lamp point
Coordinate.
Brief description of the drawings
Technical scheme is described in detail below in conjunction with the drawings and specific embodiments, so that the present invention
Characteristic and advantage become apparent.
Fig. 1 is the schematic flow sheet of the LED display lamp independent positioning method of the embodiment of the present invention;
The schematic flow sheet that Fig. 2 is step S103 in Fig. 1;
The schematic flow sheet that Fig. 3 is step S105 in Fig. 1;
Fig. 4 is the lamp dot image schematic diagram of the embodiment of the present invention;
Fig. 5 removes the enlarged diagram of the lamp dot image after background pixel for a-quadrant in Fig. 1;
Fig. 6 is the module diagram of the LED display lamp location device of the present invention.
Embodiment
To embodiments of the invention be provided with detailed description below.Although the present invention will combine some embodiments
It is illustrated and illustrates, but should be noted that the present invention is not merely confined to these embodiments.On the contrary, to the present invention
The modification of progress or equivalent substitution, all should cover among scope of the presently claimed invention.
Some exemplary embodiments are described as processing or the method described as flow chart.Although flow chart grasps items
The processing of order is described into, but many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, each
The order of item operation can be rearranged.The processing can be terminated when its operations are completed, it is also possible to not
Including additional step in the accompanying drawings.The processing can correspond to method, function, code, subroutine, subprogram etc..
Fig. 1 is the schematic flow sheet of the LED display lamp independent positioning method of the embodiment of the present invention, as shown in figure 1, of the invention
LED display lamp independent positioning method include step:
S100:Display image, an image is shown in LED display, and the image includes some lamp points.
S101:Lamp dot image is shot, LED display is shot for the lamp dot image that pixel is shown.
S102:Region is chosen, and lamp dot image is entered into the selection processing of portable lighter lattice array region.
S103:First and last point is searched for, lamp dot image is placed in two-dimensional coordinate system, initial light point coordinates in lamp lattice array is obtained
And last lighting point coordinates.
S104:Lamp point spacing is obtained, portable lighter point spacing and column direction between adjacent lamps point on lamp lattice array line direction is obtained
At least one in row lamp point spacing between upper adjacent lamps point.
S105:The actual coordinate of n portable lighter points before obtaining, using the position of initial light point coordinates as starting, cycle calculations reference
Coordinate and acquisition actual coordinate.
S106:First lamp point confirms, in the position of the actual coordinate of first trip lamp point, nematic head direction portable lamp point spacing conducts
Be fitted first trip lamp point reference coordinate, according to fitting first trip lamp point reference coordinate obtain be fitted first trip lamp point actual coordinate with
Judge initial light point whether headed by lamp point.
S107:First lamp point coordinates is obtained, to be fitted actual coordinate of the actual coordinate of first trip lamp point with being fitted first lamp point
In at least one of carry out fitting a straight line, to obtain first lamp point coordinates.
S108:Obtain the actual coordinate of follow-up portable lighter point.
Fig. 4 is the lamp dot image schematic diagram of the embodiment of the present invention, and the LED of the present invention is illustrated with reference to Fig. 1 and Fig. 4
Display screen lamp independent positioning method.
First, such as step S100, an image is shown in LED display, the image includes some lamp points.LED display
Including multiple LED points, multiple lamp points are arranged to form lamp lattice array in array fashion.By the lamp point of LED display
Array is lighted as requested.
Such as step S101, LED display is shot for the lamp dot image 100 that pixel is shown.Lamp dot image 100 shows
Several lamp being lit points are distributed in black background.Lamp dot image 100 is generally taken as Bayer array when shooting
The image of (Bayer arrays) arrangement.In other embodiments, lamp dot image can also be other colorful images, then need
Lamp dot image is converted into gray level image using prior art.
Then, such as step S102, the lamp dot image 100 for shooting acquisition is entered into the selection processing of portable lighter lattice array region.Specifically
For, the substantially processing region of lamp lattice array is chosen in the lamp dot image 100 obtained is shot, to shield floor except lamp point
Outside influence of the other light sources to lamp point location, so as to improve the lamp point location degree of accuracy.The preferably rectangular area of processing region
Domain, consequently facilitating being positioned in subsequent step for lamp point.The specific method that lamp point region is chosen can use prior art
Method.Step S102, the lamp dot image 100 directly obtained using shooting can also be omitted in other embodiments.
Such as step S103, lamp dot image 100 is placed in two-dimensional coordinate system, initial light point coordinates in lamp lattice array is obtained
101 and last lighting point coordinates 102.The schematic flow sheet that Fig. 2 is step S103 in Fig. 1.Fig. 5 is removal background in a-quadrant in Fig. 4
The enlarged diagram of lamp dot image after pixel.With reference to shown in Fig. 1, Fig. 2, Fig. 4 and Fig. 5, first such as step S1031, by lamp
Dot image 100 is placed in a quadrant of two-dimensional coordinate system, and lamp dot image 100 is placed in the present embodiment exemplary into two-dimensional coordinate system
Fourth quadrant.
Then such as step S1032, lamp dot image 100 is subjected to binary conversion treatment, it is corresponding with lamp dot image 100 to obtain
The binary image (not shown) being made up of bright pixel point and dark pixel point.Binary image is corresponding with lamp dot image 100, and
Position is overlapped in two-dimensional coordinate system.Binary conversion treatment can be carried out by threshold value setting method.Specifically, the pixel in image
The brightness degree scope of point is general from 0 to 21, n is 14 in the present embodiment, and generally n is the brightness degree model of 8, i.e. pixel
Enclose from 0 to 255.Illustrated below exemplified by 8, white is 255, and black is 0.Threshold value is set to by 127, so that by brightness
The pixel that grade is less than equal to 127 is set to dark pixel point, i.e. brightness degree and is set as 0 pixel, and brightness degree is high
Pixel in 127 is set to bright pixel point, i.e. brightness degree and is set as 255 pixel, so as to complete binary conversion treatment.Two
Value processing can simplification figure picture, so as to more be accurately positioned, reduce amount of calculation.
Then such as step S1033, in binary image, the bright pixel nearest from the origin of the two-dimensional coordinate system is chosen
The coordinate of point is the reference coordinate 201 of initial light point.Such as step S1034, according to the reference coordinate 201 of initial light point in lamp point diagram
The actual coordinate 202 of initial light point is obtained in picture 100.
Similar to initial light point 101, such as step S1035 and step S1036 in binary image, is chosen from two dimension
The coordinate of the farthest bright pixel point of the origin of coordinate system is the reference coordinate of last lighting point 102, according to the reference of last lighting point 102
Coordinate obtains the actual coordinate of last lighting point in lamp dot image 100.
The method for choosing bright pixel point nearest from the origin of two-dimensional coordinate system or farthest can be by calculating all bright pictures
Vegetarian refreshments and therefrom chooses the bright pixel point of minimum distance and maximum distance to the distance of origin.
Below by taking initial light point 101 as an example, the method that actual coordinate is obtained according to reference coordinate is introduced.With initial light point
Centered on reference coordinate 201, high luminance values pixel is searched in all pixels point in the range of pre-determined distance, high brightness is set
The coordinate for being worth pixel is the actual coordinate 202 of initial light point.High luminance values pixel refers to the brightness in the range of pre-determined distance
It is worth highest pixel.
It should be noted that when there is multiple high luminance values pixels, calculating respectively in multiple high luminance values pixels
Each high luminance values pixel adjacent multiple neighbor pixels brightness value, for example take high luminance values pixel adjacent 4
The brightness value total value or average value of individual or 8 neighbor pixels, the brightness value of above-mentioned neighbor pixel is compared, and is set
The coordinate of the brightness value highest high luminance values pixel of neighbor pixel is actual coordinate.It so can further reduce mistake
Difference, improves setting accuracy.
Using similar method, the actual coordinate of last lighting point 102 can be obtained.Hereinafter obtain real according to reference coordinate
Border coordinate can also be adopted with the aforedescribed process in the lump.
In other embodiments, it would however also be possible to employ other existing methods obtain initial light point coordinates 101 and last lighting
Point coordinates 102, the mode for example with shot mark is positioned.
Then such as step S104, portable lighter point spacing and phase on column direction between adjacent lamps point on lamp lattice array line direction are obtained
At least one in row lamp point spacing between adjacent lamp point.In the present embodiment, according to the actual coordinate 202 of initial light point, last lighting
The actual coordinate of point 102, portable lighter points and row lamp points calculate the lamp point spacing between adjacent lamps point.Portable lighter is counted and row lamp
Points are known, the coordinate of initial light point 101 and the last coordinate of lighting point 102 are obtained in step s 103, so as to learn starting
The distance of line direction or column direction between lamp point 101 and last lighting point 102, so as to be calculated by portable lighter points or row lamp points
Know the lamp point spacing between adjacent lamps point.In general, portable lighter point spacing and column direction adjacent lamps point between line direction adjacent lamps point
Between row lamp point spacing it is identical, therefore, in order to more precisely compute lamp point spacing, lamp point spacing can be set to line direction phase
The average value of the row lamp point spacing between portable lighter point spacing and column direction adjacent lamps point between adjacent lamp point.In other embodiments,
Portable lighter point spacing and row lamp point spacing can be recorded respectively, during the calculating of correspondence row or column, respectively used.In other realities
Apply in example, can also an acquisition portable lighter point spacing used with one in row lamp point spacing as lamp point spacing.Between acquisition lamp point
Away from mode be not limited to above-mentioned introduced method, it would however also be possible to employ other methods, for example by positioning before several lamp points,
Then lamp point spacing is calculated.
Such as step S105, using the position of initial light point coordinates as starting, cycle calculations reference coordinate and the actual seat of acquisition
Mark, with the actual coordinate of n portable lighter points before obtaining.
The present embodiment starts to obtain next line again with behavior unit after the actual coordinate for obtaining all lamp points of one's own profession successively
The actual coordinate of lamp point, until obtaining the actual coordinate of preceding n portable lighter points.In other embodiments can also to arrange as unit, according to
Start to obtain the actual coordinate of the lamp point of next column again after the secondary actual coordinate for obtaining all lamp points of this row.Definition is parallel to lamp point
The direction of array row extension, and it is the first direction of row, definition and the first direction of row to point to the direction for the lamp point that one's own profession first is positioned
Reverse direction is end of line direction.Correspondingly, definition arranges the direction of extension parallel to lamp lattice array, and points to first quilt of this row
The direction of the lamp point of positioning is the first direction of row, and the definition direction reverse with the first direction of row is row tail direction.
The schematic flow sheet that Fig. 3 is step S105 in Fig. 1.As shown in figure 3, working as headlight point as step S1051 is calculated first
Reference coordinate, when headlight point be required for obtain coordinate the next light point.When the first direction adjacent lamps of the row of headlight point
The position of the actual coordinate of point, a lamp point spacing is moved to end of line direction, to obtain the reference coordinate when headlight point.Then such as
Step S1052 obtains actual coordinate, i.e., in lamp dot image 100, first according to the pixel Luminance Distribution feelings of initial light point 101
Condition calculates one threshold value of setting, then centered on the reference coordinate when headlight point, calculates all pictures in the range of pre-determined distance
The brightness value of vegetarian refreshments, can calculate brightness accumulated value, can also calculate luminance mean value, when above-mentioned brightness value is higher than calculating setting
During threshold value, centered on the reference coordinate when headlight point, high luminance values are searched in all pixels point in the range of pre-determined distance
Pixel, the coordinate for setting high luminance values pixel is when the actual coordinate of headlight point.
When above-mentioned brightness value is less than the threshold value for calculating setting, then judge when headlight point is blind spot, i.e., when headlight point without
Method is lighted, the step of no longer carrying out searching high luminance values pixel., can not according to reference coordinate i.e. when performing step S1052
Actual coordinate is obtained, therefore actual coordinate is replaced with reference coordinate.As can be seen here, can by mode provided by the present invention
The coordinate of blind spot is obtained, and prior art for example can not obtain blind spot coordinate by template matches positioning rule.
Using the position of initial light point coordinates 101 as starting, circulation performs step S1051 and step S1052, so as to obtain
The actual coordinate of preceding n portable lighters point.
Below with reference to Fig. 3, Fig. 4 and Fig. 5, the specific steps for obtaining lamp point actual coordinate are introduced.When acquisition initial light point
Actual coordinate 202 after, the second lamp point 103 is that when headlight point, initial light point 101 is used as the first direction adjacent lamps point of row.Perform step
Rapid S1051 calculates the reference coordinate 204 of the second lamp point, i.e., initial light point actual coordinate 202 position, to the shifting of end of line direction
The lamp point spacing 203 that dynamic step S104 is obtained, so as to obtain the reference coordinate 204 of the second lamp point.Step S1052 is performed, according to
The reference coordinate 204 of second lamp point obtains the actual coordinate 205 of the second lamp point, and the method for acquisition may be referred to presented hereinabove
The method that actual coordinate is obtained according to reference coordinate, here is omitted.
During due to actual photographed, in order to evade the colleague or same in the influence of moire fringes or lens distortion, lamp dot image
Row lamp point angled would generally be offset, so that U-shaped is presented, when the quantity that especially uses as a lamp is a lot, such situation relatively often occurs.
For it is such the problem of, the present invention enter portable lighter point deviation angle compensation, i.e., in step S1051 portable lamp point spacing
When, lamp point deviation angle is calculated, and lamp point spacing is compensated after calculating according to lamp point deviation angle, after motion compensation is calculated
Lamp point spacing.By taking lamp point in Fig. 5 as an example, the 3rd lamp point 104 is that, when headlight point, the second lamp point 103 is when headlight point row head side
To adjacent lamps point.After actual coordinate 205 of the second lamp point are obtained, the lamp point deviation angle 206 of the second lamp point 103 is calculated, this
When lamp point deviation angle 206 be when the actual coordinate line of the actual coordinate and the first lamp point of row of the first direction adjacent lamps point of headlight point row
Line direction deviation angle, i.e. the actual coordinate 205 of the second lamp point and the line of actual coordinate 202 and line direction of initial light point be straight
The angle α of line.Step S1051 is performed, in the position of actual coordinate 205 of the second lamp point, according to lamp point deviation angle 206 to lamp point
Spacing 203 is compensated, the lamp point spacing 203 after motion compensation, to obtain the reference coordinate 207 when the lamp point of headlight point the 3rd,
I.e. in the position of actual coordinate 205 of the second lamp point no longer with line direction portable lamp point spacing 203, but motion compensation lamp point is offset
Lamp point spacing 203 after angle 206.The lamp point spacing 203 obtained in step S104 is multiplied by lamp point deviation angle 206 respectively
Sine value and cosine value, to obtain the row minute on lamp point spacing row component in the row direction and column direction after compensation
Amount, moves row component and row component in the row direction and the column direction respectively.Row component is cos (- α) in the present embodiment, because
This is multiplied by portable lamp point spacing 203 in x directions movement cos (- α), and row component is sin (- α), thus move in y directions sin (-
α) it is multiplied by portable lamp point spacing 203.
At other to arrange in the embodiment that lamp point coordinates is calculated for unit, lamp point deviation angle can be defined as working as headlight point
The column direction deviation angle of the actual coordinate of the first direction adjacent lamps point of row and the actual coordinate line of the first lamp point of row.Pass through above lamp
Point deviation angle compensation so that the positioning to lamp point is more accurate.
When the actual coordinate for having obtained multiple colleagues or same column lamp point reaches, lamp point deviation angle is when headlight point row is first
The row of actual coordinate line of the actual coordinate of direction adjacent lamps point with being more than or equal to 3 lamp points when headlight point row first direction interval
Direction deviation angle, or, lamp point deviation angle is the actual coordinate when the first direction adjacent lamps point of headlight point range with working as headlight point
Row first direction interval is more than or equal to the column direction deviation angle of the actual coordinate line of 3 lamp points.
Preferably, choose and be separated by the 5th lamp point calculating lamp point deviation angle.For example, 6 lamp points of colleague ought have been obtained
During actual coordinate, when headlight point is the 7th lamp point, when the first direction adjacent lamps point of headlight point row is the 6th lamp point, when headlight point row is first
The 5th, direction interval lamp point is the second lamp point, then deviation angle is the actual coordinate of the 6th lamp point and the actual seat of the second lamp point
Mark the line direction deviation angle of contact.
Selection is separated by the 5th lamp point and calculates lamp point deviation angle, and becoming for lamp point direction can be accurately held as much as possible
Gesture, is avoided that the angular error that straight line is caused between long point again.
After the actual coordinate of n portable lighter points before obtaining, step S106 is performed, first lamp point is confirmed.Step
S106 effect is, when first lamp point is blind spot, mistake occurs when being positioned to lamp point, and confirms energy to first lamp point
Enough it is prevented effectively from such mistake.
Specifically, in the position of the actual coordinate of first trip lamp point, nematic head direction portable lamp point spacing is first as fitting
The reference coordinate of portable lighter point, obtains according to the reference coordinate of fitting first trip lamp point and is fitted the actual coordinate of first trip lamp point to have judged
Beginning lamp point whether headed by lamp point.In the present embodiment, 5 lamp points before first trip are chosen, respectively in the position of its actual coordinate, nematic
First direction portable lamp point spacing is obtained according to the reference coordinate of fitting first trip lamp point and intended as the reference coordinate of fitting first trip lamp point
The actual coordinate of first trip lamp point is closed, it is above right that the mode of calculating reference coordinate and the mode of acquisition actual coordinate may be referred to
In step S1051 and S1052 description, the compensation of lamp point deviation angle is similarly applicable, no longer gone to live in the household of one's in-laws on getting married herein in step s 106
State.
In other embodiments, it can also be fitted the actual coordinate of first lamp point whether to judge initial light point by acquisition
Headed by lamp point, the i.e. position in the actual coordinate of first lamp point, nematic head direction portable lamp point spacing be used as be fitted first lamp point
Reference coordinate, the actual coordinate for being fitted first lamp point is obtained to judge initial light point according to the reference coordinate for being fitted first lamp point
Whether headed by lamp point.
When obtaining the actual coordinate of fitting first trip lamp point or being fitted the actual coordinate of first lamp point, then the initial light is judged
Point is not first lamp point, into step S107, to be fitted the actual coordinate of first trip lamp point with being fitted in the actual coordinate of first lamp point
At least one of carry out fitting a straight line, to obtain first lamp point coordinates, using first lamp point coordinates for originate recalculate all lamp points
Actual coordinate.Specifically, actual coordinate of the actual coordinate of digital simulation first trip lamp point with being fitted first lamp point.If fitting
The actual coordinate of first trip lamp point and it is fitted the actual coordinate of first lamp point and all exists, then using the actual coordinate of fitting first trip lamp point
Lamp point coordinates headed by actual coordinate progress fitting a straight line with being fitted first lamp point, two straight-line intersections.If being fitted first trip lamp point
Actual coordinate be not present or be fitted the actual coordinate of first lamp point and be not present, then using the actual coordinate of existing first trip lamp point
Or the actual coordinate of first existing lamp point and the actual coordinate for being fitted first lamp point existed or the reality for being fitted first trip lamp point
Coordinate carries out lamp point coordinates headed by fitting a straight line, two straight-line intersections.Obtain and re-execute what step S105 rose after first lamp point coordinates
Step.In other embodiments, the step of can also re-executing from step S104, i.e., according to first lamp point coordinates and last lighting
Point coordinates calculates lamp point spacing, so as to carry out more accurate positioning to lamp point.
When that can not obtain the actual coordinate of fitting first trip lamp point, then it is first lamp point to judge the initial light point, into step
S108, continues to obtain the actual coordinate of follow-up lamp point.Continue the actual coordinate specific method and step S105 of the follow-up lamp point of acquisition
The method of the actual coordinate of n portable lighters point is similar before middle acquisition, and here is omitted.
As shown in figure 4, the actual coordinate of fitting first trip lamp point can not be obtained by being performed in the present embodiment after step S106, therefore
It is first lamp point to judge initial light point 101, into step S108, until obtaining the actual coordinate of all lamp points.
It should be noted that in order to prevent program from malfunctioning and the first lamp point confirmation of Infinite Cyclic progress, therefore for step
S106 is at most performed 3 times.Then reported an error more than 3 times and jump out circulation.
In other embodiments, step S106 and S107 can also be omitted, and simplifies the positioning flow of lamp point coordinates.
Pass through the description of the above-mentioned LED display lamp independent positioning method to the present invention, LED display lamp of the invention
Independent positioning method need not carry out similarity mode, therefore not influenceed by the characteristics of image of actual lamp point.By calculating reference coordinate
With obtain actual coordinate, the mode of this cycle calculations, even if due to the reasons such as lens distortion cause lamp point diagram distortion of image also according to
The actual coordinate of lamp point so can be accurately obtained, while can also position the coordinate of blind spot.Enter the compensation of portable lighter point deviation angle, from
And make it that lamp point location is more accurate, it is particularly suitable for use in a large amount of lamp points, easily occurs the situation of lamp point Light deformation distribution.For head
The confirmation of lamp point, it is the mistake that blind spot is brought that can effectively prevent first lamp point.
Present invention also offers a kind of LED display lamp location device, Fig. 5 determines for the LED display lamp point of the present invention
The module diagram of position device.As shown in figure 5, the present invention LED display lamp location device 300 include lighting unit 301,
Image capturing unit 302, memory cell 303 and execution unit 304.Lighting unit 301 is used for the lamp for lighting LED display
Point.Image capturing unit 302 is used for the lamp dot image for shooting the LED display being lit.Memory cell 303 is used to store journey
Sequence.Execution unit 304 is used to perform the Program of memory cell 303, when the processed unit 304 of the Program of memory cell 302 is performed
The step of realizing above-mentioned LED display lamp independent positioning method.Specific steps are with reference to above-mentioned for LED display lamp independent positioning method
Description, here is omitted.
It should be noted that the present invention is to stating one kind application of LED display lamp point location technology.In the realization of the present invention
During, the application of the functional module of LED display lamp location device can be related to.Such as reading over application documents, standard
Really after the realization principle and goal of the invention of the understanding present invention, in the case where combining existing known technology, people in the art
The software programming technical ability that member completely can be with its grasp and the knowledge realization present invention to LED display detection device.Before
The structure of the modules of LED display lamp location device is stated, structure of the prior art, all the present patent application is referred to
Category this category that file is referred to, applicant will not enumerate.
It the above is only the concrete application example of the present invention, protection scope of the present invention be not limited in any way.Except above-mentioned
Implement exception, the present invention there can also be other embodiment.All use equivalent substitutions or the technical scheme of equivalent transformation formation,
Fall within scope of the present invention.
Claims (12)
1. a kind of LED display lamp independent positioning method, it is characterised in that comprise the following steps:
The step of searching for first and last lamp point, will show that lamp dot image corresponding with the LED display is placed in two dimension with pixel
In one quadrant of coordinate system, the actual coordinate of the actual coordinate of initial light point and last lighting point in lamp lattice array is obtained;
The step of obtaining lamp point spacing, obtains portable lighter point spacing and phase on column direction between adjacent lamps point on lamp lattice array line direction
At least one in row lamp point spacing between adjacent lamp point;
The step of calculating reference coordinate, in the actual coordinate of the first direction adjacent lamps point of the first direction adjacent lamps point of row or row of lamp point
Portable lamp point spacing on position, line direction or on column direction, to obtain the reference coordinate of the next light point;
The step of obtaining actual coordinate, in the lamp dot image, centered on the reference coordinate of lamp point, in pre-determined distance scope
High luminance values pixel is searched in interior all pixels point, the coordinate for setting the high luminance values pixel is actual coordinate, institute
State high luminance values pixel and refer to the brightness value highest pixel in the range of the pre-determined distance;
Using the position of the initial light point coordinates as starting, circulation performs the calculating reference coordinate step and the acquisition is real
Border coordinate step, until obtaining the actual coordinate of all lamp points one by one.
2. LED display lamp independent positioning method as claimed in claim 1, it is characterised in that
In the step of obtaining actual coordinate, when there is multiple high luminance values pixels, relatively more multiple high luminance values pictures
The brightness value of adjacent multiple pixels of each high luminance values pixel in vegetarian refreshments, sets the brightness value of neighbor pixel most
The coordinate of high high luminance values pixel is actual coordinate.
3. LED display lamp independent positioning method as claimed in claim 1, it is characterised in that
In the step of obtaining actual coordinate, all pixels centered on the reference coordinate of lamp point in the range of pre-determined distance are calculated
The brightness value of point, when the brightness value is less than predetermined threshold value, judges lamp point for blind spot, actual coordinate is replaced with reference coordinate.
4. the LED display lamp independent positioning method as described in any one in claims 1 to 3, it is characterised in that
In the step of calculating reference coordinate, the portable lamp point spacing includes calculating lamp point deviation angle, and according to the lamp
After point deviation angle is compensated to the lamp point spacing, the lamp point spacing after motion compensation.
5. LED display lamp independent positioning method as claimed in claim 4, it is characterised in that
In the step of calculating reference coordinate, the lamp point deviation angle is when the actual seat of the first direction adjacent lamps point of headlight point row
The line direction deviation angle of actual coordinate line of the mark with being more than or equal to 3 lamp points when headlight point row first direction interval;Or,
The lamp point deviation angle is when the actual coordinate of the first direction adjacent lamps point of headlight point range and when between the first direction of headlight point range
Every the column direction deviation angle of the actual coordinate line of more than or equal to 3 lamp points.
6. LED display lamp independent positioning method as claimed in claim 4, it is characterised in that
In the step of calculating reference coordinate, the lamp point deviation angle is when the first direction adjacent lamps point of headlight point row or row head side
To the actual coordinate and the first lamp point of row or the line direction or column direction deviation angle of the actual coordinate line of the first lamp point of row of adjacent lamps point
Degree.
7. LED display lamp independent positioning method as claimed in claim 4, it is characterised in that
In the step of calculating reference coordinate, the lamp point spacing is compensated according to the lamp point deviation angle, it is mobile to mend
Lamp point spacing after repaying includes:The lamp point spacing obtained in the acquisition lamp point spacing step is multiplied by the lamp point skew respectively
The sine value and cosine value of angle, to obtain on lamp point spacing row component in the row direction and column direction after compensation
Row component, moves the row component and row component in the row direction and the column direction respectively.
8. LED display lamp independent positioning method as claimed in claim 1, it is characterised in that also including step:Region is chosen, will
The lamp dot image enters the selection processing of portable lighter lattice array region.
9. LED display lamp independent positioning method as claimed in claim 1, it is characterised in that also including step:First lamp point confirmation,
In the position of the actual coordinate of first trip lamp point, nematic head direction portable lamp point spacing as fitting first trip lamp point reference coordinate,
According to fitting first trip lamp point reference coordinate obtain fitting first trip lamp point actual coordinate by judge initial light point whether headed by lamp
Point;Or,
In the position of the actual coordinate of first lamp point, sat to the first direction portable lamp point spacing of row as the reference for being fitted first lamp point
Mark, according to be fitted first lamp point reference coordinate obtain be fitted first lamp point actual coordinate by judge initial light point whether headed by
Lamp point.
10. LED display lamp independent positioning method as claimed in claim 9, it is characterised in that obtain the reality of fitting first trip lamp point
Border coordinate or the actual coordinate for being fitted first lamp point, then it is not first lamp point to judge the initial light point, to be fitted first trip lamp point
Actual coordinate and at least one the progress fitting a straight line being fitted in the actual coordinate of first lamp point, to obtain first lamp point coordinates, with
The first lamp point coordinates recalculates the actual coordinate of all lamp points for starting.
11. LED display lamp independent positioning method as claimed in claim 9, it is characterised in that fitting first trip lamp point can not be obtained
Actual coordinate or be fitted the actual coordinate of first lamp point, then it is first lamp point to judge the initial light point, continues to obtain follow-up lamp
The actual coordinate of point.
12. a kind of LED display lamp location device, it is characterised in that including:
Memory cell, for storage program, described program is processed when unit is performed and realizes any one in claim 1 to 11
The step of LED display lamp independent positioning method;
Execution unit, for performing program described in memory cell.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710364871.5A CN107230442B (en) | 2017-05-22 | 2017-05-22 | LED display screen lamp point positioning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710364871.5A CN107230442B (en) | 2017-05-22 | 2017-05-22 | LED display screen lamp point positioning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107230442A true CN107230442A (en) | 2017-10-03 |
CN107230442B CN107230442B (en) | 2020-10-27 |
Family
ID=59933355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710364871.5A Active CN107230442B (en) | 2017-05-22 | 2017-05-22 | LED display screen lamp point positioning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107230442B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111951693A (en) * | 2019-05-17 | 2020-11-17 | 浙江宇视科技有限公司 | Array device positioning method and device, storage medium and electronic equipment |
CN112687231A (en) * | 2020-12-31 | 2021-04-20 | 深圳Tcl数字技术有限公司 | Brightness and chrominance data extraction method, equipment and computer readable storage medium |
CN112785963A (en) * | 2019-11-06 | 2021-05-11 | 杭州海康威视数字技术股份有限公司 | LED lamp bead positioning method and device and storage medium |
CN113299231A (en) * | 2021-05-31 | 2021-08-24 | 浙江大华技术股份有限公司 | Method and device for adjusting light-emitting parameters, storage medium and electronic device |
CN113793320A (en) * | 2021-09-14 | 2021-12-14 | 西安诺瓦星云科技股份有限公司 | Method and device for determining offset of display unit, electronic equipment and storage medium |
CN114927090A (en) * | 2022-05-30 | 2022-08-19 | 卡莱特云科技股份有限公司 | Method, device and system for sorting light points in special-shaped LED display screen |
CN114974090A (en) * | 2022-05-31 | 2022-08-30 | 深圳市裕铭数智装备科技有限公司 | Method and system for processing pixel change wiring diagram of special-shaped LED screen |
CN117012143A (en) * | 2023-08-21 | 2023-11-07 | 中山市智牛电子有限公司 | Point tracing method and point tracing system for LED display screen |
Citations (4)
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 |
CN104279958A (en) * | 2014-10-24 | 2015-01-14 | 西安诺瓦电子科技有限公司 | LED display device space position detection method and system for guidance and correction |
CN105185302A (en) * | 2015-08-28 | 2015-12-23 | 西安诺瓦电子科技有限公司 | Correction method for light point position deviation among monochromatic images and application thereof |
CN105551024A (en) * | 2015-12-07 | 2016-05-04 | 西安诺瓦电子科技有限公司 | Area positioning judgment method for LED display screen point-by-point correction and application |
-
2017
- 2017-05-22 CN CN201710364871.5A patent/CN107230442B/en active Active
Patent Citations (4)
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 |
CN104279958A (en) * | 2014-10-24 | 2015-01-14 | 西安诺瓦电子科技有限公司 | LED display device space position detection method and system for guidance and correction |
CN105185302A (en) * | 2015-08-28 | 2015-12-23 | 西安诺瓦电子科技有限公司 | Correction method for light point position deviation among monochromatic images and application thereof |
CN105551024A (en) * | 2015-12-07 | 2016-05-04 | 西安诺瓦电子科技有限公司 | Area positioning judgment method for LED display screen point-by-point correction and application |
Non-Patent Citations (1)
Title |
---|
王克: "LED 大屏幕显示质量检测方法研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111951693A (en) * | 2019-05-17 | 2020-11-17 | 浙江宇视科技有限公司 | Array device positioning method and device, storage medium and electronic equipment |
CN112785963A (en) * | 2019-11-06 | 2021-05-11 | 杭州海康威视数字技术股份有限公司 | LED lamp bead positioning method and device and storage medium |
CN112785963B (en) * | 2019-11-06 | 2022-02-08 | 杭州海康威视数字技术股份有限公司 | LED lamp bead positioning method and device and storage medium |
CN112687231A (en) * | 2020-12-31 | 2021-04-20 | 深圳Tcl数字技术有限公司 | Brightness and chrominance data extraction method, equipment and computer readable storage medium |
CN113299231A (en) * | 2021-05-31 | 2021-08-24 | 浙江大华技术股份有限公司 | Method and device for adjusting light-emitting parameters, storage medium and electronic device |
CN113793320A (en) * | 2021-09-14 | 2021-12-14 | 西安诺瓦星云科技股份有限公司 | Method and device for determining offset of display unit, electronic equipment and storage medium |
CN114927090A (en) * | 2022-05-30 | 2022-08-19 | 卡莱特云科技股份有限公司 | Method, device and system for sorting light points in special-shaped LED display screen |
CN114927090B (en) * | 2022-05-30 | 2023-11-28 | 卡莱特云科技股份有限公司 | Method, device and system for ordering lamp points in special-shaped LED display screen |
CN114974090A (en) * | 2022-05-31 | 2022-08-30 | 深圳市裕铭数智装备科技有限公司 | Method and system for processing pixel change wiring diagram of special-shaped LED screen |
CN117012143A (en) * | 2023-08-21 | 2023-11-07 | 中山市智牛电子有限公司 | Point tracing method and point tracing system for LED display screen |
CN117012143B (en) * | 2023-08-21 | 2024-01-05 | 中山市智牛电子有限公司 | Point tracing method and point tracing system for LED display screen |
Also Published As
Publication number | Publication date |
---|---|
CN107230442B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107230442A (en) | LED display lamp independent positioning method and device | |
US10529060B2 (en) | Time-of-flight measuring apparatus and image processing method for reducing blur of depth image therein | |
JP6537332B2 (en) | Image processing method and photographing apparatus | |
CN104079818B (en) | Camera device, image processing system, camera system and image processing method | |
CN111083457A (en) | Method and device for correcting projection images of multiple light machines and projection instrument of multiple light machines | |
CN102622593A (en) | Text recognition method and system | |
CN108257186B (en) | Method and device for determining calibration image, camera and storage medium | |
CN102156986A (en) | Calibration method of near-infrared camera | |
CN113329179B (en) | Shooting alignment method, device, equipment and storage medium | |
JP2017129707A (en) | Projection system, projector, and image adjustment method | |
CN108886561A (en) | A kind of method and terminal device of the shooting image applied to terminal | |
CN103475820A (en) | Correcting method and system for PI position in camera | |
CN110246079A (en) | Camera distortion antidote, system and medium based on B-spline surface fitting | |
JP2020126383A (en) | Moving object detection device, moving object detection method, and moving body detection program | |
CN110610524B (en) | Camera calibration point coordinate calculation method | |
US9454808B2 (en) | Pattern processing apparatus, pattern processing method, and pattern processing program | |
CN106506971A (en) | A kind of focusing method and mobile terminal | |
US10379677B2 (en) | Optical touch device and operation method thereof | |
US20110170774A1 (en) | Image manipulating system and method | |
CN106200890B (en) | Remote control device and method for generating control instruction according to at least one static gesture | |
CN104931039B (en) | Free space positioning method and system | |
JP2014183510A (en) | Image processing system and program | |
CN102829737B (en) | Method for judging mutual parallel situation of camera lens and sensing element of image capturing device | |
CN105095849A (en) | Object identification method and device | |
CN114078426B (en) | Method for eliminating influence of camera curve on lamp point image and display screen correction 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |