calliper

(method of grain2d)

Calliper (Feret diameter) of a grain in measurement units, the projection length normal to it and its direction/trend.

Syntax

[cd, pcd, omega] = calliper(grains,'param1',val1,'param2',val2)

Input

grains

grain2d

Output

cd

calliper (default = maximum calliper = grain2d/diameter)

pcd

projection length length normal to cd

omega

angle giving direction/trend of cd