MIL_ID ResOrFeatListBlobId, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires about a specified processing setting associated with a blob analysis result buffer.
You can use MblobControl() to change a processing setting associated with a result buffer.
Specifies the type of processing setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InquireType parameter and possible values returned to the UserVarPtr parameter.
For the following inquire type, the ResOrFeatListBlobId parameter can specify a blob analysis result buffer or feature list.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring the system on which the
result buffer or feature list is allocated
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_OWNER_SYSTEM + |
Inquires the identifier of the system on which the blob result buffer or feature list is allocated. SET SET (more details...) |
||||||||||||||||||||||||||||||||||||||
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(). |
For the following inquire types, the ResOrFeatListBlobId parameter must specify a blob analysis result buffer.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring about a processing setting
in a blob analysis result buffer
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_BLOB_IDENTIFICATION + |
Inquires the blob identification mode that was selected. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INDIVIDUAL |
Specifies that all blobs are measured individually. |
||||||||||||||||||||||||||||||||||||||
M_LABELED |
Specifies that blobs with the same label are grouped together, and that touching blobs with different labels are also grouped together. INFO |
||||||||||||||||||||||||||||||||||||||
M_LABELED_TOUCHING |
Specifies that blobs with the same label are grouped together, and that touching blobs with different labels are measured individually. INFO |
||||||||||||||||||||||||||||||||||||||
M_WHOLE_IMAGE |
Specifies that all blobs are grouped together. |
||||||||||||||||||||||||||||||||||||||
M_FERET_ANGLE_SEARCH_END + |
Inquires the upper limit of the angular search range used in the calculation of the minimum or maximum Feret diameter. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 180 |
Specifies the upper limit of the angular search range. INFO |
||||||||||||||||||||||||||||||||||||||
M_FERET_ANGLE_SEARCH_START + |
Inquires the lower limit of the angular search range used in the calculation of the minimum or maximum Feret diameter. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 180 |
Specifies the lower limit of the angular search range. INFO |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_VALUE + |
Inquires the pixel values that are considered to be in the foreground. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NONZERO |
Specifies the blobs consisting of non-zero pixels. |
||||||||||||||||||||||||||||||||||||||
M_ZERO |
Specifies the blobs consisting of zero pixels. |
||||||||||||||||||||||||||||||||||||||
M_IDENTIFIER_TYPE + |
Inquires the values that the non-zero pixels in the image have. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_BINARY |
Specifies that non-zero pixels must have the maximum value of the buffer (for example, 0xff for an 8-bit image). |
||||||||||||||||||||||||||||||||||||||
M_GRAYSCALE |
Specifies that non-zero pixels can have any value. |
||||||||||||||||||||||||||||||||||||||
M_INPUT_SELECT_UNITS + |
Inquires the units in which the CondLow and CondHigh parameters of MblobSelect() expect the limits of the blob selection condition. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies that the limit values passed to MblobSelect() be interpreted in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies that the limit values passed to MblobSelect() be interpreted in world units, with respect to the relative coordinate system. INFO |
||||||||||||||||||||||||||||||||||||||
M_LATTICE + |
Inquires the image lattice. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_4_CONNECTED |
Specifies that each pixel has 4 neighbors. |
||||||||||||||||||||||||||||||||||||||
M_8_CONNECTED |
Specifies that each pixel has 8 neighbors. |
||||||||||||||||||||||||||||||||||||||
M_MAX_BLOBS + |
Inquires the maximum number of blobs to process. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that there is no limit on the maximum number of blobs. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the maximum number of blobs. |
||||||||||||||||||||||||||||||||||||||
M_MAX_LABEL + |
Inquires the maximum label value given to any included blob in the result buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the maximum label value. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_FERETS + |
Inquires the number of Feret angles set to calculate a Feret feature. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INFINITE |
Specifies the use of a high precision algorithm to accurately calculate Feret features (and features based on Feret features). INFO |
||||||||||||||||||||||||||||||||||||||
M_MIN_FERETS |
Specifies the minimum number of Feret angles. INFO |
||||||||||||||||||||||||||||||||||||||
Value > M_MIN_FERETS |
Specifies the number of Feret angles. INFO |
||||||||||||||||||||||||||||||||||||||
M_OWNER_SYSTEM + |
Inquires the identifier of the system on which the blob result buffer or feature list is allocated. SET SET (more details...) |
||||||||||||||||||||||||||||||||||||||
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(). |
||||||||||||||||||||||||||||||||||||||
M_PIXEL_ASPECT_RATIO + |
Inquires the pixel aspect ratio that you set for the image(s). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the pixel width/pixel height. |
||||||||||||||||||||||||||||||||||||||
M_RESULT_OUTPUT_UNITS + |
Inquires whether results are returned in pixel or world units. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ACCORDING_TO_CALIBRATION |
Specifies that results are returned in world units if the result was calculated on an image associated with a calibration context; otherwise, specifies that results are returned in pixel units. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies that results are returned in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies that results are returned in world units, with respect to the relative coordinate system. INFO |
||||||||||||||||||||||||||||||||||||||
M_RETURN_PARTIAL_RESULTS + |
Inquires whether results from partially scanned images will be available after a stop condition is met. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies to discard results of partially scanned images when processing is interrupted. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to make results of partially scanned images available when processing is interrupted. |
||||||||||||||||||||||||||||||||||||||
M_SAVE_RUNS + |
Inquires whether the run information will be saved when calling MblobCalculate(). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to save run information. INFO |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to save run information. INFO |
||||||||||||||||||||||||||||||||||||||
M_TIMEOUT + |
Inquires the maximum processing time for MblobCalculate(), in msec. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that there is no maximum processing time. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the maximum processing time, in msec. |
You can add one of the following values to the above-mentioned values to set the requested results to a data type.
For specifying the data type
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_DOUBLE |
Casts the requested information to a MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_DOUBLE |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_ID |
Casts the requested information to a MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT |
Casts the requested information to a MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_INT |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT32 |
Casts the requested information to a MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_INT32 |
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT64 |
Casts the requested information to a MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_INT64 |
Header | Include mil.h. |
Library | Use mil.lib; milblob.lib. |
DLL | Requires mil.dll; milblob.dll. |