Patent Document ID: 9805287
Application ID: 14927687
Patent Status: 1

Claim One:
1. A method of encoding digital images, comprising receiving information representative of pixels in a first digital image, calculating a sum, a mean, or a median of said information for groups of neighboring pixels in said first image to form a group value for each group of pixels, calculating differences between group values, comparing said differences to a predetermined threshold value, if said difference is equal to or above said threshold value, identifying said group as being in a relevant area, if said difference is below said threshold value, identifying said group as being in a not relevant area, setting a compression value (QP) for each group of pixels based on the identification of relevant areas, wherein macro blocks in relevant areas are given a first compression value, and macro blocks outside the relevant areas are given a second compression value, said second compression value being representative of a compression giving a lower image quality than the first compression value, and encoding the first image using the compression values set for the groups of pixels.