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
291 stars 186 forks source link

contour based gB reconstruction and smoothing #2176

Open vtvivian opened 4 months ago

vtvivian commented 4 months 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 4 months ago

Here are some expected outputs:

Slide1 Slide2 Slide3 Slide4 Slide5