Device and machine readable medium for determining image hue
AssigneeHuawei Device Co., Ltd.
InventorJianyong Kong
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Device Co., Ltd.
InventorJianyong Kong
Estimating the term…
The present invention provides a device and a machine readable storage medium for determining image hue, which relate to the field of image processing. The device is configured to perform: obtaining color information of a part or all of pixels of an image including hue values, brightness values and saturation values; determining a pixel whose hue value needs to be compared according to the obtained color information, and comparing the pixel, whose hue value needs to be compared, with hue values of preset multiple candidate colors, determining a closest candidate color, and accumulating a weight value of the pixel whose hue value needs to be compared to a weight value of the closest candidate color; and using hue of a candidate color with the highest weight value as hue of the image. The machine readable storage medium can cause a processor to perform the steps above.
A device for determining image hue, comprising a processor and a memory storing instructions, wherein the instructions are executable by the processor to perform:
A non-transitory machine readable storage medium having stored thereon one or more instructions for causing a processor to determine image hue, wherein the one or more instructions cause the processor to perform:
A device for determining image hue, comprising a processor and a memory storing instructions, wherein the instructions are executable by the processor to perform:
Dependencies are inferred from the claim text.