发明名称 |
Monochromatic image determination |
摘要 |
Systems, methods and computer readable media for determination of monochromatic images are described. Some implementations can include a method. The method can include converting an image in a first colorspace to a first converted image in a second colorspace. The method can also include generating a hue histogram based on hue values in the converted image and determining a hue dispersion measure based on the hue histogram and a number of pixels in the image. The method can further include determining a hue clustering value based on the hue histogram and converting the image in the first colorspace into a second converted image in a third colorspace. The method can also include determining a variance measure based on the second converted image, and comparing the hue dispersion measure, the hue clustering value and the variance measure to a first threshold value, a second threshold value and a third threshold value, respectively. |
申请公布号 |
US9430848(B1) |
申请公布日期 |
2016.08.30 |
申请号 |
US201414475196 |
申请日期 |
2014.09.02 |
申请人 |
Google Inc. |
发明人 |
Kulewski Krzysztof;Krishnaswamy Aravind;Babacan Sevket Derin |
分类号 |
G06K9/00;G06T7/40;G06K9/46 |
主分类号 |
G06K9/00 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method comprising:
converting an image in a first colorspace to a first converted image in a second colorspace; generating a hue histogram based on hue values in the converted image; determining a hue dispersion measure based on the hue histogram and a number of pixels in the image; determining a hue clustering value based on the hue histogram; converting the image in the first colorspace into a second converted image in a third colorspace; determining a variance measure based on the second converted image; comparing the hue dispersion measure, the hue clustering value and the variance measure to a first threshold value, a second threshold value and a third threshold value, respectively; and providing an indication of whether the image is monochromatic based on one or more of the comparisons, wherein determining the hue dispersion measure includes: projecting hue values onto a unit circle, wherein any pixel missing from the histogram is assigned to point (0,0); computing a center of gravity for plotted pixels; iterating over plotted pixels on the unit circle and computing an intermediate value according to (hx−x)^8+(hy−y)^8 for each plotted pixel; summing the intermediate values; and normalizing the sum of intermediate values, wherein the normalized result is the hue dispersion measure. |
地址 |
Mountain View CA US |