Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

How do i remove hidden points based on an xyz and roll pitch value in pcd.hidden_point_removal(<viewpoint>, <radius>)?

Open Hamza-Robotics opened this issue 3 years ago • 2 comments

Checklist

My Question

My question is a follow-up question that was asked in #1346 however there were no answers so I will ask them here.

As the title states how do i remove hidden points based on an xyz and roll pitch value in pcd.hidden_point_removal(, )?

The values in viewpoint are in XYZ, correct?

Hamza-Robotics avatar Apr 24 '22 12:04 Hamza-Robotics

Hi, Did you solve this issue? I met same question as you, I tried to change parameters in camera_location[0,0,diameter], and found that maybe the first and second parameter can control the rotation of x and y. But I don't know how to let xyz or yaw,roll,pitch convert to camera_location

Zscozer avatar Sep 06 '22 08:09 Zscozer

Sadly I did not. Good luck with your problem.

It is very strange you cannot place a frame (xyz,rpy) yourself and this has been a problem that hasn't been solved for 1 year and a half now.

Hamza-Robotics avatar Sep 06 '22 09:09 Hamza-Robotics

I found that open3d's camera-location fixed viewpoint at the origin, and the hidden point removal depended on diameter

Zscozer avatar Sep 30 '22 02:09 Zscozer

I thought I solved this issue. The key was not to change the camera location, you should use roll pitch values to calculate the rotate matrix and translate matrix, then changed the object location.

Zscozer avatar Oct 12 '22 02:10 Zscozer

While changing the object location works for extrinsics, it does not help take into account the intrinsics of the camera, any update on how I could update camera intrinsics?

s-suraj-08 avatar Jul 07 '23 11:07 s-suraj-08