By grain reconstruction we mean the subdivision of the specimen, or more precisely the measured surface of the specimen, into regions of similar orientation which we then call grains. Note that there is no canonical definition of what is a grain. The default grain reconstruction method in MTEX is based on the definition of high angle grain boundaries which are assumed at the perpendicular bisector between neighboring measurements whenever their misorientation angle exceeds a certain threshold. According to this point of view grains are regions surrounded by grain boundaries.
In order to illustrate the grain reconstruction process we consider the following sample data set
Basic grain reconstruction
We see that there are a lot of not indexed measurements. For grain reconstruction, we have three different choices how to deal with these unindexed regions:
- leave them unindexed
- assign them to the surrounding grains
- a mixture of both, e.g., assign small notindexed regions to the surrounding grains but keep large notindexed regions
The extent to which unindexed pixels are assigned is controlled by the parameter 'alpha'
. Roughly speaking this parameter is the radius of the smallest unindexed region that will not be entirely assigned to surrounding grains. The default of this value is alpha = 2.2
.
The second parameter 'angle'
involved in grain reconstruction is the threshold misorientation angle indicating a grain boundary. By default, this value is set to angle = 10*degree
.
Finally, the option 'minPixel'
controls the minimum size of a reconstructed grain. Grains with less pixels are considered as not indexed.
All grain reconstruction methods in MTEX are accessible via the command calcGrains
which takes as input an EBSD data set and returns a list of grain.
The reconstructed grains are stored in the variable grains
. To visualize the grains we can plot its boundaries by the command plot
.
Grain Boundary Smoothing
Due to the gridded nature of the EBSD measurement the reconstructed grain boundaries often suffer from the staircase effect. This can be reduced by smoothing the grain boundaries using the command smooth
Adapting the Alpha Parameter
Increasing the parameter 'alpha'
larger not indexed regions are associated to grains.