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

Methods for handling files, terminals

A technology for processing files and terminals, applied in image data processing, image enhancement, image analysis, etc., can solve problems such as image pixel loss and seriousness, and achieve the effect of improving experience.

Active Publication Date: 2022-01-28
ZTE CORP
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and a terminal for processing files, so as to at least solve the problem in the related art that the pixel loss of images obtained by scanning or taking pictures of files is relatively serious

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
  • Methods for handling files, terminals
  • Methods for handling files, terminals
  • Methods for handling files, terminals

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] In this embodiment, a method for processing files is provided, figure 1 is a flowchart of a method for processing files according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0034] Step S102: collecting the image data of the file to be processed by using the first light to obtain the color value of the pixel in the first image data of the file to be processed and the first coordinate information of the pixel in the first image data in the first image data;

[0035] Step S104: collecting the image data of the file to be processed by using the second light to obtain the first coordinate information of the pixel in the second image data of the file to be processed;

[0036] Step S106: Adjust the pixel points in the second image data corresponding to the coordinate information of the pixel points in the first image data according to the color values ​​of the pixel points in the first image data.

[0037...

Embodiment approach

[0064] Method 1: Adjust the color value of the pixel point corresponding to the coordinate value other than the coordinate value corresponding to the first layer in the multiple layers in the second image data to the color value corresponding to the first layer in the multiple layers. The color values ​​of the layers are consistent; among them, the first layer is the base color layer of the file to be processed.

[0065] In a specific application scenario, this method can be document restoration: take the array X, calculate the D color average value D0 of the background color layer, and modify the color values ​​​​corresponding to the coordinate values ​​of all annotation layers such as Z1 and Z2 in the array X It is D0, that is, fill the data of layer 1, layer 2 and other comment parts with the color average value of the underlying layer, and get the array A0, then A0 is the restored document. In addition, operations such as character recognition can also be performed.

[00...

Embodiment 2

[0086] In this embodiment, a device for processing files is also provided, and the device is used to implement the above embodiments and preferred implementation modes, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0087] figure 2 is a schematic structural diagram of a device for processing files according to an embodiment of the present invention, such as figure 2 As shown, the device includes:

[0088] The first collection module 22 is configured to collect the image data of the file to be processed by using the first light, and obtain the color value of the pixel in the first image data of the file to be processed and the pixel point of 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

The present invention provides a method and a terminal for processing files, wherein the method includes: collecting image data of the file to be processed through the first light, and obtaining the color value of the pixel in the first image data of the file to be processed and the first image The first coordinate information of the pixel point of the data in the first image data; the image data acquisition of the file to be processed is carried out through the second light, and the first coordinate information of the pixel point in the second image data of the file to be processed is obtained; according to the first image The color value of the pixel in the data is adjusted to the pixel in the second image data corresponding to the coordinate information of the pixel in the first image data. The present invention solves the problem of serious image pixel loss in related technologies obtained by scanning or taking photos of documents, and improves user experience.

Description

technical field [0001] The invention relates to the field of file processing, in particular to a method for processing files and a terminal. Background technique [0002] With more and more terminal functions, people will use terminals in many aspects of daily life, making life quick and convenient. Among them, using software such as evernote and business card scanning to scan documents, take pictures, and identify them is very important. of an item. In the process of using the above-mentioned software, other documents such as books or business cards are often scanned and photographed. [0003] In related technologies, color photos are obtained during the scanning or photographing process, and then directly saved or processed in grayscale, and the color photos are processed into black and white grayscale photos. For the above-mentioned methods in the related art, if there are annotations and traces of scribbles in the scanned or photographed paper documents; in this way, i...

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): G06T5/00
CPCG06T2207/10004G06T5/77G06T5/00G06T2207/10024
Inventor 赵冬晓
Owner ZTE CORP