Text Image Correction via Global and Local Adjustment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In the process of converting paper files to electronic text images, text images often become inclined, leading to inaccuracies in analysis such as text recognition, necessitating correction to ensure accurate storage and transmission of information.

Innovation Solution

An image processing method that involves global correction followed by local adjustment, where character row lower boundaries are determined, and local adjustment offsets are calculated based on these boundaries and retention coefficients to correct the text image, ensuring accurate alignment and recognition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If only global correction processing is performed on the input image, then the overall inclination of the text image is corrected, but local irregularities and deformations in character rows remain uncorrected

Engineering Contradiction:
Improvecorrection precisionVSAvoidprocessing complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent divides the correction process into two distinct stages: global correction processing to handle overall image inclination, and local adjustment processing to correct individual character row deformations. This segmentation allows each stage to focus on specific correction tasks, improving overall precision without requiring an overly complex single-stage system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local adjustment processing that targets specific character rows with irregularities rather than uniformly processing the entire image. By identifying character rows that deviate from the reference line and applying retention coefficients selectively, the system achieves high correction precision for problematic areas while maintaining efficiency.

Inventive Principle:
Principle #3Local quality

2Measurement precision

If local adjustment processing is added to global correction, then correction accuracy for character rows is improved, but processing time and computational load increase

Engineering Contradiction:
Improvealignment accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs global correction processing first to establish a baseline corrected image and reference line. This preliminary action prepares the image for subsequent local adjustments by removing major inclinations, allowing the local adjustment stage to focus only on residual deformations, thereby reducing overall processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies local adjustment processing selectively to character rows that exhibit irregularities rather than uniformly processing all character rows. By using retention coefficients to identify and target only problematic areas, the system achieves high alignment accuracy while minimizing unnecessary computational overhead.

Inventive Principle:
Principle #16Partial or excessive action

3Manufacturing precision

If character row lower boundaries are determined and local adjustment offsets are calculated for each row, then individual character row deformations are corrected, but the processing complexity increases

Engineering Contradiction:
Improverow-level correction precisionVSAvoidalgorithm complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent introduces character row lower boundaries and reference lines as intermediary elements that facilitate the correction process. These intermediaries serve as mediators between the global correction stage and local adjustment stage, enabling systematic calculation of adjustment offsets while maintaining algorithmic efficiency through structured computation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transitions from analyzing character rows in the original image coordinate system to using a reference line-based coordinate system established during global correction. This dimensional transformation simplifies the calculation of local adjustment offsets by providing a standardized reference framework, reducing algorithmic complexity.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS11610291B2Image processing method, image processing device, electronic device and storage medium
Publication Date: 2023.03.21 HANGZHOU GLORITY SOFTWARE LTD
  • US11610291B2 patent drawing
  • US11610291B2 patent drawing
  • US11610291B2 patent drawing

AI summary

An image processing method, an image processing device, an electronic device, and a non-transitory computer readable storage medium are provided. The image processing method includes: obtaining an input image which includes M character rows; performing global correction processing on the input image to obtain an intermediate corrected image; determining the M character row lower boundaries corresponding to the M character rows according to the intermediate corrected image; and determining the local adjustment reference line and M retention coefficient groups based on the intermediate corrected image and the M character row lower boundaries; determining M local adjustment offset groups corresponding to the M character rows according to the M character row lower boundaries, the local adjustment reference line and the M retention coefficient groups; performing local adjustment on the M character rows in the intermediate corrected image according to the M local adjustment offset groups to obtain the target corrected image.