grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

IClass_statistics Struct Reference

#include <imagery.h>

Public Attributes

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

Member Data Documentation

◆ band_histo

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().

◆ 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 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().

◆ band_range_max

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().

◆ band_range_min

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().

◆ band_stddev

float* IClass_statistics::band_stddev

◆ band_sum

float* IClass_statistics::band_sum

◆ cat

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().

◆ color

const char* IClass_statistics::color

◆ name

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().

◆ nbands

◆ ncells

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().

◆ nstd

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: