forked from DeformableFriends/NeuralTracking
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This is an optimization of #6
- Project corners of forward-warped activation candidate blocks onto depth image
- Bin projected candidate blocks into BxB rectangles on the depth image by recording the depth range (two floats) of each forward-warped candidate block into each BxB bin. I suggest 4x4 pixels for the bin size, but this should be parameterized. Probably, need to experiment how many blocks tend to fall into each bin first to determine optimal range array size for each bin. Overflow should be ignored.
- Query pixel values for each block: if depth is within truncation distance + depth range of recorded block depth range, mark block to be allocated.
This reduces complexity from O(block_count * depth_sample_count) to O(bin_size * depth_sample_count) + O(block_count).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request