Processing

Please wait...

Settings

Settings

Goto Application

1. WO2022160915 - TEXT ILLUMINATION EFFECT PROCESSING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM

Publication Number WO/2022/160915
Publication Date 04.08.2022
International Application No. PCT/CN2021/133880
International Filing Date 29.11.2021
IPC
G06T 3/00 2006.1
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
3Geometric image transformation in the plane of the image
CPC
G06T 11/60
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
112D [Two Dimensional] image generation
60Editing figures and text; Combining figures or text
G06T 3/00
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
3Geometric image transformation in the plane of the image
Applicants
  • 北京字跳网络技术有限公司 BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD. [CN]/[CN]
Inventors
  • 徐力有 XU, Liyou
  • 赵陈翔 ZHAO, Chenxiang
Agents
  • 北京信远达知识产权代理有限公司 SINOTALEN ATTORNEYS AT LAW
Priority Data
202110121063.228.01.2021CN
Publication Language Chinese (zh)
Filing Language Chinese (ZH)
Designated States
Title
(EN) TEXT ILLUMINATION EFFECT PROCESSING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
(FR) PROCÉDÉ DE TRAITEMENT D'EFFET D'ÉCLAIRAGE DE TEXTE, APPAREIL, DISPOSITIF ET SUPPORT DE STOCKAGE
(ZH) 一种文字的发光效果处理方法、装置、设备及存储介质
Abstract
(EN) Provided in the present disclosure are a text illumination effect processing method, an apparatus, a device, and a storage medium. The method comprises: first, determining a pixel point having a distance field value in a signed distance field image of target text that is within a preset value range as a target pixel point corresponding to the target text; then, determining a color transparency value corresponding to the target pixel point on the basis of the distance field value of the target pixel point, the absolute value of the distance field value of the target pixel point being inversely proportional to the color transparency value; and last, rendering an illumination effect image corresponding to the target text on the basis of the color transparency value corresponding to the target pixel point. A color transparency value of a pixel point is determined on the basis of an inversely proportional relationship between the absolute value of a distance field value of the pixel point and the color transparency value, causing the color transparency of a pixel point further away from an outline of text to be lower, and the color transparency of a pixel point closer to the outline of the text to be higher, implementing a text illumination effect, and satisfying an effect processing requirement for text of a user.
(FR) La présente divulgation concerne un procédé de traitement d'effet d'éclairage de texte, un appareil, un dispositif et un support de stockage. Le procédé consiste à : tout d'abord, déterminer un point de pixel ayant une valeur de champ de distance dans une image de champ de distance signée de texte cible qui se trouve à l'intérieur d'une plage de valeurs prédéfinie en tant que point de pixel cible correspondant au texte cible ; puis, déterminer une valeur de transparence de couleur correspondant au point de pixel cible sur la base de la valeur de champ de distance du point de pixel cible, la valeur absolue de la valeur de champ de distance du point de pixel cible étant inversement proportionnelle à la valeur de transparence de couleur ; et enfin, effectuer le rendu d'une image à effet d'éclairage correspondant au texte cible sur la base de la valeur de transparence de couleur correspondant au point de pixel cible. Une valeur de transparence de couleur d'un point de pixel est déterminée sur la base d'une relation inversement proportionnelle entre la valeur absolue d'une valeur de champ de distance du point de pixel et la valeur de transparence de couleur, ce qui amène la transparence de couleur d'un point de pixel plus loin qu'un contour de texte à être inférieure, et la transparence de couleur d'un point de pixel plus proche du contour du texte à à supérieure, ce qui met en œuvre un effet d'éclairage de texte, et satisfait une exigence de traitement d'effet pour le texte d'un utilisateur.
(ZH) 本公开提供了一种文字的发光效果处理方法、装置、设备及存储介质,所述方法包括:首先,将目标文字的有向距离场图像中距离场值属于预设数值范围的像素点,确定为目标文字对应的目标像素点。然后,基于目标像素点的距离场值,确定目标像素点对应的颜色透明度值;目标像素点的距离场值的绝对值与所述颜色透明度值之间成反比关系。最终,基于目标像素点对应的颜色透明度值,绘制目标文字对应的发光效果图像。本公开基于像素点的距离场值的绝对值与颜色透明度值的反比关系,确定像素点的颜色透明度值,使得距离文字轮廓越远的像素点的颜色透明度越低,距离文字轮廓越近的像素点的颜色透明度越高,实现文字发光的效果,满足用户对文字的效果处理需求。
Related patent documents
Latest bibliographic data on file with the International Bureau