MIL_ID SysId, | //in |
MIL_INT NbEntries, | //in |
MIL_INT64 ResultType, | //in |
MIL_ID *ResultImIdPtr | //out |
This function allocates a result buffer with the specified number of entries, for use with some of the Image Processing module's functions (for example, the statistical functions).
When the result buffer is no longer required, you should release its memory, using MimFree().
Specifies the system on which to allocate the result buffer. This parameter should be set to one of the following values:
For specifying the system
identifier
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the number of buffer entries to allocate for the specified result buffer. This parameter should be set to one of the following values:
For specifying the number of buffer
entries
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that MIL automatically establishes the size of the result buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of buffer entries. (more details...) |
Specifies the type of data that will be stored in this result buffer. This parameter must be set to one of the following values:
For specifying the type of
data
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_COUNT_LIST |
Specifies that the buffer can hold MimCountDifference() results. |
||||||||||||||||||||||||||||||||||||||
M_EVENT_LIST + |
Specifies that the buffer can hold MimLocateEvent() results. |
||||||||||||||||||||||||||||||||||||||
M_EXTREME_LIST + |
Specifies that the buffer can hold MimFindExtreme() results. |
||||||||||||||||||||||||||||||||||||||
M_FIND_ORIENTATION_LIST + |
Specifies that the buffer can hold MimFindOrientation() results. |
||||||||||||||||||||||||||||||||||||||
M_HIST_LIST |
Specifies that the buffer can hold MimHistogram() results. |
||||||||||||||||||||||||||||||||||||||
M_LOCATE_PEAK_1D_RESULT |
Specifies that the buffer can hold MimLocatePeak1d() results. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PROJ_LIST + |
Specifies that the buffer can hold MimProject() results. |
||||||||||||||||||||||||||||||||||||||
M_STAT_LIST |
Specifies that the buffer can hold MimStat() results. |
||||||||||||||||||||||||||||||||||||||
M_STAT_MULTIPLE_RESULT |
Specifies that the buffer can hold MimStatMultiple() results. |
||||||||||||||||||||||||||||||||||||||
M_WAVELET_TRANSFORM_RESULT |
Specifies that the buffer can hold results from MimWaveletTransform() and MimWaveletDenoise(). (more details...) |
You can add the following value to the above-mentioned values to set the type of data stored in the result buffer .
For M_PROJ_LIST, M_EXTREME_LIST, or
M_EVENT_LIST to change the type of data to store
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_FLOAT |
Allocates a result buffer of type float. (more details...) |
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |