Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID ContextOrResultBlobId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control a setting of the specified Blob Analysis context or result buffer.
For Blob Analysis contexts, these settings control the execution of MblobCalculate(), and which blob features are enabled for calculation. For Blob Analysis result buffers, these settings control the post-manipulation of results. If MblobControl() is not called, default processing controls and values are used in calculations.
You can inquire about most of these settings using MblobInquire().
Changing certain control type settings will cause MblobCalculate() to discard all results currently in your result buffer prior to calculation. If this is the case, it will be mentioned in the preamble to the table containing these control types.
Specifies the setting to change.
See the Parameter associations section for possible values that can be specified.
Specifies the setting's new value.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ControlType and ControlValue parameters.
For the following global processing setting control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis context.
Changing the value of the following control types between calls to MblobCalculate() will cause all the results currently in your Blob analysis result buffer to be discarded upon the next call to MblobCalculate().
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate features for each blob, or to treat groups of blobs as single blobs and calculate the features of the blobs. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_INDIVIDUAL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all blobs are measured individually. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that blobs with the same label are grouped together, and that touching blobs with different labels are also grouped together. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that blobs with the same label are grouped together, and that touching blobs with different labels are measured individually. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all blobs are grouped together. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the image lattice for blob analysis. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_8_CONNECTED. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that each pixel has 4 neighbors. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that each pixel has 8 neighbors. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the upper limit of the angular search range in which to search for the maximum (M_FERET_MAX_DIAMETER) or minimum (M_FERET_MIN_DIAMETER) Feret diameters. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 180. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the upper limit of the angular search range. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the lower limit of the angular search range in which to search for the maximum (M_FERET_MAX_DIAMETER) or minimum (M_FERET_MIN_DIAMETER) Feret diameters. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the lower limit of the angular search range. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets which pixel values are considered to be in the foreground. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_NONZERO. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the blobs consisting of non-zero pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the blobs consisting of zero pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the number of Feret angles to use when calculating a Feret feature (M_FERET_...) or a feature based on Ferets (that is, M_RECTANGULARITY, M_ROUGHNESS, or M_CONVEX_PERIMETER). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 8. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the use of a high precision algorithm to accurately calculate Feret features (and features based on Feret features). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the minimum number of Feret angles. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the number of Feret angles. |
For the following global processing setting control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis context. These control types do not cause any results currently in the result buffer to be discarded when MblobCalculate() is called.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate Feret contact points for features that support it (for example, M_FERET_AT_PRINCIPAL_AXIS_ANGLE) if the feature has been enabled for calculation. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the Feret contact points for supported features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the Feret contact points for supported features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the angle to use when calculating M_FERET_GENERAL. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the angle, in degrees. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the values that non-zero pixels in the blob identifier image can have. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_GRAYSCALE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that non-zero pixels must have the maximum value of the buffer (for example, 0xff for an 8-bit image). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that non-zero pixels can have any value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum number of blobs to process. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that there is no limit on the maximum number of blobs. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum number of blobs. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the type of moment to calculate when calculating a user-specified moment (M_MOMENT_GENERAL). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ORDINARY. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a central moment. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies an ordinary moment. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the order of the X-component of the user-specified moment. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the X-order of the moment. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the order of the Y-component of the user-specified moment. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the Y-order of the moment. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the pixel aspect ratio of the image(s). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default value; the default value is 1.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the pixel width/pixel height. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether results from partially scanned images will be available after a stop condition is met. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to discard results of partially scanned images when processing is interrupted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to make results of partially scanned images available when processing is interrupted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to save run information when calling MblobCalculate(). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies not to save run information. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to save run information. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the feature to use as the n th sorting key for results, where n stands for an integer between 1 and 3. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_NO_SORT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of foreground pixels in each blob (holes are not counted). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle, in degrees, at which each blob has the least moment of inertia. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle perpendicular to M_AXIS_PRINCIPAL_ANGLE of each blob, in degrees. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the difference between the maximum and minimum pixel values of a blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by whether each blob is touching the borders of the image. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the area covered by the image-axis-aligned bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the horizontal size and the vertical size of the image-axis-aligned bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the area of the blob and the area of the image-axis-aligned bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme right X-coordinate of each blob, of the image-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme left X-coordinate of each blob, of the image-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme bottom Y-coordinate of each blob, of the image-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme top Y-coordinate of each blob, of the image-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the breadth of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-position of the center of gravity of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-position of the center of gravity of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the compactness of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the area of the convex hull of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-component of the center of gravity of the convex hull of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-component of the center of gravity of the convex hull of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the blob's area and the area of its convex hull. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the perimeter of the convex hull of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by an approximation of the perimeter of the convex hull of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by a value that is equal to M_LENGTH / M_BREADTH of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of blobs minus the number of holes (number of blobs - number of holes). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Feret diameter at the principal axis of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Feret diameter at the secondary axis of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the measure of the shape of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Feret diameter at the user-specified angle (set using MblobControl() with M_FERET_GENERAL_ANGLE). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle, in degrees, at which the maximum Feret diameter is found for each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the largest Feret diameter found after checking a certain number of angles. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the maximum Feret diameter of each blob and its perpendicular Feret diameter. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the average of the Feret diameters at the angles checked for each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle, in degrees, at which the minimum Feret diameter is found for each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum Feret diameter found after checking a certain number of angles. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the minimum Feret diameter of each blob and its perpendicular Feret diameter. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Feret diameter that is perpendicular to the maximum Feret diameter of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Feret diameter that is perpendicular to the minimum Feret diameter of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ratio between the Feret diameter at the principal axis and the Feret diameter at the secondary axis of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the dimension of the image-axis-aligned minimum bounding box of each blob, along the X-axis of the pixel coordinate system (that is, M_BOX_X_MAX - M_BOX_X_MIN + 1). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the dimension of the image-axis-aligned minimum bounding box of each blob, along the Y-axis of the pixel coordinate system (that is, M_BOX_Y_MAX - M_BOX_Y_MIN + 1). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-coordinate of a unique point (along with M_FIRST_POINT_Y) for each blob, that is on the perimeter of the blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-coordinate of a unique point (along with M_FIRST_POINT_X) for each blob, that is on the perimeter of the blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of times a transition from background to foreground (not vice versa) occurs in the horizontal direction for the entire blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the
number of times that the neighborhood configuration |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the
number of times that the neighborhood configuration |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the
number of times that the neighborhood configuration |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the label value of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the length of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the maximum pixel value found in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the mean pixel value in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the area of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-coordinate of the center of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-coordinate of the center of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the height (shortest side) of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the perimeter of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the width (longest side) of the minimum-area bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the angle of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the area of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-coordinate of the center of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-coordinate of the center of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the height (shortest side) of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the perimeter of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the width (longest side) of the minimum-perimeter bounding box of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum pixel value found in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the central moment of each blob where the order of X equals 0 and the order of Y equals 2. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the central moment of each blob where the order of X equals 1 and the order of Y equals 1. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the central moment of each blob where the order of X equals 2 and the order of Y equals 0. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by 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 |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ordinary moment of each blob where the order of X equals 0 and the order of Y equals 1. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ordinary moment of each blob where the order of X equals 0 and the order of Y equals 2. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ordinary moment of each blob where the order of X equals 1 and the order of Y equals 0. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ordinary moment of each blob where the order of X equals 1 and the order of Y equals 1. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the ordinary moment of each blob where the order of X equals 2 and the order of Y equals 0. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to remove the sorting key. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of chained pixels in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of points on the convex perimeter of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the number of holes in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the total number of runs in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by 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 |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the degree to which each blob is similar to a rectangle. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the roughness and irregularity of a blob is, and is equal to M_PERIMETER / M_CONVEX_PERIMETER. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the standard deviation of pixel values in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the sum of all pixel values in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the sum of the squares of each pixel value in each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme right X-coordinate of the world-axis-aligned bounding box, of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme left X-coordinate of the world-axis-aligned bounding box, of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme bottom Y-coordinate of the world-axis-aligned bounding box, of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the extreme top Y-coordinate of the world-axis-aligned bounding box, of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the dimension of the world-axis-aligned minimum bounding box, along the X-axis of the relative coordinate system (that is, M_WORLD_BOX_X_MAX - M_WORLD_BOX_X_MIN + 1). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the dimension of the world-axis-aligned minimum bounding box, along the Y-axis of the relative coordinate system (that is, M_WORLD_BOX_Y_MAX - M_WORLD_BOX_Y_MIN + 1). INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-coordinate at the maximum Y-coordinate of each blob, of the world-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the X-coordinate at the minimum Y-coordinate of each blob, of the world-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-coordinate at the maximum X-coordinate of each blob, of the world-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the Y-coordinate at the minimum X-coordinate of each blob, of the world-axis-aligned bounding box. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the maximum X-coordinate at the maximum Y-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the maximum X-coordinate at the minimum Y-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum X-coordinate at the maximum Y-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum X-coordinate at the minimum Y-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the maximum Y-coordinate at the maximum X-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the maximum Y-coordinate at the minimum X-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum Y-coordinate at the maximum X-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to sort by the minimum Y-coordinate at the minimum X-coordinate of each blob. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the direction in which the n th sorting key is sorted, where n stands for an integer between 1 and 3. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_SORT_UP. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the feature as being sorted in descending order. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the feature as being sorted in ascending order. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets the maximum processing time, in msec. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that there is no maximum processing time. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the maximum processing time, in msec. |
The following control type allows you to enable or disable all features for calculation using a single call. For the following control type, you must set the ContextOrResultBlobId parameter to a Blob Analysis context.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all features. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to disable the calculation of all features, regardless of their previous setting. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that all of the features will be calculated, regardless of their previous setting. |
The following control types establish which of the blob features, that have only a binary definition, are calculated for each blob; these blob features are calculated using only the blob identifier image. For the following control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis context. Note that, unless otherwise stated, these features are calculated in pixel units; although you can retrieve them in world units using MblobGetResult() if calculated on a calibrated blob identifier image and M_RESULT_OUTPUT_UNITS is set to M_WORLD or M_ACCORDING_TO_CALIBRATION.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all image-axis-aligned bounding box features plus X- and Y-Ferets. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the breadth of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all 4 chain features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the compactness value of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the contact features of the image-axis-aligned bounding box. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all convex hull features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the approximation of the perimeter of the convex hull of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the number of blobs - number of holes. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate a Feret diameter at a user-specified angle specified using M_FERET_GENERAL_ANGLE. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the ratio between the maximum Feret diameter and its perpendicular Feret diameter. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the ratio between the minimum Feret diameter and its perpendicular Feret diameter. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the Feret diameter that is perpendicular to the maximum Feret diameter. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the Feret diameter that is perpendicular to the minimum Feret diameter. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the Feret features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the intercept features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the length of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all the minimum-area bounding box features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all the minimum-perimeter bounding box features. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the number of holes in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the total length of edges in a blob (including the edges of any holes), with 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). INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the degree to which a blob resembles a rectangle. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the roughness and irregularity of a blob, and is equal to M_PERIMETER / M_CONVEX_PERIMETER. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the blob run-length encoding information. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate all of the features related to the world-axis-aligned bounding box. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
The following control types establish which of the features, that have only a grayscale definition, are calculated for each blob. These blob features can only be calculated if you pass MblobCalculate() both a blob identifier image and a grayscale image. For the following control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis context.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the difference between the maximum and minimum pixel values of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the maximum pixel value in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the mean pixel value in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the minimum pixel value in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the standard deviation of pixel values in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the sum of all pixel values in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the sum of the squares of each pixel value in a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
The following control types establish which of the features, that have both a binary and a grayscale definition, are calculated for each blob. The binary definition considers all pixels equal; the grayscale definition weighs pixels by their value in the grayscale image (the grayscale definition is much slower to calculate).
When you do not specify a combination value for the following control types, both versions of the feature (or groups of features) are enabled for calculation by default. If you do not provide a grayscale image to MblobCalculate(), only the binary version can be calculated. Specifying a combination value for the following control types will overwrite the settings that were set when no combination value was specified. If a combination value was initially specified for a control type, and a different setting was specified for the same control type without a combination value, it will also overwrite the previous setting. For example, if you specify M_MOMENT_GENERAL with M_ENABLE, both the binary and grayscale versions of the feature will be calculated. If you subsequently specify M_MOMENT_GENERAL + M_GRAYSCALE with M_DISABLE, only the binary version of the feature will be calculated.
For the following control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis context.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate both X- and Y-coordinates of the center of gravity. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the Feret diameter at the principal axis of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the Feret diameter at the secondary axis of a blob. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the ratio between the Feret diameter at the principal axis and the Feret diameter at the secondary axis. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the first-order moments where the order of either the X- or Y-component equals 0 and the order of the other component equals 1. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate a user-specified moment. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that this feature will be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to calculate the second-order moments. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will not be calculated. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that these features will be calculated. |
You can add one of the following values to the above-mentioned values to set whether to enable, disable, or sort on only the binary or grayscale calculation of the feature.
For control values of the M_SORTn control type, this combination is essential (that is, you must add one of these combination values to the control value).
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Selects the binary definition of the selected feature. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Selects the grayscale definition of the selected feature. |
For the following control types, you must set the ContextOrResultBlobId parameter to a Blob Analysis result buffer.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets which units to use with the CondLow and CondHigh parameters of the MblobSelect() function, when specifying the limit values of the blob selection condition. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the limit values passed to MblobSelect() be interpreted in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the limit values passed to MblobSelect() be interpreted in world units, with respect to the relative coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Sets whether to return results in pixels or world units. INQ |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as 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. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that results are returned in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that results are returned in world units, with respect to the relative coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Stops the current blob analysis calculation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
This parameter must be set to M_DEFAULT. |
void MblobControlDouble
(MIL_ID
ContextOrResultBlobId, MIL_INT64 ControlType,
MIL_DOUBLE ControlValue)
Parameters
ContextOrResultBlobId See ContextOrResultBlobId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
void MblobControlInt64
(MIL_ID
ContextOrResultBlobId, MIL_INT64 ControlType,
MIL_INT64 ControlValue)
Parameters
ContextOrResultBlobId See ContextOrResultBlobId of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib; milblob.lib. |
DLL | Requires mil.dll; milblob.dll. |