CN113793320A - Method and device for determining offset of display unit, electronic equipment and storage medium - Google Patents

Method and device for determining offset of display unit, electronic equipment and storage medium Download PDF

Info

Publication number
CN113793320A
CN113793320A CN202111073439.3A CN202111073439A CN113793320A CN 113793320 A CN113793320 A CN 113793320A CN 202111073439 A CN202111073439 A CN 202111073439A CN 113793320 A CN113793320 A CN 113793320A
Authority
CN
China
Prior art keywords
display unit
lamp
lamp point
point
position coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111073439.3A
Other languages
Chinese (zh)
Inventor
樊兴旺
白绳武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202111073439.3A priority Critical patent/CN113793320A/en
Publication of CN113793320A publication Critical patent/CN113793320A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to a method and a device for determining the offset of a display unit, electronic equipment and a storage medium. The method comprises the following steps: acquiring a display image which is lighted by a display unit to be tested according to a preset lighting rule; determining position coordinates of a first lamp point in the display image; acquiring position coordinates of a second lamp point in a sample image corresponding to a sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected; and determining the offset position of the display unit to be tested relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point. The method and the device can accurately determine the offset generated by the lighting position of the display unit to be tested.

Description

Method and device for determining offset of display unit, electronic equipment and storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a method and an apparatus for determining an offset of a display unit, an electronic device, and a storage medium.
Background
In the detection or Demura (brightness deviation compensation) process of the LED lamp panel, the equipment can fully automatically light the LED units so as to calculate the brightness data of each lamp point. Before this, it is necessary to control the moving device to transport the LED unit to be tested to a designated position, and at the same time, control the plug-in device to plug-in power supply to the LED unit. However, due to the fact that the moving device and the inserting device deviate in the mechanical movement process, the lighting position of each LED unit to be tested can deviate from the lighting position of the previous LED unit, and the uncertainty of the deviation can affect the accuracy of point positioning in the subsequent LED lamp panel detection or Demura process and the precision of data acquisition.
Therefore, there is a need to improve the problems of the above solutions.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the invention and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide a method, a device, electronic equipment and a storage medium for determining the offset of a display unit, so as to at least solve the problem of determining the offset of the lighting position of an LED unit to be tested.
The purpose of the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides a method of determining an offset of a display unit, the method comprising:
acquiring a display image which is lighted by a display unit to be tested according to a preset lighting rule;
determining position coordinates of a first lamp point in the display image;
acquiring position coordinates of a second lamp point in a sample image corresponding to a sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected;
and determining the offset position of the display unit to be tested relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point.
Optionally, the method further comprises:
acquiring the position coordinates of each lamp point in the sample image corresponding to the sample display unit;
and determining the position coordinates of each lamp point in the display unit to be tested according to the offset position and the position coordinates of each lamp point.
The technical scheme has the beneficial effect that the actual position coordinates of each lamp point in the display unit to be tested can be quickly obtained.
Optionally, if the number of the lamp points included in the first lamp point is multiple, determining the offset position of the display unit to be tested relative to the sample display unit according to the position coordinate of the first lamp point and the position coordinate of the second lamp point includes:
determining a plurality of offsets according to the position coordinates of the first lamp points and the position coordinates of the second lamp points;
and determining the offset position according to the average value of the plurality of offset values.
The technical scheme has the beneficial effect that the finally determined offset position is more accurate.
Optionally, the preset lighting rule includes:
lighting a lamp point of at least one of the four corners of the display unit to be tested; or
Lighting a center lamp point of the display unit to be tested; or
Lighting four corner lamp points and a center lamp point of the display unit to be tested; or
Lightening N lamp points at preset positions of the display unit to be tested; or
And sequentially lightening at least one lamp point of the display unit to be tested according to a preset lightening sequence, wherein each lightening corresponds to one display image.
The technical scheme has the beneficial effect of ensuring that at least one lighted lamp point exists in the display image to be lighted. Optionally, the method further comprises:
and responding to a trigger instruction to acquire the preset lighting rule, wherein the preset lighting rule comprises at least one of the number of lighting points and the positions of the lighting points.
The technical scheme has the beneficial effects that the lighting rule can be flexibly set according to the actual situation, and the finally obtained offset position is more accurate.
Optionally, the sample display unit is the same as the lamp panel type of the display unit to be tested, wherein the lamp panel type is the same and includes: the batch is the same, the size is the same, the number of the lamp points is the same, and at least one of the lamp point intervals in the lamp panel and the arrangement mode is the same.
The technical scheme has the beneficial effect that the accuracy of the determined offset position is further improved.
Optionally, the determining the position coordinates of the first light point in the display image includes:
acquiring the optical parameters of the first lamp point;
and calculating the position coordinates of the first lamp point according to the optical parameters.
The beneficial effect of this technical scheme lies in, improves the degree of accuracy of the position coordinate of the first lamp point who obtains. Optionally, the obtaining of the position coordinates of each light point in the sample image corresponding to the sample display unit includes:
acquiring the optical parameters of each lamp point in the sample image corresponding to the sample display unit;
and calculating the position coordinates of each lamp point according to the optical parameters corresponding to each lamp point.
The technical scheme has the beneficial effect that the accuracy of the position coordinates of each lamp point in the sample display unit is improved.
In a second aspect, the present invention provides an apparatus for determining an offset of a display unit, the apparatus comprising:
the display image acquisition unit is used for acquiring a display image which is lightened by the display unit to be tested according to a preset lightening rule;
a first position coordinate determination unit for determining a position coordinate of a first light point in the display image;
the second position coordinate determination unit is used for acquiring the position coordinates of a second lamp point in the sample image corresponding to the sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected;
and the offset position determining unit is used for determining the offset position of the display unit to be detected relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point.
In a third aspect, the present invention provides an electronic device comprising a memory storing a computer program and a processor implementing the steps of any one of the above methods of determining an offset of a display unit when the computer program is executed.
In a fourth aspect, the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the above-described methods of determining an offset of a display unit.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
in the embodiment of the invention, the position coordinates of a first lamp point in a display image of a display unit to be detected are determined, then a second lamp point with the same position as the first lamp point is found in a sample display unit, the position coordinates of the second lamp point are obtained, and finally the offset of the first lamp point can be determined by comparing the position coordinates of the first lamp point and the second lamp point, so that the offset generated by the lighting position of the display unit to be detected is determined.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a flow chart illustrating a method for determining an offset of a display unit according to an embodiment of the present invention;
FIG. 2 is an exemplary image captured by a CCD camera in an embodiment of the present invention;
FIG. 3 is a diagram of collected images of a display unit under test and a sample display unit in an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an offset calibration apparatus of a display unit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a program product of a method for determining an offset of a display unit in an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
First, in the present exemplary embodiment, there is provided a method of determining an offset of a display unit, as shown with reference to fig. 1, the method including the following steps S101 to S104:
step S101, acquiring a display image of a display unit to be tested which is lighted according to a preset lighting rule;
step S102, determining the position coordinates of a first lamp point in the display image;
step S103, acquiring position coordinates of a second lamp point in a sample image corresponding to a sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected;
and step S104, determining the offset position of the display unit to be detected relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point.
According to the method, the position coordinates of the first lamp point in the display image of the display unit to be detected are determined, then the second lamp point with the same position as the first lamp point is found in the sample display unit, the position coordinates of the second lamp point are obtained, finally the offset of the first lamp point can be determined by comparing the position coordinates of the first lamp point and the second lamp point, and therefore the offset generated by the lighting position of the display unit to be detected is determined.
Optionally, the offset position determined by the method of the embodiment of the present application may be applied in various aspects. For example, determining the offset position can perform lamp positioning on the display unit to be detected, can also correct the collected data of the camera, and can also be used for detecting the appearance of a product.
Hereinafter, the respective steps of the above-described method in the present exemplary embodiment will be described in more detail with reference to fig. 1 to 3.
In the present invention, the display unit may be an LED display module, and each LED display module includes a plurality of light emitting devices, i.e., light points.
In one embodiment, one LED display module can be selected from a plurality of LED display modules forming a whole LED screen to serve as a sample display unit, and the other LED display modules serve as display units to be tested. In order to make the finally determined offset position of the display unit to be detected relative to the sample display unit more accurate, the lamp panel types of the sample display unit and the display unit to be detected are ensured to be the same. Specifically, the same lamp panel types may include the same batch, the same size, the same number of lamp points, and the same spacing and arrangement between the lamp points in the two lamp panels.
In step S101, the preset lighting rule may be a lighting display image program set in advance. For example, in one embodiment, at least one of the four corners of the display unit under test may be turned on, only the center light of the display unit under test may be turned on, or both the four corners and the center light of the display unit under test may be turned on. Of course, in other embodiments, the number of the lamp points at other positions may be N, or even at least one lamp point of the display unit to be tested may be sequentially turned on according to a predetermined turn-on sequence, where each turn-on corresponds to one display image. The above examples do not represent the limitation of the lighting rule in the present invention, as long as at least one lamp on the display unit to be tested is ensured to be lighted, so as to avoid the situation that the lamp cannot be lighted due to being a dead lamp and thus cannot display an image.
In one embodiment, the preset lighting rule may be obtained in response to a trigger command, and specifically, the preset lighting rule includes a position and a number of lamp points to be lit. For example, in one example, the indication lights the display unit for the 3 rd, 4 th, 5 th light point from left to right in the first row and the 4 th light point from left to right in the third row. Of course, in other examples, other numbers and other positions of the lamp points can be indicated to be lighted, and the specific indication information is not limited in the present invention and can be set as required according to actual situations.
In step S102, the display image may be captured by taking a picture displayed on the display unit to be tested using a CCD (charge coupled device) camera. The position coordinates of the first light point in the display image may be coordinates of a pixel where the first light point is located in the display image.
In one embodiment, referring to fig. 2, in the image captured by the CCD camera, the position of a single light spot is formed by a bright spot and a plurality of dark spots on the periphery, i.e. a circled range in fig. 2. Therefore, to determine the position coordinates of the first light point in the display image, the optical parameters of the first light point are first obtained, and then the position coordinates of the first light point are calculated according to the optical parameters.
Specifically, the light parameter of the lamp point may be a light intensity value, a brightness value, a chromaticity value, or other parameter values, and the above process is described by taking a brightness value as an example in this embodiment. In the process of collecting and analyzing display image data, when the brightness value of a certain lamp point is detected, comparing the brightness value with a preset detection brightness threshold value, and when the brightness value is smaller than the detection brightness threshold value, determining that the lamp point is not lightened; when the brightness value is larger than the detection brightness threshold value, the lamp point is considered to be lighted. After the light point is confirmed to be lighted, a point with the highest brightness value at the position of the light point in the picture is taken as a circle center, a point with the lowest brightness value around the circle center is taken as a boundary circle, and the coordinate position of the circle on the CCD sensor is the coordinate value corresponding to the light point.
In step S103, the position coordinates of the second light point in the sample image may be coordinates of a pixel in the sample image where the second light point is located.
In one embodiment, before obtaining the position coordinates of the second light point in the sample image corresponding to the sample display unit, the position coordinates of each light point in the sample image corresponding to the sample display unit also need to be obtained. Specifically, the process of obtaining the position coordinate of each lamp point in the sample image corresponding to the sample display unit is the same as the method of displaying the position coordinate of the first lamp point in the image. The light parameter of each light point in the sample image is obtained, and then the coordinate value corresponding to each light point is determined according to the light parameter of each light point. Similarly, the light parameter may be a light intensity value, a luminance value, a chrominance value, or other parameter value. And when the position coordinates of each lamp point in the sample image corresponding to the sample display unit are obtained, the position coordinates of the second lamp point can be directly found from the position coordinates.
Since each display unit is transported to a designated position by the fully automatic apparatus and the placing direction is fixed, the deviation between each display unit and the previous display unit is slight, and only slight translation of the whole is generated relative to the previous display unit. Therefore, in step S104, after determining the offset position of the display unit to be measured relative to the sample display unit according to the position coordinates of the first light point and the position coordinates of the second light point, the position coordinates of each light point in the display unit to be measured can be determined according to the offset position and the position coordinates of each light point in the sample image corresponding to the sample display unit.
Specifically, in one example, for example, if the calculated position offset value is (0.02, 0.1), the position coordinates of each lamp point in the display unit can be obtained by adding the position offset value to the position coordinates of each lamp point in the sample display unit. Therefore, the position offset correction algorithm of each lamp point in the display unit provided by the invention is a simple numerical addition and subtraction method, compared with the process of correcting the lamp points in each display unit to be detected by performing circle-by-circle positioning one by one, the calculation is simple and fast, the offset correction time of the LED unit is further shortened, and the operation amount in the correction process is reduced.
In one embodiment, when the number of the first lamp points is one, the offset position is a difference between position coordinates of the first lamp point and the corresponding second lamp point. For example, referring to fig. 3, fig. 3(a) shows the display unit 110 to be measured, where the position of the first light point is the 3 rd light point from left to right in the first row of the lamp panel, that is, the position encircled by the white circle in fig. 3(a), the determined coordinate value is (3.02, 15.1), and correspondingly, the coordinate value (3, 15) of the position offset value calculated by finding the coordinate value (3.02, 15.1) - (3, 15) in the sample display unit 120 in fig. 3(b) at the 3 rd light point from left to right in the first row of the lamp panel, that is, the position encircled by the white circle in fig. 3(b) is (0.02, 0.1). Of course, the above calculation processes and values are only examples and do not represent a limitation to the present invention.
In one embodiment, if the number of the first light points is multiple, the multiple offset amounts may be determined according to the position coordinates of multiple first light points and the corresponding position coordinates of multiple second light points. And then determining the final offset position according to the average value of the plurality of offset values. For example, the number of the first light points is 2, where the first light point is the 3 rd light point from left to right in the first row of the lamp panel, the coordinate value is (3.02, 15.1), the coordinate value (3, 15) of the corresponding light point located in the first row of the lamp panel from left to right in the sample display unit is (3.02, 15.1) - (3, 15) ═ 0.02, 0.1 is calculated as the first position deviation value. The second first light point is the 3 rd light point from left to right in the fifth row of the lamp panel, the coordinate value is (3.04, 10.3), the coordinate value (3, 10) of the corresponding light point located in the fifth row of the lamp panel from left to right in the sample display unit is (3.04, 10.3) - (3, 10) ═ 0.04, 0.3. The final calculated offset position is the average (0.03, 0.2) of the two offset values (0.02, 0.1) and (0.04, 0.3).
It is noted that although the steps of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc. Additionally, it will also be readily appreciated that the steps may be performed synchronously or asynchronously, e.g., among multiple modules/processes/threads.
Further, in an embodiment of the present invention, there is also provided an apparatus for determining an offset of a display unit, and as shown in fig. 4, the apparatus may include a display image acquisition unit 201, a first position coordinate determination unit 202, a second position coordinate determination unit 203, and an offset position determination unit 204. The display image acquiring unit 201 is configured to acquire a display image that is to be lit by the display unit to be tested according to a preset lighting rule; a first position coordinate determination unit 202 configured to determine a position coordinate of a first light point in the display image; a second position coordinate determining unit 203, configured to obtain a position coordinate of a second light point in a sample image corresponding to a sample display unit, where a position of the second light point in the sample display unit is the same as a position of the first light point in the display unit to be detected; an offset position determining unit 204, configured to determine, according to the position coordinates of the first light point and the position coordinates of the second light point, an offset position of the display unit to be tested relative to the sample display unit.
In one embodiment, the offset correction device of the display unit further includes a third position coordinate determination unit and a fourth position coordinate determination unit. The third position coordinate determination unit is used for acquiring the position coordinate of each lamp point in the sample image corresponding to the sample display unit, and the fourth position coordinate determination unit is used for determining the position coordinate of each lamp point in the display unit to be detected according to the offset position and the position coordinate of each lamp point.
In one embodiment, if the number of the lamp points included in the first lamp point is multiple, the second position coordinate determination unit further includes an offset position determination module, which is configured to determine multiple offset amounts according to the position coordinates of the first lamp point and the position coordinates of the second lamp point, and determine the offset position according to an average value of the multiple offset amounts.
In one embodiment, the preset lighting rule includes: lighting a lamp point of at least one of the four corners of the display unit to be tested; or lighting a center lamp point of the display unit to be tested; or four corner lamp points and a center lamp point of the display unit to be tested are lightened; or lightening the lamp points at the N preset positions of the display unit to be tested; or sequentially lighting at least one lamp point of the display unit to be tested according to a preset lighting sequence, wherein each lighting corresponds to one display image.
In one embodiment, the offset correction apparatus of the display unit further includes an instruction response module, and the instruction response module is configured to obtain the preset lighting rule in response to a trigger instruction, where the preset lighting rule includes at least one of the number of lighting points and the position of the lighting points.
In one embodiment, the sample display unit and the display unit to be tested have the same lamp panel type, wherein the same lamp panel type includes: the batch is the same, the size is the same, the number of the lamp points is the same, and at least one of the lamp point intervals in the lamp panel and the arrangement mode is the same.
In one embodiment, the first position coordinate determination unit is further configured to acquire an optical parameter of the first lamp point, and calculate the position coordinate of the first lamp point according to the optical parameter.
In an embodiment, the third position coordinate determining unit is further configured to obtain a light parameter of each light point in the sample image corresponding to the sample display unit, and calculate the position coordinate of each light point according to the light parameter corresponding to each light point.
The specific manner in which the above-described apparatus of the embodiments, and the various units and modules thereof, perform operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
It should be noted that although several units and modules of the system for action execution are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functions of two or more of the units or modules described above may be embodied in one unit or module according to embodiments of the invention. Conversely, the features and functions of one unit or module described above may be further divided into embodiments by a plurality of units or modules. The components shown as units or modules may or may not be physical units, i.e. may be located in one place or may be distributed over a plurality of network elements. Some or all of the units or modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 5, an embodiment of the present invention further provides an electronic device 300, where the electronic device 300 includes at least one memory 310, at least one processor 320, and a bus 330 connecting different platform systems.
The memory 310 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)211 and/or cache memory 312, and may further include Read Only Memory (ROM) 313.
The memory 310 further stores a computer program, and the computer program can be executed by the processor 320, so that the processor 320 executes the steps of the method for determining the offset of the display unit in any embodiment of the present invention, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the above embodiment of the method for determining the offset of the display unit, and details of some of the implementation manner and the achieved technical effect are omitted.
The memory 310 may also include a utility 314 having at least one program module 315, such program modules 315 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Accordingly, the processor 320 may execute the computer programs described above, and may execute the utility 314.
Bus 330 may represent one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 340, such as a keyboard, pointing device, bluetooth device, etc., and may also communicate with one or more devices capable of interacting with the electronic device 300, and/or with any devices (e.g., routers, modems, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may be through input-output interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and when the computer program is executed, the steps of the method for determining an offset of a display unit in the embodiment of the present invention are implemented, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the above embodiment of the method for determining an offset of a display unit, and some contents are not described again.
Fig. 6 shows a program product 400 for implementing the method for determining the offset of the display unit, which may be implemented by a portable compact disc read only memory (CD-ROM) and includes program codes, and may be executed on a terminal device, such as a personal computer. However, the program product 400 of the present invention is not limited in this respect, and in the present invention, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program product 400 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that can communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A method of determining an offset of a display unit, the method comprising:
acquiring a display image which is lighted by a display unit to be tested according to a preset lighting rule;
determining position coordinates of a first lamp point in the display image;
acquiring position coordinates of a second lamp point in a sample image corresponding to a sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected;
and determining the offset position of the display unit to be tested relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point.
2. The method of claim 1, further comprising:
acquiring the position coordinates of each lamp point in the sample image corresponding to the sample display unit;
and determining the position coordinates of each lamp point in the display unit to be tested according to the offset position and the position coordinates of each lamp point.
3. The method of claim 1, wherein if the first lamp comprises a plurality of lamp points, the determining the offset position of the display unit under test relative to the sample display unit according to the position coordinates of the first lamp and the position coordinates of the second lamp comprises:
determining a plurality of offsets according to the position coordinates of the first lamp points and the position coordinates of the second lamp points;
and determining the offset position according to the average value of the plurality of offset values.
4. The method according to claim 1, wherein the preset lighting rule comprises:
lighting a lamp point of at least one of the four corners of the display unit to be tested; or
Lighting a center lamp point of the display unit to be tested; or
Lighting four corner lamp points and a center lamp point of the display unit to be tested; or
Lightening N lamp points at preset positions of the display unit to be tested; or
And sequentially lightening at least one lamp point of the display unit to be tested according to a preset lightening sequence, wherein each lightening corresponds to one display image.
5. The method of claim 1, further comprising:
and responding to a trigger instruction to acquire the preset lighting rule, wherein the preset lighting rule comprises at least one of the number of lighting points and the positions of the lighting points.
6. The method of claim 1, wherein the sample display unit and the display unit under test have the same lamp panel type, wherein the same lamp panel type comprises: the batch is the same, the size is the same, the number of the lamp points is the same, and at least one of the lamp point intervals in the lamp panel and the arrangement mode is the same.
7. The method of claim 1, wherein determining the location coordinates of the first light point in the display image comprises:
acquiring the optical parameters of the first lamp point;
and calculating the position coordinates of the first lamp point according to the optical parameters.
8. The method of claim 2, wherein the obtaining of the position coordinates of each lamp point in the sample image corresponding to the sample display unit comprises:
acquiring the optical parameters of each lamp point in the sample image corresponding to the sample display unit;
and calculating the position coordinates of each lamp point according to the optical parameters corresponding to each lamp point.
9. An apparatus for determining an offset of a display element, comprising:
the display image acquisition unit is used for acquiring a display image which is lightened by the display unit to be tested according to a preset lightening rule;
a first position coordinate determination unit for determining a position coordinate of a first light point in the display image;
the second position coordinate determination unit is used for acquiring the position coordinates of a second lamp point in the sample image corresponding to the sample display unit, wherein the position of the second lamp point in the sample display unit is the same as the position of the first lamp point in the display unit to be detected;
and the offset position determining unit is used for determining the offset position of the display unit to be detected relative to the sample display unit according to the position coordinates of the first lamp point and the position coordinates of the second lamp point.
10. An electronic device, characterized in that the electronic device comprises a memory storing a computer program and a processor implementing the steps of a method of determining an offset of a display unit according to any of claims 1-8 when the computer program is executed by the processor.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method of determining an offset of a display element according to any one of claims 1 to 8.
CN202111073439.3A 2021-09-14 2021-09-14 Method and device for determining offset of display unit, electronic equipment and storage medium Pending CN113793320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111073439.3A CN113793320A (en) 2021-09-14 2021-09-14 Method and device for determining offset of display unit, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111073439.3A CN113793320A (en) 2021-09-14 2021-09-14 Method and device for determining offset of display unit, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113793320A true CN113793320A (en) 2021-12-14

Family

ID=78880263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111073439.3A Pending CN113793320A (en) 2021-09-14 2021-09-14 Method and device for determining offset of display unit, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113793320A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1041532A2 (en) * 1999-03-31 2000-10-04 Seiko Epson Corporation Method and Apparatus for calibrating a computer-generated projected image
CN101958989A (en) * 2009-07-16 2011-01-26 富士施乐株式会社 Image processing apparatus, image processing system and image processing method
CN104279958A (en) * 2014-10-24 2015-01-14 西安诺瓦电子科技有限公司 LED display device space position detection method and system for guidance and correction
CN107230442A (en) * 2017-05-22 2017-10-03 苏州科达科技股份有限公司 LED display lamp independent positioning method and device
CN108635681A (en) * 2018-03-21 2018-10-12 西安大医数码科技有限公司 A kind of pendulum position method, apparatus, host computer and radiotherapy system
WO2019137038A1 (en) * 2018-01-12 2019-07-18 京东方科技集团股份有限公司 Method for determining point of gaze, contrast adjustment method and device, virtual reality apparatus, and storage medium
CN111445467A (en) * 2020-04-08 2020-07-24 珠海格力电器股份有限公司 Lighting defect detection method and device, electronic equipment and storage medium
CN111564396A (en) * 2020-05-22 2020-08-21 北京北方华创微电子装备有限公司 Method for calibrating manipulator of semiconductor processing equipment and semiconductor equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1041532A2 (en) * 1999-03-31 2000-10-04 Seiko Epson Corporation Method and Apparatus for calibrating a computer-generated projected image
CN101958989A (en) * 2009-07-16 2011-01-26 富士施乐株式会社 Image processing apparatus, image processing system and image processing method
CN104279958A (en) * 2014-10-24 2015-01-14 西安诺瓦电子科技有限公司 LED display device space position detection method and system for guidance and correction
CN107230442A (en) * 2017-05-22 2017-10-03 苏州科达科技股份有限公司 LED display lamp independent positioning method and device
WO2019137038A1 (en) * 2018-01-12 2019-07-18 京东方科技集团股份有限公司 Method for determining point of gaze, contrast adjustment method and device, virtual reality apparatus, and storage medium
CN108635681A (en) * 2018-03-21 2018-10-12 西安大医数码科技有限公司 A kind of pendulum position method, apparatus, host computer and radiotherapy system
CN111445467A (en) * 2020-04-08 2020-07-24 珠海格力电器股份有限公司 Lighting defect detection method and device, electronic equipment and storage medium
CN111564396A (en) * 2020-05-22 2020-08-21 北京北方华创微电子装备有限公司 Method for calibrating manipulator of semiconductor processing equipment and semiconductor equipment

Similar Documents

Publication Publication Date Title
US11587219B2 (en) Method and apparatus for detecting pixel defect of optical module, and device
CN108280822B (en) Screen scratch detection method and device
CN101727239B (en) For method and apparatus and the display device of detected touch point
CN110335273B (en) Detection method, detection device, electronic apparatus, and medium
CN103150060B (en) Frameless optical touch device and image processing method for frameless optical touch device
CN111428373A (en) Product assembly quality detection method, device, equipment and storage medium
CN111145138B (en) Detection method, device and equipment for LED lamp panel and storage medium
CN112559341A (en) Picture testing method, device, equipment and storage medium
JPWO2021010269A1 (en) Inspection equipment, inspection methods and programs
CN112687211B (en) Method and device for measuring smear of display panel and storage medium
CN110535997B (en) Method, device and equipment for calibrating terminal screen light leakage and storage medium
CN113793320A (en) Method and device for determining offset of display unit, electronic equipment and storage medium
CN110719452B (en) Color coordinate measuring method, measuring device, computer equipment and storage medium
CN114359160B (en) Screen detection method and device, electronic equipment and storage medium
CN110708526A (en) Illuminance measuring method, measuring device, computer equipment and storage medium
CN112513871A (en) Calibration method and device for optical fingerprint identification and electronic equipment
CN114666634B (en) Picture quality detection result display method, device, equipment and storage medium
CN114141206A (en) Backlight correction method, related device and storage medium
CN112149441B (en) Two-dimensional code positioning control method based on reflecting plate
CN112819760A (en) Image detection method, device and system
CN111124862A (en) Intelligent equipment performance testing method and device and intelligent equipment
CN111696154A (en) Coordinate positioning method, device, equipment and storage medium
KR20190136517A (en) Apparatus and method for visualizing congestion degree
JP2020064019A (en) Measurement data collection device and program
CN113822940B (en) Flat field correction calibration method, device and system, computer equipment and 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