MIL_ID ContextOrResultBlobId,  //in 
MIL_INT64 InquireType,  //in 
void *UserVarPtr  //out 
This function inquires about a specified setting associated with a Blob Analysis context or result buffer.
You can use MblobControl() to change a setting associated with a context or a result buffer.
Specifies the type of 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. Since the MblobInquire() function also returns the requested information, you can set this parameter to M_NULL.
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 ContextOrResultBlobId parameter can specify a Blob Analysis result buffer or context.
For inquiring the system on which the result buffer
or context is allocated



Description  
UserVarPtr  Possible values returned 

M_OWNER_SYSTEM + 
Inquires the identifier of the system on which the blob result buffer or context is allocated. SET SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


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 ContextOrResultBlobId parameter can specify a Blob Analysis context.
For inquiring about the global processing settings of
a Blob Analysis context that cause results to be
recalculated



Description  
UserVarPtr  Possible values returned 

M_BLOB_IDENTIFICATION_MODE + 
Inquires the blob identification mode that was selected. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_INDIVIDUAL. INFO 

M_INDIVIDUAL 
Specifies that all blobs are measured individually. INFO 

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. INFO 

M_CONNECTIVITY + 
Inquires the image lattice. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_8_CONNECTED. 

M_4_CONNECTED 
Specifies that each pixel has 4 neighbors. 

M_8_CONNECTED 
Specifies that each pixel has 8 neighbors. 

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 

UserVarPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 180. 

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 

UserVarPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 0. 

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 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_NONZERO. 

M_NONZERO 
Specifies the blobs consisting of nonzero pixels. 

M_ZERO 
Specifies the blobs consisting of zero pixels. 

M_NUMBER_OF_FERETS + 
Inquires the number of Feret angles set to calculate a Feret feature. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


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 
For the following inquire types, the ContextOrResultBlobId parameter must specify a Blob Analysis context.
For inquiring about a global processing settings of a
Blob Analysis context that do not cause results to be
recalculated



Description  
UserVarPtr  Possible values returned 

M_FERET_CONTACT_POINTS + 
Inquires whether Feret contact points will be calculated. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that the Feret contact points for supported features will not be calculated. 

M_ENABLE 
Specifies that the Feret contact points for supported features will be calculated. 

M_FERET_GENERAL_ANGLE + 
Inquires the angle to use when calculating the userspecified Feret. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 0.0. 

360.0 <= Value <= 360.0 
Specifies the angle, in degrees. 

M_IDENTIFIER_TYPE + 
Inquires the values that the nonzero pixels in the image have. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_GRAYSCALE. 

M_BINARY 
Specifies that nonzero pixels must have the maximum value of the buffer (for example, 0xff for an 8bit image). 

M_GRAYSCALE 
Specifies that nonzero pixels can have any value. 

M_MAX_BLOBS + 
Inquires the maximum number of blobs to process. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that there is no limit on the maximum number of blobs. 

Value >= 0 
Specifies the maximum number of blobs. 

M_MOMENT_GENERAL_MODE + 
Inquires the type of moment that will be calculated when calculating a userspecified moment. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_DEFAULT 
Same as M_ORDINARY. 

M_CENTRAL 
Specifies a central moment. INFO 

M_ORDINARY 
Specifies an ordinary moment. INFO 

M_MOMENT_GENERAL_ORDER_X + 
Inquires the order of the Xcomponent of the specified general moment. SET 

UserVarPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 0. 

Value >= 0 
Specifies the Xorder of the moment. 

M_MOMENT_GENERAL_ORDER_Y + 
Inquires the order of the Ycomponent of the specified general moment. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 0. 

Value >= 0 
Specifies the Yorder of the moment. 

M_PIXEL_ASPECT_RATIO + 
Inquires the pixel aspect ratio that you set for the image(s). SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Specifies the default value; the default value is 1.0. 

Value > 0 
Specifies the pixel width/pixel height. 

M_RETURN_PARTIAL_RESULTS + 
Inquires whether results from partially scanned images will be available after a stop condition is met. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

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 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_ENABLE. 

M_DISABLE 
Specifies not to save run information. INFO 

M_ENABLE 
Specifies to save run information. INFO 

M_SORTn + 
Inquires the feature used as the n ^{th} sorting key, where n stands for an integer between 1 and 3. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AREA 
Specifies that the following is used as the sorting key; the number of foreground pixels in each blob (holes are not counted). INFO 

M_AXIS_PRINCIPAL_ANGLE + 
Specifies that the following is used as the sorting key; the angle, in degrees, at which each blob has the least moment of inertia. INFO 

M_AXIS_SECONDARY_ANGLE + 
Specifies that the following is used as the sorting key; the angle perpendicular to M_AXIS_PRINCIPAL_ANGLE of each blob, in degrees. INFO 

M_BLOB_CONTRAST 
Specifies that the following is used as the sorting key; the difference between the maximum and minimum pixel values of a blob. INFO 

M_BLOB_TOUCHING_IMAGE_BORDERS 
Specifies that the following is used as the sorting key; whether each blob is touching the borders of the image. 

M_BOX_AREA 
Specifies that the following is used as the sorting key; the area covered by the imageaxisaligned bounding box of each blob. INFO 

M_BOX_ASPECT_RATIO 
Specifies that the following is used as the sorting key; the ratio between the horizontal size and the vertical size of the imageaxisaligned bounding box of each blob. INFO 

M_BOX_FILL_RATIO 
Specifies that the following is used as the sorting key; the ratio between the area of the blob and the area of the imageaxisaligned bounding box of each blob. INFO 

M_BOX_X_MAX 
Specifies that the following is used as the sorting key; the extreme right Xcoordinate of each blob, of the imageaxisaligned bounding box. INFO 

M_BOX_X_MIN 
Specifies that the following is used as the sorting key; the extreme left Xcoordinate of each blob, of the imageaxisaligned bounding box. INFO 

M_BOX_Y_MAX 
Specifies that the following is used as the sorting key; the extreme bottom Ycoordinate of each blob, of the imageaxisaligned bounding box. INFO 

M_BOX_Y_MIN 
Specifies that the following is used as the sorting key; the extreme top Ycoordinate of each blob, of the imageaxisaligned bounding box. INFO 

M_BREADTH 
Specifies that the following is used as the sorting key; the breadth of each blob. INFO 

M_CENTER_OF_GRAVITY_X + 
Specifies that the following is used as the sorting key; the Xposition of the center of gravity of each blob. INFO 

M_CENTER_OF_GRAVITY_Y + 
Specifies that the following is used as the sorting key; the Yposition of the center of gravity of each blob. INFO 

M_COMPACTNESS 
Specifies that the following is used as the sorting key; the compactness of each blob. INFO 

M_CONVEX_HULL_AREA 
Specifies that the following is used as the sorting key; the area of the convex hull of each blob. INFO 

M_CONVEX_HULL_COG_X 
Specifies that the following is used as the sorting key; the Xcomponent of the center of gravity of the convex hull of each blob. INFO 

M_CONVEX_HULL_COG_Y 
Specifies that the following is used as the sorting key; the Ycomponent of the center of gravity of the convex hull of each blob. INFO 

M_CONVEX_HULL_FILL_RATIO 
Specifies that the following is used as the sorting key; the ratio between the blob's area and the area of its convex hull. INFO 

M_CONVEX_HULL_PERIMETER 
Specifies that the following is used as the sorting key; the perimeter of the convex hull of each blob. INFO 

M_CONVEX_PERIMETER 
Specifies that the following is used as the sorting key; an approximation of the perimeter of the convex hull of each blob. INFO 

M_ELONGATION 
Specifies that the following is used as the sorting key; a value that is equal to M_LENGTH / M_BREADTH of each blob. INFO 

M_EULER_NUMBER 
Specifies that the following is used as the sorting key; the number of blobs minus the number of holes (number of blobs  number of holes). INFO 

M_FERET_AT_PRINCIPAL_AXIS_ANGLE + 
Specifies that the following is used as the sorting key; the Feret diameter at the principal axis of each blob. INFO 

M_FERET_AT_SECONDARY_AXIS_ANGLE + 
Specifies that the following is used as the sorting key; the Feret diameter at the secondary axis of each blob. INFO 

M_FERET_ELONGATION 
Specifies that the following is used as the sorting key; the measure of the shape of each blob. INFO 

M_FERET_GENERAL 
Specifies that the following is used as the sorting key; the Feret diameter at the userspecified angle (set using MblobControl() with M_FERET_GENERAL_ANGLE). INFO 

M_FERET_MAX_ANGLE 
Specifies that the following is used as the sorting key; the angle, in degrees, at which the maximum Feret diameter is found for each blob. INFO 

M_FERET_MAX_DIAMETER 
Specifies that the following is used as the sorting key; the largest Feret diameter found after checking a certain number of angles. INFO 

M_FERET_MAX_DIAMETER_ELONGATION 
Specifies that the following is used as the sorting key; the ratio between the maximum Feret diameter of each blob and its perpendicular Feret diameter. INFO 

M_FERET_MEAN_DIAMETER 
Specifies that the following is used as the sorting key; the average of the Feret diameters at the angles checked for each blob. INFO 

M_FERET_MIN_ANGLE 
Specifies that the following is used as the sorting key; the angle, in degrees, at which the minimum Feret diameter is found for each blob. INFO 

M_FERET_MIN_DIAMETER 
Specifies that the following is used as the sorting key; the minimum Feret diameter found after checking a certain number of angles. INFO 

M_FERET_MIN_DIAMETER_ELONGATION 
Specifies that the following is used as the sorting key; the ratio between the minimum Feret diameter of each blob and its perpendicular Feret diameter. INFO 

M_FERET_PERPENDICULAR_TO_MAX_DIAMETER 
Specifies that the following is used as the sorting key; the Feret diameter that is perpendicular to the maximum Feret diameter of each blob. INFO 

M_FERET_PERPENDICULAR_TO_MIN_DIAMETER 
Specifies that the following is used as the sorting key; the Feret diameter that is perpendicular to the minimum Feret diameter of each blob. INFO 

M_FERET_PRINCIPAL_AXIS_ELONGATION + 
Specifies that the following is used as the sorting key; the ratio between the Feret diameter at the principal axis and the Feret diameter at the secondary axis of each blob. INFO 

M_FERET_X 
Specifies that the following is used as the sorting key; the dimension of the imageaxisaligned minimum bounding box of each blob, along the Xaxis of the pixel coordinate system (that is, M_BOX_X_MAX  M_BOX_X_MIN + 1). INFO 

M_FERET_Y 
Specifies that the following is used as the sorting key; the dimension of the imageaxisaligned minimum bounding box of each blob, along the Yaxis of the pixel coordinate system (that is, M_BOX_Y_MAX  M_BOX_Y_MIN + 1). INFO 

M_FIRST_POINT_X 
Specifies that the following is used as the sorting key; the Xcoordinate of a unique point (along with M_FIRST_POINT_Y) for each blob, that is on the perimeter of the blob. INFO 

M_FIRST_POINT_Y 
Specifies that the following is used as the sorting key; the Ycoordinate of a unique point (along with M_FIRST_POINT_X) for each blob, that is on the perimeter of the blob. INFO 

M_INTERCEPT_0 
Specifies that the following is used as the sorting key; the number of times a transition from background to foreground (not vice versa) occurs in the horizontal direction for the entire blob. INFO 

M_INTERCEPT_45 
Specifies that the following is used as the sorting key; the number of times that the neighborhood configuration occurs in a blob, where F is a foreground pixel, B is a background pixel, and a dot can be any pixel value. INFO 

M_INTERCEPT_90 
Specifies that the following is used as the sorting key; the number of times that the neighborhood configuration occurs in a blob. INFO 

M_INTERCEPT_135 
Specifies that the following is used as the sorting key; the number of times that the neighborhood configuration occurs in a blob. INFO 

M_LABEL_VALUE 
Specifies that the following is used as the sorting key; the label value of each blob. INFO 

M_LENGTH 
Specifies that the following is used as the sorting key; the length of each blob. INFO 

M_MAX_PIXEL 
Specifies that the following is used as the sorting key; the maximum pixel value found in each blob. INFO 

M_MEAN_PIXEL 
Specifies that the following is used as the sorting key; the mean pixel value in each blob. INFO 

M_MIN_AREA_BOX_ANGLE 
Specifies that the following is used as the sorting key; the angle of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_AREA 
Specifies that the following is used as the sorting key; the area of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_CENTER_X 
Specifies that the following is used as the sorting key; the Xcoordinate of the center of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_CENTER_Y 
Specifies that the following is used as the sorting key; the Ycoordinate of the center of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_HEIGHT 
Specifies that the following is used as the sorting key; the height (shortest side) of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_PERIMETER 
Specifies that the following is used as the sorting key; the perimeter of the minimumarea bounding box of each blob. INFO 

M_MIN_AREA_BOX_WIDTH 
Specifies that the following is used as the sorting key; the width (longest side) of the minimumarea bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_ANGLE 
Specifies that the following is used as the sorting key; the angle of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_AREA 
Specifies that the following is used as the sorting key; the area of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_CENTER_X 
Specifies that the following is used as the sorting key; the Xcoordinate of the center of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_CENTER_Y 
Specifies that the following is used as the sorting key; the Ycoordinate of the center of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_HEIGHT 
Specifies that the following is used as the sorting key; the height (shortest side) of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_PERIMETER 
Specifies that the following is used as the sorting key; the perimeter of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PERIMETER_BOX_WIDTH 
Specifies that the following is used as the sorting key; the width (longest side) of the minimumperimeter bounding box of each blob. INFO 

M_MIN_PIXEL 
Specifies that the following is used as the sorting key; the minimum pixel value found in each blob. INFO 

M_MOMENT_CENTRAL_X0_Y2 + 
Specifies that the following is used as the sorting key; the central moment of each blob where the order of X equals 0 and the order of Y equals 2. INFO 

M_MOMENT_CENTRAL_X1_Y1 + 
Specifies that the following is used as the sorting key; the central moment of each blob where the order of X equals 1 and the order of Y equals 1. INFO 

M_MOMENT_CENTRAL_X2_Y0 + 
Specifies that the following is used as the sorting key; the central moment of each blob where the order of X equals 2 and the order of Y equals 0. INFO 

M_MOMENT_GENERAL + 
Specifies that the following is used as the sorting key; the moment calculation, based on the settings specified using MblobControl() with M_MOMENT_GENERAL_MODE, M_MOMENT_GENERAL_ORDER_X, and M_MOMENT_GENERAL_ORDER_Y. INFO 

M_MOMENT_X0_Y1 + 
Specifies that the following is used as the sorting key; the ordinary moment of each blob where the order of X equals 0 and the order of Y equals 1. INFO 

M_MOMENT_X0_Y2 + 
Specifies that the following is used as the sorting key; the ordinary moment of each blob where the order of X equals 0 and the order of Y equals 2. INFO 

M_MOMENT_X1_Y0 + 
Specifies that the following is used as the sorting key; the ordinary moment of each blob where the order of X equals 1 and the order of Y equals 0. INFO 

M_MOMENT_X1_Y1 + 
Specifies that the following is used as the sorting key; the ordinary moment of each blob where the order of X equals 1 and the order of Y equals 1. INFO 

M_MOMENT_X2_Y0 + 
Specifies that the following is used as the sorting key; the ordinary moment of each blob where the order of X equals 2 and the order of Y equals 0. INFO 

M_NO_SORT 
Specifies that the sorting key is removed. 

M_NUMBER_OF_CHAINED_PIXELS 
Specifies that the following is used as the sorting key; the number of chained pixels in each blob. INFO 

M_NUMBER_OF_CONVEX_HULL_POINTS 
Specifies that the following is used as the sorting key; the number of points on the convex perimeter of each blob. INFO 

M_NUMBER_OF_HOLES 
Specifies that the following is used as the sorting key; the number of holes in each blob. INFO 

M_NUMBER_OF_RUNS 
Specifies that the following is used as the sorting key; the total number of runs in each blob. INFO 

M_PERIMETER 
Specifies that the following is used as the sorting key; the total length of edges in each blob (including the edges of any holes), whereby an allowance made for the staircase effect that is produced when diagonal edges are digitized (inside corners are counted as 1.414, rather than 2.0). INFO 

M_RECTANGULARITY 
Specifies that the following is used as the sorting key; the degree to which each blob is similar to a rectangle. INFO 

M_ROUGHNESS 
Specifies that the following is used as the sorting key; the roughness and irregularity of a blob is, and is equal to M_PERIMETER / M_CONVEX_PERIMETER. INFO 

M_SIGMA_PIXEL 
Specifies that the following is used as the sorting key; the standard deviation of pixel values in each blob. INFO 

M_SUM_PIXEL 
Specifies that the following is used as the sorting key; the sum of all pixel values in each blob. INFO 

M_SUM_PIXEL_SQUARED 
Specifies that the following is used as the sorting key; the sum of the squares of each pixel value in each blob. INFO 

M_WORLD_BOX_X_MAX 
Specifies that the following is used as the sorting key; the extreme right Xcoordinate of the worldaxisaligned bounding box, of each blob. INFO 

M_WORLD_BOX_X_MIN 
Specifies that the following is used as the sorting key; the extreme left Xcoordinate of the worldaxisaligned bounding box, of each blob. INFO 

M_WORLD_BOX_Y_MAX 
Specifies that the following is used as the sorting key; the extreme bottom Ycoordinate of the worldaxisaligned bounding box, of each blob. INFO 

M_WORLD_BOX_Y_MIN 
Specifies that the following is used as the sorting key; the extreme top Ycoordinate of the worldaxisaligned bounding box, of each blob. INFO 

M_WORLD_FERET_X 
Specifies that the following is used as the sorting key; the dimension of the worldaxisaligned minimum bounding box, along the Xaxis of the relative coordinate system (that is, M_WORLD_BOX_X_MAX  M_WORLD_BOX_X_MIN + 1). INFO 

M_WORLD_FERET_Y 
Specifies that the following is used as the sorting key; the dimension of the worldaxisaligned minimum bounding box, along the Yaxis of the relative coordinate system (that is, M_WORLD_BOX_Y_MAX  M_WORLD_BOX_Y_MIN + 1). INFO 

M_WORLD_X_AT_Y_MAX 
Specifies that the following is used as the sorting key; the Xcoordinate at the maximum Ycoordinate of each blob, of the worldaxisaligned bounding box. INFO 

M_WORLD_X_AT_Y_MIN 
Specifies that the following is used as the sorting key; the Xcoordinate at the minimum Ycoordinate of each blob, of the worldaxisaligned bounding box. INFO 

M_WORLD_Y_AT_X_MAX 
Specifies that the following is used as the sorting key; the Ycoordinate at the maximum Xcoordinate of each blob, of the worldaxisaligned bounding box. INFO 

M_WORLD_Y_AT_X_MIN 
Specifies that the following is used as the sorting key; the Ycoordinate at the minimum Xcoordinate of each blob, of the worldaxisaligned bounding box. INFO 

M_X_MAX_AT_Y_MAX 
Specifies that the following is used as the sorting key; the maximum Xcoordinate at the maximum Ycoordinate of each blob. INFO 

M_X_MAX_AT_Y_MIN 
Specifies that the following is used as the sorting key; the maximum Xcoordinate at the minimum Ycoordinate of each blob. INFO 

M_X_MIN_AT_Y_MAX 
Specifies that the following is used as the sorting key; the minimum Xcoordinate at the maximum Ycoordinate of each blob. INFO 

M_X_MIN_AT_Y_MIN 
Specifies that the following is used as the sorting key; the minimum Xcoordinate at the minimum Ycoordinate of each blob. INFO 

M_Y_MAX_AT_X_MAX 
Specifies that the following is used as the sorting key; the maximum Ycoordinate at the maximum Xcoordinate of each blob. INFO 

M_Y_MAX_AT_X_MIN 
Specifies that the following is used as the sorting key; the maximum Ycoordinate at the minimum Xcoordinate of each blob. INFO 

M_Y_MIN_AT_X_MAX 
Specifies that the following is used as the sorting key; the minimum Ycoordinate at the maximum Xcoordinate of each blob. INFO 

M_Y_MIN_AT_X_MIN 
Specifies that the following is used as the sorting key; the minimum Ycoordinate at the minimum Xcoordinate of each blob. INFO 

M_SORTn_DIRECTION + 
Inquires the direction in which the n ^{th} sorting key was sorted, where n stands for an integer between 1 and 3. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_SORT_UP. 

M_SORT_DOWN 
Specifies the feature as being sorted in descending order. 

M_SORT_UP 
Specifies the feature as being sorted in ascending order. 

M_TIMEOUT + 
Inquires the maximum processing time for MblobCalculate(), in msec. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DISABLE 
Specifies that there is no maximum processing time. 

Value >= 0 
Specifies the maximum processing time, in msec. 
For the following inquire types, the ContextOrResultBlobId parameter can specify a Blob Analysis context. The following group of features do not use grayscale pixel values; they are calculated using only the blob identifier image.
For inquiring about features with only a binary
definition



Description  
UserVarPtr  Possible values returned 

M_BOX + 
Inquires whether imageaxisaligned bounding box features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_BREADTH + 
Inquires whether the breadth of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_CHAINS + 
Inquires whether chain features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_COMPACTNESS + 
Inquires whether a measure of the compactness of an object will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_CONTACT_POINTS + 
Inquires whether the contact features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_CONVEX_HULL + 
Inquires whether all convex hull features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_CONVEX_PERIMETER + 
Inquires whether the approximation of the perimeter of the convex hull of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_ELONGATION + 
Inquires whether a measure of the elongation of an object will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_EULER_NUMBER + 
Inquires whether the number of blobs  number of holes will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_GENERAL + 
Inquires whether the userspecified Feret diameter will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_MAX_DIAMETER_ELONGATION + 
Inquires whether the ratio between the maximum Feret diameter and its perpendicular Feret diameter will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_MIN_DIAMETER_ELONGATION + 
Inquires whether the ratio between the minimum Feret diameter and its perpendicular Feret diameter will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_PERPENDICULAR_TO_MAX_DIAMETER + 
Inquires whether the Feret diameter that is perpendicular to the maximum Feret diameter will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_PERPENDICULAR_TO_MIN_DIAMETER + 
Inquires whether the Feret diameter that is perpendicular to the minimum Feret diameter will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERETS + 
Inquires whether the Feret features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_INTERCEPT + 
Inquires whether the intercept features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_LENGTH + 
Inquires whether the length of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MIN_AREA_BOX + 
Inquires whether all the minimumarea bounding box features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_MIN_PERIMETER_BOX + 
Inquires whether all the minimumperimeter bounding box features will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_NUMBER_OF_HOLES + 
Inquires whether the number of holes in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_PERIMETER + 
Inquires whether the total length of edges in a blob (including the edges of any holes) will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_RECTANGULARITY + 
Inquires whether the degree to which a blob resembles a rectangle will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_ROUGHNESS + 
Inquires if the roughness and irregularity of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_RUNS + 
Inquires whether the blob runlength encoding information will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_WORLD_BOX + 
Inquires whether all of the features related to the worldaxisaligned bounding box will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 
For the following inquire types, the ContextOrResultBlobId parameter can specify a Blob Analysis context. The following features require grayscale pixel values, and can only be calculated if you provide a grayscale image.
For inquiring about features with only a grayscale
definition



Description  
UserVarPtr  Possible values returned 

M_BLOB_CONTRAST + 
Inquires whether the difference between the maximum and minimum pixel values of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MAX_PIXEL + 
Inquires whether the maximum pixel value in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MEAN_PIXEL + 
Inquires whether the mean pixel value in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MIN_PIXEL + 
Inquires whether the minimum pixel value in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_SIGMA_PIXEL + 
Inquires whether the standard deviation of pixel values in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_SUM_PIXEL + 
Inquires whether the sum of all pixel values in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_SUM_PIXEL_SQUARED + 
Inquires whether the sum of the squares of each pixel value in a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 
For the following inquire types, the ContextOrResultBlobId parameter can specify a Blob Analysis context. The following features have two different definitions: a binary definition, where all pixels are considered equal, and a grayscale, where pixels are weighted by their value in the gray image (the grayscale version is much slower to calculate). If you do not provide a grayscale image, only the binary version can be calculated. If you do provide a grayscale image, both versions are calculated.
For inquiring about features with two definitions
(binary and grayscale)



Description  
UserVarPtr  Possible values returned 

M_CENTER_OF_GRAVITY + 
Inquires whether both X and Ycoordinates of the center of gravity will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_FERET_AT_PRINCIPAL_AXIS_ANGLE + 
Inquires whether the Feret diameter at the principal axis of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_AT_SECONDARY_AXIS_ANGLE + 
Inquires whether the Feret diameter at the secondary axis of a blob will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_FERET_PRINCIPAL_AXIS_ELONGATION + 
Inquires whether the ratio between the Feret diameter at the principal axis and the Feret diameter at the secondary axis will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MOMENT_FIRST_ORDER + 
Inquires whether the firstorder moments will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 

M_MOMENT_GENERAL + 
Inquires whether the userspecified moment will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that this feature will not be calculated. 

M_ENABLE 
Specifies that this feature will be calculated. 

M_MOMENT_SECOND_ORDER + 
Inquires whether the secondorder moments will be calculated. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_DEFAULT 
Same as M_DISABLE. 

M_DISABLE 
Specifies that these features will not be calculated. 

M_ENABLE 
Specifies that these features will be calculated. 
The abovementioned inparameter values must be added to the following values. The abovementioned outparameter values are returned combined with the following values. In either case, the following values are used to set whether the results should be returned for the binary or grayscale version of the selected feature.
For feature parameters that have two
definitions



Description  
M_BINARY 
Selects the binary definition of the selected feature. 

M_GRAYSCALE 
Selects the grayscale definition of the selected feature. 
You can add the following value to the abovementioned values to determine the default value of an inquire type, regardless of the current value of the inquire type.
For inquiring the default value of an inquire
type



Description  
UserVarPtr  Possible values returned 

M_DEFAULT 
Inquires the default value of the specified inquire type. 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE

For the following inquire types, the ContextOrResultBlobId parameter must specify a Blob Analysis result buffer.
For inquiring about a processing setting in a Blob
Analysis result buffer



Description  
UserVarPtr  Possible values returned 

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 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


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_RESULT_OUTPUT_UNITS + 
Inquires whether results are returned in pixel or world units. SET 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_ACCORDING_TO_CALIBRATION 
Specifies that results are returned in world units if the result was calculated on an image associated with a camera 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 
You can add one of the following values to the abovementioned values to cast the requested information to the required 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. 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_TYPE_MIL_ID 
Casts the requested information to a MIL_ID. 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_ID


M_TYPE_MIL_INT 
Casts the requested information to a MIL_INT. 

UserVarPtr extra info 
Data type info:
Data type: address of a
MIL_INT

