Patent ID: 8229218
Filing Date: 2012-07-24
Classification: G06F

Abstract:
1. A method for determining frequency of occurrence of each of a plurality of ranges in a plurality of data values, said method comprising: receiving a data value contained in said plurality of data values; maintaining a plurality of frequency counters, wherein each counter is associated with a corresponding one of said plurality of ranges; setting one of a first set of storage elements to 1, and the rest of said first set of storage elements to 0 based on a decoded value represented by bits in a first set of positions of said data value; setting one of a second set of storage elements to one logical value and the rest of said second set of storage elements to another logical value based on a decoded value represented by bits in a second set of positions of said data value, wherein said first set of positions and said second set of positions do not overlap; adding simultaneously a specified multiple number of frequency counters of said plurality of frequency counters by the value respectively of a corresponding storage element in said first set of storage elements if a value of a corresponding storage element in said second set of storage elements is set to said one logical value; and wherein said data values represent pixel values of an image.