Video compression apparatus and method
First Claim
1. A method for compressing pixel data from a digitized image represented by a series of scan lines, each line having a plurality of segments, each segment comprising a plurality of pixels having corresponding pixel amplitude values, comprising the steps of:
- setting a scan line segment'"'"'s first pixel to be a first point and assigning to the first point an amplitude value equal to the first pixel'"'"'s amplitude value and assigning to the first point'"'"'s length value to a value associated only with the first point;
selecting a next pixel of the scan line segment;
calculating a slope between the amplitude value of the most recently set point for the selected pixel and the amplitude value of the selected pixel;
predicting the amplitude value of a next subsequent pixel using the calculated slope;
comparing an actual amplitude value of the next subsequent pixel with the predicted amplitude value;
setting the selected pixel to be a next point if the value of the next subsequent pixel is not within a predetermined threshold range, the next point'"'"'s amplitude value being assigned to be equal to the selected pixel'"'"'s amplitude value and the next point'"'"'s length value being assigned to be equal to the number of pixels from the most recently set point to the next point, and the minimum point length value being one; and
repeating the next pixel selecting, the slope calculating, and the amplitude value predicting steps if the value of the next subsequent pixel falls within the predetermined threshold range.
6 Assignments
0 Petitions
Accused Products
Abstract
The invention provides a method, and related apparatus, for improved compression of video images by determining optimum compression points using pixel-to-pixel slope comparison techniques and relaxable length limits. The method converts a digitized analog video signal into its piecewise linear equivalent, and then reduces the data stream by preserving only the break points. The linear segments may be as short as one pixel. After a predetermined slope length has been reached, the improved pointing technique combines length-limited points if the slopes of the corresponding linear segments are identical.
-
Citations
15 Claims
-
1. A method for compressing pixel data from a digitized image represented by a series of scan lines, each line having a plurality of segments, each segment comprising a plurality of pixels having corresponding pixel amplitude values, comprising the steps of:
-
setting a scan line segment'"'"'s first pixel to be a first point and assigning to the first point an amplitude value equal to the first pixel'"'"'s amplitude value and assigning to the first point'"'"'s length value to a value associated only with the first point; selecting a next pixel of the scan line segment; calculating a slope between the amplitude value of the most recently set point for the selected pixel and the amplitude value of the selected pixel; predicting the amplitude value of a next subsequent pixel using the calculated slope; comparing an actual amplitude value of the next subsequent pixel with the predicted amplitude value; setting the selected pixel to be a next point if the value of the next subsequent pixel is not within a predetermined threshold range, the next point'"'"'s amplitude value being assigned to be equal to the selected pixel'"'"'s amplitude value and the next point'"'"'s length value being assigned to be equal to the number of pixels from the most recently set point to the next point, and the minimum point length value being one; and repeating the next pixel selecting, the slope calculating, and the amplitude value predicting steps if the value of the next subsequent pixel falls within the predetermined threshold range. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for compressing pixel data from a digitized image, comprising the steps of:
-
setting a scan line segment'"'"'s first pixel to be a first point and assigning the first point'"'"'s amplitude value to be equal to the first pixel'"'"'s amplitude value and assigning the first point'"'"'s length value to a value associated only with the first point; selecting the scan line segment'"'"'s next pixel; setting the selected pixel to be a point if the number of pixels from the most recently set point to the selected point exceeds a predetermined length value; repeating the selecting and setting steps until a point is set; comparing the slope for a first line segment between the most recently set point to the currently set point with the slope for a second line segment between the most recently set point and a point just previous to the most recently set point; eliminating the most recently set point if the slope for the first line segment is substantially equal to the slope for the second line segment and adding the most recently set point'"'"'s length value to the currently set point'"'"'s length value; and repeating the selecting, setting, comparing, and eliminating steps until the end of the scan line segment. - View Dependent Claims (9, 10)
-
-
11. Apparatus for compressing pixel data from a digitized image represented by a series of scan lines, each line having a plurality of segments, each segment comprising a plurality of pixels having corresponding pixel amplitude values, comprising the steps of:
-
means for setting a scan line segment'"'"'s first pixel to be a first point and assigning to the first point an amplitude value equal to the first pixel'"'"'s amplitude value and assigning to the first point'"'"'s length value to a value associated only with the first point; means for selecting a next pixel of the scan line segment; means for calculating a slope between the amplitude value of the most recently set point for the selected pixel and the amplitude value of the selected pixel; means for predicting the amplitude value of a next subsequent pixel using the calculated slope; means for comparing an actual amplitude value of the next subsequent pixel with the predicted amplitude value; means for setting the selected pixel to be a next point if the value of the next subsequent pixel is not within a predetermined threshold range, the next point'"'"'s amplitude value being assigned to be equal to the selected pixel'"'"'s amplitude value and the next point'"'"'s length value being assigned to be equal to the number of pixels from the most recently set point to the next point, and the minimum point length value being one; and means for repeating the next pixel selecting, the slope calculating, and the amplitude value predicting if the value of the next subsequent pixel falls within the predetermined threshold range. - View Dependent Claims (12, 13, 14, 15)
-
Specification