CN117202447A - Atmosphere lamp equipment, corner color taking method thereof, corresponding device and medium - Google Patents

Atmosphere lamp equipment, corner color taking method thereof, corresponding device and medium Download PDF

Info

Publication number
CN117202447A
CN117202447A CN202311472363.0A CN202311472363A CN117202447A CN 117202447 A CN117202447 A CN 117202447A CN 202311472363 A CN202311472363 A CN 202311472363A CN 117202447 A CN117202447 A CN 117202447A
Authority
CN
China
Prior art keywords
image
color
light
picking
original image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311472363.0A
Other languages
Chinese (zh)
Other versions
CN117202447B (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
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan 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, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202311472363.0A priority Critical patent/CN117202447B/en
Publication of CN117202447A publication Critical patent/CN117202447A/en
Application granted granted Critical
Publication of CN117202447B publication Critical patent/CN117202447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application relates to atmosphere lamp equipment, a corner color taking method thereof, a corresponding device and a medium, wherein the method comprises the following steps: according to layout configuration information for representing the picture partition layout, carrying out region segmentation on the target picture according to the picture partition layout to obtain a plurality of color-taking images distributed around the outer side edges of the original pictures of the target picture; grouping the plurality of light emitting units according to the picture frame partition layout according to the layout configuration information, and independently setting corresponding lamp groups for the outer side edge of each original picture of each color-taking image; and taking the color-taking image positioned at any target corner position of the target picture as an exceptional color-taking image, and setting the luminous color value of the luminous unit in the corresponding lamp group according to the partial image covering the outer side edge of any original picture of the exceptional color-taking image. When the luminous color values of the lamp groups corresponding to the corner positions of the target picture are determined, the method is more accurate and fine, and the atmosphere lamp equipment can render the lamplight atmosphere with more immersion.

Description

氛围灯设备及其边角取色方法和相应的装置、介质Ambient lighting equipment and its corner color selection methods and corresponding devices and media

技术领域Technical field

本申请涉及照明控制领域,尤其涉及一种氛围灯设备及其边角取色方法和相应的装置、介质。The present application relates to the field of lighting control, and in particular to an ambient lighting device and its corner color picking method and corresponding devices and media.

背景技术Background technique

氛围灯设备作为智能灯具的一种,可以起到装饰室内空间效果、展示信息的作用。随着人们经济水平的提升,氛围灯设备越来越普及。氛围灯设备的功能之一,是根据指定的环境的光线效果,来生成与该光线效果相呼应的灯光效果,起到加强环境氛围的作用。As a type of smart lighting, ambient lighting equipment can play a role in decorating indoor spaces and displaying information. With the improvement of people's economic level, ambient lighting equipment is becoming more and more popular. One of the functions of the ambient lighting equipment is to generate a lighting effect that echoes the light effect of the specified environment, thereby enhancing the environmental atmosphere.

示例性的一种氛围灯设备,将灯带围设在显示器周围,根据显示器的图形用户界面中显示的界面图像进行取色,通常是对界面图像中的靠近桌面外侧边的边界区域进行取色得到各个外侧边处图像的颜色值,根据这些颜色值确定对应框设在显示器的四条边上的各个灯珠的发光颜色值,控制各个灯珠播放相应的灯效,从而,在显示器之外的灯珠上,模拟出界面图像的边界区域的光线氛围,从而将界面图像的边界区域的光线效果扩展到实体空间中,使用户能在更大范围上感知界面图像的光线氛围,营造更沉浸的使用环境,特别适合在用户观看视频或者玩游戏时使用。An example of an ambient lighting device is to set a light strip around the monitor and select colors based on the interface image displayed in the graphical user interface of the monitor. Usually, the border area close to the outer edge of the desktop is selected in the interface image. The color value of the image at each outer edge is obtained. Based on these color values, the luminous color value of each lamp bead corresponding to the four sides of the display is determined, and each lamp bead is controlled to play the corresponding lighting effect. Thus, between the displays On the outer lamp beads, the light atmosphere of the boundary area of the interface image is simulated, thereby extending the light effect of the boundary area of the interface image into the physical space, allowing users to perceive the light atmosphere of the interface image in a wider range, creating a more Immersive usage environment, especially suitable for users to watch videos or play games.

在对界面图像取色时,常规的取色方式是通过对界面图像进行分区取色,将分区后每个区域的像素的颜色均值作为相应灯珠的发光颜色值,其中图像边角位置处的同一分区图像需要供两个侧边的灯珠确定发光颜色值,这种方式无法适配图像色彩分布的特点,据此所播放的灯效不够细腻。具体来说,根据影像制作特点,如图1所示,图像的主要色彩内容通常集中在图像的中部,如图中圆圈范围所示,且在一定程度上呈向外辐射减弱的特点,图中边角区域的像素被用来确定两侧的灯珠的发光颜色值时,一方面会受到边角区域的向心部位的颜色的干扰而难以准确对应边界颜色,另一方面也无法使角部处两个侧边上的灯珠呈现色彩差异化。When selecting the color of the interface image, the conventional color selection method is to select the color of the interface image by partitioning, and use the average color value of the pixels in each area after partitioning as the luminous color value of the corresponding lamp bead, where the pixels at the corners of the image are The same partition image requires two side lamp beads to determine the luminous color value. This method cannot adapt to the characteristics of the color distribution of the image, and the light effect played based on this is not delicate enough. Specifically, according to the characteristics of image production, as shown in Figure 1, the main color content of the image is usually concentrated in the middle of the image, as shown in the circle range in the figure, and to a certain extent, the outward radiation is weakened. When the pixels in the corner area are used to determine the luminous color values of the lamp beads on both sides, on the one hand, they will be interfered by the color of the centripetal part of the corner area, making it difficult to accurately correspond to the border color. On the other hand, the corners cannot be The lamp beads on the two sides show different colors.

综上可见,现有氛围灯设备的取色方案中,针对图像的边角部位进行取色并播放相应的灯效时,取色较为粗糙而且不够准确,导致相应的灯光氛围较为生硬,需要进一步优化。In summary, it can be seen that in the existing color selection scheme of ambient lighting equipment, when selecting colors for the corners of the image and playing the corresponding lighting effects, the color selection is rough and inaccurate, resulting in the corresponding lighting atmosphere being stiff, and further work is needed. optimization.

发明内容Contents of the invention

本申请的目的在于提供一种氛围灯设备及其边角取色方法和相应的装置、介质。The purpose of this application is to provide an ambient lighting device, a corner color picking method thereof, and corresponding devices and media.

根据本申请的一个方面,提供一种氛围灯设备边角取色方法,包括:According to one aspect of the present application, a method for selecting colors from corners of ambient lighting equipment is provided, including:

根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;According to the layout configuration information used to represent the frame partition layout, the target picture is divided into regions according to the frame partition layout, and multiple color images distributed around the outer edges of each original image of the target picture are obtained;

根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;According to the layout configuration information, multiple light-emitting units in the ambient lighting device are grouped according to the frame partition layout, and corresponding light groups are independently set for the outer edges of each original image obtained by dividing each color image. ;

将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。Use the color-picking image located at any target corner position of the target image as an exception color-picking image, and set the arbitrary original image based on the partial image on the exceptional color-picking image covering the outer edge of any original image obtained by segmentation The luminous color value of the light-emitting unit in the light group corresponding to the outer edge.

根据本申请的另一方面,提供一种氛围灯设备边角取色装置,包括:According to another aspect of the present application, a corner color picking device of ambient lighting equipment is provided, including:

图像分割模块,设置为根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;The image segmentation module is configured to segment the target picture according to the frame partition layout according to the layout configuration information used to represent the frame partition layout, and obtain multiple color images distributed around the outer edges of each original image of the target picture. ;

分组映射模块,设置为根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;The grouping mapping module is configured to group the plurality of light-emitting units in the ambient lighting device according to the frame partition layout according to the layout configuration information, and divide the outer edge of each original image for each color image. Set up corresponding light groups independently;

边角取色模块,设置为将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。The corner color picking module is configured to use the color picking image located at any target corner position of the target picture as an exception color picking image, and the exception color picking image covers a part of the outer edge of any original image obtained by segmentation Image, set the light-emitting color value of the light-emitting unit in the light group corresponding to the outer edge of any original image.

根据本申请的另一方面,提供一种氛围灯设备,包括中央处理器和存储器,所述中央处理器用于调用运行存储于所述存储器中的计算机程序以执行所述氛围灯设备边角取色方法的步骤。According to another aspect of the present application, an ambient lighting device is provided, including a central processor and a memory. The central processor is configured to call and run a computer program stored in the memory to execute corner color picking of the ambient lighting device. Method steps.

根据本申请的另一方面,提供一种非易失性可读存储介质,其以计算机可读指令的形式存储有依据所述的氛围灯设备边角取色方法所实现的计算机程序,所述计算机程序被计算机调用运行时,执行该方法所包括的步骤。According to another aspect of the present application, a non-volatile readable storage medium is provided, which stores in the form of computer readable instructions a computer program implemented based on the described corner color picking method of an ambient light device, said When the computer program is called and run by the computer, the steps included in the method are executed.

相对于现有技术,本申请先根据表示画幅分区布局的布局配置信息对目标图片进行区域分割,得到围绕目标图片上的各个原图外侧边分布的各个取色图像,进而,再根据该布局配置信息,对氛围灯设备中的多个发光单元进行分组,得到多个灯组,然后,基于原图外侧边与取色图像的对应关系,按照每个取色图像分割所得的原图外侧边,与相应的灯组建立对应关系,这个灯组便可以是围设在灯效的画幅上属于取色图像相对应的原图外侧边节段的发光单元也即灯珠集,这样,对于位于目标图片的角部位置的取色图像来说,将其作为例外取色图像,由于其对应获得两个原图外侧边,所以,可以用于确定这两个原图外侧边中相应的灯组中的发光单元的发光颜色值,而在确定一个原图外侧边相应的灯组中发光单元的发光颜色值时,则根据例外取色图像中,涵盖该原图外侧边的局部图像去确定相应的灯组的发光颜色值,所以,角部位置相对应的两个灯组的发光颜色值彼此采用的局部图像可以呈现出差异化,而且彼此的局部图像均在事实上排除了远端的向心部位的图像内容的干扰,使得两个灯组相应的发光颜色值之间,可以更细腻地呈现出不同颜色,且更能反映各个灯组相对应的原图外侧边处的真实色调,由此,在确定目标图片的角部位置相对应的灯组的发光颜色值时,更为准确细腻,能使氛围灯设备所播放的灯效更逼近目标图片的真实效果,营造更具沉浸感的灯光氛围。Compared with the existing technology, this application first performs area segmentation on the target picture according to the layout configuration information indicating the frame partition layout, and obtains various color images distributed around the outer edges of each original image on the target picture, and then based on the layout Configuration information, group multiple light-emitting units in the ambient light device to obtain multiple light groups, and then, based on the corresponding relationship between the outer edge of the original image and the color image, divide the original image according to each color image. On the side, establish a corresponding relationship with the corresponding lamp group. This lamp group can be a light-emitting unit that is a lamp bead set surrounding the outer segment of the original image corresponding to the color image on the frame of the lighting effect. In this way , for the color-picking image located at the corner of the target image, treat it as an exceptional color-picking image. Since it corresponds to the two outer edges of the original image, it can be used to determine the outer edges of the two original images. The luminous color value of the light-emitting unit in the corresponding light group in the original image is determined. When determining the luminous color value of the light-emitting unit in the corresponding light group on the outside of an original image, the color image is selected according to the exception, covering the outside of the original image. The partial images of the edge are used to determine the luminous color value of the corresponding lamp group. Therefore, the luminous color values of the two lamp groups corresponding to the corner positions can be different from each other, and the local images of each other are in fact This eliminates the interference of the image content of the far-end centripetal part, so that the corresponding luminous color values of the two lamp groups can present different colors more delicately, and can better reflect the original image corresponding to each lamp group. The real tone at the side, thus, when determining the luminous color value of the light group corresponding to the corner position of the target picture, it is more accurate and delicate, which can make the lighting effect played by the ambient lighting device closer to the reality of the target picture Effect, creating a more immersive lighting atmosphere.

附图说明Description of the drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.

图1为示例性的图像色彩分布关系图,图中虚线矩形框指示图像的画幅,圆圈部分指示体现图像的主要色彩内容的区域;Figure 1 is an exemplary image color distribution relationship diagram. The dotted rectangular frame in the figure indicates the frame of the image, and the circled part indicates the area that embodies the main color content of the image;

图2为本申请实施例中的氛围灯设备的电气结构的原理示意图;Figure 2 is a schematic diagram of the electrical structure of the ambient light device in the embodiment of the present application;

图3为本申请实施例中的氛围灯设备的显示画幅的示意图,其中的氛围灯被布局在终端设备的显示器周围形成边框灯的样态;Figure 3 is a schematic diagram of the display frame of the ambient light device in the embodiment of the present application, in which the ambient lights are arranged around the display of the terminal device to form a frame light;

图4为本申请实施例中的氛围灯设备边角取色方法的流程示意图;Figure 4 is a schematic flowchart of the color selection method for the corners of the ambient light equipment in the embodiment of the present application;

图5为本申请的目标图片的区域分割效果的示意图,示出按照3*4的布局将目标图像划分为12个区域的效果;Figure 5 is a schematic diagram of the area segmentation effect of the target image of the present application, showing the effect of dividing the target image into 12 areas according to a 3*4 layout;

图6为本申请实施例中根据界面图像制作目标图片的流程示意图;Figure 6 is a schematic flowchart of creating a target image based on an interface image in an embodiment of the present application;

图7为本申请实施例中根据例外取色图像确定其相应的两个灯组的发光颜色值的流程示意图;Figure 7 is a schematic flowchart of determining the luminous color values of the corresponding two lamp groups based on the exceptional color image in the embodiment of the present application;

图8为本申请实施例中对例外取色图像进行等分割后确定其各个原图外侧边相对应综合颜色值的流程示意图;Figure 8 is a schematic flow chart of determining the corresponding comprehensive color values of the outer edges of each original image after equal segmentation of the exceptional color-picked image in the embodiment of the present application;

图9为本申请实施例中对例外取色图像进行等分割的效果示意图;Figure 9 is a schematic diagram of the effect of equal segmentation of the exceptional color image in the embodiment of the present application;

图10为本申请实施例中根据常规取色图像确定相应的灯组的发光颜色值的流程示意图;Figure 10 is a schematic flowchart of determining the luminous color value of the corresponding lamp group according to the conventional color picking image in the embodiment of the present application;

图11为本申请实施例中的氛围灯设备边角取色装置的结构示意图;Figure 11 is a schematic structural diagram of the corner color picking device of the ambient light equipment in the embodiment of the present application;

图12为本申请实施例中的计算机设备的结构示意图。Figure 12 is a schematic structural diagram of a computer device in an embodiment of the present application.

具体实施方式Detailed ways

请参阅图2,本申请一种实施例提供的一种氛围灯设备的结构示意图中可以看出,所述氛围灯设备包括控制器1、氛围灯2,以及图像获取接口,氛围灯2与控制器1电性连接,以便接受控制器1中运行的计算机程序的控制协同工作,实现灯效播放。Please refer to Figure 2. It can be seen from the structural schematic diagram of an ambient light device provided by an embodiment of the present application that the ambient light device includes a controller 1, an ambient light 2, and an image acquisition interface. The ambient light 2 and the control The controller 1 is electrically connected in order to accept the control of the computer program running in the controller 1 and work together to realize the lighting effect playback.

氛围灯设备的控制器1,用于实现对整个氛围灯设备的工作控制,并且负责整个氛围灯设备内外的通信,其中,控制器1还负责驱动图像获取接口工作,通过图像获取接口逐帧采集环境参照图像,环境参照图像可以是终端设备的界面图像,再根据各帧环境参照图像生成相应帧的灯效播放指令,通过灯效播放指令控制氛围灯2播放相应帧的灯效。The controller 1 of the ambient light equipment is used to control the work of the entire ambient light equipment and is responsible for communication inside and outside the entire ambient light equipment. Among them, the controller 1 is also responsible for driving the image acquisition interface and collecting frame by frame through the image acquisition interface. The environment reference image can be the interface image of the terminal device, and then the lighting effect playback instructions of the corresponding frame are generated according to each frame of the environment reference image, and the ambient light 2 is controlled to play the lighting effect of the corresponding frame through the light effect playback instructions.

控制器1通常包括控制芯片、通信组件以及总线接头,在一些实施例中,控制器1还可以按需配置电源适配器、控制面板、显示屏等。The controller 1 usually includes a control chip, communication components, and bus connectors. In some embodiments, the controller 1 can also be configured with a power adapter, a control panel, a display screen, etc. as needed.

电源适配器主要用于将市电转换为直流电,以便为整个氛围灯设备供电。控制芯片可采用各种嵌入式芯片实现,例如蓝牙SoC(System on Chip,系统级芯片)、WiFi SoC、MCU (Micro Controller Unit,微控制器)、DSP(Digital Signal Processing,数字信号处理)等各种类型的芯片,控制芯片通常包括中央处理器和存储器,存储器和中央处理器分别用于存储和执行程序指令,以实现相应的功能。以上各种类型的控制芯片,可以自带通信组件,也可按需额外配置通信组件。通信组件可以用于与外部设备通信,例如,可以与个人计算机或各种智能手机之类的终端设备通信,以便用户通过其终端设备下达各种配置指令之后,控制器1的控制芯片可以通过通信组件接收配置指令,完成基础配置,以便控制氛围灯工作。此外,控制器1还可以通过通信组件获取终端设备的界面图像,或者获取摄像头采集的实时预览图像。总线接头主要用于为接入总线的氛围灯2接入电源并提供灯效播放指令,因而对应提供电源总线和信号总线相对应的针脚,由此,当氛围灯2需要接入控制器1时,通过氛围灯相应的接头与所述总线接头连接即可。控制面板通常提供一个或多个按键,用于对控制器1实施开关控制、选择各种预设的灯效控制方式等等。显示屏可用于显示各种控制信息,以便与所述控制面板中的按键相配合,支持人机交互功能的实现。一些实施例中,控制面板与所述显示屏可以集成到同一触控显示屏中。The power adapter is mainly used to convert mains power into direct current to power the entire ambient lighting device. The control chip can be implemented using various embedded chips, such as Bluetooth SoC (System on Chip, system-on-chip), WiFi SoC, MCU (Micro Controller Unit, microcontroller), DSP (Digital Signal Processing, digital signal processing), etc. A type of chip, the control chip usually includes a central processing unit and a memory. The memory and the central processing unit are used to store and execute program instructions respectively to achieve corresponding functions. The above types of control chips can come with their own communication components, or additional communication components can be configured as needed. The communication component can be used to communicate with external devices, for example, it can communicate with terminal devices such as personal computers or various smart phones, so that after the user issues various configuration instructions through his terminal device, the control chip of the controller 1 can communicate through The component receives configuration instructions and completes basic configuration in order to control the ambient light operation. In addition, the controller 1 can also obtain the interface image of the terminal device through the communication component, or obtain the real-time preview image collected by the camera. The bus connector is mainly used to connect the power supply to the ambient light 2 connected to the bus and provide lighting effect playback instructions. Therefore, it provides pins corresponding to the power bus and the signal bus. Therefore, when the ambient light 2 needs to be connected to the controller 1 , just connect it to the bus connector through the corresponding connector of the ambient light. The control panel usually provides one or more buttons for implementing switch control on the controller 1, selecting various preset lighting effect control methods, and so on. The display screen can be used to display various control information in order to cooperate with the buttons in the control panel to support the realization of human-computer interaction functions. In some embodiments, the control panel and the display screen may be integrated into the same touch display screen.

请结合图3,图3中的氛围灯可以被布局在终端设备的显示器的四周而成为边框灯的样态,边框灯可以由连接在总线上的单条或多条发光灯带围设而成。至于边框灯所采用的发光灯带及发光灯带中的发光单元,可以等间距设置,以方便对发光单元进行等间距或等量分组。Please refer to Figure 3. The ambient lights in Figure 3 can be arranged around the display of the terminal device to form a frame light. The frame light can be surrounded by a single or multiple light strips connected to the bus. As for the light-emitting light strips used in the frame lights and the light-emitting units in the light-emitting light strips, they can be arranged at equal intervals to facilitate grouping the light-emitting units at equal intervals or in equal amounts.

每个发光灯带21可由多个作为发光单元使用的灯珠210串接而成,同一发光灯带21中的各个灯珠210由接入总线的同一组线缆传输工作电流,同一发光灯带21的各个灯珠210之间,在电性连接关系上,可以采用并联的方式进行连接。在布局成边框灯时,虽然全部灯珠都是环绕显示器的四周而围设,但在整体上可以视为在灯珠矩阵结构的基础上构成的显示画幅4,但显示画幅4的框内部位不设置灯珠,只在四边设置灯珠,当播放灯效时,便可以在该显示画幅4的范围内外散射出一定的光线氛围效果。Each light-emitting lamp strip 21 can be composed of multiple lamp beads 210 used as light-emitting units connected in series. Each lamp bead 210 in the same light-emitting lamp strip 21 transmits operating current through the same set of cables connected to the bus. The same light-emitting lamp strip The various lamp beads 210 of 21 can be connected in parallel in terms of electrical connection. When laid out as a frame lamp, although all the lamp beads are arranged around the periphery of the display, it can be regarded as a display frame 4 based on the lamp bead matrix structure as a whole, but the position inside the frame of the display frame 4 No lamp beads are provided, only lamp beads are provided on the four sides. When the light effect is played, a certain light atmosphere effect can be scattered inside and outside the display frame 4.

氛围灯2的发光灯带21的每个灯珠210中,也设置有相应的控制芯片,该控制芯片可以按照前文所揭示进行选型,或者选取其它更为经济的控制芯片,其作用主要在于能够从灯效播放指令中提取出与本灯珠210相对应的发光颜色值,控制本灯珠210内的发光元件发出相应的色光,一些实施例中,发光元件可以是三原色相对应的各个LED灯。Each lamp bead 210 of the light strip 21 of the ambient lamp 2 is also provided with a corresponding control chip. The control chip can be selected as disclosed above, or other more economical control chips can be selected. Its main function is to The light-emitting color value corresponding to the lamp bead 210 can be extracted from the light effect playback instruction, and the light-emitting elements in the lamp bead 210 can be controlled to emit corresponding colored light. In some embodiments, the light-emitting elements can be LEDs corresponding to the three primary colors. lamp.

图像获取接口既可以是硬件接口,也可以是实现于控制器1中的软件接口。当为硬件接口时,图像获取接口可以实现为摄像头,由控制器1加载相应的驱动程序驱动摄像头工作,当将摄像头对准目标环境对象时,例如对准终端设备的显示桌面,按照一定的帧率采集图像,便可持续采集到各帧界面图像。当为软件接口时,图像获取接口可以是借助终端设备的操作系统所提供的图形基础结构技术而在控制器1侧实现的图像获取程序,控制器1通过各种线缆例如HDMI、Type-C连接线与终端设备相连接,便可在该图形基础结构技术的支持下,持续获得终端设备的界面图像;当然,如果控制器1与终端设备中预先建立无线投屏协议,控制器1也可以通过无线通信的方式,获取终端设备投屏传输的界面图像。操作系统的图形基础结构技术,视操作系统类型不同而不同,示例而言,Windows操作系统中,提供了相应的技术,即:Microsoft DirectX Graphics Infrastructure,简称DXGI,便可实现此一功能。The image acquisition interface can be either a hardware interface or a software interface implemented in the controller 1 . When it is a hardware interface, the image acquisition interface can be implemented as a camera, and the controller 1 loads the corresponding driver to drive the camera to work. When the camera is pointed at the target environment object, such as the display desktop of the terminal device, according to a certain frame By collecting images at a high rate, each frame of interface image can be continuously collected. When it is a software interface, the image acquisition interface can be an image acquisition program implemented on the controller 1 side with the help of the graphics infrastructure technology provided by the operating system of the terminal device. The controller 1 uses various cables such as HDMI, Type-C When the cable is connected to the terminal device, the interface image of the terminal device can be continuously obtained with the support of the graphics infrastructure technology; of course, if the controller 1 and the terminal device have pre-established a wireless projection protocol, the controller 1 can also Through wireless communication, the interface image transmitted by the terminal device is obtained. The graphics infrastructure technology of the operating system varies depending on the type of operating system. For example, the Windows operating system provides the corresponding technology, namely: Microsoft DirectX Graphics Infrastructure, or DXGI for short, to realize this function.

本申请的氛围灯设备,当其上电时,控制器的控制芯片可以从存储器中调用执行计算机程序,通过该计算机程序默认的初始化流程,为氛围灯上电并实现初始化,完成对氛围灯和其他硬件设备的驱动配置。When the ambient light device of the present application is powered on, the control chip of the controller can call and execute a computer program from the memory. Through the default initialization process of the computer program, the ambient light is powered on and initialized, thereby completing the control of the ambient light and the ambient light. Driver configuration for other hardware devices.

一种实施例中,控制器在启动氛围灯时,可以先向氛围灯发送自检指令,驱动氛围灯的各个发光灯带中的各个灯珠返回其在发光灯带中的位置信息。每个灯珠都设置有相应的控制芯片用于与控制器中的控制芯片进行数据通信,因而可以按照串行通信协议,将灯珠自身的特征信息与其他灯珠的特征信息按序串接,实现对自身的位置信息的表征。控制器与灯珠之间执行的串行通信协议,可以是IIC(Inter-Integrated Circuit,集成电路总线)、SPI(serial peripheral interface,串行外设接口)、UART(Universal AsynchronousReceiver-Transmitter, 通用异步收发器)中任意一项。控制器从总线获得各个灯珠自检返回的结果数据后,对其进行解析,根据每个灯珠的特征信息在结果数据中的排序,便可确定各个灯珠在整个氛围灯所呈现的显示画幅4中的位置,由此可以将每个灯珠作为一个发光单元,可以理解为一个基本像素,后续控制器在构造灯效播放指令时,可以根据各个灯珠的位置信息,按照实际需要,为每个基本像素设置其相应的发光颜色值。In one embodiment, when starting the ambient light, the controller may first send a self-test instruction to the ambient light, and drive each lamp bead in each light strip of the ambient light to return its position information in the light strip. Each lamp bead is equipped with a corresponding control chip for data communication with the control chip in the controller. Therefore, the characteristic information of the lamp bead itself and the characteristic information of other lamp beads can be connected in sequence according to the serial communication protocol. , to realize the representation of its own position information. The serial communication protocol executed between the controller and the lamp bead can be IIC (Inter-Integrated Circuit, integrated circuit bus), SPI (serial peripheral interface, serial peripheral interface), UART (Universal AsynchronousReceiver-Transmitter, universal asynchronous transceiver). After the controller obtains the result data returned by the self-test of each lamp bead from the bus, it analyzes it and determines the display of each lamp bead in the entire ambient light according to the sorting of the characteristic information of each lamp bead in the result data. Position in frame 4, each lamp bead can be regarded as a light-emitting unit, which can be understood as a basic pixel. When constructing the lighting effect playback instruction, the subsequent controller can use the position information of each lamp bead according to actual needs. Sets each base pixel's corresponding glow color value.

控制器在完成初始化后,便可通过图像获取接口持续获取环境参照图像作为目标图片,对目标图片进行取色,以确定氛围灯所呈现的显示画幅中各个发光单元的发光颜色值。为此,可以将氛围灯的显示画幅划分为多个单元画幅,将目标图片划分为多个取色图像,使取色图像与单元画幅一一对应,根据每个取色图像的主色调确定相应的颜色值,再根据该颜色值生成该取色图像相对应的单元画幅中的各个发光单元的发光颜色值。After the controller completes the initialization, it can continuously obtain the environment reference image as the target image through the image acquisition interface, and select the color of the target image to determine the luminous color value of each light-emitting unit in the display frame presented by the ambient light. To this end, the display frame of the ambient light can be divided into multiple unit frames, and the target picture can be divided into multiple color-picking images, so that the color-picking images correspond to the unit frames one-to-one, and the corresponding color is determined based on the main color of each color-picking image. the color value, and then generate the luminous color value of each light-emitting unit in the unit frame corresponding to the color image based on the color value.

据此,一个实施例中,氛围灯设备可以预先设定好氛围灯相对应的布局配置信息,该布局配置信息用于描述如何对氛围灯所呈现的显示画幅进行分区相对应的画幅分区布局。在该布局配置信息中,可以任意表示形式规定对整个显示画幅4进行平面上的细分的粒度,使整个显示画幅4可以按照布局配置信息的约束,划分为多个单元画幅40。通常,如图3所示,通过划分使每个单元画幅40都可以跨多个灯珠进行对应涵盖。布局配置信息中对划分显示画幅4的粒度的设定,可以灵活实施,例如,可以在布局配置信息中指定按照九宫格、十六宫格等进行划分单元画幅40,相应的,可以表现为单元画幅的总数,例如9、16等数值,以便根据设定的数值,按照氛围灯中全部灯珠总数,对整个显示画幅4进行单元画幅40的划分;也可以在布局配置信息中规定每个单元画幅所跨越的灯珠的数量等,再根据数量对发光灯带中的各个灯珠进行等量划分;还可以仅仅在布局配置信息中设定需要生成的单元画幅40的总数。诸如此类,不胜枚举,只要可以建立画幅分区布局即可。Accordingly, in one embodiment, the ambient light device can preset layout configuration information corresponding to the ambient light. The layout configuration information is used to describe how to partition the display frame presented by the ambient light into a corresponding frame partition layout. In the layout configuration information, the granularity of plane subdivision of the entire display frame 4 can be specified in any representation form, so that the entire display frame 4 can be divided into multiple unit frames 40 according to the constraints of the layout configuration information. Generally, as shown in FIG. 3 , each unit frame 40 can be covered across multiple lamp beads through division. The setting of the granularity of dividing the display frame 4 in the layout configuration information can be flexibly implemented. For example, the unit frame 40 can be divided according to nine-square grid, sixteen-square grid, etc. in the layout configuration information. Correspondingly, it can be expressed as a unit frame. The total number, such as 9, 16 and other values, so that according to the set value and the total number of all lamp beads in the ambient light, the entire display frame 4 can be divided into unit frames 40; each unit frame can also be specified in the layout configuration information The number of lamp beads spanned, etc., is then divided equally into each lamp bead in the light-emitting lamp strip according to the number; the total number of unit frames 40 that need to be generated can also be set only in the layout configuration information. The list goes on and on, as long as the frame partition layout can be established.

布局配置信息可以通过控制器上实现的人机交互功能来设定,也可以通过与控制器建立数据通信连接的终端设备来设定并传输到控制器,由控制器将其存储在其控制芯片的存储器中按需调用。The layout configuration information can be set through the human-computer interaction function implemented on the controller, or it can be set and transmitted to the controller through a terminal device that establishes a data communication connection with the controller, and the controller stores it in its control chip The memory is called on demand.

考虑到氛围灯的发光灯带是可以灵活配置实现按需增减的,一种实施例中,控制器可以先检测整个氛围灯的灯珠总数,通过检测灯珠总数n,根据布局配置信息中设定的数值,例如10这一数值,将其理解为将每n/10个灯珠划入一个灯组,将这个灯组用于与其灯珠所属的单元画幅相对应,自然地,对于处于显示画幅中角部位置相对应的单元画幅来说,其对应与其在该角部位置的两个外侧边相对应的灯组。按照这种方式对显示画幅进行划分,不仅高效快捷,而且可以适应发光灯带和灯珠的数量变化,灵活调节每个单元画幅的像素密度,使控制器能够对氛围灯中发光灯带的增减形成自适应设定单元画幅的像素密度的能力,保持灯效播放逻辑不变,确保即使是增减发光灯带之后,氛围灯的灯效仍可正常播放。Considering that the luminescent light strips of the ambient light can be flexibly configured to increase or decrease as needed, in one embodiment, the controller can first detect the total number of lamp beads of the entire ambient light, and by detecting the total number of lamp beads n, according to the layout configuration information The set value, such as the value 10, is understood as dividing every n/10 lamp beads into a lamp group, and using this lamp group to correspond to the unit frame to which the lamp bead belongs. Naturally, for those in For the unit frame corresponding to the corner position in the display frame, it corresponds to the light groups corresponding to its two outer sides at the corner position. Dividing the display frame in this way is not only efficient and fast, but also can adapt to changes in the number of luminous strips and lamp beads, flexibly adjust the pixel density of each unit frame, and enable the controller to increase the number of luminous strips in the ambient light. It reduces the ability to adaptively set the pixel density of the unit frame, keeping the lighting effect playback logic unchanged, ensuring that even after adding or removing luminous light strips, the ambient light lighting effects can still be played normally.

当然,布局配置信息还可以有其它定义方式,例如根据对作为目标图片的环境参照图像的分区规则来设定,总之,对氛围灯的显示画幅进行分区的规则,通常与对目标图片进行分区的规则相一致,以便保证目标图片中分区后确定的每个取色图像,在氛围灯中都有一个单元画幅与其一一对应,方便为每个单元画幅存在的任意灯组的发光单元从其相应的取色图像中取色实现灯效投射,以实现在氛围灯的整个显示画幅上,投射出目标图片相匹配的光线氛围效果。Of course, the layout configuration information can also be defined in other ways, for example, it is set according to the partitioning rules for the environment reference image as the target picture. In short, the rules for partitioning the display frame of the ambient light are usually the same as those for partitioning the target picture. The rules are consistent to ensure that each color image determined after partitioning in the target picture has a unit frame corresponding to it in the ambient light, so that the light-emitting unit of any light group existing in each unit frame can be corresponding from its corresponding The color is picked from the color picked image to realize the light effect projection, so as to project the light atmosphere effect matching the target picture on the entire display frame of the ambient light.

根据以上氛围灯设备的产品架构和工作原理,本申请的氛围灯设备边角取色方法,可以实现为计算机程序产品,存储于氛围灯设备的控制器内控制芯片的存储器中,由控制芯片中的中央处理器从该存储器中调用后运行,在运行时根据图像获取接口所采集的环境参照图像控制氛围灯播放相应的灯效。According to the product structure and working principle of the above ambient light equipment, the corner color selection method of the ambient light equipment in this application can be implemented as a computer program product, which is stored in the memory of the control chip in the controller of the ambient light equipment, and is controlled by the control chip. The central processor is called from the memory and then runs. At runtime, it controls the ambient light to play the corresponding light effect according to the environment reference image collected by the image acquisition interface.

请参阅图4,在一个实施例中,本申请的氛围灯设备边角取色方法,主要实现在氛围灯设备的控制器一侧,由控制器的控制芯片负责执行,包括:Please refer to Figure 4. In one embodiment, the corner color selection method of the ambient light device of the present application is mainly implemented on the controller side of the ambient light device, and is executed by the control chip of the controller, including:

步骤S5100、根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;Step S5100: According to the layout configuration information used to represent the frame partition layout, the target picture is divided into regions according to the frame partition layout, and multiple color images distributed around the outer edges of each original image of the target picture are obtained;

当需要基于目标图片为本申请的氛围灯设备中的各个灯珠进行取色时,可以先从控制器的存储器中调用预先设定的布局配置信息。布局配置信息如前所述,主要用于表示灯效相对应的画幅分区布局。此处所称的画幅是指当将本申请的氛围灯设备的发光灯带围设在终端设备的显示器上之后呈现出一个矩形框,这个矩形框整体上相当于一个显示画幅。虽然在该矩形框上可以通过框边上的发光单元发光呈现类似于整个画幅的效果,但实际上本申请的氛围灯设备只是由该矩形框的框边上的发光单元负责发光。所以,这里的显示画幅,实际上只是为方便理解而给出的命名。When it is necessary to select colors for each lamp bead in the ambient lighting device of the present application based on a target image, the preset layout configuration information can be called from the memory of the controller first. As mentioned above, the layout configuration information is mainly used to represent the frame partition layout corresponding to the lighting effect. The frame referred to here means that when the luminous light strip of the ambient lighting device of the present application is placed around the display of the terminal device, a rectangular frame is formed. This rectangular frame is equivalent to a display frame as a whole. Although the light-emitting unit on the edge of the rectangular frame can emit light to present an effect similar to that of the entire frame, in fact, the ambient lighting device of the present application only emits light from the light-emitting unit on the edge of the rectangular frame. Therefore, the display frame here is actually just a name given for the convenience of understanding.

参考前文的多种实施例所揭示的方式可知,布局配置信息可以基于这样的显示画幅来指示如何对一个平面进行分区划分,所以,既可以根据布局配置信息对氛围灯设备中的氛围灯,也即氛围灯设备中的全部发光单元进行分区划分得到多个单元画幅,也可以根据布局配置信息对目标图片进行分区划分得到多个取色区域,每个取色区域相应得到一个区域图像,使得每个单元画幅可以与一个区域图像建立对应关系。Referring to the methods disclosed in the various embodiments mentioned above, it can be seen that the layout configuration information can indicate how to partition a plane based on such a display frame. Therefore, the atmosphere lights in the atmosphere lighting device can be configured according to the layout configuration information. That is, all the light-emitting units in the ambient light device are partitioned to obtain multiple unit frames. The target picture can also be partitioned according to the layout configuration information to obtain multiple color-taking areas. Each color-taking area obtains a regional image, so that each color-taking area can obtain a regional image. Each unit frame can establish a corresponding relationship with a regional image.

本步骤中,先根据布局配置信息对目标图片进行区域分割,例如,当布局配置信息中指定为按照3*4的布局进行切割时,则可将目标图片划分为3行4列,由此得到12个取色区域,每个取色区域的图像内容便是相应的区域图像,如图5所示。In this step, the target image is first divided into regions according to the layout configuration information. For example, when the layout configuration information specifies that it is cut according to a 3*4 layout, the target image can be divided into 3 rows and 4 columns, thus obtaining There are 12 color-picking areas, and the image content of each color-picking area is the corresponding area image, as shown in Figure 5.

由于本申请的氛围灯设备主要用于扩展目标图片的边界处的光线颜色效果,所以可以不关注目标图片的中央部分的图像内容的颜色,而是以目标图片为原图,重点关注围绕目标图片的四条原图外侧边分布的区域图像,所以,本申请将围绕目标图片的四条原图外侧边分布的区域图像作为取色图像使用,例如,在前述得到12个区域图像的情况下,实际上属于取色图像的数量为10个,不落在任何一条原图外侧边的区域图像在此可不予考虑。Since the ambient lighting device of this application is mainly used to expand the light color effect at the boundary of the target picture, it is not necessary to pay attention to the color of the image content in the central part of the target picture, but use the target picture as the original picture and focus on the surrounding target picture. Therefore, this application uses the area images distributed around the four outer edges of the original image as the color picking image. For example, in the above-mentioned case of obtaining 12 area images, In fact, the number of color-picking images is 10, and area images that do not fall outside any of the original images are not considered here.

步骤S5200、根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;Step S5200: According to the layout configuration information, the plurality of light-emitting units in the ambient light device are grouped according to the frame partition layout, and corresponding settings are independently set for the outer edges of each original image obtained by dividing each color image. lamp set;

如前所述,布局配置信息同理可以用于确定氛围灯的显示画幅中的各个单元画幅,但是,由于本申请的氛围灯实际上是多个发光单元沿终端设备的显示器线状围设而成的,在这种情况下,实际上只需要将氛围灯的全部发光单元对应各个位于任意原图外侧边相对应位置处的单元画幅进行分组即可。例如,已知氛围灯中全部发光单元的总量是120个,且对应确定了10个取色图像,由此,每个取色图像对应的发光单元数量即为120/10=12个。据此,将氛围灯的发光灯带上每相邻12个发光单元划分为同一灯组,将每个灯组与其所属的单元画幅相对应的取色图像中由分割所得的原图外侧边建立对应映射关系,以方便后续调用。本申请所称的原图外侧边,是以目标图片为原图确定的,所以,所谓取色图像上的原图外侧边,实际是指基于目标图片分割得到该取色图像后,该取色图像对应到目标图片时属于外侧边的对应边。As mentioned above, the layout configuration information can be used to determine each unit frame in the display frame of the ambient light. However, since the ambient light of the present application is actually a plurality of light-emitting units linearly surrounding the display of the terminal device. Yes, in this case, it is actually only necessary to group all the light-emitting units of the ambient light into corresponding unit frames located at corresponding positions on the outer edge of any original image. For example, it is known that the total number of all light-emitting units in the ambient light is 120, and 10 corresponding color-taking images are determined. Therefore, the number of light-emitting units corresponding to each color-taking image is 120/10=12. Accordingly, every 12 adjacent light-emitting units on the light-emitting light strip of the ambient light are divided into the same light group, and the outer edge of the original image obtained by segmentation in the color image corresponding to the unit frame to which each light group belongs is Establish corresponding mapping relationships to facilitate subsequent calls. The outer edge of the original image referred to in this application is determined based on the target image as the original image. Therefore, the so-called outer edge of the original image on the color image actually refers to the color image after segmentation based on the target image. When the color image is mapped to the target image, it belongs to the corresponding edge on the outside.

据此,不难理解,位于整个显示画幅的四个角部位置处的四个单元画幅,每一个均对应有两条成直角的原图外侧边,也就有两个灯组与之对应,也就是说,位于目标图片的四个角部位置处的四个取色图像,每一个取色图像均有由分割所得的两个原图外侧边,这两个原图外侧边中的每一个,都有其相应的灯组。Based on this, it is not difficult to understand that each of the four unit frames located at the four corners of the entire display frame corresponds to two right-angled outer edges of the original image, and there are also two corresponding light groups. , that is to say, each of the four color-picked images located at the four corners of the target image has two original image outer edges obtained by segmentation. Among the two original image outer edges Each one has its corresponding light set.

而位于目标图片的非角部位置的各个取色图像,一一与显示画幅中非角部位置的单元画幅相对应,每个单元画幅仅涵盖对应一个灯组,所以,非角部位置的每个取色图像,只有一条原图外侧边,只对应一个灯组。Each color-picking image located at the non-corner position of the target picture corresponds to the unit frame at the non-corner position in the display frame. Each unit frame only covers one corresponding light group. Therefore, each unit frame at the non-corner position is A color-picked image has only one outer edge of the original image, corresponding to only one light group.

由此可以看出,无论取色图像是处于目标图片的角部位置还是非角部位置,均可以取色图像分割所得的原图外侧边来确定其与各个灯组之间的映射对应关系,具体可以是通过取色图像与单元画幅之间的对应关系,将取色图像相应的单元画幅所涵盖的灯组作为取色图像相映射的灯组,并且,以取色图像分割所得的每个原图外侧边为单位,建立每个原图外侧边与灯组之间的对应关系,使得每个取色图像中经分割所得的每个原图外侧边都有一个为其独立设置的灯组,这个灯组在实际使用时,便铺设在与该取色图像相对应的单元画幅的一条边上的,这条边也对应取色图像经分割所得的一个原图外侧边。It can be seen from this that no matter whether the color image is at a corner position or a non-corner position of the target picture, the outer edge of the original image obtained by color image segmentation can be taken to determine the mapping relationship between it and each light group. , specifically, through the correspondence between the color image and the unit frame, the lamp group covered by the unit frame corresponding to the color image is used as the lamp group mapped to the color image, and each segmentation obtained by the color image is The outer edge of each original image is taken as a unit, and the corresponding relationship between the outer edge of each original image and the light group is established, so that each outer edge of the original image obtained by segmentation in each color image has an independent The set lamp group. When this lamp group is actually used, it is laid on one side of the unit frame corresponding to the color pick-up image. This edge also corresponds to the outer edge of an original image obtained by dividing the color pick-up image. .

步骤S5300、将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。Step S5300: Use the color-picking image located at any target corner position of the target image as an exception color-picking image, and set the color-picking image based on the partial image covering the outer edge of any original image segmented by the exceptional color-picking image. The luminous color value of the light-emitting unit in the light group corresponding to the outer edge of any original image.

在为氛围灯中的各个灯组的发光单元生成其相应的发光颜色值的过程中,涉及到生成处于显示画幅中的角部位置的灯组的发光颜色值的设定。为此,以与显示画幅相对应的目标图片的任意目标角部位置为基础进行说明。The process of generating corresponding light-emitting color values for the light-emitting units of each light group in the ambient light involves generating settings for the light-emitting color values of the light groups located at the corners of the display frame. For this purpose, description will be made based on an arbitrary target corner position of the target picture corresponding to the display frame.

对于位于目标图片的任意目标角部位置的取色图像,可将其作为例外取色图像,这种例外取色图像具有两个经分割所得的原图外侧边,由于每条原图外侧边独立设置有一个相应的灯组,所以,两个原图外侧边分别对应两个灯组。For the color-picking image located at any target corner position of the target image, it can be used as an exception color-picking image. This exceptional color-picking image has two divided outer edges of the original image. Since each outer edge of the original image Each side has a corresponding light group independently, so the outer sides of the two original images correspond to two light groups.

根据影像制作特点,目标图片的中央部位的图像色彩会对角部取色产生干扰,所以,在为例外取色图像相对应的灯组确定发光颜色值时,可尽量减少这些干扰。具体而言,对于例外取色图像的任意一个原图外侧边,当需要确定其相应的灯组的发光颜色值时,可以在该例外取色图像上确定出一个涵盖该原图外侧边的局部图像,由于约束了这个局部图像需要涵盖该原图外侧边,也就是该原图外侧边所在的一排像素,所以,该局部图像的图像内容必然是该原图外侧边周边的图像内容,这样就可以尽量避免该局部图像包含该目标角部的对角处的图像内容,从而避免靠近目标图片的中心的颜色的干扰,使该局部图像尽量能够集中重点反映该原图外侧边周围的颜色。According to the characteristics of image production, the image color in the center of the target image will interfere with the corner color picking. Therefore, when determining the luminous color value for the light group corresponding to the exceptional color picking image, these interferences can be minimized. Specifically, for any outer edge of the original image in the exceptional color pick-up image, when it is necessary to determine the luminous color value of the corresponding lamp group, an edge covering the outer edge of the original image can be determined on the exceptional color pick-up image. The partial image of the partial image is constrained to cover the outer edge of the original image, that is, the row of pixels where the outer edge of the original image is located. Therefore, the image content of the partial image must be the outer edge of the original image. image content, so as to avoid the partial image containing the image content at the diagonal corners of the target image, thereby avoiding the interference of colors close to the center of the target image, so that the partial image can focus on reflecting the outside of the original image as much as possible Color around the sides.

例外取色图像上经分割获得的两条原图外侧边相对应的局部图像都按照以上的方式确定时,不难理解,由于这两条原图外侧边是在该角部位置处相垂直的两条外侧边,所以,实际上两个局部图像之间,必然有一部分重合图像,这个重合图像正好集中在该角部位置处。同时,两个局部图像相互之间又有差异的图像内容,各自的差异图像内容又是靠近彼此的原图外侧边的,所以,每个局部图像不仅能够避免杂色图像内容的干扰,而且能够细分对应两个原图外侧边上的图像内容。这样,当将这两个局部图像用来生成相应的灯组的发光颜色值时,这两个发光颜色值通常会有所差异,且更能反映相应的原图外侧边周围的实际颜色。When the partial images corresponding to the outer edges of the two original images obtained by segmentation on the exceptional color pick-up image are determined in the above manner, it is not difficult to understand that since the outer edges of the two original images are relative to each other at the corner position, it is not difficult to understand. Two vertical outer edges, so in fact, there must be a part of the overlapping image between the two partial images, and this overlapping image is exactly concentrated at the corner position. At the same time, the two partial images have different image contents between each other, and the different image contents are close to each other's outer edges of the original image. Therefore, each partial image can not only avoid the interference of the noisy image content, but also It can subdivide the image content corresponding to the outer edges of the two original images. In this way, when these two partial images are used to generate the luminous color value of the corresponding light group, the two luminous color values are usually different and can better reflect the actual color around the outer edge of the corresponding original image.

在确定了各个原图外侧边相对应的局部图像后,便可以将每个局部图像中的像素的颜色值对应融合出一个综合颜色值,将该综合颜色值设定为相应的灯组中发光单元的发光颜色值,根据该发光颜色值控制该灯组中的各个发光单元发光,便可呈现与目标图片中相应部位处的颜色基本一致的颜色,起到将目标图片在相应部位处的光线效果延伸到显示器外部的效果,相当于在实体空间中,通过氛围灯扩展了显示器上与目标图片相对应的界面图像的显示边界,从而渲染出更具沉浸感的灯光氛围。After determining the partial images corresponding to the outer edges of each original image, the color values of the pixels in each partial image can be fused into a comprehensive color value, and the comprehensive color value can be set to the corresponding light group. According to the luminous color value of the light-emitting unit, each light-emitting unit in the lamp group is controlled to emit light, so that the color can be basically consistent with the color of the corresponding part of the target picture, and the target picture can be displayed at the corresponding part. The effect of extending the light effect to the outside of the display is equivalent to extending the display boundary of the interface image corresponding to the target image on the display through the ambient light in a physical space, thereby rendering a more immersive lighting atmosphere.

根据以上实施例可知,本申请先根据表示画幅分区布局的布局配置信息对目标图片进行区域分割,得到围绕目标图片上的各个原图外侧边分布的各个取色图像,进而,再根据该布局配置信息,对氛围灯设备中的多个发光单元进行分组,得到多个灯组,然后,基于原图外侧边与取色图像的对应关系,按照每个取色图像分割所得的原图外侧边,与相应的灯组建立对应关系,这个灯组便可以是围设在灯效的画幅上属于取色图像相对应的原图外侧边节段的发光单元也即灯珠集,这样,对于位于目标图片的角部位置的取色图像来说,将其作为例外取色图像,由于其对应获得两个原图外侧边,所以,可以用于确定这两个原图外侧边中相应的灯组中的发光单元的发光颜色值,而在确定一个原图外侧边相应的灯组中发光单元的发光颜色值时,则根据例外取色图像中,涵盖该原图外侧边的局部图像去确定相应的灯组的发光颜色值,所以,角部位置相对应的两个灯组的发光颜色值彼此采用的局部图像可以呈现出差异化,而且彼此的局部图像均在事实上排除了远端的向心部位的图像内容的干扰,使得两个灯组相应的发光颜色值之间,可以更细腻地呈现出不同颜色,且更能反映各个灯组相对应的原图外侧边处的真实色调,由此,在确定目标图片的角部位置相对应的灯组的发光颜色值时,更为准确细腻,能使氛围灯设备所播放的灯效更逼近目标图片的真实效果,营造更具沉浸感的灯光氛围。According to the above embodiments, this application first performs area segmentation on the target picture according to the layout configuration information indicating the frame partition layout, and obtains each color image distributed around the outer edges of each original image on the target picture, and then, based on the layout Configuration information, group multiple light-emitting units in the ambient light device to obtain multiple light groups, and then, based on the corresponding relationship between the outer edge of the original image and the color image, divide the original image according to each color image. On the side, establish a corresponding relationship with the corresponding lamp group. This lamp group can be a light-emitting unit that is a lamp bead set surrounding the outer segment of the original image corresponding to the color image on the frame of the lighting effect. In this way , for the color-picking image located at the corner of the target image, treat it as an exceptional color-picking image. Since it corresponds to the two outer edges of the original image, it can be used to determine the outer edges of the two original images. The luminous color value of the light-emitting unit in the corresponding light group in the original image is determined. When determining the luminous color value of the light-emitting unit in the corresponding light group on the outside of an original image, the color image is selected according to the exception, covering the outside of the original image. The partial images of the edge are used to determine the luminous color value of the corresponding lamp group. Therefore, the luminous color values of the two lamp groups corresponding to the corner positions can be different from each other, and the local images of each other are in fact This eliminates the interference of the image content of the far-end centripetal part, so that the corresponding luminous color values of the two lamp groups can present different colors more delicately, and can better reflect the original image corresponding to each lamp group. The real tone at the side, thus, when determining the luminous color value of the light group corresponding to the corner position of the target picture, it is more accurate and delicate, which can make the lighting effect played by the ambient lighting device closer to the reality of the target picture Effect, creating a more immersive lighting atmosphere.

在本申请的方法的任意实施例的基础上,请参阅图6,根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割之前,包括:Based on any embodiment of the method of this application, please refer to Figure 6. According to the layout configuration information used to represent the frame partition layout, before the target picture is divided into regions according to the frame partition layout, it includes:

步骤S4100、获取终端设备的界面图像;Step S4100: Obtain the interface image of the terminal device;

氛围灯设备中的控制器,可以通过其图像获取接口,持续采集外部的终端设备中的界面图像作为环境参照图像,通常按照预设帧率进行采集,例如每秒30帧,为此,控制器的控制芯片,实际上需要处理由各帧界面图像所形成的图像流,为图像流中的每帧界面图像生成相应的灯效。The controller in the ambient light device can continuously collect the interface image in the external terminal device as an environmental reference image through its image acquisition interface. It is usually collected at a preset frame rate, such as 30 frames per second. For this purpose, the controller The control chip actually needs to process the image stream formed by each frame of interface image, and generate corresponding lighting effects for each frame of interface image in the image stream.

当图像获取接口是软件接口时,可以直接获取较为高清的界面图像;当图像获取接口是硬件接口例如摄像头时,则亦可获取到相应的界面图像,能够起到与软件接口同等的效果。实践中可灵活适配。When the image acquisition interface is a software interface, a higher-definition interface image can be obtained directly; when the image acquisition interface is a hardware interface such as a camera, the corresponding interface image can also be obtained, which can achieve the same effect as the software interface. It can be flexibly adapted in practice.

步骤S4200、识别所述界面图像中位于外侧边的边缘黑带;Step S4200: Identify the edge black band located on the outer edge of the interface image;

由于终端设备上播放的视频或者游戏程序界面等,其画幅未必与显示器的显示画幅相匹配,导致控制器所获取的界面图像,可能包含有边缘黑带。这种情况下,可以对界面图像进行预处理,通过计算出位于界面图像各个外侧边的边缘区域上的黑色像素连通域,确定边缘黑带的坐标信息。每个边缘黑带的坐标信息可以表示为一个窗口坐标。Since the frame of the video or game program interface played on the terminal device may not match the display frame of the monitor, the interface image obtained by the controller may contain edge black bands. In this case, the interface image can be preprocessed, and the coordinate information of the edge black belt can be determined by calculating the connected domains of black pixels located on the edge areas of each outer edge of the interface image. The coordinate information of each edge black band can be expressed as a window coordinate.

步骤S4300、从所述界面图像中裁剪去除所述边缘黑带得到目标图片。Step S4300: Crop and remove the edge black band from the interface image to obtain a target picture.

确定界面图像中的各个边缘黑带的坐标信息后,根据该坐标信息对边缘黑带进行裁剪处理,裁剪掉相应的边缘黑带,便得到较为纯净的图像内容,可作为目标图片使用。After determining the coordinate information of each edge black band in the interface image, the edge black band is cropped based on the coordinate information, and the corresponding edge black band is cut out to obtain relatively pure image content, which can be used as a target image.

进一步变通的实施例中,考虑到原始的界面图像通常具有较高分辨率,但实际播放灯效时无需依赖高分辨率的数据,所以,可以在去除了边缘黑带的基础上,对界面图像进行压缩处理,将其压缩到预设的分辨率,得到数据体积较小的界面图像作为目标图片使用。据此,本申请在实际使用时,可按需对界面图像进行压缩使用。In a further alternative embodiment, considering that the original interface image usually has a higher resolution, but there is no need to rely on high-resolution data when actually playing the lighting effect, the interface image can be modified on the basis of removing the edge black band. Perform compression processing and compress it to a preset resolution to obtain an interface image with a smaller data volume and use it as the target image. Accordingly, when this application is actually used, the interface image can be compressed as needed.

以上实施例,通过先对界面图像消除边缘黑带得到目标图片,可以保证目标图片的各个原图外侧边不会出现黑边,从而不会影响对应确定的发光颜色值的鲜艳程度,可保证根据目标图片所播放的灯效的氛围效果。In the above embodiment, by first removing the edge black bands from the interface image to obtain the target image, it can be ensured that no black edges will appear on the outer edges of each original image of the target image, thereby not affecting the brightness of the corresponding determined luminous color value, and ensuring The atmosphere effect based on the lighting effects played by the target image.

在本申请的方法的任意实施例的基础上,请参阅图7,将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值,包括:Based on any embodiment of the method of the present application, please refer to Figure 7. The color-picking image located at any target corner position of the target picture is used as an exception color-picking image, and its segmentation is covered according to the exception color-picking image. For the partial image obtained on the outer edge of any original image, set the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of any original image, including:

步骤S5310、确定该例外取色图像分割所得的两条原图外侧边及其各自相应的灯组;Step S5310: Determine the two outer edges of the original image obtained by segmenting the exceptional color-picking image and their corresponding light groups;

对于任意一个例外取色图像来说,由于其位于目标图片的一个角部位置,所以,经分割获得两个原图外侧边,这两个原图外侧边可以对照目标图片确定。同时,由于事先已经建立了其原图外侧边与一个灯组之间的映射关系,因而,也可调用相应的灯组数据。For any exceptional color-picked image, since it is located at a corner of the target image, two outer edges of the original image are obtained after segmentation, and the two outer edges of the original image can be determined by comparing the target image. At the same time, since the mapping relationship between the outer edge of the original image and a light group has been established in advance, the corresponding light group data can also be called.

步骤S5320、在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,其中,两个局部图像在所述目标角部位置处有重合图像;Step S5320: Determine comprehensive color values corresponding to partial images covering the outer edges of the original image for the two outer edges of the original image in the exceptional color-picking image, wherein the two partial images are at the target angle. There are overlapping images at the top position;

针对该例外取色图像的两条原图外侧边,在前文中已经揭示,这里每条原图外侧边都能从该例外取色图像中确定其相应的局部图像,然后,根据这个局部图像中的像素的颜色值,可以融合得到一个综合颜色值。两条原图外侧边都根据其各自的局部图像确定相应的综合颜色值即可。确定综合颜色值的方式,可以是对局部图像中的全部像素的颜色值求均值确定,也可以采用预设的算法利用这些像素的颜色值进行加权确定。一些实施例中,在按照以上方式确定局部图像相对应的综合颜色值之前,还可以先行根据预设的暗光阈值过滤该局部图像中的暗光像素,只保留颜色值高于该暗光阈值的有效像素用于确定综合颜色值。As for the two outer edges of the original image of the exceptional color pick-up image, it has been revealed in the previous article that each outer edge of the original image can determine its corresponding partial image from the exceptional color pick-up image, and then, based on this partial image The color values of pixels in the image can be fused to obtain a comprehensive color value. Just determine the corresponding comprehensive color value for the outer edges of the two original images based on their respective partial images. The comprehensive color value can be determined by averaging the color values of all pixels in the local image, or by using a preset algorithm to weight the color values of these pixels. In some embodiments, before determining the comprehensive color value corresponding to the partial image in the above manner, the dark light pixels in the partial image can also be filtered according to a preset dark light threshold, and only retain the color values higher than the dark light threshold. of valid pixels are used to determine the combined color value.

如前文所分析,由于两个局部图像都是基于其各自的原图外侧边确定的,所以两个局部图像在该角部位置处必然有一部分重合图像,这个重合图像使得两个综合颜色值都体现出受角点部位的图像内容加权的特性。同时,由于两个局部图像在该角点部位之外的图像内容都是自己独占的图像内容,所以两个综合颜色值之间,又因为各自独占的图像内容的颜色值的叠加而呈现一定的差异性,以该例外取色图像为其两条原图外侧边相对应的灯组中的发光单元设置颜色值时,这两个灯组发出的光线呈现的效果更为细腻。As analyzed above, since the two partial images are determined based on the outer edges of their respective original images, the two partial images must have a partially overlapping image at the corner position. This overlapping image makes the two comprehensive color values All reflect the weighted characteristics of the image content at the corner point. At the same time, since the image content of the two partial images outside the corner point is its own exclusive image content, there is a certain difference between the two comprehensive color values due to the superposition of the color values of their respective exclusive image content. The difference is that when this exception color selection image is used to set color values for the light-emitting units in the light groups corresponding to the two outer edges of the original image, the light emitted by the two light groups will appear more delicate.

步骤S5330、将每条所述原图外侧边相应得到的综合颜色值,设定为该原图外侧边相对应的灯组的发光颜色值。Step S5330: Set the comprehensive color value corresponding to the outer edge of each original image to the luminous color value of the lamp group corresponding to the outer edge of the original image.

当确定出每个例外取色图像的每条原图外侧边相对应的综合颜色值后,便可以将每个综合颜色值设定为其相应的原图外侧边所映射的灯组中各个发光单元的发光颜色值,伴随灯效播放指令的封装和传输,将这些发光颜色值传输到各个相应的发光单元,由各个发光单元根据相应的发光颜色值控制其中的发光元件发光。After the comprehensive color value corresponding to the outer edge of each original image of each exception color-picking image is determined, each comprehensive color value can be set to the light group mapped by its corresponding outer edge of the original image. The light-emitting color values of each light-emitting unit are transmitted to each corresponding light-emitting unit along with the packaging and transmission of the lighting effect playback instructions. Each light-emitting unit controls the light-emitting elements in the light-emitting unit to emit light according to the corresponding light-emitting color value.

根据以上实施可知,在为角部位置处的例外取色图像相对应的灯组取色时,考虑到这种例外取色图像位于角部位置的两个原图外侧边,相应也就存在两个灯组,每个原图外侧边对应选定一个局部图像,设置两个局部图像之间既有重合图像,又有差异图像,由此,根据两个局部图像确定相应的灯组的发光颜色值并播放灯效时,使两个灯组的光线效果既能够继承角部位置的相同颜色特性,又能融合各自独有部分的图像颜色的效果,使角部位置的灯光效果更为细腻柔和,更为精准地反映角部位置的图像颜色效果。According to the above implementation, it can be seen that when picking the color for the lamp group corresponding to the exceptional color picking image at the corner position, considering that this exceptional color picking image is located on the outer edges of the two original images at the corner position, the corresponding situation also exists For two light groups, a partial image is selected corresponding to the outer edge of each original image. There are both overlapping images and difference images between the two partial images. Therefore, the corresponding light group is determined based on the two partial images. When emitting color values and playing light effects, the light effects of the two light groups can not only inherit the same color characteristics of the corner positions, but also integrate the effects of the image colors of their own unique parts, making the lighting effects of the corner positions more beautiful. Delicate and soft, it more accurately reflects the image color effect at the corners.

在本申请的方法的任意实施例的基础上,请参阅图8,在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,其中,包括:Based on any embodiment of the method of the present application, please refer to Figure 8. In the exceptional color-picking image, the partial images corresponding to the outer edges of the two original images are respectively determined to cover the outer edges of the original image. Comprehensive color values, including:

步骤S5321、按照纵横两个方向对所述例外取色图像进行等分割,得到多个图元;Step S5321: Divide the exceptional color image into equal segments in both vertical and horizontal directions to obtain multiple graphics elements;

为便于标准化处理处于目标图片四个角部位置的四个例外取色图像的取色过程,可以采用一个标准化的算法来统一适用实施。本实施例中,利用矩阵分割法,对每个例外取色图像进行等分割。具体而言,可以如图9所示,将处于目标角部位置的例外取色图像,按照其纵横两个方向进行等分,将其分割为多个图元,例如图9中,对左上角位置的例外取色图像按照纵横两个方向进行二等分后,得到2*2共4个图元。在其他实施例中,也可以对例外取色图像进行三等分甚至四等分等得到相应的多个图元。分割的数量越多,后续在确定局部图像时的图像内容就可以越精细,本领域技术人员可以根据此处揭示的原理灵活确定等分数量。In order to facilitate the standardized processing of the color picking process of the four exceptional color picking images located at the four corners of the target image, a standardized algorithm can be used for unified implementation. In this embodiment, a matrix division method is used to divide each exceptional color image into equal divisions. Specifically, as shown in Figure 9, the exceptional color image at the target corner position can be equally divided in both vertical and horizontal directions, and divided into multiple primitives. For example, in Figure 9, for the upper left corner After the positional exception color-picking image is divided into two halves in both vertical and horizontal directions, a total of 4 graphics elements of 2*2 are obtained. In other embodiments, the exceptional color extraction image can also be divided into three equal parts or even into four equal parts to obtain corresponding multiple graphic elements. The greater the number of divisions, the more refined the image content can be when subsequently determining the partial image, and those skilled in the art can flexibly determine the number of equal divisions according to the principles disclosed herein.

步骤S5322、针对每条所述原图外侧边,确定涵盖该原图外侧边的各个图元构造成属于同一图区的局部图像;Step S5322: For each outer edge of the original image, determine that each graphic element covering the outer edge of the original image is constructed into a partial image belonging to the same image area;

在确定例外取色图像的每个原图外侧边相对应的局部图像时,本实施例中,在等分所得的全部图元中,选取紧贴该原图外侧边的一排图元构造成局部图像。如图9所示例,将例外取色图像分割为A、B、C、D四个图元后,对于位于图9上方的原图外侧边,选取位于上方的A、B两个图元构成上方原图外侧边相对应的局部图像,而对于图9左侧的原图外侧边,则选取A、C两个图元构成左侧原图外侧边相对应的局部图像,其中角点位置的A是两个局部图像之间的重合图像。可以看出,局部图像整体上,是涵盖其相对应的原图外侧边的。按照这个原则,例外取色图像中,每个原图外侧边相对应的局部图像,实际上都是以这个原图外侧边为轴线,向对边扩展各行像素之后得到的图像内容。When determining the partial image corresponding to the outer edge of each original image in the exceptional color-picking image, in this embodiment, among all the equally divided image elements, a row of image elements close to the outer edge of the original image is selected. Constructed into a partial image. As shown in Figure 9, after dividing the exceptional color-picking image into four primitives A, B, C, and D, for the outer edge of the original image located above Figure 9, select the two primitives A and B located above to form the The partial image corresponding to the outer edge of the original image above. For the outer edge of the original image on the left side of Figure 9, two primitives A and C are selected to form a partial image corresponding to the outer edge of the original image on the left. The corners The point position A is the coincident image between the two local images. It can be seen that the partial image as a whole covers the outer edge of its corresponding original image. According to this principle, in the exceptional color-picking image, the partial image corresponding to the outer edge of each original image is actually the image content obtained by taking the outer edge of the original image as the axis and extending each row of pixels to the opposite side.

据此,不难理解,当例外取色图像位于目标图片的左下角时,假设其等分后仍按图9中左上角的例外取色图像的分割布局进行相同标号,则其底部的原图外侧边所对应的局部图像由C、D构成,其左侧的原图外侧边所对应的局部图像由A、C构成,C是两个局部图像之间的重合图像。同理,当例外取色图像位于目标图片的右上角时,则其上方的原图外侧边所对应的局部图像由A、B构成,其右侧的原图外侧边所对应的局部图像由B、D构成,两个局部图像之间的重合图像是B;当例外取色图像位于目标图片的右下角时,则其下方的原图外侧边所对应的局部图像由C、D构成,其右侧的原图外侧边所对应的局部图像由B、D构成,两个局部图像之间的重合图像是D。Based on this, it is not difficult to understand that when the exceptional color picking image is located in the lower left corner of the target image, assuming that it is divided into equal parts and still labeled according to the division layout of the exceptional color picking image in the upper left corner of Figure 9, then the original image at the bottom The partial image corresponding to the outer edge is composed of C and D, and the partial image corresponding to the outer edge of the original image on the left is composed of A and C. C is the overlapping image between the two partial images. In the same way, when the exceptional color image is located in the upper right corner of the target image, the partial image corresponding to the outer edge of the original image above it is composed of A and B, and the partial image corresponding to the outer edge of the original image on the right It consists of B and D. The overlapping image between the two partial images is B; when the exception color image is located in the lower right corner of the target image, the partial image corresponding to the outer edge of the original image below it is composed of C and D. , the partial image corresponding to the outer edge of the original image on the right is composed of B and D, and the overlapping image between the two partial images is D.

可见,按照以上方式,通过对例外取色图像进行等分割的方式来确定局部图像,实际上是以矩阵的方式对例外取色图像进行分区得到多个图元,然后再确定属于局部图像相对应的同一图区的各个图元以定义局部图像,其中将每个局部图像视为同一个图区,方便以坐标信息进行描述,按照这种方式进行处理,在运算上较为高效,而且可以保证各个局部图像的尺寸规格都是标准化的,特别适合在嵌入式芯片上实施,而氛围灯设备的控制器所采用的各种控制芯片,正是这些嵌入式芯片。It can be seen that according to the above method, the partial image is determined by equal division of the exceptional color image. In fact, the exceptional color image is partitioned in a matrix manner to obtain multiple primitives, and then the corresponding parts of the partial image are determined. Each primitive of the same image area is used to define a local image, in which each local image is regarded as the same image area, which is convenient for description with coordinate information. Processing in this way is more efficient in operation and can ensure that each The size specifications of local images are standardized, which is particularly suitable for implementation on embedded chips. The various control chips used in the controllers of ambient lighting equipment are exactly these embedded chips.

步骤S5323、将同一图区中全部像素的颜色值的均值确定为该图区相应的局部图像的综合颜色值。Step S5323: Determine the average value of the color values of all pixels in the same image area as the comprehensive color value of the corresponding local image in the image area.

为了确定每个例外取色图像中的任意一个原图外侧边相对应的灯组的发光颜色值,需要根据这个原图外侧边相对应的局部图像确定出其中的像素的综合颜色值。本实施例中,对于需要确定综合颜色值的局部图像,可以将其中的全部像素的颜色值求取均值,具体是可能对其各个原色的颜色值分别取均值,从而得到各个原色相对应的均值,构成一个综合颜色值。该综合颜色值表征了整个局部图像中全部像素的颜色值的平均效果,由于这个局部图像本质上是涵盖相应的原图外侧边的,也即是自该原图外侧边向内延伸的图区的,所以,所确定的综合颜色值,能够有效反映这个图区内的总体颜色效果。In order to determine the luminous color value of the light group corresponding to the outer edge of any original image in each exception color image, it is necessary to determine the comprehensive color value of the pixels based on the partial image corresponding to the outer edge of the original image. In this embodiment, for the local image where the comprehensive color value needs to be determined, the color values of all the pixels in the image can be averaged. Specifically, the color values of each primary color may be averaged, so as to obtain the average value corresponding to each primary color. , forming a comprehensive color value. The comprehensive color value represents the average effect of the color values of all pixels in the entire partial image, because this partial image essentially covers the outer edge of the corresponding original image, that is, it extends inward from the outer edge of the original image. of the image area, so the determined comprehensive color value can effectively reflect the overall color effect in this image area.

不难理解,例外取色图像中的每个原图外侧边所对应的局部图像,都可以按本实施例的方式确定其相应的综合颜色值,以便根据该综合颜色值进一步确定该原图外侧边相对应的灯组中发光单元的发光颜色值。It is not difficult to understand that the corresponding comprehensive color value of the partial image corresponding to the outer edge of each original image in the exceptional color image can be determined in the manner of this embodiment, so that the original image can be further determined based on the comprehensive color value. The luminous color value of the light-emitting unit in the light group corresponding to the outer edge.

根据以上实施例可知,本申请以矩阵划分的方式将例外取色图像进行分区得到多个图元,然后再选取涵盖原图外侧边的像素的多个图元来确定局部图像,以便根据局部图像确定出相应的原图外侧边的综合颜色值,按照这种方式进行处理具有运算效率上的优势,且能保证各个例外取色图像的各个原图外侧边相应获得的综合颜色值都遵循同一标准确定,据此,在播放相应的灯效时,在四个边角位置得到的光线效果由于以同一标准复现了目标图片边角位置的颜色效果,所以整体效果上会更为协调和谐。According to the above embodiments, the present application partitions the exceptional color-picked image in a matrix division manner to obtain multiple primitives, and then selects multiple primitives covering the pixels outside the original image to determine the local image, so that the local image can be determined according to the local image. The image determines the comprehensive color value of the corresponding outer edge of the original image. Processing in this way has the advantage of computational efficiency, and can ensure that the corresponding comprehensive color values of the outer edge of each original image of each exception color image are obtained. Determined according to the same standard. Accordingly, when playing the corresponding lighting effect, the light effects obtained at the four corners reproduce the color effects at the corners of the target picture with the same standard, so the overall effect will be more coordinated. harmonious.

在本申请的方法的任意实施例的基础上,在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,包括:Based on any embodiment of the method of the present application, in the exceptional color-picking image, the comprehensive color values of the local images corresponding to the outer edges of the two original images are determined for the two outer edges of the original image, including :

步骤S5321’、针对每条所述原图外侧边相对应的局部图像,以该原图外侧边为轴线,计算出该局部图像中与该轴线相平行的各排像素的颜色值的均值;Step S5321': For each partial image corresponding to the outer edge of the original image, using the outer edge of the original image as the axis, calculate the mean value of the color values of each row of pixels in the partial image that is parallel to the axis. ;

本实施例中,考虑到例外取色图像中,每个原图外侧边相对应的局部图像,其越靠近原图外侧边处的像素更能影响边界效果,所以,可以先考察与原图外侧边相平行的各排(各行或各列)像素的颜色值的均值,以衡量各排像素的总体颜色。In this embodiment, considering that in the exceptional color pick-up image, the local image corresponding to the outer edge of each original image, the closer the pixels to the outer edge of the original image are, the more likely they are to affect the boundary effect. Therefore, the pixels related to the original image can be examined first. The average color value of each row (row or column) of pixels with parallel edges on the outside of the image to measure the overall color of each row of pixels.

具体而言,可以需要确定综合颜色值的原图外侧边为轴线,然后将该例外取色图像中,与该轴线相平行的各排像素作为相应的集合,将该集合的各个像素的颜色值进行平均,得到相应的均值。每排像素都可以这样相同的方式得到其相应的均值。Specifically, it may be necessary to determine the outer edge of the original image of the comprehensive color value as the axis, and then use the rows of pixels parallel to the axis in the exceptional color image as the corresponding set, and compare the colors of each pixel in the set The values are averaged to obtain the corresponding mean. Each row of pixels can get its corresponding mean in the same way.

步骤S5322’、按照向该原图外侧边的对边权重递降的方式,对各排像素的颜色值的均值进行加权求和,得到综合颜色值。Step S5322': Perform a weighted sum of the mean values of the color values of each row of pixels in a manner that the weight of the opposite edge decreases toward the outer edge of the original image to obtain a comprehensive color value.

经过以上步骤之后,局部图像中与相应的原图外侧边平行的每一排像素,都得到其相应的均值,考虑到越靠近原图外侧边的像素的颜色值对边界颜色效果影响越高的特点,在本实施例中,将这些均值进一步加权求和以得到综合颜色值,而各个均值所匹配的权重,则根据该均值所在的排,在从该原图外侧边朝向其对边的方向的顺序,确定该排的均值相对应的权重,并且,使各排的均值的权重之间,按照该顺序从前到后递降,以保证排序越靠前的排的均值,对综合颜色值的影响越大,排序越靠后的排的均值,对综合颜色值的影响越小。After the above steps, each row of pixels in the local image that is parallel to the corresponding outer edge of the original image will obtain its corresponding mean value. Considering that the color values of pixels closer to the outer edge of the original image have a greater impact on the border color effect In this embodiment, these average values are further weighted and summed to obtain a comprehensive color value, and the weight matched by each average value is based on the row where the average value is located, from the outer edge of the original image toward its opposite The order of the direction of the edges determines the weight corresponding to the mean value of the row, and makes the weights of the mean values of each row decrease from front to back in this order to ensure that the mean value of the row that is sorted earlier has a greater impact on the comprehensive color. The greater the impact of the value, the lower the mean of the ranked row, the smaller the impact on the comprehensive color value.

一个实施例中,各个排相对应的均值所匹配的权重,可在归一化区间[0,1]之间取值,各个取值之间呈一定的递降关系,且保证所有排的均值的权重总和为1即可。In one embodiment, the weight matched by the mean value corresponding to each row can take a value between the normalized interval [0,1], and there is a certain descending relationship between the values, and the mean value of all rows is guaranteed to be The sum of the weights is 1.

按照以上实施例的方式确定局部图像的综合颜色值,由于充分考虑了越靠近原图外侧边的像素对边界颜色的影响更大反之更小的事实,所确定的综合颜色值便更能反映例外取色图像中相应原图外侧边处的真实颜色效果,当将该综合颜色值用于播放灯效时,便能在氛围灯设备的显示画幅的相应位置处,得到更为逼真的光线效果。The comprehensive color value of the local image is determined according to the above embodiment. Since the fact that the pixels closer to the outer edge of the original image have a greater impact on the border color and vice versa, the determined comprehensive color value can better reflect the Exceptionally select the true color effect at the outer edge of the corresponding original image in the color-picking image. When this comprehensive color value is used to play lighting effects, more realistic light can be obtained at the corresponding position of the display frame of the ambient lighting device. Effect.

在本申请的方法的任意实施例的基础上,根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组之后,还包括:Based on any embodiment of the method of the present application, according to the layout configuration information, multiple light-emitting units in the ambient light device are grouped according to the frame partition layout, and each color image segmented result is After setting the corresponding light group independently on the outside of each original image, it also includes:

步骤S5400、将位于所述目标图片的任意非角部位置的取色图像作为常规取色图像,根据该常规取色图像的全图,设定该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。Step S5400: Use the color pickup image located at any non-corner position of the target image as a regular color pickup image, and set the outer edge of the original image obtained by segmenting the regular color pickup image based on the entire image of the regular color pickup image. The luminous color value of the light-emitting unit in the corresponding light group.

对于位于目标图片的非角部位置的其他取色图像来说,由于其经分割所得的原图外侧边只有一条,所以,区别于例外取色图像,将其命名为常规取色图像。对于常规取色图像来说,只需要为其单条原图外侧边相对应的单个灯组确定综合颜色值,再根据这个综合颜色值确定该灯组中发光单元的发光颜色值即可。For other color-picking images located at non-corner positions of the target image, since there is only one outer edge of the segmented original image, they are distinguished from the exceptional color-picking images and are named regular color-picking images. For conventional color-picking images, it is only necessary to determine the comprehensive color value for a single lamp group corresponding to the outer edge of a single original image, and then determine the luminous color value of the light-emitting unit in the lamp group based on this comprehensive color value.

根据常规取色图像确定原图外侧边的综合颜色值时,可以结合本申请前文所揭示的多种方式任意之一来确定,例如:When determining the comprehensive color value of the outer edge of the original image based on the conventional color picking image, it can be determined in combination with any of the multiple methods disclosed previously in this application, for example:

一种实施例中,可以根据该常规取色图像全图相对应的全部像素的颜色值求均值,将该均值作为综合颜色值,用于确定相应的灯组中发光单元的发光颜色值。In one embodiment, the average value can be calculated based on the color values of all pixels corresponding to the entire conventional color image, and the average value can be used as a comprehensive color value to determine the luminous color value of the light-emitting unit in the corresponding lamp group.

另一实施例中,可以按照前文所揭示的对与原图外侧边相平行的各排像素的颜色值的均值匹配权重进行加权求和的方式,使各个均值所匹配的权重从外侧到内侧呈权重递降的关系,而且全部均值的权重的总和为1,体现出越靠近该原图外侧边的像素的颜色值的均值所获得的权重越高,从而也可确定出相应的发光颜色值。In another embodiment, the weighted summation of the mean matching weights of the color values of each row of pixels parallel to the outer edge of the original image can be performed as disclosed above, so that the weights matched by each mean value are adjusted from the outside to the inside. There is a relationship of decreasing weight, and the sum of the weights of all the average values is 1, which reflects that the closer the color value of the pixels to the outer edge of the original image is, the higher the weight is obtained, so that the corresponding luminous color value can also be determined. .

在一个权衡例外取色图像和常规取色图像的综合效果的实施例中,对例外取色图像和常规取色图像都采用相同的算法确定其各自的各个综合颜色值,具体可以是采用前文所揭示的对各排像素的颜色值的均值匹配权重进行加权求和的方式来实施,由此确定的全部综合颜色值,当其控制相应单元画幅处的灯组中的发光单元播放灯效时,整体效果更为协调柔和,显示器四边上的各个灯组之间的光线过渡效果也更为自然。In an embodiment that weighs the comprehensive effects of the exceptional color-picking image and the regular color-picking image, the same algorithm is used for both the exceptional color-picking image and the regular color-picking image to determine their respective comprehensive color values. Specifically, the above-mentioned method may be used. The disclosed method is implemented by performing a weighted summation of the mean matching weights of the color values of each row of pixels. All the comprehensive color values determined thereby control the light-emitting units in the light groups at the corresponding unit frames to play light effects. The overall effect is more coordinated and softer, and the light transition effect between the various light groups on the four sides of the display is also more natural.

可见,当根据常规取色图像来确定综合颜色值时,由于常规取色图像只有一条分割所得的原图外侧边,无需复杂处理,只需根据其全图中各个像素的颜色值进行简单平均或者加权平均,即可得到相应的综合颜色值,计算量小,运算快速,多个常规取色图像可借助相同类型的线程进行并行高速处理,特别适合嵌入式芯片处理。It can be seen that when the comprehensive color value is determined based on the conventional color image, since the conventional color image only has one outer edge of the original image obtained by segmentation, no complicated processing is required, and only a simple average is needed based on the color values of each pixel in the entire image. Or weighted average, the corresponding comprehensive color value can be obtained. The calculation amount is small and the operation is fast. Multiple conventional color images can be processed in parallel and at high speed with the help of the same type of threads, which is especially suitable for embedded chip processing.

在本申请的方法的任意实施例的基础上,请参阅图10,将位于所述目标图片的任意非角部位置的取色图像作为常规取色图像,根据该常规取色图像的全部图像,设定该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值,包括:Based on any embodiment of the method of this application, please refer to Figure 10. The color pickup image located at any non-corner position of the target picture is regarded as a regular color pickup image. According to all images of the conventional color pickup image, Set the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the original image obtained by segmenting the conventional color-picking image, including:

步骤S5410、基于该常规取色图像的全图,过滤其中的暗光像素集,得到有效像素集;Step S5410: Based on the entire image of the conventional color-picking image, filter the dark-light pixel set therein to obtain an effective pixel set;

目标图片中的主体图像内容中,有时候会因为存在部分黑色物体,导致出现大量的黑色像素,当这些黑色像素集中在一个常规取色图像中时,如果以常规取色图像的图像内容直接确定综合颜色值进而确定灯组中发光单元的发光颜色值,可能会导致播放灯效时,光线效果过分暗淡,无法起到预期效果。这种情况下,可以根据本实施例,先对常规取色图像进行像素过滤处理。In the main image content of the target picture, sometimes there are a large number of black pixels due to the presence of some black objects. When these black pixels are concentrated in a conventional color image, if the image content of the conventional color image is directly determined Comprehensive color values are then used to determine the luminous color value of the light-emitting unit in the light group, which may cause the light effect to be too dim when playing the light effect and fail to achieve the expected effect. In this case, according to this embodiment, pixel filtering processing can be performed on the conventional color image first.

具体而言,可以先预设一个暗光阈值,然后对常规取色图像进行全图遍历,将其中颜色值低于该暗光阈值的像素标记为暗光像素,将颜色值超过该暗光阈值的像素标记为有效像素,分别得到暗光像素集和有效像素集。该暗光阈值是用来衡量像素的颜色值是否达到预期相对应的经验阈值,例如,对于红、绿、蓝三原色表示的颜色值来说,可将三原色相对应的暗光阈值设置为RGB(10,10,10),当像素的颜色值中有一个原色的颜色值低于该暗光阈值中对应的原色的颜色值时,便可将其确定为暗光像素,否则为有效像素。当然,也可以灵活变通判决条件,例如,可以设定为当像素的颜色值中有两个以上的原色的颜色值低于放放假暗光阈值中对应的原色的颜色值时,才将其判定为暗光像素,否则为有效像素。Specifically, you can first preset a dark-light threshold, and then traverse the entire image of the conventional color-picking image. Mark the pixels with color values lower than the dark-light threshold as dark-light pixels, and mark the pixels with color values exceeding the dark-light threshold as dark-light pixels. The pixels are marked as valid pixels, and the dark light pixel set and the valid pixel set are obtained respectively. The dark light threshold is used to measure whether the color value of a pixel reaches the expected corresponding empirical threshold. For example, for the color values represented by the three primary colors of red, green, and blue, the dark light threshold corresponding to the three primary colors can be set to RGB ( 10, 10, 10), when the color value of a pixel has a primary color value lower than the color value of the corresponding primary color in the dark light threshold, it can be determined as a dark light pixel, otherwise it is a valid pixel. Of course, the judgment conditions can also be flexibly modified. For example, it can be set to determine the pixel only when the color values of two or more primary colors are lower than the color values of the corresponding primary colors in the holiday dark light threshold. It is a dark pixel, otherwise it is a valid pixel.

可见,经过以上过程,有效地识别出常规取色图像中会导致灯效暗淡的像素,将其排除后便可得到有效像素,由有效像素构成的数据集即为有效像素集。It can be seen that through the above process, the pixels in the conventional color-picking image that will cause dim lighting effects are effectively identified. After excluding them, the effective pixels can be obtained. The data set composed of effective pixels is the effective pixel set.

步骤S5420、基于所述有效像素集,计算出全部有效像素的颜色值的均值;Step S5420: Calculate the mean value of the color values of all effective pixels based on the effective pixel set;

在有效像素集的基础上,为了简化运算,提升运算效率,可将全部有效像素的颜色值直接求简单算术平均,得到相应的均值即可。当然,也可替换为前文所揭示的其他实施方式,例如前文所揭示的对各排像素进行匹配权重加权求和确定综合颜色值的方式。On the basis of the effective pixel set, in order to simplify the operation and improve the operation efficiency, the color values of all effective pixels can be directly averaged by simple arithmetic to obtain the corresponding average value. Of course, it can also be replaced by other implementations disclosed above, such as the method disclosed above of performing weighted summation of matching weights on each row of pixels to determine the comprehensive color value.

步骤S5430、将该均值设定为该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。Step S5430: Set the average value to the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the original image obtained by segmenting the conventional color image.

基于常规取色图像的有效像素集确定出来的均值,作为综合颜色值使用,因而,可以用做该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。The mean value determined based on the effective pixel set of the conventional color-picking image is used as the comprehensive color value. Therefore, it can be used as the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the original image obtained by segmenting the conventional color-picking image. .

根据以上实施例可以看出,本申请中,在利用常规取色图像确定相应的灯组的发光颜色值时,先去除图像中的暗光像素,余下有效像素之后,再根据有效像素的颜色值来确定发光颜色值,避免图像内容中的黑色物体拉低光线的明亮度,确保发出的光线效果更为亮丽多彩。It can be seen from the above embodiments that in this application, when using a conventional color-picking image to determine the luminous color value of the corresponding lamp group, the dark pixels in the image are first removed, and after the effective pixels are left, the color values of the effective pixels are then used. To determine the luminous color value, avoid black objects in the image content from lowering the brightness of the light, and ensure that the light effect is brighter and more colorful.

在本申请的方法的任意实施例的基础上,当利用综合颜色值确定相应的灯组中发光单元的发光颜色值时,也可以有多种方式,例如,可以直接将该综合颜色值作为相应的各个发光单元的发光颜色值直接赋值使用,也可以在该灯组相应的综合颜色值的基础上,设定该灯组中心的发光单元的发光颜色值为该综合颜色值,至于中心的发光单元两侧的发光单元的发光颜色值,则可以利用相应侧的相邻灯组相对应的综合颜色值来对该综合颜色值进行调节,得到相应侧的各个发光单元的发光颜色值,使得当前灯组的中心发光单元的光线颜色是该综合颜色值所表示的颜色,而其两侧的发光单元的光线颜色则逐渐向其两侧的灯组相对应的综合颜色值所表示的颜色过渡,这样,可以进一步提升相邻灯组之间的光线自然过渡效果,使氛围灯设备所播放的灯效更为自然细腻。Based on any embodiment of the method of this application, when using the comprehensive color value to determine the luminous color value of the light-emitting unit in the corresponding lamp group, there can also be many ways. For example, the comprehensive color value can be directly used as the corresponding The luminous color value of each light-emitting unit can be directly assigned. You can also set the luminous color value of the luminous unit in the center of the light group to the comprehensive color value based on the corresponding comprehensive color value of the lamp group. As for the luminous color value of the center The luminous color value of the light-emitting units on both sides of the unit can be adjusted by using the comprehensive color value corresponding to the adjacent lamp group on the corresponding side to obtain the luminous color value of each light-emitting unit on the corresponding side, so that the current The light color of the central light-emitting unit of the lamp group is the color represented by the comprehensive color value, while the light color of the light-emitting units on both sides gradually transitions to the color represented by the corresponding comprehensive color value of the lamp groups on both sides. In this way, the natural transition effect of light between adjacent light groups can be further improved, making the lighting effects played by the ambient lighting equipment more natural and delicate.

请参阅图11,本申请的另一实施例还提供一种氛围灯设备边角取色装置,其包括图像分割模块5100、分组映射模块5200,以及边角取色模块5300,其中,所述图像分割模块5100,设置为根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;所述分组映射模块5200,设置为根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;所述边角取色模块5300,设置为将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。Referring to Figure 11, another embodiment of the present application also provides a corner color picking device for ambient lighting equipment, which includes an image segmentation module 5100, a grouping mapping module 5200, and a corner color picking module 5300, wherein the image The segmentation module 5100 is configured to segment the target picture according to the frame partition layout according to the layout configuration information used to represent the frame partition layout, and obtain multiple color images distributed around the outer edges of each original image of the target picture. ; The grouping mapping module 5200 is configured to group the plurality of light-emitting units in the ambient light device according to the frame partition layout according to the layout configuration information, and provide each original image segmented for each color image. Corresponding light groups are independently provided on the outside of the picture; the corner color picking module 5300 is configured to use the color picking image located at any target corner position of the target picture as an exception color picking image, and pick the color picking image based on the exception On the partial image covering the outer edge of any original image obtained by segmentation, set the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the arbitrary original image.

在本申请的装置的任意实施例的基础上,先于所述图像分割模块5100的运行,本申请的氛围灯设备边角取色装置,还包括:图像获取模块,设置为获取终端设备的界面图像;黑带去除模块,设置为识别所述界面图像中位于外侧边的边缘黑带;黑带裁剪模块,设置为从所述界面图像中裁剪去除所述边缘黑带得到目标图片。Based on any embodiment of the device of the present application, prior to the operation of the image segmentation module 5100, the ambient light equipment corner color picking device of the present application further includes: an image acquisition module configured to obtain the interface of the terminal device image; a black band removal module, configured to identify the edge black band located on the outer edge of the interface image; a black band cropping module, configured to crop and remove the edge black band from the interface image to obtain a target picture.

在本申请的装置的任意实施例的基础上,所述边角取色模块5300,包括:侧边确定单元,设置为确定该例外取色图像分割所得的两条原图外侧边及其各自相应的灯组;色值分析单元,设置为在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,其中,两个局部图像在所述目标角部位置处有重合图像;颜色映射单元,设置为将每条所述原图外侧边相应得到的综合颜色值,设定为该原图外侧边相对应的灯组的发光颜色值。Based on any embodiment of the device of the present application, the corner color picking module 5300 includes: a side determination unit configured to determine the two outer edges of the original image obtained by segmenting the exceptional color picking image and their respective The corresponding lamp group; the color value analysis unit is configured to determine the comprehensive color value of the local image corresponding to the outer edges of the two original images covering the outer edges of the original image in the exceptional color-picking image, wherein, The two partial images have overlapping images at the target corner position; the color mapping unit is configured to set the comprehensive color value corresponding to the outer edge of each original image to the corresponding outer edge of the original image. The luminous color value of the light group.

在本申请的装置的任意实施例的基础上,所述色值分析单元,包括:图元划分子单元,设置为按照纵横两个方向对所述例外取色图像进行等分割,得到多个图元;图区构造子单元,设置为针对每条所述原图外侧边,确定涵盖该原图外侧边的各个图元构造成属于同一图区的局部图像;色值确定子单元,设置为将同一图区中全部像素的颜色值的均值确定为该图区相应的局部图像的综合颜色值。Based on any embodiment of the device of the present application, the color value analysis unit includes: a picture element dividing sub-unit, which is configured to equally divide the exceptional color image in both vertical and horizontal directions to obtain multiple images. element; the picture area construction subunit is set to determine, for each outer edge of the original image, that each primitive covering the outer edge of the original image is constructed into a partial image belonging to the same image area; the color value determination subunit is set to To determine the average color value of all pixels in the same image area as the comprehensive color value of the corresponding local image in the image area.

在本申请的装置的任意实施例的基础上,所述色值分析单元,包括:逐行求值子单元,设置为针对每条所述原图外侧边相对应的局部图像,以该原图外侧边为轴线,计算出该局部图像中与该轴线相平行的各排像素的颜色值的均值;加权求和子单元,设置为按照向该原图外侧边的对边权重递降的方式,对各排像素的颜色值的均值进行加权求和,得到综合颜色值。Based on any embodiment of the device of the present application, the color value analysis unit includes: a line-by-line evaluation subunit, which is configured to calculate the partial image corresponding to the outer edge of each original image based on the original image. The outer edge of the image is the axis, and the average color value of each row of pixels parallel to the axis in the local image is calculated; the weighted summation subunit is set to decrease the weight of the opposite edge to the outer edge of the original image. , perform a weighted summation of the average color values of each row of pixels to obtain a comprehensive color value.

在本申请的装置的任意实施例的基础上,后于所述边角取色模块5300,本申请的氛围灯设备边角取色装置,还包括:中段取色模块,设置为将位于所述目标图片的任意非角部位置的取色图像作为常规取色图像,根据该常规取色图像的全图,设定该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。On the basis of any embodiment of the device of the present application, after the corner color picking module 5300, the corner color picking device of the ambient light equipment of the present application also includes: a middle color picking module, which is configured to locate the corner color picking module 5300. The color-picking image at any non-corner position of the target image is used as a regular color-picking image. According to the entire image of the regular color-picking image, the light group corresponding to the outer edge of the original image obtained by segmenting the regular color-picking image is set to emit light. The unit's glow color value.

在本申请的装置的任意实施例的基础上,所述中段取色模块,包括:暗光过滤单元,设置为基于该常规取色图像的全图,过滤其中的暗光像素集,得到有效像素集;色值平均单元,设置为基于所述有效像素集,计算出全部有效像素的颜色值的均值;色值设定单元,设置为将该均值设定为该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。Based on any embodiment of the device of the present application, the mid-section color picking module includes: a dark light filtering unit, configured to filter the dark light pixel set based on the entire image of the conventional color picking image to obtain effective pixels set; the color value averaging unit is configured to calculate the average value of the color values of all effective pixels based on the effective pixel set; the color value setting unit is configured to set the average value to the original value obtained by segmenting the conventional color image. The luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the figure.

在本申请任意实施例的基础上,请参阅图12,本申请的另一实施例还提供一种计算机设备,该计算机设备可以充当氛围灯设备中的控制器使用,如图12所示,计算机设备的内部结构示意图。该计算机设备包括通过系统总线连接的处理器、计算机可读存储介质、存储器和网络接口。其中,该计算机设备的计算机可读存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种氛围灯设备边角取色方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行本申请的氛围灯设备边角取色方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图12中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Based on any embodiment of the present application, please refer to Figure 12. Another embodiment of the present application also provides a computer device, which can be used as a controller in an ambient light device. As shown in Figure 12, the computer Schematic diagram of the internal structure of the device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected through a system bus. Among them, the computer readable storage medium of the computer device stores an operating system, a database and computer readable instructions. The database can store a sequence of control information. When the computer readable instructions are executed by the processor, the processor can implement a How to select colors for the corners of ambient lighting equipment. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. Computer readable instructions may be stored in the memory of the computer device. When executed by the processor, the computer readable instructions may cause the processor to execute the corner color picking method of the ambient lighting device of the present application. The network interface of the computer device is used for communication with the terminal connection. Those skilled in the art can understand that the structure shown in Figure 12 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Specific computer equipment can May include more or fewer parts than shown, or combine certain parts, or have a different arrangement of parts.

本实施方式中处理器用于执行图11中的各个模块及其子模块的具体功能,存储器存储有执行上述模块或子模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有本申请的氛围灯设备边角取色装置中执行所有模块/子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the specific functions of each module and its sub-modules in Figure 11, and the memory stores the program codes and various types of data required to execute the above modules or sub-modules. Network interfaces are used for data transmission to user terminals or between servers. The memory in this embodiment stores the program codes and data required to execute all modules/sub-modules in the corner color picking device of the ambient light equipment of the present application, and the server can call the server's program codes and data to execute the functions of all sub-modules.

本申请还提供一种存储有计算机可读指令的存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行本申请任一实施例所述氛围灯设备边角取色方法的步骤。This application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, they cause one or more processors to execute the ambient lighting device described in any embodiment of this application. Steps of character color selection method.

本申请还提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被一个或多个处理器执行时实现本申请任一实施例所述氛围灯设备边角取色方法的步骤。This application also provides a computer program product, including a computer program/instruction, which when executed by one or more processors, implements the steps of the corner color picking method of the ambient lighting device described in any embodiment of this application.

本领域普通技术人员可以理解实现本申请上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等计算机可读存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments of the present application can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only some of the embodiments of the present application. It should be pointed out that those of ordinary skill in the technical field can also make several improvements and modifications without departing from the principles of the present application. These improvements and modifications can also be made. should be regarded as the scope of protection of this application.

综上所述,本申请在确定目标图片的角部位置相对应的灯组的发光颜色值时,更为准确细腻,能使氛围灯设备所播放的灯效更逼近目标图片的真实效果,营造更具沉浸感的灯光氛围。To sum up, this application is more accurate and detailed in determining the luminous color value of the light group corresponding to the corner position of the target picture, and can make the lighting effect played by the ambient lighting device closer to the real effect of the target picture, creating a A more immersive lighting atmosphere.

Claims (10)

1.一种氛围灯设备边角取色方法,其特征在于,包括:1. A method for selecting colors from the corners of ambient lighting equipment, which is characterized by including: 根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;According to the layout configuration information used to represent the frame partition layout, the target picture is divided into regions according to the frame partition layout, and multiple color images distributed around the outer edges of each original image of the target picture are obtained; 根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;According to the layout configuration information, multiple light-emitting units in the ambient lighting device are grouped according to the frame partition layout, and corresponding light groups are independently set for the outer edges of each original image obtained by dividing each color image. ; 将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。Use the color-picking image located at any target corner position of the target image as an exception color-picking image, and set the arbitrary original image based on the partial image on the exceptional color-picking image covering the outer edge of any original image obtained by segmentation The luminous color value of the light-emitting unit in the light group corresponding to the outer edge. 2.根据权利要求1所述的氛围灯设备边角取色方法,其特征在于,根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割之前,包括:2. The method for selecting corners of ambient light equipment according to claim 1, characterized in that, according to the layout configuration information used to represent the frame partition layout, before the target picture is divided into regions according to the frame partition layout, it includes: 获取终端设备的界面图像;Get the interface image of the terminal device; 识别所述界面图像中位于外侧边的边缘黑带;Identify the edge black band located on the outer edge of the interface image; 从所述界面图像中裁剪去除所述边缘黑带得到目标图片。The edge black band is cropped and removed from the interface image to obtain a target image. 3.根据权利要求1所述的氛围灯设备边角取色方法,其特征在于,将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值,包括:3. The corner color picking method of ambient light equipment according to claim 1, characterized in that the color picking image located at any target corner position of the target picture is used as an exception color picking image, and the color picking image is selected according to the exception color picking image. Cover the partial image of the outer edge of any original image obtained by segmentation, and set the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of any original image, including: 确定该例外取色图像分割所得的两条原图外侧边及其各自相应的灯组;Determine the two outer edges of the original image obtained by segmenting the exceptional color image and their corresponding light groups; 在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,其中,两个局部图像在所述目标角部位置处有重合图像;In the exceptional color-picking image, the comprehensive color values of the partial images corresponding to the outer edges of the original image are determined for the two outer edges of the original image, wherein the two partial images are at the target corner position. There are overlapping images; 将每条所述原图外侧边相应得到的综合颜色值,设定为该原图外侧边相对应的灯组的发光颜色值。The comprehensive color value corresponding to the outer edge of each original image is set to the luminous color value of the lamp group corresponding to the outer edge of the original image. 4.根据权利要求3所述的氛围灯设备边角取色方法,其特征在于,在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,其中,包括:4. The method for picking colors from corners of ambient light equipment according to claim 3, characterized in that in the exceptional color picking image, it is determined that the two outer edges of the original image correspond to each other and cover the outer edges of the original image. The comprehensive color value of the local image, including: 按照纵横两个方向对所述例外取色图像进行等分割,得到多个图元;Divide the exceptional color-picking image equally in both vertical and horizontal directions to obtain multiple graphic elements; 针对每条所述原图外侧边,确定涵盖该原图外侧边的各个图元构造成属于同一图区的局部图像;For each outer edge of the original image, determine that each primitive covering the outer edge of the original image is constructed into a partial image belonging to the same image area; 将同一图区中全部像素的颜色值的均值确定为该图区相应的局部图像的综合颜色值。The average value of the color values of all pixels in the same image area is determined as the comprehensive color value of the corresponding local image in the image area. 5.根据权利要求3所述的氛围灯设备边角取色方法,其特征在于,在所述例外取色图像中为所述两条原图外侧边分别确定对应涵盖该原图外侧边的局部图像的综合颜色值,包括:5. The method for picking colors from corners of ambient light equipment according to claim 3, characterized in that in the exceptional color picking image, it is determined that the outer sides of the two original images correspond to each other and cover the outer edges of the original image. The comprehensive color value of the local image, including: 针对每条所述原图外侧边相对应的局部图像,以该原图外侧边为轴线,计算出该局部图像中与该轴线相平行的各排像素的颜色值的均值;For each partial image corresponding to the outer edge of the original image, using the outer edge of the original image as the axis, calculate the mean value of the color value of each row of pixels in the partial image that is parallel to the axis; 按照向该原图外侧边的对边权重递降的方式,对各排像素的颜色值的均值进行加权求和,得到综合颜色值。According to the way that the weight of the opposite edge decreases toward the outer edge of the original image, the average value of the color value of each row of pixels is weighted and summed to obtain the comprehensive color value. 6.根据权利要求1至5中任意一项所述的氛围灯设备边角取色方法,其特征在于,根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组之后,还包括:6. The method for selecting corners of the ambient light equipment according to any one of claims 1 to 5, characterized in that, according to the layout configuration information, the plurality of light-emitting units in the ambient light equipment are arranged according to the described layout configuration information. The frame partition layout is grouped, and the corresponding light group is independently set for the outer edge of each original image obtained by dividing each color image, and it also includes: 将位于所述目标图片的任意非角部位置的取色图像作为常规取色图像,根据该常规取色图像的全图,设定该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。The color-picking image located at any non-corner position of the target image is regarded as a regular color-picking image. According to the entire image of the regular color-picking image, the corresponding outer edge of the original image obtained by segmenting the regular color-picking image is set. The emitting color value of the light-emitting unit in the light group. 7.根据权利要求6所述的氛围灯设备边角取色方法,其特征在于,将位于所述目标图片的任意非角部位置的取色图像作为常规取色图像,根据该常规取色图像的全部图像,设定该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值,包括:7. The corner color picking method of ambient light equipment according to claim 6, characterized in that the color picking image located at any non-corner position of the target picture is used as a regular color picking image, and according to the regular color picking image For all images, set the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the original image obtained by segmenting the conventional color image, including: 基于该常规取色图像的全图,过滤其中的暗光像素集,得到有效像素集;Based on the entire image of the conventional color-picking image, the dark-light pixel set is filtered to obtain an effective pixel set; 基于所述有效像素集,计算出全部有效像素的颜色值的均值;Based on the set of effective pixels, calculate the mean value of the color values of all effective pixels; 将该均值设定为该常规取色图像分割所得的原图外侧边相对应的灯组中发光单元的发光颜色值。The average value is set to the luminous color value of the light-emitting unit in the light group corresponding to the outer edge of the original image obtained by segmenting the conventional color image. 8.一种氛围灯设备边角取色装置,其特征在于,包括:8. A corner color picking device for ambient lighting equipment, which is characterized in that it includes: 图像分割模块,设置为根据用于表示画幅分区布局的布局配置信息,将目标图片按照所述画幅分区布局进行区域分割,得到围绕该目标图片的各个原图外侧边分布的多个取色图像;The image segmentation module is configured to segment the target picture according to the frame partition layout according to the layout configuration information used to represent the frame partition layout, and obtain multiple color images distributed around the outer edges of each original image of the target picture. ; 分组映射模块,设置为根据所述布局配置信息,将所述氛围灯设备中的多个发光单元按照所述画幅分区布局进行分组,为每个取色图像分割所得的每个原图外侧边独立设置相应的灯组;The grouping mapping module is configured to group the plurality of light-emitting units in the ambient lighting device according to the frame partition layout according to the layout configuration information, and divide the outer edge of each original image for each color image. Set up corresponding light groups independently; 边角取色模块,设置为将位于所述目标图片的任意目标角部位置的取色图像作为例外取色图像,根据该例外取色图像上涵盖其分割所得的任意原图外侧边的局部图像,设定该任意原图外侧边相对应的灯组中发光单元的发光颜色值。The corner color picking module is configured to use the color picking image located at any target corner position of the target picture as an exception color picking image, and the exception color picking image covers a part of the outer edge of any original image obtained by segmentation Image, set the light-emitting color value of the light-emitting unit in the light group corresponding to the outer edge of any original image. 9.一种氛围灯设备,包括中央处理器和存储器,其特征在于,所述中央处理器用于调用运行存储于所述存储器中的计算机程序以执行如权利要求1至7中任意一项所述的方法的步骤。9. An ambient lighting device, comprising a central processor and a memory, characterized in that the central processor is configured to call and run a computer program stored in the memory to execute as described in any one of claims 1 to 7 steps of the method. 10.一种非易失性可读存储介质,其特征在于,其以计算机可读指令的形式存储有计算机程序,所述计算机程序被计算机调用运行时,执行如权利要求1至7中任意一项所述的方法的步骤。10. A non-volatile readable storage medium, characterized in that it stores a computer program in the form of computer-readable instructions. When the computer program is called and run by a computer, it executes any one of claims 1 to 7. The steps of the method described in the item.
CN202311472363.0A 2023-11-07 2023-11-07 Ambient lighting equipment and its corner color selection methods and corresponding devices and media Active CN117202447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311472363.0A CN117202447B (en) 2023-11-07 2023-11-07 Ambient lighting equipment and its corner color selection methods and corresponding devices and media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311472363.0A CN117202447B (en) 2023-11-07 2023-11-07 Ambient lighting equipment and its corner color selection methods and corresponding devices and media

Publications (2)

Publication Number Publication Date
CN117202447A true CN117202447A (en) 2023-12-08
CN117202447B CN117202447B (en) 2024-01-05

Family

ID=88990978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311472363.0A Active CN117202447B (en) 2023-11-07 2023-11-07 Ambient lighting equipment and its corner color selection methods and corresponding devices and media

Country Status (1)

Country Link
CN (1) CN117202447B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117521179A (en) * 2024-01-04 2024-02-06 深圳市智岩科技有限公司 Ambient lighting equipment and lighting partition layout construction method, device and computer equipment
CN117528873A (en) * 2024-01-04 2024-02-06 深圳市智岩科技有限公司 Atmosphere lamp equipment, luminous partition layout generation method and device and computer equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013080836A1 (en) * 2011-11-30 2013-06-06 パナソニック株式会社 Light-emitting device
WO2018110056A1 (en) * 2016-12-14 2018-06-21 シャープ株式会社 Light source control device, display device, image processing device, method for controlling light source control device, and control program
CN215345144U (en) * 2021-07-09 2021-12-28 杭州加减智能科技有限公司 Multifunctional television atmosphere lamp
CN115134972A (en) * 2022-07-20 2022-09-30 杭州涂鸦信息技术有限公司 Illumination control method, device, equipment and storage medium based on environment color extraction
CN115512340A (en) * 2022-07-06 2022-12-23 支付宝(杭州)信息技术有限公司 Intention detection method and device based on picture
CN115776750A (en) * 2022-11-30 2023-03-10 深圳市千岩科技有限公司 Lamp effect control method, device, product, medium and lamp effect control equipment
WO2023040431A1 (en) * 2021-09-15 2023-03-23 华为技术有限公司 Tone mapping method, device and system
CN116761310A (en) * 2023-06-20 2023-09-15 上海庆科信息技术有限公司 Lamp strip control method and device, storage medium and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013080836A1 (en) * 2011-11-30 2013-06-06 パナソニック株式会社 Light-emitting device
WO2018110056A1 (en) * 2016-12-14 2018-06-21 シャープ株式会社 Light source control device, display device, image processing device, method for controlling light source control device, and control program
CN215345144U (en) * 2021-07-09 2021-12-28 杭州加减智能科技有限公司 Multifunctional television atmosphere lamp
WO2023040431A1 (en) * 2021-09-15 2023-03-23 华为技术有限公司 Tone mapping method, device and system
CN115512340A (en) * 2022-07-06 2022-12-23 支付宝(杭州)信息技术有限公司 Intention detection method and device based on picture
CN115134972A (en) * 2022-07-20 2022-09-30 杭州涂鸦信息技术有限公司 Illumination control method, device, equipment and storage medium based on environment color extraction
CN115776750A (en) * 2022-11-30 2023-03-10 深圳市千岩科技有限公司 Lamp effect control method, device, product, medium and lamp effect control equipment
CN116761310A (en) * 2023-06-20 2023-09-15 上海庆科信息技术有限公司 Lamp strip control method and device, storage medium and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117521179A (en) * 2024-01-04 2024-02-06 深圳市智岩科技有限公司 Ambient lighting equipment and lighting partition layout construction method, device and computer equipment
CN117528873A (en) * 2024-01-04 2024-02-06 深圳市智岩科技有限公司 Atmosphere lamp equipment, luminous partition layout generation method and device and computer equipment
CN117528873B (en) * 2024-01-04 2024-04-02 深圳市智岩科技有限公司 Ambient lighting equipment and lighting partition layout generation method, device and computer equipment
CN117521179B (en) * 2024-01-04 2024-04-19 深圳市智岩科技有限公司 Atmosphere lamp equipment, luminous partition layout construction method, device and computer equipment

Also Published As

Publication number Publication date
CN117202447B (en) 2024-01-05

Similar Documents

Publication Publication Date Title
CN117202447B (en) Ambient lighting equipment and its corner color selection methods and corresponding devices and media
CN117197261B (en) Atmosphere lamp equipment, color taking method thereof, corresponding device and medium
CN117202451B (en) Atmosphere lamp equipment, and light-emitting control method, device and medium thereof
US11325045B2 (en) Method and apparatus for acquiring merged map, storage medium, processor, and terminal
CN109166159B (en) Method and device for acquiring dominant tone of image and terminal
US9754357B2 (en) Image processing device, stereoscoopic device, integrated circuit, and program for determining depth of object in real space generating histogram from image obtained by filming real space and performing smoothing of histogram
JP5368454B2 (en) Image analysis apparatus and method
CN110196746A (en) Interactive interface rendering method and device, electronic equipment, storage medium
CN111131799B (en) Image splicing and fusing method, projection system and processing device thereof
CN117412449B (en) Atmosphere lamp equipment, lamp effect playing control method thereof, and corresponding device and medium
CN108579082A (en) The method, apparatus and terminal of shadow are shown in game
CN111667800B (en) Image display parameter adjusting method and device, storage medium and terminal
CN108596908B (en) LED display screen detection method and device and terminal
CN114266838A (en) Image data processing method, image data processing device, electronic equipment and storage medium
CN114340102B (en) Lamp strip control method, device, display equipment, system and storage medium
TW201933046A (en) Image processing method and device based on augmented reality, and electronic equipment
CN112802170A (en) Illumination image generation method, apparatus, device, and medium
CN113597061A (en) Method, apparatus and computer readable storage medium for controlling a magic color light strip
CN104156132B (en) Capacitive induction interaction contactor control device based on LED screen
CN114375083A (en) Light rhythm method, device, terminal equipment and storage medium
CN111080806A (en) Map processing method and device, electronic device and storage medium
US12131434B2 (en) Image processing apparatus, image processing method, and storage medium
CN117528873B (en) Ambient lighting equipment and lighting partition layout generation method, device and computer equipment
CN111862271B (en) Display area filling method, device, equipment and storage medium
CN117521179B (en) Atmosphere lamp equipment, luminous partition layout construction method, device and computer 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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Shenzhen Qianyan Technology Co.,Ltd.

Country or region after: China

Patentee after: Shenzhen Zhiyan Technology Co.,Ltd.

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

Patentee before: Shenzhen Qianyan Technology Co.,Ltd.

Country or region before: China

Patentee before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address