MATLAB Code for Creating a Mesh from a Bitmap Image
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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_toolboxis required (for contour detection). - The
map_toolboxis required (for contour simplification). - The
pde_toolboxis 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.
Zitieren als
Thomas Guillod (2026). mesh_from_bitmap_matlab (https://github.com/otvam/mesh_from_bitmap_matlab), GitHub. Abgerufen .
Allgemeine Informationen
- Version 1.4 (246 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.4 | connect readme |
||
| 1.3 | Change txt |
||
| 1.2 | Change text |
||
| 1.1 | Change txt |
||
| 1.0.1 | New image |
||
| 1.0.0 |


