Perceptual preprocessing filter for viewing-conditions-aware video coding
First Claim
1. A method comprising:
- determining a frame of luminance data from an input image having a plurality of pixels, wherein the input image corresponds to a current video frame of a video stream;
generating black-level adjusted luminance pixel data based on the luminance data and a contrast ratio;
performing temporal stabilization of the black-level adjusted luminance pixel data, wherein performing the temporal stabilization comprises;
performing spatial de-noising of the black-level adjusted luminance pixel data at least in part by applying a median filter to the black-level adjusted luminance pixel data;
generating a difference image between the median-filtered current video frame and a past median-filtered video frame of the video stream; and
applying a Gaussian filter to the difference image, wherein a length of the Gaussian filter is determined based on at least one of a viewing distance and a display pixel density;
determining a respective localized contrast sensitivity for each pixel based on the corresponding temporally-stabilized black-level adjusted luminance pixel data;
selecting a respective filter bandwidth for each pixel based at least in part on the respective localized contrast sensitivity of the pixel;
generating a filtered video frame by filtering each pixel according to the respective selected filter bandwidth of the pixel; and
providing the filtered video frame to a video encoder.
2 Assignments
0 Petitions
Accused Products
Abstract
A perceptual filter may be implemented to filter one or more spatial frequencies from a video signal that are below a contrast sensitivity limit of a viewer of the video signal. The perceptual filter may be configured to adapt one or more perceptual filter parameters on a pixel-basis based on, for example, content, viewing distance, display density, contrast ratio, display luminance, background luminance, and/or age of the viewer. A spatial cutoff frequency of the perceptual filter may be mapped to a contrast sensitivity. The perceptual filter may be used as a preprocessing step for a video encoder so as to lower an encoded bitrate. Temporal filtering of the video frames may be used to maintain continuity of a spatial cutoff frequency to ensure the perceptual filtering effects are not identified as motion by a video encoder, and the temporal filtering may be restricted to static areas of a frame.
-
Citations
14 Claims
-
1. A method comprising:
-
determining a frame of luminance data from an input image having a plurality of pixels, wherein the input image corresponds to a current video frame of a video stream; generating black-level adjusted luminance pixel data based on the luminance data and a contrast ratio; performing temporal stabilization of the black-level adjusted luminance pixel data, wherein performing the temporal stabilization comprises; performing spatial de-noising of the black-level adjusted luminance pixel data at least in part by applying a median filter to the black-level adjusted luminance pixel data; generating a difference image between the median-filtered current video frame and a past median-filtered video frame of the video stream; and applying a Gaussian filter to the difference image, wherein a length of the Gaussian filter is determined based on at least one of a viewing distance and a display pixel density; determining a respective localized contrast sensitivity for each pixel based on the corresponding temporally-stabilized black-level adjusted luminance pixel data; selecting a respective filter bandwidth for each pixel based at least in part on the respective localized contrast sensitivity of the pixel; generating a filtered video frame by filtering each pixel according to the respective selected filter bandwidth of the pixel; and providing the filtered video frame to a video encoder. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A video filtering device comprising:
-
a communication interface; a processor; and data storage containing instructions executable by the processor for causing the video filtering device to carry out a set of functions, the set of functions comprising; determining a frame of luminance data from an input image having a plurality of pixels, wherein the input image corresponds to a current video frame of a video stream; generating black-level adjusted luminance pixel data based on the luminance data and a contrast ratio; performing temporal stabilization of the black-level adjusted luminance pixel data, wherein performing the temporal stabilization comprises; performing spatial de-noising of the black-level adjusted luminance pixel data, wherein performing the spatial de-noising comprises applying a median filter to the black-level adjusted luminance pixel data; generating a difference image between the median-filtered current video frame and a past median-filtered video frame of the video stream; and applying a Gaussian filter to the difference image, wherein a length of the Gaussian filter is determined based on at least one of a viewing distance and a display pixel density; determining a respective localized contrast sensitivity for each pixel based on the corresponding temporally-stabilized black-level adjusted luminance pixel data; selecting a respective filter bandwidth for each pixel based at least in part on the respective localized contrast sensitivity of the pixel; generating a filtered video frame by filtering each pixel according to the respective selected filter bandwidth of the pixel; and providing the filtered video frame to a video encoder.
-
-
14. A method comprising:
-
determining a frame of luminance data from an input image having a plurality of pixels, wherein the input image corresponds to a current video frame of a video stream; generating black-level adjusted luminance pixel data based on the luminance data and a contrast ratio; performing temporal stabilization of the black-level adjusted luminance pixel data, wherein performing the temporal stabilization comprises; performing spatial de-noising of the black-level adjusted luminance pixel data, wherein performing the spatial de-noising comprises applying a median filter to the black-level adjusted luminance pixel data; generating a difference image between the median-filtered current video frame and a past median-filtered video frame of the video stream; and applying a Gaussian filter to the difference image, wherein a length N of the Gaussian filter is determined based on a ratio of pixels to cycles according to;
-
Specification