Apollo 10.0
自动驾驶开放平台
|
#include <affine_transform.h>
Public 成员函数 | |
AffineTransform () | |
~AffineTransform () | |
bool | Init (cv::Size size, int type) |
init function to the class | |
int | GetCoeffs (const double heading, const cv::Point2i ¢er_point, const double scale, double coeffs[2][3]) |
calculate the coeffs martix | |
int | AffineTransformsFromMat (const cv::Mat &input_img, const cv::Point2i ¢er_point, const double heading, const double scale, cv::Mat *output_img) |
perform the affine transform from cv mat | |
在文件 affine_transform.h 第 30 行定义.
apollo::prediction::AffineTransform::AffineTransform | ( | ) |
在文件 affine_transform.cc 第 31 行定义.
apollo::prediction::AffineTransform::~AffineTransform | ( | ) |
在文件 affine_transform.cc 第 33 行定义.
int apollo::prediction::AffineTransform::AffineTransformsFromMat | ( | const cv::Mat & | input_img, |
const cv::Point2i & | center_point, | ||
const double | heading, | ||
const double | scale, | ||
cv::Mat * | output_img | ||
) |
perform the affine transform from cv mat
input_img | the input of image |
center_point | rotation point of the image |
heading | the heading angle |
scale | the scale of affine transform |
output_img | output buffer |
在文件 affine_transform.cc 第 76 行定义.
int apollo::prediction::AffineTransform::GetCoeffs | ( | const double | heading, |
const cv::Point2i & | center_point, | ||
const double | scale, | ||
double | coeffs[2][3] | ||
) |
calculate the coeffs martix
heading | the heading angle |
center_point | rotation point of the image |
scale | the scale of affine transform |
coeffs | output coeffs martix |
在文件 affine_transform.cc 第 56 行定义.
bool apollo::prediction::AffineTransform::Init | ( | cv::Size | size, |
int | type | ||
) |
init function to the class
size | size of the image |
type | the image format type |
在文件 affine_transform.cc 第 41 行定义.