Fixed rate intraframe compression and decompression of video based on visual quality
Abstract
DCT-based methods for fixed bit rate, intraframe compression of video are based on the visual quality of the resulting decompressed imagery. In general, this involves assigning an initial bit budget per macroblock of a given video frame, resulting in degrees of compression, i.e., quantization scale factors, that vary among the macroblocks according to their complexity. The scale factors are then adjusted while maintaining the overall frame bit budget to reduce the visibility of artifacts in the decompressed frame. The adjustments may include increasing scale factors for simple macroblocks and reducing scale factors for complex blocks. As compared to traditional DCT-based compression schemes, the described methods may reduce the visibility of compression-related artifacts both in complex and in simple portions of the frame.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 0.
Claims (5 — 3 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for fixed bit rate, intraframe compression of video, including a sequence of images, comprising, for each image: segmenting the image into n portions, wherein compression parameters are individually adjustable for each of the n portions; transforming each of the portions of the image to generate frequency domain coefficients for each of the portions; selecting a stored quantization matrix for the image based on a desired bit rate for the compressed video; determining an initial bit budget per transformed portion of the image that is equal to a bit budget for the image within the compressed video divided by n; for each transformed portion, determining an initial scale factor that is the smallest scale factor that, when applied to the frequency domain coefficients together with the quantization matrix, results in a bit size of the transformed portion that is equal to or less than the initial bit budget per transformed portion; and generating a bitstream representing the compressed image by: for each transformed portion, scaling the portion's frequency domain coefficients by applying to the portion the initial scale factor determined for that portion together with the quantization matrix; and arranging the scaled frequency domain coefficients in a predetermined sequence and applying variable length coding to the sequence of scaled frequency domain coefficients.
- Claim 2Depends on #1
The method of claim 1, further comprising: ranking the transformed portions in order of their initial scale factors and determining an average of the initial scale factors; proceeding in order of increasing initial scale factor, adjusting downward the initial scale factors of a plurality of transformed portions having initial scale factors greater than the average initial scale factor, wherein the amount of adjustment is a diminishing fraction of a difference between a given transformed portion's initial scale factor and the average initial scale factor; and terminating the adjustment of initial scale factors when adjusting an additional transformed portion would result in a sum of bit sizes of the scaled transformed portions of the image exceeding a bit budget for the image within the compressed video.
- Claim 3Depends on #2
The method of claim 2, further comprising: prior to adjusting downward the initial scale factors of the plurality of transformed portions having initial scale factors greater than the average initial scale factor, for each portion having an initial scale factor below a threshold scale factor, adjusting upward the initial scale factor of the portion, wherein the threshold scale factor is based on the average initial scale factor and a standard deviation of the initial scale factors.
- Claim 4Independent Claim
A computer program product comprising: a non-transitory computer-readable medium with computer-readable instructions encoded thereon, wherein the computer-readable instructions, when processed by a processing device instruct the processing device to perform a method for fixed bit rate, intraframe compression of video, including a sequence of images, the method comprising, for each image: segmenting the image into n portions, wherein compression parameters are individually adjustable for each of the n portions; transforming each of the portions of the image to generate frequency domain coefficients for each of the portions; selecting a stored quantization matrix for the image based on a desired bit rate for the compressed video; determining an initial bit budget per transformed portion of the image that is equal to a bit budget for the image within the compressed video divided by n; for each transformed portion, determining an initial scale factor that is the smallest scale factor that, when applied to the frequency domain coefficients together with the quantization matrix, results in a bit size of the transformed portion that is equal to or less than the initial bit budget per transformed portion; and generating a bitstream representing the compressed image by: for each transformed portion, scaling the portion's frequency domain coefficients by applying to the portion the initial scale factor determined for that portion together with the quantization matrix; and arranging the scaled frequency domain coefficients in a predetermined sequence and applying variable length coding to the sequence of scaled frequency domain coefficients.
- Claim 5Independent Claim
A system comprising: a memory for storing computer-readable instructions; and a processor connected to the memory, wherein the processor, when executing the computer-readable instructions, causes the system to perform a method for fixed bit rate, intraframe compression of video, including a sequence of images, the method comprising, for each image: segmenting the image into n portions, wherein compression parameters are individually adjustable for each of the n portions; transforming each of the portions of the image to generate frequency domain coefficients for each of the portions; selecting a stored quantization matrix for the image based on a desired bit rate for the compressed video; determining an initial bit budget per transformed portion of the image that is equal to a bit budget for the image within the compressed video divided by n; for each transformed portion, determining an initial scale factor that is the smallest scale factor that, when applied to the frequency domain coefficients together with the quantization matrix, results in a bit size of the transformed portion that is equal to or less than the initial bit budget per transformed portion; and generating a bitstream representing the compressed image by: for each transformed portion, scaling the portion's frequency domain coefficients by applying to the portion the initial scale factor determined for that portion together with the quantization matrix; and arranging the scaled frequency domain coefficients in a predetermined sequence and applying variable length coding to the sequence of scaled frequency domain coefficients.
Technical Overview & Description
BACKGROUND Digital data representing motion video is voluminous, and increases as the resolution of video images increases, from SD to HD to 4K/UHD and to 8K/UHD2. Each step multiplies the number of pixels by a factor of four. However, when video is being edited, it is not necessary for the editor to view an image that has the full resolution of the original or finally rendered imagery. In most circumstances, an HD image provides enough visual quality to guide an editor during the editing process. Using such lower-resolution imagery, referred to as a proxy, for editing purposes avoids consuming unnecessary computing resources and bandwidth, as video sources are usually shared from a central server farm and not copied locally. Reduced bandwidth requirements means that more editing clients can be supported with a given infrastructure, increasing cost effectiveness. Thus, with the higher levels of compression required to generate a proxy from the increasingly voluminous original media while still meeting available bandwidth (bitrate) constraints, there is an increased need for methods of generating visually acceptable proxies. Maximal visual quality in relation to bitrate is generally achieved using interframe compression techniques, such as Long Group of Pictures (GOP) compression/decompression (codec) schemes. These can typically provide the same quality as equivalent-quality single frame (intraframe) compression methods at about 10% of the bitrate cost. However, interframe codecs come with severe processing overhead, especially when seeking individual frames and moving rapidly between different locations-both of which are dominant requirements during the editing process. GOP codecs cannot match the performance of intraframe codecs with respect to these requirements. Various intraframe compression techniques have been used to generate proxies. Commonly used techniques employ variations of the (still image) JPEG algorithm, which is based on a combination of a 2D discr
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|