主权项 |
1. A method for compressing a video stream comprising:
receiving one or more region-of-interest maps which define one or more regions of interest across corresponding video frames of the video stream; applying, for each video frame, a first spatial filter to a first set of pixels of the video frame to generate a first set of filtered pixel values, and applying a second spatial filter to a second set of pixels of the video frame to generate a second set of filtered pixel values, wherein the first spatial filter reduces an amount of high spatial frequency energy in the pixels and the second spatial filter reduces a greater amount of high spatial frequency energy in pixels than the first spatial filter; forming, for each video frame, a filtered video frame comprising a plurality of filtered pixel values, each of said filtered pixel values of the filtered video frame being derived based on: (a) a value in a corresponding location of the one or more reaction-of-interest maps corresponding to the video frame, and (b) a filtered pixel value in a corresponding location from at least one of the first set and second set of filtered pixel values; forming a spatially filtered video stream comprising each of the filtered video frames; and providing the spatially filtered video stream to a standard video encoder for encoding the spatially filtered video stream, wherein the standard video encoder automatically assigns fewer bits to regions with less high spatial frequency energy and more bits to regions with greater higher spatial frequency energy. |