[go: up one dir, main page]

CN112512184B - A color-taking lighting control method, device, system and storage medium - Google Patents

A color-taking lighting control method, device, system and storage medium Download PDF

Info

Publication number
CN112512184B
CN112512184B CN202011404887.2A CN202011404887A CN112512184B CN 112512184 B CN112512184 B CN 112512184B CN 202011404887 A CN202011404887 A CN 202011404887A CN 112512184 B CN112512184 B CN 112512184B
Authority
CN
China
Prior art keywords
color
screen
image
control method
lighting control
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
CN202011404887.2A
Other languages
Chinese (zh)
Other versions
CN112512184A (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.)
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 CN202011404887.2A priority Critical patent/CN112512184B/en
Publication of CN112512184A publication Critical patent/CN112512184A/en
Application granted granted Critical
Publication of CN112512184B publication Critical patent/CN112512184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • 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/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
    • 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
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

本发明提供了一种取色照明控制方法、装置、系统及存储介质,涉及显示屏背景灯技术领域。本发明所述的取色照明控制方法,包括:通过图像捕获装置获取显示屏的屏幕图像;根据所述屏幕图像确定RGB值;根据所述RGB值控制与所述显示屏对应的背景灯的颜色。本发明所述的技术方案,通过图像捕获装置获取显示屏的屏幕图像,再根据屏幕图像确定RGB值,从而根据RGB值控制背景灯的颜色,实现了显示屏背景灯与屏幕画面颜色的同步;且图像捕获装置可以安装在任何显示屏处,有效提高了取色照明控制方法的应用广度;同时,相比内置主板获取屏幕画面颜色进而控制背景灯的控制方法而言,成本更低,因而更加有利于提高取色照明控制方法的推广。

The invention provides a color-taking lighting control method, device, system and storage medium, and relates to the technical field of display screen background lights. The color-taking lighting control method of the present invention includes: obtaining a screen image of a display screen through an image capture device; determining an RGB value based on the screen image; and controlling the color of a background light corresponding to the display screen based on the RGB value. . The technical solution of the present invention acquires the screen image of the display screen through an image capture device, and then determines the RGB value based on the screen image, thereby controlling the color of the background light according to the RGB value, thereby achieving synchronization of the background light of the display screen and the color of the screen image; And the image capture device can be installed on any display screen, effectively increasing the application breadth of the color lighting control method; at the same time, compared with the control method of using a built-in motherboard to obtain the screen color and then control the background light, the cost is lower, so it is more convenient. It is conducive to improving the promotion of color lighting control methods.

Description

一种取色照明控制方法、装置、系统及存储介质A color-taking lighting control method, device, system and storage medium

技术领域Technical field

本发明涉及显示屏背景灯技术领域,具体而言,涉及一种取色照明控制方法、装置、系统及存储介质。The present invention relates to the technical field of display screen background lights, and specifically to a color lighting control method, device, system and storage medium.

背景技术Background technique

现有部分品牌的显示屏,通过内置主板获取屏幕画面颜色进而控制外置背景灯,然而目前市面上大多数显示屏不具备该功能,仅通过单独设置的外置背景灯来实现背景照明,但现有单独设置的外置背景灯只能显示固定的一种或几种色彩,与显示屏的屏幕画面颜色并不完全匹配,导致背景照明难以满足用户需求。Some existing brands of display screens obtain the screen color through the built-in motherboard and then control the external background light. However, most display screens currently on the market do not have this function and only achieve background lighting through a separately set external background light. However, The existing external background lights set separately can only display one or several fixed colors, which do not completely match the screen color of the display screen, making it difficult for the background lighting to meet user needs.

发明内容Contents of the invention

本发明解决的问题是现有单独设置的外置背景灯与屏幕画面颜色不完全匹配。The problem solved by the present invention is that the existing external background light provided separately does not completely match the color of the screen image.

为解决上述问题,本发明提供一种取色照明控制方法,包括:通过图像捕获装置获取显示屏的屏幕图像;根据所述屏幕图像确定RGB值;根据所述RGB值控制与所述显示屏对应的背景灯的颜色。In order to solve the above problems, the present invention provides a color-taking lighting control method, which includes: obtaining a screen image of a display screen through an image capture device; determining an RGB value according to the screen image; and controlling a light corresponding to the display screen according to the RGB value. The color of the background light.

本发明所述的取色照明控制方法,通过图像捕获装置获取显示屏的屏幕图像,再根据屏幕图像确定RGB值,从而根据RGB值控制背景灯的颜色,实现了显示屏背景灯与屏幕画面颜色的同步;且图像捕获装置可以安装在任何显示屏处,有效提高了取色照明控制方法的应用广度;同时,相比内置主板获取屏幕画面颜色进而控制背景灯的控制方法而言,成本更低,因而更加有利于提高取色照明控制方法的推广。The color-taking lighting control method of the present invention obtains the screen image of the display screen through the image capture device, and then determines the RGB value according to the screen image, thereby controlling the color of the background light according to the RGB value, realizing the background light of the display screen and the color of the screen image. synchronization; and the image capture device can be installed at any display screen, effectively increasing the application breadth of the color lighting control method; at the same time, compared with the built-in motherboard to obtain the screen color and then control the background light control method, the cost is lower , which is more conducive to improving the promotion of color lighting control methods.

优选地,所述通过图像捕获装置获取显示屏的屏幕图像包括:校正所述图像捕获装置;通过校正后的所述图像捕获装置获取所述屏幕图像。Preferably, obtaining the screen image of the display screen through the image capturing device includes: correcting the image capturing device; and obtaining the screen image through the corrected image capturing device.

本发明所述的取色照明控制方法,通过在获取屏幕图像前对图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。The color pickup lighting control method of the present invention improves the color pickup accuracy of the image capture device by correcting the image capture device before acquiring the screen image, thereby effectively improving the accuracy and effectiveness of the color pickup lighting control method.

优选地,所述图像捕获装置与所述显示屏的显示平面存在高差;所述校正所述图像捕获装置包括:通过所述图像捕获装置获取初始屏幕画面;将所述初始屏幕画面发送至移动终端,以使所述移动终端执行校准操作,其中,所述校准操作包括:将多个校准点移动至所述初始屏幕画面的对应边角位置,以完成所述校准操作;接收所述移动终端的校准操作信息,并根据所述校准操作信息校正所述图像捕获装置。Preferably, there is a height difference between the image capture device and the display plane of the display screen; the correction of the image capture device includes: obtaining an initial screen image through the image capture device; sending the initial screen image to a mobile phone Terminal, so that the mobile terminal performs a calibration operation, wherein the calibration operation includes: moving multiple calibration points to corresponding corner positions of the initial screen image to complete the calibration operation; receiving the mobile terminal calibration operation information, and correct the image capture device according to the calibration operation information.

本发明所述的取色照明控制方法,通过在获取屏幕图像前对图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。The color pickup lighting control method of the present invention improves the color pickup accuracy of the image capture device by correcting the image capture device before acquiring the screen image, thereby effectively improving the accuracy and effectiveness of the color pickup lighting control method.

优选地,所述根据所述屏幕图像确定RGB值包括:对所述屏幕图像进行透视变换,得到正面视图;将所述正面视图分为多个区域,并获取多个所述区域的YUV值;将所述YUV值转换为所述RGB值。Preferably, determining the RGB value according to the screen image includes: performing perspective transformation on the screen image to obtain a front view; dividing the front view into multiple areas, and obtaining YUV values of multiple areas; Convert the YUV values to the RGB values.

本发明所述的取色照明控制方法,通过对屏幕图像进行透视变换得到正面视图,解决了采集的画面严重畸形和比例失调的问题,因而提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。The color-picking lighting control method of the present invention obtains a front view by performing perspective transformation on the screen image, thereby solving the problem of serious deformity and imbalance of the collected pictures, thereby improving the color-picking accuracy of the image capture device, thereby effectively improving the Accuracy and effectiveness of color-picking lighting control methods.

优选地,所述根据所述RGB值控制与所述显示屏对应的背景灯的颜色包括:根据所述RGB值控制多个灯带的颜色,以控制由多个所述灯带组成的所述背景灯的颜色。Preferably, controlling the color of the background light corresponding to the display screen according to the RGB value includes: controlling the color of a plurality of light strips according to the RGB value to control the color of the plurality of light strips. The color of the background light.

本发明所述的取色照明控制方法,根据RGB值控制多个灯带的颜色,以控制由多个灯带组成的背景灯的颜色,实现了背景灯颜色与显示屏屏幕图像的对应,进而有效提高了取色照明控制方法的精度和有效性。The color-taking lighting control method of the present invention controls the colors of multiple light strips according to RGB values to control the color of the background light composed of multiple light strips, thereby realizing the correspondence between the color of the background light and the screen image of the display screen, and thereby The accuracy and effectiveness of the color-picking lighting control method are effectively improved.

优选地,所述取色照明控制方法还包括:采用增强算法增强所述RGB值,并将增强后的所述RGB值发送至所述背景灯,以控制所述背景灯的颜色。Preferably, the color picking lighting control method further includes: using an enhancement algorithm to enhance the RGB values, and sending the enhanced RGB values to the background light to control the color of the background light.

本发明所述的取色照明控制方法,通过增强算法增强RGB值进而提高背景灯的亮度,减少光照因素或镜面反光等因素导致摄像头采集的屏幕色彩变淡的情况发生,使得背景灯的颜色及亮度与显示屏的颜色及亮度高程度对应,有效提高了取色照明控制方法的有效性。The color-picking lighting control method of the present invention enhances the RGB value through an enhancement algorithm to increase the brightness of the background light, and reduces the lightening of the screen color collected by the camera due to factors such as lighting factors or mirror reflection, so that the color of the background light and The brightness corresponds to the color and brightness of the display screen to a high degree, which effectively improves the effectiveness of the color lighting control method.

本发明还提供一种取色照明控制装置,包括:获取模块,用于通过图像捕获装置获取显示屏的屏幕图像;确定模块,用于根据所述屏幕图像确定RGB值;控制模块,用于根据所述RGB值控制背景灯的颜色。所述取色照明控制装置与上述取色照明控制方法相对于现有技术所具有的优势相同,在此不再赘述。The invention also provides a color-taking lighting control device, which includes: an acquisition module for acquiring a screen image of a display screen through an image capture device; a determination module for determining RGB values based on the screen image; and a control module for determining the RGB value based on the screen image. The RGB values control the color of the backlight. The color-picking lighting control device and the above-mentioned color-picking lighting control method have the same advantages over the prior art, and will not be described again here.

本发明还提供一种取色照明控制装置,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如上所述的取色照明控制方法。所述取色照明控制装置与上述取色照明控制方法相对于现有技术所具有的优势相同,在此不再赘述。The present invention also provides a color-picking lighting control device, which includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor, the color-picking lighting control device as described above is implemented. Control Method. The color-picking lighting control device and the above-mentioned color-picking lighting control method have the same advantages over the prior art, and will not be described again here.

本发明另一实施例提供一种取色照明控制系统,包括图像捕获装置以及如上所述的取色照明控制装置。所述取色照明控制系统与上述取色照明控制方法相对于现有技术所具有的优势相同,在此不再赘述。Another embodiment of the present invention provides a color capturing lighting control system, including an image capturing device and the color capturing lighting control device as described above. The color-picking lighting control system and the above-mentioned color-picking lighting control method have the same advantages over the prior art, and will not be described again here.

本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如上所述的取色照明控制方法。所述计算机可读存储介质与上述取色照明控制方法相对于现有技术所具有的优势相同,在此不再赘述。The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is read and run by a processor, the color-taking lighting control method as described above is implemented. The computer-readable storage medium has the same advantages as the above-mentioned color-picking and lighting control method over the existing technology, which will not be described again here.

附图说明Description of the drawings

图1为本发明实施例所述的取色照明控制方法的流程图;Figure 1 is a flow chart of a color-taking lighting control method according to an embodiment of the present invention;

图2为本发明实施例所述的图像捕获装置安装位置示意图;Figure 2 is a schematic diagram of the installation position of the image capture device according to the embodiment of the present invention;

图3为本发明实施例所述的图像捕获装置校正示意图。FIG. 3 is a schematic diagram of calibration of the image capture device according to the embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more obvious and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

如图1所示,本发明实施例提供一种取色照明控制方法,包括:通过图像捕获装置获取显示屏的屏幕图像;根据所述屏幕图像确定RGB值;根据所述RGB值控制与所述显示屏对应的背景灯的颜色。As shown in Figure 1, an embodiment of the present invention provides a color-taking lighting control method, which includes: obtaining a screen image of a display screen through an image capture device; determining an RGB value based on the screen image; and controlling and controlling the display based on the RGB value based on the RGB value. The color of the background light corresponding to the display.

具体地,在本实施例中,结合图1所示,取色照明控制方法包括:通过图像捕获装置获取显示屏的屏幕图像;根据屏幕图像确定RGB值;根据RGB值控制与显示屏对应的背景灯的颜色。Specifically, in this embodiment, as shown in FIG. 1 , the color-taking lighting control method includes: obtaining the screen image of the display screen through an image capture device; determining the RGB value according to the screen image; and controlling the background corresponding to the display screen according to the RGB value. The color of the lamp.

图像捕获装置可以为摄像头的摄像模组,在电视或电脑等的显示屏上安装摄像头后,通过摄像头的图像捕获装置获取显示屏的屏幕图像,即通过大角度镜头采集画面信息(例如电视画面的YUV值),将YUV值处理成RGB值;根据RGB值控制背景灯的颜色,即摄像头的DSP芯片将RGB值发送至背景灯的灯带,以使特定区域的灯带显示对应RGB值的颜色。由于背景灯显示的颜色是根据摄像头采集的显示屏的屏幕图像而来的,因此实现了显示屏背景灯与屏幕画面颜色的同步;同时由于摄像头可拆卸,因此图像捕获装置可以安装在任何显示屏处,有效提高了取色照明控制方法的应用广度;同时,相比内置主板获取屏幕画面颜色进而控制背景灯的控制方法而言,成本更低,因而更加有利于提高取色照明控制方法的推广。The image capture device can be a camera module of a camera. After installing a camera on a display screen of a TV or a computer, the screen image of the display screen is acquired through the image capture device of the camera, that is, the screen information (such as the image of a TV screen) is collected through a large-angle lens. YUV value), process the YUV value into an RGB value; control the color of the background light according to the RGB value, that is, the DSP chip of the camera sends the RGB value to the light strip of the background light, so that the light strip in a specific area displays the color corresponding to the RGB value . Since the color displayed by the background light is based on the screen image of the display screen collected by the camera, synchronization of the display background light and screen image color is achieved; at the same time, because the camera is detachable, the image capture device can be installed on any display screen This effectively improves the application breadth of the color-picking lighting control method; at the same time, compared with the control method of using a built-in motherboard to obtain the screen color and then control the background light, the cost is lower, so it is more conducive to improving the promotion of the color-picking lighting control method. .

可选地,所述通过图像捕获装置获取显示屏的屏幕图像包括:校正所述图像捕获装置;通过校正后的所述图像捕获装置获取所述屏幕图像。Optionally, the obtaining the screen image of the display screen through the image capturing device includes: correcting the image capturing device; and obtaining the screen image through the corrected image capturing device.

具体地,在本实施例中,通过图像捕获装置获取显示屏的屏幕图像包括:在显示屏的顶部或底部安装摄像头,结合图2所示,例如当摄像头安装在显示屏的顶部时,与摄像头通信连接的移动终端上会显示摄像头的安装位置;校正图像捕获装置;通过校正后的图像捕获装置获取屏幕图像。由于安装位置精确度和电视机上方的倾斜角度等原因可能导致取色误差,因此用户在使用摄像头取色前需要做校准。通过在获取屏幕图像前对摄像头的图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。Specifically, in this embodiment, obtaining the screen image of the display screen through the image capture device includes: installing a camera at the top or bottom of the display screen, as shown in FIG. 2 , for example, when the camera is installed at the top of the display screen, the camera is The installation position of the camera will be displayed on the mobile terminal connected by communication; the image capture device is corrected; and the screen image is obtained through the corrected image capture device. Due to factors such as the accuracy of the installation position and the tilt angle above the TV, color picking errors may occur, so users need to calibrate before using the camera to pick colors. By correcting the image capturing device of the camera before acquiring the screen image, the color picking accuracy of the image capturing device is improved, thereby effectively improving the accuracy and effectiveness of the color picking lighting control method.

在本实施例中,通过在获取屏幕图像前对图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。In this embodiment, by calibrating the image capturing device before acquiring the screen image, the color picking accuracy of the image capturing device is improved, thereby effectively improving the accuracy and effectiveness of the color picking lighting control method.

可选地,所述图像捕获装置与所述显示屏的显示平面存在高差;所述校正所述图像捕获装置包括:通过所述图像捕获装置获取初始屏幕画面;将所述初始屏幕画面发送至移动终端,以使所述移动终端执行校准操作,其中,所述校准操作包括:将多个校准点移动至所述初始屏幕画面的对应边角位置,以完成所述校准操作;接收所述移动终端的校准操作信息,并根据所述校准操作信息校正所述图像捕获装置。Optionally, there is a height difference between the image capture device and the display plane of the display screen; the correction of the image capture device includes: obtaining an initial screen image through the image capture device; sending the initial screen image to Mobile terminal, so that the mobile terminal performs a calibration operation, wherein the calibration operation includes: moving multiple calibration points to corresponding corner positions of the initial screen image to complete the calibration operation; receiving the movement Calibration operation information of the terminal, and correcting the image capture device according to the calibration operation information.

具体地,在本实施例中,校正图像捕获装置包括:获取初始屏幕画面;将初始屏幕画面发送至移动终端,以使移动终端执行校准操作,其中,校准操作包括:将多个校准点移动至初始屏幕画面的对应边角位置,以完成校准操作;接收移动终端的校准操作信息,并根据校准操作信息校正图像捕获装置。由于安装位置精确度和电视机上方的倾斜角度等原因可能导致取色误差,即图像捕获装置与显示屏的显示平面存在高差,因此用户在使用摄像头取色前需要做校准。结合图3所示,在准备过程就位后,摄像头的图像捕获装置获取初始屏幕画面并发送至移动终端,在移动终端执行校准操作,包括:用户拖动五个校准点至初始屏幕画面的对应边角位置,并将校准操作信息即用户的校准操作发送至图像捕获装置,以使图像捕获装置根据用户的校准操作校正摄像头。通过在获取屏幕图像前对图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。Specifically, in this embodiment, correcting the image capture device includes: acquiring an initial screen; sending the initial screen to the mobile terminal, so that the mobile terminal performs a calibration operation, wherein the calibration operation includes: moving multiple calibration points to Corresponding corner positions of the initial screen image to complete the calibration operation; receive calibration operation information from the mobile terminal, and correct the image capture device according to the calibration operation information. Due to factors such as the accuracy of the installation position and the tilt angle above the TV, color picking errors may occur, that is, there is a height difference between the image capture device and the display plane of the display screen. Therefore, users need to calibrate before using the camera to pick colors. As shown in Figure 3, after the preparation process is in place, the image capture device of the camera obtains the initial screen image and sends it to the mobile terminal. The mobile terminal performs a calibration operation, including: the user drags five calibration points to the corresponding ones of the initial screen image. corner position, and sends the calibration operation information, that is, the user's calibration operation, to the image capture device, so that the image capture device can correct the camera according to the user's calibration operation. By correcting the image capturing device before acquiring the screen image, the color picking accuracy of the image capturing device is improved, thereby effectively improving the accuracy and effectiveness of the color picking lighting control method.

在本实施例中,通过在获取屏幕图像前对图像捕获装置进行校正,提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。In this embodiment, by calibrating the image capturing device before acquiring the screen image, the color picking accuracy of the image capturing device is improved, thereby effectively improving the accuracy and effectiveness of the color picking lighting control method.

可选地,所述根据所述屏幕图像确定RGB值包括:对所述屏幕图像进行透视变换,得到正面视图;将所述正面视图分为多个区域,并获取多个所述区域的YUV值;将所述YUV值转换为所述RGB值。Optionally, determining the RGB value according to the screen image includes: performing perspective transformation on the screen image to obtain a front view; dividing the front view into multiple areas, and obtaining YUV values of multiple areas ;Convert the YUV value to the RGB value.

具体地,在本实施例中,根据屏幕图像确定RGB值包括:对屏幕图像进行透视变换,得到正面视图;将正面视图分为多个区域,并获取多个区域的YUV值;将YUV值转换为RGB值。由于图像捕获装置与显示屏的显示平面存在高差,也就是摄像头所放位置并不在显示屏的正前方,因此存在采集的画面严重畸形和比例失调的问题,因此需要采用透视变换对屏幕图像进行处理,即对距离摄像头远近不同位置的画面进行比例调节,得到正面视图;由于不同区域的发光情况不尽相同,因此将正面视图分为多个区域,并获取多个区域的YUV值,并将多个YUV值转换为RGB值,以在背景灯对应位置控制灯带的对应颜色。通过对屏幕图像进行透视变换得到正面视图,解决了采集的画面严重畸形和比例失调的问题,因而提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。Specifically, in this embodiment, determining the RGB value based on the screen image includes: performing perspective transformation on the screen image to obtain a front view; dividing the front view into multiple areas and obtaining YUV values of the multiple areas; converting the YUV values is the RGB value. Since there is a height difference between the image capture device and the display plane of the display screen, that is, the camera is not placed directly in front of the display screen, there is a problem of serious deformity and imbalance in the captured images. Therefore, perspective transformation is required to adjust the screen image. Processing, that is, adjusting the proportion of images at different locations far and near from the camera to obtain a front view; since the lighting conditions of different areas are different, the front view is divided into multiple areas, and the YUV values of multiple areas are obtained, and Multiple YUV values are converted into RGB values to control the corresponding color of the light strip at the corresponding position of the background light. The front view is obtained by performing perspective transformation on the screen image, which solves the problem of serious deformity and imbalance of the collected pictures, thereby improving the color picking accuracy of the image capture device, thus effectively improving the accuracy and effectiveness of the color picking lighting control method.

在本实施例中,通过对屏幕图像进行透视变换得到正面视图,解决了采集的画面严重畸形和比例失调的问题,因而提高了图像捕获装置的取色精度,从而有效提高了取色照明控制方法的精度和有效性。In this embodiment, the front view is obtained by performing perspective transformation on the screen image, which solves the problem of serious deformity and imbalance of the captured picture, thereby improving the color picking accuracy of the image capture device, thereby effectively improving the color picking lighting control method. accuracy and effectiveness.

可选地,所述根据所述RGB值控制与所述显示屏对应的背景灯的颜色包括:根据所述RGB值控制多个灯带的颜色,以控制由多个所述灯带组成的所述背景灯的颜色。Optionally, controlling the color of the background light corresponding to the display screen according to the RGB value includes: controlling the color of a plurality of light strips according to the RGB value to control all lights composed of a plurality of the light strips. Describes the color of the background light.

具体地,在本实施例中,根据RGB值控制与显示屏对应的背景灯的颜色包括:根据RGB值控制多个灯带的颜色,以控制由多个灯带组成的背景灯的颜色。通过获取对应区域的一帧的YUV值,将YUV值转换为RGB值,并通过RGB值控制灯带的颜色,由于不同区域的YUV值不尽相同,因此最终背景灯的颜色由各个灯带的颜色组合展现。根据RGB值控制多个灯带的颜色,以控制由多个灯带组成的背景灯的颜色,实现了背景灯颜色与显示屏屏幕图像的对应,进而有效提高了取色照明控制方法的精度和有效性。Specifically, in this embodiment, controlling the color of the background light corresponding to the display screen according to RGB values includes: controlling the colors of multiple light strips according to RGB values to control the color of the background light composed of multiple light strips. By obtaining the YUV value of a frame in the corresponding area, convert the YUV value into an RGB value, and control the color of the light strip through the RGB value. Since the YUV values in different areas are different, the final color of the background light is determined by the color of each light strip. Color combinations show. Control the color of multiple light strips according to the RGB value to control the color of the background light composed of multiple light strips, realizing the correspondence between the background light color and the display screen image, thereby effectively improving the accuracy and accuracy of the color lighting control method. effectiveness.

在本实施例中,根据RGB值控制多个灯带的颜色,以控制由多个灯带组成的背景灯的颜色,实现了背景灯颜色与显示屏屏幕图像的对应,进而有效提高了取色照明控制方法的精度和有效性。In this embodiment, the colors of multiple light strips are controlled according to RGB values to control the color of the background light composed of multiple light strips, thereby realizing the correspondence between the color of the background light and the screen image of the display screen, thereby effectively improving color picking. Accuracy and effectiveness of lighting control methods.

可选地,所述取色照明控制方法还包括:采用增强算法增强所述RGB值,并将增强后的所述RGB值发送至所述背景灯,以控制所述背景灯的颜色。Optionally, the color-picking lighting control method further includes: using an enhancement algorithm to enhance the RGB values, and sending the enhanced RGB values to the background light to control the color of the background light.

具体地,在本实施例中,取色照明控制方法还包括:采用增强算法增强RGB值,并将增强后的RGB值发送至背景灯,以控制背景灯的颜色。由于用户家中的光照因素或镜面反光等导致摄像头采集的屏幕色彩变淡,因此需要采用增强算法(也可以称作颜色夸张算法),增强颜色的鲜艳程度(例如夸张程度为60%,则夸张算法为:r=r*160%,g=g*160%,b=b*160%)。随着OLED电视的普及,由于每一个像素都是自发光,因此镜面反光问题变小。而对于其他面板的电视或者显示器,采用了色彩增强技术来还原本来颜色,同时通过对色温的校准,解决了近端色温偏暖,远端偏冷的问题。通过增强算法增强RGB值进而提高背景灯的亮度,减少光照因素或镜面反光等因素导致摄像头采集的屏幕色彩变淡的情况发生,使得背景灯的颜色及亮度与显示屏的颜色及亮度高程度对应,有效提高了取色照明控制方法的有效性。Specifically, in this embodiment, the color-taking lighting control method also includes: using an enhancement algorithm to enhance RGB values, and sending the enhanced RGB values to the background light to control the color of the background light. Due to lighting factors or mirror reflection in the user's home, the color of the screen captured by the camera becomes lighter. Therefore, an enhancement algorithm (also called a color exaggeration algorithm) needs to be used to enhance the brightness of the color (for example, if the exaggeration degree is 60%, then the exaggeration algorithm is: r=r*160%, g=g*160%, b=b*160%). With the popularity of OLED TVs, since each pixel is self-illuminating, the problem of specular reflection becomes smaller. For TVs or monitors with other panels, color enhancement technology is used to restore the original colors. At the same time, by calibrating the color temperature, it solves the problem of warmer near-end color temperature and colder far-end color temperature. The RGB value is enhanced through the enhancement algorithm to increase the brightness of the background light, reducing the lightening of the screen color captured by the camera due to factors such as lighting factors or mirror reflection, so that the color and brightness of the background light correspond to the color and brightness of the display screen to a high degree. , effectively improving the effectiveness of the color lighting control method.

在本实施例中,通过增强算法增强RGB值进而提高背景灯的亮度,减少光照因素或镜面反光等因素导致摄像头采集的屏幕色彩变淡的情况发生,使得背景灯的颜色及亮度与显示屏的颜色及亮度高程度对应,有效提高了取色照明控制方法的有效性。In this embodiment, the enhancement algorithm is used to enhance the RGB value and thereby increase the brightness of the background light, thereby reducing the lightening of the screen color captured by the camera due to factors such as lighting factors or mirror reflection, so that the color and brightness of the background light are consistent with the display screen. The high degree of correspondence between color and brightness effectively improves the effectiveness of the color lighting control method.

本发明另一实施例提供一种取色照明控制装置,包括:获取模块,用于通过图像捕获装置获取显示屏的屏幕图像;确定模块,用于根据所述屏幕图像确定RGB值;控制模块,用于根据所述RGB值控制背景灯的颜色。Another embodiment of the present invention provides a color-taking lighting control device, which includes: an acquisition module for acquiring a screen image of a display screen through an image capture device; a determination module for determining RGB values according to the screen image; a control module, Used to control the color of the background light based on the RGB value.

本发明另一实施例提供一种取色照明控制装置,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如上所述的取色照明控制方法。Another embodiment of the present invention provides a color-picking lighting control device, which includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor, the above-mentioned method is implemented. Color lighting control methods.

在本实施例中,取色照明控制装置可以为摄像头的DSP芯片。In this embodiment, the color-taking lighting control device may be a DSP chip of the camera.

本发明另一实施例提供一种取色照明控制系统,包括图像捕获装置以及如上所述的取色照明控制装置。其中,以摄像头作为取色照明控制系统为例,包括用于采集显示屏屏幕图像的图像捕获装置,以及用于实现取色照明控制方法的取色照明控制装置。Another embodiment of the present invention provides a color capturing lighting control system, including an image capturing device and the color capturing lighting control device as described above. Among them, taking a camera as a color lighting control system as an example, it includes an image capture device for collecting screen images of a display screen, and a color lighting control device for implementing a color lighting control method.

在本实施例中,图像捕获装置可以为摄像头的摄像模组,也就是说,仅通过摄像头自带的摄像模组和DSP芯片便可完成上述取色照明控制方法。In this embodiment, the image capture device may be a camera module of the camera. That is to say, the above color capturing and lighting control method can be completed only through the camera module and DSP chip of the camera.

本发明另一实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如上所述的取色照明控制方法。Another embodiment of the present invention provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is read and run by a processor, the above-mentioned color picking and lighting control method is implemented. .

虽然本发明公开披露如上,但本发明公开的保护范围并非仅限于此。本领域技术人员在不脱离本发明公开的精神和范围的前提下,可进行各种变更与修改,这些变更与修改均将落入本发明的保护范围。Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the disclosure of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims (7)

1. A color taking illumination control method, characterized by comprising:
the method for acquiring the screen image of the display screen through the external image capturing device specifically comprises the following steps: acquiring an initial screen picture through the image capturing device; transmitting the initial screen picture to a mobile terminal so as to enable the mobile terminal to execute a calibration operation, wherein the calibration operation comprises the following steps: moving a plurality of calibration points to corresponding corner positions of the initial screen picture so as to complete the calibration operation; receiving calibration operation information of the mobile terminal, and correcting the image capturing device according to the calibration operation information; acquiring the screen image through the corrected image capturing device;
determining RGB values according to the screen image;
and controlling the color of a background light corresponding to the display screen according to the RGB value, wherein the color-taking illumination control method further comprises the following steps: and enhancing the RGB values by adopting an enhancement algorithm, and sending the enhanced RGB values to the background lamp so as to control the color of the background lamp.
2. The method of claim 1, wherein determining RGB values from the screen image comprises:
performing perspective transformation on the screen image to obtain a front view;
dividing the front view into a plurality of areas, and acquiring YUV values of the plurality of areas;
converting the YUV values to the RGB values.
3. The color-taking illumination control method according to claim 2, wherein the controlling the color of the backlight corresponding to the display screen according to the RGB values includes:
and controlling the colors of a plurality of lamp bands according to the RGB values so as to control the colors of the background lamps formed by a plurality of lamp bands.
4. A color taking illumination control apparatus, comprising:
the acquisition module is used for acquiring a screen image of the display screen through an external image capturing device and specifically comprises the following steps: acquiring an initial screen picture through the image capturing device; transmitting the initial screen picture to a mobile terminal so as to enable the mobile terminal to execute a calibration operation, wherein the calibration operation comprises the following steps: moving a plurality of calibration points to corresponding corner positions of the initial screen picture so as to complete the calibration operation; receiving calibration operation information of the mobile terminal, and correcting the image capturing device according to the calibration operation information; acquiring the screen image through the corrected image capturing device;
a determining module for determining RGB values according to the screen image;
and the control module is used for controlling the color of the background light according to the RGB value, enhancing the RGB value by adopting an enhancement algorithm, and sending the enhanced RGB value to the background light so as to control the color of the background light.
5. A color taking illumination control apparatus comprising a computer-readable storage medium storing a computer program and a processor, the computer program, when read and executed by the processor, implementing the color taking illumination control method according to any one of claims 1-3.
6. A color taking illumination control system comprising an image capturing device and the color taking illumination control device of claim 5.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when read and run by a processor, implements the color taking illumination control method according to any one of claims 1-3.
CN202011404887.2A 2020-12-02 2020-12-02 A color-taking lighting control method, device, system and storage medium Active CN112512184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011404887.2A CN112512184B (en) 2020-12-02 2020-12-02 A color-taking lighting control method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011404887.2A CN112512184B (en) 2020-12-02 2020-12-02 A color-taking lighting control method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN112512184A CN112512184A (en) 2021-03-16
CN112512184B true CN112512184B (en) 2023-09-26

Family

ID=74968438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011404887.2A Active CN112512184B (en) 2020-12-02 2020-12-02 A color-taking lighting control method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN112512184B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286405B (en) * 2021-04-30 2022-06-28 深圳市凯润智能照明有限公司 System and method for realizing audio and image synchronous control of lighting
CN113672146A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Light control method, device, system, electronic equipment and storage medium
CN113677076A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Illumination control method, device, system, electronic device and storage medium
CN113677071B (en) * 2021-08-11 2023-07-28 深圳市智岩科技有限公司 Lamp control method and device, electronic equipment and storage medium
CN113709949B (en) * 2021-08-20 2023-11-03 深圳市智岩科技有限公司 Lighting device control method and device, electronic device and storage medium
CN113947708B (en) * 2021-09-18 2025-04-04 深圳智岩科技股份有限公司 Lighting effect control method, system, device, electronic device and medium for lighting equipment
CN113795071B (en) * 2021-11-11 2022-03-08 珠海视熙科技有限公司 Atmosphere lamp control method and device and storage medium
CN114466496A (en) * 2021-12-29 2022-05-10 深圳拓邦股份有限公司 Display screen background lamp system
CN114666940A (en) * 2022-03-01 2022-06-24 深圳市彩斓光电科技有限公司 Intelligent synchronous color-obtaining atmosphere lighting system for display
CN116958280A (en) * 2023-06-01 2023-10-27 深圳市集贤科技有限公司 Color picking methods, devices and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053452A (en) * 2017-12-08 2018-05-18 浙江理工大学 A kind of digital image colors extracting method based on mixed model
CN111787671A (en) * 2020-07-15 2020-10-16 江门市征极光兆科技有限公司 Control method based on movie and television picture synchronous light atmosphere

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100744523B1 (en) * 2006-03-29 2007-08-01 엘지전자 주식회사 Projector with image capturing function and its image capturing method
JP5142491B2 (en) * 2006-07-31 2013-02-13 株式会社リコー Image display device, image display method, and image display program
CN100589583C (en) * 2007-06-05 2010-02-10 广东威创视讯科技股份有限公司 A multi-screen video wall correction method
TW200935972A (en) * 2007-11-06 2009-08-16 Koninkl Philips Electronics Nv Light management system with automatic identification of light effects available for a home entertainment system
CN105210454B (en) * 2013-05-16 2018-06-08 飞利浦灯具控股公司 The calibration based on camera of ambient lighting system
CN105979400A (en) * 2016-06-28 2016-09-28 乐视控股(北京)有限公司 Screen brightness adjusting method, device and terminal
CN107908383B (en) * 2017-11-14 2020-07-07 维沃移动通信有限公司 Screen color adjusting method and device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053452A (en) * 2017-12-08 2018-05-18 浙江理工大学 A kind of digital image colors extracting method based on mixed model
CN111787671A (en) * 2020-07-15 2020-10-16 江门市征极光兆科技有限公司 Control method based on movie and television picture synchronous light atmosphere

Also Published As

Publication number Publication date
CN112512184A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN112512184B (en) A color-taking lighting control method, device, system and storage medium
CN103426403B (en) The correction image-pickup method of LED display, picture display process and bearing calibration
CN109286753A (en) Image processing method, system and computer readable storage medium
CN106470336A (en) Camera color temperature compensating system and intelligent terminal
CN107864349B (en) Television and display effect control method thereof, and computer readable storage medium
CN102479499A (en) Electronic device and method for automatically adjusting display color temperature
TW201123874A (en) Presentation device
TW201916677A (en) Projection system and automatic setting method thereof
CN108737806A (en) A kind of projecting apparatus color correcting method and device, computer storage media
CN104183216A (en) Method and device for controlling brightness of display screen of displayer
WO2023134235A1 (en) Image processing method and electronic device
CN113709949B (en) Lighting device control method and device, electronic device and storage medium
CN116321627A (en) Screen atmosphere lamp synchronous control method, system and control equipment based on image pickup
US20090256928A1 (en) Method and device for detecting color temperature
US10810970B1 (en) Display device
US20130106840A1 (en) Apparatus and method for correcting image projected by projector
JP2008187362A (en) Projector and projected image adjustment method
CN116668838B (en) Image processing methods and electronic equipment
CN114582270B (en) Luminance and chrominance data acquisition method, device and system and computer readable storage medium
CN106775527B (en) Adjust the method, apparatus and display equipment of the display parameters of display panel
CN112071257B (en) LED screen correction method and device, storage medium and LED screen
KR20110072213A (en) Image correction method
CN116051368B (en) Image processing methods and related equipment
CN104065901B (en) projection system, projector and correction method thereof
WO2011141972A1 (en) Luminosity correction device, luminosity correction system, and luminosity correction method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Zhiyan Technology Co.,Ltd.

Country or region after: China

Address before: 518000 Room 502, 5th floor, building 9, phase II, Nanshan cloud Valley Pioneer Park, No.2 Pingshan 1st Road, Pingshan community, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address