CN111142987A - Method and device for presenting background in real time based on program poster and television set top box - Google Patents
Method and device for presenting background in real time based on program poster and television set top box Download PDFInfo
- Publication number
- CN111142987A CN111142987A CN201911193249.8A CN201911193249A CN111142987A CN 111142987 A CN111142987 A CN 111142987A CN 201911193249 A CN201911193249 A CN 201911193249A CN 111142987 A CN111142987 A CN 111142987A
- Authority
- CN
- China
- Prior art keywords
- bitmap
- poster
- background
- program
- real time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000009877 rendering Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims description 13
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 description 7
- 239000003086 colorant Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000005337 ground glass Substances 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
- 239000007787 solid Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to a method and a device for presenting a background in real time based on a program poster and a television set top box, wherein the method comprises the following steps: obtaining a poster image of a current program; reducing the poster image according to a set proportion to obtain a first bitmap; blurring the first bitmap to form a second bitmap; acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap; rendering and displaying the third bitmap as the current background. Compared with the prior art, the method has the advantages of improving the visual effect of the user, being convenient to operate and the like.
Description
Technical Field
The invention belongs to the field of intelligent equipment, relates to an internet television set top box, and particularly relates to a method and a device for presenting a background in real time based on a program poster and a television set top box.
Background
When people watch television program contents, a content provider elaborately creates poster introduction pictures in order to attract the attention of users, and the tone, composition, title and font of the poster introduction pictures are elaborately prepared by designers. When the poster picture is displayed on a television end, the poster picture is found to be matched with a background of a corresponding style or color so as to present the best visual effect.
In general, a designer prepares a fixed background, which is generally implemented as a solid color (black, blue is common), so that the scheme is relatively dull and tedious in practical experience. And another improved scheme is that a designer prepares a group of fixed backgrounds which are divided into a plurality of color systems and hues, and the fixed backgrounds are randomly matched with a specific program by a program, and the experience is that if a background picture is similar to the color system of a program poster and the hues are matched, a user can accept the background picture, but the situation that the color system and the hues are in conflict is very likely to occur, and the effect is poor.
An improved approach is to manually configure the corresponding background picture by the operator when the program is on line, which can solve the above-mentioned problems, but the adjustment is very troublesome, and the cost of manual operation is conceivable.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a method, a device and a television set top box for presenting a background in real time based on a program poster, which improve the visual effect of a user and are convenient to operate.
The purpose of the invention can be realized by the following technical scheme:
a method of presenting a background in real time based on a program poster, the method comprising the steps of:
obtaining a poster image of a current program;
reducing the poster image according to a set proportion to obtain a first bitmap;
blurring the first bitmap to form a second bitmap;
acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap;
rendering and displaying the third bitmap as the current background.
Further, the set proportion is 1/20-1/5 of the original size of the poster image.
Further, the set scale is 1/10 of the original size of the poster image.
Further, the first bitmap is blurred by using a Fast Blur algorithm.
The invention also provides a device for presenting the background in real time based on the program poster, which comprises:
the image preprocessing unit is used for acquiring a poster image of a current program, and reducing the poster image according to a set proportion to acquire a first bitmap;
the fuzzy processing unit is used for carrying out fuzzy processing on the first bitmap to form a second bitmap;
the stretching unit is used for acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap;
and the rendering display unit renders and displays the third bitmap as the current background.
Further, the set proportion is 1/20-1/5 of the original size of the poster image.
Further, the set scale is 1/10 of the original size of the poster image.
Further, in the blurring unit, a Fast Blur algorithm is adopted to perform blurring processing on the first bitmap.
The invention also provides a television set-top box which comprises the device for presenting the background in real time based on the program poster.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention obtains the matched background in real time according to the poster image of the current program, thereby effectively improving the visual experience effect of the user.
2. The invention has high real-time performance, does not need manual configuration, is convenient to switch and effectively reduces the operation cost.
3. The invention reduces the poster image according to the set proportion and creates the bitmap when processing the image, thereby avoiding excessive memory consumption, quickening the rendering speed, achieving the effect of rendering the background when the poster image is loaded, and further improving the visual experience effect.
4. The Fast Blur algorithm is adopted to realize rapid Blur processing, and the rendering speed is accelerated.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Example 1
As shown in fig. 1, the present embodiment provides a method for presenting a background in real time based on a program poster, the method including the steps of:
and step S1, obtaining the poster image of the current program, and reducing the poster image according to a set scale to obtain a first bitmap.
The set ratio can be 1/20-1/5 of the original size of the poster image. In this embodiment, 1/10 scaled to the original size of the poster image is set.
The bitmap is formed through reduction processing, excessive memory consumption is avoided, the rendering speed is increased, and the effect of rendering the background when the poster image is loaded is achieved.
And step S2, performing fuzzy processing on the first bitmap to form a second bitmap.
In this embodiment, the Fast Blur algorithm is used to perform the blurring process on the first bitmap. The Fast Blur algorithm is a Fast modulus processing algorithm and can quickly realize the fuzzy effect of the ground glass.
And step S3, obtaining display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap, wherein the third bitmap is just equal to the display screen in size.
And step S4, rendering and displaying the third bitmap as the current background.
By the method, when a certain program is selected, the background picture loading display with matched colors can be quickly obtained according to the color configuration of the program poster, and the video experience effect of a user is improved.
Example 2
The embodiment provides a device based on show poster presents background in real time, includes:
the image preprocessing unit is used for acquiring a poster image of a current program, and reducing the poster image according to a set proportion to acquire a first bitmap;
the fuzzy processing unit is used for carrying out fuzzy processing on the first bitmap to form a second bitmap;
the stretching unit is used for acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap;
and the rendering display unit renders and displays the third bitmap as the current background.
The rest is the same as example 1.
Example 3
This embodiment provides a television set-top box comprising the apparatus for presenting a background based on a program poster in real time as described in embodiment 2.
When the television set top box is used, background pictures matched with colors can be rapidly obtained according to the color configuration of the program poster for loading and displaying. If the color matching of the poster is that the upper yellow bottom is added with the red character, and the lower main body is black, the rendered background is correspondingly that the upper part takes yellow as the main part, the gradually-changed red is doped, the lower part takes black as the main part, and the transition part takes gradually-changed color.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions that can be obtained by a person skilled in the art through logic analysis, reasoning or limited experiments based on the prior art according to the concept of the present invention should be within the protection scope determined by the present invention.
Claims (9)
1. A method of presenting a background in real time based on a program poster, the method comprising the steps of:
obtaining a poster image of a current program;
reducing the poster image according to a set proportion to obtain a first bitmap;
blurring the first bitmap to form a second bitmap;
acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap;
rendering and displaying the third bitmap as the current background.
2. The method for presenting the background based on the program poster in real time as claimed in claim 1, wherein the set proportion is 1/20-1/5 of the original size of the poster image.
3. A method for presenting a background on a program poster in real time as claimed in claim 2, wherein said set scale is 1/10 of the original size of the poster image.
4. A method of presenting a background in real time based on a program poster as claimed in claim 1, characterised in that the first bitmap is blurred using the FastBlur algorithm.
5. An apparatus for presenting a background in real time based on a program poster, comprising:
the image preprocessing unit is used for acquiring a poster image of a current program, and reducing the poster image according to a set proportion to acquire a first bitmap;
the fuzzy processing unit is used for carrying out fuzzy processing on the first bitmap to form a second bitmap;
the stretching unit is used for acquiring display size information, and stretching the second bitmap based on the display size information to obtain a third bitmap;
and the rendering display unit renders and displays the third bitmap as the current background.
6. A device for presenting a background based on a program poster in real time as claimed in claim 5, wherein the set proportion is 1/20-1/5 of the original size of the poster image.
7. An apparatus for presenting a background based on a program poster in real time as claimed in claim 6, wherein the set proportion is 1/10 of the original size of the poster image.
8. The apparatus for presenting the background based on the program poster in real time as claimed in claim 5, wherein the blurring processing unit is used for blurring the first bitmap by using Fast Blur algorithm.
9. A television set-top box comprising means for presenting a background in real time based on a program poster as claimed in any of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911193249.8A CN111142987A (en) | 2019-11-28 | 2019-11-28 | Method and device for presenting background in real time based on program poster and television set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911193249.8A CN111142987A (en) | 2019-11-28 | 2019-11-28 | Method and device for presenting background in real time based on program poster and television set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111142987A true CN111142987A (en) | 2020-05-12 |
Family
ID=70517325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911193249.8A Pending CN111142987A (en) | 2019-11-28 | 2019-11-28 | Method and device for presenting background in real time based on program poster and television set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111142987A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106231209A (en) * | 2016-08-02 | 2016-12-14 | 浪潮软件集团有限公司 | Method for realizing background picture of video detail page |
CN109672906A (en) * | 2018-12-20 | 2019-04-23 | 深圳创维数字技术有限公司 | Background Generation Method, device and computer readable storage medium |
-
2019
- 2019-11-28 CN CN201911193249.8A patent/CN111142987A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106231209A (en) * | 2016-08-02 | 2016-12-14 | 浪潮软件集团有限公司 | Method for realizing background picture of video detail page |
CN109672906A (en) * | 2018-12-20 | 2019-04-23 | 深圳创维数字技术有限公司 | Background Generation Method, device and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
何清超: "《Adobe创意大学Premiere Pro CS5影视剪辑师标准实训教材》", 印刷工业出版社, pages: 153 - 154 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9165203B2 (en) | Legibility enhancement for a logo, text or other region of interest in video | |
CN112423083A (en) | Dynamic video overlay | |
WO2017016171A1 (en) | Window display processing method, apparatus, device and storage medium for terminal device | |
JP2003271125A (en) | Device, method and program for image display | |
CA2421894A1 (en) | Hardware-enhanced graphics acceleration of pixel sub-component-oriented images | |
CN106023904A (en) | Display control method and device based on electronic ink screen | |
CN106899878A (en) | A kind of adjustable video and graph compound method and system of transparency based on OMAP chips | |
CN109871192A (en) | A kind of display methods, device, electronic equipment and computer readable storage medium | |
CN106561044B (en) | Processing method and system for black edge of vertical screen video on android system | |
CN106997608A (en) | A kind of method and device for generating halation result figure | |
CN110838154A (en) | Picture processing method and device | |
CN113905268A (en) | Black edge removing method for screen projection display of mobile terminal | |
CN112561913A (en) | Method and device for generating mura defect sample data of display panel | |
CN103414944B (en) | The method and apparatus of rapid preview file destination | |
EP1713033A3 (en) | System and method for forming bitmap font outline | |
CN106550261A (en) | Lift the exhibiting method and system of video image clarity | |
CN107424136B (en) | Method for processing Gaussian blur of picture under Mac | |
CN106231209A (en) | Method for realizing background picture of video detail page | |
CN111142987A (en) | Method and device for presenting background in real time based on program poster and television set top box | |
CN106528161A (en) | Terminal equipment, page display processing device and method | |
CN109859303B (en) | Image rendering method and device, terminal equipment and readable storage medium | |
JP2002042132A (en) | Image processing device and its method | |
CN111292677B (en) | Image display processing method and device, computer equipment and storage medium | |
CN113360820B (en) | Page display method, system, equipment and storage medium | |
CN113393391B (en) | Image enhancement method, image enhancement device, electronic apparatus, 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 |