A method and image processing device for processing image color
An image processing device and color technology, applied in the field of image processing, can solve the problems of slow processing speed, complex algorithm, large amount of calculation, etc., to achieve the effect of fast speed, simple calculation, and reduction of the number of colors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] figure 1 It is a flow chart illustrating a method for processing image color according to an embodiment of the present invention.
[0039] Such as figure 1 As shown, in step 102, the number of pixels of each color in the image is counted and saved.
[0040] In step 104, the merging coefficient between each two colors is calculated according to the value of the color in the color space and the number of pixels of the color, that is, the similarity between each two colors. There are many methods that can be used to measure the similarity of two colors in the color space, and the preferred embodiment of calculating the merge coefficient of the present invention will be described in detail later.
[0041]In step 106, the two colors with the smallest merging coefficients are merged into a new color, and the value of the new color in the color space is calculated according to the values of the two colors in the color space and the corresponding number of pixels. In one e...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 