Im2mesh (2D or 3D image to finite element mesh)

Generate finite element mesh based on 2D or 3D multi-phase image. For image-based finite element analysis.

https://github.com/mjx888/im2mesh

Download
Download

You are now following this Submission

Cite As

Ma, Jiexian, and Yuanyuan Li. Im2mesh: A MATLAB/Octave Package for Generating Finite Element Mesh Based on 2D Multi-Phase Image. Zenodo, 2025, https://doi.org/10.5281/ZENODO.14847059.

View more styles

Once my paper is published, I will update a new DOI here.

Categories

Find more on Convert Image Type in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2017b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.68.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.68

Download
2.67.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.67

Download
2.66.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.66

Download
2.64.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.64

Download
2.63.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.63

Download
2.62.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.62

Download
2.61.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.61

Download
2.60.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.60

Download
2.51.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.51

Download
2.49.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.49

Download
2.47.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.47

Download
2.45.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.45

Download
2.42.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.42

Download
2.40.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.40

Download
2.36.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.36

Download
2.35.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.35

Download
2.33.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.33

Download
2.30.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.30

Download
2.26.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.26

Download
2.2.3

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/v2.2.3

Download
2.2.1

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.2.1

Download
2.2.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.2.0

Download
2.1.9

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.9

Download
2.1.8

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.8

Download
2.1.6

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.6

Download
2.1.5

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.5

Download
2.1.1

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.1

Download
2.1.0

See release notes for this release on GitHub: https://github.com/mjx888/im2mesh/releases/tag/2.1.0

Download
1.88.0

Update Description

Download
1.87.0

Update Description

Download
1.86.0

add note

Download
1.85.0

Add comments & description

Download
1.84.0

Revise Description

Download
1.83.0

Revise summary

Download
1.82.0

Update description

Download
1.81.0

Update description

Download
1.80.0

Add im2meshBuiltIn.m, poly2meshBuiltIn.m
Update examples

Download
1.76.0

improve getCtrlPnts
faster

Download
1.75.0

Add new parameter 'select_phase'

Download
1.71.0

Revise description

Download
1.7.0

Add two new parameters for mesh generation

Download
1.6.0

make im2Bounds() more readable using getExactBounds()

Download
1.5.0

improve im2Bounds.m and getCtrlPnts.m
significantly faster

Download
1.1.1

update description

Download
1.1.0

revise demo(), add examples
add several functions, like printInp_multiPart(), printInp_multiSect(), printBdf()

Download
0.9.0

Improve time efficiency of getCtrlPnts(). Faster. Add new parameter - tf_avoid_sharp_corner. Able to avoid non-convergence when meshing.
Rewrite getNodeEle(). Using global numbering.
Revise printInp(). Add new parameter - precision_nodecoor.

Download
0.8.2

new image for cover

Download
0.8.1

revise getCtrlPnts() for time efficiency

Download
0.8.0

debug
revise printInp(), support linear element and quadratic element
revise im2Bounds() and bwperimtrace(), for 4-connected neighbourhood
able to clear up redundant vertices that are brought about by delZeroAreaPoly

Download
0.7.0

debug
reorganize part of the code, increase readability
revise some comments
add calculation of polygon's area, polygon with zero area will be deleted automatically
update examples

Download
0.6.2

update description

Download
0.6.1

update description

Download
0.6.0

Download
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.