get_histogram
Retrieve histogram statistics for a chosen channel of the active layer to analyze tonal distribution, including mean, median, standard deviation, min, max, and pixel counts.
Instructions
Get histogram statistics for a channel of the active layer.
Parameters:
channel: "value" (all; default), "red", "green", "blue", "alpha"
image_index: Target image index (default 0)
Returns: {mean, median, std_dev, min, max, pixels, count}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | value | |
| image_index | No |