MIL_ID BlobResId, | //in |
MIL_INT XPos, | //in |
MIL_INT YPos, | //in |
MIL_INT *LabelVarPtr | //out |
This function gets the label value of a specified blob. Label values are used, for example, to obtain calculation results for single blobs (MblobGetResultSingle()). Blob label values must have been generated by calling MblobCalculate().
Specifies the identifier of the blob analysis result buffer where the labels are stored. Note, this function cannot obtain the label values of blobs that have been deleted from the result buffer with MblobSelect().
Specifies the address of the variable in which to write the label value. If there is no blob at the specified location, the blob has been deleted, or if the blob's XPos and YPos lie outside the original identifier image, M_NULL is returned instead of the label value. Also, since MblobGetLabel() returns the label value, you can set this parameter to M_NULL.
Header | Include mil.h. |
Library | Use mil.lib; milblob.lib. |
DLL | Requires mil.dll; milblob.dll. |