GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
Loading...
Searching...
No Matches
IClass_statistics Struct Reference

#include <imagery.h>

Data Fields

int cat
 
const charname
 
const charcolor
 
int nbands
 
int ncells
 
intband_min
 
intband_max
 
floatband_sum
 
floatband_mean
 
floatband_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 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.

◆ band_max

int* IClass_statistics::band_max

maximum value for each band

Definition at line 118 of file imagery.h.

◆ band_mean

float* IClass_statistics::band_mean

mean of values for each band

Definition at line 120 of file imagery.h.

◆ band_min

int* IClass_statistics::band_min

minimum value for each band

Definition at line 117 of file imagery.h.

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

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

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

◆ band_stddev

float* IClass_statistics::band_stddev

standard deviation for each band

Definition at line 121 of file imagery.h.

◆ band_sum

float* IClass_statistics::band_sum

sum of values for each band

Definition at line 119 of file imagery.h.

◆ cat

int IClass_statistics::cat

class

Definition at line 110 of file imagery.h.

◆ color

const char* IClass_statistics::color

class color (RRR:GGG:BBB)

Definition at line 112 of file imagery.h.

◆ name

const char* IClass_statistics::name

signature description (class name)

Definition at line 111 of file imagery.h.

◆ nbands

int IClass_statistics::nbands

number of bands

Definition at line 113 of file imagery.h.

◆ ncells

int IClass_statistics::ncells

number of cells in training areas

Definition at line 115 of file imagery.h.

◆ nstd

float IClass_statistics::nstd

multiplier of standard deviation

Definition at line 130 of file imagery.h.


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