Method and apparatus for compressing and decompressing color video data with an anti-aliasing mode
First Claim
Patent Images
1. A method for compressing digital video color data comprising the steps of:
- considering the video data in blocks of n×
n pixels;
determining two diverse colors for each of said blocks by examining the n2 pixels in each of said blocks;
determining if the difference in said two diverse colors for each of said blocks is greater than a first threshold value, andif said difference is greater than said first threshold value, representing said block with four colors and a 2 n×
n bitmap, two of said four colors being intermediate colors calculated from said two diverse colors, said bitmap for selecting among said four colors,if said difference is less than said first threshold value, representing said block as one color.
2 Assignments
0 Petitions
Accused Products
Abstract
An adaptive compression/decompression method for color video data with an anti-aliasing mode. 4×4 blocks of pixel data are examined to determine which one of four compression techniques should be used on each block. User settable thresholds can be used to shift the types of compression used. Highest compression is obtained when more data is stored in run length blocks of single colors and lowest compression when more data is stored as two colors with a 32-bit bitmap for each 4×4 block. One type of compression used provides anti-aliasing.
-
Citations
26 Claims
-
1. A method for compressing digital video color data comprising the steps of:
-
considering the video data in blocks of n×
n pixels;determining two diverse colors for each of said blocks by examining the n2 pixels in each of said blocks; determining if the difference in said two diverse colors for each of said blocks is greater than a first threshold value, and if said difference is greater than said first threshold value, representing said block with four colors and a 2 n×
n bitmap, two of said four colors being intermediate colors calculated from said two diverse colors, said bitmap for selecting among said four colors,if said difference is less than said first threshold value, representing said block as one color. - View Dependent Claims (2, 3)
-
-
4. A method for compressing digital video color data comprising the steps of:
-
considering the video data in blocks of n×
n pixels;determining two diverse colors for each of said blocks by examining the n2 pixels in each of said blocks; comparing the difference in said two diverse colors for each of said blocks with a threshold value; if said difference is greater than said threshold value, computing two intermediate colors from said diverse colors and computing a 2 n×
n bitmap said 2 n×
n bitmap for selecting among said two diverse colors and said two intermediate colors;if said difference is less than said threshold value, representing said block as two colors and an n×
n bitmap. - View Dependent Claims (5)
-
-
6. A method for compressing digital video color data comprising the steps of:
-
considering the data in blocks of n×
n pixels;determining two diverse colors for each of said blocks by examining the n2 pixels in each of said blocks; determining if the difference in said two diverse colors for each of said blocks is greater than a first threshold value; determining if the difference in said two diverse colors for each of said blocks is greater than a second threshold value; if said difference is greater than said first threshold value, representing said block as two colors and an n×
n bitmap;if said difference is greater than said second threshold value then; determining two extended diverse colors; determining two intermediate colors; preparing a bitmap representing the closest one of said two extended diverse colors and said two intermediate colors for each of said pixels in said n×
n block.
-
-
7. A method for compressing digital video color data for an n×
- n block of pixels comprising the steps of;
determining two diverse colors by examining said color data for said pixels in said n×
n block;calculating from said two diverse colors a plurality of intermediate colors falling between said two diverse colors; determining the closest one of said two diverse colors and said plurality of intermediate colors for each of said pixels in said n×
n block;preparing a bitmap representing said closest one of said two diverse colors and said plurality of intermediate colors for each of said pixels in said n×
n block.
- n block of pixels comprising the steps of;
-
8. A method for compressing digital video color data for an n×
- n block of pixels comprising the steps of;
determining two diverse colors by examining said color data for said pixels in said n×
n block;determining two extended diverse colors from said two diverse colors; determining a plurality of intermediate colors falling between said two extended diverse colors; determining the closest one of said two extended diverse colors and said plurality of intermediate colors for each of said pixels in each of said n×
n block;preparing a bitmap representing said closest one of said two extended diverse colors and said plurality of intermediate colors for each of said pixels in said n×
n block. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17)
- n block of pixels comprising the steps of;
-
18. An apparatus for compressing digital video color data comprising;
-
a buffer for storing n scan lines of pixel data; first computational means for determining for each n×
n block of pixels in said buffer two diverse colors, said first computational means being coupled to said buffer;second computational means for determining for each n×
n block of pixels two extended diverse colors, said second computational means coupled to said first computational means.register means for storing a color threshold value; comparator means coupled to said storage means and said first computational means for determining if the difference between said diverse colors is greater than said color threshold value; storage means for storing each n×
n block as two extended diverse colors and a bitmap if the output of said comparator means indicates that the difference in said two diverse colors is greater than said color threshold value, and for storing each n×
n block as a single color if the output of said comparator means indicates that the difference between said two diverse colors is less than said color threshold value, said storage means being coupled to said second computational means and said comparator means.
-
-
19. A method for compressing digital video color data for storage or transmission comprising the steps of:
-
considering the video data in blocks each having an equal number of pixels; determining if the color differences among the colors in each block are greater than a predetermined amount; if said differences are greater than said predetermined amount, representing said block by two representative diverse colors and at least two intermediate colors computed from said two diverse representative colors, and bitmap data to select the closest color for each color in each block from among said two representative diverse colors and said intermediate colors; if said differences are less than said predetermined amount representing said block as one color. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. A method for compressing digital video color data for storing or transmission, comprising the steps of:
-
considering the video data in blocks each having an equal number of pixels; determining two representative diverse colors for each block by examining the video data in each of said blocks; representing said block by said two representative diverse colors and at least two intermediate colors computed from said two representative diverse colors and bitmap data which indicates the closest color for each color in each block to said two representative diverse colors and said intermediate colors; discarding said intermediate colors prior to said storing or transmission. - View Dependent Claims (26)
-
Specification