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

Deflection correction method for paper outline

A skew correction and contour technology, applied in the field of image processing, can solve problems such as rough paper and related solutions cannot be solved well, and achieve the effect of improving image processing efficiency

Inactive Publication Date: 2020-05-19
宁波华高信息科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional solution, relying on the mechanical structure to ensure the scanning angle of the paper, but can only solve the problem of paper skew relatively roughly. For mechanical failure paper skew or higher-precision pixel-level skew correction, related solutions cannot solve it well.

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
  • Deflection correction method for paper outline
  • Deflection correction method for paper outline
  • Deflection correction method for paper outline

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] see figure 1 , figure 2 As shown, the present invention provides a skew correction method of paper outline, comprising the following steps:

[0024] S1: Acquire the scanned image of the paper;

[0025] In this embodiment, step S1a is further included after acquiring the scanned image in step S1: judging whether the scanned image is a color image, if yes, proceed to step S2, and if not, proceed to step S3. The judgment logic of the color map here can be judged according to the number of channels.

[0026] S2: Perform grayscale processing on the scanned image to obtain a grayscale image;

[0027] In this embodiment, the grayscale processing in step S2 includes: the scanned image is a color image, and the color image is subjected to maximum grayscale processing, and each pixel of the acquired grayscale image is the RGB maximum value of the corresponding pixel in the color image . In order to more effectively retain image paper information and adapt to some color imag...

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 discloses a skew correction method for a paper contour. The skew correction method comprises the following steps: S1, acquiring a scanning image of paper; S2, performing graying processing on the scanned image to obtain a grayscale image; S3, performing binary conversion on the grayscale image to obtain a binary image; S4, performing contour extraction on the binary image to obtain acontour of the binary image; S5, calculating the minimum bounding rectangle of the extracted contour; S6, affine transformation is conducted on the scanned image according to the minimum enclosing rectangle, and the corrected image is obtained. The paper contour is positioned by using the minimum enclosing rectangle, the influence of some incomplete and special-shaped paper on paper contour positioning can be effectively avoided, affine transformation processing is used after contour extraction, deviation rectification and cutting can be performed on the scanned image at the same time, the image processing efficiency is improved, and the high-quality and corrected scanned image can be rapidly acquired.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a skew detection and deviation correction method for paper outlines. Background technique [0002] When scanning paper with a scanner, the outline of the paper is often skewed. With the continuous development of digital applications, images scanned by scanners are not only used for image data storage, but also for extended applications such as image information identification, extraction, and modification. A skewed paper image may adversely affect the accuracy and efficiency of the extended application, so we need to detect the skew of the scanned paper image and perform skew correction. [0003] In the traditional solution, relying on the mechanical structure to ensure the scanning angle of the paper, but can only solve the paper skew problem relatively roughly. For the paper skew caused by mechanical failure or higher-precision pixel-level skew correction, related sol...

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): G06K9/32G06K9/38G06K9/46
CPCG06V10/242G06V10/28G06V10/44
Inventor 刘丁维罗颖
Owner 宁波华高信息科技有限公司