GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-bb27c0570b
IClass_statistics Struct Reference

#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
 

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 109 of file imagery.h.

Field Documentation

◆ band_histo

int** IClass_statistics::band_histo

number of cells for cell category value (0-256) 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_histo(), and make_all_statistics().

◆ band_max

int* IClass_statistics::band_max

◆ band_mean

float* IClass_statistics::band_mean

◆ band_min

int* IClass_statistics::band_min

◆ band_product

float** IClass_statistics::band_product

sum of products of cell category values of 2 bands

Definition at line 124 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().

◆ band_range_max

int* IClass_statistics::band_range_max

max range of values to create raster map

Definition at line 129 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().

◆ band_range_min

int* IClass_statistics::band_range_min

min range of values to create raster map

Definition at line 128 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().

◆ band_stddev

float* IClass_statistics::band_stddev

◆ band_sum

float* IClass_statistics::band_sum

◆ cat

int IClass_statistics::cat

class

Definition at line 110 of file imagery.h.

Referenced by I_iclass_analysis(), I_iclass_init_statistics(), and I_iclass_statistics_get_cat().

◆ color

const char* IClass_statistics::color

class color (RRR:GGG:BBB)

Definition at line 112 of file imagery.h.

Referenced by I_iclass_add_signature(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_color().

◆ name

const char* IClass_statistics::name

signature description (class name)

Definition at line 111 of file imagery.h.

Referenced by I_iclass_add_signature(), I_iclass_free_statistics(), I_iclass_init_statistics(), and I_iclass_statistics_get_name().

◆ nbands

◆ ncells

int IClass_statistics::ncells

number of cells in training areas

Definition at line 115 of file imagery.h.

Referenced by I_iclass_add_signature(), I_iclass_init_statistics(), I_iclass_statistics_get_ncells(), mean(), var(), and var_signature().

◆ nstd

float IClass_statistics::nstd

multiplier of standard deviation

Definition at line 130 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: