The invention discloses a method for matching a
pigment color mixing ratio. The method comprises: S1, acquiring a to-be-tested
pigment image; S2, carrying out pretreatment on the to-be-tested pigmentimage to obtain an RGB value of the to-be-tested
pigment image; S3, carrying out pigment color collection on the to-be-tested pigment image after pretreatment; S4, carrying out
color space conversionon the collected pigment color, that is, conversion from RGB to HSV; S5, with the HSV, calculating ratio mixing functions of all channels of
hue (H), saturation (S), and brightness (V); S6, on the basis of the obtained ratio mixing functions, calculating inverse functions; and S7, according to the inverse functions, inputting a to-be-mixed color and a target color and obtaining a
color mixing ratio, With the method disclosed by the invention, color collection is completed and the ratio
mixing rule of a pigment is obtained; and with the inverse functions of the ratio mixing function, a ratio ofthe target pigment to the to-be-mixed pigment is obtained.