[go: up one dir, main page]

CN111736390B - Light emitting method, light emitting device, computer apparatus, and storage medium - Google Patents

Light emitting method, light emitting device, computer apparatus, and storage medium Download PDF

Info

Publication number
CN111736390B
CN111736390B CN202010598040.6A CN202010598040A CN111736390B CN 111736390 B CN111736390 B CN 111736390B CN 202010598040 A CN202010598040 A CN 202010598040A CN 111736390 B CN111736390 B CN 111736390B
Authority
CN
China
Prior art keywords
luminous
target
sources
region
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010598040.6A
Other languages
Chinese (zh)
Other versions
CN111736390A (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.)
Interface Optoelectronics Shenzhen Co Ltd
Interface Technology Chengdu Co Ltd
General Interface Solution Ltd
Original Assignee
Interface Optoelectronics Shenzhen Co Ltd
Interface Technology Chengdu Co Ltd
General Interface Solution 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 Interface Optoelectronics Shenzhen Co Ltd, Interface Technology Chengdu Co Ltd, General Interface Solution Ltd filed Critical Interface Optoelectronics Shenzhen Co Ltd
Priority to CN202010598040.6A priority Critical patent/CN111736390B/en
Publication of CN111736390A publication Critical patent/CN111736390A/en
Application granted granted Critical
Publication of CN111736390B publication Critical patent/CN111736390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/133Constructional arrangements; Operation of liquid crystal cells; Circuit arrangements
    • G02F1/1333Constructional arrangements; Manufacturing methods
    • G02F1/1335Structural association of cells with optical devices, e.g. polarisers or reflectors
    • G02F1/1336Illuminating devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1601Constructional details related to the housing of computer displays, e.g. of CRT monitors, of flat displays

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Nonlinear Science (AREA)
  • General Physics & Mathematics (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Optics & Photonics (AREA)
  • Computer Hardware Design (AREA)
  • Chemical & Material Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Led Device Packages (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a light emitting method, a light emitting device, computer equipment and a storage medium, wherein a region to be arranged is obtained by dividing a light emitting surface into regions; acquiring a current region to be arranged, and randomly adding a luminous source into the current region to be arranged; acquiring a target distance range and initial positions of all luminous sources in a current region to be arrayed; adjusting the initial positions of all luminous sources in the current region to be arranged according to the target distance range to obtain the target positions of all the luminous sources in the current region to be arranged; arranging all luminous sources in the current area to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current area to be arranged; arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain an arranged luminous surface, and controlling the arranged luminous surface to emit light; the arrangement efficiency of the luminous sources can be improved, the brightness uniformity is ensured, the interference phenomenon is avoided, and the display effect is improved.

Description

Light emitting method, light emitting device, computer apparatus, and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a light emitting method and apparatus, a computer device, and a storage medium.
Background
Liquid Crystal Display (LCD) devices have many advantages such as thin body, power saving, and no radiation, and are widely used. Most of the existing LCDs are backlight LCDs, which include a liquid crystal panel and a backlight module. Since the liquid crystal panel does not emit light, the light source provided by the backlight module is needed to normally display the image, and therefore, the brightness uniformity of the backlight module has a great influence on the display uniformity of the LCD.
At present, in order to improve the brightness uniformity of the backlight module, all the light sources in the light emitting surface of the backlight module are usually arranged at regular intervals. However, the regular and equidistant arrangement of all the light sources is likely to cause interference phenomenon, which seriously affects the display effect.
Disclosure of Invention
In view of the above, it is necessary to provide a light emitting method, a light emitting apparatus, a computer device, and a storage medium capable of improving a display effect.
A method of emitting light, the method comprising:
carrying out region division on the light emitting surface to obtain a plurality of regions to be arranged;
acquiring a current region to be arranged from the plurality of regions to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged;
acquiring a target distance range and initial positions of all luminous sources in the current region to be arrayed;
adjusting the initial positions of all the luminous sources in the current region to be arranged according to the target distance range and a triangulation method to obtain the target positions of all the luminous sources in the current region to be arranged;
arranging all the luminous sources in the current area to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current area to be arranged;
arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain the arranged luminous surface;
and controlling the arranged light emitting surface to emit light.
In one embodiment, the adjusting the initial positions of the light emitting sources in the current region to be arranged according to the target distance range and a triangulation method to obtain the target positions of the light emitting sources in the current region to be arranged includes:
according to the initial positions of all the light-emitting sources in the current region to be arranged, all the light-emitting sources in the current region to be arranged are connected based on a triangulation method to obtain a connecting line set, and the length of each connecting line in the connecting line set is calculated;
acquiring a correction coefficient, and calculating to obtain a movement vector of each light-emitting source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient;
and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
In one embodiment, the obtaining the correction coefficient, and the calculating the initial motion vector of each light emitting source in the current region to be arranged according to the length of each connection line, the target distance range, and the correction coefficient includes:
acquiring a correction coefficient, and calculating the moving distance of each luminous source in the current region to be arranged according to the length of each connecting line and the correction coefficient;
determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range;
and forming a movement vector of each luminous source in the current region to be arranged by the initial movement distance and the initial movement direction.
In one embodiment, the adding the initial positions of the light-emitting sources in the current region to be arranged and the corresponding motion vectors to obtain the target positions of the light-emitting sources in the current region to be arranged includes:
when the moving distance of each luminous source in the current area to be arranged is greater than a preset moving distance threshold, adding the initial position of each luminous source in the current area to be arranged and the corresponding moving vector to obtain the target position of each luminous source in the current area to be arranged;
and when the moving distance of each light-emitting source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each light-emitting source in the current region to be arranged as a target position.
In one embodiment, the arranging the target arrangement modes of the light emitting sources in other areas in the light emitting surface according to the target arrangement mode of the light emitting sources in the current area to be arranged to obtain the arranged light emitting surface includes:
arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain a plurality of target arrangement areas;
acquiring the position of the boundary luminous source of each target arrangement region, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement region according to the position of the boundary luminous source of each target arrangement region;
determining the region spacing between the target arrangement regions according to the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions;
and combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain an arranged light emitting surface.
In one embodiment, the determining the region distance between the target arrangement regions according to the distance between the boundary light emitting sources corresponding to the adjacent target arrangement regions includes:
when the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions exceeds the target distance range, moving each target arrangement region, and adjusting the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions to be within the target distance range;
and acquiring the position of each moved target arrangement region, and calculating the region spacing between the target arrangement regions according to the position of each moved target arrangement region.
A light emitting device, the device comprising:
the area division module is used for carrying out area division on the light emitting surface to obtain a plurality of areas to be arranged;
the luminous source adding module is used for acquiring a current area to be arranged and randomly adding a plurality of luminous sources into the current area to be arranged;
the light emitting source position adjusting module is used for acquiring a target distance range and initial positions of all light emitting sources in the current region to be arranged; adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range to obtain the target position of each luminous source in the current region to be arranged;
the luminous source arrangement module is used for arranging all luminous sources in the current area to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current area to be arranged; arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain the arranged luminous surface;
and the light-emitting control module is used for controlling the arranged light-emitting surfaces to emit light.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the light emitting method, the light emitting device, the computer equipment and the storage medium, the light emitting surface is divided into the regions to obtain the plurality of regions to be arranged; acquiring a current region to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged; acquiring a target distance range and initial positions of all luminous sources in a current region to be arrayed; adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range to obtain the target position of each luminous source in the current region to be arranged; the light emitting sources in the current region to be arranged are arranged according to the target positions, the target arrangement mode of the light emitting sources in the current region to be arranged is obtained, the brightness uniformity of the current region to be arranged can be guaranteed, meanwhile, the interference phenomenon is avoided, and the display effect is improved. And arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain the arranged luminous surface, and controlling the arranged luminous surface to emit light, so that the calculation amount can be reduced, the arrangement efficiency of the luminous sources in the luminous surface is improved, the brightness uniformity of each area to be arranged in the luminous surface is ensured, the interference phenomenon is avoided, and the display effect of the luminous surface is improved.
Drawings
FIG. 1a is a schematic diagram of an embodiment of a liquid crystal display device;
FIG. 1b is a schematic diagram of the structure of the light emitting surface in one embodiment;
FIG. 2 is a flow chart illustrating a method of emitting light in one embodiment;
fig. 3 is a schematic flowchart illustrating a step of adjusting initial positions of light-emitting sources in a current region to be arranged to obtain target positions of the light-emitting sources in the current region to be arranged in one embodiment;
FIG. 4 is a diagram illustrating a set of connection lines in an adjusted current region to be arranged in one embodiment;
fig. 5 is a schematic flow chart illustrating a step of arranging light-emitting sources in other areas to be arranged in the light-emitting surface according to a target arrangement manner of the light-emitting sources in the current area to be arranged to obtain an arranged light-emitting surface in one embodiment;
FIG. 6 is a schematic illustration of an arrayed light emitting face in one embodiment;
FIG. 7 is a flow chart illustrating a method of emitting light in accordance with another embodiment;
FIG. 8 is a block diagram showing the structure of a light-emitting device in one embodiment;
FIG. 9 is a diagram of an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The light emitting method provided by the application can be applied to a terminal, can also be applied to a server, can also be applied to a system comprising the terminal and the server, and is realized through the interaction of the terminal and the server. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server can be implemented by an independent server or a server cluster formed by a plurality of servers.
The terminal and/or the server may control a Liquid Crystal Display (LCD) shown in fig. 1 to implement the above-described light emitting method. As shown in fig. 1a, the LCD includes an LCD panel, an upper diffusion sheet, an upper brightness enhancement sheet, a lower diffusion sheet, a light guide layer, and a light emitting surface. The light emitting surface is used for providing a light source to realize the display of images. As shown in fig. 1b, a plurality of light emitting sources capable of emitting light are disposed on the light emitting surface.
In one embodiment, as shown in fig. 2, a method for emitting light is provided, which is described by taking the method as an example for a terminal, and includes the following steps:
step 202, performing area division on the light emitting surface to obtain a plurality of areas to be arranged.
The light-emitting surface is one of the important components of the LCD backlight module, and because the light-emitting surface is configured with a plurality of light-emitting sources, the light-emitting surface is used to provide sufficient light sources. The area to be arranged is an area obtained by dividing the light emitting surface into areas, and the light emitting surface can be obtained by combining a plurality of areas to be arranged.
Specifically, the terminal can obtain the light emitting surface by scanning or establishing a virtual model, so that the light emitting surface is controlled, and the light emitting method is realized. The terminal can divide the area of the luminous surface to obtain a plurality of areas to be arranged with the same size. Alternatively, a region to be arranged is obtained in the light-emitting surface in an integer proportional relationship with the size of the light-emitting surface, in accordance with the size of the light-emitting surface.
In one embodiment, the light emitting surface may be a conventional panel that has been configured with light emitting sources. Wherein the light emitting sources on the light emitting surface are regularly and equidistantly arranged as shown in fig. 1 b.
In one embodiment, the light emitting surface may be a panel without light emitting sources, and similarly, the region to be arranged may also be a region where light emitting sources are arranged. When the light emitting surface is not configured with the light emitting source, the terminal can configure the light emitting source for one to-be-arranged area of the light emitting surface according to the traditional mode, the arrangement mode of the light emitting source in the to-be-arranged area is adjusted through the light emitting method, and then the light emitting source is configured for the light emitting surface according to the arrangement mode of the adjusted light emitting source in the to-be-arranged area.
Step 204, obtaining a current region to be arranged from the plurality of regions to be arranged, and randomly adding a plurality of light emitting sources into the current region to be arranged.
Wherein the region to be arranged is any one region in the luminous surface. The size of the current region to be arranged is in integral proportion to the size of the light-emitting surface.
Specifically, the terminal selects one area from a plurality of areas to be arranged obtained by dividing the light emitting surface as the current area to be arranged. Or, the terminal arbitrarily extracts an area in integral proportion to the size of the light emitting surface from the light emitting surface as the current area to be arranged.
Further, when the current region to be arranged is configured with the light emitting sources at equal intervals in a conventional manner, the terminal randomly adds a plurality of light emitting sources in the current region to be arranged. Wherein the positions and the number of the newly added luminous sources are random.
And step 206, acquiring a target distance range and initial positions of all the light-emitting sources in the current region to be arrayed.
The target distance may be the distance between the light emitting sources equidistantly arranged in the current region to be arranged; other values are possible for specifying the spacing between the individual light-emitting sources in the area currently to be arranged. The target pitch range is a range set in combination with a margin of allowable error on the basis of the target pitch. For example, if the target pitch is 4mm (millimeters), then the target pitch may range from 3.5mm (millimeters) to 4.5mm (millimeters). Each luminous source in the current region to be arranged comprises luminous sources which are equidistantly arranged and new luminous sources which are randomly added. The initial position is an initial configuration position before the arrangement mode of each luminous source in the current area to be arranged is not adjusted.
And 208, adjusting the initial positions of all the luminous sources in the current region to be arranged according to the target distance range and the triangulation method to obtain the target positions of all the luminous sources in the current region to be arranged.
The target position is a configuration position planned by the terminal for each luminous source in the current region to be arranged. The target position may be the same as the initial position or may be different from the initial position.
Specifically, since the new light sources are added randomly, the brightness uniformity of the current region to be arranged cannot be guaranteed, and therefore, the initial positions of the light sources in the current region to be arranged need to be adjusted. And the terminal adjusts the initial positions of all luminous sources in the current region to be arranged by a target distance range and a triangulation method. The triangulation method is a basic research method of algebraic topology. When a plane is divided into a block of fragments by a triangulation method, the following conditions are required to be satisfied: (1) each fragment is triangular; (2) Any two triangles on the plane can only have one common side at most. Due to the characteristics of the triangulation method, each luminous source in the current area to be arranged is used as a vertex, so that the current area to be arranged is divided into a plurality of approximately equilateral triangles, namely, the distances among the luminous sources are approximately equal. The target distance range is used for restricting the distance between the light-emitting sources, that is, after the triangulation method and the target distance range are adjusted, the distances between the light-emitting sources in the current region to be arranged are approximately equal and basically belong to the target distance range, and the adjusted positions are used as the target positions of the light-emitting sources in the current region to be arranged.
In one embodiment, in the process of adjusting the initial positions of the light-emitting sources in the current region to be arranged, if the adjusted distance between the light-emitting sources exceeds the target distance range, the number of the light-emitting sources added at random needs to be adjusted. When the adjusted distance between the light-emitting sources is smaller than the lower limit value of the target distance range, the number of the light-emitting sources added randomly can be reduced, and then the distance between the light-emitting sources in the current region to be arranged is further adjusted through a triangulation method and the target distance range, so that the target position of each light-emitting source in the current region to be arranged is obtained. When the adjusted distance between the light-emitting sources is larger than the upper limit value of the target distance range, the number of the light-emitting sources added randomly can be increased, and then the distance between the light-emitting sources in the current region to be arranged is further adjusted through a triangulation method and the target distance range, so that the target position of each light-emitting source in the current region to be arranged is obtained.
Step 210, arranging each luminous source in the current region to be arranged according to the target position to obtain the target arrangement mode of the luminous source in the current region to be arranged.
The target arrangement mode comprises the number of the luminous sources and target positions corresponding to the luminous sources.
Step 212, arranging the light sources of other areas to be arranged in the light emitting surface according to the target arrangement mode of the light sources in the current area to be arranged to obtain the arranged light emitting surface.
Specifically, the terminal can copy the target arrangement mode of the light emitting sources in the current area to be arranged to other areas to be arranged in the light emitting surface, so that the arrangement modes of the light emitting sources in the other areas to be arranged in the light emitting surface are the same as those of the light emitting sources in the current area to be arranged, and are all the target arrangement modes, the brightness uniformity of each area in the light emitting surface can be ensured, and the arranged light emitting surface is obtained by combining a plurality of arranged areas to be arranged.
In one embodiment, when the current region to be arranged is a region extracted from the light emitting surface and proportional to the size of the light emitting surface, the arranged current region to be arranged may be tiled according to an integer proportional relationship, so as to obtain the arranged light emitting surface.
In one embodiment, after triangulation is performed on the current region to be arranged, the light emitting sources at the outermost periphery may be regularly arranged, so that the light emitting sources at the outermost periphery and regularly arranged in the current region to be arranged may be removed first, and then the target arrangement manner of the light emitting sources in the current region to be arranged is copied to other regions to be arranged in the light emitting surface, so as to obtain the arranged light emitting surface.
In one embodiment, after the target arrangement manner of the light emitting sources in the current region to be arranged is copied to other regions to be arranged in the light emitting surface, there may be a case where the distance between the light emitting sources in the adjacent regions at the region boundary exceeds the target distance range, that is, is greater than the upper limit value of the target distance range or is less than the lower limit value of the target distance range. Therefore, after the target arrangement mode of the luminous sources in the current area to be arranged is copied to other areas to be arranged in the luminous surface, the distance between the areas to be arranged can be finely adjusted, so that the distance between the luminous sources at the area boundary basically falls into the target distance range, and the brightness uniformity is ensured.
And 214, controlling the arranged light-emitting surfaces to emit light.
In the light emitting method, a plurality of regions to be arranged are obtained by dividing the light emitting surface into regions; acquiring a current region to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged; acquiring a target distance range and initial positions of all luminous sources in a current region to be arrayed; adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range to obtain the target position of each luminous source in the current region to be arranged; the light-emitting sources in the current region to be arranged are arranged according to the target positions, the target arrangement mode of the light-emitting sources in the current region to be arranged is obtained, the brightness uniformity of the current region to be arranged can be guaranteed, meanwhile, the interference phenomenon is avoided, and the display effect is improved. And arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain the arranged luminous surface, and controlling the arranged luminous surface to emit light, so that the calculation amount can be reduced, the arrangement efficiency of the luminous sources in the luminous surface is improved, the brightness uniformity of each area to be arranged in the luminous surface is ensured, the interference phenomenon is avoided, and the display effect of the luminous surface is improved.
In one embodiment, as shown in FIG. 3, step 208 includes:
step 302, connecting each luminous source in the current region to be arranged based on a triangulation method according to the initial position of each luminous source in the current region to be arranged to obtain a connecting line set, and calculating the length of each connecting line in the connecting line set;
step 304, acquiring a correction coefficient, and calculating to obtain a movement vector of each light emitting source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient;
step 306, adding the initial positions of the light-emitting sources in the current region to be arranged and the corresponding motion vectors to obtain the target positions of the light-emitting sources in the current region to be arranged.
The most common triangulation method is the Delaunay triangulation method, which requires the sum of the side lengths of triangles to be the minimum as possible, and the circumscribed circle of each triangle does not contain any other point in the plane. Wherein, the Delaunay triangulation method comprises the following steps: a flanging algorithm, a point-by-point insertion algorithm, a segmentation and combination algorithm, a Bowyer-Watson algorithm and the like. The terminal can adjust the initial positions of the light emitting sources in the current region to be arranged by any triangulation method, which is not limited herein.
Specifically, each light emitting source in the current region to be arranged is taken as a vertex, and the terminal connects each light emitting source with its adjacent light emitting source satisfying the triangulation method based on the triangulation method according to the initial position of each light emitting source in the current region to be arranged, so as to obtain a connection line set. And then, the length of each connecting line in the connecting line set, namely the distance between two connected luminous sources can be calculated through the initial position of each luminous source in the current region to be arranged.
Further, after the length of each connecting line, that is, the distance between two connected light-emitting sources is obtained, the position of each light-emitting source needs to be adjusted, so that the distance between the two connected light-emitting sources can be within a target distance range, and the uniformity of the luminance of light emission is ensured. When the initial positions of the light emitting sources in the current region to be arranged are adjusted, the terminal can obtain preset correction coefficients, and the movement vectors of the light emitting sources in the current region to be arranged are obtained through the length of each connecting line, the target distance range and the correction coefficients. Wherein the movement vector comprises a movement distance and a movement direction.
Step 306 includes: acquiring a correction coefficient, and calculating the moving distance of each luminous source in the current region to be arranged according to the length of each connecting line and the correction coefficient; determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range; and the initial moving distance and the initial moving direction form the moving vector of each luminous source in the current region to be arranged.
Wherein the correction coefficient is a proportionality coefficient for correcting a deviation between a pitch between the connected light emitting sources and a target pitch range.
Specifically, the terminal multiplies the length of the current connection line by the correction coefficient, so as to obtain the moving distance of the light emitting source corresponding to the current connection line. And judging the relationship between the length of the current connecting line and the target distance range, and when the length of the current connecting line is greater than the upper limit value of the target distance range, taking the direction of shortening the connecting line as the moving direction of the luminous source corresponding to the current connecting line. And when the length of the current connecting line is smaller than the lower limit value of the target distance range, taking the direction of stretching the connecting line as the moving direction of the luminous source corresponding to the current connecting line.
Step 308 comprises: when the moving distance of each luminous source in the current area to be arranged is larger than a preset moving distance threshold value, adding the initial position of each luminous source in the current area to be arranged and the corresponding moving vector to obtain the target position of each luminous source in the current area to be arranged; and when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each luminous source in the current region to be arranged as a target position.
The preset moving distance threshold is used for limiting the moving times of each luminous source in the current region to be arranged, so that repeated and invalid movement of each luminous source in the current region to be arranged is avoided, and the efficiency can be improved while the luminous sources are effectively moved.
Specifically, when the moving distance of each light emitting source in the current region to be arranged is greater than a preset moving distance threshold, the moving distance is added to the initial position of each light emitting source in the current region to be arranged in the moving direction, so as to obtain the target position of each light emitting source in the current region to be arranged. After each luminous source in the current region to be arranged is moved to the corresponding target position, the target position is used as an initial position, the operation of calculating the movement vector of each luminous source in the current region to be arranged and moving each luminous source in the current region to be arranged from the initial position to the corresponding target position is repeatedly executed. And when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold value, directly taking the initial position of each luminous source in the current region to be arranged as a target position, and stopping further moving each luminous source. The finally obtained adjusted connection line set in the current region to be arranged is shown in fig. 4. As shown in fig. 4, different from the conventional regular equidistant arrangement, the adjusted light-emitting sources in the current area to be arranged are irregularly and approximately equidistantly arranged, so that the interference phenomenon can be avoided while the brightness uniformity is ensured, and the display effect is improved.
In this embodiment, the initial positions of the light sources in the current region to be arranged are adjusted through a triangulation method and a target distance range to obtain the target positions of the light sources in the current region to be arranged, and under the combined action of the triangulation method and the target distance range, the adjusted light sources in the current region to be arranged are irregularly and approximately equidistantly arranged, so that the interference phenomenon can be avoided while the brightness uniformity is ensured, and the display effect is improved.
In one embodiment, as shown in FIG. 5, step 212 includes:
502, arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain a plurality of target arrangement areas;
step 504, acquiring the position of the boundary light-emitting source of each target arrangement region, and calculating the distance of the boundary light-emitting source corresponding to the adjacent target arrangement region according to the position of the boundary light-emitting source of each target arrangement region;
step 506, determining the region spacing between each target arrangement region according to the distance of the boundary luminous source corresponding to the adjacent target arrangement regions;
and step 508, combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain the arranged light emitting surface.
The target arrangement region is a region obtained by arranging the light-emitting sources in the region to be arranged according to a target arrangement mode. The boundary light-emitting sources are light-emitting sources located at the boundaries of the respective target arrangement regions.
Specifically, the terminal arranges the light emitting sources in other to-be-arranged areas in the light emitting surface according to the target arrangement mode of the light emitting sources in the current to-be-arranged area, so that a plurality of target arrangement areas can be obtained. And acquiring the positions of the boundary luminous sources of the target arrangement regions, and connecting the boundary luminous sources of the target arrangement regions based on a triangulation method according to the positions of the boundary luminous sources of the target arrangement regions to obtain a plurality of boundary connecting lines. And calculating the length of each boundary connecting line, namely the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions according to the positions of the boundary luminous sources of each target arrangement region. And comparing the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions with the target distance range, and determining the region distance between the target arrangement regions according to the comparison result.
Step 506 specifically includes: when the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas exceeds the target distance range, moving each target arrangement area, and adjusting the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas to be within the target distance range; and acquiring the position of each target arrangement region after the movement, and calculating to obtain the region spacing between each target arrangement region according to the position of each target arrangement region after the movement.
In one embodiment, the adjacent target arrangement region includes a plurality of boundary light sources, and the terminal may calculate lengths of boundary connection lines corresponding to the current adjacent target arrangement region, compare the lengths of the boundary connection lines corresponding to the current adjacent target arrangement region with the target distance range, and determine a motion vector of each boundary light source. The terminal superposes the motion vectors of all boundary luminous sources corresponding to the current adjacent target arrangement regions to obtain the motion vectors of the current adjacent target arrangement regions, so that the region spacing between the current adjacent target arrangement regions is determined.
In one embodiment, the terminal may slightly move each target arrangement region in each direction, such as up, down, left, right, and the like, to achieve fine adjustment of the region interval between each target arrangement region, thereby determining the region interval between each target arrangement region, so that the distribution of the boundary light-emitting sources in each target arrangement region is consistent with the distribution of the light-emitting sources at the center position of each target arrangement region, and ensuring brightness uniformity.
Further, after determining the inter-region distances between the respective target arrangement regions, the terminal combines the respective target arrangement regions according to the inter-region distances between the respective target arrangement regions, and may obtain the arranged light emitting surface, as shown in fig. 6. In fig. 6, the large area on the right side is the entire arrayed light-emitting surface, and the small area on the left side is one of the target arrayed areas.
In the embodiment, the light sources of other regions to be arranged in the light emitting surface are arranged by the target arrangement mode of the light sources in the current region to be arranged, so that a plurality of target arrangement regions can be quickly obtained, and the arranged light emitting surface can be quickly obtained; and the interval of each luminous source in the whole arranged luminous surface is kept consistent basically by adjusting the interval of the areas among the target arrangement areas, so that the brightness uniformity is ensured.
In one embodiment, as shown in fig. 7, another light emitting method is provided, which is described by taking the method as an example for being applied to a terminal, and includes the following steps:
step 702, performing area division on a light-emitting surface to obtain a plurality of areas to be arranged with the same size;
step 704, obtaining a current region to be arranged from the plurality of regions to be arranged, and randomly adding a plurality of light-emitting sources into the current region to be arranged;
step 706, acquiring a target distance range and initial positions of all luminous sources in the current region to be arranged;
708, connecting the light emitting sources in the current region to be arranged based on a triangulation method according to the initial positions of the light emitting sources in the current region to be arranged to obtain a connecting line set, and calculating the length of each connecting line in the connecting line set;
step 710, acquiring a correction coefficient, and calculating the moving distance of each luminous source in the current region to be arranged according to the length of each connecting line and the correction coefficient;
step 712, determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range;
714, forming a movement vector of each luminous source in the current region to be arranged by the initial movement distance and the initial movement direction;
step 716, when the moving distance of each light emitting source in the current region to be arranged is greater than the preset moving distance threshold, adding the initial position of each light emitting source in the current region to be arranged and the corresponding moving vector to obtain the target position of each light emitting source in the current region to be arranged;
step 718, when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold, taking the initial position of each luminous source in the current region to be arranged as a target position;
step 720, arranging all the luminous sources in the current area to be arranged according to the target positions to obtain the target arrangement mode of the luminous sources in the current area to be arranged;
step 722, arranging the light emitting sources in other areas to be arranged in the light emitting surface according to the target arrangement mode of the light emitting sources in the current areas to be arranged to obtain a plurality of target arrangement areas;
step 724, acquiring the position of the boundary luminous source of each target arrangement area, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement area according to the position of the boundary luminous source of each target arrangement area;
step 726, when the distance of the boundary luminous source corresponding to the adjacent target arrangement region exceeds the target distance range, moving each target arrangement region, and adjusting the distance of the boundary luminous source corresponding to the adjacent target arrangement region to be within the target distance range;
step 728, obtaining the position of each target arrangement region after movement, and calculating the region spacing between each target arrangement region according to the position of each target arrangement region after movement;
step 730, combining all the target arrangement areas according to the area spacing among all the target arrangement areas to obtain an arranged light emitting surface;
and a step 732 of controlling the arranged light emitting surface to emit light.
In the embodiment, the light emitting surface is divided into regions to obtain a plurality of regions to be arranged with the same size, the arrangement mode of the light emitting sources in one region to be arranged is calculated through a triangulation method and a target distance range to obtain a target arrangement mode of the light emitting sources in the region to be arranged, and the target arrangement mode is copied to other regions to be arranged to obtain the arranged light emitting surface, so that the light emitting area of each region in the light emitting surface is the same, the interference phenomenon can be avoided while the brightness uniformity is ensured, and the display effect is improved. In addition, when other light-emitting surfaces are designed subsequently, the target arrangement mode of the area to be arranged can be directly copied, and convenience is improved.
It should be understood that although the steps in the flowcharts of fig. 2, 3, 5, and 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in fig. 2, 3, 5, and 7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternatively with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 8, there is provided a light emitting device 800 comprising: the device comprises a region division module 801, a light source adding module 802, a light source position adjusting module 803, a light source arrangement module 804 and a light emitting control module 805, wherein:
the area division module 801 is used for carrying out area division on the light emitting surface to obtain a plurality of areas to be arranged;
a light source adding module 802, configured to obtain a current region to be arranged, and add a plurality of light sources in the current region to be arranged at random;
a light source position adjusting module 803, configured to obtain a target distance range and initial positions of light sources in a current region to be arranged; adjusting the initial positions of all luminous sources in the current region to be arranged according to the target distance range to obtain the target positions of all the luminous sources in the current region to be arranged;
the light emitting source arrangement module 804 is configured to arrange each light emitting source in the current area to be arranged according to a target position, so as to obtain a target arrangement mode of the light emitting sources in the current area to be arranged; arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain the arranged luminous surface;
and a light emitting control module 805 for controlling the arranged light emitting surfaces to emit light.
In one embodiment, the light source position adjusting module 803 is further configured to connect the light sources in the current region to be arranged based on a triangulation method according to the initial positions of the light sources in the current region to be arranged, to obtain a connection line set, and calculate the length of each connection line in the connection line set; acquiring a correction coefficient, and calculating to obtain a movement vector of each luminous source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient; and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
In an embodiment, the light source position adjusting module 803 is further configured to obtain a correction coefficient, and calculate, according to the length of each connection line and the correction coefficient, a moving distance of each light source in the current region to be arranged; determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range; and the initial moving distance and the initial moving direction form the moving vector of each luminous source in the current region to be arranged.
In one embodiment, the light source position adjusting module 803 is further configured to, when the moving distance of each light source in the current area to be arranged is greater than a preset moving distance threshold, add the initial position of each light source in the current area to be arranged to the corresponding moving vector to obtain the target position of each light source in the current area to be arranged; and when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each luminous source in the current region to be arranged as a target position.
In one embodiment, the light source arrangement module 804 is further configured to arrange the light sources in other areas to be arranged in the light emitting surface according to a target arrangement manner of the light sources in the current area to be arranged, so as to obtain a plurality of target arrangement areas; acquiring the position of the boundary luminous source of each target arrangement region, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement region according to the position of the boundary luminous source of each target arrangement region; determining the region spacing between each target arrangement region according to the distance of the boundary luminous source corresponding to the adjacent target arrangement regions; and combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain the arranged light emitting surface.
In one embodiment, the light source arrangement module 804 is further configured to move each target arrangement region when the distance between the boundary light sources corresponding to the adjacent target arrangement regions exceeds the target distance range, and adjust the distance between the boundary light sources corresponding to the adjacent target arrangement regions to be within the target distance range; and acquiring the position of each target arrangement region after the movement, and calculating to obtain the region spacing between each target arrangement region according to the position of each target arrangement region after the movement.
For specific limitations of the light emitting device, reference may be made to the above limitations of the light emitting method, which are not described herein again. The respective modules in the above-described light-emitting device may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a lighting method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of: carrying out area division on the light-emitting surface to obtain a plurality of areas to be arranged; acquiring a current region to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged; acquiring a target distance range and initial positions of all luminous sources in a current region to be arrayed; adjusting the initial positions of all luminous sources in the current region to be arranged according to the target distance range to obtain the target positions of all the luminous sources in the current region to be arranged; arranging all luminous sources in the current region to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current region to be arranged; arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain the arranged luminous surface; and controlling the arranged light emitting surface to emit light.
In one embodiment, the processor when executing the computer program further performs the steps of: connecting the light emitting sources in the current region to be arranged based on a triangulation method according to the initial positions of the light emitting sources in the current region to be arranged to obtain a connecting line set, and calculating the length of each connecting line in the connecting line set; acquiring a correction coefficient, and calculating to obtain a motion vector of each luminous source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient; and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a correction coefficient, and calculating the moving distance of each luminous source in the current region to be arranged according to the length of each connecting line and the correction coefficient; determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range; and the initial moving distance and the initial moving direction form the moving vector of each luminous source in the current region to be arranged.
In one embodiment, the processor when executing the computer program further performs the steps of: when the moving distance of each luminous source in the current area to be arranged is larger than a preset moving distance threshold value, adding the initial position of each luminous source in the current area to be arranged and the corresponding moving vector to obtain the target position of each luminous source in the current area to be arranged; and when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each luminous source in the current region to be arranged as a target position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain a plurality of target arrangement areas; acquiring the position of the boundary luminous source of each target arrangement region, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement region according to the position of the boundary luminous source of each target arrangement region; determining the region spacing between each target arrangement region according to the distance of the boundary luminous source corresponding to the adjacent target arrangement regions; and combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain the arranged light emitting surface.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas exceeds the target spacing range, moving each target arrangement area, and adjusting the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas to be within the target spacing range; and acquiring the position of each moved target arrangement region, and calculating the region spacing between each target arrangement region according to the position of each moved target arrangement region.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: carrying out region division on the light emitting surface to obtain a plurality of regions to be arranged; acquiring a current region to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged; acquiring a target distance range and initial positions of all luminous sources in a current region to be arrayed; adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range to obtain the target position of each luminous source in the current region to be arranged; arranging all luminous sources in the current region to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current region to be arranged; arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain the arranged luminous surface; and controlling the arranged light emitting surface to emit light.
In one embodiment, the computer program when executed by the processor further performs the steps of: connecting the light emitting sources in the current region to be arranged based on a triangulation method according to the initial positions of the light emitting sources in the current region to be arranged to obtain a connecting line set, and calculating the length of each connecting line in the connecting line set; acquiring a correction coefficient, and calculating to obtain a motion vector of each luminous source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient; and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a correction coefficient, and calculating the moving distance of each luminous source in the current region to be arranged according to the length of each connecting line and the correction coefficient; determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range; and the initial moving distance and the initial moving direction form the moving vector of each luminous source in the current region to be arranged.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the moving distance of each luminous source in the current area to be arranged is larger than a preset moving distance threshold value, adding the initial position of each luminous source in the current area to be arranged and the corresponding moving vector to obtain the target position of each luminous source in the current area to be arranged; and when the moving distance of each luminous source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each luminous source in the current region to be arranged as a target position.
In one embodiment, the computer program when executed by the processor further performs the steps of: arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain a plurality of target arrangement areas; acquiring the position of the boundary luminous source of each target arrangement region, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement region according to the position of the boundary luminous source of each target arrangement region; determining the region spacing between each target arrangement region according to the distance of the boundary luminous source corresponding to the adjacent target arrangement regions; and combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain the arranged light emitting surface.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas exceeds the target distance range, moving each target arrangement area, and adjusting the distance of the boundary luminous sources corresponding to the adjacent target arrangement areas to be within the target distance range; and acquiring the position of each target arrangement region after the movement, and calculating to obtain the region spacing between each target arrangement region according to the position of each target arrangement region after the movement.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of emitting light, the method comprising:
carrying out area division on the light-emitting surface to obtain a plurality of areas to be arranged;
acquiring a current region to be arranged from the plurality of regions to be arranged, and randomly adding a plurality of luminous sources into the current region to be arranged;
acquiring a target distance range and initial positions of all luminous sources in the current region to be arrayed;
adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range and a triangulation method to obtain the target position of each luminous source in the current region to be arranged;
arranging all the luminous sources in the current area to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current area to be arranged;
arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain the arranged luminous surface;
and controlling the arranged light-emitting surfaces to emit light.
2. The method according to claim 1, wherein the adjusting the initial positions of the light-emitting sources in the current region to be arranged according to the target distance range and a triangulation method to obtain the target positions of the light-emitting sources in the current region to be arranged comprises:
connecting the light emitting sources in the current region to be arranged based on a triangulation method according to the initial positions of the light emitting sources in the current region to be arranged to obtain a connecting line set, and calculating the length of each connecting line in the connecting line set;
acquiring a correction coefficient, and calculating to obtain a movement vector of each light-emitting source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient;
and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
3. The method according to claim 2, wherein the obtaining of the correction factor and the calculating of the initial motion vector of each light emitting source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction factor comprises:
acquiring a correction coefficient, and calculating the moving distance of each light-emitting source in the current region to be arranged according to the length of each connecting line and the correction coefficient;
determining the moving direction of each luminous source in the current region to be arranged according to the length of each connecting line and the target distance range;
and forming the movement vector of each luminous source in the current region to be arranged by the initial movement distance and the initial movement direction.
4. The method of claim 3, wherein the adding the initial position of each light-emitting source in the current area to be arranged to the corresponding motion vector to obtain the target position of each light-emitting source in the current area to be arranged comprises:
when the moving distance of each luminous source in the current area to be arranged is greater than a preset moving distance threshold, adding the initial position of each luminous source in the current area to be arranged and the corresponding moving vector to obtain the target position of each luminous source in the current area to be arranged;
and when the moving distance of each light-emitting source in the current region to be arranged is smaller than a preset moving distance threshold value, taking the initial position of each light-emitting source in the current region to be arranged as a target position.
5. The method according to claim 1, wherein the arranging the target arrangement of the light emitting sources in other areas of the light emitting surface according to the target arrangement of the light emitting sources in the current area to be arranged, and obtaining the arranged light emitting surface comprises:
arranging the luminous sources in other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current area to be arranged to obtain a plurality of target arrangement areas;
acquiring the position of the boundary luminous source of each target arrangement region, and calculating the distance of the boundary luminous source corresponding to the adjacent target arrangement region according to the position of the boundary luminous source of each target arrangement region;
determining the region spacing between the target arrangement regions according to the distance of the boundary luminous source corresponding to the adjacent target arrangement regions;
and combining the target arrangement regions according to the region spacing among the target arrangement regions to obtain an arranged light emitting surface.
6. The method of claim 5, wherein the determining the inter-region distance between the target arrangement regions according to the distances between the boundary light sources corresponding to the adjacent target arrangement regions comprises:
when the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions exceeds the target distance range, moving each target arrangement region, and adjusting the distance of the boundary luminous sources corresponding to the adjacent target arrangement regions to be within the target distance range;
and acquiring the position of each moved target arrangement region, and calculating the region spacing between the target arrangement regions according to the position of each moved target arrangement region.
7. A light-emitting apparatus, comprising:
the area division module is used for carrying out area division on the light-emitting surface to obtain a plurality of areas to be arranged;
the luminous source adding module is used for acquiring a current area to be arranged and randomly adding a plurality of luminous sources into the current area to be arranged;
the light emitting source position adjusting module is used for acquiring a target distance range and initial positions of all light emitting sources in the current region to be arranged; adjusting the initial position of each luminous source in the current region to be arranged according to the target distance range to obtain the target position of each luminous source in the current region to be arranged;
the luminous source arrangement module is used for arranging all luminous sources in the current area to be arranged according to target positions to obtain a target arrangement mode of the luminous sources in the current area to be arranged; arranging the luminous sources of other areas to be arranged in the luminous surface according to the target arrangement mode of the luminous sources in the current areas to be arranged to obtain the arranged luminous surface;
and the light emitting control module is used for controlling the arranged light emitting surfaces to emit light.
8. The apparatus of claim 7, wherein the light source position adjusting module is further configured to connect the light sources in the current region to be arranged based on a triangulation method to obtain a connection line set; calculating the length of each connecting line in the connecting line set according to the initial position of each luminous source in the current region to be arranged; acquiring a correction coefficient, and calculating to obtain a movement vector of each light-emitting source in the current region to be arranged according to the length of each connecting line, the target distance range and the correction coefficient; and adding the initial positions of all the luminous sources in the current area to be arranged and the corresponding motion vectors to obtain the target positions of all the luminous sources in the current area to be arranged.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010598040.6A 2020-06-28 2020-06-28 Light emitting method, light emitting device, computer apparatus, and storage medium Active CN111736390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010598040.6A CN111736390B (en) 2020-06-28 2020-06-28 Light emitting method, light emitting device, computer apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010598040.6A CN111736390B (en) 2020-06-28 2020-06-28 Light emitting method, light emitting device, computer apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN111736390A CN111736390A (en) 2020-10-02
CN111736390B true CN111736390B (en) 2022-11-29

Family

ID=72651396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010598040.6A Active CN111736390B (en) 2020-06-28 2020-06-28 Light emitting method, light emitting device, computer apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN111736390B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4243633B2 (en) * 2001-04-19 2009-03-25 エーユー オプトロニクス コーポレイション Discrete pattern generation method, program, recording medium, and discrete pattern generation system
US8907991B2 (en) * 2010-12-02 2014-12-09 Ignis Innovation Inc. System and methods for thermal compensation in AMOLED displays
KR101791152B1 (en) * 2011-03-29 2017-10-30 삼성디스플레이 주식회사 Light providing assembly and interactive display device having the same
CN110308578A (en) * 2018-03-20 2019-10-08 广东欧珀移动通信有限公司 Display screen and mobile terminal
CN111182227A (en) * 2018-11-13 2020-05-19 上海耕岩智能科技有限公司 Topological structure light source driving method applied to under-screen image imaging, storage medium and electronic equipment
CN111884049B (en) * 2020-04-26 2021-05-25 东莞埃科思科技有限公司 Dot matrix generation method and device, storage medium, electronic device and VCSEL array light source
CN111695257B (en) * 2020-06-11 2023-04-11 业成科技(成都)有限公司 LED layout generation method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN111736390A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US10657912B2 (en) Display with pixel dimming for curved edges
US10262599B2 (en) Display backlight brightness adjustment
KR100955258B1 (en) Display brightness control method
US10643549B1 (en) Display with adjustable direct-lit backlight units
US11183148B2 (en) Image display device and method of operating the same
US8614662B2 (en) Display control apparatus and method, and program
CN113240578B (en) Image special effect generation method and device, electronic equipment and storage medium
CN117711320A (en) Method, equipment, display device and storage medium for adjusting display brightness
CN114296678A (en) Special-shaped screen display method and device, display control equipment and storage medium
US20200135084A1 (en) Chromaticity Compensation Method, Chromaticity Compensation Device and Storage Medium
CN110164385B (en) Backlight brightness adjusting method
JP2019507361A (en) Image defective pixel compensation method, apparatus, and non-transitory computer-readable storage medium
CN110046573B (en) Face image recognition method and device, computer equipment and storage medium
CN111736390B (en) Light emitting method, light emitting device, computer apparatus, and storage medium
JP6271496B2 (en) Self-luminous display device burn-in prevention system, method, and computer program
CN116168653B (en) Backlight control method of display device, backlight controller and related device
WO2010064295A1 (en) Display control device, display device, and display control program
CN110853578A (en) Voltage compensation method and device
CN117117049B (en) Wafer repair methods, apparatus, equipment, media and program products
TW201923732A (en) Display driver
US9495766B2 (en) Simulating color diffusion in a graphical display
CN113963671B (en) Display method, terminal and storage medium
CN112419492B (en) Adaptive control method for sampling number of pixel path in visual perception driven Monte card rendering
CN110675830A (en) Dynamic dimming method of regional backlight based on improved fireworks algorithm for image processing
CN112988364B (en) Dynamic task scheduling method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant