1. 18 Dec, 2021 1 commit
    • Georgia Gkioxari's avatar
      small fix for iou3d · ccfb72cc
      Georgia Gkioxari authored
      Summary:
      A small numerical fix for IoU for 3D boxes, fixes GH #992
      
      * Adds a check for boxes with zero side areas (invalid boxes)
      * Fixes numerical issue when two boxes have coplanar sides
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D33195691
      
      fbshipit-source-id: 8a34b4d1f1e5ec2edb6d54143930da44bdde0906
      ccfb72cc
  2. 16 Oct, 2021 1 commit
    • Jeremy Reizenstein's avatar
      defaulted grid_sizes in points2vols · 34b1b4ab
      Jeremy Reizenstein authored
      Summary: Fix #873, that grid_sizes defaults to the wrong dtype in points2volumes code, and mask doesn't have a proper default.
      
      Reviewed By: nikhilaravi
      
      Differential Revision: D31503545
      
      fbshipit-source-id: fa32a1a6074fc7ac7bdb362edfb5e5839866a472
      34b1b4ab
  3. 08 Oct, 2021 1 commit
    • Nikhila Ravi's avatar
      IOU box3d epsilon fix · 6dfa3269
      Nikhila Ravi authored
      Summary: The epsilon value is important for determining whether vertices are inside/outside a plane.
      
      Reviewed By: gkioxari
      
      Differential Revision: D31485247
      
      fbshipit-source-id: 5517575de7c02f1afa277d00e0190a81f44f5761
      6dfa3269
  4. 30 Sep, 2021 2 commits
    • Nikhila Ravi's avatar
      (new) CUDA IoU for 3D boxes · ff8d4762
      Nikhila Ravi authored
      Summary: CUDA implementation of 3D bounding box overlap calculation.
      
      Reviewed By: gkioxari
      
      Differential Revision: D31157919
      
      fbshipit-source-id: 5dc89805d01fef2d6779f00a33226131e39c43ed
      ff8d4762
    • Nikhila Ravi's avatar
      C++ IoU for 3D Boxes · 53266ec9
      Nikhila Ravi authored
      Summary: C++ Implementation of algorithm to compute 3D bounding boxes for batches of bboxes of shape (N, 8, 3) and (M, 8, 3).
      
      Reviewed By: gkioxari
      
      Differential Revision: D30905190
      
      fbshipit-source-id: 02e2cf025cd4fa3ff706ce5cf9b82c0fb5443f96
      53266ec9
  5. 29 Sep, 2021 1 commit
    • Nikhila Ravi's avatar
      IoU for 3D boxes · 2293f1fe
      Nikhila Ravi authored
      Summary:
      I have implemented an exact solution for 3D IoU of oriented 3D boxes.
      
      This file includes:
      * box3d_overlap: which computes the exact IoU of box1 and box2
      * box3d_overlap_sampling: which computes an approximate IoU of box1 and box2 by sampling points within the boxes
      
      Note that both implementations currently do not support batching.
      
      Our exact IoU implementation is based on the fact that the intersecting shape of the two 3D boxes will be formed by segments of the surface of the boxes. Our algorithm computes these segments by reasoning whether triangles of one box are within the second box and vice versa. We deal with intersecting triangles by clipping them.
      
      Reviewed By: gkioxari
      
      Differential Revision: D30667497
      
      fbshipit-source-id: 2f747f410f90b7f854eeaf3036794bc3ac982917
      2293f1fe