CN113947708A - Lighting device lamp efficiency control method, system, device, electronic device and medium - Google Patents

Lighting device lamp efficiency control method, system, device, electronic device and medium Download PDF

Info

Publication number
CN113947708A
CN113947708A CN202111101603.7A CN202111101603A CN113947708A CN 113947708 A CN113947708 A CN 113947708A CN 202111101603 A CN202111101603 A CN 202111101603A CN 113947708 A CN113947708 A CN 113947708A
Authority
CN
China
Prior art keywords
image
image data
color
data
target display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111101603.7A
Other languages
Chinese (zh)
Inventor
周杰
吴文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhiyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan 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 Shenzhen Zhiyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202111101603.7A priority Critical patent/CN113947708A/en
Publication of CN113947708A publication Critical patent/CN113947708A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application discloses a method, a system, a device, an electronic device and a medium for controlling the lamp effect of a lighting device, wherein a first picture image acquired by a first image acquisition device and a second picture image acquired by a second image acquisition device are acquired; extracting first image data from the first picture image and extracting second image data from the second picture image; and if the first image data and the second image data acquired at the same moment are matched, controlling the light effect of the lighting assembly corresponding to the target display area. The lamp effect is controlled according to the first image data and the second image data when the first image data is matched with the second image data by acquiring the image data acquired by the two different image acquisition devices at the same time in the same target display area, so that the accuracy of controlling the lamp effect due to the error of the single image data can be effectively avoided, the accuracy of controlling the lamp effect can be improved, and the watching experience of a user is improved.

Description

Lighting device lamp efficiency control method, system, device, electronic device and medium
Technical Field
The application relates to the technical field of smart homes, in particular to a method, a system, a device, electronic equipment and a medium for controlling lamp efficiency of lighting equipment.
Background
In order to improve the viewing experience of the user, in the related art, the lighting devices are arranged around the display device and serve as background lighting devices of the display device, so that the lighting colors of the lighting devices are controlled according to the colors of the pictures displayed by the display device, the light effects of the lighting devices are controlled according to the colors of the pictures presented by the display device, and the immersive viewing experience is created. However, the accuracy of the lamp effect control of the lighting device is still low in the prior art, and the watching experience of a user is influenced.
Disclosure of Invention
In view of the above problems, the present invention provides a method, a system, a device, an electronic device and a medium for controlling a lamp efficiency of a lighting device, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a method for controlling a lamp efficiency of a lighting device, where the method includes: acquiring a first picture image acquired by a first image acquisition device, wherein a target display area is completely positioned in the acquisition range of the first image acquisition device; acquiring a second picture image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image; extracting first image data corresponding to a target display area from a first picture image; extracting second image data corresponding to the target display area from the second picture image; and if the first image data is matched with the second image data, controlling the lamp effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data.
In a second aspect, embodiments of the present application further provide a light effect control system for a lighting device, the system including: the device comprises an illumination device, a first image acquisition device, a second image acquisition device and a controller. Wherein the illumination device comprises at least one illumination assembly, each illumination assembly corresponding to one of the target display areas of the display apparatus; the first image acquisition device is used for acquiring a first picture image, wherein the target display area is completely positioned in the acquisition range of the first image acquisition device; the second image acquisition device is used for acquiring a second picture image; the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image; the controller is used for acquiring a first picture image and a second picture image, and is also used for extracting first image data corresponding to a target display area from the first picture image and extracting second image data corresponding to the target display area from the second picture image; in addition, the controller is further configured to compare the first image data with the second image data, and control a lighting effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data if the first image data matches the second image data.
In a third aspect, an embodiment of the present application further provides a light effect control device for a lighting apparatus, where the device includes: the device comprises a first picture image acquisition module, a second picture image acquisition module, a first image data extraction module, a second image data extraction module, a comparison module and a light effect control module. The first image acquisition module is used for acquiring a first image acquired by a first image acquisition device, wherein the target display area is positioned in the acquisition range of the first image acquisition device; the second picture image acquisition module is used for acquiring a second picture image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image; the first image data extraction module is used for extracting first image data corresponding to the target display area from the first picture image; the second image data extraction module is used for extracting second image data corresponding to the target display area from the second picture image; a comparison module for comparing the first image data and the second image data; and the light effect control module is used for controlling the light effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data if the first image data is matched with the second image data.
In a fourth aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes: one or more processors, memory, and one or more applications. Wherein one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to perform the light effect control method according to the first aspect.
In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the light effect control method according to the first aspect.
According to the scheme provided by the application, a first picture image acquired by a first image acquisition device and a second picture image acquired by a second image acquisition device are acquired; extracting first image data corresponding to the target display area from the first picture image, and extracting second image data corresponding to the target display area from the second picture image; comparing the first image data and the second image data; and if the first image data and the second image data acquired at the same moment are matched, controlling the light effect of the lighting assembly corresponding to the target display area. Through obtaining the image data that two different image acquisition devices gathered same target display area at the same moment, first image data and second image data promptly, compare first image data and second image data, control the lamp effect according to the comparative result, can effectively avoid single image data's error to influence the accuracy of lamp effect control to can improve the rate of accuracy of lamp effect control, promote user's the experience of watching.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments, not all embodiments, of the present application. All other embodiments and drawings obtained by a person skilled in the art based on the embodiments of the present application without any inventive step are within the scope of the present invention.
Fig. 1 is a block diagram illustrating a lamp efficiency control system of an illumination apparatus for displaying a first surface of a display device according to an embodiment of the present application.
Fig. 2 is a block diagram illustrating a lamp efficiency control system of an illumination apparatus for displaying a second surface of a display device according to an embodiment of the present application.
Fig. 3 is a block diagram illustrating a lamp efficiency control system of an illumination apparatus according to another embodiment of the present application.
Fig. 4 shows a flowchart of a lamp efficiency control method for a lighting device according to an embodiment of the present application.
Fig. 5 shows a block diagram of a display device according to an embodiment of the present application.
Fig. 6 shows another block diagram of the display device in an embodiment of the present application.
Fig. 7 shows a block diagram of another structure of a display device according to an embodiment of the present application.
Fig. 8 shows a flowchart of a lamp efficiency control method for a lighting device according to another embodiment of the present application.
Fig. 9 is a schematic flowchart illustrating the step S2050 of determining the first color value in another embodiment of the present application.
Fig. 10 is a schematic flow chart illustrating the determination of the second color value in step S2060 in another embodiment of the present application.
Fig. 11 is a schematic flowchart illustrating a lamp efficiency control method for a lighting device according to another embodiment of the present application;
fig. 12 is a schematic flowchart illustrating a lamp efficiency control method for a lighting device according to still another embodiment of the present application;
fig. 13 is a block diagram illustrating a structure of a lamp effect control device of a lighting apparatus according to an embodiment of the present application;
fig. 14 is a block diagram illustrating an electronic device according to an embodiment of the present application;
fig. 15 shows a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In order to improve the viewing experience of the user, in the related art, the lighting devices are arranged around the display device and serve as background lighting devices of the display device, so that the lighting colors of the lighting devices are controlled according to the colors of the pictures displayed by the display device, the light effects of the lighting devices are controlled according to the colors of the pictures presented by the display device, and the immersive viewing experience is created. The image acquisition device can acquire an image including a picture displayed by the display device and control the color of the corresponding lighting equipment according to the color of the corresponding area in the image. However, the factors such as the collection angle or the fault of the image collection device cause errors in the color of the corresponding region in the collected image, and the image with the errors is adopted to control the light effect of the lighting device, so that the display of the light effect is inconsistent with the picture displayed by the display device, the accuracy of controlling the light effect of the lighting device is reduced, and the watching experience of a user is influenced.
In order to improve the above problems, the inventors of the present application have proposed a lamp efficiency control method, system, device, electronic apparatus, and medium for a lighting apparatus provided by the present application. Acquiring a first picture image acquired by a first image acquisition device and a second picture image acquired by a second image acquisition device; extracting first image data corresponding to a target display area from the first picture image, and extracting second image data corresponding to the target display area from the second picture image; comparing the first image data and the second image data; and if the first image data and the second image data acquired at the same moment are matched, controlling the light effect of the lighting assembly corresponding to the target area. Through obtaining the image data that two different image acquisition devices gathered same target display area at the same moment, first image data and second image data promptly, compare first image data and second image data, control the lamp effect according to the comparative result, can effectively avoid single image data's error to influence the accuracy of lamp effect control to can improve the rate of accuracy of lamp effect control, promote user's the experience of watching.
It should be noted that "and/or" mentioned herein describes an association relationship of associated objects, which means that there may be three relationships, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The following description is directed to an application environment of a lamp efficiency control system of a lighting device according to an embodiment of the present invention.
Referring to fig. 1 and fig. 2, fig. 1 and fig. 2 show a lamp efficiency control system of an illumination apparatus according to an embodiment of the present application, in which in the lamp efficiency control system of the illumination apparatus shown in fig. 1, a display device shows a first surface, and in this embodiment, the first surface of the display device is a surface where a display area is located. In the lamp efficiency control system of the lighting apparatus shown in fig. 2, the display device exhibits a second surface, which is opposite to the first surface. Specifically, the lamp effect control system 100 includes: an illumination device 110, a first image capturing apparatus 120, a second image capturing apparatus 130, and a controller 140.
In some embodiments, at least one lighting assembly may be included in the lighting device 110, wherein the lighting assembly is a separately controllable light module in the lighting device 110. For example, the lighting device 110 may be a light strip, which may be disposed around the display apparatus 200. For example, the light strip is disposed around an edge of the display device, or around a back edge of the display device. The lamp strip can comprise a plurality of lamp segments, wherein each lamp segment is provided with a control IC and a lamp bead, and each lamp segment can be controlled independently, so that each lamp segment can be regarded as a lighting assembly, the control instruction for the lamp strip comprises lamp segment instructions of all the lamp segments in the lamp strip, after receiving the control instruction of the lamp strip, another lamp segment (for example, the first lamp segment) in the lamp strip extracts the lamp segment instruction corresponding to the lamp segment from the control instruction, and sends the control instruction corresponding to the other lamp segment in the control instruction to the next lamp segment, so that the next lamp segment extracts the lamp segment instruction corresponding to the lamp segment from the next lamp segment, and so on, until all the lamp segments in the lamp strip extract the lamp segment instruction corresponding to the lamp segment.
Each lighting assembly corresponds to one of the target display areas a of the display apparatus 200, and during the process of displaying the picture on the display apparatus 200, the lighting assembly may display the corresponding light effect along with the color change of the picture in the target display area a of the display apparatus 200, for example, the lighting color of the lighting assembly is the same as or close to the color of the picture in the target display area of the display apparatus 200, so as to construct an immersive picture playing environment and improve the user experience.
In the embodiment of the application, the display device 200 may include at least one target display area a, the number of the target display areas a may be set according to actual use requirements, and the number of the target display areas may be selected from 1 to 512.
Alternatively, the target display area a may be, for example, an area near the edge of the display device 200.
Optionally, when the number of the target display areas a is multiple, the area sizes of the multiple target display areas a may be the same or different, and this is not limited in this application.
As shown in fig. 1, in the embodiment of the present application, a display device 200 includes ten target display areas a, and the target display areas are respectively located near the peripheral edge of the display device 200, and each target display area a is provided with one illumination device 110.
In other embodiments, the lighting device 110 may also be a lamp post, which may be vertically installed on two sides of the display device 200, in which case, the target display areas a are two, respectively located at the areas near the two side edges of the display device 200. In the case where only one lighting assembly is included in the lighting devices 110, a plurality of lighting devices 110 may be arranged on the display apparatus 200 such that the arranged plurality of lighting devices 110 exhibit rich lamp effects.
The first image capturing device 120 is used for capturing a first picture image. Wherein the target display area a is completely located in the acquisition range of the first image acquisition device 120. That is, the first image captured by the first image capturing device 120 includes an image corresponding to the complete target display area a.
The second image capturing device 130 is used for capturing a second picture image. Wherein the target display area a is completely located in the acquisition range of the second image acquisition device 130. That is, the second image captured by the second image capturing device 120 includes the image corresponding to the complete target display area a.
In some embodiments, the first image capturing device 120 and the second image capturing device 130 may be located in the same image capturing module, that is, one image capturing module includes two image capturing devices, and the two image capturing devices may respectively capture the image within their respective capturing ranges. That is, the relative positions of the first image capturing device 120 and the second image capturing device 130 are fixed. For example, the image capturing device may be a camera, and one camera module includes two separate cameras.
In other embodiments, the first image capture device 120 and the second image capture device 130 may be located in two different image capture modules. That is, the positions of the first image capturing device and the second image capturing device can be arbitrarily adjusted according to the use requirement. As shown in fig. 3, the first image capturing device 120 is disposed on one side of the display device 200, the second image capturing device 130 is disposed on the other side of the display device 200, and the first image capturing device 120 and the second image capturing device 130 are disposed opposite to each other.
The first image capturing device 120 and the second image capturing device 130 are used for capturing images facing the display device 200, and the first image capturing device 120 and the second image capturing device 130 can be placed at the edge of the display device 200. Preferably, the first image capturing device 120 and the second image capturing device 130 are symmetrically disposed with respect to the display device 200.
The controller 140 is configured to acquire data required in the embodiment of the present application, for example, a first picture image acquired by the first image acquisition device 120 and a second picture image acquired by the second image acquisition device 130, and at the same time, extract first image data corresponding to the target display area a from the first picture image and extract second image data corresponding to the target display area a from the second picture image. The controller 140 is further configured to compare the first image data with the second image data, and control the light effect of the lighting assembly corresponding to the target display area a according to the comparison result.
The controller 140 may establish communication connections with the lighting device 110, the first image capturing apparatus 120, and the second image capturing apparatus 130 in a wired or wireless manner, respectively, for data transmission. The controller 140 may also be in communication connection with the smart terminal 300 through wireless communication to adjust the capturing ranges of the images of the first image capturing device 110 and the second image capturing device 120, the lamp efficiency of the lighting device 110, and the like according to the control instruction of the smart terminal 300.
Alternatively, the controller 140 may establish a communication connection with the lighting device 110, the first image capturing apparatus 120, the second image capturing apparatus 130, the smart terminal 300, and the like through a network, thereby performing data transmission. The Network is typically the internet, but may be any other Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network or a virtual private Network, and any combination thereof. In some embodiments, the smart light strip and the mobile terminal may perform communication transmission through a specific communication protocol, where the communication protocol includes, but is not limited to, a BLE (Bluetooth low energy) protocol, a WLAN (Wireless Local Area Network) protocol, a Bluetooth protocol, a ZigBee (ZigBee) protocol, or a Wi-Fi (Wireless Fidelity) protocol.
Reference will now be made to specific examples.
Referring to fig. 4, an embodiment of the present application provides a method for controlling lamp efficiency of an illumination apparatus, where the illumination apparatus includes at least one illumination assembly, and each illumination assembly corresponds to one of target display areas of a display device, and the method may include steps S110 to S140.
And step S110, acquiring a first picture image acquired by a first image acquisition device. The target display area is completely positioned in the acquisition range of the first image acquisition device; and acquiring a second picture image acquired by a second image acquisition device. Wherein the target display area is completely located in the acquisition range of the second image acquisition device. The moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image.
In the embodiment of the application, a first picture image and a second picture image which are respectively acquired by a first image acquisition device and a second image acquisition device at the same time are acquired, so that the first picture image and the second picture image are ensured to comprise images corresponding to the same target display area at the same detection time.
In the embodiment of the application, the target display area is completely located in the acquisition range of the first image acquisition device, and the target display area is completely located in the acquisition ranges of the second image acquisition device and the second image acquisition device, so that the first picture image acquired by the first image acquisition device includes image data corresponding to the complete target display area. The second image acquired by the second image acquisition device comprises image data corresponding to the complete target display area.
Specifically, the first image acquisition device acquires and obtains a first picture image facing the display device, and the second image acquisition device acquires and obtains a second picture image facing the display device. And acquiring a first picture image/a second picture image in the process of displaying the picture by the display device, wherein the first picture image/the second picture image comprises the image data of the picture corresponding to the target display area.
The image data may include the number and coordinates of the pixels of the image, and color data corresponding to the color displayed by each pixel. It can be understood that the color data may represent the colors of the pixel points of the image in a digital form by using a plurality of color modes, and the common color modes include, for example: RGB (Red, Red; Green, Green; Blue, Blue) mode, CMYK (Cyan, Cyan; Magenta; Yellow, Yellow; blacK, blacK) mode, HSB (Hue; Saturation; Brightness) mode, and the like. It is understood that different color modes can be mutually converted, that is, the color data of the pixel point can be converted from the RGB mode to the CMYK mode, etc. The distribution condition of the colors in the picture image can be known according to the image data, and then the lamp effect of the lighting equipment is controlled according to the distribution condition of the colors.
In the embodiment of the application, the first image acquisition device and the second image acquisition device can acquire images according to a preset detection period, that is, each detection time is used for acquiring and acquiring images. The first picture image is an image acquired by the first image device at the detection time, and the second picture image is an image acquired by the second image device at the same detection time. In the embodiment of the application, the detection time is any detection time when the first image acquisition device and the second image acquisition device acquire the first picture image facing the display device in the process of displaying the picture by the display device. That is, at each detection time in the detection period, the first image capturing device and the second image capturing device may respectively perform image capturing, and respectively capture the first picture image and the second picture image corresponding to the detection time.
In some embodiments, the carrier of the display device may be a product with a display function, such as a mobile phone, a notebook computer, a tablet computer, a television, or the like; the display device can be used for displaying pictures such as television programs, video on demand, live video, game pictures, advertisement videos and the like. The carrier and the purpose of the display device may be set according to actual requirements, which is not specifically limited in this application.
In some embodiments, the first image capturing device and the second image capturing device may be a camera, a video camera, a scanner, and other devices with a photographing function (e.g., a mobile phone, a tablet computer, etc.), which is not limited in this application.
In the scheme of the application, both the first picture image acquired by the first image acquisition device and the second picture image acquired by the second image acquisition device respectively include at least a target display area of the display device, that is, at least a picture displayed corresponding to the target display area of the display device is included in the acquired first picture image and the acquired second picture image. When the unnecessary image area is included in the first screen image/second screen image, the image of the unnecessary area may be cropped out. Illustratively, when the display device is placed on a desk, the first picture image/the second picture image captured by the first image capturing device/the second image capturing device not only includes the display picture of the display device, but also may include a part of the desk area around the display device, on one hand, in order to prevent the surrounding environment (e.g., the desk area) from affecting the accuracy of image data acquisition, and on the other hand, in order to reduce the amount of computation, the part of the desk area around the display device may be cut out as needed.
In the embodiment of the present application, as shown in fig. 5, the display device 200 generally includes a display area 210 for screen display and a non-display area 220. The display area 210 is generally a device having a display function, such as a display screen, and in the embodiment of the present application, the target display area is a partial area or a whole area in the display area. The non-display area 220 is generally a frame, and as science and technology are continuously developed, the size of the frame is gradually narrowed. That is to say, the proportion of the picture image corresponding to the non-display area in the picture image acquired by the image acquisition device is small, so that the influence of the picture image of the frame on the lamp effect is small and can be ignored.
Optionally, in some embodiments, the first/second picture images captured by the first/second image capturing devices include a target display area in a display screen of the display device. Illustratively, as shown in fig. 6, when the target display area is a surrounding area a1 in the display area 210 of the display device 200, the first screen image/second screen image includes the screen image displayed by the surrounding area a 1. As shown in fig. 7, when the target display area is the center area a2 of the display area 210 of the display apparatus 200, the first screen image/second screen image includes the screen image displayed by the center area a 2; it is to be understood that the target display area may be set according to the need, and is not limited herein.
In some embodiments, it is possible to ensure that the first image capturing device and the second image capturing device capture images at the same detection time by ensuring that the first image capturing device and the second image capturing device capture the same number of frames per second.
In some embodiments, before each picture image is captured, a control instruction may be simultaneously sent to the first image capturing device and the second image capturing device, and after the first image capturing device and the second image capturing device receive the control instruction, the picture image capturing operation may be performed in response to the control instruction. Alternatively, the control instruction may not include the execution time, and the first image capturing device and the second image capturing device respond to the image capturing operation immediately after receiving the control instruction. Optionally, the control instruction may also include an execution time, and after receiving the control instruction, the first image capturing device and the second image capturing device perform an operation of capturing the image at a preset execution time.
Step S120, extracting first image data corresponding to the target display area from the first screen image. And extracting second image data corresponding to the target display area from the second picture image.
In the embodiment of the present application, in order to control the lighting device to present the corresponding lamp effect along with the picture displayed by the target display area, the picture displayed by the target display area needs to be known. Therefore, it is necessary to further extract image data corresponding to the target display area in the acquired first screen image and second screen image.
Step S130, comparing the first image data and the second image data.
Specifically, first image data extracted from a first screen image and second image data extracted from a second screen image are compared.
In an embodiment of the present application, the first image data may include at least one color. The second image data may include at least one color.
The most highly dominant color may be obtained from the first image data and the second image data, for example, a first color most highly dominant in the first image data and a second color most highly dominant in the second image data may be obtained, and the first color and the second color may be compared to compare whether the first image data and the second image data match.
In the embodiment of the present application, it may be further determined whether the color with the highest proportion in the first image data matches the color with the highest proportion in the second image data according to the color data corresponding to the color with the highest proportion.
Step S140, if the first image data matches the second image data, controlling the light effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data.
If the first image data is matched with the second image data, the image data corresponding to the target display area acquired by the first image acquisition device is matched with the image data corresponding to the target display area acquired by the second image acquisition device, so that the lamp effect of the illumination assembly can be controlled according to the image data corresponding to the target display area acquired by the first image acquisition device and the second image acquisition device.
If the first image data and the second image data are not matched, at least one image data in the image data acquired by the first image acquisition device and the image data acquired by the second image acquisition device has an error. The first image data and the second image data are not matched, that is, the image data corresponding to the target display area acquired by the first image acquisition device is not matched with the image data corresponding to the target display area acquired by the second image acquisition device. In order to avoid that the image data with errors influences the accuracy of the light effect control, the image data with errors can be abandoned, namely, the light effect of the lighting assembly is not controlled according to the image data with errors. At this time, the lamp effect of the lighting assembly is not changed, that is, the lamp effect of the lighting assembly maintains the lamp effect which is presented after the last control. Further, the first image data and the second image data acquired at the next moment can be continuously acquired, whether the first image data is matched with the second image data or not is continuously determined, and the light effect of the lighting assembly corresponding to the target display area is controlled according to the first image data and the second image data when the first image data is matched with the second image data.
In some embodiments, the most dominant color of the first image data and the second image data may be compared, and if the two match, the light effect of the corresponding lighting assembly may be controlled according to one of the two.
In some embodiments, the color with the largest ratio in the first image data and the second image data may be compared, and if the two match, the intermediate color closest to the two colors may be determined, and the light effect of the corresponding lighting assembly may be controlled according to the intermediate color. Alternatively, if the color with the largest ratio in the first image data is the first color and the color with the largest ratio in the second image data is the second color, the intermediate color may be obtained by the color average of the first color and the second color. For example, the color value of the first color includes a first red component R1, a first green component G1, and a first blue component B1, and the color value of the second color includes a second red component R2, a second green component G2, and a second blue component B2. The third red component R3 of the color values of the intermediate color is 0.5(R1+ R2), the third green component G3 of the color values of the intermediate color is 0.5(G1+ G2), and the third blue component B3 of the color values of the intermediate color is 0.5(B1+ B2).
The embodiment of the application provides a lamp effect control method of lighting equipment, which comprises the steps of acquiring a first picture image acquired by a first image acquisition device and a second picture image acquired by a second image acquisition device; extracting first image data corresponding to the target display area from the first picture image, and extracting second image data corresponding to the target display area from the second picture image; comparing the first image data and the second image data; and if the first image data and the second image data acquired at the same moment are matched, controlling the light effect of the lighting assembly corresponding to the target area. Through obtaining the image data that two different image acquisition devices gathered same target display area, first image data and second image data promptly, compare first image data and second image data, control the lamp effect according to the comparison result, can effectively avoid single image data's error to influence the accuracy of lamp effect control to can improve the rate of accuracy of lamp effect control, promote user's the experience of watching.
Referring to fig. 8, another embodiment of the present application provides a method for controlling lamp efficiency of a lighting apparatus, which may include steps S210 to S270.
Step S210, a first picture image acquired by a first image acquisition device is acquired, wherein the target display area is completely located in an acquisition range of the first image acquisition device. And acquiring a second picture image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device. The moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image.
Step S220, extracting first image data corresponding to the target display area from the first screen image. And extracting second image data corresponding to the target display area from the second picture image.
For the detailed description of steps S210 to S220, refer to steps S110 to S120, which are not described herein again.
Step S230, determining the first color with the highest ratio in the first image data. A second color that is highest in the second image data is determined.
In an embodiment of the application, the first image data/the second image data indicate at least color data of respective pixel points in an image of the corresponding target display area in the display device.
For another example, the first image data/the second image data may indicate YUV color data corresponding to each pixel point, and the YUV color data corresponding to the pixel point may be converted into RGB color data, so as to obtain a red component value, a green component value, and a blue component value corresponding to each pixel point.
In some embodiments, the first image data/the second graphic data may be further processed to precisely represent the distribution of colors in the first image data/the second graphic data.
Specifically, referring to fig. 9, fig. 9 is a schematic flow chart illustrating the step of determining the highest first color in the first image data in step S230 in another embodiment of the present application, and in the embodiment of the present application, the step of determining the highest first color in the first image data may include steps S231 to S234.
Step S231, acquiring first YUV color data of the first image data.
Step S232, converting the first YUV color data into first RGB color data.
Step S233, converts the first RGB color data into first CIELAB color data.
Step S234, performing color difference calculation and color quantization processing on the first CIELAB color data to obtain the first CIELAB color data which accounts for the highest ratio in the first CIELAB color data after the color difference calculation and the color quantization processing; and taking the color corresponding to the first CIELAB color data with the highest ratio as the first color.
Specifically, referring to fig. 10, fig. 10 is a schematic flow chart illustrating the step of determining the second color with the highest percentage in the second image data in step S230 in another embodiment of the present application, where the step of determining the second color with the highest percentage in the second image data may include steps S235 to S238.
And step S235, second YUV color data of the second image data is obtained.
Step S236, converting the second YUV color data into second RGB color data.
Step S237, converting the second RGB color data into second CIELAB color data.
And step S238, performing color difference calculation and color quantization processing on the second CIELAB color data, determining the second CIELAB color data with the highest ratio in the second CIELAB color data after the color difference calculation and color quantization processing, and taking the color corresponding to the second CIELAB color data with the highest ratio as the second color.
In the embodiment of the application, the first YUV color data/the second YUV color data of the first image data/the second image data are converted into the first RGB color data/the second RGB color data, the first RGB color data/the second RGB color data are converted into the first CIELAB color data/the second CIELAB color data, color difference calculation is performed according to the first CIELAB color data/the second CIELAB color data to distinguish different colors in a numerical manner, and then the ratio of each color is counted through color quantization processing, so that the color corresponding to the color data with the highest ratio in the first CIELAB color data/the second CIELAB color data is further obtained as the first color/the second color.
Alternatively, the color difference calculation may be performed using the CIE94 color difference formula. The CIE94 color difference formula is a standard used in the industry to evaluate the color difference of objects under daylight illumination.
The color quantization is to combine similar colors which are not important in the original image into one color by utilizing the inertia of human eyes to the colors, reduce the colors in the image, and minimize the recognition error of the image before and after quantization to the human eyes, namely, the quantization error. Alternatively, the color quantization process may be performed using a K-means clustering color quantization algorithm.
Step S240, obtaining a color difference value according to the first color and the second color.
Further, a color difference value is obtained by comparing the first color with the second color, the difference degree of the first color and the second color is determined according to the color difference value, if the difference degree exceeds a preset threshold value, the difference of the images corresponding to the target display area acquired by the first image acquisition device and the second image acquisition device is large, that is, in the first image acquisition device or the second image acquisition device, one of the images acquired by the first image acquisition device and the second image acquisition device has a large error. Otherwise, the difference between the images corresponding to the target display areas acquired by the first image acquisition device and the second image acquisition device is small, and then the lamp effect control can be performed on the lighting equipment according to the acquired images.
Optionally, if the RGB scheme is adopted to represent the color data of the corresponding colors of the pixel, for example, the first color data C1 corresponding to the first color is a first red component R1, a first green component G1 and a first blue component B1, and the second color data corresponding to the second color C2 is a second red component R2, a second green component G2 and a second blue component B2. Further, the color difference Δ E between the first color and the second color can be calculated by an euclidean distance formula, and the specific calculation formula refers to formula one.
Figure BDA0003271133910000141
Alternatively, if the CIELAB mode is adopted to represent the color data of the pixel, for example, the first color data C1 corresponding to the first color includes a first lightness component L1, a first red-green-color difference component a1, a first blue-yellow difference component B1, a second lightness component L2 corresponding to the second color C2, a second red-green-color difference component a2, and a second blue-yellow difference component B2. Further, the color difference Δ E between the first color and the second color can be calculated by a color difference formula, and the specific calculation formula refers to formula two.
Figure BDA0003271133910000142
It is understood that other methods that can be used to determine the color difference value can be applied to the embodiments of the present application to calculate the color difference value between the first color and the second color, and the present application is not limited thereto.
Step S250, if the color difference value is smaller than or equal to a preset color threshold value, determining that the first image data is matched with the second image data;
in an embodiment of the present application, the value of the preset color threshold is greater than or equal to zero.
And step S260, if the first color is matched with the second color, obtaining a color mean value according to the first color and the second color.
Specifically, if the first color is matched with the second color, the lighting device may be controlled in light effect according to the collected image, further, a color average value of the first color and the second color may be obtained according to the first color and the second color, and the light effect of the lighting device may be controlled through the color average value.
For example, if the RGB scheme is adopted to represent the color data of the corresponding colors of the pixel, for example, the first color data C1 corresponding to the first color is a first red component R1, a first green component G1 and a first blue component B1, and the second color data corresponding to the second color C2 is a second red component R2, a second green component G2 and a second blue component B2. The mean color data C corresponding to the color meanAre all made ofCan be obtained by adopting a formula three to a formula five.
Wherein the mean color data CAre all made ofMean red component of
Figure BDA0003271133910000151
Mean color data CAre all made ofMean green component of
Figure BDA0003271133910000152
Mean color data CAre all made ofAverage blue component of
Figure BDA0003271133910000153
And step S270, controlling the lamp effect of the lighting assembly corresponding to the target display area according to the color mean value.
Specifically, the obtained color mean value is sent to the lighting assembly corresponding to the target display area to control the lighting assembly to display the corresponding lamp effect color.
The light effect of the lighting assembly corresponding to the target display area is controlled according to the color mean value, so that the color error can be reduced, and the picture color corresponding to the target display area can be displayed more accurately.
Another embodiment of the present application provides a method for controlling a lamp efficiency of a lighting device, which is improved based on the foregoing embodiment, and the main improvement is that: in the present embodiment, a first color that is highest in the first image data and a second color that is highest in the second image data are determined; obtaining a color difference value according to the first color and the second color, and if the color difference value is smaller than a preset color threshold value, determining that the first image data is matched with the second image data; if the first image data is matched with the second image data, a color mean value is obtained according to the first color and the second color, and finally the light effect of the lighting assembly corresponding to the target area is controlled according to the color mean value, so that the error of the image collected by the image collecting device can be judged by comparing the difference degree of the two image data, the image data with larger display error is avoided, and the accuracy of light effect control is improved.
Referring to fig. 11, fig. 11 shows a lamp efficiency control method for a lighting device according to another embodiment of the present application, which may include steps S310 to S370.
And S310, acquiring a first detection image acquired by the first image acquisition device. And acquiring a second detection image acquired by the second image acquisition device.
The first image acquisition device/the second image acquisition device have different corresponding acquisition ranges according to different setting positions and angles, and in order to acquire the picture image of the target display area, the target display area needs to be located in the acquisition range of the first image acquisition device/the second image acquisition device. Therefore, before the first picture image/the second picture image is acquired, the acquisition range of the first image acquisition device/the second image acquisition device can be confirmed to ensure that the target display area is positioned in the acquisition range of the first image acquisition device/the second image acquisition device.
Specifically, a first detection image/a second detection image can be acquired by the first image acquisition device/the second image acquisition device, and whether the target display area is located in the acquisition range of the first image acquisition device/the second image acquisition device is judged according to the first detection image/the second detection image.
And step S320, sending the first detection image to the intelligent terminal. And sending the second detection image to the intelligent terminal.
In an embodiment of the application, the acquired first detection image/second detection image may be sent to the intelligent terminal, and the user determines whether the first image acquisition device/second image acquisition device needs to be adjusted according to the first detection image/second detection image presented on the intelligent terminal.
In some embodiments, the smart terminal may be a mobile smart terminal (a mobile phone, a tablet computer, etc.), an in-vehicle smart terminal, a smart television, a wearable device, etc. having a display device, and the display device may display the first detection image. The embodiment of the application is described by taking a mobile phone as an example, and the mobile phone can be selected by self according to actual needs, which is not limited by the application.
And S330, if the first image acquisition device does not meet the first acquisition condition, receiving first adjustment data sent by the intelligent terminal, and adjusting the acquisition range of the first image acquisition device according to the first adjustment data. The first acquisition condition is that the target display area is completely positioned in the acquisition range of the first image acquisition device. And if the second image acquisition device does not accord with the second acquisition condition, receiving second adjustment data sent by the intelligent terminal, and adjusting the acquisition range of the second image acquisition device according to the second adjustment data. And the second acquisition condition is that the target display area is completely positioned in the acquisition range of the second image acquisition device.
The intelligent terminal can display the first detection image/the second detection image, and the user can judge whether the target display area completely appears in the first detection image/the second detection image according to the first detection image/the second detection image, namely whether the target display area completely exists in the acquisition range of the first image acquisition device/the second image acquisition device. The user can further perform feedback according to the judgment result. For example, if the target display area completely appears in the first detection image/the second detection image, the user may trigger the confirmation control on the interactive interface of the intelligent terminal to feed back the confirmation information. If the target display area does not completely appear in the first detection image/the second detection image, the user may further trigger the adjustment control to feed back the first adjustment data/the second adjustment data. For example, a user can drag a control corresponding to the position of the first image acquisition device/the second image acquisition device in the interactive interface to adjust the position of the first image acquisition device/the second image acquisition device. It can be understood that, when the user adjusts the first image capturing position on the interactive interface, the first adjustment data is generated according to the operation of the user, and the first image capturing device/the second image capturing device is adjusted through the first adjustment data/the second adjustment data, such as adjustment of an angle and a focal length. After the position of the first image acquisition device/the second image acquisition device is adjusted, the corresponding acquisition range can be changed, the change of the acquired first detection image/second detection image caused by the change of the acquisition range can be synchronously displayed on the display interface of the intelligent terminal, so that a user can conveniently and timely know the acquisition range of the adjusted first image acquisition device/second image acquisition device, and accordingly corresponding adjustment is carried out until the target display area is completely located in the acquisition range of the first image acquisition device/second image acquisition device.
Step S340, acquiring a first picture image acquired by the first image acquisition device, wherein the target display area is completely located in the acquisition range of the first image acquisition device. And acquiring a second picture image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device. The moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image.
Step S350, extracting first image data corresponding to the target display area from the first screen image. And extracting second image data corresponding to the target display area from the second picture image.
And step S360, comparing the first image data with the second image data.
Step S370, if the first image data matches the second image data, the light effect of the lighting assembly corresponding to the target display area can be known according to the first image data and the second image data.
For detailed description of steps S340 to S370, refer to steps S110 to S140, which are not described herein again.
Another embodiment of the present application provides a method for controlling a lamp efficiency of a lighting device, which is improved based on the above embodiment, and the main improvement is that: in this embodiment, the first detection image acquired by the first image acquisition device and the second detection image acquired by the second image acquisition device are acquired, and the first detection image and the second detection image are sent to the intelligent terminal, so that the acquisition ranges of the first image acquisition device and the second image acquisition device are adjusted, the first image acquisition device and the second image acquisition device can completely acquire the picture image of the target display area, and the influence of incomplete acquired picture images on the light effect control is avoided.
Referring to fig. 12, fig. 12 shows a lamp efficiency control method for a lighting device according to still another embodiment of the present application, which may include steps S410 to S450.
And S410, acquiring a first picture image acquired by the first image acquisition device, wherein the target display area is completely positioned in the acquisition range of the first image acquisition device. And acquiring a second picture image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device. The moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image.
For detailed description of step S410, please refer to step S110, which is not described herein again.
Step S420, clipping the first image according to the set first designated area information to obtain a first display pixel area where the display device is located in the first image. And cutting the second picture image according to the set second designated area information to obtain a second display pixel area where the display device is located in the second picture image.
Step S430, performing pixel region extraction in the first display pixel region according to the position information of the target display region in the display device, to obtain first image data corresponding to the target display region. And according to the position information of the target display area in the display device, pixel area extraction is carried out in the second display pixel area to obtain second image data corresponding to the target display area.
Specifically, the acquired first picture image/second picture image is cropped according to the set first designated area information/second designated area information, so that the first display pixel area/second display pixel area is obtained according to the area of the display device in the first picture image/second picture image.
In some embodiments, the first/second designated area information is used to indicate an image area range that needs to be reserved in the first/second screen images. It is understood that the first screen image area/the second image area indicated by the first specified area information/the second specified area information includes at least images corresponding to areas including all of the target display areas in the display device.
It is understood that the position of the image capturing device for capturing an image facing the display device is generally fixed, and the corresponding image capturing parameters (such as focal length, angle, etc.) are also substantially kept unchanged, in which case the image capturing angle of view of the image capturing device is the same each time the image is captured when a plurality of images are captured, so that the specified area information can be obtained by performing pixel area specification in the base image based on one image captured by the image capturing device as the base image.
Further, the trimming of the first screen image/the second screen image may be manually defining the trimming area or automatically trimming the unnecessary area.
In an embodiment of the application, the position information of the target display area in the display device is used to indicate the relative position of the target display area with respect to the display device. When the target display area is a rectangular center area, the position information may include a distance from each side of the rectangular center area to an edge of the display device, a length and a width of the rectangular center area, and the like, so that the target display area may be rapidly determined in the display device according to the position information.
Specifically, pixel region extraction is performed on the first display pixel region/the second display pixel region respectively according to the position information of the target display region in the display device, and then the first image data/the second image data corresponding to the target display region are obtained according to the pixel region obtained through extraction.
Step S440 compares the first image data and the second image data.
Step S450, if the first image data matches the second image data, the light effect of the illumination assembly corresponding to the target display area can be known according to the first image data and the second image data.
For detailed description of steps S440 to S450, please refer to steps S130 to S140, which are not described herein again.
In another embodiment of the present application, a method for controlling a lamp efficiency of a lighting device is provided, which is improved based on the foregoing embodiment, and the main improvement is that: in the present embodiment, the first screen image/the second screen image is cropped according to the set first designated area information/the second designated area information to obtain the first display pixel area and/or the second display pixel area where the display device is located in the first screen image and/or the second screen image, and the pixel area extraction is performed in the first display pixel area and/or the second display pixel area according to the position information of the target display area in the display device to obtain the first image data and/or the second image data corresponding to the target display area. The acquired picture image is cut so as to remove the regions which do not need subsequent operation, so that which regions need to be further followed can be clearly defined, and the calculation efficiency can be improved.
Referring to fig. 13, an embodiment of the present application provides a light effect control apparatus 400 for an illumination device, the illumination device including at least one illumination assembly, each illumination assembly corresponding to one of target display areas of a display apparatus, the light effect control apparatus 400 including: a first picture image acquisition module 410, a second picture image acquisition module 420, a first image data extraction module 430, a second image data extraction module 440, a comparison module 450 and a light effect control module 430.
Specifically, the first image obtaining module 410 is configured to obtain a first image captured by a first image capturing device. Wherein, the target display area is completely positioned in the acquisition range of the first image acquisition device.
The second image obtaining module 420 is configured to obtain a second image captured by a second image capturing device. Wherein the target display area is completely located in the acquisition range of the second image acquisition device. The moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image.
The first image data extraction module 430 is configured to extract first image data corresponding to the target display area from the first screen image.
The second image data extraction module 440 is configured to extract second image data corresponding to the target display area from the second screen image.
The comparison module 450 is used for comparing the first image data and the second image data.
The light effect control module 460 is configured to control the light effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data if the first image data is matched with the second image data.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
Referring to fig. 14, an embodiment of the present application provides an electronic device 500, where the electronic device 500 may be a smart phone, a tablet computer, an electronic book, a touch screen, or other electronic devices capable of running an application. The electronic device 500 in the present application may include one or more of the following components: a processor 510, a memory 520, and one or more applications, wherein the one or more applications may be stored in the memory 520 and configured to be executed by the one or more processors 510, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 510 may include one or more processing cores. The processor 510 interfaces with various components throughout the electronic device 500 using various interfaces and circuitry to perform various functions of the electronic device 500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 520 and invoking data stored in the memory 520. Alternatively, the processor 510 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 510 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 510, but may be implemented by a communication chip.
The Memory 520 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 520 may be used to store instructions, programs, code sets, or instruction sets. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as an image capture function, a picture processing function, a timing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 500 in use (such as a first picture image, a second picture image, etc.), and the like.
Referring to fig. 15, a block diagram of a computer-readable storage medium according to an embodiment of the present application is provided. The computer-readable medium 600 has stored therein program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 600 includes a non-volatile computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 for performing any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code 610 may be compressed, for example, in a suitable form.
According to the lamp effect control method, the system, the device, the electronic equipment and the medium for the lighting equipment, a first picture image acquired by a first image acquisition device and a second picture image acquired by a second image acquisition device are acquired; extracting first image data corresponding to a target display area from the first picture image, and extracting second image data corresponding to the target display area from the second picture image; comparing the first image data and the second image data; and if the first image data and the second image data acquired at the same moment are matched, controlling the light effect of the lighting assembly corresponding to the target display area. Through obtaining the image data that two different image acquisition devices gathered same target display area at the same moment, first image data and second image data promptly, compare first image data and second image data, control the lamp effect according to the comparative result, can effectively avoid single image data's error to influence the accuracy of lamp effect control to can improve the rate of accuracy of lamp effect control, promote user's the experience of watching.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A lamp efficiency control method for an illumination apparatus, wherein the illumination apparatus includes at least one illumination assembly, each of the illumination assemblies corresponding to one of target display areas of a display device, the method comprising:
acquiring a first picture image acquired by a first image acquisition device; wherein the target display area is completely positioned in the acquisition range of the first image acquisition device;
acquiring a second picture image acquired by a second image acquisition device; wherein the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image;
extracting first image data corresponding to the target display area from the first picture image;
extracting second image data corresponding to the target display area from the second picture image;
comparing the first image data and the second image data;
and if the first image data is matched with the second image data, controlling the light effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data.
2. The method of claim 1, wherein the comparing the first image data and the second image data comprises:
determining a first color which accounts for the highest in the first image data;
determining a second color which accounts for the highest in the second image data;
determining a color difference value according to the first color and the second color;
if the color difference value is smaller than or equal to a preset color threshold value, determining that the first image data is matched with the second image data;
and if the color difference value is larger than the preset color threshold value, determining that the first image data is not matched with the second image data.
3. The method of claim 2, wherein the controlling the lighting effect of the lighting assembly corresponding to the target area according to the first image data and the second image data if the first image data and the second image data match comprises:
if the first image data is matched with the second image data, determining a color mean value according to the first color and the second color;
and controlling the lamp effect of the lighting assembly corresponding to the target display area according to the color mean value.
4. The method of claim 2, wherein determining the highest-priority first color of the first image data comprises:
acquiring first YUV color data of first image data;
converting the first YUV color data into first RGB color data;
converting the first RGB color data to first CIELAB color data;
performing color difference calculation and color quantization processing on the first CIELAB color data, determining the first CIELAB color data with the highest ratio in the first CIELAB color data after the color difference calculation and the color quantization processing, and taking the color corresponding to the first CIELAB color data with the highest ratio as the first color;
and/or, the determining the second color with the highest proportion in the second image data comprises:
acquiring second YUV color data of second image data;
converting the second YUV color data into second RGB color data;
converting the second RGB color data to second CIELAB color data;
and performing color difference calculation and color quantization processing on the second CIELAB color data, determining the second CIELAB color data with the highest ratio in the second CIELAB color data after the color difference calculation and the color quantization processing, and taking the color corresponding to the second CIELAB color data with the highest ratio as the second color.
5. The method of claim 1, wherein prior to said obtaining the first frame image, the method further comprises:
acquiring a first detection image acquired by the first image acquisition device;
sending the first detection image to an intelligent terminal;
if the first image acquisition device does not meet a first acquisition condition, receiving first adjustment data sent by the intelligent terminal, and adjusting the acquisition range of the first image acquisition device according to the first adjustment data; the first acquisition condition is that the target display area is completely positioned in the acquisition range of the first image acquisition device;
and/or acquiring a second detection image acquired by the second image acquisition device;
sending the second detection image to an intelligent terminal;
and if the second image acquisition device does not accord with a second acquisition condition, receiving second adjustment data sent by the intelligent terminal, and adjusting the acquisition range of the second image acquisition device according to the second adjustment data, wherein the second acquisition condition is that the target display area is completely positioned in the acquisition range of the second image acquisition device.
6. The method according to claim 1, wherein the extracting first image data corresponding to the target display area from the first screen image comprises:
according to set first designated area information, cutting the first picture image to obtain a first display pixel area where the display device is located in the first picture image;
and according to the position information of the target display area in the display device, pixel area extraction is carried out on the first display pixel area to obtain first image data corresponding to the target display area.
And/or, the extracting second image data corresponding to the target display area from the second picture image comprises:
clipping the second picture image according to set second designated area information to obtain a second display pixel area where the display device is located in the second picture image;
and according to the position information of the target display area in the display device, pixel area extraction is carried out on the second display pixel area to obtain second image data corresponding to the target display area.
7. A lamp effect control system for a lighting device, comprising:
an illumination device comprising at least one illumination assembly, each of the illumination assemblies corresponding to one of the target display areas of the display apparatus;
the first image acquisition device is used for acquiring a first picture image, wherein the target display area is completely positioned in the acquisition range of the first image acquisition device;
the second image acquisition device is used for acquiring a second picture image, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image;
the controller is used for acquiring the first picture image and the second picture image, and is also used for extracting first image data corresponding to the target display area from the first picture image and extracting second image data corresponding to the target display area from the second picture image; the controller is further configured to compare the first image data with the second image data, and control a light effect of an illumination assembly corresponding to the target display area according to the first image data and the second image data if the first image data is matched with the second image data.
8. A lamp effect control apparatus for a lighting device, the lighting device comprising at least one lighting assembly, each of the lighting assemblies corresponding to one of target display areas of a display apparatus, the apparatus comprising:
the first image acquisition module is used for acquiring a first image acquired by the first image acquisition device; wherein the target display area is completely positioned in the acquisition range of the first image acquisition device;
the second image acquisition module is used for acquiring a second image acquired by a second image acquisition device, wherein the target display area is completely positioned in the acquisition range of the second image acquisition device; the moment when the first image acquisition device acquires the first picture image is the same as the moment when the second image acquisition device acquires the second picture image;
the first image data extraction module is used for extracting first image data corresponding to the target display area from the first picture image;
the second image data extraction module is used for extracting second image data corresponding to the target display area from the second picture image;
a comparison module for comparing the first image data and the second image data;
and the light effect control module is used for controlling the light effect of the lighting assembly corresponding to the target display area according to the first image data and the second image data if the first image data is matched with the second image data.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the light effect control method of any of claims 1-6.
10. A computer-readable storage medium having stored thereon program code that can be invoked by a processor to perform the lamp effect control method according to any one of claims 1 to 6.
CN202111101603.7A 2021-09-18 2021-09-18 Lighting device lamp efficiency control method, system, device, electronic device and medium Pending CN113947708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111101603.7A CN113947708A (en) 2021-09-18 2021-09-18 Lighting device lamp efficiency control method, system, device, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111101603.7A CN113947708A (en) 2021-09-18 2021-09-18 Lighting device lamp efficiency control method, system, device, electronic device and medium

Publications (1)

Publication Number Publication Date
CN113947708A true CN113947708A (en) 2022-01-18

Family

ID=79328403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111101603.7A Pending CN113947708A (en) 2021-09-18 2021-09-18 Lighting device lamp efficiency control method, system, device, electronic device and medium

Country Status (1)

Country Link
CN (1) CN113947708A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116997062A (en) * 2023-09-22 2023-11-03 深圳市千岩科技有限公司 Control method, device, illumination structure and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116997062A (en) * 2023-09-22 2023-11-03 深圳市千岩科技有限公司 Control method, device, illumination structure and computer storage medium
CN116997062B (en) * 2023-09-22 2024-02-23 深圳市千岩科技有限公司 Control method, device, illumination structure and computer storage medium

Similar Documents

Publication Publication Date Title
US11265523B2 (en) Illuminant estimation referencing facial color features
US9712743B2 (en) Digital image processing using face detection and skin tone information
US8761449B2 (en) Method of improving orientation and color balance of digital images using face detection information
US7583403B2 (en) Image processing device
EP3454250A1 (en) Facial image processing method and apparatus and storage medium
US8224108B2 (en) Digital image processing using face detection information
US8326066B2 (en) Digital image adjustable compression and resolution using face detection information
WO2017016030A1 (en) Image processing method and terminal
CN104883504B (en) Open the method and device of high dynamic range HDR functions on intelligent terminal
WO2007142621A1 (en) Modification of post-viewing parameters for digital images using image region or feature information
US9378564B2 (en) Methods for color correcting digital images and devices thereof
CN106951891B (en) Light spot detection method and device
US11800048B2 (en) Image generating system with background replacement or modification capabilities
JPH0862741A (en) Gradation correcting device
CN114266838A (en) Image data processing method, image data processing device, electronic equipment and storage medium
CN111627076B (en) Face changing method and device and electronic equipment
CN113947708A (en) Lighting device lamp efficiency control method, system, device, electronic device and medium
JP6977483B2 (en) Image processing equipment, image processing methods, image processing systems and programs
CN112435173A (en) Image processing and live broadcasting method, device, equipment and storage medium
WO2023025239A1 (en) Automatic makeup method and apparatus for lips in portrait, and device, storage medium and program product
CN113379650B (en) Face image exposure method and device, electronic equipment and storage medium
CN112581380A (en) Image color enhancement method and device and server
CN115496684A (en) Color adjusting method, device and equipment of LED display screen and storage medium
CN113947675A (en) Edge extraction method, system, device, electronic apparatus, and medium for display device
CN116017178A (en) Image processing method and device and electronic equipment

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