Following the project proposal review, the following methodological improvements were implemented:
- Execution Time Measurement: Switched to Wall-Clock Time (
time.perf_counter()) as per Section 2.3.6 of the project guidelines. This metric captures the full elapsed time perceived by the user, including system overhead and memory operations, which is more relevant for real-world performance analysis than CPU time. To ensure accuracy:- Warm-up: Each algorithm is run once before timing to mitigate JIT/caching effects.
- Repetitions: Measurements are averaged over 5 repetitions to reduce noise.
- Geometric Error Metric: Implemented Two-Sided Hausdorff Distance (
max(d(A,B), d(B,A))). - Confidence Intervals: 95% Confidence Intervals (CI) are calculated for all metrics.
- Scope Refinement: The "Simple" algorithm (Isotropic Remeshing) was removed to focus the study strictly on Decimation algorithms (QEM vs. Clustering), isolating the trade-off between speed and geometric accuracy without confounding topological regularization.
Following the project proposal review, the following methodological improvements were implemented:
- Execution Time Measurement: Switched to Wall-Clock Time (
time.perf_counter()) as per Section 2.3.6 of the project guidelines. This metric captures the full elapsed time perceived by the user, including system overhead and memory operations, which is more relevant for real-world performance analysis than CPU time. To ensure accuracy:- Warm-up: Each algorithm is run once before timing to mitigate JIT/caching effects.
- Repetitions: Measurements are averaged over 5 repetitions to reduce noise.
- Geometric Error Metric: Implemented Two-Sided Hausdorff Distance (
max(d(A,B), d(B,A))). - Confidence Intervals: 95% Confidence Intervals (CI) are calculated for all metrics.
- Scope Refinement: The "Simple" algorithm (Isotropic Remeshing) was removed to focus the study strictly on Decimation algorithms (QEM vs. Clustering), isolating the trade-off between speed and geometric accuracy without confounding topological regularization.
| Algorithm | Mesh Type | Time (s) [Mean ± SD] | Time 95% CI | Hausdorff Dist [Mean ± SD] | HD 95% CI |
|---|---|---|---|---|---|
| Clustering | Clean CAD | 0.0049 ± 0.0037 | (0.0035, 0.0063) | 0.0058 ± 0.0056 | (0.0038, 0.0079) |
| Organic Scanned | 0.0317 ± 0.0620 | (0.0085, 0.0548) | 0.0128 ± 0.0118 | (0.0084, 0.0173) | |
| QEM | Clean CAD | 0.2589 ± 0.1780 | (0.1925, 0.3254) | 0.0339 ± 0.0606 | (0.0113, 0.0566) |
| Organic Scanned | 1.2904 ± 1.7175 | (0.6491, 1.9317) | 0.0060 ± 0.0065 | (0.0035, 0.0084) |
We performed a Three-Way ANOVA to analyze the effects of Algorithm, Mesh Type, and Decimation Level (50% vs 90%) on Execution Time and Geometric Fidelity.
-
Time:
-
QEM on Organic Scanned meshes at 90% decimation is significantly slower than all other groups (
$p < 0.001$ ).
-
QEM on Organic Scanned meshes at 90% decimation is significantly slower than all other groups (
-
Hausdorff Distance:
-
QEM on Clean CAD showed a significant increase in error when moving from 50% to 90% decimation (
$p < 0.001$ ). -
Clustering did not show a statistically significant degradation in Hausdorff Distance between 50% and 90% for either mesh type (
$p > 0.9$ ). - Insight: QEM's error explodes on CAD models at extreme decimation (90%), likely due to the loss of critical features that QEM tries to preserve but fails when the budget is too low. Clustering remains "consistently mediocre" but stable.
-
QEM on Clean CAD showed a significant increase in error when moving from 50% to 90% decimation (
-
Speed: Vertex Clustering is consistently orders of magnitude faster (
$p < 0.001$ ), especially for complex organic meshes. -
Accuracy & Stability:
- At 50% decimation, both algorithms perform comparably.
- At 90% decimation, QEM struggles with Clean CAD models, showing a significant spike in geometric error (
$p < 0.001$ ). - Clustering is remarkably stable; its error does not significantly increase even at 90% reduction.
-
Recommendation:
- Moderate Reduction (50%): Use QEM if topology preservation is key, otherwise Clustering for speed.
- Extreme Reduction (90%): Vertex Clustering is the superior choice. It is faster and statistically more robust in terms of geometric error stability than QEM for CAD models in this dataset.
-
Non-normality: Significant violations of normality assumptions were observed (Shapiro-Wilk
$p < 0.05$ ). However, ANOVA is generally robust to this given the balanced design. -
Sample Size:
$n=15$ per group (Clean CAD),$n=15$ per group (Organic). - Metric Scope: We only measured Hausdorff Distance. QEM might still be superior in preserving specific topological features or sharp edges that Hausdorff Distance averages out.