Patent ID: 8478038

Claim:
A method for determining a scaled colour map of a scaled image obtained by scaling an original image, implemented by a computing device having a processor, the method comprising: obtaining an original colour map of the original image; and transforming the original colour map into the scaled colour map using the original colour map and the original image only, comprising: provided N min <N<N max , forming the scaled colour map, comprising: (iv-1) selecting a sub-set of colours in the original colour map; (iv-2) increasing a number of colours in the selected sub-set, thus forming a resulting sub-set of colours; and (iv-3) adding the resulting sub-set with increased number of colours to the original colour map, comprising determining the increased number of colours in the resulting sub-set of colours as 1 2 ⁢ M s ⁡ ( M s - 1 ) , wherein N is a number of colours in the original colour map, N min and N max are respective predetermined minimum and maximum thresholds for respective numbers of colours in the original colour map, and M s is a number of colours in the selected subset of colours.