Skip to content

Increase accuracy of OctreePointCloudCompression#6273

Merged
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:octree_compression2
Apr 27, 2025
Merged

Increase accuracy of OctreePointCloudCompression#6273
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
mvieth:octree_compression2

Conversation

@mvieth
Copy link
Member

@mvieth mvieth commented Apr 23, 2025

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.

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.
@mvieth mvieth added changelog: enhancement Meta-information for changelog generation module: octree module: io labels Apr 23, 2025
@mvieth mvieth merged commit ac9efcc into PointCloudLibrary:master Apr 27, 2025
13 checks passed
@mvieth mvieth deleted the octree_compression2 branch April 27, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: enhancement Meta-information for changelog generation module: io module: octree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants