Commit 8bc7b77
committed
Increase accuracy of OctreePointCloudCompression
Change decoding so that the xyz coordinates are closer to the original values. The reasoning is that, if a value is known to be between 0 and 1, using 0.5 is a better approximation than using 0 (like before). In experiments, I measure a decrease in the point-to-point error of 7-20 percent for profiles MED_RES_ONLINE_COMPRESSION_WITHOUT_COLOR, MED_RES_ONLINE_COMPRESSION_WITH_COLOR, and MED_RES_OFFLINE_COMPRESSION_WITH_COLOR, and a decrease of up to 50 percent for profiles HIGH_RES_ONLINE_COMPRESSION_WITHOUT_COLOR, HIGH_RES_ONLINE_COMPRESSION_WITH_COLOR, and HIGH_RES_OFFLINE_COMPRESSION_WITH_COLOR. For the other profiles, this change has no effect, because they enable voxel grid downsampling.1 parent 579dad7 commit 8bc7b77
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments