Image-text matting method and device in image

A technology of image and graphic text, applied in the field of image processing, can solve the problems of low display accuracy, poor anti-aliasing effect, and inability to extract non-standard art words and color words, etc., to achieve good display effect and improve anti-aliasing The effect of the sawtooth effect

Active Publication Date: 2020-12-18
SHENZHEN LIDING PHOTOELECTRIC TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the existing graphic engine is separated, new pictures with picture content will have poor anti-aliasing effect, and the display accuracy of new pictures with picture content is not high, which will obviously affect the use of new pictures with picture content effects, and the image extraction methods of the existing graphics and text engines generally cannot support non-standard artistic words and colored words (including gradient colored words and colored words with multiple colors, in which, there can be either a colored word in the picture content There can also be multiple colored characters), so that it is not easy to extract or separate the non-standard artistic characters and colored characters, such as the background color is white, the edge of the font in the foreground is black, and the middle is also white , the extracted foreground may appear fully transparent in the middle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image-text matting method and device in image
  • Image-text matting method and device in image
  • Image-text matting method and device in image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] Such as figure 1 As shown, a method for extracting pictures and texts in an image according to an embodiment of the present invention includes the following steps:

[0054] Step S101: draw the first picture of three channels according to the preset first picture drawing strategy.

[0055] The first picture is used as a medium for subsequent image and text extraction, and is generated through a preset first picture drawing strategy. The first picture drawing strategy may ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of picture processing, and particularly discloses a method and device for matting pictures and texts in an image, and the method comprises the steps: drawing a three-channel first picture according to a preset first picture drawing strategy; drawing a second picture of the three channels according to a preset second picture drawing strategy; drawing a third picture of four channels according to a preset third picture drawing strategy; and enabling the pixel points of the first picture, the second picture and the third picture to be in one-to-one correspondence, and resetting each pixel point of the third picture to generate a target picture. According to the invention, the matting of the color image-text is realized, the target picture with semitransparent property is generated, the anti-aliasing effect of the target picture is further improved, and a very good display effect can be achieved when the target picture is superimposed on other pictures or videos; and on the other hand, the method is not limited to cutout of patterns or characters and is not limited to the color effect of images and texts, and the current situation that onlysingle color images and texts can be cutout in the prior art is completely reformed.

Description

technical field [0001] The invention relates to the technical field of picture processing, in particular to a method and device for extracting pictures and texts from an image. Background technique [0002] At this stage, the method of directly integrating the picture content with the video or another picture needs to separate the picture content and the picture background from the picture. The picture content refers to the picture and text in the picture, and the picture background refers to the content other than the picture content. . [0003] In the prior art, the image extraction method of the graphic engine is used to separate the image content and the image background, and a new image with the image content is generated from the image content. However, after the existing graphic engine is separated, new pictures with picture content will have poor anti-aliasing effect, and the display accuracy of new pictures with picture content is not high, which will obviously aff...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/50G06T7/33G06T7/194G06T7/90
CPCG06T5/50G06T2207/10024G06T2207/20221G06T7/194G06T7/33G06T7/90
Inventor 何志民宁一铮
Owner SHENZHEN LIDING PHOTOELECTRIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products