mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
added relative measures in the Hausdorff distance
This commit is contained in:
parent
1ea5c087cd
commit
c670a484a3
@ -870,10 +870,15 @@ case FP_CLUSTERED_SAMPLING :
|
||||
if(sampleFace)
|
||||
tri::SurfaceSampling<CMeshO,HausdorffSampler>::Montecarlo(mm0->cm,hs,par.getInt("SampleNum"));
|
||||
|
||||
Log("Hausdorf Distance computed");
|
||||
Log("Hausdorff Distance computed");
|
||||
Log(" Sample %i",hs.n_total_samples);
|
||||
Log(" min : %f max %f",hs.getMinDist(),hs.getMaxDist());
|
||||
Log(" mean : %f RMS : %f",hs.getMeanDist(),hs.getRMSDist());
|
||||
float d = mm0->cm.bbox.Diag();
|
||||
Log("\nValues w.r.t. BBox Diag (%f)",d);
|
||||
Log(" min : %f max %f",hs.getMinDist()/d,hs.getMaxDist()/d);
|
||||
Log(" mean : %f RMS : %f",hs.getMeanDist()/d,hs.getRMSDist()/d);
|
||||
|
||||
|
||||
if(saveSampleFlag)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user