Color Analysis Results

The following XML shows a single record produced by color analysis.

<output>
  <record>
    ...
    <trackname>ColorCluster.Result</trackname>
    <ColorClusterResult>
      <id>76b7b8dd-59f6-4fe7-9a6e-bcfae3cf94e8</id>
      <colorspace>RGB</colorspace>
      <cluster>
        <color>232 242 252</color>
        <colorname>white</colorname>
        <proportion>77.12</proportion>
      </cluster>
      <cluster>
        <color>10 11 13</color>
        <colorname>black</colorname>
        <proportion>21.54</proportion>
      </cluster>
    </ColorClusterResult>
  </record>
</output>

The record contains the following information:

In addition to the Result track, the color clustering task also produces a track named ClusteredImage. This contains the source image, containing only colors that match the center of a color cluster, and cropped to the analyzed region. If the analyzed region is not rectangular any pixels outside the region are transparent (or black if you use an image format that does not support transparency).


_HP_HTML5_bannerTitle.htm