#include <grass/gis.h>
#include <math.h>
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 G_add_color_rule(), G_init_colors(), G_next_cell_stat(), G_rewind_cell_stats(), G_set_null_value_color(), and G_str_to_color().
int G_make_histogram_log_colors | ( | struct Colors * | colors, | |
struct Cell_stats * | statf, | |||
int | min, | |||
int | max | |||
) |
Definition at line 102 of file color_hist.c.
References G_add_color_rule(), G_init_colors(), G_next_cell_stat(), G_rewind_cell_stats(), G_set_null_value_color(), and G_str_to_color().