An image processing method and device

An image processing and image technology, which is applied in image data processing, image analysis, instruments, etc., can solve problems such as over-processing and loss of content in images, to avoid partial loss of content, improve the quality of background removal, and avoid over-processing problems Effect

Active Publication Date: 2019-05-07
ZHUHAI PANTUM ELECTRONICS
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiment of the present invention provides an image processing method and device to solve the problem of excessive processing caused by uniform background removal processing on the entire image in the prior art, and the resulting partial loss of content in the image The problem

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
  • An image processing method and device
  • An image processing method and device
  • An image processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0101] The embodiment of the present invention provides an image processing method, please refer to figure 1 , which is a schematic flowchart of Embodiment 1 of the image processing method provided by the embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:

[0102] S101. Divide an image to be processed into at least two data blocks.

[0103] It should be noted that in the embodiment of the present invention, the image to be processed is an image that needs to be processed by printing, faxing, scanning, and copying, and may include but not limited to various certificates, documents, photos, tickets, etc. This is not particularly limited.

[0104] Specifically, dividing the entire image to be processed into at least two data blocks is to perform background removal processing on each data block.

[0105] In a specific implementation process, the embodiment of the present invention does not specifically limit the specific...

Embodiment 2

[0119] Based on the image processing method provided by the first embodiment above, the embodiment of the present invention specifically describes the implementation of "recognize each data block to obtain the recognition result of each data block" in S102.

[0120] Specifically, in the embodiment of the present invention, each data block is identified to obtain the identification result of each data block, which may include but not limited to the following two implementations:

[0121] Method 1: Obtain the average value of the pixel values ​​of the pixels in each data block, and then obtain each data according to the pixel values ​​of the pixels in each data block and the average value of the pixel values ​​of the pixels in each data block The number of target pixels in the block, and then compare the number of target pixels in each data block with the preset number threshold, and then identify the data block whose number of target pixels is less than or equal to the number th...

Embodiment 3

[0132] Based on the image processing method provided by the first embodiment above, the embodiment of the present invention specifically describes the implementation of "obtaining the background removal threshold of each data block according to the recognition result of each data block" in S103.

[0133] Specifically, in the embodiment of the present invention, the background removal threshold of each data block is obtained according to the identification result of each data block, which may include but not limited to the following four implementations:

[0134] Method A: If the data block is a background data block, the background removal threshold of the background data block can be obtained by formula (2):

[0135]

[0136] Among them, C N is the background removal threshold of the data block, N is the processing sequence number of the data block in at least two data blocks, M is the processing sequence number of the data block in the background data block, C N-1 is the...

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

Embodiments of the present invention provide an image processing method and apparatus. In one aspect, the embodiments of the present invention relate to dividing an image to be processed into at least two data blocks, and then identifying each data block to obtain the identification result of each data block, the identification result of each data block comprising the data block being a content data block or the data block being a background data block; obtaining a background removal threshold of each data block according to the identification result of each data block; and removing the background of each data block according to the background removal threshold of each data block. Therefore, the technical solution provided by the embodiments of the present invention can solve the problems in the prior art of over-processing and partial loss of image content caused thereby due to unified background removal of an entire image.

Description

【Technical field】 [0001] The present invention relates to the technical field of image processing, in particular to an image processing method and device. 【Background technique】 [0002] Nowadays, users often need to print, fax, scan and copy various certificates, documents, photos, etc., and the obtained images such as prints, faxes, scans and copies often have high Image quality requirements. [0003] Since most images contain content and background parts, and the background part in the image is unnecessary, and the existence of the background part will interfere with the recognition of the content part in the process of printing, faxing, scanning and copying, resulting in , faxes, scans, copies, etc. have poor image quality. [0004] In order to solve the above problems, in the prior art, a unified background removal process is performed on the entire image. That is, for the entire image, a fixed background removal threshold is set, and a uniform background removal pro...

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): G06T7/13
CPCG06T7/00
Inventor 马杨晓
Owner ZHUHAI PANTUM ELECTRONICS
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