GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71817
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IClass_statistics Struct Reference

#include <imagery.h>

Data Fields

int cat
 
const char * name
 
const char * color
 
int nbands
 
int ncells
 
intband_min
 
intband_max
 
float * band_sum
 
float * band_mean
 
float * band_stddev
 
float ** band_product
 
int ** band_histo
 
intband_range_min
 
intband_range_max
 
float nstd
 

Detailed Description

Holds statistical values for creating histograms and raster maps for one class.

One class is represented by one category (cat).

Definition at line 115 of file imagery.h.

Field Documentation

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(), make_all_statistics(), and make_statistics().

int* IClass_statistics::band_max
float* IClass_statistics::band_mean
int* IClass_statistics::band_min
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(), make_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(), create_raster(), 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(), create_raster(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_range_min().

float* IClass_statistics::band_stddev
float* IClass_statistics::band_sum
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
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::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(), make_statistics(), 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().


The documentation for this struct was generated from the following file: