Apollo 11.0
自动驾驶开放平台
apollo::perception::trafficlight::PadResizeParam结构体 参考

#include <traffic_light_detection_yolox.h>

apollo::perception::trafficlight::PadResizeParam 的协作图:

Public 成员函数

 PadResizeParam (int l_pad=0, int r_pad=0, int t_pad=0, int b_pad=0, int r_w=0, int r_h=0, float s=1.f, int r_x=0, int r_y=0)
 
void Reset ()
 

Public 属性

int left_pad = 0
 
int right_pad = 0
 
int top_pad = 0
 
int bottom_pad = 0
 
int roi_width = 0
 
int roi_height = 0
 
int roi_x = 0
 
int roi_y = 0
 
float scale = 1.f
 

详细描述

在文件 traffic_light_detection_yolox.h 第 41 行定义.

构造及析构函数说明

◆ PadResizeParam()

apollo::perception::trafficlight::PadResizeParam::PadResizeParam ( int  l_pad = 0,
int  r_pad = 0,
int  t_pad = 0,
int  b_pad = 0,
int  r_w = 0,
int  r_h = 0,
float  s = 1.f,
int  r_x = 0,
int  r_y = 0 
)
inline

成员函数说明

◆ Reset()

void apollo::perception::trafficlight::PadResizeParam::Reset ( )
inline

在文件 traffic_light_detection_yolox.h 第 71 行定义.

71 {
72 left_pad = 0;
73 right_pad = 0;
74 top_pad = 0;
75 bottom_pad = 0;
76 roi_width = 0;
77 roi_height = 0;
78 scale = 1.f;
79 roi_x = 0;
80 roi_y = 0;
81 }

类成员变量说明

◆ bottom_pad

int apollo::perception::trafficlight::PadResizeParam::bottom_pad = 0

在文件 traffic_light_detection_yolox.h 第 45 行定义.

◆ left_pad

int apollo::perception::trafficlight::PadResizeParam::left_pad = 0

在文件 traffic_light_detection_yolox.h 第 42 行定义.

◆ right_pad

int apollo::perception::trafficlight::PadResizeParam::right_pad = 0

在文件 traffic_light_detection_yolox.h 第 43 行定义.

◆ roi_height

int apollo::perception::trafficlight::PadResizeParam::roi_height = 0

在文件 traffic_light_detection_yolox.h 第 47 行定义.

◆ roi_width

int apollo::perception::trafficlight::PadResizeParam::roi_width = 0

在文件 traffic_light_detection_yolox.h 第 46 行定义.

◆ roi_x

int apollo::perception::trafficlight::PadResizeParam::roi_x = 0

在文件 traffic_light_detection_yolox.h 第 48 行定义.

◆ roi_y

int apollo::perception::trafficlight::PadResizeParam::roi_y = 0

在文件 traffic_light_detection_yolox.h 第 49 行定义.

◆ scale

float apollo::perception::trafficlight::PadResizeParam::scale = 1.f

在文件 traffic_light_detection_yolox.h 第 50 行定义.

◆ top_pad

int apollo::perception::trafficlight::PadResizeParam::top_pad = 0

在文件 traffic_light_detection_yolox.h 第 44 行定义.


该结构体的文档由以下文件生成: