×

Determining a dominant color of an image based on pixel components

  • US 9,870,626 B2
  • Filed: 12/20/2016
  • Issued: 01/16/2018
  • Est. Priority Date: 12/15/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • obtaining a content item for presentation to a user, wherein the obtained content item includes an image comprising a plurality of pixels;

    identifying one or more color components associated with each pixel in the plurality of pixels;

    generating a characteristic vector for each sub-set of pixels, a characteristic vector for a sub-set of pixels specifying a color associated with a plurality of pixels in the sub-set by;

    associating weights with the one or more color components associated with an identified pixel of the sub-set;

    associating one or more additional weights with the one or more color components associated with one or more additional pixels of the sub-set; and

    generating a vector for the identified pixel based at least in part on the weights, the one or more color components associated with the identified pixel, the one or more additional weights, and the one or more color components associated with the one or more additional pixelsranking the generated one or more sub-sets of pixels based on magnitudes of the characteristic vectors of the one or more sub-sets of pixels; and

    selecting one or more sub-sets of pixels having at least a threshold position in the ranking;

    determining a dominant color associated with the image based on the characteristic vectors for a selected number of sub-sets of pixels;

    selecting an element for inclusion in the image based on the dominant color associated with the image; and

    generating a modified image including the image and the selected element.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×