Search

CN-115474306-B - Atmosphere lamp video data processing method, apparatus, device and storage medium

CN115474306BCN 115474306 BCN115474306 BCN 115474306BCN-115474306-B

Abstract

The invention discloses an atmosphere lamp video data processing method, device, equipment and storage medium. The method comprises the steps of receiving a display signal input source of a display terminal, dividing a pixel point area of the display terminal into a plurality of subareas according to the number of lamp beads of an atmosphere lamp, obtaining a row pixel range and a column pixel range of each subarea, dividing each subarea into a plurality of subareas according to the row pixel range and the column pixel range of each subarea, obtaining RGB basic tone values of the display signal input source in the subareas in a frame of display picture data, and mapping the RGB basic tone values of the subareas in the subareas to corresponding LED lamp beads so as to generate a space gradual change effect. The invention can enable the atmosphere lamp to present the visual effect of space gradual change along with the display picture, and can smoothly transition along with the display picture, and has high user experience.

Inventors

  • SUN MINGLIANG
  • GUO YANDONG
  • LI HONGHAI
  • LIN FANGFANG

Assignees

  • 深圳市新龙鹏科技有限公司

Dates

Publication Date
20260512
Application Date
20220906

Claims (5)

  1. 1. An atmosphere lamp video data processing method, characterized in that the method comprises: Receiving a display signal input source of a display terminal, dividing a pixel point area of the display terminal into a plurality of partition areas according to the number of lamp beads of an atmosphere lamp, and comprising the following steps: a plane rectangular coordinate system is established by taking the central point of the display terminal as a coordinate origin; dividing the long side and the wide side of the display terminal into a plurality of equal parts according to the number of the lamp beads distributed on the long side and the wide side of the display terminal by the atmosphere lamps; acquiring coordinates of each critical point for dividing the long side and the wide side of the display terminal into a plurality of equal parts; Connecting each critical point coordinate with the central point coordinate of the display terminal, and dividing the pixel point area of the display terminal into a plurality of subarea areas; The plurality of subarea areas take the middle point of the display terminal as a picture center point to present radiation type and spread outwards; acquiring a row pixel range and a column pixel range of each of the plurality of partitioned areas, including: Acquiring a row pixel range and a column pixel range of the plurality of partition areas in a first quadrant, wherein the row pixel range and the column pixel range comprise; the column pixel range is: ; The row pixel range is: , , ; wherein, the video size of the display terminal is that , Is the long side of the video size, K is the serial number of the lamp beads of the atmosphere lamp on the long side or the wide side of the display terminal, and m is the total number of the lamp beads on the long side or the wide side of the display terminal; Dividing each of the plurality of subarea areas into a plurality of subarea areas according to a row pixel range and a column pixel range of each of the plurality of subarea areas; in one frame of display picture data, RGB basic tone values of the display signal input source in a plurality of subareas of the subareas are obtained; Mapping the RGB basic tone values of a plurality of subareas in each of the plurality of subareas into corresponding LED beads to generate a spatial gradation effect, comprising: multiplying RGB basic tone values of a plurality of subareas in each subarea by a preset weight coefficient, and then mapping the RGB basic tone values into corresponding LED lamp beads to generate a space gradual change effect; In multi-frame display picture data, RGB basic tone values of the display signal input source in a plurality of subareas are obtained; Acquiring the average value of the RGB basic tone values; Mapping RGB base tone averages of a plurality of subarea in each of the plurality of subarea areas into corresponding LED lamp beads to generate a smooth transition effect.
  2. 2. The method of claim 1, wherein dividing each of the plurality of sub-areas into a plurality of sub-areas according to a row pixel range and a column pixel range of each of the plurality of sub-areas comprises: Dividing the column pixel range according to preset weights, and dividing each of the plurality of partition areas into a plurality of partition sub-areas.
  3. 3. An atmosphere lamp video data processing apparatus for implementing the method according to any one of claims 1-2, characterized in that the apparatus comprises: The first dividing module is used for receiving a display signal input source of the display terminal and dividing a pixel point area of the display terminal into a plurality of partition areas according to the number of the lamp beads of the atmosphere lamp; the range determining module is used for acquiring a row pixel range and a column pixel range of each of the plurality of partition areas; The second dividing module is used for dividing each of the plurality of subareas into a plurality of subareas according to the row pixel range and the column pixel range of each of the plurality of subareas; a first RGB tone value extracting module, configured to obtain RGB basic tone values of the display signal input source in a plurality of the partition sub-areas in a frame of display picture data; and the first mapping module is used for mapping RGB basic tone values of a plurality of subareas in each of the plurality of subareas into corresponding LED lamp beads so as to generate a space gradual change effect.
  4. 4. An atmosphere lamp video data processing device comprising at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method according to any one of claims 1-2.
  5. 5. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-2.

Description

Atmosphere lamp video data processing method, apparatus, device and storage medium Technical Field The present invention relates to the field of light control technologies, and in particular, to an atmosphere lamp video data processing method, apparatus, device, and storage medium. Background The atmosphere lamp is also called as an LED atmosphere lamp, is a perfect choice of the LED lamp for theme parks, hotels, home, exhibitions, businesses and artistic lighting, and creates a required atmosphere for life. With the improvement of living standard, people have higher aesthetic requirements on the use of electronic devices, such as watching movies and playing games, not only pursuing enjoyment of video and sound, but also more atmosphere is expected. Therefore, the desktop computers, the machine boxes and the keyboards which are generally higher in the market are added with the atmosphere lamp effect while pursuing quality and hand feeling, so that the environment lamp effect is better integrated into the atmosphere for users. The atmosphere lamp for the television is a device which obtains a video input signal of the television and generates a signal for controlling a lamp strip according to the change of the video input signal so that the lamp strip generates corresponding tone light along with the tone change of a television picture. The LED lamp strip is formed by connecting n LED lamp beads with red (R), green (G) and blue (B) channels in series. As shown in fig. 1, the typical placement position of the LED strip surrounds the back frame of the television, and each bead in the LED strip has a corresponding relationship with the television screen. In the prior art, most of television atmosphere lamps are based on the mode of input pixel statistics, the scheme enables the LED lamp strip to follow the screen to quickly respond to picture changes, delay of a plurality of frames exists, the LED lamp strip is excessively hard, obvious color or brightness difference occurs in adjacent frames of a video picture, and the LED lamp strip can generate obvious flickering sense, so that the visual experience of a user is influenced. Therefore, how to reliably and efficiently solve the problem of video data processing of an atmosphere lamp has become a urgent problem for those skilled in the art. Disclosure of Invention The embodiment of the invention provides an atmosphere lamp video data processing method, device, equipment and storage medium aiming at the defects, which are used for solving the problems existing in the prior art. In order to solve the technical problems, an embodiment of the present invention provides a method for processing video data of an atmosphere lamp, where the method includes: Receiving a display signal input source of a display terminal, and dividing a pixel point area of the display terminal into a plurality of subarea areas according to the number of lamp beads of an atmosphere lamp; Acquiring a row pixel range and a column pixel range of each of the plurality of partition areas; Dividing each of the plurality of subarea areas into a plurality of subarea areas according to a row pixel range and a column pixel range of each of the plurality of subarea areas, wherein the plurality of subarea areas are unfolded outwards from a display picture in a manner that the midpoint of the display terminal is taken as a picture center point; in one frame of display picture data, RGB basic tone values of the display signal input source in a plurality of subareas of the subareas are obtained; and mapping RGB basic tone values of a plurality of subareas in each of the plurality of subareas into corresponding LED lamp beads to generate a space gradual change effect. Preferably, the method for processing video data of an atmosphere lamp further comprises: In multi-frame display picture data, RGB basic tone values of the display signal input source in a plurality of subareas are obtained; Acquiring the average value of the RGB basic tone values; Mapping RGB base tone averages of a plurality of subarea in each of the plurality of subarea areas into corresponding LED lamp beads to generate a smooth transition effect. Preferably, the receiving the display signal input source of the display terminal, dividing the pixel point area of the display terminal into a plurality of partition areas according to the number of the lamp beads of the atmosphere lamp includes: a plane rectangular coordinate system is established by taking the central point of the display terminal as a coordinate origin; dividing the long side and the wide side of the display terminal into a plurality of equal parts according to the number of the lamp beads distributed on the long side and the wide side of the display terminal by the atmosphere lamps; acquiring coordinates of each critical point for dividing the long side and the wide side of the display terminal into a plurality of equal parts; And connecting each critical point coordinate wi