TEST 1: Sorting ten times to get 10 frequently occurring colors. No default values.
#define ITRI_MULTI_SAMPLE_MODE 1 
#if ITRI_MULTI_SAMPLE_MODE
#define ITRI_MULTI_SAMPLE_MODE_CANDIDATE_LIST_SIZE         10   // Can be any size
#define ITRI_MULTI_SAMPLE_MODE_ENCODING_CHOICE_THRESHOLD   0.1
#define ITRI_CAND_ESTABLISHMENT                            1    // 1:most frequently occurring colors from neighboring two lines
                                                                // 2:fixed selecting order from neighboring one line
                                                                // 3:previous table
                                                                // 4:first color is the most frequently occurring color, the rest is remaining neighboring colors
#define ITRI_DEFAULT_FROM_PALETTE                          0    // 1:default values from palette table
#endif



TEST 2: Sorting ten times to get 10 frequently occurring colors. Default values from previous palette table.
#define ITRI_MULTI_SAMPLE_MODE 1 
#if ITRI_MULTI_SAMPLE_MODE
#define ITRI_MULTI_SAMPLE_MODE_CANDIDATE_LIST_SIZE         10   // Can be any size
#define ITRI_MULTI_SAMPLE_MODE_ENCODING_CHOICE_THRESHOLD   0.1
#define ITRI_CAND_ESTABLISHMENT                            1    // 1:most frequently occurring colors from neighboring two lines
                                                                // 2:fixed selecting order from neighboring one line
                                                                // 3:previous table
                                                                // 4:first color is the most frequently occurring color, the rest is remaining neighboring colors
#define ITRI_DEFAULT_FROM_PALETTE                          1    // 1:default values from palette table
#endif



TEST 3: Sorting one time to get 1 frequently occurring colors. Get the rest of 9 colors in a fixed order. Default values from previous palette table.
#define ITRI_MULTI_SAMPLE_MODE 1 
#if ITRI_MULTI_SAMPLE_MODE
#define ITRI_MULTI_SAMPLE_MODE_CANDIDATE_LIST_SIZE         10   // Can be any size
#define ITRI_MULTI_SAMPLE_MODE_ENCODING_CHOICE_THRESHOLD   0.1
#define ITRI_CAND_ESTABLISHMENT                            4    // 1:most frequently occurring colors from neighboring two lines
                                                                // 2:fixed selecting order from neighboring one line
                                                                // 3:previous table
                                                                // 4:first color is the most frequently occurring color, the rest is remaining neighboring colors
#define ITRI_DEFAULT_FROM_PALETTE                          1    // 1:default values from palette table
#endif



