MIL_ID ResultImId, | //in |
MIL_INT OffsetX, | //in |
MIL_INT OffsetY, | //in |
MIL_INT SizeX, | //in |
MIL_INT SizeY, | //in |
MIL_INT64 ResultType, | //in |
MIL_INT64 ControlFlag, | //in |
void *UserArrayPtr | //out |
This function retrieves, from a M_STAT_MULTIPLE_RESULT result buffer, the results obtained for a specified region of the source buffer passed to MimStatMultiple(). One value is returned for every pixel in the specified region.
Specifies the identifier of the image processing result buffer from which to get results.
Specifies the X-offset of the region for which to retrieve results. The specified value must be between 0 and the SizeX parameter value.
Specifies the Y-offset of the region for which to retrieve results. The specified value must be between 0 and the SizeY parameter value.
Specifies the type of result(s) to retrieve.
See the Parameter associations section for possible values that can be specified.
Specifies the address of the user-specified array in which to write the results read from the multiple statitics result buffer.
See the Parameter associations section for possible values that can be returned.
The table below lists possible values for the ResultType parameter and possible values returned to the UserArrayPtr parameter.
Unless otherwise specified, the following values require that you pass the UserArrayPtr parameter the address of an array of type MIL_DOUBLE with a size equal to SizeX x SizeY .
For specifying the type of result to
retrieve
|
|||||||||||||||||||||||||||||||||||||||
ResultType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserArrayPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_MAX + |
Retrieves the maximum value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MAX_ABS + |
Retrieves the maximum absolute value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MEAN + |
Retrieves the mean value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MIN + |
Retrieves the minimum value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MIN_ABS + |
Retrieves the minimum absolute value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_STANDARD_DEVIATION + |
Retrieves the standard deviation value of each pixel, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SUM + |
Retrieves the sum of each pixel's different values, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SUM_ABS + |
Retrieves the sum of the absolute value of each pixel's different value, given the different source images passed to MimStatMultiple(). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SUM_OF_SQUARES + |
Retrieves the sum of the square of each pixel's different value, given the different source images passed to MimStatMultiple(). (more details...) |
You can add one of the following values to the above-mentioned values to cast the requested results to the required data type.
For the ResultType parameter to cast the
required results to the requested data type
|
|||||||||||||||||||||||||||||||||||||||
ResultType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserArrayPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_DOUBLE |
Casts the requested results to a MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr data type info |
Data
type: array of type MIL_DOUBLE |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_FLOAT |
Casts the requested results to a MIL_FLOAT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr data type info |
Data
type: array of type MIL_FLOAT |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT |
Casts the requested results to a MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr data type info | |||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT32 |
Casts the requested results to a MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr data type info |
Data
type: array of type MIL_INT32 |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT64 |
Casts the requested results to a MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr data type info |
Data
type: array of type MIL_INT64 |
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |