Defector-master/Matlab Scripts
.DefectorExample.m
after properly adding the image of interest under the variable Root
.Save the workspace after running the DefectorExample.m
and save it with the name Defects. mat
. The Defects. mat
contains the variables with information on coordinates of +1/2 defect and -1/2 defects respectively.
These variables are later called in the code Topological_map_defect_visullaization.m
in a line as mentioned below.
Step 3: Defect Overlay on Contour Map
%Load the defect data
load("C:\Users\hlama\Desktop\Defector-master\Defects.mat");
Topological_map_defect_visullaization.m
. The outputs similar to that shown below will be obtained, they will be an image in .svg
format.