| 
    GRASS 8 Programmer's Manual
    8.5.0dev(2025)-9d806b45d8
    
   | 
 
#include <imagery.h>

Data Fields | |
| int | type | 
| int | n_cats | 
| int | n_bands | 
| int | n_scatts | 
| int | n_a_cats | 
| int * | cats_ids | 
| int * | cats_idxs | 
| struct scScatts ** | cats_arr | 
Holds list of all categories. It can contain selected areas for scatter plots (SC_SCATT_CONDITIONS type) or computed scatter plots (SC_SCATT_DATA type).
| struct scScatts** scCats::cats_arr | 
array of pointers to struct scScatts
Definition at line 159 of file imagery.h.
Referenced by I_sc_add_cat(), I_sc_free_cats(), and I_sc_insert_scatt_data().
| int* scCats::cats_ids | 
(cat_idx->cat_id) array index is internal idx (position in cats_arr) and id is saved in it's position
Definition at line 154 of file imagery.h.
Referenced by I_sc_add_cat(), and I_sc_free_cats().
| int* scCats::cats_idxs | 
(cat_id->cat_idx) array index is id and internal idx is saved in it's position
Definition at line 156 of file imagery.h.
Referenced by I_sc_add_cat(), I_sc_free_cats(), and I_sc_insert_scatt_data().
| int scCats::n_a_cats | 
number of used/active categories
Definition at line 153 of file imagery.h.
Referenced by I_sc_add_cat(), and I_sc_free_cats().
| int scCats::n_bands | 
number of analyzed bands
Definition at line 149 of file imagery.h.
Referenced by I_sc_free_cats(), and I_sc_insert_scatt_data().
| int scCats::n_cats | 
number of allocated categories
Definition at line 147 of file imagery.h.
Referenced by I_sc_add_cat(), I_sc_free_cats(), and I_sc_insert_scatt_data().
| int scCats::n_scatts | 
number of possible scattter plots, which can be created from bands
Definition at line 150 of file imagery.h.
Referenced by I_sc_add_cat(), I_sc_free_cats(), and I_sc_insert_scatt_data().
| int scCats::type | 
SC_SCATT_DATA -> computed scatter plots, SC_SCATT_CONDITIONS -> set conditions for scatter plots to be computed
Definition at line 144 of file imagery.h.
Referenced by I_sc_free_cats(), and I_sc_insert_scatt_data().