CN112489115A - Light emitting module positioning method, device, electronic equipment, storage medium and system - Google Patents

Light emitting module positioning method, device, electronic equipment, storage medium and system Download PDF

Info

Publication number
CN112489115A
CN112489115A CN202011357832.0A CN202011357832A CN112489115A CN 112489115 A CN112489115 A CN 112489115A CN 202011357832 A CN202011357832 A CN 202011357832A CN 112489115 A CN112489115 A CN 112489115A
Authority
CN
China
Prior art keywords
target block
display
image
light
area
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
Application number
CN202011357832.0A
Other languages
Chinese (zh)
Other versions
CN112489115B (en
Inventor
章琦杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202011357832.0A priority Critical patent/CN112489115B/en
Publication of CN112489115A publication Critical patent/CN112489115A/en
Application granted granted Critical
Publication of CN112489115B publication Critical patent/CN112489115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The embodiment of the application provides a method, a device, an electronic device, a storage medium and a system for positioning a light-emitting module, which are applied to the technical field of information and send a display instruction to a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals; acquiring a display image when a display screen executes a display instruction; and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas. The method and the device realize direct positioning of the light emitting module without distortion correction processing on the display image, thereby eliminating errors caused by the distortion correction processing and improving the precision of acquiring the brightness and chrominance information of the light emitting module.

Description

Light emitting module positioning method, device, electronic equipment, storage medium and system
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to a method, an apparatus, an electronic device, a storage medium, and a system for positioning a light emitting module.
Background
The display screen formed by the light-emitting module can display characters, images, videos and the like, and has wide application in the fields of culture, media and the like at present. In order to ensure the display effect of the display screen, each light-emitting module in the display screen needs to be positioned, and the positioning of the light-emitting modules is to collect the brightness and the position of each light-emitting module, so that the light-emitting modules which do not meet the brightness requirement can be corrected according to the brightness collected by positioning.
In a corresponding light-emitting module positioning method, an image positioning mode is usually adopted, an image acquisition device is used for acquiring a display image of a display screen, and the brightness and the position of a light-emitting module corresponding to a pixel point are obtained by identifying the pixel characteristics of the pixel point in the acquired image. However, due to the lens distortion problem (such as pincushion distortion and barrel distortion) of the image acquisition device, the acquired image often has distortion, and therefore, after the image is acquired, distortion correction processing such as stretching and rotating can be performed on the acquired image at first, however, after distortion correction is performed on the acquired image, the acquired luminance and chrominance information of the light emitting module cannot be fed back to the real situation, and the final luminance and chrominance correction effect is affected.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, an electronic device, a storage medium, and a system for positioning a light emitting module, so as to improve accuracy of a positioning result of the light emitting module. The specific technical scheme is as follows:
in a first aspect of this embodiment, a method for positioning a light emitting module is provided, where the method is applied to a controller in a display system, where the display system includes the controller and a display screen, and the method includes:
sending a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
acquiring a display image when a display screen executes a display instruction;
and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Optionally, before the step of positioning the light emitting modules in the target block regions based on the image regions in the display image displayed in the target block regions to obtain the positions and the brightness degrees of the light emitting modules in the target block regions, the method further includes:
determining the position of an image area in a display image displayed by each target block area;
arranging the image areas according to the positions of the image areas to obtain an arrangement diagram;
updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated;
acquiring a display image of a display screen executing an updated display instruction, returning to the step of determining the position of an image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
the method comprises the following steps of positioning the light emitting modules in each target block area based on the image area in the display image displayed by each target block area to obtain the position and brightness of each light emitting module in each target block area, wherein the steps comprise:
recombining each arrangement diagram according to the position of each block area in the display screen to obtain a recombined display image, wherein each arrangement diagram comprises a plurality of image blocks corresponding to the image area in the display image, and for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image area corresponding to the image block in the display image;
and positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
Optionally, the step of determining the position of the image area in the display image displayed in each target block area includes:
aiming at an image area in a display image displayed by any target block area, carrying out pixel expansion processing on the image area to obtain a corresponding luminous point of the target block area in the display image;
and determining the position of the image area displayed in the display image by the target block area according to the corresponding luminous point of the target block area in the display image by utilizing a luminous module positioning algorithm.
Optionally, the step of performing pixel expansion processing on an image region in a display image displayed in any target block region to obtain a corresponding light-emitting point of the target block region in the display image includes:
and expanding N pixels in the vertical and horizontal directions of the image area aiming at the image area in the display image displayed by any target block area to obtain a corresponding light-emitting point of the target block area in the display image, wherein N is greater than half of the distance between two preset adjacent light-emitting modules.
Optionally, the step of positioning the light emitting modules in the target block regions based on the image regions in the display image displayed in the target block regions to obtain the positions and the brightness degrees of the light emitting modules in the target block regions includes:
for any target block area, determining the position of each light-emitting module in the target block area according to the size of the target block area in the display instruction;
arranging the light-emitting modules in the target block area to obtain a light-emitting module arrangement matrix corresponding to the target block area;
determining an uncompensated light-emitting module in the light-emitting module arrangement matrix according to the size of the preset compensation area, wherein the uncompensated light-emitting module is a light-emitting module in an area except the preset compensation area in the target block area;
and calculating the average value of the pixel values of all the pixel points within the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center to obtain the brightness of each uncompensated light-emitting module.
Optionally, after the step of positioning the light emitting modules in the target block regions based on the image regions in the display image displayed in the target block regions to obtain the positions and the brightness degrees of the light emitting modules in the target block regions, the method further includes:
determining a region to be corrected in a display screen;
acquiring the brightness and the chroma of each light-emitting module in an area to be corrected under different pure color display conditions;
calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected;
and calculating the difference value between the brightness value and the average brightness value of each light-emitting module in the area to be corrected, and correcting the brightness value of the light-emitting module with the difference value larger than a preset threshold value.
In a second aspect of the present application, there is also provided a light emitting module positioning apparatus, including:
the instruction sending module is used for sending a display instruction to the display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
the image acquisition module is used for acquiring a display image when the display screen executes a display instruction;
and the light-emitting module positioning module is used for positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Optionally, the apparatus further comprises:
the position determining module is used for determining the position of an image area in a display image displayed by each target block area;
the image arrangement module is used for arranging the image areas according to the positions of the image areas to obtain an arrangement diagram;
the instruction updating module is used for updating the display rule of each target block area to obtain an updated display instruction and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated;
the position determining module is further used for acquiring a display image of the display screen executing the updated display instruction, and returning to the step of determining the position of the image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
a light module positioning module comprising:
the image recombination submodule is used for recombining each arrangement diagram according to the position of each block area in the display screen to obtain a recombined display image, wherein each arrangement diagram comprises a plurality of image blocks corresponding to the image area in the display image, and for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image area corresponding to the image block in the display image;
and the position acquisition submodule is used for positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
Optionally, the position determining module includes:
the pixel expansion submodule is used for carrying out pixel expansion processing on an image area in a display image displayed by any target block area to obtain a corresponding luminous point of the target block area in the display image;
and the area position determining submodule is used for determining the position of the image area displayed in the display image by utilizing a light-emitting module positioning algorithm according to the corresponding light-emitting point of each target block area in the display image.
Optionally, the pixel expansion submodule includes:
and the luminous point acquisition submodule is used for expanding N pixels in the vertical and horizontal directions of the image area aiming at the image area in the display image displayed by any target block area to obtain the corresponding luminous point of the target block area in the display image, wherein N is greater than half of the distance between two preset adjacent luminous modules.
Optionally, the light emitting module positioning module includes:
the light-emitting module position determining submodule is used for determining the position of each light-emitting module in any target block area according to the size of the target block area in the display instruction;
the light emitting module sequencing submodule is used for arranging the light emitting modules in the target block area to obtain a light emitting module arrangement matrix corresponding to the target block area;
the uncompensated light emitting module determining submodule is used for determining an uncompensated light emitting module in the light emitting module arrangement matrix according to the size of the preset compensation area, wherein the uncompensated light emitting module is a light emitting module in an area outside the preset compensation area in the target block area;
and the average value calculation submodule is used for calculating the average value of the pixel values of all the pixel points within the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center, so as to obtain the brightness of each uncompensated light-emitting module.
Optionally, the apparatus further comprises:
the device comprises a to-be-corrected area determining module, a correcting module and a correcting module, wherein the to-be-corrected area determining module is used for determining an area to be corrected in a display screen;
the luminance and chrominance acquisition submodule is used for acquiring the luminance and chrominance of each light-emitting module in the area to be corrected under different pure color display conditions;
the light emitting module average value calculating submodule is used for calculating the average value of the brightness and the chrominance of each light emitting module in the area to be corrected;
and the brightness and chrominance correction submodule is used for calculating the difference value between the brightness and chrominance of each light-emitting module in the area to be corrected and the average value of the brightness and chrominance, and correcting the brightness and chrominance of the light-emitting module of which the difference value is greater than a preset threshold value.
In a third aspect of the present application, there is also provided a display system, including a controller and a display screen;
the controller is used for sending a display instruction to the display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
the display screen is used for receiving a display instruction; controlling the light-emitting module in the target block area to be bright according to the display instruction;
the controller is also used for acquiring a display image when the display screen executes the display instruction; and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Optionally, the system further includes a collector;
the collector is used for collecting a display image when the display screen executes a display instruction; the display image is sent to the controller.
Optionally, the controller is further configured to determine a position of an image area in the display image displayed in each target block area; arranging the image areas according to the positions of the image areas to obtain an arrangement diagram; updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated; acquiring a display image of a display screen executing an updated display instruction, returning to the step of determining the position of an image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
the controller is further used for recombining each arrangement diagram according to the position of each block area in the display screen to obtain a recombined display image, wherein each arrangement diagram comprises a plurality of image blocks corresponding to the image area in the display image, and for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image area corresponding to the image block in the display image; and positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
Optionally, the controller is further configured to perform pixel expansion processing on an image area in a display image displayed in any target block area to obtain a corresponding light-emitting point of the target block area in the display image; and determining the position of the image area displayed in the display image by the target block area according to the corresponding luminous point of the target block area in the display image by utilizing a luminous module positioning algorithm.
Optionally, the controller is further configured to expand N pixels in vertical and horizontal directions of an image region in a display image displayed in any target block region to obtain a corresponding light emitting point of the target block region in the display image, where N is greater than half of a preset distance between two adjacent light emitting modules.
Optionally, the controller is further configured to determine, for any target block area, a position of each light emitting module in the target block area according to a size of the target block area in the display instruction; arranging the light-emitting modules in the target block area to obtain a light-emitting module arrangement matrix corresponding to the target block area; determining an uncompensated light-emitting module in the light-emitting module arrangement matrix according to the size of the preset compensation area, wherein the uncompensated light-emitting module is a light-emitting module in an area except the preset compensation area in the target block area; and calculating the average value of the pixel values of all the pixel points within the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center to obtain the brightness of each uncompensated light-emitting module.
Optionally, the controller is further configured to determine a region to be corrected in the display screen; acquiring the brightness and the chroma of each light-emitting module in an area to be corrected under different pure color display conditions; calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected; and calculating the difference value between the brightness value and the average brightness value of each light-emitting module in the area to be corrected, and correcting the brightness value of the light-emitting module with the difference value larger than a preset threshold value.
In yet another aspect of this application, an electronic device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory communicate with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the positioning method of any light-emitting module when executing the computer program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, and the computer program is executed by a processor to implement any one of the above-mentioned light module positioning methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described light module positioning methods.
The embodiment of the application provides a method, a device, an electronic device, a storage medium and a system for positioning a light-emitting module, which are used for sending a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals; acquiring a display image when a display screen executes a display instruction; and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas. When the display size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, the light-emitting module in the target block area is bright, and every two adjacent target block areas are distributed at intervals, the light-emitting module in the target block area is positioned according to the acquired display image of the display screen, and the display size of the target block area is small. The method and the device realize direct positioning of the light emitting module without distortion correction processing on the display image, thereby eliminating errors caused by the distortion correction processing and improving the precision of acquiring the brightness and chrominance information of the light emitting module. Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a method for positioning a light emitting module according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for positioning a light emitting module according to another embodiment of the present disclosure;
FIG. 3a is a display image of an example of an embodiment of the present application;
FIG. 3b is an arrangement image of an example of an embodiment of the present application;
FIG. 4a is an arrangement image of another example of an embodiment of the present application;
FIG. 4b is an exemplary recomposed display image according to embodiments of the present application;
fig. 5 is a flowchart illustrating a method for determining a position of an image area according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart illustrating a method for positioning a light emitting module in a target block area according to an embodiment of the present disclosure;
FIG. 7 is a schematic view of a light module compensation according to an embodiment of the present disclosure;
FIG. 8 is a schematic flowchart of a method for locating a light module in a target block area according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a light-emitting module positioning device according to an embodiment of the present application;
FIG. 10a is a schematic structural diagram of a display system according to an embodiment of the present application;
FIG. 10b is a schematic diagram of a display system according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, terms of art in the embodiments of the present application are explained:
lens distortion: the term "see-through distortion" inherent to an optical lens is a general term for distortion due to a see-through cause.
Distortion of pillow shape: the phenomenon of "shrinking" of the picture towards the middle caused by the shot. The pincushion distortion phenomenon is most easily perceived when using a telephoto lens or using the telephoto end of a zoom lens.
Barrel distortion: the distortion phenomenon of the imaging picture in a barrel shape expansion shape caused by the physical performance of the lens in the lens and the structure of the lens group. The barrel distortion phenomenon is most easily perceived when using a wide-angle lens or using the wide-angle end of a zoom lens.
Distortion correction: and correcting the image generating the distortion by an algorithm to eliminate the distortion.
In order to eliminate an error caused by distortion correction and improve the accuracy of light emitting module positioning, embodiments of the present application provide a method, an apparatus, an electronic device, a storage medium, and a system for positioning a light emitting module, including:
sending a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
acquiring a display image when a display screen executes a display instruction;
and positioning the light-emitting modules in the target block areas based on the image areas displayed in the display image by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Therefore, according to the light-emitting module positioning method, device, electronic device, storage medium and system provided by the embodiment of the application, when the display size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, the light-emitting module in the target block area is bright, and every two adjacent target block areas are distributed at intervals in the target block area, the light-emitting module in the target block area is positioned according to the acquired display image of the display screen, and the display size of the target block area is small. The method and the device realize direct positioning of the light emitting module without distortion correction processing on the display image, thereby eliminating errors caused by the distortion correction processing and improving the precision of acquiring the brightness and chrominance information of the light emitting module.
Detailed description is given below, referring to fig. 1, fig. 1 is a flowchart of a method for positioning a light emitting module according to an embodiment of the present disclosure;
step S11, a display instruction is sent to the display screen.
The display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals.
The light-emitting module positioning method is applied to a controller in a display system, the display system comprises the controller and a display screen, the controller can be the same device with the display screen or different devices independent of the display screen, the display screen can be a screen such as an LED screen and an LCD screen, the controller controls the light-emitting module to be turned on or turned off, and the light-emitting module can be a lamp bead in the display screen.
When the controller is a different device independent of the display screen, the controller can send a trigger instruction to the display screen, and the display screen determines the display rules and the sizes of the target block areas according to the received trigger instruction.
The size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, and may be obtained empirically, for example, first, the display image of one display screen is acquired through the image acquisition device, when the distortion of the display image of the display screen is small and can be ignored, the display area of the whole display screen may be divided into one block area, when the distortion of the display image of the display screen is large, the size of the target block area may be set to be small, such as 3 × 3 light emitting modules, 5 × 5 light emitting modules, and the like, and when the distortion of the display image of the display screen is medium, the size of the target block area may be set to be: 20 × 20 light emitting modules, 50 × 50 light emitting modules, and the like. Assuming that the maximum number of light emitting modules of the current LED screen is W x H, and the number of screen blocks is n x m; each tile size is W/n × H/m, and when m ═ n ═ 1, the size of the displayed tile area is the size of the whole screen, and when m ═ 1& n ═ 2 or n ═ 1& m ═ 2, each tile area is half of the whole screen. In the embodiment of the present application, the shape of each target block area may be a rectangle, a square, or the like. Since the colors of the light emitting modules may correspond to different colors such as red, green, blue, white, and the like, when the light emitting modules in the target block area are bright, the light emitting modules in the plurality of target block areas may all be the same color. And every two adjacent target block areas are distributed at intervals, one group or a plurality of groups of light-emitting modules are arranged between every two adjacent target block areas at intervals, so that the two adjacent target block areas are not connected, and when the bright areas of the light-emitting modules in the display screen are acquired, the size of each area is determined according to the distortion size of the display image of the display screen acquired in advance. When the light emitting modules in the target block area are bright, the light emitting modules in the rest areas in the display screen can be in a non-bright state.
In step S12, a display image when the display screen executes the display instruction is acquired.
The display image obtained when the display screen executes the display instruction may be acquired by an image acquisition device, such as a camera, or may be acquired by capturing the display image obtained when the display screen executes the display instruction, such as by screen capturing.
Step S13, based on the image area in the display image displayed by each target block area, the light emitting module in each target block area is positioned, and the position and the brightness of each light emitting module in each target block area are obtained.
The light-emitting modules in the target block areas are positioned based on the image areas displayed in the display image by the target block areas, and the light-emitting modules in the target block areas can be positioned by a projection method, a coordinate method and the like. For example, discretizing an image region displayed in the display image according to the brightness of the light emitting modules, determining the center points of the light emitting modules, and obtaining the positions of the light emitting modules by determining the intersection points of the connecting lines of the center points of the light emitting modules, of which the center points are on the same horizontal line and the same vertical line. And then, acquiring the brightness and the chrominance of each light-emitting module according to the position of each light-emitting module to obtain the brightness and the chrominance of each light-emitting module in each target block area.
Therefore, by the light-emitting module positioning method provided by the embodiment of the application, when the display size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, the light-emitting module in the target block area is bright, and the target block areas are distributed at intervals in every two adjacent target block areas, the light-emitting module in the target block area is positioned according to the acquired display image of the display screen.
Optionally, referring to fig. 2, before the step of positioning the light emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas in step S13 to obtain the positions and the brightness degrees of the light emitting modules in the target block areas, the method further includes:
in step S14, the position of the image area in the display image displayed in each target block area is determined.
For example, after a display image when a display screen executes a display instruction is obtained, each light emitting module region is expanded by using a rectangular two-dimensional matrix according to a digital graphic morphology theory, and N pixels are expanded in the vertical and horizontal directions of pixel features corresponding to the light emitting modules in the acquired image so as to perform expansion processing on the pixel features corresponding to each light emitting module, wherein N is equal to more than half of the distance between two adjacent light emitting modules. The pixel characteristics corresponding to the light-emitting modules in the block areas can be combined through expansion processing, each block area can serve as a large light-emitting module, and the position of an image area displayed by each target block area in a display image is determined through a light-emitting module positioning algorithm.
In step S15, the image regions are arranged according to their positions to obtain an arrangement diagram.
The image areas are arranged according to the positions of the image areas, or the image areas displayed in the display image by the target block areas are extracted from the display image after the display image when the display screen executes the display instruction is acquired, and the extracted image areas are arranged according to the positions of the image areas to obtain an arrangement diagram. The extracted image regions may be arranged according to the positions of the image regions to obtain an arrangement diagram, and the image regions may be arranged according to the relative positional relationship of the image regions to obtain an arrangement diagram, for example, in a display screen, the block region 1 is located on the left side of the block region 2, and in a generated arrangement diagram, 1 is still located on the left side of 2. When generating the arrangement diagram, the arrangement diagram may be obtained by stitching or simply arranging in the corresponding order, for example, when the tile region 1 is not adjacent to the tile region 2 in the display screen, that is, the tile region 1 does not have another light-emitting module between the tile region 2, but when the position of the image region in the display image displayed by each target tile region is determined this time, the position of the tile region between the tile regions 1 and 2 is not obtained, so when generating the arrangement diagram, the arrangement diagram may be obtained by stitching 1 and 2 together, or by simply arranging 1 and 2 in the order, the arrangement diagram including 1 and 2 is obtained.
For example, referring to fig. 3a, the image areas where the numerical values 1,2,3, and 4 are located correspond to different image areas, and when a certain display instruction is executed, the light emitting module in the image area corresponding to each numerical value is on, for example, when a certain display instruction is executed, the light emitting module in the image area corresponding to the numerical value 1 is on, and when another display instruction is executed, the light emitting module in the image area corresponding to the numerical value 2 is on. When the image areas corresponding to 1 in the figure are arranged, the image areas corresponding to 1 may be arranged according to the relative positions of the image areas corresponding to 1 in the display image, for example, the position of the image area corresponding to 1 in the upper left corner in the figure is determined to be (0, 0), and the position of the image area corresponding to 1 in the lower right corner in the figure is determined to be (1, 1) in the order from top to bottom and from left to right. Then, the image regions are arranged according to the positions of the image regions, so that an arrangement diagram as shown in fig. 3b can be obtained.
And step S16, updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen.
The target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated, and the adjacent area of the target block area is one of the block areas adjacent to the target block area in the plurality of block areas in the display screen. When the color of the light emitting module includes a plurality of colors, the color of the light emitting module corresponding to the updated display instruction may be the same as the color of the light emitting module before updating. The sizes of the target block areas in the display screen corresponding to the updated display instruction may be the same as those before the update. And every two adjacent target block areas of the updated display instruction are distributed at intervals.
Step S17, acquiring a display image of the display screen executing the updated display instruction, and returning to the step of determining the position of the image area in the display image displayed in each target block area until the entire display screen is traversed to obtain a plurality of alignment maps.
The arrangement diagram is an arrangement diagram in which the image regions are arranged according to the positions of the image regions. Traversing the whole display screen, a plurality of alignment charts can be obtained by updating for a plurality of times and sending updated display instructions to the display screen, and the plurality of alignment charts can include image areas corresponding to all light-emitting modules in the display screen.
Step S13 is a step of positioning the light-emitting modules in each target block region based on the image region in the display image displayed by each target block region to obtain the position and the brightness of each light-emitting module in each target block region, and includes:
and S131, recombining the arrangement diagrams according to the positions of the block areas in the display screen to obtain a recombined display image.
The arrangement diagrams include a plurality of image blocks corresponding to image regions in the display image, for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image region corresponding to the image block in the display image, the arrangement diagrams are recombined according to the arrangement sequence of the block regions in the display screen, or the image blocks in the arrangement diagrams are rearranged according to a display instruction. Wherein the image patches in the arrangement map may be the same as the image regions in the display image. For example, in the display screen, the block region 1 is not adjacent to the block region 2, that is, the block region 1 does not have another light-emitting module between the block region 2, but the position of the block region between the block regions 1 and 2 is not obtained when the position of the image region in the display image displayed in each target block region is determined this time, so when the arrangement diagram is generated, the block regions 1 and 2 may be joined together to obtain the arrangement diagram, and when the arrangement diagrams are recombined according to the arrangement order of the block regions in the display screen to obtain the recombined display image, the image blocks 1 and 2 in the arrangement diagram may be obtained corresponding to the original block regions 1 and 2 after the block regions between the block regions 1 and 2 are obtained, where the block region 1 is the same as the image block 1, the block region 2 is the same as the image block 2, and then the image blocks between the block regions 1 and 2 are obtained according to the image blocks, And recombining the image blocks 2 in sequence to obtain a recombined display image. For example, it can be known from the display command that 1 corresponds to the left side of 2,3 corresponds to the lower side of 1, and 4 corresponds to the lower side of 2, so that the image blocks in the arrangement diagram can be recombined according to the arrangement order of the block areas to obtain a recombined display image. For example, referring to the alignment charts of FIG. 4a, recombination is performed to obtain a recombined display chart like FIG. 4 b.
Step S132, positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
In the reconstructed display image, the light-emitting modules are positioned, and the positions and the brightness of the light-emitting modules can be obtained by various methods, for example, a projection method, a coordinate method, and the like.
The recombined display image is obtained by recombining the arrangement diagram of the block areas in the display screen. The size of the blocking area is determined according to the distortion size of the display image of the display screen acquired in advance, so that the distortion is small, the distortion correction can be performed on the recombined display image, and the light-emitting module can be directly positioned. And therefore no error due to distortion correction is generated.
Alternatively, referring to fig. 5, the step of determining the position of the image area in the display image displayed in each target block area in step S14 includes:
in step S141, pixel expansion processing is performed on an image area in a display image displayed in any target block area to obtain a corresponding light emitting point of the target block area in the display image.
For example, according to the digital pattern morphology theory, each light emitting module region is expanded using a rectangular two-dimensional matrix. And expanding N pixels in the vertical and horizontal directions of the pixel characteristics corresponding to the light emitting modules in the acquired image so as to perform expansion processing on the pixel characteristics corresponding to each light emitting module, wherein N is more than half of the distance between two adjacent light emitting modules. The expansion processing can ensure that the images of the adjacent light-emitting modules in the block areas are connected together, and the pixel characteristics corresponding to the light-emitting modules in the block areas are combined, so that each block area can serve as a large light-emitting module, the light-emitting point is the large light-emitting module, and no other light-emitting modules exist between the adjacent areas.
And step S142, determining the position of the image area displayed in the display image by the target block areas according to the corresponding luminous points of the target block areas in the display image by using a luminous module positioning algorithm.
After the block areas can be used as a large light-emitting module, the positions of the image areas displayed by the target block areas in the display image can be directly determined by using a light-emitting module positioning algorithm.
Optionally, in step S141, the step of performing pixel expansion processing on an image area in a display image displayed in any target block area to obtain a corresponding light-emitting point of the target block area in the display image includes:
and expanding N pixels in the vertical and horizontal directions of the image area aiming at the image area in the display image displayed by any target block area to obtain a corresponding light-emitting point of the target block area in the display image, wherein N is greater than half of the distance between two preset adjacent light-emitting modules, and no other light-emitting module exists between the adjacent light-emitting modules.
Optionally, referring to fig. 6, in step S13, the step of locating the light emitting module in each target block area based on the image area in the display image displayed in each target block area to obtain the position and the brightness of each light emitting module in each target block area includes:
step S133, for any target block area, determining the position of each light emitting module in the target block area according to the size of the target block area in the display instruction.
For example, for a certain display instruction, the size of the target block area is 3 × 3, that is, the arrangement rule of the light emitting modules in the target block area is 3 × 3, so that after the target block area is determined, the center of the block area can be considered as the center of the light emitting module areas arranged in a 3 × 3 manner, and thus the position of each light emitting module in the target block area is determined.
Step S134, arranging the light emitting modules in the target block region to obtain a light emitting module arrangement matrix corresponding to the target block region.
Step S135, determining an uncompensated light emitting module in the light emitting module arrangement matrix according to the size of the preset compensation region.
The uncompensated light-emitting module is a light-emitting module in an area except a preset compensation area in the target block area.
The brightness of the light emitting module is influenced by the brightness of the light emitting modules in the adjacent areas under normal conditions. Therefore, in order to ensure that the brightness and chrominance values of the light-emitting modules which need to be collected in each block of area are the same as the actual brightness and chrominance values, the light-emitting modules in a plurality of lines (p lines) adjacent to the area need to be lightened as supplementary areas for compensation, and other light-emitting modules do not exist between the adjacent areas. For example, for a block region of n × n, the size of the corresponding light emitting module arrangement matrix is (n +2 × p) × (n +2 × p), wherein when the block region is located at the edge of the screen, p rows may not be compensated. For example, referring to fig. 7, the target block area is a 3 × 3 light-emitting module area in a dashed line frame in the figure, and after one line is compensated, a light-emitting module area with a light-emitting module area of 5 × 5 when the display instruction is executed is obtained.
When performing compensation, the display instruction may include the compensation region, for example, when performing positioning of the light emitting module in the 3 × 3 light emitting module region, the controller may display the 5 × 5 light emitting module region including the compensation region when sending the display instruction to the display screen, or only include the 3 × 3 light emitting module region when sending the display instruction to the display screen, and the display screen finally displays the 5 × 5 light emitting module region including the compensation region according to the display instruction and the compensation policy.
For example, for the blocking region of n × n, the compensation rule is to perform p-row compensation, and obtain a corresponding light emitting module arrangement matrix of (n +2 × p) × (n +2 × p), so that the position of the light emitting module n that is not compensated in the light emitting module arrangement matrix of (n +2 × p) (n +2 × p) can be determined according to the arrangement rule of the p light emitting modules.
Step S136, taking the position of each uncompensated light-emitting module as a center, calculating the average value of the pixel values of each pixel point within the preset radius range in the image area displayed in the display image in the target block area, and obtaining the brightness of each uncompensated light-emitting module.
After the uncompensated light-emitting modules in the light-emitting module arrangement matrix are determined, the position of each uncompensated light-emitting module is taken as the center, the pixel value of each pixel point within the preset radius range in the image area displayed in the display image of the target block area is calculated, and the brightness of each light-emitting module of the target block area can be obtained.
Optionally, referring to fig. 8, after the step S13 of positioning the light emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas to obtain the positions and the brightness degrees of the light emitting modules in the target block areas, the method further includes:
in step S18, a region to be corrected in the display screen is determined.
The area to be corrected in the display screen may be a display area of the whole display screen or a partial area of the display screen. When the area to be corrected is a certain partial area in the display screen. The method comprises the steps of positioning the light-emitting modules in each target block area based on the image area displayed in the display image by each target block area, and positioning the light-emitting modules in the area to be corrected only according to the image area after only the image area displayed in the display image by the display area is obtained, but not obtaining the display image of the rest areas in the display screen and positioning the light-emitting modules, so that the time required by positioning the light-emitting modules can be saved when the size of the area to be corrected is small.
Step S19, acquiring the brightness of each light emitting module in the region to be corrected under different pure color display conditions.
When the color displayed by the light emitting module includes a plurality of colors, the brightness of each light emitting module in the region to be corrected under different pure color display conditions may be obtained, for example, the brightness of the light emitting module in the region to be corrected under three different colors, red, green, and blue, may be obtained.
Step S20, calculating an average value of luminance and chrominance of each light-emitting module in the region to be corrected.
Calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected, and calculating the average value according to the obtained brightness and the chrominance of all the light-emitting modules in the area to be corrected, thereby obtaining the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected.
Step S21, calculating a difference between the luminance and the average luminance of each light-emitting module in the area to be corrected, and performing luminance correction on the light-emitting module whose difference is greater than a preset threshold.
Calculating a difference value between the brightness value and the average brightness value of each light-emitting module in the area to be corrected, comparing the obtained brightness value and the average brightness value of each light-emitting module in the area to be corrected, and when the difference value between the brightness value and the average brightness value of each light-emitting module is greater than a preset threshold value, determining that the brightness value of the light-emitting module affects the display effect of the display screen, so as to correct the brightness value. The preset threshold may be a certain value that is set manually.
Referring to fig. 9, there is also provided in an embodiment of the present application a light module positioning device, the device comprising:
an instruction sending module 901, configured to send a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
an image obtaining module 902, configured to obtain a display image when the display screen executes a display instruction;
a light emitting module positioning module 903, configured to position the light emitting module in each target block area based on an image area in the display image displayed in each target block area, so as to obtain a position and a brightness of each light emitting module in each target block area.
Optionally, the apparatus further comprises:
the position determining module is used for determining the position of an image area in a display image displayed by each target block area;
the image arrangement module is used for arranging the image areas according to the positions of the image areas to obtain an arrangement diagram;
the instruction updating module is used for updating the display rule of each target block area to obtain an updated display instruction and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated;
the position determining module is further used for acquiring a display image of the display screen executing the updated display instruction, and returning to the step of determining the position of the image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
a light module positioning module comprising:
the image recombination submodule is used for recombining each arrangement diagram according to the position of each block area in the display screen to obtain a recombined display image, wherein each arrangement diagram comprises a plurality of image blocks corresponding to the image area in the display image, and for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image area corresponding to the image block in the display image;
and the position acquisition submodule is used for positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
Optionally, the position determining module includes:
the pixel expansion submodule is used for carrying out pixel expansion processing on an image area in a display image displayed by any target block area to obtain a corresponding luminous point of the target block area in the display image;
and the area position determining submodule is used for determining the position of the image area displayed in the display image by utilizing a light-emitting module positioning algorithm according to the corresponding light-emitting point of each target block area in the display image.
Optionally, the pixel expansion submodule includes:
and the luminous point acquisition submodule is used for expanding N pixels in the vertical and horizontal directions of the image area aiming at the image area in the display image displayed by any target block area to obtain the corresponding luminous point of the target block area in the display image, wherein N is greater than half of the distance between two preset adjacent luminous modules.
Optionally, the light emitting module positioning module includes:
the light-emitting module position determining submodule is used for determining the position of each light-emitting module in any target block area according to the size of the target block area in the display instruction;
the light emitting module sequencing submodule is used for arranging the light emitting modules in the target block area to obtain a light emitting module arrangement matrix corresponding to the target block area;
the uncompensated light emitting module determining submodule is used for determining an uncompensated light emitting module in the light emitting module arrangement matrix according to the size of the preset compensation area, wherein the uncompensated light emitting module is a light emitting module in an area outside the preset compensation area in the target block area;
and the average value calculation submodule is used for calculating the average value of the pixel values of all the pixel points within the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center, so as to obtain the brightness of each uncompensated light-emitting module.
Optionally, the apparatus further comprises:
the device comprises a to-be-corrected area determining module, a correcting module and a correcting module, wherein the to-be-corrected area determining module is used for determining an area to be corrected in a display screen;
the luminance and chrominance acquisition submodule is used for acquiring the luminance and chrominance of each light-emitting module in the area to be corrected under different pure color display conditions;
the light emitting module average value calculating submodule is used for calculating the average value of the brightness and the chrominance of each light emitting module in the area to be corrected;
and the brightness and chrominance correction submodule is used for calculating the difference value between the brightness and chrominance of each light-emitting module in the area to be corrected and the average value of the brightness and chrominance, and correcting the brightness and chrominance of the light-emitting module of which the difference value is greater than a preset threshold value.
Therefore, by the light-emitting module positioning device provided by the embodiment of the application, when the display size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, the light-emitting module in the target block area is bright and the target block areas are distributed at intervals in every two adjacent target block areas, the light-emitting module in the target block area is positioned according to the acquired display image of the display screen.
Referring to fig. 10a, in the present application, a display system is further provided, the display system includes a controller 1001 and a display screen 1002;
a controller 1001 for sending a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
a display screen 1002 for receiving a display instruction; controlling the light-emitting module in the target block area to be bright according to the display instruction;
the controller 1001 is further configured to acquire a display image when the display screen executes the display instruction; and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Optionally, referring to fig. 10b, the system further includes a collector 1003;
the collector 1003 is used for collecting a display image when the display screen executes the display instruction; the display image is sent to the controller.
Alternatively to this, the first and second parts may,
a controller 1001 for determining the position of an image area in a display image displayed in each target block area; arranging the image areas according to the positions of the image areas to obtain an arrangement diagram; updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated; acquiring a display image of a display screen executing an updated display instruction, returning to the step of determining the position of an image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
the controller 1001 is further configured to recombine each arrangement diagram according to a position of each block region in the display screen to obtain a recombined display image, where each arrangement diagram includes a plurality of image blocks corresponding to image regions in the display image, and for any image block in the recombined display image, a position of the image block in the recombined display image is the same as a position of an image region corresponding to the image block in the display image; and positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
Optionally, the controller 1001 is further configured to perform pixel expansion processing on an image area in a display image displayed in any target block area to obtain a corresponding light-emitting point of the target block area in the display image; and determining the position of the image area displayed in the display image by the target block area according to the corresponding luminous point of the target block area in the display image by utilizing a luminous module positioning algorithm.
Optionally, the controller 1001 is further configured to expand, for an image area in a display image displayed in any target block area, N pixels in vertical and horizontal directions of the image area to obtain a corresponding light emitting point of the target block area in the display image, where N is greater than half of a preset distance between two adjacent light emitting modules.
Optionally, the controller 1001 is further configured to determine, for any target block area, a position of each light emitting module in the target block area according to a size of the target block area in the display instruction; arranging the light-emitting modules in the target block area to obtain a light-emitting module arrangement matrix corresponding to the target block area; determining an uncompensated light-emitting module in the light-emitting module arrangement matrix according to the size of the preset compensation area, wherein the uncompensated light-emitting module is a light-emitting module in an area except the preset compensation area in the target block area; and calculating the average value of the pixel values of all the pixel points within the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center to obtain the brightness of each uncompensated light-emitting module.
Optionally, the controller 1001 is further configured to determine an area to be corrected in the display screen; acquiring the brightness and the chroma of each light-emitting module in an area to be corrected under different pure color display conditions; calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected; and calculating the difference value between the brightness value and the average brightness value of each light-emitting module in the area to be corrected, and correcting the brightness value of the light-emitting module with the difference value larger than a preset threshold value.
Therefore, by the light-emitting module positioning system provided by the embodiment of the application, when the display size of the target block area is determined according to the distortion size of the display image of the display screen acquired in advance, the light-emitting module in the target block area is bright and the target block areas are distributed at intervals in every two adjacent target block areas, the light-emitting module in the target block area is positioned according to the acquired display image of the display screen.
An embodiment of the present invention further provides an electronic device, as shown in fig. 11, including a processor 1101, a memory 1102 and a communication bus 1103, where the processor 1101, the memory 1102 complete mutual communication through the communication bus 1103,
a memory 1102 for storing computer programs;
the processor 1101 is configured to implement the following steps when executing the program stored in the memory 1102:
sending a display instruction to a display screen; the display instruction comprises display rules and sizes of a plurality of target block areas in a display screen; the size of the target block area is determined according to the distortion size of a display image of a display screen acquired in advance; the display rules include: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
acquiring a display image when a display screen executes a display instruction;
and positioning the light-emitting modules in the target block areas based on the image areas in the display images displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
Optionally, when the processor is used to execute the computer program stored in the memory, the method for positioning any light emitting module may also be implemented.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program is executed by a processor to implement any one of the above-mentioned light module positioning methods.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described embodiments of the method of positioning a light module.
It should be noted that, in this document, the technical features in the various alternatives can be combined to form the scheme as long as the technical features are not contradictory, and the scheme is within the scope of the disclosure of the present application. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the apparatus, the electronic device, the storage medium, and the system, since they are substantially similar to the method embodiments, the description is relatively simple, and for relevant points, reference may be made to part of the description of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (16)

1. A method for positioning a light emitting module is applied to a controller in a display system, wherein the display system comprises the controller and a display screen, and the method comprises the following steps:
sending a display instruction to the display screen; wherein the display instruction comprises display rules and sizes of a plurality of target block areas in the display screen; the size of the target block area is determined according to the distortion size of a display image of the display screen acquired in advance; the display rule includes: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
acquiring a display image when the display screen executes the display instruction;
and positioning the light-emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
2. The method according to claim 1, wherein before the step of locating the light emitting modules in each target block area based on the image area in the display image displayed in each target block area to obtain the position and the brightness of each light emitting module in each target block area, the method further comprises:
determining the position of an image area in the display image displayed by each target block area;
arranging the image areas according to the positions of the image areas to obtain an arrangement diagram;
updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated;
acquiring a display image of the display screen executing the updated display instruction, and returning to the step of executing the step of determining the position of the image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
the step of positioning the light emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas to obtain the positions and the brightness degrees of the light emitting modules in the target block areas includes:
recombining each arrangement diagram according to the position of each block region in the display screen to obtain a recombined display image, wherein each arrangement diagram comprises a plurality of image blocks corresponding to the image regions in the display image, and for any image block in the recombined display image, the position of the image block in the recombined display image is the same as the position of the image region corresponding to the image block in the display image;
and positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
3. The method of claim 2, wherein the step of determining the location of the image region in the display image displayed by each target tile region comprises:
aiming at an image area in the display image displayed by any target block area, carrying out pixel expansion processing on the image area to obtain a corresponding luminous point of the target block area in the display image;
and determining the position of the image area displayed in the display image by the target block areas according to the corresponding luminous points of the target block areas in the display image by utilizing a luminous module positioning algorithm.
4. The method according to claim 3, wherein the step of performing pixel expansion processing on an image region in the display image displayed for any target block region to obtain a corresponding light-emitting point of the target block region in the display image comprises:
and expanding N pixels in the vertical and horizontal directions of the image area aiming at the image area in the display image displayed by any target block area to obtain a corresponding light-emitting point of the target block area in the display image, wherein N is greater than half of the distance between two preset adjacent light-emitting modules.
5. The method according to claim 1, wherein the step of positioning the light emitting modules in each target block area based on the image area in the display image displayed by each target block area to obtain the position and brightness of each light emitting module in each target block area comprises:
for any target block area, determining the position of each light-emitting module in the target block area according to the size of the target block area in the display instruction;
arranging the light emitting modules in the target block area to obtain a light emitting module arrangement matrix corresponding to the target block area;
determining an uncompensated light-emitting module in the light-emitting module arrangement matrix according to the size of the preset compensation region, wherein the uncompensated light-emitting module is a light-emitting module in a region outside the preset compensation region in the target block region;
and calculating the average value of the pixel values of all pixel points in the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center to obtain the brightness of each uncompensated light-emitting module.
6. The method according to any one of claims 1 to 5, wherein after the step of locating the light emitting module in each target block region based on the image region in the display image displayed in each target block region to obtain the position and brightness of each light emitting module in each target block region, the method further comprises:
determining a region to be corrected in the display screen;
acquiring the brightness and the chroma of each light-emitting module in the area to be corrected under different pure color display conditions;
calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected;
and calculating the difference value between the brightness value of each light-emitting module in the area to be corrected and the average brightness value, and correcting the brightness value of the light-emitting module with the difference value larger than a preset threshold value.
7. A lighting module positioning apparatus, the apparatus comprising:
the instruction sending module is used for sending a display instruction to the display screen; wherein the display instruction comprises display rules and sizes of a plurality of target block areas in the display screen; the size of the target block area is determined according to the distortion size of a display image of the display screen acquired in advance; the display rule includes: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
the image acquisition module is used for acquiring a display image when the display screen executes the display instruction;
and the light-emitting module positioning module is used for positioning the light-emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
8. A display system is characterized in that the display system comprises a controller and a display screen;
the controller is used for sending a display instruction to the display screen; wherein the display instruction comprises display rules and sizes of a plurality of target block areas in the display screen; the size of the target block area is determined according to the distortion size of a display image of the display screen acquired in advance; the display rule includes: the light emitting modules in the target block areas are bright, and every two adjacent target block areas are distributed at intervals;
the display screen is used for receiving the display instruction; controlling the light-emitting module in the target block area to be bright according to the display instruction;
the controller is further used for acquiring a display image when the display screen executes the display instruction; and positioning the light-emitting modules in the target block areas based on the image areas in the display image displayed by the target block areas to obtain the positions and the brightness of the light-emitting modules in the target block areas.
9. The system of claim 8, further comprising a collector;
the collector is used for collecting a display image when the display screen executes the display instruction; sending the display image to the controller.
10. The system of claim 8,
the controller is further configured to determine a position of an image area in the display image displayed by each target block area; arranging the image areas according to the positions of the image areas to obtain an arrangement diagram; updating the display rule of each target block area to obtain an updated display instruction, and sending the updated display instruction to the display screen; the target block area after the display rule is updated is an adjacent area of the target block area before the display rule is updated; acquiring a display image of the display screen executing the updated display instruction, and returning to the step of executing the step of determining the position of the image area in the display image displayed in each target block area until the whole display screen is traversed to obtain a plurality of arrangement diagrams;
the controller is further configured to recombine each arrangement diagram according to a position of each block region in the display screen to obtain a recombined display image, where each arrangement diagram includes a plurality of image blocks corresponding to image regions in the display image, and for any image block in the recombined display image, a position of the image block in the recombined display image is the same as a position of an image region corresponding to the image block in the display image; and positioning each light-emitting module in the recombined display image to obtain the position and the brightness of each light-emitting module.
11. The system of claim 9,
the controller is further configured to perform pixel expansion processing on an image area in the display image displayed in any target block area to obtain a corresponding light emitting point of the target block area in the display image; and determining the position of the image area displayed in the display image by the target block areas according to the corresponding luminous points of the target block areas in the display image by utilizing a luminous module positioning algorithm.
12. The system of claim 10,
the controller is further configured to expand N pixels in vertical and horizontal directions of an image region in the display image displayed in any target block region to obtain a corresponding light emitting point of the target block region in the display image, where N is greater than half of a preset distance between two adjacent light emitting modules.
13. The system of claim 8,
the controller is further configured to determine, for any target block area, a position of each light emitting module in the target block area according to the size of the target block area in the display instruction; arranging the light emitting modules in the target block area to obtain a light emitting module arrangement matrix corresponding to the target block area; determining an uncompensated light-emitting module in the light-emitting module arrangement matrix according to the size of the preset compensation region, wherein the uncompensated light-emitting module is a light-emitting module in a region outside the preset compensation region in the target block region; and calculating the average value of the pixel values of all pixel points in the preset radius range in the image area displayed in the display image in the target block area by taking the position of each uncompensated light-emitting module as the center to obtain the brightness of each uncompensated light-emitting module.
14. The system according to any one of claims 8-12,
the controller is further used for determining a region to be corrected in the display screen; acquiring the brightness and the chroma of each light-emitting module in the area to be corrected under different pure color display conditions; calculating the average value of the brightness and the chrominance of each light-emitting module in the area to be corrected; and calculating the difference value between the brightness value of each light-emitting module in the area to be corrected and the average brightness value, and correcting the brightness value of the light-emitting module with the difference value larger than a preset threshold value.
15. An electronic device comprising a processor and a memory;
the memory is used for storing a computer program;
the processor is used for implementing the lamp bead positioning method according to any one of claims 1 to 6 when executing the computer program stored in the memory.
16. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program implements the method for positioning a lamp bead according to any one of claims 1 to 6.
CN202011357832.0A 2020-11-27 2020-11-27 Light-emitting module positioning method, device, electronic equipment, storage medium and system Active CN112489115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011357832.0A CN112489115B (en) 2020-11-27 2020-11-27 Light-emitting module positioning method, device, electronic equipment, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011357832.0A CN112489115B (en) 2020-11-27 2020-11-27 Light-emitting module positioning method, device, electronic equipment, storage medium and system

Publications (2)

Publication Number Publication Date
CN112489115A true CN112489115A (en) 2021-03-12
CN112489115B CN112489115B (en) 2023-09-08

Family

ID=74936233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011357832.0A Active CN112489115B (en) 2020-11-27 2020-11-27 Light-emitting module positioning method, device, electronic equipment, storage medium and system

Country Status (1)

Country Link
CN (1) CN112489115B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326016A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 Method and device for improving contrast of LED display screen and computer equipment

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100007590A1 (en) * 2006-08-28 2010-01-14 Yuang D&U Co., Ltd. Method for arranging light emitting diode module, data converting method for displaying moving picture by using light emitting diode module and data converting apparatus therefor
WO2012086966A2 (en) * 2010-12-19 2012-06-28 Kim Insun Method for using a wireless communication device to conveniently capture a quality image of an iris and a subject, and camera device transmitting a partial range of visible rays and near infrared rays through a single bandpass filter
CN103165103A (en) * 2011-12-12 2013-06-19 深圳富泰宏精密工业有限公司 Brightness adjustment system of electronic device display screen and brightness adjustment method of electronic device display screen
CN103559862A (en) * 2013-11-11 2014-02-05 西安诺瓦电子科技有限公司 Partition zone correcting method for LED display screen
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
CN103824544A (en) * 2014-02-28 2014-05-28 西安诺瓦电子科技有限公司 LED display screen correction method, device and system
US20150116376A1 (en) * 2013-10-31 2015-04-30 Canon Kabushiki Kaisha Display apparatus and control method therefor
US20150235619A1 (en) * 2014-02-18 2015-08-20 Samsung Display Co., Ltd. Method of driving light source module and display device using the method
US20160260395A1 (en) * 2015-03-05 2016-09-08 Japan Display Inc. Display device, electronic apparatus, and method for driving display device
JP6284172B1 (en) * 2017-12-06 2018-02-28 株式会社Nexpoint Screen image transfer method, image restoration method, screen image transfer system, image restoration system, screen image transfer program, image restoration program, image compression method, image compression system, image compression program
US20180260940A1 (en) * 2017-03-07 2018-09-13 Illumina, Inc. Optical distortion correction for imaged samples
KR101962646B1 (en) * 2018-12-17 2019-03-27 (주)서울기전 LED Module Brightness and Color Compensation Apparatus and Method thereof
US20190102871A1 (en) * 2017-09-30 2019-04-04 Beijing Kingsoft Internet Security Software Co., L Td. Method for processing image, device for processing image, electronic device and medium
US20190355316A1 (en) * 2018-05-18 2019-11-21 Beijing Boe Optoelectronics Technology Co., Ltd. Display control method and apparatus of backlight sources, and display device
CN110689841A (en) * 2019-11-18 2020-01-14 颜色空间(北京)科技有限公司 Point-to-point correction method for LED display screen
US20200117050A1 (en) * 2018-10-12 2020-04-16 Beijing Boe Optoelectronics Technology Co., Ltd. Backlight module, display device and driving method thereof
CN111355863A (en) * 2020-04-07 2020-06-30 北京达佳互联信息技术有限公司 Image distortion correction method and device, electronic equipment and storage medium
CN111933075A (en) * 2019-04-28 2020-11-13 华为技术有限公司 Pixel compensation method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100007590A1 (en) * 2006-08-28 2010-01-14 Yuang D&U Co., Ltd. Method for arranging light emitting diode module, data converting method for displaying moving picture by using light emitting diode module and data converting apparatus therefor
WO2012086966A2 (en) * 2010-12-19 2012-06-28 Kim Insun Method for using a wireless communication device to conveniently capture a quality image of an iris and a subject, and camera device transmitting a partial range of visible rays and near infrared rays through a single bandpass filter
CN103165103A (en) * 2011-12-12 2013-06-19 深圳富泰宏精密工业有限公司 Brightness adjustment system of electronic device display screen and brightness adjustment method of electronic device display screen
CN103778887A (en) * 2013-03-21 2014-05-07 西安电子科技大学 Method and device for correcting brightness of LED display device
US20150116376A1 (en) * 2013-10-31 2015-04-30 Canon Kabushiki Kaisha Display apparatus and control method therefor
CN103559862A (en) * 2013-11-11 2014-02-05 西安诺瓦电子科技有限公司 Partition zone correcting method for LED display screen
US20150235619A1 (en) * 2014-02-18 2015-08-20 Samsung Display Co., Ltd. Method of driving light source module and display device using the method
CN103824544A (en) * 2014-02-28 2014-05-28 西安诺瓦电子科技有限公司 LED display screen correction method, device and system
US20160260395A1 (en) * 2015-03-05 2016-09-08 Japan Display Inc. Display device, electronic apparatus, and method for driving display device
US20180260940A1 (en) * 2017-03-07 2018-09-13 Illumina, Inc. Optical distortion correction for imaged samples
US20190102871A1 (en) * 2017-09-30 2019-04-04 Beijing Kingsoft Internet Security Software Co., L Td. Method for processing image, device for processing image, electronic device and medium
JP6284172B1 (en) * 2017-12-06 2018-02-28 株式会社Nexpoint Screen image transfer method, image restoration method, screen image transfer system, image restoration system, screen image transfer program, image restoration program, image compression method, image compression system, image compression program
US20190355316A1 (en) * 2018-05-18 2019-11-21 Beijing Boe Optoelectronics Technology Co., Ltd. Display control method and apparatus of backlight sources, and display device
US20200117050A1 (en) * 2018-10-12 2020-04-16 Beijing Boe Optoelectronics Technology Co., Ltd. Backlight module, display device and driving method thereof
KR101962646B1 (en) * 2018-12-17 2019-03-27 (주)서울기전 LED Module Brightness and Color Compensation Apparatus and Method thereof
CN111933075A (en) * 2019-04-28 2020-11-13 华为技术有限公司 Pixel compensation method and device
CN110689841A (en) * 2019-11-18 2020-01-14 颜色空间(北京)科技有限公司 Point-to-point correction method for LED display screen
CN111355863A (en) * 2020-04-07 2020-06-30 北京达佳互联信息技术有限公司 Image distortion correction method and device, electronic equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
S.C. SHEN,ET AL: "Design and analysis of a high-intensity LED lighting module for underwater illumination", APPLIED OCEAN RESEARCH, vol. 39, pages 89 - 96 *
宋新丽,等: "LED视角亮度关系及其对显示屏亮度均匀性的影响分析", 现代显示, no. 12, pages 62 - 64 *
林俊,等: "基于梯度的动态分块迭代阈值图像二值化方法", 光学与光电技术, no. 05, pages 106 - 108 *
桂劲征,等: "基于HVS的LED显示屏亮度均匀性评估方法", 液晶与显示, no. 05, pages 79 - 86 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326016A (en) * 2021-08-04 2021-08-31 卡莱特云科技股份有限公司 Method and device for improving contrast of LED display screen and computer equipment
CN113326016B (en) * 2021-08-04 2021-10-22 卡莱特云科技股份有限公司 Method and device for improving contrast of LED display screen and computer equipment

Also Published As

Publication number Publication date
CN112489115B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
US6932480B2 (en) Image processing system, projector, program, information storage medium and image processing method
US7019713B2 (en) Methods and measurement engine for aligning multi-projector display systems
US20110234920A1 (en) Method for Creating Blending Ramps for Complex Projector Image Overlaps
JP5251202B2 (en) Distortion correction method for projected image of projector and projector
WO2001047285A1 (en) Method and apparatus for calibrating projector-camera system
CN109495729B (en) Projection picture correction method and system
CN105185314A (en) Uniformity compensation method for LED display screen
US20030142883A1 (en) Image correction data calculation method, image correction data calculation apparatus, and multi-projection system
CN103997631A (en) Method and system for extracting position contour of LEDs dot by dot based on camera shooting
CN110290365B (en) Edge fusion method
CN109068025A (en) A kind of camera lens shadow correction method, system and electronic equipment
CN113593426B (en) Module division method for LED spliced screen image and LED screen correction method
CN108416333B (en) Image processing method and device
CN112489115B (en) Light-emitting module positioning method, device, electronic equipment, storage medium and system
CN113257181B (en) LED screen correction image acquisition method, correction method, acquisition device and correction system
CN113989392A (en) Color chessboard calibration method and device of splicing camera and camera
CN116634624B (en) Illumination control method and device for transparent screen display cabinet
JP2007271771A (en) Image display system and control method therefor
CN104394391A (en) Method and system for processing image data of dot matrix images acquired by camera
CN116866537A (en) Projection image distortion correction method and projection system based on corner detection
JP2007279643A (en) Color correction method of dlp projector
CN113470567B (en) Display screen correction method, device and system
CN106791736B (en) Trapezoidal correction method and projector
JPH06105185A (en) Brightness correction method
CN112085803B (en) Multi-lens multi-detector spliced camera color consistency processing 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