MIL_ID SrcResultBlobId, | //in |
MIL_ID DstResultBlobId, | //in |
MIL_INT64 Operation, | //in |
MIL_DOUBLE Parameter1, | //in |
MIL_DOUBLE Parameter2, | //in |
MIL_DOUBLE Parameter3, | //in |
MIL_INT64 ControlFlag | //in |
This function performs a transformation/modification on the results of a blob analysis operation performed using MblobCalculate().
Specifies the identifier of the source result buffer.
The result buffer must be a valid identifier and the results must be calculated.
Specifies the identifier of the destination result buffer. DstResultBlobId must be set to the same result buffer as SrcResultBlobId (that is, the transformation is done in-place).
Specifies the operation to perform.
This parameter can be set to the following value.
For specifying the operation
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_CONTIGUOUS_LABELS |
Specifies to relabel blobs to get a continuous sequence of labels for included and excluded blobs. New labels are assigned based on the order of the current labels of the blobs, and not their status. For example, if you have 4 blobs, labeled 1,4,5,8, and exclude the second blob, after M_CONTIGUOUS_LABELS, the blobs will be labeled 1,3,4. Results must have been calculated in M_INDIVIDUAL processing mode. Original blob labeling is not necessarily continuous, and the maximum label value (M_MAX_LABEL_VALUE) can be large. M_CONTIGUOUS_LABELS can reduce the maximum label value, which potentially shrinks the bit depth needed for a destination image buffer (for example, for an MblobLabel() operation). (summarize)Specifies to relabel blobs to get a continuous sequence of labels for included and excluded blobs. (more details...) |
Header | Include mil.h. |
Library | Use mil.lib; milblob.lib. |
DLL | Requires mil.dll; milblob.dll. |