AngleMajor, AngleMinor  
Top  Previous  Next


Menu:   Measure > Parameters  
Script:   SelectParam ("AngleMajor", "AngleMinor")  

Select these parameters to compute the orientation of the equivalent ellipses of objects. The equivalent ellipse is defined as an ellipse that has the moments of inertia as the corresponding object.

AngleMajor returns the angle at which the major axis of the equivalent ellipse is found. If the object is asymmetrical, the major axis is considered to be pointed into the direction of the major skewness
of the object and could vary from -180 to +180 degrees

AngleMinor returns the angle at which the minor axis of the equivalent ellipse is found. Depending on the sign of the minor skewness, the angle of the minor axis is 90 degrees higher or lower than the angle of the major axis.

The direction of angle measurements depends on the Y-axis direction in the image calibration scale. If the Y-axis is pointed down (which is a default setting), the angles are measured from the positive X-axis clockwise. To measure the angles counterclockwise, reverse the direction of Y-axis. See Spatial Calibration
for more details.