ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
IoUImpl.h File Reference
#include <math.h>
#include "Macro.h"
#include "cloudViewer/core/CUDAUtils.h"
Include dependency graph for IoUImpl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cloudViewer::ml::contrib::Point
 

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::ml
 
 cloudViewer::ml::contrib
 

Functions

CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::Cross (const Point &a, const Point &b)
 
CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::Cross (const Point &p1, const Point &p2, const Point &p0)
 
CLOUDVIEWER_HOST_DEVICE int cloudViewer::ml::contrib::CheckRectCross (const Point &p1, const Point &p2, const Point &q1, const Point &q2)
 
CLOUDVIEWER_HOST_DEVICE int cloudViewer::ml::contrib::CheckInBox2D (const float *box, const Point &p)
 
CLOUDVIEWER_HOST_DEVICE int cloudViewer::ml::contrib::Intersection (const Point &p1, const Point &p0, const Point &q1, const Point &q0, Point &ans)
 
CLOUDVIEWER_HOST_DEVICE void cloudViewer::ml::contrib::RotateAroundCenter (const Point &center, const float angle_cos, const float angle_sin, Point &p)
 
CLOUDVIEWER_HOST_DEVICE int cloudViewer::ml::contrib::PointCmp (const Point &a, const Point &b, const Point &center)
 
CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::BoxOverlap (const float *box_a, const float *box_b)
 
CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::IoUBev2DWithMinAndMax (const float *box_a, const float *box_b, bool intersection_only=false)
 (x_min, z_min, x_max, z_max, y_rotate) More...
 
CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::IoUBev2DWithCenterAndSize (const float *box_a, const float *box_b, bool intersection_only=false)
 (x_center, z_center, x_size, z_size, y_rotate) More...
 
CLOUDVIEWER_HOST_DEVICE float cloudViewer::ml::contrib::IoU3DWithCenterAndSize (const float *box_a, const float *box_b)
 (x_center, y_max, z_center, x_size, y_size, z_size, y_rotate) More...
 

Variables

constexpr int cloudViewer::ml::contrib::NMS_BLOCK_SIZE = sizeof(uint64_t) * 8
 
constexpr float cloudViewer::ml::contrib::EPS = static_cast<float>(1e-8)