fill

(method of EBSDsquare)

fill spatial EBSD data

The function fill changes the values of phaseId and graindId from NaN to a the value of its nearest neighbours. In case an grain object is specified as a second argument, only pixels that are entirely inside a grains will to associated to this grain.

Syntax

ebsd = fill(ebsd)
ebsd = fill(ebsd,grains)

Input

ebsd

EBSD

Example