Adaptive Noise Filter for Video Compression Using Macroblock Variance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video compression systems face challenges in efficiently reducing noise while encoding video streams, as noise shares the same space as valuable picture data and most filtering algorithms add a heavy computational load on encoders.

Innovation Solution

A method and system that divide video streams into macroblocks, determine correlation with reference macroblocks, compare motion vectors, compute residual signal variance, and apply filters of appropriate strength based on correlation and variance to selectively filter noise in the DCT domain.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Object-affected harmful factors

If most filtering algorithms are applied to reduce noise, then noise suppression is improved, but computational load on encoder increases heavily

Engineering Contradiction:
Improvenoise levelVSAvoidcomputational load
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The video stream is divided into macroblocks, and each macroblock is further segmented into 4x4 pixel groups. This segmentation allows the filtering operation to be applied locally to small regions rather than globally, reducing the computational complexity from O(N²) to O(N) where N is the total number of pixels. The patent applies motion compensation and filtering at the 4x4 block level within each macroblock, achieving noise reduction with manageable computational requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different filtering strengths to different macroblocks based on their local characteristics. By calculating motion vector differences and residual signal statistics for each macroblock, the system adaptively determines the appropriate filter strength (strong, medium, or weak) for each region. This local adaptation allows aggressive filtering in noisy flat regions while preserving details in high-activity areas, optimizing the trade-off between noise suppression and quality.

Inventive Principle:
Principle #3Local quality

2Object-affected harmful factors

If strong filtering is applied to suppress noise, then noise reduction is improved, but image details and edges may be blurred or lost

Engineering Contradiction:
Improvenoise levelVSAvoidimage detail fidelity
Core Design Contradiction:
Object-affected harmful factorsVSManufacturing precision

Solution Approach 1:

The patent implements adaptive filtering strength selection for each macroblock based on local image characteristics. By analyzing motion vector differences and residual signal statistics, the system assigns strong filtering only to macroblocks with low motion activity and flat regions, while applying weak or no filtering to macroblocks containing edges, textures, or high motion. This local differentiation preserves image details and edges while effectively reducing noise in suitable regions.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The filtering strength is dynamically adjusted for each macroblock rather than applying a uniform filter strength to the entire frame. The system calculates motion-based metrics and residual statistics in real-time during encoding, then adapts the filter strength accordingly. This dynamic adaptation allows the filter to respond to local image characteristics, preserving edges and details while suppressing noise where appropriate.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS7920628B2Noise filter for video compression
Publication Date: 2011.04.05 AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LTD
  • US7920628B2 patent drawing
  • US7920628B2 patent drawing
  • US7920628B2 patent drawing

AI summary

A method and system for reducing noise in a video stream comprising images divided into macroblocks, where each macroblock includes luma and chroma blocks and each block is comprised of pixels. The method comprises determining correlation of a macroblock with a reference macroblock, comparing its motion vectors to a predetermined threshold, computing a residual signal of the macroblock by subtracting the macroblock from a predicted macroblock, computing a variance of a residual signal of the macroblock, comparing the variance of the residual signal to another predetermined threshold, determining a filter strength for the macroblock based on one or more of factors such as correlation, motion vector size and variance of the residual signal and filtering the macroblock using a filter of appropriate strength.