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
278 stars 183 forks source link

halfQuadraticFilter not smoothing? #1869

Closed vedadb closed 1 year ago

vedadb commented 1 year ago

1a. Summary

Figure 1. Mean KAM plotted for 11 samples without filtering, with hQF (F.alpha=1) or with spline filtering. Samples 1 to 5 and 10 show no effect of smoothing by hQF, while all KAM-values are lowered upon spline filtering (smoothed orientation maps)

image

1b. Specific KAM maps

image

Figure 2. Comparison between filtering methods on the KAM maps for Sample 1 and 11. Sample 1 hQF is obviously not being smoothed properly.  

kilir commented 1 year ago

Hi, what alpha parameter do you use? The default doesn't do a lot. in the current version, values are NOT normalized to be in the range [0 ,1] and maybe something around 100-300 should give reasonable results. Cheers, Rüdiger

kilir commented 1 year ago

Hi, this was an issue for some input data, fixed here fb40dea, so e.g. using ebsd.quality = ebsd.quality ./ max(ebsd.quality(:)) should correct the input and reasonably small alpha values should work again. Cheers, Rüdiger

vedadb commented 1 year ago

Hi, thank you, that fixed it. For one of the grains I needed an alpha of 10000 to reach similar smoothing result as alpha = 1 for the other, now they are normalized.

Vedad