Mean Activity
The Mean activity calculates the average RGB color distribution within an image. It processes the pixel data to determine the mean values for the red, green, and blue components, providing an overall color representation.
| Field | Description | Requirement |
|---|---|---|
| Input image | The file path and name of the image to be processed. | Required |
| Result variable name | The variable that stores the calculated mean RGB color distribution of the image as a JSON string. | Required |
Action Types & Examples
Mean RGB Output
- Format:
string(representing a JSON object) - Example Result:
{"blue":128.55,"green":128.55,"red":128.55}
Implementation Examples
Field Setup - Input image: C:\RobustablueCar.png - Result variable name: meanRGBOutput
Execution Parameters
Technical Notes
The Mean activity processes the entire image to compute the average color values. The input image path must be fully qualified and accessible to the execution environment. The output is a JSON string, which can be parsed to access individual 'red', 'green', and 'blue' mean values. Performance may vary based on image resolution and file size.