Image Rectification via Homographic Transform and Edge Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Image distortion occurs when capturing rectangular objects at bad viewing angles, resulting in distorted quadrangles and unclear content in photos, making it difficult to read or recognize information.

Innovation Solution

An image rectification method using edge detection with the Canny filter, Hough transform to identify lines, selecting a candidate quadrangle, obtaining a homographic transform matrix to rectify the image, and enhancing the image quality through bilinear interpolation and gamma transformation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If photo is taken at bad viewing angle, then capturing rectangular objects is possible, but image distortion occurs and rectangle looks like distorted quadrangle

Engineering Contradiction:
Improvecapturing capabilityVSAvoidgeometric distortion
Core Design Contradiction:
Adaptability or versatilityVSShape

Solution Approach 1:

The patent performs preliminary actions by detecting edges and identifying quadrilateral regions before the actual rectification. The system pre-processes the image to locate corner points and extract geometric information, which are then used to calculate the transformation matrix for rectifying the distorted quadrangle to a rectangle.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies parameter changes by using homographic transformation to modify the geometric parameters of the image. The transformation matrix changes the coordinate system and geometric relationships, converting the distorted quadrangle shape into a perfect rectangle while preserving the content's structural information.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If photo is taken far away from normal line of rectangle object, then capturing is possible, but parts of image far away are too small to be identified

Engineering Contradiction:
Improvecapturing capabilityVSAvoidimage detail recognition
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The system performs preliminary edge detection and quadrangle identification to understand the geometric structure before rectification. This pre-processing allows the system to correctly identify and focus on the relevant regions, ensuring that after rectification, all parts of the image maintain appropriate size and detail for recognition.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The homographic transformation changes the geometric parameters of the image to correct the distortion caused by poor viewing angles. This parameter transformation restores the proper size and shape relationships, making all parts of the captured content identifiable and recognizable after rectification.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If photo is taken at bad viewing angle, then capturing is possible, but image becomes blurred and contents are not clear

Engineering Contradiction:
Improvecapturing capabilityVSAvoidimage clarity
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The patent performs preliminary edge detection using algorithms like Canny or Sobel to identify the quadrilateral boundaries before rectification. This pre-processing step helps in accurately determining the transformation parameters, which in turn enables precise rectification that restores image clarity and sharpness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The homographic transformation changes the geometric parameters to correct perspective distortion. This parameter modification restores the proper geometric relationships and sharpness of the image content, converting blurred distorted images into clear rectangular representations.

Inventive Principle:
Principle #35Parameter changes

4Difficulty of detecting and measuring

If multiple lines are detected by Hough transform, then quadrangle identification is possible, but selecting correct candidate quadrangle becomes complex

Engineering Contradiction:
Improveline detection capabilityVSAvoidquadrangle selection complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The patent segments the detected lines into potential quadrilateral candidates by grouping lines that intersect to form four-corner structures. This segmentation approach organizes the complex set of detected lines into manageable candidate quadrangles, making the selection process more systematic and less complex.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies local quality assessment to evaluate and compare candidate quadrangles based on their geometric properties, such as corner sharpness, line straightness, and overall structural validity. This localized evaluation enables the system to select the most appropriate quadrangle candidate efficiently.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8503813B2Image rectification method
Publication Date: 2013.08.06 ARCSOFT CORP LTD
  • US8503813B2 patent drawing
  • US8503813B2 patent drawing
  • US8503813B2 patent drawing

AI summary

An image rectification method includes the steps of: detecting edges in an image by using a Canny filter; performing Hough transform on the edges to detect lines in the image; selecting a candidate quadrangle from quadrangles formed by the detected lines; obtaining a transform matrix for transforming the candidate quadrangle to a rectangle by homographic transform; rectifying the image by using the transform matrix; and enhancing the rectified image.