utils.Utils_box
Classes
UtilsBox
Functions
change_box3d
staticmethod
change_box3d(box3d)
| Parameters: |
|
|---|
| Returns: |
|
|---|
convert_box3d2corner_box
staticmethod
convert_box3d2corner_box(box3d: o3d.geometry.OrientedBoundingBox) -> numpy.ndarray
| Parameters: |
|
|---|
| Returns: |
|
|---|
convert_corner_box2box3d
staticmethod
convert_corner_box2box3d(corner: numpy.ndarray) -> o3d.geometry.OrientedBoundingBox
| Parameters: |
|
|---|
| Returns: |
|
|---|
convert_label_box3d2corner_box
staticmethod
convert_label_box3d2corner_box(label_boxes3d: numpy.ndarray) -> numpy.ndarray
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_box2d_center
staticmethod
get_box2d_center(box: List[float]) -> List[int]
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_box2d_from_image
staticmethod
get_box2d_from_image(image_obj: numpy.ndarray, pos_image: List[int]) -> List[float]
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_box2d_from_points
staticmethod
get_box2d_from_points(pts: numpy.ndarray) -> List[float]
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_euler_from_rotate_matrix
staticmethod
get_euler_from_rotate_matrix(R: numpy.ndarray) -> List[float]
| Parameters: |
|
|---|
| Returns: |
|
|---|
iou_2d
staticmethod
iou_2d(box0: List[float], box1: List[float]) -> float
| Parameters: |
|
|---|
| Returns: |
|
|---|
rotate_points_along_z
staticmethod
rotate_points_along_z(points: torch.Tensor, angle: torch.Tensor) -> numpy.ndarray
| Parameters: |
|
|---|
| Returns: |
|
|---|
trunc_box2d_from_img
staticmethod
trunc_box2d_from_img(box: List[float], max_x: int, max_y: int) -> List[float]
| Parameters: |
|
|---|
| Returns: |
|
|---|