Text rendering for browsers and mobile based applications
US-8988434-B1 · Mar 24, 2015 · US
US12469193B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12469193-B2 |
| Application number | US-202118245104-A |
| Country | US |
| Kind code | B2 |
| Filing date | Aug 13, 2021 |
| Priority date | Oct 23, 2020 |
| Publication date | Nov 11, 2025 |
| Grant date | Nov 11, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Provided are an image processing method, an image processing apparatus, an electronic device, and a computer-readable storage medium. The image processing method includes: obtaining a to-be-displayed text; generating a first base image comprising the to-be-displayed text; generating a second base image by determining, based on a display time parameter of the to-be-displayed text, a transparency of the to-be-displayed text in the first base image; generating, based on the second base image, a burr effect image of a to-be-displayed character; generating, based on the burr effect image, an external luminous effect image of the to-be-displayed character; obtaining a rendering image by superimposing the burr effect image and the external luminous effect image; and determining a transparency of a to-be-displayed character in the rendering image based on a position parameter of the to-be-displayed character in the to-be-displayed text, a time stamp, and the display time parameter of the to-be-displayed text.
Opening claim text (preview).
What is claimed is: 1 . An image processing method, comprising: obtaining a to-be-displayed text; generating a first base image comprising the to-be-displayed text; setting, based on a display time parameter of the to-be-displayed text, a transparency of the to-be-displayed text in the first base image to generate a second base image; generating, based on the second base image, a burr effect image of a to-be-displayed character; generating, based on the burr effect image, an external luminous effect image of the to-be-displayed character; obtaining a rendering image by superimposing the burr effect image on the external luminous effect image; and determining a transparency of a to-be-displayed character in the rendering image based on a position parameter of the to-be-displayed character in the to-be-displayed text, a time stamp, and the display time parameter of the to-be-displayed text. 2 . The image processing method according to claim 1 , wherein said generating the second base image by determining, based on the display time parameter of the to-be-displayed text, the transparency of the to-be-displayed text in the first base image comprises: obtaining the time stamp as a random number seed; obtaining an index value of the to-be-displayed character in the to-be-displayed text; and determining the transparency of the to-be-displayed character by calculating a random number based on the random number seed, the index value, the time stamp, and the display time parameter of the to-be-displayed text. 3 . The image processing method according to claim 2 , wherein: the display time parameter comprises a display start time and a display end time of the to-be-displayed text; the display start time indicates a time when a displaying of the to-be-displayed text starts; and the display end time indicates a time when the displaying of the to-be-displayed text ends. 4 . The image processing method according to claim 2 , wherein the index value of the to-be-displayed character indicates a position of the to-be-displayed character in the to-be-displayed text. 5 . The image processing method according to claim 1 , wherein said generating, based on the second base image, the burr effect image of the to-be-displayed character comprises: obtaining a noise image; obtaining a gray scale value of a first coordinate position in the noise image; determining a second coordinate position based on the first coordinate position and the gray scale value; and determining a color value of the second coordinate position in the second base image as a color value of a first coordinate position in the burr effect image. 6 . The image processing method according to claim 5 , wherein said determining the color value of the second coordinate position in the second base image as the color value of the first coordinate position in the burr effect image comprises: determining the color value of the second coordinate position in the second base image as a color value of a first coordinate position in an initial burr effect image; obtaining an edge image by extracting an edge of a to-be-displayed text in the initial burr effect image and setting the edge to have a first transparency; and obtaining the burr effect image by blending the edge image with the initial burr effect image. 7 . The image processing method according to claim 1 , wherein said generating, based on the burr effect image, the external luminous effect image of the to-be-displayed character comprises: obtaining an expansion image by performing an expansion processing on the burr effect image; obtaining a luminous effect image by performing a Gaussian blur processing on the expansion image; and generating the external luminous effect image based on the luminous effect image. 8 . The image processing method according to claim 7 , wherein said generating the external luminous effect image based on the luminous effect image comprises: generating, based on the first base image, a mask image of the to-be-displayed text; and generating the external luminous effect image by subtracting a color value of a pixel in the mask image from a color value of a pixel in the luminous effect image, the pixel in the mask image being at a position corresponding to the pixel in the luminous effect image. 9 . The image processing method according to claim 1 , wherein said determining the transparency of the to-be-displayed character based on the position parameter of the to-be-displayed character in the to-be-displayed text, the time stamp, and the display time parameter of the to-be-displayed text comprises: calculating a first parameter based on the time stamp and the display time parameter of the to-be-displayed text, the first parameter gradually increasing with the time stamp; and setting the to-be-displayed character corresponding to the position parameter greater than the first parameter to have a second transparency; or calculating a second parameter based on the time stamp and the display time parameter of the to-be-displayed text, the second parameter gradually decreasing with the time stamp; and setting the to-be-displayed character corresponding to the position parameter greater than the second parameter to have the second transparency. 10 . The image processing method according to claim 1 , further comprising: generating a plurality of rendering images based on the time stamp, the plurality of rendering images being a plurality of frame images in a video. 11 . The image processing method according to claim 1 , wherein said generating a first base image comprising the to-be-displayed text comprises: typesetting a texture image of the to-be-displayed text based on a predetermined style; and rendering the texture image in an image with a transparent background, wherein the predetermined style is a vertical typesetting or a horizontal typesetting, and wherein the texture image is obtained from a set of character-texture images. 12 . An electronic device, comprising: a memory having non-temporary computer-readable instructions stored thereon; and a processor, wherein the non-temporary computer-readable instructions, when executed by the processor, cause the processor to implement an image processing method, the image processing method comprising: obtaining a to-be-displayed text; generating a first base image comprising the to-be-displayed text; setting, based on a display time parameter of the to-be-displayed text, a transparency of the to-be-displayed text in the first base image to generate a second base image; generating, based on the second base image, a burr effect image of a to-be-displayed character; generating, based on the burr effect image, an external luminous effect image of the to-be-displayed character; obtaining a rendering image by superimposing the burr effect image on the external luminous effect image; and determining a transparency of a to-be-displayed character in the rendering image based on a position parameter of the to-be-displayed character in the to-be-displayed text, a time stamp, and the display time parameter of the to-be-displayed text. 13 . The electronic device according to 12 , wherein said generating the second base image by determining, based on the display time parameter of the to-be-displayed text, the transparency of the to-be-displayed text in the first base image comprises: obtaining the time stamp as a random number seed; obtaining an index value of the to-be-displayed character in the to-be-displayed text; and determining the transparency of the to-be-displayed character by calculating a random number based on
Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title
Energy efficient computing, e.g. low power processors, power management or thermal management · CPC title
Semi-transparency · CPC title
Creating or editing images; Combining images with text · CPC title
Deblurring; Sharpening · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.