Method for processing image storage medium and apparatus for the same
Abstract:
An embodiment of the present disclosure provides a method for processing an image. The method comprise: determining weights corresponding to candidate colors for a target color based on an original color of a pixel in the image; selecting a target color of the pixel from the candidate colors based on the weights; and converting the original color of the pixel into the target color to obtain a target image. According to the embodiment of the present disclosure, by determining the weights of the candidate colors, the image can be converted into the target image comprising only the candidate colors, thereby using a limited number of candidate colors to represent the target image.
Information query
Patent Agency Ranking
0/0