GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <grass/gis.h>
#include <math.h>
Go to the source code of this file.
Functions | |
int | G_histogram_eq_colors (struct Colors *dst, struct Colors *src, struct Cell_stats *statf) |
make histogram-stretched version of existing color table More... | |
void | G_histogram_eq_colors_fp (struct Colors *dst, struct Colors *src, struct FP_stats *statf) |
make histogram-stretched version of existing color table (FP version) More... | |
int | G_log_colors (struct Colors *dst, struct Colors *src, int samples) |
make logarithmically-scaled version of an existing color table More... | |
int | G_abs_log_colors (struct Colors *dst, struct Colors *src, int samples) |
make logarithmically-scaled version of an existing color table, allowing for signed values More... | |
make logarithmically-scaled version of an existing color table, allowing for signed values
dst | |
src | |
samples |
Definition at line 259 of file color_xform.c.
References G_add_d_raster_color_rule(), G_get_d_color_range(), G_get_d_raster_color(), G_get_default_color(), G_get_null_value_color(), G_init_colors(), G_set_default_color(), G_set_null_value_color(), wxnviz::log, max, min, and y.
int G_histogram_eq_colors | ( | struct Colors * | dst, |
struct Colors * | src, | ||
struct Cell_stats * | statf | ||
) |
make histogram-stretched version of existing color table
Generates a histogram contrast-stretched color table that goes from the histogram information in the Cell_stats structure statf. (See Raster_Histograms).
dst | |
src | |
statf |
Definition at line 59 of file color_xform.c.
References cat, count, first, G_add_color_rule(), G_get_d_color_range(), G_get_d_raster_color(), G_get_default_color(), G_get_null_value_color(), G_init_colors(), G_next_cell_stat(), G_rewind_cell_stats(), G_set_default_color(), G_set_null_value_color(), max, and min.
void G_histogram_eq_colors_fp | ( | struct Colors * | dst, |
struct Colors * | src, | ||
struct FP_stats * | statf | ||
) |
make histogram-stretched version of existing color table (FP version)
Generates a histogram contrast-stretched color table that goes from the histogram information in the FP_stats structure statf. (See Raster_Histograms).
dst | |
src | |
statf |
Definition at line 132 of file color_xform.c.
References first, G_add_d_raster_color_rule(), G_get_d_color_range(), G_get_d_raster_color(), G_get_default_color(), G_get_null_value_color(), G_init_colors(), G_set_default_color(), G_set_null_value_color(), if(), max, min, and val2.
make logarithmically-scaled version of an existing color table
dst | |
src | |
samples |
Definition at line 197 of file color_xform.c.
References G_add_d_raster_color_rule(), G_get_d_color_range(), G_get_d_raster_color(), G_get_default_color(), G_get_null_value_color(), G_init_colors(), G_set_default_color(), G_set_null_value_color(), wxnviz::log, max, min, and y.