Binary image to Finite element mesh ( GMSH geo file )
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |