UnsupervisedPointCloudReconstruction icon indicating copy to clipboard operation
UnsupervisedPointCloudReconstruction copied to clipboard

How to recretae the sphere.npy for larger point clouds of size more than 2048 points

Open prashkmr opened this issue 3 years ago • 2 comments

Hi,

Very impressed to see this work and the results.

I was wondeing whether the sphere.npy strcture can be changed when using point clouds of size more than 2048.

How to recreate the spere.npy for a point cloud of size 5000,3. Eagerly awaiting for your response.

prashkmr avatar Dec 03 '22 13:12 prashkmr

The sphere.npy is created with an algorithm using spherical coordinates.

  1. Randomly set a $\theta$ in $0 \sim 2\pi$ and a $\phi$ in $-\pi/2 \sim \pi/2$.
  2. Obtain $x$, $y$, and $z$ as
  • $x = \sin\phi \cos\theta$
  • $y = \sin\phi \sin\theta$
  • $z = \cos\phi$

You can put as many points as you like and sample them into the number you desire with farthest point sampling (FPS).

antao97 avatar Dec 05 '22 03:12 antao97

I have a question: The method you provided seems unable to ensure uniformity on the spherical surface. @antao97

YazhenHan avatar Jan 25 '24 09:01 YazhenHan