DeepSDFStruct.deep_sdf.metrics.mesh_to_analytical#
Mesh-to-Analytical SDF Evaluation#
This module provides functions for evaluating mesh quality by computing SDF values at mesh vertices using ground truth analytical SDFs.
This is useful for: - Quantifying reconstruction accuracy - Measuring surface deviation - Validating mesh generation algorithms
Functions
|
Calculates the SDF for every vertex on the mesh |
- DeepSDFStruct.deep_sdf.metrics.mesh_to_analytical.mesh_to_analytical(gt_sdf, gen_mesh)#
Calculates the SDF for every vertex on the mesh
- Return type:
float- Parameters:
gt_sdf (DeepSDFStruct.SDF.SDFBase)
gen_mesh (DeepSDFStruct.mesh.torchSurfMesh)