Anatomy Approximation Analysis

版本 1.0.3 (27.9 KB) 作者: Carina Micheler
MATLAB class for multi-sphere approximation of complex geometries and comparison of multi-sphere models
6.0 次下载
更新时间 2025/9/3

查看许可证

The MATLAB class Approxi provides a framework for approximating anatomical volume models using clumped-sphere models with iterative scaling to adapt to target volumes and model comparison. Developed for applications in orthopaedics, biomechanics, and computational geometry.
Key Features:
Sphere Model Generation
1. Mulit-Sphere Model Generation: Interface with Sihaeri's clumped sphere algorithm
2. Volume Scaling
  • Voxel-based intersection of sphere models and reference geometries.
  • Iterative scaling of sphere models to match target volumes.
3. Model Comparison: Frequency analysis of voxel occupancy across different models (multiple scoring metrics)
4. Geometric Analysis: Vertex-to-nearest-neighbour distance mapping between original surface models and sphere models (with color-coded results).
How to Use:
1. Code structure: The Approxi Class can be integrated into a corresponding main script. The key parts of the code are extracted into individual functions for reuse.
2. Import: Import your STL (or mesh) into MATLAB and make sure required functions like DEM-clumpedSphere (populateSpheres) and inpolyhedron are added to your MATLAB path
3. Generate Multi-sphere Models: Create multi-sphere models from input meshes using the DEM-clumpedSphere method
4. Run Volume Intersection: Compute voxel-based intersections between multi-sphere models and a reference geometry and adjust multi-sphere models to match target volumes
5. Compare and visualize Models: Compare the voxel frequency across multiple multi-sphere models and calculate the distances between the multi-sphere models and the original surface model for 2D/3D visualisation
Use Cases:
  • Orthopaedic and biomechanical volume modelling
  • Shape approximation of complex structures with multi-sphere models
  • Model selection based on voxel-based fit metrics
  • Distance-based analysis between patient-specific geometries and approximations
Benefits:
  • Mulit-Sphere Model for complex geometries
  • Scalable models (voxel-based) – automatically adjusted to target volumes
  • Visualization-ready outputs (distance maps)
Keywords:
sphere approximation, clumped spheres, volume intersection, voxel grid, biomechanics, orthopaedics, mesh analysis, distance mapping
Compatibility:
These class is compatible with MATLAB and can be easily integrated into existing workflows to generate multi-sphere models from anatomical models. It is optimised for MATLAB 2024a but should be compatible with the most recent versions of MATLAB.
Disclaimer:
This MATLAB class is provided on the MATLAB File Exchange for educational and research purposes. Users should ensure that the class meets their specific analysis requirements and may need to adapt it accordingly. The code is provided "as-is," and the author assumes no responsibility for its use or any consequences thereof.
References:
  • S. Haeri, ‘‘Optimisation of blade type spreaders for powder bed preparation in Additive Manufacturing using DEM simulations,’’ Powder Technology, vol. 321, pp. 94–104, 2017. [Online]. Available: http://dx.doi.org/10.1016/j.powtec.2017.08.011
  • S. Haeri, ‘‘sihaeri/DEM-ClumpedSphere,’’ MATLAB Central File Exchange, 2025. [Online]. Available: https://de.mathworks.com/matlabcentral/fileexchange/67754-sihaeri-dem-clumpedsphere

引用格式

Carina Micheler (2025). Anatomy Approximation Analysis (https://www.mathworks.com/matlabcentral/fileexchange/181340-anatomy-approximation-analysis), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2024a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Anatomy-Approximation-Analysis

Anatomy-Approximation-Analysis/Functions

Anatomy-Approximation-Analysis/individualFunctions

版本 已发布 发行说明
1.0.3

Update description

1.0.2

Update files

1.0.1

Update description

1.0.0