CN112435265B - Lamp effect synchronous processing method and device and computer readable storage medium - Google Patents

Lamp effect synchronous processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN112435265B
CN112435265B CN202011228052.6A CN202011228052A CN112435265B CN 112435265 B CN112435265 B CN 112435265B CN 202011228052 A CN202011228052 A CN 202011228052A CN 112435265 B CN112435265 B CN 112435265B
Authority
CN
China
Prior art keywords
information
display
picture
color
lamp
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
CN202011228052.6A
Other languages
Chinese (zh)
Other versions
CN112435265A (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.)
LCFC Hefei Electronics Technology Co Ltd
Original Assignee
LCFC Hefei Electronics 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 LCFC Hefei Electronics Technology Co Ltd filed Critical LCFC Hefei Electronics Technology Co Ltd
Priority to CN202011228052.6A priority Critical patent/CN112435265B/en
Publication of CN112435265A publication Critical patent/CN112435265A/en
Application granted granted Critical
Publication of CN112435265B publication Critical patent/CN112435265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a lamp effect synchronous processing method, a device and a computer readable storage medium, which are applied to electronic display equipment, wherein the electronic display equipment comprises a display picture and a display lamp, the display lamp is arranged at the corresponding position of the display picture, and the method comprises the following steps: acquiring characteristic information, wherein the characteristic information comprises the lamp condition information of a display lamp and the picture content information of a display picture, and the picture content information comprises picture color information; performing segmentation processing on the display picture based on the characteristic information to obtain region color information corresponding to the display picture; performing color analysis processing on the display lamp according to the regional color information to obtain display color information corresponding to the display lamp; and indicating the display lamp to display the target color corresponding to the display picture according to the display color information. The embodiment of the invention provides a lamp effect synchronous processing method, a device and a computer readable storage medium, which have the characteristic that the target color displayed by a display lamp is consistent with the picture color of a display picture.

Description

Lamp effect synchronous processing method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of electronic display equipment, in particular to a lamp effect synchronous processing method and device and a computer readable storage medium.
Background
With the continuous development of electronic display products, people have higher requirements on the display effect of electronic display equipment. At present, in order to make people have better experience of the display picture, many electronic display devices can make people have experience of the immersive picture, lamps capable of changing colors are installed on positions corresponding to the electronic display devices, users can directly use fixed modes set by manufacturers for the lamps, the modes set by the manufacturers for the lamps are single, and users cannot have the immersive experience.
Disclosure of Invention
The embodiment of the invention provides a lamp effect synchronous processing method, a device and a computer readable storage medium, which have the characteristic that the target color displayed by a display lamp is consistent with the picture color of a display picture.
An embodiment of the present invention provides a lamp effect synchronization processing method, which is applied to an electronic display device, where the electronic display device includes a display screen and a display lamp, and the display lamp is disposed at a corresponding position of the display screen, and the method includes: acquiring characteristic information, wherein the characteristic information comprises the lamp condition information of the display lamp and the picture content information of the display picture, and the picture content information comprises picture color information; performing segmentation processing on the display picture based on the characteristic information to obtain region color information corresponding to the display picture; performing color analysis processing on the display lamp according to the regional color information to obtain display color information corresponding to the display lamp; and indicating the display lamp to display the target color corresponding to the display picture according to the display color information.
In an embodiment, the dividing the display screen based on the feature information to obtain the region color information corresponding to the display screen includes: performing picture segmentation processing on the display picture according to the light condition information and the picture content information to obtain a segmentation area; and performing color information extraction processing on the divided areas according to the picture color information to obtain area color information corresponding to the divided areas.
In an embodiment, the light condition information includes first light condition information in a first direction and second light condition information in a second direction, the screen content information includes first screen content information in the first direction and second screen content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are located in the same plane parallel to the display screen; correspondingly, the image segmentation processing is performed on the display image according to the light condition information and the image content information to obtain segmented regions, and the method includes: performing first picture segmentation processing on the first picture content information according to the first light condition information to obtain first region information; performing second picture segmentation processing on the first picture content information according to the second light condition information to obtain second area information; and determining a segmentation area according to the first area information and the second area information.
In an embodiment, determining the partition area according to the first area information and the second area information includes: determining a first segmentation area in a first direction according to the first area information; determining a second division area in a second direction according to the second area information; and determining a segmentation region according to the first segmentation region and the second segmentation region.
In an embodiment, determining the partition area according to the first area information and the second area information includes: determining a first segmentation area in a first direction according to the first area information and the second area information; determining a second division area in a second direction according to the first area information and the second area information; and determining a segmentation region according to the first segmentation region and the second segmentation region.
In an embodiment, performing color analysis processing on the display lamp according to the region color information to obtain display color information corresponding to the display lamp includes: performing region average color processing on the segmented region according to the region color information to obtain region average color information; and performing color display analysis processing on the display lamp according to the region average color information to obtain display color information corresponding to the display lamp.
In one possible embodiment, before obtaining the feature information, the method includes: acquiring original information, wherein the original information comprises picture size information of the display picture and lamp distance information of the display lamp; and analyzing and processing the lamp condition of the display lamp according to the original information to obtain the lamp condition information of the display lamp.
Another aspect of an embodiment of the present invention provides a lamp effect synchronization device, which is applied to an electronic display device, where the electronic display device includes a display screen and a display lamp, and the display lamp is disposed at a corresponding position of the display screen, and the device includes: a first obtaining module, configured to obtain feature information, where the feature information includes light condition information of the display light and picture content information of the display picture, and the picture content information includes picture color information; the segmentation processing module is used for carrying out segmentation processing on the display picture based on the characteristic information to obtain region color information corresponding to the display picture; the color analysis processing module is used for carrying out color analysis processing on the display lamp according to the region color information to obtain display color information corresponding to the display lamp; and the indicating module is used for indicating the display lamp to display the target color corresponding to the display picture according to the display color information.
In one embodiment, the segmentation processing module comprises: the picture segmentation processing submodule is used for carrying out picture segmentation processing on the display picture according to the light condition information and the picture content information to obtain a segmentation area; and the color information extraction processing submodule is used for extracting color information from the divided areas according to the picture color information to obtain area color information corresponding to the divided areas.
In an embodiment, the light condition information includes first light condition information in a first direction and second light condition information in a second direction, the screen content information includes first screen content information in the first direction and second screen content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are located in the same plane parallel to the display screen; the picture segmentation processing submodule comprises: a first picture dividing unit, configured to perform first picture dividing processing on the first picture content information according to the first light condition information, so as to obtain first area information; a second picture dividing unit, configured to perform second picture dividing processing on the first picture content information according to the second light condition information, to obtain second area information; a determining unit configured to determine a division area according to the first area information and the second area information.
In one embodiment, the determining unit includes: a first determining subunit, configured to determine a first divided area in a first direction according to the first area information; a second determining subunit, configured to determine a second divided area in a second direction according to the second area information; a third determining subunit, configured to determine a segmented region according to the first segmented region and the second segmented region.
In an embodiment, the determining unit further includes: a fourth determining subunit, configured to determine a first divided area in the first direction according to the first area information and the second area information; a fifth determining subunit, configured to determine a second divided area in a second direction according to the first area information and the second area information; a sixth determining subunit, configured to determine a segmented region according to the first segmented region and the second segmented region.
In one embodiment, the color analysis processing module comprises: the region average color processing submodule is used for carrying out region average color processing on the segmentation region according to the region color information to obtain region average color information; and the color display analysis processing submodule is used for carrying out color display analysis processing on the display lamp according to the region average color information to obtain display color information corresponding to the display lamp.
In an embodiment, the apparatus further comprises: the second acquisition module is used for acquiring original information, wherein the original information comprises the picture size information of the display picture and the lamp distance information of the display lamp; and the lamp condition analysis processing module is used for carrying out lamp condition analysis processing on the display lamp according to the original information to obtain the lamp condition information of the display lamp.
An embodiment of the present invention further provides a computer-readable storage medium, where the storage medium includes a set of computer-executable instructions, and when the instructions are executed, the storage medium is configured to execute any one of the lamp effect synchronization processing methods described above.
The embodiment of the invention provides a lamp effect synchronous processing method, a device and a computer readable storage medium, which are applied to electronic display equipment, wherein the electronic display equipment comprises a display picture and a display lamp, the display lamp is arranged at a corresponding position of the display picture, the picture currently displayed by the display picture of the electronic display equipment is divided to obtain regional color information, the display lamp is subjected to color analysis processing according to the regional color information to obtain display color information corresponding to the display lamp, the display lamp is instructed to display a target color corresponding to the display picture according to the display color information, and the picture color of the current display picture is consistent with the color displayed by the display lamp. When the display picture of the electronic display equipment changes, the characteristic information can be obtained again to obtain the color information again, the target color displayed by the display lamp is adjusted according to the obtained display color information, so that the display lamp corresponds to the picture currently displayed by the display picture, the effect of synchronizing the target color displayed by the display lamp and the picture color of the display picture is achieved, the environment atmosphere corresponding to the display picture is provided, and the user has immersive picture experience.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 is a schematic flow chart illustrating an implementation of a lamp effect synchronization processing method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain color information of a region according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a method for synchronously processing lighting effects to obtain partitioned areas according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a method for determining a partition area according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating a method for determining a partition area according to another embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain display color information according to an embodiment of the present invention;
fig. 7 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain lamp condition information according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of a lamp effect synchronization apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart illustrating an implementation of a lamp effect synchronization processing method according to an embodiment of the present invention.
Referring to fig. 1, in one aspect, an embodiment of the present invention provides a lamp effect synchronization processing method, where the method includes: the method is applied to the electronic display equipment, the electronic display equipment comprises a display picture and a display lamp, and the display lamp is arranged at the corresponding position of the display picture, and the method comprises the following steps: step 101, obtaining characteristic information, wherein the characteristic information comprises light condition information of a display light and picture content information of a display picture, and the picture content information comprises picture color information; 102, dividing the display picture based on the characteristic information to obtain regional color information corresponding to the display picture; 103, performing color analysis processing on the display lamp according to the regional color information to obtain display color information corresponding to the display lamp; and 104, indicating the display lamp to display the target color corresponding to the display picture according to the display color information.
The lamp effect synchronous processing method provided by the embodiment of the invention is applied to electronic display equipment comprising a display picture and a display lamp, wherein the display lamp is arranged at a corresponding position of the display picture, so that the display color of the display lamp corresponds to the picture color of the display picture, so as to provide an environmental atmosphere corresponding to the display picture when the display lamp displays a target color, and objects which reflect or scatter light rays, such as a white wall, a curtain, an opaque plastic plate and the like, can be arranged around the display picture.
According to the method, after the characteristic information is obtained, the current displayed picture of the display picture is divided based on the characteristic information to obtain the regional color information, the display lamp is subjected to color analysis processing according to the regional color information to obtain the display color information corresponding to the display lamp, the display lamp is indicated to display the target color corresponding to the display picture according to the display color information, and the consistency of the picture color of the current display picture and the color displayed by the display lamp is realized. When the display picture of the electronic display equipment changes, the characteristic information can be obtained again to obtain the color information again, the target color displayed by the display lamp is adjusted according to the obtained display color information, so that the display lamp corresponds to the picture currently displayed by the display picture, the effect of synchronizing the target color displayed by the display lamp and the picture color of the display picture is achieved, the environment atmosphere corresponding to the display picture is provided, and the user has immersive picture experience. The method can solve the problem that the picture color of the display picture is not consistent with the color displayed by the display lamp.
In step 101 of the embodiment of the present invention, the feature information is obtained, and the feature information may be obtained in real time, or a period of time may be set first, and the feature information may be obtained after a period of time, or the feature information may be obtained after detecting that the display screen has changed. The characteristic information includes lamp condition information for characterizing the installation condition of the display lamps arranged at the corresponding positions of the display screen, and the lamp condition information may include information on the number of the display lamps and information on the installation positions of the display lamps. The characteristic information also comprises picture content information, the picture content information is information related to picture content currently displayed by the display picture, the picture content information can be obtained by function operation in an application programming interface of a Microsoft 32-bit platform, the picture content information comprises picture color information and picture content size information, and the picture color information is color information currently displayed by the whole display picture; the picture content size information may be embodied in the form of picture resolution, for example, 1080p picture resolution may be 1920 pixels × 1080 pixels.
It can be understood that, when the picture content in the display picture is changed, the obtained picture content information refers to information about the picture content currently displayed on the display picture after the change, where the picture color information refers to color information currently displayed on the entire display picture after the change of the display picture, and the picture content size information refers to information about the size of the picture content in the current display picture after the change of the display picture.
In step 102, a current screen displayed on the display screen is divided according to the feature information to obtain a plurality of divided screens, and the screen color information and the divided screens are subjected to color processing to obtain region color information. Wherein the region color information is used to represent color information corresponding to the divided picture. When the display screen has various colors, the color information of the regions corresponding to different divided screens may be different.
In step 103, the region color information may include at least one color information, and color analysis is performed on each color included in the region color information to obtain color analysis information including only one color. The color analysis may perform color averaging on each color to obtain color analysis information, or may select the same color with the largest area in the color information of the area as the color analysis information. The color represented by the color analysis information may be close to the color in the region where the divided picture is located as a whole. The color analysis information is determined as display color information. The display color information may be displayed as RGB information, and the display color information is used to instruct the display lamp to display the target color.
In step 104, the display color information obtained by the color analysis method may be the same color information as the region color information or may be different color information from the region color information. It is understood that since the color analysis is based on the region color information, the target color has a certain correlation with the region color information. The target color is the color which is displayed by the display lamp and corresponds to the currently displayed picture of the display picture. In an implementation case, the target color can be obtained by controlling the display lamp to display through the lamp control hardware according to the display color information.
In one implementation scenario, a display screen of a computer is used to display a display image, the display image is 1080p, the resolution of the image is 1920 pixels × 1080 pixels, a plurality of display lamps are arranged at the edge of the back of the computer, and display color information is displayed as RGB information. Characteristic information including at least light condition information, information of a picture resolution of 1920 pixels × 1080 pixels, and picture color information is acquired. The method comprises the steps of carrying out segmentation processing on a picture currently displayed by a display screen based on characteristic information, obtaining area color information corresponding to each segmented picture and corresponding to display lamps, carrying out color analysis processing on the display lamps according to the area color information, obtaining RGB information corresponding to the display lamps, controlling lamp control hardware to adjust each display lamp to a target color corresponding to the area color information according to the RGB information, and enabling the target color displayed by the display lamps to correspond to the picture color of each segmented picture. Furthermore, when the display picture is determined to be changed, the characteristic information can be controlled to be obtained again, the display picture is divided and color analysis is carried out, the target color displayed by the display lamp is adjusted through the lamp control hardware, so that the display lamp corresponds to the picture currently displayed by the display picture, the effect of synchronizing the target color displayed by the display lamp and the picture color of the display picture is achieved, and the environment atmosphere corresponding to the display picture is provided.
Fig. 2 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain color information of a region according to an embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, performing segmentation processing on a display screen based on feature information to obtain region color information corresponding to the display screen includes: step 201, performing picture segmentation processing on a display picture according to the light condition information and the picture content information to obtain a segmentation area; in step 202, color information extraction processing is performed on the divided regions based on the screen color information, and region color information corresponding to the divided regions is obtained.
In step 201, a current displayed picture of the display screen is subjected to a picture division process according to the light condition information and the picture content size information, and a divided region is obtained. In one implementation case, a screen division ratio is obtained based on the information on the number of display lamps and the information on the size of the screen content, and a division region is obtained by performing screen division processing on the entire display screen based on the screen division ratio.
In step 202, color information extraction processing is performed on the divided regions based on the screen color information, and region color information corresponding to the divided regions is obtained. The region color information may include at least one color information, and the region color information may be displayed as RGB information. In one possible implementation, the region color information corresponding to the divided regions is extracted from the screen color information according to the ratio between the divided regions. In another possible implementation case, the color information extraction is directly performed in each of the divided regions based on the picture color information, and the region color information is obtained.
Fig. 3 is a schematic flow chart illustrating a method for processing lighting effect synchronization to obtain partitioned areas according to an embodiment of the present invention.
Referring to fig. 3, in the embodiment of the present invention, the light condition information includes first light condition information in a first direction and second light condition information in a second direction, the picture content information includes first picture content information in the first direction and second picture content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are located in the same plane parallel to the display picture; correspondingly, the picture segmentation processing is carried out on the display picture according to the light condition information and the picture content information to obtain a segmentation area, and the method comprises the following steps: step 301, performing a first picture segmentation process on the first picture content information according to the first light condition information to obtain first region information; step 302, performing a second picture segmentation process on the first picture content information according to the second light condition information to obtain second area information; step 303, determining the segmentation area according to the first area information and the second area information.
In the embodiment of the present invention, the first direction and the second direction may be determined according to a boundary of the display screen, the first direction may be determined according to a first boundary edge of the display screen, and the second direction may be determined according to a second boundary edge of the display screen that is not parallel to the first boundary edge, for example, when the display screen is rectangular, the first direction is a direction parallel to the first boundary edge, and the second direction is a direction parallel to a second edge perpendicular to the first boundary edge.
In step 301, the first light condition information includes the number of display lights in the first direction, the first picture content information includes the picture content size information in the first direction, and the first area information is obtained according to the number of display lights in the first direction and the picture content size information in the first direction, and is used for representing the boundary size of the area in the first direction obtained by performing the first picture division processing on the first picture content information, and the first area information may be the first resolution. In one implementation, the picture content size information in the first direction is resolution information of the display picture in the first direction, and the resolution in the first direction is divided by the number of display lamps in the first direction to obtain the first resolution.
In step 302, the second light condition information includes the number of display lights in the second direction, the second picture content information includes the picture content size information in the second direction, and the second area information is obtained according to the number of display lights in the second direction and the picture content size information in the second direction, and is used to represent the area boundary size information in the second direction obtained by performing the second picture segmentation processing on the second picture content information, and the second area information may be the second resolution. In one implementation case, the picture content size information in the second direction is resolution information of the display picture in the second direction, and the resolution in the second direction is divided by the number of display lamps in the second direction to obtain the second resolution.
In step 303, a size of one region boundary edge of the divided region and a size of a boundary edge parallel to the region boundary edge are determined based on first region information representing region boundary size information in the first direction, and a size of another region boundary edge of the divided region and a size of a boundary edge parallel to the region boundary edge are determined based on second region information representing region boundary size information in the second direction.
In an implementation case, in the case that the display screen is rectangular, the first direction may be a direction parallel to a boundary edge representing a width of the display screen, the second direction may be a direction parallel to a boundary edge representing a height of the display screen, the first light condition information may include at least information on the number of display lamps in the first direction and information on positions of the display lamps in the first direction, the second light condition information may include at least information on the number of display lamps in the second direction and information on positions of the display lamps in the second direction, the first picture content information may include at least information on a resolution in the first direction, the second picture content information may include at least information on a resolution in the second direction, the first resolution information in the first direction may be obtained by step 301, the second resolution information in the second direction may be obtained by step 302, the resolution information of each divided region may be determined based on the first resolution information and the second resolution information, the first resolution information and the second resolution information may be processed to determine the segmentation region.
Fig. 4 is a flowchart illustrating a method for determining a partition area according to an embodiment of the present invention.
Referring to fig. 4, in an embodiment of the present invention, determining a division area according to first area information and second area information includes: step 401, determining a first segmentation area in a first direction according to first area information; step 402, determining a second division area in a second direction according to second area information; step 403, determining a segmentation area according to the first segmentation area and the second segmentation area.
In an embodiment of the present invention, the first divided region is a divided region in the first direction, and the size of all boundary edges of the first divided region may be determined by the first region information. The second divided area is a divided area in the second direction, and the size of all boundary edges of the second divided area may be determined by the second area information. In one implementation, the first divided region may be a square or other shape having boundary edges of the same size, the size of the region boundary indicated by the first region information may be determined as the size of each boundary edge in the first divided region, the second divided region may be a square or other shape having boundary edges of the same size, and the size of the region boundary indicated by the second region information may be determined as the size of each boundary edge in the second divided region.
Fig. 5 is a flowchart illustrating a method for determining a partition area according to another embodiment of the present invention.
Referring to fig. 5, in an embodiment of the present invention, determining a division area according to first area information and second area information includes: step 501, determining a first segmentation area in a first direction according to first area information and second area information; step 502, determining a second division area in a second direction according to the first area information and the second area information; step 503, determining the segmentation area according to the first segmentation area and the second segmentation area.
In one implementation, the first divided region may have boundary edges of two sizes, the size of the region boundary indicated by the first region information may be determined as a boundary edge of a first size of the first divided region, the size of the region boundary indicated by the second region information may be determined as a boundary edge of a second size of the first divided region, and the second divided region may have boundary edges of two sizes, the size of the region boundary indicated by the first region information may be determined as a boundary edge of a first size of the second divided region, and the size of the region boundary indicated by the second region information may be determined as a boundary edge of a second size of the second divided region.
Fig. 6 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain display color information according to an embodiment of the present invention.
Referring to fig. 6, in the embodiment of the present invention, performing color analysis processing on a display lamp according to the region color information to obtain display color information corresponding to the display lamp includes: 601, performing area average color processing on the divided areas according to the area color information to obtain area average color information; and step 602, performing color display analysis processing on the display lamp according to the area average color information to obtain display color information corresponding to the display lamp.
In the embodiment of the present invention, for one divided region, the average color calculation processing may be performed on the region color information corresponding to the divided region, the average color calculation processing may be performed on all colors in the region color, or the average color calculation processing may be performed on similar colors in the region color, so as to obtain the region average color information corresponding to the divided region and including only one color, and the region average color information may be obtained by performing the average color processing on each divided region in the above manner, and may be represented as RGB information. In one possible implementation, the average color calculation process may be performed in the LAB mode, and the obtained color is converted into RGB information in the RGB mode, and the average color calculation process is performed in the LAB mode, so that a full and brighter color can be obtained, and a color close to the segmented region as a whole can be better obtained. In another possible implementation, the average color calculation process may be performed directly in the RGB mode. It is understood that the divided area is at the edge of the display screen, and the area average color information corresponding to the divided area can be used to represent the color of the edge of the display screen, so that through step 602, the display color information corresponding to the screen color displayed at the edge of the display screen can be obtained to provide the ambient atmosphere corresponding to the display screen when the display color information indicates the display lamp to display the color.
Fig. 7 is a schematic flow chart illustrating a method for synchronously processing lamp effects to obtain lamp condition information according to an embodiment of the present invention.
Referring to fig. 7, in the embodiment of the present invention, before obtaining the feature information, the method further includes: step 701, acquiring original information, wherein the original information comprises picture size information of a display picture and lamp distance information of a display lamp; and step 702, analyzing the lamp condition of the display lamp according to the original information to obtain the lamp condition information of the display lamp.
In an embodiment of the present invention, the picture size information is boundary size information of the display picture, for example, when the display picture is rectangular, the picture size information is used to represent a width and a height of the display picture, and the picture size information can be obtained by reading Extended Display Identification Data (EDID). The lamp distance information is used for representing the distance between the installed display lamps. In an implementation case, information such as the number of display lamps and the installation position information of the display lamps may be determined through step 702, so as to obtain the lamp condition information of the display lamps.
In order to facilitate further understanding of the implementation method, a specific implementation scenario is provided below, in which a display picture is displayed through a screen, an LED strip is disposed around the screen, and a plurality of LED beads are disposed on the LED strip. The method includes the steps of obtaining horizontal and vertical sizes of a current screen by reading Extended Display Identification Data (EDID), analyzing and processing lamp conditions of LED lamp beads according to original information corresponding to an LED lamp strip to obtain lamp condition information of the LED lamp beads, for example, obtaining the number of LED particles corresponding to the X direction of the current screen by dividing the X-direction distance of each LED lamp bead by the horizontal size of the screen, and obtaining the number of LED particles corresponding to the Y direction of the current screen by dividing the Y-direction distance of each LED by the vertical size of the screen, wherein the total number of LED particles can be obtained by adding two times of the number of LED particles in the Y direction to the number of LED particles in the X direction, and the LED distance parameter is obtained by calculating parameters such as luminous flux, normal vector, wavelength … and the like of the LED.
The number of the LED particles can be calculated by the following formula:
the distance between X directions of the LED lamp beads is assumed to be Lx, and the distance between Y directions of the LED lamp beads is assumed to be Ly; the horizontal dimension of the screen is Px, and the vertical dimension is Py (unit: cm)
The calculation formula of the number of the LED particles in each direction of the screen is as follows:
LEDx=Px/Lx
LEDy=Py/Ly
total LED number LEDx +2 LEDy
Then, the picture content information is obtained through function operation in the application programming interface of the Microsoft 32-bit platform, and the picture content information contains picture color information. And performing picture segmentation processing on the display picture according to the light condition information and the picture content information to obtain a segmentation area.
The picture content division can adopt the following method:
the method comprises the following steps:
suppose that the screen has a picture width of IMGx and a picture height of IMGy (Unit: Pixel)
Width Hx of screen X direction picture picking up IMGx/LEDx
Height Hy ═ Hx for screen X direction picture pick-up
Height Vy of screen Y direction picture picking up is IMGy/LEDy
Width Vx ═ Vy for screen Y direction picture picking
And determining a segmentation area according to the height Hy and the width Vx.
The method 2 comprises the following steps:
suppose that the screen has a picture width of IMGx and a picture height of IMGy (Unit: Pixel)
Width Hx of screen X direction picture picking up IMGx/LEDx
Height Hy ═ Vy for screen X direction picture capture
Height Vy of screen Y direction picture picking up is IMGy/LEDy
Width Vx Hx of screen Y direction picture pick-up
And determining a segmentation area according to the height Hy and the width Vx.
Then, color information extraction processing is carried out on the divided areas according to the picture color information to obtain area color information corresponding to the divided areas, and area average color processing is carried out on the divided areas according to the area color information to obtain area average color information; and performing color display analysis processing on the display lamp according to the area average color information to obtain display color information corresponding to the display lamp.
And finally, indicating and controlling the display lamp to display the target color according to the display color information through lamp control hardware. When the change of the picture color of the screen is detected, the target color displayed by the display lamp can be controlled to be adjusted according to the change of the picture color of the display picture according to the mode, the effect of synchronizing the target color displayed by the display lamp and the picture color of the display picture is achieved, the environment atmosphere corresponding to the display picture is provided, and therefore a user can have an immersive picture experience feeling.
Fig. 8 is a schematic block diagram of a lamp effect synchronization apparatus according to an embodiment of the present invention.
Referring to fig. 8, another aspect of the present invention provides a lamp effect synchronization apparatus applied to an electronic display apparatus, where the electronic display apparatus includes a display screen and a display lamp, and the display lamp is disposed at a corresponding position of the display screen, and the apparatus includes: a first obtaining module 801, configured to obtain feature information, where the feature information includes light condition information of a display light and picture content information of a display picture, and the picture content information includes picture color information; a division processing module 802, configured to perform division processing on the display screen based on the feature information, and obtain area color information corresponding to the display screen; a color analysis processing module 803, configured to perform color analysis processing on the display lamp according to the region color information, so as to obtain display color information corresponding to the display lamp; and an indicating module 804, configured to indicate the display lamp to display a target color corresponding to the display screen according to the display color information.
In this embodiment of the present invention, the segmentation processing module 802 includes: the picture division processing submodule 8021 is configured to perform picture division processing on the display picture according to the light condition information and the picture content information to obtain a division area; the color information extraction processing sub-module 8022 is configured to perform color information extraction processing on the divided areas according to the picture color information, and obtain area color information corresponding to the divided areas.
In the embodiment of the present invention, the light condition information includes first light condition information in a first direction and second light condition information in a second direction, the picture content information includes first picture content information in the first direction and second picture content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are located in the same plane parallel to the display picture; the picture division processing sub-module 8021 includes: a first picture division unit 80211, configured to perform a first picture division process on the first picture content information according to the first light condition information, to obtain first area information; a second picture division unit 80212, configured to perform second picture division processing on the first picture content information according to the second light condition information, to obtain second area information; a determining unit 80213, configured to determine the division area according to the first area information and the second area information.
In the embodiment of the present invention, the determining unit 80213 includes: a first determining subunit 802131, configured to determine a first divided area in the first direction according to the first area information; a second determining subunit 802132, configured to determine a second divided area in the second direction according to the second area information; a third determining subunit 802133, configured to determine the segmentation area based on the first segmentation area and the second segmentation area.
In this embodiment of the present invention, the determining unit 80213 further includes: a fourth determining subunit 802134, configured to determine a first divided area in the first direction according to the first area information and the second area information; a fifth determining subunit 802135, configured to determine a second divided area in the second direction based on the first area information and the second area information; a sixth determining subunit 802136, configured to determine the segmented region according to the first segmented region and the second segmented region.
In an embodiment of the present invention, the color analysis processing module 803 includes: the area average color processing submodule 8031 is configured to perform area average color processing on the divided area according to the area color information to obtain area average color information; the color display analysis processing sub-module 8032 is configured to perform color display analysis processing on the display lamp according to the area average color information, and obtain display color information corresponding to the display lamp.
In an embodiment of the present invention, the apparatus further includes: a second obtaining module 805, configured to obtain original information, where the original information includes picture size information of a display picture and lamp distance information of a display lamp; and the lamp condition analyzing and processing module 806 is configured to analyze and process the lamp condition of the display lamp according to the original information, and obtain the lamp condition information of the display lamp.
Embodiments of the present invention further provide a computer-readable storage medium, where the storage medium includes a set of computer-executable instructions, and when the instructions are executed, the storage medium is configured to perform any one of the above-mentioned lamp effect synchronization processing methods.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A lamp effect synchronous processing method is applied to an electronic display device, wherein the electronic display device comprises a display picture and a display lamp, and the display lamp is arranged at a corresponding position of the display picture, and the method comprises the following steps:
acquiring characteristic information, wherein the characteristic information comprises lamp condition information of the display lamp and picture content information of the display picture, the lamp condition information comprises quantity information of the display lamp and installation position information of the display lamp, and the picture content information comprises picture color information;
the method for dividing the display picture based on the characteristic information to obtain the region color information corresponding to the display picture comprises the following steps:
performing picture segmentation processing on the display picture according to the light condition information and the picture content information to obtain a segmentation area;
performing color information extraction processing on the divided areas according to the picture color information to obtain area color information corresponding to the divided areas;
the light condition information comprises first light condition information in a first direction and second light condition information in a second direction, the picture content information comprises first picture content information in the first direction and second picture content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are positioned in the same plane parallel to the display picture;
correspondingly, the image segmentation processing is performed on the display image according to the light condition information and the image content information to obtain segmented regions, and the method includes:
performing first picture segmentation processing on the first picture content information according to the first light condition information to obtain first region information;
performing second picture segmentation processing on the second picture content information according to the second light condition information to obtain second area information;
determining a segmentation area according to the first area information and the second area information;
performing color analysis processing on the display lamp according to the regional color information to obtain display color information corresponding to the display lamp;
and indicating the display lamp to display the target color corresponding to the display picture according to the display color information.
2. The method of claim 1, wherein determining a partition region according to the first region information and the second region information comprises:
determining a first segmentation area in a first direction according to the first area information;
determining a second division area in a second direction according to the second area information;
and determining a segmentation region according to the first segmentation region and the second segmentation region.
3. The method of claim 1, wherein determining a partition region according to the first region information and the second region information comprises:
determining a first segmentation area in a first direction according to the first area information and the second area information;
determining a second division area in a second direction according to the first area information and the second area information;
and determining a segmentation region according to the first segmentation region and the second segmentation region.
4. The method of claim 1, wherein performing color analysis processing on the display lamp according to the region color information to obtain display color information corresponding to the display lamp comprises:
performing region average color processing on the segmented region according to the region color information to obtain region average color information;
and performing color display analysis processing on the display lamp according to the region average color information to obtain display color information corresponding to the display lamp.
5. The method of claim 1, wherein prior to obtaining the characterization information, the method further comprises:
acquiring original information, wherein the original information comprises picture size information of the display picture and lamp distance information of the display lamp;
and analyzing and processing the lamp condition of the display lamp according to the original information to obtain the lamp condition information of the display lamp.
6. A lamp effect synchronization device is applied to an electronic display device, wherein the electronic display device comprises a display picture and a display lamp, the display lamp is arranged at a corresponding position of the display picture, and the device comprises:
the first acquisition module is used for acquiring characteristic information, wherein the characteristic information comprises the lamp condition information of the display lamp and the picture content information of the display picture, the lamp condition information comprises the quantity information of the display lamp and the installation position information of the display lamp, and the picture content information comprises picture color information;
the segmentation processing module is configured to perform segmentation processing on the display screen based on the feature information to obtain region color information corresponding to the display screen, and includes:
the picture segmentation processing submodule is used for carrying out picture segmentation processing on the display picture according to the light condition information and the picture content information to obtain a segmentation area;
the color information extraction processing submodule is used for extracting color information from the divided areas according to the picture color information to obtain area color information corresponding to the divided areas;
the light condition information comprises first light condition information in a first direction and second light condition information in a second direction, the picture content information comprises first picture content information in the first direction and second picture content information in the second direction, the first direction is perpendicular to the second direction, and the first direction and the second direction are positioned in the same plane parallel to the display picture;
the picture segmentation processing submodule comprises:
a first picture dividing unit, configured to perform first picture dividing processing on the first picture content information according to the first light condition information, so as to obtain first area information;
a second picture dividing unit, configured to perform second picture dividing processing on the first picture content information according to the second light condition information, to obtain second area information;
a determination unit configured to determine a divided region according to the first region information and the second region information;
the color analysis processing module is used for carrying out color analysis processing on the display lamp according to the region color information to obtain display color information corresponding to the display lamp;
and the indicating module is used for indicating the display lamp to display the target color corresponding to the display picture according to the display color information.
7. A computer-readable storage medium comprising a set of computer-executable instructions that, when executed, perform the light effect synchronization processing method of any of claims 1-5.
CN202011228052.6A 2020-11-06 2020-11-06 Lamp effect synchronous processing method and device and computer readable storage medium Active CN112435265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011228052.6A CN112435265B (en) 2020-11-06 2020-11-06 Lamp effect synchronous processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011228052.6A CN112435265B (en) 2020-11-06 2020-11-06 Lamp effect synchronous processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112435265A CN112435265A (en) 2021-03-02
CN112435265B true CN112435265B (en) 2022-04-12

Family

ID=74695569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011228052.6A Active CN112435265B (en) 2020-11-06 2020-11-06 Lamp effect synchronous processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112435265B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613370B (en) * 2021-08-30 2024-03-19 江苏惠通集团有限责任公司 Atmosphere lamp control method and device, computer readable storage medium and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510394A (en) * 2009-03-13 2009-08-19 深圳市元亨光电股份有限公司 Method and apparatus for virtual display of LED display screen pixel
CN103680176A (en) * 2012-09-18 2014-03-26 中国移动通信集团公司 Signal identification system based on position information
CN104144353A (en) * 2014-08-06 2014-11-12 冠捷显示科技(中国)有限公司 Multi-zone ambient light management control method based on intelligent television
CN105096815A (en) * 2014-05-06 2015-11-25 西安诺瓦电子科技有限公司 Method for correcting brightness and chrominance of LED display screen, and LED display screen system
CN105185298A (en) * 2015-08-05 2015-12-23 西安诺瓦电子科技有限公司 Correction method of LED display screen
EP3035323A1 (en) * 2014-12-18 2016-06-22 Samsung Electronics Co., Ltd Display apparatus and controlling method
CN107025087A (en) * 2017-03-16 2017-08-08 青岛海信电器股份有限公司 A kind of method for displaying image and equipment
WO2020095404A1 (en) * 2018-11-08 2020-05-14 Necディスプレイソリューションズ株式会社 Image display system and image display method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510394A (en) * 2009-03-13 2009-08-19 深圳市元亨光电股份有限公司 Method and apparatus for virtual display of LED display screen pixel
CN103680176A (en) * 2012-09-18 2014-03-26 中国移动通信集团公司 Signal identification system based on position information
CN105096815A (en) * 2014-05-06 2015-11-25 西安诺瓦电子科技有限公司 Method for correcting brightness and chrominance of LED display screen, and LED display screen system
CN104144353A (en) * 2014-08-06 2014-11-12 冠捷显示科技(中国)有限公司 Multi-zone ambient light management control method based on intelligent television
EP3035323A1 (en) * 2014-12-18 2016-06-22 Samsung Electronics Co., Ltd Display apparatus and controlling method
CN105185298A (en) * 2015-08-05 2015-12-23 西安诺瓦电子科技有限公司 Correction method of LED display screen
CN107025087A (en) * 2017-03-16 2017-08-08 青岛海信电器股份有限公司 A kind of method for displaying image and equipment
WO2020095404A1 (en) * 2018-11-08 2020-05-14 Necディスプレイソリューションズ株式会社 Image display system and image display method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LED Toning System Based on NRF24L01 Wireless Control;Zhiliang Chen 等;《2012 24th Chinese Control and Decision Conference》;20120719;全文 *
基于动态多层不同色彩显示的灯带研发及应用;孔令华 等;《机电工程技术》;20200831;第49卷(第08期);全文 *
基于颜色属性的信号指示灯检测识别;胡灿林 等;《现代计算机》;20180331;全文 *

Also Published As

Publication number Publication date
CN112435265A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US11200716B2 (en) Overlay contrast control in augmented reality displays
US11145039B2 (en) Dynamic tone mapping method, mobile terminal, and computer readable storage medium
US8483479B2 (en) Light detection, color appearance models, and modifying dynamic range for image display
Hautiere et al. Blind contrast enhancement assessment by gradient ratioing at visible edges
US9459820B2 (en) Display processing apparatus, display processing method, and computer program product
US10950039B2 (en) Image processing apparatus
CN113709949B (en) Lighting device control method and device, electronic device and storage medium
CN106604005A (en) Automatic projection TV focusing method and system
KR100734935B1 (en) Area segmentation of an image
CN112996196A (en) Intelligent environment light control method, system, computer equipment and storage medium
US20150178949A1 (en) Apparatus for detecting region of interest and method thereof
CN112435265B (en) Lamp effect synchronous processing method and device and computer readable storage medium
CN117197261A (en) Atmosphere lamp equipment, color taking method thereof, corresponding device and medium
JP2018169831A (en) Apparatus for image comparison
CN113407461A (en) Interface test method and device, electronic equipment and storage medium
EP2100212A2 (en) Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means
CN113554022B (en) Automatic acquisition method and device for detection test data of electric power instrument
JP2013210793A (en) System, method, and program for optimizing ar display
CN103959204A (en) Information processing device, information processing method, and recording medium
CN112367752B (en) Immersive hemispherical projection system, control method and intelligent device
CN109816649A (en) A kind of method for testing software and software testing device
CN110235171A (en) System and method for compensating the reflection in display equipment
JP7194534B2 (en) Object detection device, image processing device, object detection method, image processing method, and program
CN113709433A (en) Method, device and equipment for detecting brightness of projection picture and computer storage medium
CN105893520A (en) Estimation method for urban road areas

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