Saturation Range
This rule checks that the saturation values of pixels in an image fall within the specified range.
Parameter table
param | unit | required | description |
---|---|---|---|
minSaturation | % | no | Minimum saturation value in percentage (minSaturation ). |
maxSaturation | % | no | Maximum saturation value in percentage (maxSaturation ). |
Detailed description
Ensures that the average saturation value across the entire image falls within the specified range ([minSaturation, maxSaturation]) in percentage.
Correction
The correction process adjusts saturation values to fit within the specified saturation range.
How to setup
This rule evaluates whether an image's saturation values conform to specified constraints. Key parameters include:
minSaturation
: Minimum saturation value in percentage.maxSaturation
: Maximum saturation value in percentage.
At least one argument is required.
Creator tips
- Analyze the image's color distribution to determine an appropriate saturation range.
- Use color picker tools to identify specific saturation levels in an image.
Examples
value | valid | maxSaturation | minSaturation | description |
---|---|---|---|---|
✅ | 70 | The image should have vibrant colors with high saturation. | ||
✅ | 40 | The image should have muted colors with low saturation. |