MATLAB Code for Creating a Mesh from a Bitmap Image
This MATLAB code generates a mesh from a black and white bitmap image:
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.
Look at the example run_example.m which generates the following mesh:
image_toolbox
is required (for contour detection).map_toolbox
is required (for contour simplification).pde_toolbox
is required (for meshing).This code share some files with laser_cut_matlab_slicer.
Thomas Guillod - GitHub Profile
This project is licensed under the BSD License, see LICENSE.md.