MIL_ID FeatureListId, | //in |
MIL_DOUBLE Angle | //in |
This function specifies the angle of the general Feret to calculate if M_GENERAL_FERET (or one of its contact points) has been added to the feature list. The Feret diameter is then calculated at the specified angle, using MblobCalculate(). Results for this calculation can be obtained using MblobGetResult() or MblobGetResultSingle(), specifying M_GENERAL_FERET as the feature.
Note, the Feret diameters at 0° and 90° are calculated more efficiently if you select the features M_FERET_X and M_FERET_Y, respectively, using MblobSelectFeature(), instead of specifying them as a general Feret.
Note that if you don't explicitly add M_GENERAL_FERET to the feature list before calling this function, M_GENERAL_FERET will be added automatically.
Specifies the angle, in degrees, to be used for calculating the general Feret. It overrides any previous angle specified for the general Feret in this feature list.
For specifying the angle to be used in
calculating the general Feret
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 90.0 + |
Specifies the angle, in degrees, to be used for the calculation of the general Feret. |
You can add one of the following values to the above-mentioned value to set the sorting key.
To select the general Feret as a sorting key for the result retrieval, add the following sorting values to the Angle parameter:
For selecting a sorting key
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_NO_SORT |
Removes the specified sorting key. |
||||||||||||||||||||||||||||||||||||||
M_SORTn_DOWN |
Specifies the feature as the n th sorting key (in descending order), where n stands for an integer between 1 and 3. |
||||||||||||||||||||||||||||||||||||||
M_SORTn_UP |
Specifies the feature as the n th sorting key (in ascending order), where n stands for an integer between 1 and 3. |
Header | Include mil.h. |
Library | Use mil.lib; milblob.lib. |
DLL | Requires mil.dll; milblob.dll. |