|
GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <imagery.h>
Data Fields | |
| int | cat |
| const char * | name |
| const char * | color |
| int | nbands |
| int | ncells |
| int * | band_min |
| int * | band_max |
| float * | band_sum |
| float * | band_mean |
| float * | band_stddev |
| float ** | band_product |
| int ** | band_histo |
| int * | band_range_min |
| int * | band_range_max |
| float | nstd |
Holds statistical values for creating histograms and raster maps for one class.
One class is represented by one category (cat).
| int** IClass_statistics::band_histo |
number of cells for cell category value (0-256) for each band
Definition at line 131 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_histo(), and make_all_statistics().
| int* IClass_statistics::band_max |
maximum value for each band
Definition at line 125 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_max(), and make_all_statistics().
| float* IClass_statistics::band_mean |
mean of values for each band
Definition at line 127 of file imagery.h.
Referenced by alloc_statistics(), band_range(), I_iclass_add_signature(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_mean(), and make_all_statistics().
| int* IClass_statistics::band_min |
minimum value for each band
Definition at line 124 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_min(), and make_all_statistics().
| float** IClass_statistics::band_product |
sum of products of cell category values of 2 bands
Definition at line 130 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_product(), make_all_statistics(), var(), and var_signature().
| int* IClass_statistics::band_range_max |
max range of values to create raster map
Definition at line 134 of file imagery.h.
Referenced by alloc_statistics(), band_range(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_range_max().
| int* IClass_statistics::band_range_min |
min range of values to create raster map
Definition at line 133 of file imagery.h.
Referenced by alloc_statistics(), band_range(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_range_min().
| float* IClass_statistics::band_stddev |
standard deviation for each band
Definition at line 128 of file imagery.h.
Referenced by alloc_statistics(), band_range(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_stddev(), and make_all_statistics().
| float* IClass_statistics::band_sum |
sum of values for each band
Definition at line 126 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_sum(), make_all_statistics(), mean(), and var_signature().
| int IClass_statistics::cat |
class
Definition at line 117 of file imagery.h.
Referenced by I_iclass_analysis(), I_iclass_init_statistics(), and I_iclass_statistics_get_cat().
| const char* IClass_statistics::color |
class color (RRR:GGG:BBB)
Definition at line 119 of file imagery.h.
Referenced by I_iclass_add_signature(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_color().
| const char* IClass_statistics::name |
signature description (class name)
Definition at line 118 of file imagery.h.
Referenced by I_iclass_add_signature(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_name().
| int IClass_statistics::nbands |
number of bands
Definition at line 120 of file imagery.h.
Referenced by alloc_statistics(), I_iclass_create_raster(), I_iclass_free_statistics(), I_iclass_init_statistics(), I_iclass_statistics_get_histo(), I_iclass_statistics_get_max(), I_iclass_statistics_get_mean(), I_iclass_statistics_get_min(), I_iclass_statistics_get_nbands(), I_iclass_statistics_get_product(), I_iclass_statistics_get_range_max(), I_iclass_statistics_get_range_min(), I_iclass_statistics_get_stddev(), I_iclass_statistics_get_sum(), and make_all_statistics().
| int IClass_statistics::ncells |
number of cells in training areas
Definition at line 122 of file imagery.h.
Referenced by I_iclass_add_signature(), I_iclass_init_statistics(), I_iclass_statistics_get_ncells(), mean(), var(), and var_signature().
| float IClass_statistics::nstd |
multiplier of standard deviation
Definition at line 135 of file imagery.h.
Referenced by band_range(), I_iclass_init_statistics(), I_iclass_statistics_get_nstd(), and I_iclass_statistics_set_nstd().