mesh_from_bitmap_ma​tlab

MATLAB Code for Creating a Mesh from a Bitmap Image
225 descargas
Actualizado 12 may 2022

MATLAB Code for Creating a Mesh from a Bitmap Image

license - BSD language - MATLAB category - hobby status - unmaintained

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.

Citar como

Thomas Guillod (2024). mesh_from_bitmap_matlab (https://github.com/otvam/mesh_from_bitmap_matlab), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.4

connect readme

1.3

Change txt

1.2

Change text

1.1

Change txt

1.0.1

New image

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.