In-Browser Image Perspective Correction via Adaptive 3D and 2D Transforms

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image editing software requires significant hardware resources for perspective correction, making it unsuitable for cloud-based solutions that need to support various device environments and web browsers with different processing capabilities, especially for highly mobile devices with limited processing power.

Innovation Solution

A browser-based image compositing system that allows users to adjust image anchors for perspective correction, utilizing hardware-accelerated 3D transformations when available or falling back to fast 2D approximations, enabling efficient perspective manipulation on a wide range of hardware platforms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If hardware-accelerated 3D perspective transformation is used, then transformation speed is improved, but device compatibility deteriorates

Engineering Contradiction:
Improvetransformation speedVSAvoiddevice compatibility
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The system dynamically selects between 3D perspective transformation (when hardware acceleration is available) and 2D affine transformation (when it is not), allowing the transformation method to adapt to different device capabilities. This dynamic adaptation resolves the contradiction by optimizing for speed when possible while maintaining compatibility when necessary.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the transformation parameter from 3D perspective transformation to 2D affine transformation based on device capabilities. By detecting whether hardware acceleration is available and adjusting the transformation approach accordingly, the system maintains both speed optimization and broad device compatibility.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If 2D affine transformation approximation is used, then device compatibility is improved, but transformation precision deteriorates

Engineering Contradiction:
Improvedevice compatibilityVSAvoidperspective correction precision
Core Design Contradiction:
Adaptability or versatilityVSManufacturing precision

Solution Approach 1:

The system dynamically selects the transformation method based on device capabilities, using 3D perspective transformation when hardware acceleration is available to maintain high precision, and falling back to 2D affine transformation only when necessary for compatibility. This dynamic selection minimizes the precision trade-off.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system transitions between 2D and 3D transformation approaches depending on device capabilities. By utilizing the additional dimension of 3D perspective transformation when hardware allows, the system achieves more accurate perspective correction while maintaining 2D compatibility for devices with limited processing power.

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

3Ease of manufacture

If cloud-based image editing is used, then hardware requirements are reduced, but processing capability deteriorates

Engineering Contradiction:
Improvehardware accessibilityVSAvoidprocessing capability
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The system leverages the device's own hardware capabilities (GPU acceleration when available) to perform transformations locally in the browser, rather than relying entirely on cloud processing. This self-service approach allows cloud-based accessibility while maintaining processing capability by utilizing whatever hardware resources each device provides.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system is designed to work across multiple device types and processing capabilities, from high-performance desktops to mobile devices with limited resources. By implementing both 3D and 2D transformation paths and detecting device capabilities automatically, the system provides universal access to image editing functionality while adapting to each device's processing strength.

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

Data Source

PatentUS10712920B1In-browser image perspective manipulation
Publication Date: 2020.07.14 SHUTTERSTOCK
  • US10712920B1 patent drawing
  • US10712920B1 patent drawing
  • US10712920B1 patent drawing

AI summary

Methods for providing in-browser perspective manipulation are provided. In one aspect, a method includes executing, in a web browser, an image editing application retrieved from a remote server. The method also includes providing for display, in a user interface of the image editing application, a background and an image. The method also includes modifying anchors of the image in response to user input. The method also includes determining an indicator for supporting hardware graphics acceleration in the web browser. When the indicator is true, the method includes calling a 3D perspective transformation function on the image based on the modified anchors. When the indicator is false, the method includes a 2D approximation that divides the image into smaller units for affine transformations, which are then recombined into the transformed image. The method also includes compositing an output image comprising the transformed image in front of the background.