Image Rotation Correction Using Convolutional Neural Network

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image rotation correction methods struggle to accurately correct image rotation, especially in images lacking straight lines or horizon lines, and are not effective for a wide variety of image types, including portraits and landscapes, due to limitations in detecting small rotation angles and relying on human intuition or low-level vision features.

Innovation Solution

A deep neural network architecture utilizing a convolutional neural network with rectangle-shaped depthwise convolutions and an adapted loss function to detect rotation angles and orientations, capable of handling diverse image types by incorporating both classification and regression tasks, and suitable for real-time application on portable devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional image rotation correction methods are used, then the correction process is simple, but the accuracy is poor especially for images without straight lines or horizon lines

Engineering Contradiction:
Improverotation angle detection accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces conventional mechanical/algorithmic line detection methods with a deep neural network system that uses learned features from training data to detect rotation angles, achieving superior accuracy especially for images without clear geometric structures

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent transforms the rotation correction problem from detecting geometric features (lines, horizons) to predicting rotation parameters directly through a neural network that outputs rotation angle and orientation as continuous values, bypassing the need for explicit feature detection

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If deep neural network with rectangle-shaped filters is used, then the accuracy for detecting rotation angles improves, but the computational complexity increases

Engineering Contradiction:
Improverotation angle detection accuracyVSAvoidcomputational power
Core Design Contradiction:
Measurement precisionVSPower

Solution Approach 1:

The patent employs rectangle-shaped depthwise separable convolutions with specific aspect ratios that are locally optimized for detecting line structures and orientation patterns, providing targeted computational efficiency for the specific task of rotation detection rather than generic feature extraction

Inventive Principle:
Principle #3Local quality

3Reliability

If an adapted loss function with multiple terms is used, then the training accuracy and orientation detection improve, but the training complexity increases

Engineering Contradiction:
Improveorientation detection reliabilityVSAvoidloss function complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the orientation detection task into two independent prediction branches: one for rotation angle and one for orientation direction, each optimized with specific loss function terms that address their respective prediction challenges independently

Inventive Principle:
Principle #1Segmentation

4Adaptability or versatility

If conventional methods relying on horizon lines are used, then the system is simple, but it cannot handle diverse image types including portraits and landscapes

Engineering Contradiction:
Improveimage type adaptabilityVSAvoidrotation detection precision
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent creates a universal rotation detection system trained on diverse image types including portraits, landscapes, and architectural photos, enabling the model to generalize across different image categories without requiring horizon lines or straight edges

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11393072B2Methods and systems for automatically correcting image rotation
Publication Date: 2022.07.19 ADOBE INC
  • US11393072B2 patent drawing
  • US11393072B2 patent drawing
  • US11393072B2 patent drawing

AI summary

Systems and methods are disclosed for automatically correcting a rotation of an image. One method comprises receiving an input image to be processed for rotation correction, and providing the input image to a machine learning model configured to predict a rotation angle and an orientation of an image. The machine learning model may comprise a convolutional neural network utilizing one or more rectangle-shaped filters to extract features from the input image. A rotation angle may be determined using a first branch of fully connected layer configured for a regression task of the machine learning model, and an orientation of the image may be determined using a second branch of fully connected layer configured for a classification task of the machine learning model. The input image may then be rotated based on the determined rotation angle and orientation.