EBSD.fill edit page

fill EBSD data by nearest neighbor interpolation

Description

The pixels to fill have to exist before they can be filled, which is what gridify used to be for - at the cost of turning a plain EBSD into an EBSDsquare. addLatticeSites materialises exactly the same set of sites on the virtual lattice instead, so the input's class is kept. Pass 'gridify' for the old behaviour.

Syntax

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

Input

ebsd EBSD
grains grain2d if provided pixels at the boundary between grains are not filled

Options

extrapolate extrapolate up the the outer boundaries
gridify return a gridded map, as this used to do unconditionally