MblobSelectMoment()函数

Synopsis

Add specified moment to the feature list.

Format

void MblobSelectMoment(FeatureListId, MomType, XMomOrder, YMomOrder)

MIL_ID FeatureListId; Feature list identifier
long MomType; Moment type
long XMomOrder; X order of the moment (must be greater than or equal to 0)
long YMomOrder; Y order of the moment (must be greater than or equal to 0)

继续阅读MblobSelectMoment()函数

MblobSelect()函数

Synopsis

Select blobs for calculations and result retrieval.

Format

void MblobSelect(BlobResId, Operation, Feature, Condition, CondLow, CondHigh)

MIL_ID BlobResId; Blob analysis result buffer identifier
long Operation; Operation to perform on specified blobs
long Feature; Feature to be used for selection
long Condition; Conditional operator for selection
double CondLow; Low compare value for the condition
double CondHigh; High compare value for the condition

继续阅读MblobSelect()函数

MblobReconstruct()函数

Synopsis

Reconstruct blobs in an image buffer.

Format

void MblobReconstruct(SrcImageBufId, SeedImageBufId, DestImageBufId, Operation, ProcMode)

MIL_ID SrcImageBufId; Source image buffer identifier
MIL_ID SeedImageBufId; Seed image buffer identifier
MIL_ID DestImageBufId; Destination image buffer identifier
long Operation; Type of operation to perform
long ProcMode; Operation mode

继续阅读MblobReconstruct()函数

MblobInquire()函数

Synopsis

Inquire about a blob analysis result buffer.

Format

void MblobInquire(BlobResId, ParamToInquire, UserVarPtr)

MIL_ID BlobResId; Blob analysis result buffer identifier
long InquireType; Parameter about which to inquire
void *UserVarPtr; Storage location for inquiry result

继续阅读MblobInquire()函数

MblobGetRuns

Synopsis

Get the blob run-length encoding information.

Format

void MblobGetRuns(BlobResId, LabelVal, ArrayType, RunXPtr, RunYPtr, RunLengthPtr)

MIL_ID BlobResId; Blob analysis result buffer identifier
long LabelVal; Label value of the blob
long ArrayType; Type of the arrays in which results will be returned.
void *RunXPtr; Array in which to return the X-coordinate of each run
void *RunYPtr; Array in which to return the Y-coordinate of each run
void *RunLengthPtr; Array in which to return the length of each run

继续阅读MblobGetRuns

MblobGetResultSingle()函数

Synopsis

Read the feature value of a single blob.

Format

void MblobGetResultSingle(BlobResId, LabelVal, Feature, TargetArrayPtr)

MIL_ID BlobResId; Blob analysis result buffer identifier
long LabelVal Label value of the blob
long Feature; Type of feature for which to get a result
void *TargetVarPtr; Variable in which to return result

继续阅读MblobGetResultSingle()函数

MblobGetResult()函数

Synopsis

Read feature values of the included blobs.

Format

void MblobGetResult(BlobResId, Feature, TargetArrayPtr)

MIL_ID BlobResId; Blob analysis buffer identifier
long Feature; Type of feature for which to get results
void *TargetArrayPtr; Array in which to return results

继续阅读MblobGetResult()函数