Filters
Filter values by
Model Finder object type
  • Shape-specific context
  • Geometric context settings
  • Geometric controlled context settings
  • Result buffer settings
Type of settings
  • General context settings
  • General result buffer settings
  • Model settings
    • Common to all
    • Common to all synthetic models
    • Circle-specific
    • Cross-specific
    • Diamond-specific
    • Ellipse-specific
    • File-type specific
    • Image-type or Edge-type specific
    • Rectangle-specific
    • Ring-specific
    • Segment-specific
    • Square-specific
    • Triangle-specific
| Customize Help
| Save Settings

MmodInquire



Function Map
Synopsis
Inquire information about a specified Model Finder context, a specified model, or a specified result buffer.
Syntax
MIL_INT MmodInquire(
MIL_ID ContextOrResultId, //in
MIL_INT Index, //in
MIL_INT64 InquireType, //in
void *UserVarPtr //out
)
Description

This function inquires information about a specified Model Finder context, the models contained therein, or a specified Model Finder result buffer. Note that Model Finder result buffer values can be obtained with MmodGetResult().

In general, returned values (for example, position and width) are in the following units:

  • For a non-synthetic model, returned values are in the pixel coordinate system, even if the target is calibrated. The only exception is when inquiring about angles (for example, M_REFERENCE_ANGLE); in these cases, the angles values are in the relative coordinate system if the target is calibrated.

  • For a synthetic model in a M_GEOMETRIC or M_GEOMETRIC_CONTROLLED context, returned values are in the user-defined units for the model; their relationship to pixels is defined using MmodControl() with M_PIXEL_SCALE. If the target is not calibrated, M_PIXEL_SCALE is used for the match. If the target is calibrated, model units are used; note that these should be the same as the calibrated units. In a few cases, instead of returning values in model units, values are returned in pixel units (for example, M_POSITION_...); these cases are clearly indicated.

  • For a model in a M_SHAPE_... context, returned values are in model units, which in this case are the same as the target units. If the target is calibrated, the model's settings will be interpreted in world units. If the target is not calibrated, the model's settings will be interpreted in pixel units.

If an inquire type is set to M_DEFAULT, MmodInquire() will return M_DEFAULT. To inquire its default value, add M_DEFAULT to the inquire type.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
ContextOrResultId

Specifies the Model Finder context or Model Finder result buffer about which to inquire information. The Model Finder context or result buffer must have been previously allocated on the required system using MmodAlloc() or MmodAllocResult(), respectively.

Index

Specifies that information will be inquired about the Model Finder context, an individual model, or a Model Finder result buffer. This parameter should be set to one of the following values:

function map For specifying a context, model, or result buffer
Click to summarizeValue Description
Click to summarize M_DEFAULT

Specifies the default.

If a Model Finder context is specified, this parameter inquires information about model index 0.

If a result buffer is specified, same as M_GENERAL.

(summarize)
Click to summarize M_CONTEXT

Inquires information about the Model Finder context, which has been set using the ContextOrResultId parameter.

Click to summarize M_GENERAL

Inquires general information about the Model Finder result buffer, which has been set using the ContextOrResultId parameter.

Click to summarize 0 <= IndexValue < M_NUMBER_MODELS

Specifies the index of the individual model to inquire, if ContextOrResultId is set to a Model Finder context.

To retrieve the index of a model from its user label, set this parameter to the user label and set the inquire type to M_INDEX_FROM_LABEL.

(summarize)
Click to summarize LabelValue

Specifies the user label of the individual model to inquire, if ContextOrResultId is set to a Model Finder context.

InquireType

Specifies the type of setting about which to inquire.

See the Parameter associations section for possible values that can be specified.

UserVarPtr
Accepts the address of one of the following (see the Parameter associations section for specifics on which is expected):
  • array of type MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE> ]
  • array of type MIL_ID [optionally, in C++: a reference to a std::vector<MIL_ID> ]
  • array of type MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT> ]
  • array of type MIL_INT32 [optionally, in C++: a reference to a std::vector<MIL_INT32> ]
  • array of type MIL_INT64 [optionally, in C++: a reference to a std::vector<MIL_INT64> ]
  • MIL_DOUBLE
  • MIL_ID
  • MIL_INT
  • MIL_INT32
  • MIL_INT64

Specifies the address in which to write the requested information. Since the MmodInquire() 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.

For M_CONTEXT or an individual model specified using its index, the InquireType parameter can be set to one of the following:

function map For inquiring about the number of occurrences to find for the entire context or an individual model specified using its index
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_NUMBER +

Inquires the number of models for which to search.

For M_CONTEXT, this setting returns the maximum number of occurrences of all models to find in the target.

For a model, this setting returns the maximum number of occurrences of the specified model to find in the target. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value. INFO

Click to summarize M_ALL

Specifies to find all occurrences. INFO

Click to summarize Value > 0

Specifies the number of occurrences. INFO

To inquire about the system on which the Model Finder context or result buffer has been allocated, set the InquireType parameter to the value below.

function map For inquiring about the context or result buffer
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_OWNER_SYSTEM +

Inquires the identifier of the system on which the Model Finder context or result buffer was allocated. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT_HOST

Specifies the default Host system of the current MIL application.

Click to summarize MIL system identifier

Specifies a valid system identifier, previously allocated using MsysAlloc().

For M_CONTEXT, the InquireType parameter can be set to one of the following:

function map For inquiring about the context
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_ACCURACY +

Inquires the search accuracy.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_MEDIUM.

Click to summarize M_HIGH

Specifies high accuracy.

Click to summarize M_LOW

Specifies low accuracy.

Click to summarize M_MEDIUM

Specifies medium accuracy.

Click to summarize M_ACTIVE_EDGELS +

Inquires the degree to which MIL processes active edgels in the target.

This inquire type is only supported for a geometric Model Finder context (MmodAlloc() with M_GEOMETRIC). SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies the degree to which MIL processes target edgels, in percent. INFO

Click to summarize M_ASPECT_RATIO +

Inquires the aspect ratio applied to the target before starting the search.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize 0.5 <= Value <= 2.0

Specifies the pixel width/pixel height of the target.

Click to summarize M_CONTEXT_TYPE +

Inquires the type of search context allocated. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_GEOMETRIC

Specifies that the Model Finder context uses a general geometric search algorithm. INFO

Click to summarize M_GEOMETRIC_CONTROLLED

Specifies that the Model Finder context uses a controlled geometric search algorithm. INFO

Click to summarize M_SHAPE_CIRCLE

Specifies that the Model Finder context uses a circular model search algorithm. INFO

Click to summarize M_SHAPE_ELLIPSE

Specifies that the Model Finder context uses an elliptical model search algorithm. INFO

Click to summarize M_SHAPE_RECTANGLE

Specifies that the Model Finder context uses a rectangular model search algorithm. INFO

Click to summarize M_SHAPE_SEGMENT

Specifies that the Model Finder context uses a segment model search algorithm. INFO

Click to summarize M_DETAIL_LEVEL +

Inquires the level of details to extract from the model source and target image. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_MEDIUM.

Click to summarize M_HIGH

Specifies a high level of detail.

Click to summarize M_MEDIUM

Specifies a medium level of detail.

Click to summarize M_VERY_HIGH

Specifies a very high level of detail.

Click to summarize M_FIRST_LEVEL +

Inquires the resolution level for the initial stage of the search.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_AUTO.

Click to summarize M_AUTO

Specifies that the first resolution is determined automatically.

Click to summarize 0 <= Value <= 7

Specifies the resolution level. INFO

Click to summarize M_LAST_LEVEL +

Inquires the resolution level for the final stage of the search.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_AUTO.

Click to summarize M_AUTO

Specifies that the last resolution is determined automatically.

Click to summarize 0 <= Value <= 7

Specifies the resolution level. INFO

Click to summarize M_MODIFICATION_COUNT +

Inquires the current value of the modification counter. The modification counter is increased by one each time settings for the context are modified.

Although you cannot identify the modification counter's contents, you can compare them throughout your application to know if the context has been altered. If the modification counter has changed you can, for example, prompt the user to save before closing the application.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize Value

Specifies the current value of the modification counter.

Click to summarize M_NUMBER_MODELS +

Inquires the number of models in the context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize Value

Specifies the number of models.

Click to summarize M_PREPROCESSED +

Inquires whether the Model Finder context is preprocessed. The context must be preprocessed (using MmodPreprocess()) before calling MmodFind(). After certain settings of the Model Finder context are changed with MmodControl(), or after a model is added or removed with MmodDefine(), this inquire type will indicate that the context is no longer in its preprocessed state.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FALSE

Specifies that the context is not preprocessed.

Click to summarize M_TRUE

Specifies that the context is preprocessed.

Click to summarize M_SAVE_TARGET_EDGES +

Inquires whether the target edges in the result will be saved. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that target edges cannot be saved.

Click to summarize M_ENABLE

Specifies that target edges can be saved.

Click to summarize M_SEARCH_ANGLE_RANGE +

Inquires whether to perform calculations specific to angular-range search strategies.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value. INFO

Click to summarize M_DISABLE

Specifies that calculations specific to angular-range search strategies are disabled.

Click to summarize M_ENABLE

Specifies that calculations specific to angular-range search strategies are enabled.

Click to summarize M_SEARCH_POSITION_RANGE +

Inquires whether to perform calculations specific to position-range search strategies.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that calculations specific to position-range search strategies are disabled.

Click to summarize M_ENABLE

Specifies that calculations specific to position-range search strategies are enabled.

Click to summarize M_SEARCH_SCALE_RANGE +

Inquires whether to perform calculations specific to scale-range search strategies.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that calculations specific to scale-range search strategies are disabled.

Click to summarize M_ENABLE

Specifies that calculations specific to scale-range search strategies are enabled. INFO

Click to summarize M_SHARED_EDGES +

Inquires whether multiple occurrences can share edges.

This inquire type is not supported for a model defined in an M_SHAPE_CIRCLE, an M_SHAPE_ELLIPSE, or an M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable the sharing of edges. INFO

Click to summarize M_ENABLE

Specifies to enable the sharing of edges.

Click to summarize M_SMOOTHNESS +

Inquires the degree of smoothness (denoising) applied to the model images and the target images during edge extraction. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 50.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the smoothness value applied to the images. INFO

Click to summarize M_SPEED +

Inquires the search speed.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_MEDIUM.

Click to summarize M_HIGH

Specifies a high speed.

Click to summarize M_LOW

Specifies a low speed.

Click to summarize M_MEDIUM

Specifies a medium speed.

Click to summarize M_VERY_HIGH

Specifies a very high speed.

Click to summarize M_TARGET_CACHING +

Inquires whether target caching is enabled.

This inquire type is not supported for an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable target caching. INFO

Click to summarize M_ENABLE

Specifies to enable target caching in the result.

Click to summarize M_TIMEOUT +

Inquires the maximum search time for MmodFind(), in msec. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2000.0 msec.

Click to summarize M_DISABLE

Specifies an infinite amount of search time.

Click to summarize Value >= 0.0

Specifies the maximum search time, in msecs.

For inquiring about an individual model specified using its index, the InquireType parameter can be set to one of the following:

function map For inquiring about a model using its index
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_ACCEPTANCE +

Inquires the acceptance level for the score. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 60.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies an acceptable score, in percent. INFO

Click to summarize M_ACCEPTANCE_TARGET +

Inquires the acceptance level for the target score.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

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

Click to summarize 0.0 <= Value <= 100.0

Specifies an acceptable target score, in percent. INFO

Click to summarize M_ALLOC_OFFSET_X +

Inquires the X-offset of the model in the model source image.

This is only supported for image-type or Edge Finder-type models. For a synthetic model, use M_BOX_OFFSET_X instead.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the X-offset of the model, in pixels.

Click to summarize M_ALLOC_OFFSET_Y +

Inquires the Y-offset of the model in the model source image.

This is only supported for image-type or Edge Finder-type models. For a synthetic model, use M_BOX_OFFSET_Y instead.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the Y-offset of the model, in pixels.

Click to summarize M_ALLOC_SIGN +

Inquires whether the data range of the model image is signed or unsigned.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_SIGNED

Specifies that the data is signed.

Click to summarize M_UNSIGNED

Specifies that the data is unsigned. Synthetic, Model Finder-type and merge-type models will always return M_UNSIGNED.

(summarize)
Click to summarize M_ALLOC_SIZE_BAND +

Inquires the number of bands of the model image. When drawing the model image, use M_ALLOC_SIZE_BAND to establish the required number of bands for the destination buffer.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize 1

Specifies a 1-band buffer.

Click to summarize 3

Specifies a 3-band buffer.

Click to summarize M_ALLOC_SIZE_BIT +

Inquires the depth per band, in bits, of the model image.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize 1

Specifies that the data depth is 1 bit per band.

Click to summarize 8

Specifies that the data depth is 8 bits per band.

Click to summarize 16

Specifies that the data depth is 16 bits per band.

Click to summarize 32

Specifies that the data depth is 32 bits per band.

Click to summarize M_ALLOC_SIZE_X +

Inquires the width of the model box.

For a synthetic model, use M_BOX_SIZE_X to get this value in model units. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value >= 16.0

Specifies the width of the model (in X), in pixels.

Click to summarize M_ALLOC_SIZE_Y +

Inquires the height of the model box.

For a synthetic model, use M_BOX_SIZE_Y to get this value in model units. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value >= 16.0

Specifies the height of the model (in Y), in pixels.

Click to summarize M_ALLOC_TYPE +

Inquires the data type and depth of the model image.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FLOAT + 32

Specifies 32-bit floating-point data.

Click to summarize M_SIGNED + 8

Specifies 8-bit signed data.

Click to summarize M_SIGNED + 16

Specifies 16-bit signed data.

Click to summarize M_SIGNED + 32

Specifies 32-bit signed data.

Click to summarize M_UNSIGNED + 1

Specifies 1-bit unsigned data.

Click to summarize M_UNSIGNED + 8

Specifies 8-bit unsigned data.

Click to summarize M_UNSIGNED + 16

Specifies 16-bit unsigned data.

Click to summarize M_UNSIGNED + 32

Specifies 32-bit unsigned data.

Click to summarize M_ANGLE +

Inquires the nominal search angle; this is the angle at which you expect to find the model's reference axis (specified using M_REFERENCE_ANGLE) in the target.

For an ellipse or rectangle model defined in an M_SHAPE_ELLIPSE or M_SHAPE_RECTANGLE type of Model Finder context, the model's reference axis is, by default, aligned with its principle axis (its width).

This inquire type is not supported for a model defined in an M_SHAPE_CIRCLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

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

Click to summarize 0.0 <= Value <= 360.0

Specifies the nominal search angle, in degrees. INFO

Click to summarize M_ANGLE_DELTA_NEG +

Inquires the lower limit of the angular range, relative to the nominal search angle.

This inquire type is not supported for a model defined in an M_SHAPE_CIRCLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 180.0 °.

Click to summarize 0.0 <= Value <= 180.0

Specifies the lower limit of the angular range, in degrees. INFO

Click to summarize M_ANGLE_DELTA_POS +

Inquires the upper limit of the angular range, relative to the nominal search angle.

This inquire type is not supported for a model defined in an M_SHAPE_CIRCLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 180.0 °.

Click to summarize 0.0 <= Value <= 180.0

Specifies the upper limit of the angular range, in degrees. INFO

Click to summarize M_ANGLE_MULTIPLE_RANGE +

Inquires whether to search for models in multiple angular ranges.

This inquire type is only supported for a model in an M_SHAPE_RECTANGLE or M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_STEP_180.

Click to summarize M_DISABLE

Specifies that the multiple angle search range is disabled. INFO

Click to summarize M_STEP_90

Specifies to search for models at 90 degree steps from the specified angle. INFO

Click to summarize M_STEP_180

Specifies to search for models at a 180 degree step. INFO

Click to summarize M_ANGLE_REGION +

Sets the angle direction of the search region defined by M_POSITION_... controls.

This control type is only valid for M_SHAPE_... models.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

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

Click to summarize 0.0 <= Value <= 360.0

Specifies the search angle, in degrees.

Click to summarize M_ASSOCIATED_CALIBRATION +

Inquires the camera calibration context associated with the specified model.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_NULL

Specifies that there is no camera calibration context associated with the model.

Click to summarize MIL Calibration context identifier

Specifies the camera calibration context that is associated with the model.

Click to summarize M_BOX_MARGIN_BOTTOM +

Inquires the margin at the bottom of the bounding box of the model's active edges, in model units.

This inquire type is only valid for synthetic models. If in an M_SHAPE_... type of Model Finder context, this margin is only used for drawing; it does not affect the match. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0% of the height of the bounding box of the model's active edges.

Click to summarize Value >= 0.0

Specifies the margin, in model units.

Click to summarize M_BOX_MARGIN_LEFT +

Inquires the margin at the left of the bounding box of the model's active edges, in model units.

This inquire type is only valid for synthetic models. If in an M_SHAPE_... type of Model Finder context, this margin is only used for drawing; it does not affect the match. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0% of the width of the bounding box of the model's active edges.

Click to summarize Value >= 0.0

Specifies the margin, in model units.

Click to summarize M_BOX_MARGIN_RIGHT +

Inquires the margin at the right of the bounding box of the model's active edges, in model units.

This inquire type is only valid for synthetic models. If in an M_SHAPE_... type of Model Finder context, this margin is only used for drawing; it does not affect the match. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0% of the width of the bounding box of the model's active edges.

Click to summarize Value >= 0.0

Specifies the margin, in model units.

Click to summarize M_BOX_MARGIN_TOP +

Inquires the margin at the top of the bounding box of the model's active edges, in model units.

This inquire type is only valid for synthetic models. If in an M_SHAPE_... type of Model Finder context, this margin is only used for drawing; it does not affect the match. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0% of the height of the bounding box of the model's active edges.

Click to summarize Value >= 0.0

Specifies the margin, in model units.

Click to summarize M_BOX_OFFSET_X +

Inquires the X-offset of the top-left corner of the model box from the model origin.

For predefined shape models, the origin of the model is the center of the shape. For CAD-file models, the origin is the same as the one defined in the CAD file.

The model box is defined by the bounding box of the model's active edges plus the specified margins. You can inquire the margins using M_BOX_MARGIN_....

M_BOX_OFFSET_X is updated when the margins that define the model box are changed.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the X-offset, in model units.

Click to summarize M_BOX_OFFSET_Y +

Inquires the Y-offset of the top-left corner of the model box from the model origin.

For predefined shape models, the origin of the model is the center of the shape. For CAD-file models, the origin is the same as the one defined in the CAD file.

The model box is defined by the bounding box of the model's active edges plus the specified margins. You can inquire the margins using M_BOX_MARGIN_....

M_BOX_OFFSET_Y is updated when the margins that define the model box are changed.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the Y-offset, in model units.

Click to summarize M_BOX_SIZE_X +

Inquires the size along the X-axis of the model box.

The model box is defined by the bounding box of the model's active edges plus the specified margins. You can inquire the margins using M_BOX_MARGIN_....

You cannot set the size of the model box; however, you can set the size of the model's bounding box when defining the model using MmodDefine(). You can also set the size of the margins using MmodControl() with M_BOX_MARGIN_....

This inquire type is only valid for synthetic models.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the X-size, in model units.

Click to summarize M_BOX_SIZE_Y +

Inquires the size along the Y-axis of the model box.

The model box is defined by the bounding box of the model's active edges plus the specified margins. You can inquire the margins using M_BOX_MARGIN_....

You cannot set the size of the model box; however, you can set the size of the model's bounding box when defining the model using MmodDefine(). You can also set the size of the margins using MmodControl() with M_BOX_MARGIN_....

This inquire type is only valid for synthetic models.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the Y-size, in model units.

Click to summarize M_CAD_Y_AXIS +

Inquires the direction of the Y-axis for a CAD-type model.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value. INFO

Click to summarize M_FLIP

Specifies to flip the Y-axis for the model so that the Y-axis is positive going down.

Click to summarize M_NO_FLIP

Specifies not to flip the Y-axis for the model.

Click to summarize M_CERTAINTY +

Inquires the certainty level for the score. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 90.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies the certainty level for the score, in percent. INFO

Click to summarize M_CERTAINTY_TARGET +

Inquires the certainty level for the target score.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

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

Click to summarize 0.0 <= Value <= 100.0

Specifies the certainty level for the target score, in percent. INFO

Click to summarize M_CHAIN_ANGLE +

Inquires the angle value of each edgel in the chains composing the model's active edges.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE> ] MORE
Click to summarize Value

Specifies the angle value of the edgel.

Click to summarize M_CHAIN_INDEX +

Inquires the indices which differentiate each active edge's chain of edgels, for each edgel within the model. The first chain is identified as index 1, with each subsequent chain's index incremented by 1.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT> ] MORE
Click to summarize Value

Specifies the index of the chain.

Click to summarize M_CHAIN_X +

Inquires the X-coordinates, in pixels (with subpixel accuracy), of each edgel in the chains composing the model's active edges. Coordinates are returned for all the active edge chains contained within the model and are relative to the model origin.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE> ] MORE
Click to summarize Value

Specifies the X-coordinate of the edgel.

Click to summarize M_CHAIN_Y +

Inquires the Y-coordinates, in pixels (with subpixel accuracy), of each edgel in the chains composing the model's active edges. Coordinates are returned for all the active edge chains contained within the model and are relative to the model origin.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE> ] MORE
Click to summarize Value

Specifies the Y-coordinate of the edgel.

Click to summarize M_CORNER_RADIUS +

Inquires the radius used to round corners of the model.

This is only valid for models of type M_RECTANGLE, M_SQUARE, M_DIAMOND, M_TRIANGLE, and M_CROSS. Attempting to call this value for any other model type will generate an error.

This inquire type is not supported for a model defined in a M_SHAPE_... type of Model Finder result buffer. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value >= 0.0

Specifies the radius, in model units. INFO

Click to summarize M_COVERAGE_MAX +

Inquires the maximum expected model coverage.

This inquire type is only supported for a model defined in an M_SHAPE_CIRCLE or M_SHAPE_ELLIPSE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the maximum expected model coverage.

Click to summarize M_COVERAGE_MIN +

Inquires the minimum expected model coverage.

This inquire type is only supported for a model defined in an M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 40.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the minimum expected model coverage.

Click to summarize M_DEVIATION_TOLERANCE +

Inquires the tolerance for finding deformed rectangles or segments, for a model defined in an M_SHAPE_RECTANGLE or M_SHAPE_SEGMENT type of Model Finder context, respectively, given the other specified Model Finder constraints.

This inquire type is only supported for M_RECTANGLE or M_SEGMENT types of models in an M_SHAPE_RECTANGLE or M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 25.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies the tolerance as a percentage of the allowable deformation of a rectangle or segment, given the other Model Finder constraints. INFO

Click to summarize M_FIT_ERROR_WEIGHTING_FACTOR +

Inquires the contribution of the fit error in the score and target score calculation. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 25.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies the fit error weighting factor, in percent. INFO

Click to summarize M_FIT_SCORE_MIN +

Inquires the minimum expected occurrence fit score.

This inquire type is only supported for a model defined in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the minimum expected occurrence fit score.

Click to summarize M_FOREGROUND_VALUE +

Inquires the foreground value of the model. The foreground is the interior of the shape.

This is only valid for predefined shape models. CAD-type models do not have a polarity. For these model types, M_ANY will be returned. SET SET SET SET SET SET SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value. INFO

Click to summarize M_ANY

Specifies that the model has no specific polarity. INFO

Click to summarize M_FOREGROUND_BLACK

Specifies that black is the foreground color of the model.

Click to summarize M_FOREGROUND_WHITE

Specifies that white is the foreground color of the model.

Click to summarize M_HAS_DONT_CARE_MASK +

Inquires whether the model has an M_DONT_CARE mask applied to it.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FALSE

Specifies that an M_DONT_CARE mask has not been applied to the model.

Click to summarize M_TRUE

Specifies that an M_DONT_CARE mask has been applied to the model.

Click to summarize M_HAS_FLAT_REGIONS_MASK +

Inquires whether the model has an M_FLAT_REGIONS mask applied to it.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FALSE

Specifies that an M_FLAT_REGIONS mask has not been applied to the model.

Click to summarize M_TRUE

Specifies that an M_FLAT_REGIONS mask has been applied to the model.

Click to summarize M_HAS_WEIGHT_REGIONS_MASK +

Inquires whether the model has an M_WEIGHT_REGIONS mask applied to it.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FALSE

Specifies that an M_WEIGHT_REGIONS mask has not been applied to the model.

Click to summarize M_TRUE

Specifies that an M_WEIGHT_REGIONS mask has been applied to the model.

Click to summarize M_HEIGHT +

Inquires the height of the shape in the model.

This is only valid for a model of type M_CROSS, M_DIAMOND, M_ELLIPSE, M_RECTANGLE, and M_TRIANGLE. SET SET SET SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the height of the shape, in model units.

Click to summarize M_HORIZONTAL_THICKNESS +

Inquires the horizontal thickness of the cross in the model.

This is only valid for a model of type M_CROSS. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the horizontal thickness of the cross, in model units.

Click to summarize M_INNER_RADIUS +

Inquires the inner radius of the ring in the model.

This is only valid for a model of type M_RING. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the inner radius of the ring, in model units.

Click to summarize M_LENGTH +

Inquires the length of the segment in the model.

This is only valid for a model of type M_SEGMENT. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the length of the segment, in model units.

Click to summarize M_MIN_SEPARATION_ANGLE +

Inquires the minimum angular separation required for two occurrences to be considered distinct matches. This value is an absolute angle value.

This inquire type is not supported for a model defined in an M_SHAPE_CIRCLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0 degrees.

Click to summarize M_DISABLE

Disables the minimum angle separation criteria. INFO

Click to summarize 0.0 < Value <= 180.0

Specifies the minimum angular separation required, in degrees. INFO

Click to summarize M_MIN_SEPARATION_ASPECT_RATIO +

Inquires the minimum separation required in aspect ratios, for two occurrences to be considered distinct matches. This value is specified as an aspect ratio factor.

This inquire type is only supported for a model in an M_SHAPE_ELLIPSE or M_SHAPE_RECTANGLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.1.

Click to summarize M_DISABLE

Specifies to disable the minimum aspect ratio separation criteria. INFO

Click to summarize 1.0 < Value <= 4.0

Specifies the criteria for minimum separation of aspect ratios.

Click to summarize M_MIN_SEPARATION_SCALE +

Inquires the minimum separation required in scale for two occurrences to be considered distinct matches. This value is a scale factor. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.1.

Click to summarize M_DISABLE

Specifies to disable the minimum scale separation criteria. INFO

Click to summarize 1.0 < Value <= 4.0

Specifies the criteria for minimum separation in scale.

Click to summarize M_MIN_SEPARATION_X +

Inquires the minimum separation required along the X-axis for two occurrences to be considered distinct matches. This value is a percentage of the model's width at M_SCALE. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0 %.

Click to summarize M_DISABLE

Specifies to disable the minimum separation in X criteria. INFO

Click to summarize Value

Specifies the minimum separation as a percentage of the model's width at M_SCALE. INFO

Click to summarize M_MIN_SEPARATION_Y +

Inquires the minimum separation required along the Y-axis for two occurrences to be considered distinct matches. This value is a percentage of the model's height at M_SCALE. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.0 %.

Click to summarize M_DISABLE

Specifies to disable the minimum separation in Y criteria. INFO

Click to summarize Value

Specifies the minimum separation as a percentage of the model's height at M_SCALE. INFO

Click to summarize M_MIN_SIDE_COVERAGE +

Inquires the minimum coverage on each of the sides of a rectangular model. Note that at least a portion of each side must be visible.

This inquire type is only supported for a model in an M_SHAPE_RECTANGLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 40.0.

Click to summarize 1.0 <= Value <= 100.0

Specifies the minimum side coverage.

Click to summarize M_MODEL_ASPECT_RATIO +

Inquires the nominal aspect ratio factor for the model.

This inquire type is only supported for a model in an M_SHAPE_ELLIPSE or an M_SHAPE_RECTANGLE type of Model Finder context. For other types of Model Finder contexts, see M_ASPECT_RATIO. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize M_CIRCLE_ASPECT_RATIO

Specifies the minimum possible value for this control type.

Click to summarize Value > 0.0

Specifies the value of the nominal aspect ratio for the model. INFO

Click to summarize M_MODEL_ASPECT_RATIO_MAX_FACTOR +

Inquires the factor used to determine the upper limit (maximum permitted aspect ratio) of the model's aspect ratio.

This inquire type is only supported for a model in an M_SHAPE_ELLIPSE or M_SHAPE_RECTANGLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.2.

Click to summarize M_INFINITE

Specifies that the maximum factor for the aspect ratio of a model is infinite.

Click to summarize Value >= 1.0

Specifies the factor that determines the maximum aspect ratio for a model.

Click to summarize M_MODEL_ASPECT_RATIO_MIN_FACTOR +

Inquires he factor used to determine the lower limit (minimum permitted aspect ratio) of the model's aspect ratio.

This inquire type is only supported for a model in an M_SHAPE_ELLIPSE or M_SHAPE_RECTANGLE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.8.

Click to summarize M_CIRCLE_ASPECT_RATIO

Specifies the minimum factor for the aspect ratio of a model.

Click to summarize 0.0 < Value <= 1.0

Specifies the factor that determines the minimum aspect ratio for a model.

Click to summarize M_MODEL_TYPE +

Inquires the type of model. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_AUTO_DEFINE

Specifies a unique model whose features are extracted from an automatically selected region of the model source image. INFO

Click to summarize M_CIRCLE

Specifies a predefined circle as the model. INFO

Click to summarize M_CROSS

Specifies a predefined cross as the model. INFO

Click to summarize M_DIAMOND

Specifies a predefined diamond as the model. INFO

Click to summarize M_DXF_FILE

Specifies a model defined from the entities in the specified CAD DXF file. INFO

Click to summarize M_EDGE_RESULT

Specifies a model defined from the results of an edge extraction performed using Edge Finder. INFO

Click to summarize M_ELLIPSE

Specifies a predefined ellipse as the model. INFO

Click to summarize M_IMAGE

Specifies a model defined from the specified model source image. INFO

Click to summarize M_MERGE_MODEL

Specifies a model defined from two other models. INFO

Click to summarize M_MOD_RESULT

Specifies a model defined from a Model Finder result buffer. INFO

Click to summarize M_RECTANGLE

Specifies a predefined rectangle as the model. INFO

Click to summarize M_RING

Specifies a predefined ring as the model. INFO

Click to summarize M_SEGMENT

Specifies a predefined segment as the model. INFO

Click to summarize M_SQUARE

Specifies a predefined square as the model. INFO

Click to summarize M_TRIANGLE

Specifies a predefined triangle as the model. INFO

Click to summarize M_NUMBER_OF_CHAINED_EDGELS +

Inquires the total number of chained edgels in the active edges of the model.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize Value

Specifies the number of chained edgels.

Click to summarize M_ORIGINAL_X +

Inquires the X-coordinate of the model's reference axis origin, relative to the top-left corner of the model source image. This is only valid for image-type and Edge Finder-type models.

To inquire the X-coordinate of the reference axis origin relative to the model origin, use M_REFERENCE_X.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the X-coordinate of the model's reference axis origin.

Click to summarize M_ORIGINAL_Y +

Inquires the Y-coordinate of the model's reference axis origin, relative to the top-left corner of the model source image This is only valid for image-type and Edge Finder-type models.

To inquire the Y-coordinate of the reference axis origin relative to the model origin, use M_REFERENCE_Y.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the Y-coordinate of the model's reference axis origin.

Click to summarize M_OUTER_RADIUS +

Inquires the outer radius of the ring in the model.

This is only valid for a model of type M_RING. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the outer radius of the ring, in model units.

Click to summarize M_PIXEL_SCALE +

Inquires the pixel scale of the model.

This is only valid for synthetic models.

This inquire type is not supported for models defined with an M_SHAPE_... type of Model Finder context. For these types of contexts, model units are interpreted to be in the units of the target. If the target is calibrated, the units are interpreted to be in calibrated units. If the target is not, the units are interpreted to be in pixel units. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value of the pixel scale. INFO

Click to summarize Value > 0.0

Specifies the pixel scale. INFO

Click to summarize M_POLARITY +

Inquires the expected polarity of occurrences relative to the model.

This inquire type is not supported for a model defined in an M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Specifies the default value. INFO

Click to summarize M_ANY

Specifies that the occurrences can be a mixture of polarities.

Click to summarize M_REVERSE

Specifies that the polarity of occurrences is the reverse of that of the model.

Click to summarize M_SAME

Specifies that the polarity of occurrences is the same as that of the model.

Click to summarize M_SAME_OR_REVERSE

Specifies that the polarity of occurrences can be either the same or the reverse of that of the model.

Click to summarize M_POSITION_DELTA_NEG_X +

Inquires the position range, in the negative X-direction relative to the nominal search position. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize M_INFINITE

Specifies the position range as the entire image plane in the negative X-direction. INFO

Click to summarize Value >= 0.0

Specifies the position range's negative X-offset, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the offset in the units of the target's coordinate system.

Click to summarize M_POSITION_DELTA_NEG_Y +

Inquires the position range, in the negative Y-direction relative to the nominal search position. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize M_INFINITE

Specifies the position range as the entire image plane in the negative Y-direction. INFO

Click to summarize Value >= 0.0

Specifies the position range's negative Y-offset, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the offset in the units of the target's coordinate system.

Click to summarize M_POSITION_DELTA_POS_X +

Inquires the position range, in the positive X-direction relative to the nominal search position. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_INFINITE.

Click to summarize M_INFINITE

Specifies the position range as the entire image plane in the positive X-direction. INFO

Click to summarize Value >= 0.0

Specifies the position range's positive X-offset, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the offset in the units of the target's coordinate system.

Click to summarize M_POSITION_DELTA_POS_Y +

Inquires the position range, in the positive Y-direction relative to the nominal search position. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_INFINITE.

Click to summarize M_INFINITE

Specifies the position range as the entire image plane in the positive Y-direction. INFO

Click to summarize Value >= 0.0

Specifies the position range's positive Y-offset, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the offset in the units of the target's coordinate system.

Click to summarize M_POSITION_X +

Inquires the nominal search position for the X-coordinate. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_ALL.

Click to summarize M_ALL

Specifies all X-coordinates.

Click to summarize Value

Specifies the nominal search position, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the position in the units of the target's coordinate system.

Click to summarize M_POSITION_Y +

Inquires the nominal search position for the Y-coordinate. SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_ALL.

Click to summarize M_ALL

Specifies all Y-coordinates.

Click to summarize Value

Specifies the nominal search position, in pixels, and can be specified with subpixel accuracy; for an M_SHAPE_... type of Model Finder context, specify the position in the units of the target's coordinate system.

Click to summarize M_RADIUS +

Inquires the radius of the circle in the model.

This is only valid for a model of type M_CIRCLE.

This inquire type is not supported for a model defined in an M_SHAPE_ELLIPSE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the radius of the circle, in model units.

Click to summarize M_REFERENCE_ANGLE +

Inquires the reference axis angle of the model.

By default, for an ellipse model defined in an M_SHAPE_ELLIPSE type of Model Finder context, the reference axis is aligned with the principal axis of the model (the width). SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

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

Click to summarize 0.0 <= Value <= 360.0

Specifies the angle, in degrees. INFO

Click to summarize M_REFERENCE_X +

Inquires the X-coordinate, in pixels, of the reference axis origin of the model, relative to the model origin. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies that the default X-offset will be used. INFO

Click to summarize Value

Specifies the X-offset value. INFO

Click to summarize M_REFERENCE_Y +

Inquires the Y-coordinate, in pixels, of the reference axis origin of the model, relative to the model origin. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies that the default Y-offset will be used. INFO

Click to summarize Value

Specifies the Y-offset value. INFO

Click to summarize M_SAGITTA_TOLERANCE +

Inquires the tolerance for finding deformed circles (allowable radii variation) for an M_CIRCLE or an M_ELLIPSE type of model.

This inquire type is only supported for M_CIRCLE or M_ELLIPSE types of models in an M_SHAPE_... type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 25.0 %.

Click to summarize 0.0 <= Value <= 100.0

Specifies the tolerance as a percentage of the allowable radii variation given the other Model Finder constraints. INFO

Click to summarize M_SCALE +

Inquires the nominal search scale.

For a model defined in an M_SHAPE_ELLIPSE or M_SHAPE_RECTANGLE type of Model Finder context, scale calculations are taken with respect to the model's width. For a model defined in an M_SHAPE_SEGMENT type of Model Finder context, scale calculations are taken with respect to the model's length. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize Value

Specifies the value of the nominal search scale. INFO

Click to summarize M_SCALE_MAX_FACTOR +

Inquires the factor used to determine the upper limit (maximum permitted scale) of the scale range. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.0.

Click to summarize M_INFINITE

Specifies that the upper limit of the scale range is infinite. INFO

Click to summarize 1.0 <= Value <= 2.0

Specifies the factor that determines the maximum scale of the occurrence for a model in an M_GEOMETRIC or M_GEOMETRIC_CONTROLLED type of Model Finder context.

Click to summarize Value >= 1.0

Specifies the factor that determines the maximum scale of the occurrence for a model in an M_SHAPE_... type of Model Finder context.

Click to summarize M_SCALE_MIN_FACTOR +

Inquires the factor used to determine the lower limit (minimum permitted scale) of the scale range. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 < Value <= 1.0

Specifies the factor that determines the minimum scale of the occurrence for a model in an M_SHAPE_... type of Model Finder context.

Click to summarize 0.5 <= Value <= 1.0

Specifies the factor that determines the minimum scale of the occurrence for a model in an M_GEOMETRIC or M_GEOMETRIC_CONTROLLED type of Model Finder context.

Click to summarize M_SEARCH_ASPECT_RATIO_CONSTRAINT +

Inquires whether to constrain candidates to the nearest bound of the aspect ratio range if the candidate is outside of the range.

This inquire type is only supported for a model in an M_SHAPE_ELLIPSE type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that for a candidate to be considered an occurrence, it must have an aspect ratio within the defined aspect ratio range. INFO

Click to summarize M_ENABLE

Specifies to consider candidates with an aspect ratio that falls outside of the specified aspect ratio range, but constrain their fit to the closest bound of the aspect ratio range, and reduce their score accordingly. INFO

Click to summarize M_SEGMENT_CONSISTENT_GRADIENT +

Inquires whether the gradients of the segment model occurrences need to be consistent.

This inquire type is only supported for a model in an M_SHAPE_SEGMENT type of Model Finder context. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that the segment model occurrences can have the same gradients or reverse gradients.

Click to summarize M_ENABLE

Specifies that the gradients of the segment model occurrences must be consistent.

Click to summarize M_USER_LABEL +

Inquires the user-defined label. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_NO_LABEL.

Click to summarize M_NO_LABEL

Specifies that no user label is associated with the model.

Click to summarize Value

Specifies the user label of the model. INFO

Click to summarize M_VALID +

Inquires whether the model is valid or not.

Note that a synthetic model is invalid if size of the model box * M_PIXEL_SCALE * M_SCALE is greater than 1024 pixels in the X-direction or the Y-direction.

This inquire type is not supported for a model defined in an M_SHAPE_... type of Model Finder context.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_FALSE

Specifies that the model is not valid.

Click to summarize M_TRUE

Specifies that the model is valid.

Click to summarize M_VERTICAL_THICKNESS +

Inquires the vertical thickness of the cross in the model.

This is only valid for a model of type M_CROSS. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the vertical thickness of the cross, in model units.

Click to summarize M_WIDTH +

Inquires the width of the shape in the model.

This is only valid for a model of type M_CROSS, M_DIAMOND, M_ELLIPSE, M_RECTANGLE, M_SQUARE, and M_TRIANGLE. SET SET SET SET SET SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize Value

Specifies the width of the shape, in model units.

You can add the following value to the above-mentioned values to determine the required array size (number of elements) to store the returned values.

function map For determining the required array size (number of elements) to store the returned values
Click to summarizeInquireType combination value Description
UserVarPtr
- Possible values returned
Click to summarize M_NB_ELEMENTS

Retrieves the required array size (number of elements) to store the returned values.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Combination value for the values listed in For inquiring about the number of occurrences to find for the entire context or an individual model specified using its index; the values listed in For inquiring about the context; and for the following values: M_ACCEPTANCE; M_ACCEPTANCE_TARGET; M_ALLOC_OFFSET_X; M_ALLOC_OFFSET_Y; M_ALLOC_SIGN; M_ALLOC_SIZE_BAND; M_ALLOC_SIZE_BIT; M_ALLOC_SIZE_X; M_ALLOC_SIZE_Y; M_ALLOC_TYPE; M_ANGLE; M_ANGLE_DELTA_NEG; M_ANGLE_DELTA_POS; M_ASSOCIATED_CALIBRATION; M_BOX_MARGIN_BOTTOM; M_BOX_MARGIN_LEFT; M_BOX_MARGIN_RIGHT; M_BOX_MARGIN_TOP; M_BOX_OFFSET_X; M_BOX_OFFSET_Y; M_BOX_SIZE_X; M_BOX_SIZE_Y; M_CAD_Y_AXIS; M_CERTAINTY; M_CERTAINTY_TARGET; M_CORNER_RADIUS; M_COVERAGE_MAX; M_COVERAGE_MIN; M_FIT_ERROR_WEIGHTING_FACTOR; M_FIT_SCORE_MIN; M_FOREGROUND_VALUE; M_HAS_DONT_CARE_MASK; M_HAS_FLAT_REGIONS_MASK; M_HAS_WEIGHT_REGIONS_MASK; M_HEIGHT; M_HORIZONTAL_THICKNESS; M_INNER_RADIUS; M_LENGTH; M_MIN_SEPARATION_ANGLE; M_MIN_SEPARATION_ASPECT_RATIO; M_MIN_SEPARATION_SCALE; M_MIN_SEPARATION_X; M_MIN_SEPARATION_Y; M_MODEL_ASPECT_RATIO; M_MODEL_ASPECT_RATIO_MAX_FACTOR; M_MODEL_ASPECT_RATIO_MIN_FACTOR; M_MODEL_TYPE; M_ORIGINAL_X; M_ORIGINAL_Y; M_OUTER_RADIUS; M_PIXEL_SCALE; M_POLARITY; M_POSITION_DELTA_NEG_X; M_POSITION_DELTA_NEG_Y; M_POSITION_DELTA_POS_X; M_POSITION_DELTA_POS_Y; M_POSITION_X; M_POSITION_Y; M_RADIUS; M_REFERENCE_ANGLE; M_REFERENCE_X; M_REFERENCE_Y; M_SAGITTA_TOLERANCE; M_SCALE; M_SCALE_MAX_FACTOR; M_SCALE_MIN_FACTOR; M_SEARCH_ASPECT_RATIO_CONSTRAINT; M_USER_LABEL; M_VALID; M_VERTICAL_THICKNESS; M_WIDTH.

You can add the following value to the above-mentioned values to determine the default value of an inquire type, regardless of the current value of the inquire type.

function map For inquiring the default value of an inquire type
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_DEFAULT

Inquires the default value of the specified inquire type.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE

For model inquiries using the model's user label l(that is, when the Index parameter is set to the user label of a model), the InquireType parameter can be set to the following:

function map For inquiring about a model using its user label
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_INDEX_FROM_LABEL +

Inquires the model index associated with a model user label if the user label is used. Pass the user label as the Index parameter.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_INVALID

Specifies that the user label is invalid. This is returned if the specified model label is not associated with a model.

(summarize)
Click to summarize Value

Specifies the model index that is associated with the specified user label.

For result buffer inquiries, the InquireType parameter can be set to one of the following:

function map For a result buffer
Click to summarize
InquireType
Description
UserVarPtr
- Possible values returned
Click to summarize M_HAS_TARGET_EDGES_SAVED +

Inquires whether target edges have been saved.

M_SAVE_TARGET_EDGES must be set to M_ENABLE to save target edges.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize M_FALSE

Specifies that target edges have not been saved.

Click to summarize M_TRUE

Specifies that target edges have been saved.

Click to summarize M_MOD_DEFINE_COMPATIBLE +

Inquires whether the information necessary to define a model from an occurrence will be saved in the result buffer.

This inquire type is not supported for an M_SHAPE_... type of Model Finder result buffer. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies not to save any information.

Click to summarize M_ENABLE

Specifies to save all the necessary information.

Click to summarize M_RESULT_OUTPUT_UNITS +

Inquires whether results are returned in pixel or world units. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_DEFAULT

Same as M_ACCORDING_TO_CALIBRATION.

Click to summarize 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.

Click to summarize M_PIXEL

Specifies that results are returned in pixel units, with respect to the pixel coordinate system.

Click to summarize M_WORLD

Specifies that results are returned in world units, with respect to the relative coordinate system. INFO

Click to summarize M_RESULT_TYPE +

Inquires the type of result buffer allocated. SET

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE MORE
Click to summarize M_GEOMETRIC

Specifies that the Model Finder result buffer can hold results from a search with an M_GEOMETRIC type of context.

Click to summarize M_GEOMETRIC_CONTROLLED

Specifies that the Model Finder result buffer can hold results from a search with an M_GEOMETRIC_CONTROLLED type of context.

Click to summarize M_SHAPE_CIRCLE

Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_CIRCLE type of context.

Click to summarize M_SHAPE_ELLIPSE

Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_ELLIPSE type of context.

Click to summarize M_SHAPE_RECTANGLE

Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_RECTANGLE type of context.

Click to summarize M_SHAPE_SEGMENT

Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_SEGMENT type of context.

You can add the following value to the above-mentioned values to determine whether an inquire type is supported.

function map For inquiring whether an inquire type is supported
Click to summarizeInquireType Description
UserVarPtr
- Possible values returned
Click to summarize M_SUPPORTED

Inquires whether the specified inquire type is supported.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: address of a MIL_DOUBLE
Click to summarize 0

Specifies that the inquire type is not supported.

Click to summarize Value != 0

Specifies that the inquire type is supported. If the index value is different from M_ALL, the inquire type is supported for the model with the specified index value. If the index value is M_ALL, the inquire type is supported for all models. If the index value is M_CONTEXT, the inquire type is supported for the context.

(summarize)

You can add one of the following values to the above-mentioned values to cast the requested information to the required data type.

Note: In C++, when using a standard vector (std::vector) instead of an array, the values listed in this combination table must not be used. If you need to use a specific data type, instantiate the vector with the necessary data type.

function map For specifying the data type
Click to summarizeInquireType Description
UserVarPtr
- Possible values returned
Click to summarize M_TYPE_MIL_DOUBLE

Casts the requested information to a MIL_DOUBLE.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE> ]  |  address of a MIL_DOUBLE MORE
Click to summarize M_TYPE_MIL_ID

Casts the requested information to a MIL_ID.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_ID [optionally, in C++: a reference to a std::vector<MIL_ID> ]  |  address of a MIL_ID MORE
Click to summarize M_TYPE_MIL_INT

Casts the requested information to a MIL_INT.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT> ]  |  address of a MIL_INT MORE
Click to summarize M_TYPE_MIL_INT32

Casts the requested information to a MIL_INT32.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_INT32 [optionally, in C++: a reference to a std::vector<MIL_INT32> ]  |  address of a MIL_INT32 MORE
Click to summarize M_TYPE_MIL_INT64

Casts the requested information to a MIL_INT64.

(summarize)
Expand data type infoCollapse data type info UserVarPtr extra info
Data type info: Data type: array of type MIL_INT64 [optionally, in C++: a reference to a std::vector<MIL_INT64> ]  |  address of a MIL_INT64 MORE
Return value
The returned value is the requested information, cast to a MIL_INT. If the requested information does not fit into a MIL_INT, this function will return M_NULL or truncate the information.
Compilation information
Header Include mil.h.
Library Use mil.lib; milmod.lib.
DLL Requires mil.dll; milmod.dll.
DEFAULT CONTEXT GENERAL NUMBER MODELS NUMBER DEFAULT ALL OWNER SYSTEM DEFAULT HOST ACCURACY DEFAULT HIGH LOW MEDIUM ACTIVE EDGELS DEFAULT ASPECT RATIO DEFAULT CONTEXT TYPE GEOMETRIC GEOMETRIC CONTROLLED SHAPE CIRCLE SHAPE ELLIPSE SHAPE RECTANGLE SHAPE SEGMENT DETAIL LEVEL DEFAULT HIGH MEDIUM VERY HIGH FIRST LEVEL DEFAULT AUTO LAST LEVEL DEFAULT AUTO MODIFICATION COUNT NUMBER MODELS PREPROCESSED FALSE TRUE SAVE TARGET EDGES DEFAULT DISABLE ENABLE SEARCH ANGLE RANGE DEFAULT DISABLE ENABLE SEARCH POSITION RANGE DEFAULT DISABLE ENABLE SEARCH SCALE RANGE DEFAULT DISABLE ENABLE SHARED EDGES DEFAULT DISABLE ENABLE SMOOTHNESS DEFAULT SPEED DEFAULT HIGH LOW MEDIUM VERY HIGH TARGET CACHING DEFAULT DISABLE ENABLE TIMEOUT DEFAULT DISABLE ACCEPTANCE DEFAULT ACCEPTANCE TARGET DEFAULT ALLOC OFFSET X ALLOC OFFSET Y ALLOC SIGN SIGNED UNSIGNED ALLOC SIZE BAND ALLOC SIZE BIT ALLOC SIZE X ALLOC SIZE Y ALLOC TYPE FLOAT 32 SIGNED 8 SIGNED 16 SIGNED 32 UNSIGNED 1 UNSIGNED 8 UNSIGNED 16 UNSIGNED 32 ANGLE DEFAULT ANGLE DELTA NEG DEFAULT ANGLE DELTA POS DEFAULT ANGLE MULTIPLE RANGE DEFAULT DISABLE STEP 90 STEP 180 ANGLE REGION DEFAULT ASSOCIATED CALIBRATION NULL BOX MARGIN BOTTOM DEFAULT BOX MARGIN LEFT DEFAULT BOX MARGIN RIGHT DEFAULT BOX MARGIN TOP DEFAULT BOX OFFSET X BOX OFFSET Y BOX SIZE X BOX SIZE Y CAD Y AXIS DEFAULT FLIP NO FLIP CERTAINTY DEFAULT CERTAINTY TARGET DEFAULT CHAIN ANGLE CHAIN INDEX CHAIN X CHAIN Y CORNER RADIUS DEFAULT COVERAGE MAX DEFAULT COVERAGE MIN DEFAULT DEVIATION TOLERANCE DEFAULT FIT ERROR WEIGHTING FACTOR DEFAULT FIT SCORE MIN DEFAULT FOREGROUND VALUE DEFAULT ANY FOREGROUND BLACK FOREGROUND WHITE HAS DONT CARE MASK FALSE TRUE HAS FLAT REGIONS MASK FALSE TRUE HAS WEIGHT REGIONS MASK FALSE TRUE HEIGHT HORIZONTAL THICKNESS INNER RADIUS LENGTH MIN SEPARATION ANGLE DEFAULT DISABLE MIN SEPARATION ASPECT RATIO DEFAULT DISABLE MIN SEPARATION SCALE DEFAULT DISABLE MIN SEPARATION X DEFAULT DISABLE MIN SEPARATION Y DEFAULT DISABLE MIN SIDE COVERAGE DEFAULT MODEL ASPECT RATIO DEFAULT CIRCLE ASPECT RATIO MODEL ASPECT RATIO MAX FACTOR DEFAULT INFINITE MODEL ASPECT RATIO MIN FACTOR DEFAULT CIRCLE ASPECT RATIO MODEL TYPE AUTO DEFINE CIRCLE CROSS DIAMOND DXF FILE EDGE RESULT ELLIPSE IMAGE MERGE MODEL MOD RESULT RECTANGLE RING SEGMENT SQUARE TRIANGLE NUMBER OF CHAINED EDGELS ORIGINAL X ORIGINAL Y OUTER RADIUS PIXEL SCALE DEFAULT POLARITY DEFAULT ANY REVERSE SAME SAME OR REVERSE POSITION DELTA NEG X DEFAULT INFINITE POSITION DELTA NEG Y DEFAULT INFINITE POSITION DELTA POS X DEFAULT INFINITE POSITION DELTA POS Y DEFAULT INFINITE POSITION X DEFAULT ALL POSITION Y DEFAULT ALL RADIUS REFERENCE ANGLE DEFAULT REFERENCE X DEFAULT REFERENCE Y DEFAULT SAGITTA TOLERANCE DEFAULT SCALE DEFAULT SCALE MAX FACTOR DEFAULT INFINITE SCALE MIN FACTOR DEFAULT SEARCH ASPECT RATIO CONSTRAINT DEFAULT DISABLE ENABLE SEGMENT CONSISTENT GRADIENT DEFAULT DISABLE ENABLE USER LABEL DEFAULT NO LABEL VALID FALSE TRUE VERTICAL THICKNESS WIDTH NB ELEMENTS DEFAULT INDEX FROM LABEL INVALID HAS TARGET EDGES SAVED FALSE TRUE MOD DEFINE COMPATIBLE DEFAULT DISABLE ENABLE RESULT OUTPUT UNITS DEFAULT ACCORDING TO CALIBRATION PIXEL WORLD RESULT TYPE GEOMETRIC GEOMETRIC CONTROLLED SHAPE CIRCLE SHAPE ELLIPSE SHAPE RECTANGLE SHAPE SEGMENT SUPPORTED TYPE MIL DOUBLE TYPE MIL ID TYPE MIL INT TYPE MIL INT32 TYPE MIL INT64 CONTEXT GENERAL CONTEXT GENERAL CONTEXT GENERAL DEFAULT CIRCLE CROSS DIAMOND ELLIPSE RECTANGLE RING SEGMENT SQUARE TRIANGLE CIRCLE CROSS DIAMOND ELLIPSE DXF FILE IMAGE EDGE RESULT RECTANGLE RING SEGMENT SQUARE TRIANGLE