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_STATISTICS_RESULT result buffer, the results obtained for a specified region of the series of source buffer passed to MimStatCalculate() that uses a M_STATISTICS_CUMULATIVE_CONTEXT. One value is returned for every pixel in the specified region.
Specifies the identifier of the statistics 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 statistics 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.
For specifying the type of result to
retrieve
|
|||||||||||||||||||||||||||||||||||||||
ResultType | Description | ||||||||||||||||||||||||||||||||||||||
UserArrayPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_STAT_MAX + |
Retrieves the maximum value of each pixel, given the different source images. (summarize)Retrieves the maximum value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_MAX_ABS + |
Retrieves the maximum absolute value of each pixel, given the different source images. (summarize)Retrieves the maximum absolute value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_MEAN + |
Retrieves the mean value of each pixel, given the different source images. (summarize)Retrieves the mean value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_MIN + |
Retrieves the minimum value of each pixel, given the different source images. (summarize)Retrieves the minimum value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_MIN_ABS + |
Retrieves the minimum absolute value of each pixel, given the different source images. (summarize)Retrieves the minimum absolute value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_STANDARD_DEVIATION + |
Retrieves the standard deviation value of each pixel, given the different source images. (summarize)Retrieves the standard deviation value of each pixel, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_SUM + |
Retrieves the sum of each pixel's different values, given the different source images. (summarize)Retrieves the sum of each pixel's different values, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_SUM_ABS + |
Retrieves the sum of the absolute value of each pixel's different value, given the different source images. (summarize)Retrieves the sum of the absolute value of each pixel's different value, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_STAT_SUM_OF_SQUARES + |
Retrieves the sum of the square of each pixel's different value, given the different source images. (summarize)Retrieves the sum of the square of each pixel's different value, given the different source images. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
You can add one of the following values to the above-mentioned values to cast the requested results to the required data type.
Note: In C++, when using a standard vector (std::vector) instead of an array, the values listed in this combination table must not be used. If you need to use a specific data type, instantiate the vector with the necessary 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. (summarize)Casts the requested results to a MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
Data type info: Data
type: array of type MIL_DOUBLE [optionally, in C++:
a reference to a std::vector<MIL_DOUBLE>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_FLOAT |
Casts the requested results to a MIL_FLOAT. (summarize)Casts the requested results to a MIL_FLOAT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_FLOAT [optionally, in C++:
a reference to a std::vector<MIL_FLOAT>
] MORE
Data type info: Data
type: array of type MIL_FLOAT [optionally, in C++:
a reference to a std::vector<MIL_FLOAT>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT |
Casts the requested results to a MIL_INT. (summarize)Casts the requested results to a MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_INT [optionally, in C++: a
reference to a std::vector<MIL_INT>
] MORE
Data type info: Data
type: array of type MIL_INT [optionally, in C++: a
reference to a std::vector<MIL_INT>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT32 |
Casts the requested results to a MIL_INT32. (summarize)Casts the requested results to a MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_INT32 [optionally, in C++:
a reference to a std::vector<MIL_INT32>
] MORE
Data type info: Data
type: array of type MIL_INT32 [optionally, in C++:
a reference to a std::vector<MIL_INT32>
] MORE
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT64 |
Casts the requested results to a MIL_INT64. (summarize)Casts the requested results to a MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserArrayPtr extra info |
Data type info: Data
type: array of type MIL_INT64 [optionally, in C++:
a reference to a std::vector<MIL_INT64>
] MORE
Data type info: Data
type: array of type MIL_INT64 [optionally, in C++:
a reference to a std::vector<MIL_INT64>
] MORE
|
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |