图像尺寸改变
元素测试完成,图像改为80,140
This commit is contained in:
@@ -1,22 +1,42 @@
|
||||
#include "gl_data.h"
|
||||
|
||||
uint8_t (*Img_Gray)[MT9V03X_W];
|
||||
|
||||
int32_t pts_left[PT_MAXLEN][2];
|
||||
int32_t pts_right[PT_MAXLEN][2];
|
||||
int32_t pts_left_count;
|
||||
int32_t pts_right_count;
|
||||
int32_t pts_far_left[PT_MAXLEN][2];
|
||||
int32_t pts_far_right[PT_MAXLEN][2];
|
||||
int32_t pts_far_left_count;
|
||||
int32_t pts_far_right_count;
|
||||
|
||||
float pts_inv_l[PT_MAXLEN][2];
|
||||
float pts_inv_r[PT_MAXLEN][2];
|
||||
int32_t pts_inv_l_count;
|
||||
int32_t pts_inv_r_count;
|
||||
float pts_far_inv_l[PT_MAXLEN][2];
|
||||
float pts_far_inv_r[PT_MAXLEN][2];
|
||||
int32_t pts_far_inv_l_count;
|
||||
int32_t pts_far_inv_r_count;
|
||||
|
||||
float pts_filter_l[PT_MAXLEN][2];
|
||||
float pts_filter_r[PT_MAXLEN][2];
|
||||
int32_t pts_filter_l_count;
|
||||
int32_t pts_filter_r_count;
|
||||
float pts_far_filter_l[PT_MAXLEN][2];
|
||||
float pts_far_filter_r[PT_MAXLEN][2];
|
||||
int32_t pts_far_filter_l_count;
|
||||
int32_t pts_far_filter_r_count;
|
||||
|
||||
float pts_resample_left[PT_MAXLEN][2];
|
||||
float pts_resample_right[PT_MAXLEN][2];
|
||||
int32_t pts_resample_left_count;
|
||||
int32_t pts_resample_right_count;
|
||||
float pts_far_resample_left[PT_MAXLEN][2];
|
||||
float pts_far_resample_right[PT_MAXLEN][2];
|
||||
int32_t pts_far_resample_left_count;
|
||||
int32_t pts_far_resample_right_count;
|
||||
|
||||
float mid_left[PT_MAXLEN][2];
|
||||
float mid_right[PT_MAXLEN][2];
|
||||
@@ -28,12 +48,21 @@ float angle_new_left[PT_MAXLEN];
|
||||
float angle_new_right[PT_MAXLEN];
|
||||
int angle_new_left_num;
|
||||
int angle_new_right_num;
|
||||
float far_angle_new_left[PT_MAXLEN];
|
||||
float far_angle_new_right[PT_MAXLEN];
|
||||
int far_angle_new_left_num;
|
||||
int far_angle_new_right_num;
|
||||
|
||||
uint8_t mt9v03x_image_copy[MT9V03X_H][MT9V03X_W];
|
||||
|
||||
float angle_left[PT_MAXLEN];
|
||||
float angle_right[PT_MAXLEN];
|
||||
int angle_left_num;
|
||||
int angle_right_num;
|
||||
float far_angle_left[PT_MAXLEN];
|
||||
float far_angle_right[PT_MAXLEN];
|
||||
int far_angle_left_num;
|
||||
int far_angle_right_num;
|
||||
|
||||
int Lpt0_rpts0s_id;
|
||||
int Lpt1_rpts1s_id;
|
||||
@@ -41,6 +70,8 @@ bool Lpt0_found;
|
||||
bool Lpt1_found;
|
||||
int Lpt1[2];
|
||||
int Lpt0[2];
|
||||
int far_Lpt1[2];
|
||||
int far_Lpt0[2];
|
||||
|
||||
int Lpt_in0_rpts0s_id;
|
||||
int Lpt_in1_rpts1s_id;
|
||||
@@ -51,6 +82,8 @@ int Lpt_in0[2];
|
||||
|
||||
bool is_straight0;
|
||||
bool is_straight1;
|
||||
bool is_far_straight0;
|
||||
bool is_far_straight1;
|
||||
|
||||
bool is_turn0;
|
||||
bool is_turn1;
|
||||
|
||||
Reference in New Issue
Block a user