hue-saturation

hue-saturation

Synopsis

                    HueSaturation;
void                hue_saturation_init                 (HueSaturation *hs);
void                hue_saturation_calculate_transfers  (HueSaturation *hs);
void                hue_saturation                      (HueSaturation *hs,
                                                         PixelRegion *srcPR,
                                                         PixelRegion *destPR);

Description

Details

HueSaturation

typedef struct {
  gdouble hue[7];
  gdouble lightness[7];
  gdouble saturation[7];
  gdouble overlap;

  gint    hue_transfer[6][256];
  gint    lightness_transfer[6][256];
  gint    saturation_transfer[6][256];
} HueSaturation;


hue_saturation_init ()

void                hue_saturation_init                 (HueSaturation *hs);


hue_saturation_calculate_transfers ()

void                hue_saturation_calculate_transfers  (HueSaturation *hs);


hue_saturation ()

void                hue_saturation                      (HueSaturation *hs,
                                                         PixelRegion *srcPR,
                                                         PixelRegion *destPR);