| Customize Help
| Save Settings

MblobTransform



Function Map
Synopsis
Perform a transformation/modification on blob analysis results.
Syntax
void MblobTransform(
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
)
Description

This function performs a transformation/modification on the results of a blob analysis operation performed using MblobCalculate().

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
SrcResultBlobId

Specifies the identifier of the source result buffer.

The result buffer must be a valid identifier and the results must be calculated.

DstResultBlobId

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).

Operation

Specifies the operation to perform.

This parameter can be set to the following value.

function map For specifying the operation
Click to summarizeValue Description
Click to summarize 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)
Parameter1

Reserved for future expansion and must be set to M_DEFAULT.

Parameter2

Reserved for future expansion and must be set to M_DEFAULT.

Parameter3

Reserved for future expansion and must be set to M_DEFAULT.

ControlFlag

Reserved for future expansion and must be set to M_DEFAULT.

Compilation information
Header Include mil.h.
Library Use mil.lib; milblob.lib.
DLL Requires mil.dll; milblob.dll.
CONTIGUOUS LABELS