#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 | |
| 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) | |
| int | G_log_colors (struct Colors *dst, struct Colors *src, int samples) |
| make logarithmically-scaled version of an existing color table | |
| 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 | |
| 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
| 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(), and G_set_null_value_color().
| 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 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(), and G_set_null_value_color().
| 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 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(), and G_set_null_value_color().
| int G_log_colors | ( | struct Colors * | dst, | |
| struct Colors * | src, | |||
| int | samples | |||
| ) |
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(), and G_set_null_value_color().
1.5.6