principalComponents
(method of grain2d)
returns the principalcomponents of grain polygon, without Holes
Syntax
[omega,a,b]= principalComponents(grains,'param1',val1,'param2',val2)
Input
grains | |||||||||
param,val | Parameters and values that control principalComponents
|
Output
omega |
angle of the ellipse |
a |
length largest axis |
b |
length smallest axis |
See also
MTEX 4.5.2 |