CN113207023B - Method, device, equipment and medium for processing background color change of television detail page - Google Patents
Method, device, equipment and medium for processing background color change of television detail page Download PDFInfo
- Publication number
- CN113207023B CN113207023B CN202110367276.3A CN202110367276A CN113207023B CN 113207023 B CN113207023 B CN 113207023B CN 202110367276 A CN202110367276 A CN 202110367276A CN 113207023 B CN113207023 B CN 113207023B
- Authority
- CN
- China
- Prior art keywords
- color
- television
- detail page
- poster
- background
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000008859 change Effects 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000003672 processing method Methods 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 3
- 230000003044 adaptive effect Effects 0.000 claims 1
- 230000006870 function Effects 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 9
- 238000010521 absorption reaction Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8146—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
- H04N21/8153—Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Processing Of Color Television Signals (AREA)
- User Interface Of Digital Computer (AREA)
- Color Image Communication Systems (AREA)
Abstract
The invention discloses a method, a device, equipment and a medium for processing background color change of a television detail page, wherein the method comprises the following steps: detecting whether to enter a television detail page; when the incoming television detail page is detected, automatically selecting the main color of the poster by the system; converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and outputs a television background adapted to the current poster. The invention adds new functions to the television: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
Description
Technical Field
The invention relates to the technical field of televisions, in particular to a method and a device for processing background color change of a television detail page, terminal equipment and a storage medium.
Background
With the continuous development of technology and network technology, the use of television sets is becoming more and more popular.
With the popularization of smart televisions, users frequently enter a movie or a detail page of a television play in the process of using the television. The background of the detail page of the existing television is still a background of a follow-up system, namely the television in the prior art does not have the intelligent color-changing function of the background of the detail page of the television end, so that the television is monotonous in user experience, and is not good in eye protection of the user, and is sometimes inconvenient for the user to use.
Accordingly, there is a need for improvement and advancement in the art.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method, a device, a terminal device and a storage medium for processing the background color change of a television detail page, which enable a television to add new functions: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a television detail page background color change processing method comprises the following steps:
detecting whether to enter a television detail page;
when the incoming television detail page is detected, automatically selecting the main color of the poster by the system;
converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and outputs a television background adapted to the current poster.
The method for processing the background color change of the television detail page, wherein the step of detecting whether to enter the television detail page comprises the following steps:
it is detected whether to enter a detail page of a movie or a television show.
The method for processing the background color change of the television detail page, wherein when the television detail page is detected to be entered, the system automatically selects the main color of the poster, and the method comprises the following steps:
when the incoming television detail page is detected, the system automatically selects a designated poster;
and selecting the main color of the poster according to the selected random color of the poster.
According to the television detail page background color change processing method, the color value of the main color is converted into an HSB color mode, a gradual change layer is covered, and detail page background color change is achieved; and the step of outputting the television background adapted to the current poster includes:
converting the color value of the main color of the selected poster into an HSB format, and keeping the values of H and S unchanged;
the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated;
when 50.ltoreq.B.ltoreq.100, B=50 is specified; covering a gradual change layer on the basis of the color value to realize background color change of the detail page; and outputs a television background adapted to the current poster.
The television detail page background color change processing method, wherein the step of converting the color value of the dominant color into an HSB color mode further comprises the following steps:
converting the color value of the main color into an HSB color mode, wherein the H value is kept unchanged according to the poster absorbing color value; the S value is kept unchanged according to the poster absorption color value, and the B value is=30 or 50; the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated; when 50.ltoreq.B.ltoreq.100, B=50 is specified.
The television detail page background color change processing method comprises the following steps: background color, top white gradation, UI and text to form the television background component elements.
The television detail page background color change processing method, wherein the HSB represents a color mode: in the HSB mode, H represents hue, S represents saturation, and B represents brightness, and the medium corresponding to the HSB mode is human eye; HSB color mode, i.e., chroma, saturation, luminance mode; the three attributes of the color are adopted for color representation, namely the three attributes of the color are quantized, the saturation and the brightness are represented by 0% -100% percent values, and the chromaticity is represented by 0 ° -360 °.
A television detail page background color change processing apparatus, wherein the apparatus comprises:
the detection module is used for detecting whether to enter a television detail page;
the main color selecting module is used for automatically selecting the main color of the poster when the incoming television detail page is detected;
the color change processing module is used for converting the color value of the main color into an HSB color mode, covering a gradual change layer and realizing background color change of the detail page; and outputs a television background adapted to the current poster.
The terminal equipment comprises a memory, a processor and a television detail page background color change processing program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the television detail page background color change processing method when executing the television detail page background color change processing program.
A computer readable storage medium having stored thereon a television detail page background color change processing program which, when executed by a processor, implements the steps of any of the television detail page background color change processing methods described herein.
The beneficial effects are that: compared with the prior art, the invention provides a television detail page background color change processing method, and the detail page background is changed according to television poster adaptation through a set of intelligent color change algorithm. After a user enters a detail page, the system automatically selects the main color of the poster, and then inputs the color value into a color change algorithm, so that the television background which is matched with the current poster is quickly output, and the invention enables the television to have new functions: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
Drawings
Fig. 1 is a flowchart of a specific implementation of a method for color change processing of a television detail page background according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a television background component element in the television detail page background color change processing method provided by the embodiment of the invention.
Fig. 3 is a schematic view of a television background HSB color-taking principle in the television detail page background color-changing processing method provided by the embodiment of the invention.
Fig. 4 is a diagram of an adaptation effect in a method for processing background color change of a television detail page according to an embodiment of the present invention.
Fig. 5 is a schematic block diagram of a television detail page background color change processing device provided by an embodiment of the invention.
Fig. 6 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and rear … …) are included in the embodiments of the present invention, the directional indications are merely used to explain the relative positional relationship, movement conditions, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
Today in technology assisted life, people and various terminal devices such as photocopies have been surrounded in life by devices such as mobile phones, tablets, computers, televisions. Terminal devices have slowly penetrated into corners of people's lives.
With the continuous development of technology and network technology, the use of television sets is becoming more and more popular.
With the popularization of smart televisions, users frequently enter a movie or a detail page of a television play in the process of using the television. The background of the detail page of the existing television is still a background of a follow-up system, namely the television in the prior art does not have the intelligent color-changing function of the background of the detail page of the television end, so that the television is monotonous in user experience, and is not good in eye protection of the user, and is sometimes inconvenient for the user to use.
In order to solve the problems in the prior art, the embodiment provides a television detail page background color change processing method. After a user enters a detail page, the system automatically selects the main color of the poster, and then inputs the color value into a color change algorithm, so that the television background which is matched with the current poster is quickly output, and the invention enables the television to have new functions: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
HSB, also known as HSV, represents a color pattern: in the HSB mode, H (hues) represents hue, S (saturation) represents saturation, and B (brightness) represents brightness, and the medium corresponding to the HSB mode is human eye.
The higher the values of S and B present in HSB mode, the higher the saturation brightness, the intense and bright page color, which is a rapid, striking effect on visual stimuli, but not beneficial for long-term viewing.
HSB is identical to HSV.
Hue (H, hue): on a standard color wheel of 0-360 deg., the hue is measured by location. In normal use, the hue is identified by a color name, such as red, green or orange. Black and white are colorless.
Saturation (S): the purity of the color is represented as gray when 0. White, black and other gray colors are all without saturation. At maximum saturation, each color phase has the purest color light. The value range is 0-100%.
Brightness (B, brightness or V, value): is the brightness of the color. When the color is 0, the color is black. The maximum brightness is the most vivid state of color. The value range is 0-100%.
HSB color mode is chromaticity, saturation, luminance mode. The color is represented by three attributes of the color, namely, the three attributes of the color are quantized, the saturation and the brightness are expressed in percentage values (0% -100%), and the chromaticity is expressed in angles (0 ° -360 °). HSB color mode is based on human perception of color, describing three basic characteristics of color.
Exemplary method
The method for processing the background color change of the television detail page of the embodiment can be applied to terminal equipment, and particularly as shown in fig. 1, the method for processing the background color change of the television detail page comprises the following steps:
step S100, detecting whether to enter a television detail page;
with the popularization of smart televisions, users frequently enter a movie or a detail page of a television play in the process of using the television.
In the embodiment of the invention, the television can detect whether to enter a television detail page. For example to detect if a movie or a drama is entered in a detail page.
As shown in fig. 2, the television background constituent elements include: background color + top white fade + UI and text = tv detail page.
Step 200, when detecting to enter a television detail page, automatically selecting the main color of the poster by the system;
in the embodiment of the invention, when the incoming television detail page is detected, for example, when the incoming television detail page is a movie or a television play detail page, the system automatically selects the main color of the poster.
When the specific implementation is carried out, when the entering television detail page is detected, the system automatically selects a designated poster; and selecting the main color of the poster according to the selected random color of the poster.
In the embodiment of the invention, the main color of the poster can be randomly selected according to the color of the poster. I.e. one color can be selected at will from the plurality of colors included in the selected poster as the main color of the poster. And proceeds to step S300.
Step S300, converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and outputs a television background adapted to the current poster.
In the embodiment of the invention, the color value of the selected poster main color is converted into an HSB color mode, and a gradual change layer is covered to realize detail page background color change; and outputs a television background adapted to the current poster.
Referring specifically to fig. 3, fig. 3 is a schematic diagram of a television background HSB color extraction principle in an embodiment of the method of the present invention.
As shown in fig. 3, the step of converting the color value of the dominant color into HSB color mode in the present invention:
converting the color value of the main color into an HSB color mode, wherein the H value is kept unchanged according to the poster absorbing color value; the S value is kept unchanged according to the poster absorption color value, and the B value is=30 or 50; the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated; when 50.ltoreq.B.ltoreq.100, B=50 is specified.
In the embodiment of the present invention, the step S300 specifically includes:
converting the color value of the main color of the selected poster into an HSB format, and keeping the values of H and S unchanged;
the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated;
when 50.ltoreq.B.ltoreq.100, B=50 is specified; covering a gradual change layer on the basis of the color value to realize background color change of the detail page; and outputs a television background adapted to the current poster.
As shown in fig. 3, the scheme is applied, 3 posters are selected, and the 1 st poster H is 322, S is 25 and B is 78 according to the optional color absorption of the posters;
after transformation, the mixture is H322, S25 and B50;
the second poster H:101, S:48, B:44;
after transformation, H is 101, S is 48, and B is 30;
third poster H:19, S:56, B:56;
after transformation, H is 19, S is 56, and B is 50;
an adaptation effect diagram is shown in fig. 4. After a user enters a movie detail page, a television system selects the dominant color of a movie poster, converts the color value of the movie poster into an HSB format, keeps the values of H and S unchanged, judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, the value of B=30; when 50.ltoreq.B.ltoreq.100, B=50. And covering a gradual change layer on the basis of the color value, thereby realizing intelligent color change of the detail page background.
In the embodiment of the invention, the television detail page comprises: background color, top white gradation, UI and text to form the television background component elements.
Wherein the HSB represents a color mode: in the HSB mode, H represents hue, S represents saturation, and B represents brightness, and the medium corresponding to the HSB mode is human eye; HSB color mode, i.e., chroma, saturation, luminance mode; the three attributes of the color are adopted for color representation, namely the three attributes of the color are quantized, the saturation and the brightness are represented by 0% -100% percent values, and the chromaticity is represented by 0 ° -360 °.
From the above, when the user enters the detail page, the system automatically selects the main color of the poster, and then inputs the color value into the color-changing algorithm, so that the television background adapting to the current poster is rapidly output, and the invention enables the television to have new functions: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
Exemplary apparatus
As shown in fig. 5, an embodiment of the present invention provides a device for processing background color change of a television detail page, including:
a detection module 10 for detecting whether to enter a television detail page;
the main color selecting module 20 is used for automatically selecting the main color of the poster when the incoming television detail page is detected;
the color change processing module 30 is configured to convert the color value of the main color into an HSB color mode, cover the gradient layer, and implement background color change of the detail page; and outputs a television background adapted to the current poster. As described in detail above.
Based on the above embodiment, the present invention also provides a terminal device, and a functional block diagram thereof may be shown in fig. 6. The terminal equipment comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal device is adapted to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the terminal device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for background color change processing of a television detail page. The display screen of the terminal device may be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the schematic block diagram shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the terminal device to which the present inventive arrangements are applied, and that a particular terminal device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a terminal device is provided, where the terminal device includes a memory, a processor, and a television detail page background color change processing program stored on the memory and capable of running on the processor, and when the processor executes the television detail page background color change processing program, the processor implements the following operation instructions:
detecting whether to enter a television detail page;
when the incoming television detail page is detected, automatically selecting the main color of the poster by the system;
converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and outputs a television background adapted to the current poster.
Wherein the step of detecting whether to enter a television detail page comprises:
it is detected whether to enter a detail page of a movie or a television show.
Wherein, when detecting to enter the television detail page, the system automatically selects the main color of the poster, which comprises the following steps:
when the incoming television detail page is detected, the system automatically selects a designated poster;
and selecting the main color of the poster according to the selected random color of the poster.
Converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and the step of outputting the television background adapted to the current poster includes:
converting the color value of the main color of the selected poster into an HSB format, and keeping the values of H and S unchanged;
the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated;
when 50.ltoreq.B.ltoreq.100, B=50 is specified; covering a gradual change layer on the basis of the color value to realize background color change of the detail page; and outputs a television background adapted to the current poster.
Wherein the step of converting the color value of the dominant color into HSB color mode further comprises:
converting the color value of the main color into an HSB color mode, wherein the H value is kept unchanged according to the poster absorbing color value; the S value is kept unchanged according to the poster absorption color value, and the B value is=30 or 50; the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated; when 50.ltoreq.B.ltoreq.100, B=50 is specified.
Wherein, the television detail page comprises: background color, top white gradation, UI and text to form the television background component elements.
Wherein the HSB represents a color mode: in the HSB mode, H represents hue, S represents saturation, and B represents brightness, and the medium corresponding to the HSB mode is human eye; HSB color mode, i.e., chroma, saturation, luminance mode; the three attributes of the color are adopted for color representation, namely the three attributes of the color are quantized, the saturation and the brightness are represented by 0% -100% percent values, and the chromaticity is represented by 0 ° -360 °. .
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses a method, a device, a terminal device and a storage medium for processing the background color change of a television detail page, wherein the method comprises the following steps: detecting whether to enter a television detail page; when the incoming television detail page is detected, automatically selecting the main color of the poster by the system; converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and outputs a television background adapted to the current poster. The invention adds new functions to the television: the intelligent color-changing function of the television end detail page background is provided, the color display is novel, the eye protection of a user is facilitated, and convenience is provided for the use of the user.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (7)
1. A method for color change treatment of a television detail page background, comprising the steps of:
detecting whether to enter a television detail page;
when the incoming television detail page is detected, automatically selecting the main color of the poster by the system;
when the incoming television detail page is detected, the system automatically selects the main color of the poster, which comprises the following steps:
when the incoming television detail page is detected, the system automatically selects a designated poster;
selecting the main color of the poster according to the selected random color of the poster;
converting the color value of the main color into an HSB color mode, covering a gradual change layer, realizing detail page background color change, and outputting a television background which is adaptive to the current poster;
converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and the step of outputting the television background adapted to the current poster includes:
converting the color value of the main color of the selected poster into an HSB format, and keeping the values of H and S unchanged;
the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated;
when 50.ltoreq.B.ltoreq.100, B=50 is specified;
covering a gradual change layer on the basis of the color value after the judgment of the B value, and realizing background color change of the detail page;
and outputs a television background adapted to the current poster.
2. The method for background color change processing of a television detail page according to claim 1, wherein the step of detecting whether to enter the television detail page comprises:
it is detected whether to enter a detail page of a movie or a television show.
3. The television detail page background color change processing method according to claim 1, wherein the television detail page comprises: background color, top white gradient layer, UI and text.
4. The method of claim 1, wherein said HSB represents a color mode: in the HSB mode, H represents hue, S represents saturation, B represents brightness, and the medium corresponding to the HSB mode is human eye; HSB color mode, i.e., chroma, saturation, luminance mode; the three attributes of the color are adopted for color representation, namely the three attributes of the color are quantized, the saturation and the brightness are represented by 0% -100% percent values, and the chromaticity is represented by 0 ° -360 °.
5. A television detail page background color change processing apparatus, the apparatus comprising:
the detection module is used for detecting whether to enter a television detail page;
the main color selecting module is used for automatically selecting the main color of the poster when the incoming television detail page is detected;
when the incoming television detail page is detected, the system automatically selects the main color of the poster, which comprises the following steps:
when the incoming television detail page is detected, the system automatically selects a designated poster;
selecting the main color of the poster according to the selected random color of the poster;
the color change processing module is used for converting the color value of the main color into an HSB color mode, covering a gradual change layer and realizing background color change of the detail page; and outputting a television background adapted to the current poster;
converting the color value of the main color into an HSB color mode, covering a gradual change layer, and realizing detail page background color change; and the step of outputting the television background adapted to the current poster includes:
converting the color value of the main color of the selected poster into an HSB format, and keeping the values of H and S unchanged;
the system judges the value of B, and when B is more than or equal to 1 and less than or equal to 49, B=30 is designated;
when 50.ltoreq.B.ltoreq.100, B=50 is specified;
covering a gradual change layer on the basis of the color value after the judgment of the B value, and realizing background color change of the detail page;
and outputs a television background adapted to the current poster.
6. A terminal device comprising a memory, a processor and a television detail page background color change processing program stored on the memory and executable on the processor, the processor implementing the steps of the television detail page background color change processing method of any of claims 1-4 when the television detail page background color change processing program is executed by the processor.
7. A computer readable storage medium having stored thereon a television detail page background color change processing program which, when executed by a processor, implements the steps of the television detail page background color change processing method of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110367276.3A CN113207023B (en) | 2021-04-06 | 2021-04-06 | Method, device, equipment and medium for processing background color change of television detail page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110367276.3A CN113207023B (en) | 2021-04-06 | 2021-04-06 | Method, device, equipment and medium for processing background color change of television detail page |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113207023A CN113207023A (en) | 2021-08-03 |
CN113207023B true CN113207023B (en) | 2023-05-02 |
Family
ID=77026207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110367276.3A Active CN113207023B (en) | 2021-04-06 | 2021-04-06 | Method, device, equipment and medium for processing background color change of television detail page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113207023B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763500B (en) * | 2021-09-07 | 2024-07-05 | 平安国际智慧城市科技股份有限公司 | HSB color-taking processing method, device, equipment and storage medium in Web page |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528187A (en) * | 2015-09-09 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Method and device for determining occupied background color |
CN107241637A (en) * | 2017-05-26 | 2017-10-10 | 四川长虹电器股份有限公司 | The method of application icon intelligent collocation backboard colour table based on HSB color modes |
CN111506287A (en) * | 2020-04-08 | 2020-08-07 | 北京百度网讯科技有限公司 | Page display method and device, electronic equipment and storage medium |
CN111736941A (en) * | 2020-07-27 | 2020-10-02 | 智者四海(北京)技术有限公司 | Picture processing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10078436B2 (en) * | 2015-02-25 | 2018-09-18 | Htc Corporation | User interface adjusting method and apparatus using the same |
-
2021
- 2021-04-06 CN CN202110367276.3A patent/CN113207023B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528187A (en) * | 2015-09-09 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Method and device for determining occupied background color |
CN107241637A (en) * | 2017-05-26 | 2017-10-10 | 四川长虹电器股份有限公司 | The method of application icon intelligent collocation backboard colour table based on HSB color modes |
CN111506287A (en) * | 2020-04-08 | 2020-08-07 | 北京百度网讯科技有限公司 | Page display method and device, electronic equipment and storage medium |
CN111736941A (en) * | 2020-07-27 | 2020-10-02 | 智者四海(北京)技术有限公司 | Picture processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN113207023A (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10019925B2 (en) | Electronic device capable of displaying and performing color compensation and color compensation method | |
US10467776B2 (en) | Information processing method and apparatus, terminal, and storage medium | |
CN105261326A (en) | Display device for adjusting display color gamut and method for adjusting display color gamut | |
WO2018072270A1 (en) | Method and device for enhancing image display | |
CN108200420B (en) | Image adjusting method and device, readable storage medium and terminal | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
CN105959491A (en) | Method for compensating screen color temperature and mobile terminal | |
CN113112944A (en) | Display control method, electronic device, and storage medium | |
CN109729281A (en) | Image processing method, device, storage medium and terminal | |
CN110377390B (en) | Image information processing method and device and electronic equipment | |
CN113132696A (en) | Image tone mapping method, device, electronic equipment and storage medium | |
US20170256235A1 (en) | Color display method and system for mobile terminal | |
CN113207023B (en) | Method, device, equipment and medium for processing background color change of television detail page | |
CN109859283A (en) | One kind taking color method, takes color device, electronic equipment and can storage medium | |
US9024855B2 (en) | Information processing apparatus and display control method | |
CN116668838B (en) | Image processing methods and electronic equipment | |
CN112969088A (en) | Screen projection control method and device, electronic equipment and readable storage medium | |
CN105679277A (en) | Color adjusting method of display screen and mobile terminal | |
CN112947876B (en) | Display control method, display control device, electronic device, and medium | |
CN113869002A (en) | Character display method and device, electronic equipment and storage medium | |
CN112102765A (en) | Display parameter adjusting method and device and electronic equipment | |
EP4451098A1 (en) | Image processing method and apparatus, electronic device, and readable storage medium | |
CN112201191B (en) | Display screen control method and device, electronic equipment and readable storage medium | |
WO2021249504A1 (en) | Distributed display method and related device | |
US11410622B2 (en) | Display method and device, and storage medium |
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 |