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.
Citation pour cette source
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. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |