gimphistogram

gimphistogram

Synopsis

                    GimpHistogram;
GimpHistogram *     gimp_histogram_new                  (void);
GimpHistogram *     gimp_histogram_duplicate            (GimpHistogram *histogram);
GimpHistogram *     gimp_histogram_ref                  (GimpHistogram *histogram);
void                gimp_histogram_unref                (GimpHistogram *histogram);
void                gimp_histogram_calculate            (GimpHistogram *histogram,
                                                         PixelRegion *region,
                                                         PixelRegion *mask);
gdouble             gimp_histogram_get_maximum          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel);
gdouble             gimp_histogram_get_count            (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);
gdouble             gimp_histogram_get_mean             (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);
gint                gimp_histogram_get_median           (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);
gdouble             gimp_histogram_get_std_dev          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);
gdouble             gimp_histogram_get_value            (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint bin);
gdouble             gimp_histogram_get_channel          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint bin);
gdouble             gimp_histogram_get_threshold        (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);
gint                gimp_histogram_n_channels           (GimpHistogram *histogram);

Description

Details

GimpHistogram

typedef struct _GimpHistogram GimpHistogram;


gimp_histogram_new ()

GimpHistogram *     gimp_histogram_new                  (void);


gimp_histogram_duplicate ()

GimpHistogram *     gimp_histogram_duplicate            (GimpHistogram *histogram);

Creates a duplicate of histogram. The duplicate has a reference count of 1 and contains the values from histogram.

histogram :

a GimpHistogram

Returns :

a newly allocated GimpHistogram

gimp_histogram_ref ()

GimpHistogram *     gimp_histogram_ref                  (GimpHistogram *histogram);


gimp_histogram_unref ()

void                gimp_histogram_unref                (GimpHistogram *histogram);


gimp_histogram_calculate ()

void                gimp_histogram_calculate            (GimpHistogram *histogram,
                                                         PixelRegion *region,
                                                         PixelRegion *mask);


gimp_histogram_get_maximum ()

gdouble             gimp_histogram_get_maximum          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel);


gimp_histogram_get_count ()

gdouble             gimp_histogram_get_count            (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);


gimp_histogram_get_mean ()

gdouble             gimp_histogram_get_mean             (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);


gimp_histogram_get_median ()

gint                gimp_histogram_get_median           (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);


gimp_histogram_get_std_dev ()

gdouble             gimp_histogram_get_std_dev          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);


gimp_histogram_get_value ()

gdouble             gimp_histogram_get_value            (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint bin);


gimp_histogram_get_channel ()

gdouble             gimp_histogram_get_channel          (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint bin);


gimp_histogram_get_threshold ()

gdouble             gimp_histogram_get_threshold        (GimpHistogram *histogram,
                                                         GimpHistogramChannel channel,
                                                         gint start,
                                                         gint end);


gimp_histogram_n_channels ()

gint                gimp_histogram_n_channels           (GimpHistogram *histogram);