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

Question about off-surface SDF GT values #69

Open
Deok-min opened this issue Mar 18, 2025 · 0 comments
Open

Question about off-surface SDF GT values #69

Deok-min opened this issue Mar 18, 2025 · 0 comments

Comments

@Deok-min
Copy link

Hi,

Thank you for sharing your great work! I have a question regarding the way the SDF ground truth (GT) is generated in your code. Specifically, I noticed the following snippet:

//  class PointCloud in dataio.py (line 435)
sdf = np.zeros((total_samples, 1))  # on-surface = 0
sdf[self.on_surface_points:, :] = -1  # off-surface = -1

Typically, an SDF is defined as a signed distance function, where off-surface points have positive values for the exterior and negative values for the interior. However, in this implementation, the off-surface SDF GT values are set to -1. Could you explain the reasoning behind this choice? Is there a specific consideration or benefit to setting off-surface values to -1 rather than using the actual signed distance?

Looking forward to your insights. Thanks in advance!

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

1 participant