| MIL 10 Reference
| Customize Help
| Save Settings

MblobAllocFeatureList



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Previous
Synopsis
Allocate a blob analysis feature list.
Syntax
MIL_ID MblobAllocFeatureList(
MIL_ID SystemId, //in
MIL_ID *FeatureListIdPtr //out
)
Description

This function allocates a feature list. The feature list holds the feature(s) to be calculated by MblobCalculate(). You must specify which feature(s) to calculate, using MblobSelectFeature(), MblobSelectFeret(), and MblobSelectMoment(). Immediately after allocation, no features are selected in the feature list. When the feature list is no longer required, release it, using MblobFree().

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 if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
SystemId INQ

Specifies the system on which to allocate the feature list.

This parameter should be set to one of the following values:

function map For specifying the system
CollapseValue Description
Collapse M_DEFAULT_HOST

Specifies the default Host system of the current MIL application.

Collapse MIL system identifier

Specifies a valid system identifier, previously allocated using MsysAlloc().

FeatureListIdPtr

Specifies the address of the variable in which the feature list identifier will be written. Since the MblobAllocFeatureList() function also returns the feature list identifier, you can set this parameter to M_NULL.

Return value
The returned value is the feature list identifier if the allocation is successful. If allocation fails, M_NULL is returned.
Compilation information
Header Include mil.h.
Library Use mil.lib; milblob.lib.
DLL Requires mil.dll; milblob.dll.
DEFAULT HOST