MechMicroMan / DefDAP

A python library for correlating EBSD and HRDIC data
Apache License 2.0
35 stars 16 forks source link

Piecewise affine transformation for linking EBSD and DIC maps has unusual behaviour #130

Open BenP123 opened 2 months ago

BenP123 commented 2 months ago

When linking EBSD and DIC maps with a piecewise affine transform, all the grain boundaries join up to a point at the top left corner of the map. This does not happen if using a normal affine transform

image

rhysgt commented 2 months ago

Are you plotting the GBs as lines or as pixels? Looks like you might be plotting as lines and I don't think it correctly handles what is happening outside the convex hull of homologous points.

You could try to define a homologous point on each corner of the DIC map so that the piecewise affine transform is valid for the entire DIC map.