20#include "opencv2/opencv.hpp"
32void BevFormerResize(cv::Mat *img, cv::Mat *img_n,
int width,
int height);
43void BevFormerCrop(cv::Mat *img, cv::Mat *img_n,
int x,
int y,
int width,
55 const std::vector<float> &
std,
float scale,
void BevFormerCrop(cv::Mat *img, cv::Mat *img_n, int x, int y, int width, int height)
Image crop function
void BevFormerResize(cv::Mat *img, cv::Mat *img_n, int width, int height)
Image resize function
void BevFormerNormalize(const std::vector< float > &mean, const std::vector< float > &std, float scale, cv::Mat *img)
Image normalize function