Open topic with navigation

# Color Clustering

Color Clustering determines the dominant colors in a frame by clustering similar colors. The task returns the color at the center of each cluster, and the proportion of the pixels in the frame that belong to each cluster.

This section describes the parameters that you can use to configure color clustering.

Configuration Parameter | Description
--- | ---
ColorSpace | The color space in which the results of analysis are provided.
ColorThreshold | Discards colors that do not make up a significant proportion of the frame.
FrameRate | (Deprecated) The number of frames to analyze per second of video.
Input | The image track to process.
Region | Specifies a region of the frame to process, instead of the entire frame.
RegionUnit | Specifies the units used by the `Region` parameter.
RestrictToInputRegion | Specifies whether to analyze a region of the input image or video frame that is specified in the input record, instead of the entire image.
SampleInterval | The interval at which frames are selected to be analyzed, in milliseconds.
Type | The analysis engine to use. Set this parameter to `ColorCluster`.

## Output Tracks

Output track | Type | Description | Output1This column indicates whether the information contained in the track is included by default in the output created by an output task (when you don't set the Input parameter for the output task).
--- | --- | --- | ---
Result | ColorClusterResult | Contains a record for each analyzed frame. Each record contains information about the colors that are present in the image. | True

ColorClusterResult

Field name | Type | Description
--- | --- | ---
id | UUIDData | A universally unique identifier to identify the analyzed image or video frame.
colorspace | String | The color space in which the results are presented.
cluster | An array of ColorClusters | Information about the colors in the analyzed frame.

ColorCluster

Field name | Type | Description
--- | --- | ---
Color | String | The color at the center of a cluster.
Proportion | Float | The proportion of pixels in the frame that belong to the cluster.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! 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 AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm