File Exchange

image thumbnail

Binary image to Finite element mesh ( GMSH geo file )

version 1.0.0.0 (22 KB) by Sathyanarayan Rao
This code creates GMSH geo file from an image boundary that can be readily meshed using GMSH.

3 Downloads

Updated 08 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 (2020). 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 .

Comments and Ratings (0)

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