Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for positioning characters in image

A positioning method, a technology in images, applied in character and pattern recognition, instruments, computer components, etc., can solve problems such as inaccurate judgment results, unknown background complexity of text areas, and lack of universal applicability, and achieve positioning accurate results

Active Publication Date: 2013-04-17
HUAWEI DEVICE CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the complexity of the background of the text area in the image is unknown, the texture energy of the text area in different images calculated based on the DCT transformation coefficient is also very different. The thresholds are all pre-defined, so when discriminating text regions in multiple different images, the texture energy threshold used for judgment in the prior art does not have universal applicability, resulting in inaccurate judgment results

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
  • Method and device for positioning characters in image
  • Method and device for positioning characters in image
  • Method and device for positioning characters in image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 2A text positioning method in an image provided by this embodiment is shown. Wherein, in this embodiment, when performing DCT transformation on image blocks, firstly, each image block is divided into several sub-blocks, and then the sub-blocks are respectively subjected to DCT transformation. Correspondingly, when calculating the texture energy difference degree value of an image block, also Firstly, the texture energy of each sub-block in the image block is calculated, and then the texture energy difference degree value of the image block is calculated according to the texture energy of each sub-block. Combine below figure 2 This embodiment will be described in detail.

[0043] Such as figure 2 As shown, the text positioning method in the image provided by this embodiment includes:

[0044] Step S201: Divide the image into several image blocks, and then divide each image block into several sub-blocks, perform DCT transformation on each sub-block in each i...

Embodiment 2

[0075] In this embodiment, the specific implementation of the second embodiment is described in detail by taking an image block with a size of 16×16 pixels and a sub-block with a size of 8×8 pixels as an example.

[0076] Such as Figure 5 As shown, the text positioning method in the image provided by this embodiment includes:

[0077] Step S501: Divide the image into image blocks in units of 16x16 pixels, and then divide each 16x16 pixel image block into four sub-blocks of 8x8 pixels. The DCT transformation is performed on the luminance space, Cb space and Cr space of each sub-block of 8x8 pixels. The specific method of DCT transformation can refer to relevant materials, and will not be repeated here. Compared with the prior art, this embodiment comprehensively considers the Cb value and Cr value of luminance information and chromaticity space, which can reflect the information of the image more comprehensively, thereby providing more detailed information for distinguishing ...

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 embodiment of the invention discloses a method and a device for positioning characters in an image. The method comprises the following steps of: dividing an image into image blocks, and performing discrete cosine transform (DCT) on the image blocks to obtain DCT coefficients corresponding to the image blocks; calculating texture energy difference degree values of the image blocks according tothe DCT coefficients corresponding to the image blocks; determining a maximum value of the texture energy difference degree values of the image blocks in the image, and determining a first threshold value according to the maximum value of the texture energy difference degree values of the image blocks; marking the image blocks, the texture energy difference degree values of which are greater thanor equal to the first threshold value, as important image blocks; and determining an area consisting of the important image blocks as a character area. The embodiment of the invention can improve theaccuracy of detecting the character area.

Description

technical field [0001] The invention relates to the field of digital image processing, in particular to a character positioning method and device in an image. Background technique [0002] As a common text information in video images, subtitles are widely used in news, karaoke, movies and other video occasions, and are usually used to describe the important content of the current video image, providing important and concise annotations for people to understand the video, so compared to For video images, subtitle text is more suitable for indexing, so extracting subtitle text from video images can effectively help content-based video image retrieval. [0003] Extracting text from images is mainly an operation of text positioning. Existing text positioning methods include: connected region method and texture classification method. Among them, the connected area method assumes that the color of the text is uniform, and after the color is quantized, the connected area of ​​a s...

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 Patents(China)
IPC IPC(8): G06K9/32
Inventor 赵嵩王静刘源李凯
Owner HUAWEI DEVICE CO LTD