aspectRatio

(method of grain2d)

aspectratio = length / width

the aspect ratio is the ratio between the two componentes of a grain

Syntax

asp = aspectRatio(grains,'param1',val1,'param2',val2)

Input

g

grain2d

Output

asp

aspect-ratio

See also

grain2d/principalcomponents