Feature #25: Desaturate
Transform the image to desaturate colors.
Feature description
Transform the image to desaturate colors.
| Parameters | value |
|---|---|
| name | color_desaturate |
| Command | -c color_desaturate |
| Input | an image |
| output | a new image image_out.bmp with desaturated colors from the input image |
Usage
./freud.exe -f images/input/image.jpeg -c color_desaturateOutput
A new image image_out.bmp with desaturated colors from the input image
Tips for implementing the feature Use the formulae of this pseudo-code:
new_val = (min(R, G, B) + max(R, G, B)) / 2;Additional information
Example: |Input | Output| |—|—|
|