Patent ID: 8594465

Claim:
A method for transforming image data from a first representation having first pixels to a second representation having second pixels wherein the first pixels of the first representation do not all map to the second pixels of the second representation on a one- to-one basis, comprising: determining, for each pixel location of the second representation, a corresponding set of at least two pixels in the first representation; determining, for each pixel location of the second representation, a corresponding color distance among color values of the at least two pixels in the first representation; comparing each corresponding color distance to a shifting color similarity threshold, the shifting color similarity threshold dynamically adjusted according to a real-time determination of available resources and an interpolation algorithm usage count in previous images; and dynamically changing interpolation algorithms according to the corresponding color distance, wherein a particular interpolation algorithm is selected from at least two interpolation algorithms and individually applied to each pixel location of the second representation, and wherein if the corresponding color distance among the at least two pixels indicates a threshold color similarity, setting the color values for the pixel location of the second representation to the color values of one of the at least two pixels in the first representation; and if the corresponding color distance does not indicate the threshold color similarity, performing at least one alternative process for setting color values for the pixel location of the second representation.