Open topic with navigation

# 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:

- The `colorspace` element specifies the color space in which the results are provided. You can choose the color space by setting the `ColorSpace` configuration parameter.

- Each `cluster` element represent a cluster of similar colors.

  - The `color` element provides the color at the center of the cluster, in the color space requested.
  - The `colorname` element provides a name for the color. This element is present only if you have specified the path to a dictionary that associates names with color values. For information about color dictionaries, see Color Dictionaries.
  - The `proportion` element specifies the percentage of the image or video frame that belongs to that cluster.

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).

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm