• Darijan Gudelj's avatar
    volume cropping · f55d37f0
    Darijan Gudelj authored
    Summary:
    TensoRF at step 2000 does volume croping and resizing.
    At those steps it calculates part of the voxel grid which has density big enough to have objects and resizes the grid to fit that object.
    Change is done on 3 levels:
    - implicit function subscribes to epochs and at specific epochs finds the bounding box of the object and calls resizing of the color and density voxel grids to fit it
    - VoxelGrid module calls cropping of the underlaying voxel grid and resizing to fit previous size it also adjusts its extends and translation to match wanted size
    - Each voxel grid has its own way of cropping the underlaying data
    
    Reviewed By: kjchalup
    
    Differential Revision: D39854548
    
    fbshipit-source-id: 5435b6e599aef1eaab980f5421d3369ee4829c50
    f55d37f0
test_voxel_grids.py 31.5 KB