mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
281 stars 185 forks source link

contour based gB reconstruction and smoothing #2176

Open vtvivian opened 1 month ago

vtvivian commented 1 month ago

smoothTest.m - demo script on mtexdata('twins')

[grainsContour] = boundaryContours(grains) - redraws grain boundary segments using a contouring algorithm instead of following pixel edges

[grains,stablefraction] = smooth1(grains,iter,ebsd,varargin) - same as smooth(grains) but stops moving boundary segments before they cross through the boundary neighbour ebsdId positions

vtvivian commented 1 month ago

Here are some expected outputs:

Slide1 Slide2 Slide3 Slide4 Slide5