Hello,
I am trying to colorize boundaries by curvature. However, I get the following error message:
No appropriate method, property, or field 'curvature' for class 'grainBoundary'.
Error in grainBoundary/subsref (line 53)
[varargout{1:nargout}] = builtin('subsref',gB,s);
Here is the code that I am using:
[grains,ebsd_LLASS.grainId,ebsd_LLASS.mis2mean] = calcGrains(ebsd_LLASS('Aluminium'),'angle',10*degree);
grains = smooth(grains,4);
rex_grains = grains((grains.GOS<3*degree) & (grains.area>12));
gB=rex_grains.boundary('Al','Al') ;
figure
plot(gB,'linewidth',2,'micronbar','off');
% colorize boundaries by curvature
hold on
plot(gB,gB.curvature,'linewidth',2);
hold off
Could you help me please to solve this problem? Thanks a lot.
Best regards,
Saoussen