CPC G06T 7/90 (2017.01) [G06Q 30/0277 (2013.01); G06V 10/56 (2022.01); G06V 10/762 (2022.01); G06T 2207/10024 (2013.01)] | 19 Claims |
1. A method for generating a modified logo using popular colors of a logo file to be used in electronic promotional pages, comprising:
detecting a hue, saturation and luminance (HSL) in pixels of the logo file to be used in an electronic promotional page;
clustering of the pixels from the logo file into groups based on hue, saturation and luminance (HSL) to form a plurality of color clusters with a listing of colors for pixel sub-groups;
weighting colors in the color clusters based on area of the logo file occupied by a color;
selecting colors that exceed a defined weighting percentage as a popular color;
selecting the popular color from each color cluster based in part on the color having a highest weighting in the color cluster, in order to identify outlier colors which are not antialiasing colors in the logo file;
removing any repeated popular colors; and
generating a modified logo using the popular color selected, wherein the modified logo is to be inserted in the electronic promotional page.
|