Linear Video Compositing for Accurate Effect Color Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video processing methods result in color deviations between the original video and added virtual effects, leading to insufficient color accuracy in the generated effect video.

Innovation Solution

A method involving decoding non-linear video frames to linear frames, aligning the color space of effect resources with the video frames, and fusing them to generate accurate linear effect videos, followed by encoding for display or storage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If non-linear video frames are processed directly with effect resources, then processing speed is maintained, but color accuracy deteriorates due to color space inconsistency

Engineering Contradiction:
Improvecolor accuracyVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by converting non-linear video frames to linear color space before performing effect processing. This preliminary conversion ensures that all subsequent processing operations occur in a unified linear color space, guaranteeing color accuracy. The conversion is performed upfront using gamma correction or HDR-to-SDR conversion, so that when effects are applied, no color space mismatches occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent utilizes parameter changes by transforming the color space representation from non-linear (gamma-encoded) to linear through mathematical conversion functions. This parameter transformation changes the underlying data representation of pixel values, enabling accurate color mixing and compositing operations. The conversion modifies the numerical parameters of color values to reflect physical light intensity relationships.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If video frames are converted to linear color space for processing, then color accuracy is improved, but processing time increases

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

Solution Approach 1:

The conversion to linear color space is performed as a preliminary step before effect processing, allowing the system to work efficiently in the linear space without repeated conversions during effect application. This upfront conversion consolidates the time cost to a single operation rather than multiple operations throughout the processing pipeline.

Inventive Principle:
Principle #10Preliminary action

3Stability of the object's composition

If effect resources are processed to match video color space, then color consistency is improved, but device complexity increases

Engineering Contradiction:
Improvecolor consistencyVSAvoidprocessing complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by converting effect resources from their native non-linear color space to linear color space, matching the video frame representation. This parameter transformation ensures that all color values (both video and effects) are expressed in the same linear space, enabling accurate color blending and compositing operations without color space mismatches.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12574567B2Video processing method and apparatus, device, and medium
Publication Date: 2026.03.10 BEIJING ZITIAO NETWORK TECH CO LTD
  • US12574567B2 patent drawing
  • US12574567B2 patent drawing
  • US12574567B2 patent drawing

AI summary

A video processing method and apparatus, a device and a medium are provided. The video processing method includes: decoding a non-linear video to acquire a corresponding non-linear video frame; processing the non-linear video frame to generate a corresponding linear video frame; acquiring a target linear effect resource having a color space consistent with a color space adopted by the linear video frame; and fusing the linear video frame and the target linear effect resource to generate a linear effect video frame. The color accuracy of the generated linear effect video frame is ensured, the added effect resource is more natural and the realism of the generated linear effect video frame is improved.