Skip to content

Commit

Permalink
Fix tensor EstimatePointWiseNormalsWithFastEigen3x3 (#6980)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaloi authored Oct 21, 2024
1 parent d829996 commit 6b93696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
- Fix projection of point cloud to Depth/RGBD image if no position attribute is provided (PR #6880)
- Support lowercase types when reading PCD files (PR #6930)
- Fix visualization/draw ICP example and add warnings (PR #6933)
- Fix tensor EstimatePointWiseNormalsWithFastEigen3x3 (PR #6980)
- Fix alpha shape reconstruction if alpha too small for point scale (PR #6998)
- Fix render to depth image on Apple Retina displays (PR #7001)

Expand Down
4 changes: 2 additions & 2 deletions cpp/open3d/t/geometry/kernel/PointCloudImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -956,8 +956,8 @@ OPEN3D_HOST_DEVICE void EstimatePointWiseNormalsWithFastEigen3x3(
normals_ptr[1] = 0.0;
normals_ptr[2] = 0.0;
return;
} else if (covariance_ptr[0] < covariance_ptr[4] &&
covariance_ptr[0] < covariance_ptr[8]) {
} else if (covariance_ptr[4] < covariance_ptr[0] &&
covariance_ptr[4] < covariance_ptr[8]) {
normals_ptr[0] = 0.0;
normals_ptr[1] = 1.0;
normals_ptr[2] = 0.0;
Expand Down

0 comments on commit 6b93696

Please sign in to comment.