摘要 |
<p>The invention relates to a method for compression and decompression of pixel-based image data. Each pixel first has the pixel value determined. A pixel difference value is then determined for each pixel, from a given number of neighboring pixels, which results from the difference in the pixel value for the pixel in question to each of the neighboring pixels thereof. The pixel difference values are then sorted in descending order. Each pixel used for the calculation of a pixel difference value is assigned to a pixel group. The pixel groups obtained thus are stored according to the descending sorting of the pixel difference values. For regeneration of the image the pixel groups with the highest pixel difference values are first loaded. A triangle is formed from the three closest pixel groups. The surfaces of each triangle are filled in a coloring process, calculated from the color values of the pixel groups forming each of the three corners of the triangle. The more pixel groups are loaded the smaller the triangles become and the more precise the reconstruction of the image.</p> |