|
SatDump 2.0.0-alpha-520736c72
|
Hue/Saturation manipulation. More...
#include "image.h"Go to the source code of this file.
Classes | |
| struct | satdump::image::HueSaturation |
| Hue/Saturation settings. Each array should be access using HueRange enum values. More... | |
Enumerations | |
| enum | HueRange { HUE_RANGE_ALL , HUE_RANGE_RED , HUE_RANGE_YELLOW , HUE_RANGE_GREEN , HUE_RANGE_CYAN , HUE_RANGE_BLUE , HUE_RANGE_MAGENTA } |
Functions | |
| void | satdump::image::hue_saturation (Image &image, HueSaturation hueSaturation) |
| Apply hue saturation settings. Implementation of GIMP's White Hue Saturation algorithm See app/base/hue-saturation.h and app/base/hue-saturation.c This was ported over from those 2 files All credits go to the Gimp project https://github.com/GNOME/gimp. | |
| void | satdump::image::rgb_to_hsl (double r, double g, double b, double &h, double &s, double &l) |
| Convert RGB to HSL. | |
| void | satdump::image::hsl_to_rgb (double h, double s, double l, double &r, double &g, double &b) |
| Convert HSL to RGB. | |
Hue/Saturation manipulation.
| void satdump::image::hue_saturation | ( | Image & | image, |
| HueSaturation | hueSaturation ) |
Apply hue saturation settings. Implementation of GIMP's White Hue Saturation algorithm See app/base/hue-saturation.h and app/base/hue-saturation.c This was ported over from those 2 files All credits go to the Gimp project https://github.com/GNOME/gimp.
| image | image to hue shift |
| hueSaturation | parameters to use |