In most applications, specifying the Standard Model Parameters will already suffice. The menu item Parameters ▹ Advanced Model Parameters provides additional parameters that let you handle special cases like changing the contrast polarity or enable you to further optimize the model.
For shape-based matching the following parameters can be specified:
For correlation-based matching the following Advanced Model Parameters can be specified:
For deformable matching the following parameters can be specified:
For descriptor-based matching the following parameters can be specified:
If you want to reset all of the model and search parameters, you can do this via the Reset button in the toolbar.
Once you are finished setting the Advanced Model Parameters, you can continue to work with test images in the menu Usage.
The standard model parameters Starting Angle and Angle Extent specify the step size at which the angle range is sampled.
Note that each time you create a model ROI or change the parameter Contrast, the Matching Assistant automatically selects a suitable value for Angle Step to obtain the highest possible accuracy. You can select a higher value manually. This may be useful to speed up the search process in special cases; please note however, that a large value may decrease the accuracy of the estimated orientation and even prevent the Matching Assistant from finding the object! You can restore the automatically selected value by clicking the button Auto Select.
If you already loaded test images you can quickly test the effect of the selected parameter value via the menu item Inspect ▹ Determine Recognition Rate.
When you click the button Auto Select that is placed right beside the slider for the parameter Angle Step the Matching Assistant selects a suitable value for the angle step size to obtain the highest possible accuracy.
The standard model parameters for the scale range specify how much the object is allowed to be scaled in row and column direction.
Note that each time you create a model ROI or change the parameter Contrast, the Matching Assistant automatically selects a suitable value to obtain the highest possible accuracy. You can select a higher value manually. This may be useful to speed up the search process in special cases; please note however, that a large value may decrease the accuracy of the estimated orientation and even prevent the Matching Assistant from finding the object! You can restore the automatically selected value by clicking the button Auto Select.
If you already loaded test images, you can quickly test the effect of the selected parameter value via the menu item Inspect ▹ Determine Recognition Rate.
When you click the button Auto Select that is placed right beside the sliders for the parameters Row/Column Step Size, the Matching Assistant selects suitable values for both scale step sizes based on the model image.
The parameter Metric lets you choose whether the polarity of the contrast is to be observed when comparing a test image with the model. By default, the polarity is used ('use_polarity'), i.e., the points in the test image must show the same direction of the contrast as the corresponding points in the model. This means that, for example, if a model appears bright on dark background, only bright objects on dark background can be detected.
You can choose to ignore the polarity globally ('ignore_global_polarity'), at the cost of a slightly lower recognition speed. In this mode, an object is recognized also if the direction of its contrast reverses, e.g., if your object can appear both as a dark shape on a light background and vice versa.
A third mode lets you ignore the polarity locally ('ignore_local_polarity'), i.e., objects are also recognized if the direction of the contrast changes only in some parts. This mode can be useful, e.g., if the object consists of a part with a medium gray value, within which either darker or brighter sub-objects lie. Please note, however, that the recognition speed as well as the robustness decreases dramatically in this mode, especially if you allowed a large range of rotation.
Finally, you can choose to ignore the color polarity ('ignore_color_polarity') to apply shape based matching to multi-channel images.
If you already loaded test images you can quickly test the effect of the selected parameter value via the menu item Inspect ▹ Determine Recognition Rate.
After you created a model ROI, by default all points showing the required Contrast and belonging to components larger than the Min. Size are selected for the model and marked in the image. For particularly large models, i.e., models with a large number of model points, it might be useful to reduce the number of points using the parameter Optimization to speed up the matching process and to reduce memory requirements. You can select a low, medium, or high point reduction; please note that regardless of your selection all points passing the contrast criterion are displayed, i.e., you cannot check which points are part of the model.
You can also let the Matching Assistant select a suitable value automatically based on the model image.
Another possibility to reduce the memory requirements of the model is to switch off the complete pregeneration of the model if it has been activated before (default = off).
If you already loaded test images you can quickly test the effect of the selected parameter value via the menu item Inspect ▹ Determine Recognition Rate.
When you click the button Auto Select that is placed right beside the slider for the parameter Optimization the Matching Assistant optimizes, i.e., reduces the number of model points based on the model image.
The parameter Pregenerate Shape Model specifies whether the internal representation of the shape model is pregenerated completely whenever the model is created.
If you select a complete pregeneration by checking the check box Pregenerate Shape Model the model generation may require a substantial amount of time and memory. In contrast, if you switch off the complete pregeneration, the model creation will be very fast and the model will consume less memory.
The advantage of selecting a complete pregeneration is that the model can possibly be found slightly faster than if the complete pregeneration is switched off. Typically, you may find it useful to switch off the complete pregeneration if your model uses a large angle and scale range.
In order to select significant object points for the model you have specified which Contrast the points must show in the model image. With the parameter Min. Contrast you can specify a separate minimum contrast for the matching process itself, i.e., when searching for the object in the test images. The main use of this parameter is to exclude noise from the matching process.
Note that a low value for Min. Contrast slows down the matching process because more points in the test image must be compared with the model. Therefore, we recommend choosing a value which is higher than the noise level in the test images. You can also let the Matching Assistant select a suitable value automatically based on the model image.
Note that although this parameter is only used during the search, it is already included when creating the model to speed up the matching process.
If you already loaded test images you can quickly test the effect of the selected parameter value via the menu item Inspect ▹ Determine Recognition Rate.
When you click the button Auto Select that is placed right beside the slider for the parameter Min. Contrast the Matching Assistant selects a suitable value for the minimum contrast by estimating the noise in the model image.
Note that an automatic determination only makes sense if the image noise during the recognition is similar to the noise in the model image. For this reason, it is typically not useful when using a synthetic model image (without noise).
The interest points that build the model are extracted from the image by the so-called detector. The type of detector is selected via the parameter Detector Type. Available types are:
For more information on these types, see the description of the parameter Detector Type.
Depending on the detector type that is chosen, different values can be specified.
For the Detector Type lepetit, the following value can be specified:
For the Detector Type harris, the following values can be specified:
For the Detector Type harris_binominal, the following values can be specified:
For more information and recommended values, please refer to the reference documentation of the operator create_uncalib_descriptor_model.
Patch Size specifies the side length of the quadratic neighborhood that is used to describe the individual interest point. A value that is too large may increase the runtime.
Tilt is used to switch 'on' or 'off' the projective transformations during the simulation phase, which leads either to an enhanced robustness of the model or to a speed-up of the training.