TI Autonomous Driving Algorithms (TIADALG) Library User Guide
tiadalg_image_preprocessing_test.h File Reference
#include <../common/tiadalg_test_interface.h>

Go to the source code of this file.

Data Structures

struct  tiadalg_image_preprocessing_testParams_t
 

Variables

uint8_t test_img_1 [6 *3 *3]
 
uint8_t test_img_2 [6 *3 *3]
 
uint8_t test_img_3 [6 *3 *3]
 
uint8_t test_img_4 [10 *4+10 *2]
 
uint8_t test_img_5 [10 *4 *3]
 
uint8_t test_img_6 [10 *4 *3]
 
static int32_t num_planes = 3
 
static float mean_pixel1 [3] = {103.94f,116.78f,123.68f}
 
static float scale_val1 [3] = {1.2f, 1.5f, 2.6f}
 
static float mean_pixel2 [3] = {0.0f, 0.0f, 0.0f}
 
static float scale_val2 [3] = {1.0f, 1.0f, 1.0f}
 
static tiadalg_image_preprocessing_testParams_t test_cases []
 

Variable Documentation

◆ test_img_1

uint8_t test_img_1[6 *3 *3]
Initial value:
=
{
40, 80, 120, 160, 200, 240, 255, 0, 254,
40, 80, 120, 160, 200, 240, 255, 0, 254,
40, 80, 120, 160, 200, 240, 255, 0, 254,
40, 80, 120, 160, 200, 240, 255, 0, 254,
40, 80, 120, 160, 200, 240, 255, 0, 254,
40, 80, 120, 160, 200, 240, 255, 0, 254
}

◆ test_img_2

uint8_t test_img_2[6 *3 *3]
Initial value:
=
{
40, 160,255,
40, 160,255,
40, 160,255,
40, 160,255,
40, 160,255,
40, 160,255,
80, 200,0,
80, 200,0,
80, 200,0,
80, 200,0,
80, 200,0,
80, 200,0,
120,240,254,
120,240,254,
120,240,254,
120,240,254,
120,240,254,
120,240,254
}

◆ test_img_3

uint8_t test_img_3[6 *3 *3]
Initial value:
=
{
120,240,254,120,240,254,120,240,254,
120,240,254,120,240,254,120,240,254,
80, 200,0,80, 200,0,80, 200,0,
80, 200,0,80, 200,0,80, 200,0,
40, 160,255,40, 160,255,40, 160,255,
40, 160,255,40, 160,255,40, 160,255
}

◆ test_img_4

uint8_t test_img_4[10 *4+10 *2]
Initial value:
=
{
40, 80, 120, 160, 200, 240, 255, 0, 254, 128,
40, 80, 120, 160, 200, 240, 255, 0, 254, 128,
40, 80, 120, 160, 200, 240, 255, 0, 254, 128,
40, 80, 120, 160, 200, 240, 255, 0, 254, 128,
40, 80, 120, 160, 200, 240, 255, 0, 254, 128,
40, 80, 120, 160, 200, 240, 255, 0, 254, 128
}

◆ test_img_5

uint8_t test_img_5[10 *4 *3]
Initial value:
=
{
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
}

◆ test_img_6

uint8_t test_img_6[10 *4 *3]
Initial value:
=
{
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
0,0,104,151,255,255,255,237,255,255,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
101,147,98,144,95,141,255,35,227,81,
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130,
0,0,172,218,255,255,73,0,255,130
}

◆ num_planes

int32_t num_planes = 3
static

◆ mean_pixel1

float mean_pixel1[3] = {103.94f,116.78f,123.68f}
static

◆ scale_val1

float scale_val1[3] = {1.2f, 1.5f, 2.6f}
static

◆ mean_pixel2

float mean_pixel2[3] = {0.0f, 0.0f, 0.0f}
static

◆ scale_val2

float scale_val2[3] = {1.0f, 1.0f, 1.0f}
static

◆ test_cases


© Copyright 2018 Texas Instruments Incorporated. All rights reserved.
Document generated by doxygen 1.8.6