Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export the dynamic and static point cloud as *.ply file ? #12

Open
Winjoy opened this issue Jun 27, 2024 · 1 comment
Open

How to export the dynamic and static point cloud as *.ply file ? #12

Winjoy opened this issue Jun 27, 2024 · 1 comment

Comments

@Winjoy
Copy link

Winjoy commented Jun 27, 2024

Hi,

I want to export the dynamic and static point cloud as ply files, and I find there are three lines related code in scene_reconstruction() which are commented out.

    # save 静动态点云分离
    # pcd_dir = os.path.join(eval_dir, "split_pcd")
    # os.makedirs(eval_dir,exist_ok=True)
    # gaussians.save_ply_split(pcd_dir)

After exploring the definition of "save_ply_split(self, dynamic_pcd_path, static_pcd_path, dx_list, visibility_filter)", I was confused with two problems:

  1. Is this function used to save/export the optimized gaussian point cloud as ply files with dynamic and static parts splited ?
  2. What is the physical meaning of the input param "dx_list" ? what is its data structure and element content ? How to get such a dx_list to pass to this function ? More detailed info is welcomed.

Hoping to get your replies, thanks in advance.

@nnanhuang
Copy link
Owner

Hello, these three lines of code are some of my previous attempts. I haven't completely cleaned up the code yet, so some previous code remains. dx_list is a list that stores position deformation values. I tried to determine static and dynamic points based on this value. If you want to store them separately as point clouds, you can try modifying this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants