Binary image to Finite element mesh ( GMSH geo file )

This code creates GMSH geo file from an image boundary that can be readily meshed using GMSH.
484 Downloads
Updated 8 Feb 2017

View License

This short code calculates boundary of a binary image and forms a surface using spline function. Then a short geo file is written which when executed in GMSH , meshes the domain of the original image with features defined by the color contrasts. Here a simple image of OM symbol is taken and converted into a geo file. The output mesh.txt is the geo file to be executed in GMSH.

Cite As

Sathyanarayan Rao (2024). Binary image to Finite element mesh ( GMSH geo file ) (https://www.mathworks.com/matlabcentral/fileexchange/61507-binary-image-to-finite-element-mesh-gmsh-geo-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0