Streaming Image Scaling Structure for CPU-Free AI Preprocessing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The use of CPU for resizing images in traditional calculation architectures leads to high resource occupation and reduced end-to-end performance of AI systems, increasing calculation time and affecting overall efficiency.

Innovation Solution

An image size adjustment structure and method based on a streaming architecture, utilizing multiplication and addition operation units with data registering and selection units, allows image data to flow through these units sequentially, bypassing CPU calculations and employing bilinear or cubic interpolation algorithms for efficient scaling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If CPU is used to resize images in traditional calculation architecture, then image resizing can be performed, but CPU resources are heavily occupied and calculation time increases

Engineering Contradiction:
Improveimage resizing speedVSAvoidcalculation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces the traditional CPU-based image resizing mechanism with a dedicated hardware resizing unit that implements interpolation algorithms (bilinear or cubic) in hardware. This substitution moves the resizing function from software execution on a general-purpose processor to specialized hardware circuitry, enabling parallel computation and significantly reducing calculation time while improving productivity.

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

2Productivity

If CPU is used for image resizing, then image scaling can be achieved, but overall AI system performance is reduced due to high resource occupation

Engineering Contradiction:
Improveimage processing throughputVSAvoidsystem resource usage
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the AI system into distinct functional modules: a dedicated image resizing unit with multiplication and addition operation units for scaling operations, and the neural network processing unit. This segmentation allows the resizing function to be handled by specialized hardware, reducing CPU resource occupation and enabling the main processor to focus on neural network computations, thereby improving overall system productivity without excessive complexity.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If traditional calculation architecture is used, then existing systems can maintain compatibility, but end-to-end efficiency of streaming architecture AI chip is reduced

Engineering Contradiction:
Improvesystem compatibilityVSAvoidend-to-end efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces an intermediary image resizing unit that acts as a bridge between the streaming architecture AI chip and the neural network processing unit. This intermediary component handles preprocessing of image data through hardware-accelerated resizing operations, ensuring compatibility with various input formats while optimizing data flow efficiency for the streaming architecture, thereby improving end-to-end productivity without sacrificing adaptability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12572998B2Image size adjustment structure, adjustment method, and image scaling method and device based on streaming architecture
Publication Date: 2026.03.10 SHENZHEN CORERAIN TECH CO LTD
  • US12572998B2 patent drawing
  • US12572998B2 patent drawing
  • US12572998B2 patent drawing

AI summary

The present application discloses an image size adjustment structure, an adjustment method, and an image scaling method and device based on a streaming architecture. The image size adjustment structure includes: a first multiplication operation unit, a second multiplication operation unit, a first data registering unit, a second data registering unit, a first addition operation unit and a second addition operation unit, and the input and output ports of each unit are connected according to the specified data flowing direction. It realizes the fast calculation of image data and relieves the calculation pressure of CPU.