GrafX2 2.9.3227
The ultimate 256-color painting program
|
Occurence table. More...
#include <op_c.h>
Data Fields | |
int | nbb_r |
int | nbb_g |
int | nbb_b |
int | rng_r |
int | rng_g |
int | rng_b |
int | dec_r |
int | dec_g |
int | dec_b |
int | red_r |
int | red_g |
int | red_b |
int * | table |
Occurence table.
This table is used to count the occurrence of an (RGB) pixel value in the source 24bit image. These count are then used by the median cut algorithm to decide which cluster to split.
int T_Occurrence_table::nbb_r |
Referenced by OT_new().
int T_Occurrence_table::nbb_g |
Referenced by OT_new().
int T_Occurrence_table::nbb_b |
Referenced by OT_new().
int T_Occurrence_table::rng_r |
Referenced by CS_Init(), OT_count_colors(), OT_init(), and OT_new().
int T_Occurrence_table::rng_g |
Referenced by CS_Init(), OT_count_colors(), OT_init(), and OT_new().
int T_Occurrence_table::rng_b |
Referenced by CS_Init(), OT_count_colors(), OT_init(), and OT_new().
int T_Occurrence_table::dec_r |
Referenced by Cluster_pack(), OT_get(), OT_inc(), and OT_new().
int T_Occurrence_table::dec_g |
Referenced by Cluster_pack(), OT_get(), OT_inc(), and OT_new().
int T_Occurrence_table::dec_b |
Referenced by Cluster_pack(), OT_get(), OT_inc(), and OT_new().
int T_Occurrence_table::red_r |
Referenced by Cluster_compute_hue(), CT_set_trad(), OT_inc(), and OT_new().
int T_Occurrence_table::red_g |
Referenced by Cluster_compute_hue(), CT_set_trad(), OT_inc(), and OT_new().
int T_Occurrence_table::red_b |
Referenced by Cluster_compute_hue(), CT_set_trad(), OT_inc(), and OT_new().
int* T_Occurrence_table::table |
Referenced by Cluster_pack(), OT_count_colors(), OT_delete(), OT_get(), OT_inc(), OT_init(), and OT_new().