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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com