Determining a Dominant Color of an Image Based on Pixel Components
First Claim
1. A method comprising:
- obtaining an image for presentation to a user, the image comprising a set of pixels;
identifying one or more color components associated with each pixel in the set of pixels;
generating a vector for each pixel based at least in part on the one or more color components associated with each pixel,generating one or more clusters each including one or more pixels based at least in part on the generated vectors;
generating characteristic vectors for each cluster based at least in part on the generated vectors, a characteristic vector for a cluster based at least in part on the generated vectors of one or more pixels included in the cluster and specifying a color associated with the cluster;
selecting a set of the clusters based at least in part on the characteristic vectors;
determining a centroid based on the characteristic vectors for each cluster in the selected set of clusters, the centroid identifying a dominant color associated with the image; and
storing information associating the dominant color with the image.
1 Assignment
0 Petitions
Accused Products
Abstract
A digital magazine server determines a dominant color present in an image using a clustering algorithm. Color components of each pixel in the image are identified used to generate vectors associated with each pixel. Based on the vectors associated with the pixels, clusters including one or more pixels are generated using a clustering algorithm (e.g., k-means). The digital magazine server generates a characteristic vector for each cluster based on the vectors included in the cluster and selects a set of clusters based on their characteristic vectors. A centroid identifying the dominant color of the image is determined from the characteristic vectors of clusters in the set.
18 Citations
19 Claims
-
1. A method comprising:
-
obtaining an image for presentation to a user, the image comprising a set of pixels; identifying one or more color components associated with each pixel in the set of pixels; generating a vector for each pixel based at least in part on the one or more color components associated with each pixel, generating one or more clusters each including one or more pixels based at least in part on the generated vectors; generating characteristic vectors for each cluster based at least in part on the generated vectors, a characteristic vector for a cluster based at least in part on the generated vectors of one or more pixels included in the cluster and specifying a color associated with the cluster; selecting a set of the clusters based at least in part on the characteristic vectors; determining a centroid based on the characteristic vectors for each cluster in the selected set of clusters, the centroid identifying a dominant color associated with the image; and storing information associating the dominant color with the image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method comprising:
-
obtaining an image for presentation to a user, the image comprising a set of pixels; identifying one or more color components associated with each pixel in the set of pixels; generating a vector for each pixel based at least in part on the one or more color components associated each pixel, generating one or more clusters each including one or more pixels based at least in part on the generated vectors; generating characteristic vectors for each cluster based at least in part on the generated vectors, a characteristic vector for a cluster based at least in part on the generated vectors of one or more pixels included in the cluster and specifying a color associated with the cluster; selecting a cluster based at least in part on a number of pixels included in each cluster; determining a dominant color associated with the image as a color associated with a characteristic vector for the selected color and storing information associating the dominant color with the image. - View Dependent Claims (16, 17, 18, 19)
-
Specification