Patent ID: 9749659
Date: 2017-08-29
CPC Classifications: H04N

Claim:
1. A method comprising: loading digital video data into a computer memory; analyzing, by a computer, an input image comprising a portion of the digital video data, wherein the analyzing includes identifying pixels with code-values within allowable limits by no more than a first defined non-zero number of luma code-values or by no more than a second defined non-zero number of chroma code-values; defining at least one region-of-interest within the input image based on containing the pixels having the code-values identified by the analyzing the input image, wherein defining the at least one region-of-interest includes creating a data set comprising bits each corresponding to one or more respective pixels of the input image; setting the bits of the data set in response to said analyzing, wherein each of the bits indicates whether or not a corresponding pixel of the input image is within the allowable limits by no more than the first defined non-zero number of luma code-values or by no more than the second defined non-zero number of chroma code-values; encoding the input image with higher precision in areas corresponding to the defined region-of-interest than in areas not corresponding to the defined region-of-interest using a compression method to provide compressed image data; repeating the analyzing, defining, and encoding on successive portions of the video data, wherein the portions are converted into compressed video data; and providing the compressed video data in a computer-readable medium.