mesh_from_bitmap_matlab
版本 1.4 (246.4 KB) 作者:
Thomas Guillod
MATLAB Code for Creating a Mesh from a Bitmap Image
MATLAB Code for Creating a Mesh from a Bitmap Image
This MATLAB code generates a mesh from a black and white bitmap image:
- Find the contour of a black and white bitmap image (raster)
- Simplify the contour with a specified tolerance
- Mesh the shape (handling of holes and multiple domains)
This code uses the MATLAB PDE toolbox and generatates a FEM mesh (FEMesh object). However, the mesh can be used for other purposes than FEM simulations, such as 3d printing.
Example
Look at the example run_example.m which generates the following mesh:
Compatibility
- Tested with MATLAB R2018b.
- The
image_toolbox
is required (for contour detection). - The
map_toolbox
is required (for contour simplification). - The
pde_toolbox
is required (for meshing). - Compatibility with GNU Octave not tested but probably problematic.
This code share some files with laser_cut_matlab_slicer.
Author
Thomas Guillod - GitHub Profile
License
This project is licensed under the BSD License, see LICENSE.md.
引用格式
Thomas Guillod (2024). mesh_from_bitmap_matlab (https://github.com/otvam/mesh_from_bitmap_matlab), GitHub. 检索时间: .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 General PDEs 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!fct
无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.4 | connect readme |
|
|
1.3 | Change txt |
|
|
1.2 | Change text |
|
|
1.1 | Change txt |
|
|
1.0.1 | New image |
|
|
1.0.0 |
|
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。