#include "gis.h"#include <math.h>Include dependency graph for color_hist.c:

Go to the source code of this file.
Functions | |
| int | G_make_histogram_eq_colors (struct Colors *colors, struct Cell_stats *statf) |
| make histogram-stretched grey colors | |
| int | G_make_histogram_log_colors (struct Colors *colors, struct Cell_stats *statf, int min, int max) |
| int G_make_histogram_eq_colors | ( | struct Colors * | colors, | |
| struct Cell_stats * | statf | |||
| ) |
make histogram-stretched grey colors
Generates a histogram contrast-stretched grey scale color table that goes from the ,histogram information in the Cell_stats structure s. (See Raster_Histograms).
| colors | ||
| s |
Definition at line 41 of file color_hist.c.
References cat, count, G_add_color_rule(), G_init_colors(), G_next_cell_stat(), G_rewind_cell_stats(), and G_set_null_value_color().
| int G_make_histogram_log_colors | ( | struct Colors * | colors, | |
| struct Cell_stats * | statf, | |||
| int | min, | |||
| int | max | |||
| ) |
Definition at line 99 of file color_hist.c.
References cat, count, G_add_color_rule(), G_init_colors(), G_next_cell_stat(), G_rewind_cell_stats(), and G_set_null_value_color().
1.4.7