Skip to main content
. 2022 Sep 7;22(18):6774. doi: 10.3390/s22186774
Algorithm 1: Synthetic dataset generator.

Input: CAD models of empty furniture MCAD and clutterset

Output: furniture model depth image I3D with set of annotated oriented bounding boxes of storage volumes OBB



procedure Voxelization(MCAD)

▹ Process I

  •     Transform MCAD from mesh to voxel sapce

  •     return Mvoxel

  • end procedure

procedure Empty storage volume detection(Mvoxel)

▹ Process I

  •     Step 1. Compute occupancy grid

  •     Step 2. Compute occupancy distances

  •     Step 3. Detect free space cores

  •     Step 4. Detect empty storage volumes ESV

  •     Step 5. Prune empty storage volumes

  •     Step 6. Transform empty storage volumes from voxel to mesh space

  •     Step 7. Adjust detected axis-aligned bounding boundig boxes AABB to enclosed storage volumes

  •     return AABB

  • end procedure

procedure Synthetic scene generator(MCAD,AABB,clutterset)

▹ Process II

  •     Step 1. Scale MCAD using a random scale

  •     Step 2. Add random items from clutterset to each AABB

  •     Step 3. Place MCAD on a horizontal plane representing the floor

  •     Step 4. With P(wall) generate vertical plane behind MCAD representing a wall

  •     Step 5. Position virtual camera at TPoV facing MCAD

  •     Step 6. Render depth images I3D

  •     Step 7. Superpose simulated camera noise to I3D

  •     Step 8. Get oriented bounding boxes OBB from AABB and CPoV

  •     return I3D,OBB

  • end procedure