Apollo 10.0
自动驾驶开放平台
util.h 文件参考
#include <algorithm>
#include <fstream>
#include <memory>
#include <numeric>
#include <string>
#include <vector>
#include "modules/perception/common/base/blob.h"
#include "modules/perception/common/base/image.h"
#include "modules/perception/common/base/object.h"
#include "modules/perception/common/base/object_types.h"
util.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::camera
 

函数

bool apollo::perception::camera::Equal (float x, float target, float eps)
 
bool apollo::perception::camera::Equal (double x, double target, double eps)
 
template<typename T >
bool apollo::perception::camera::IsCovered (const base::Rect< T > &rect1, const base::Rect< T > &rect2, float thresh)
 
template<typename T >
bool apollo::perception::camera::IsCoveredHorizon (const base::Rect< T > &rect1, const base::Rect< T > &rect2, float thresh)
 
template<typename T >
bool apollo::perception::camera::IsCoveredVertical (const base::Rect< T > &rect1, const base::Rect< T > &rect2, float thresh)
 
template<typename T >
bool apollo::perception::camera::Contain (const std::vector< T > &array, const T &element)
 
template<typename T >
bool apollo::perception::camera::OutOfValidRegion (const base::BBox2D< T > box, const T width, const T height, const T border_size=0)
 
template<typename T >
bool apollo::perception::camera::OutOfValidRegion (const base::Rect< T > rect, const T width, const T height, const T border_size=0)
 
template<typename T >
void apollo::perception::camera::RefineBox (const base::Rect< T > &box_in, const T width, const T height, base::Rect< T > *box_out)
 
template<typename T >
void apollo::perception::camera::RefineBox (const base::BBox2D< T > &box_in, const T width, const T height, base::BBox2D< T > *box_out)
 
bool apollo::perception::camera::LoadAnchors (const std::string &path, std::vector< float > *anchors)
 
bool apollo::perception::camera::LoadTypes (const std::string &path, std::vector< base::ObjectSubType > *types)
 
bool apollo::perception::camera::LoadExpand (const std::string &path, std::vector< float > *expands)
 
bool apollo::perception::camera::ResizeCPU (const base::Blob< uint8_t > &src_blob, std::shared_ptr< base::Blob< float > > dst_blob, int stepwidth, int start_axis)
 
void apollo::perception::camera::FillObjectPolygonFromBBox3D (base::Object *object_ptr)
 
template<typename T >
void apollo::perception::camera::CalculateMeanAndVariance (const std::vector< T > &data, T *mean, T *variance)