Skip to content

Commit e703e37

Browse files
committed
Enables symmetric ICP with normals
Adds normal estimation for both source and target point clouds to ensure compatibility with symmetric ICP. Symmetric ICP requires normals to properly function.
1 parent 9ee84f7 commit e703e37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/test/t/registration/test_registration.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ def test_icp_symmetric(device):
208208
supported_dtypes = [o3c.float32, o3c.float64]
209209
for dtype in supported_dtypes:
210210
source_t, target_t = get_pcds(dtype, device)
211+
212+
# Symmetric ICP requires normals for both source and target
213+
source_t.estimate_normals()
214+
target_t.estimate_normals()
211215

212216
source_legacy = source_t.to_legacy()
213217
target_legacy = target_t.to_legacy()

0 commit comments

Comments
 (0)