Skip to content

Concept – 2D Metrology🔗

This chapter contains operators for 2D metrology.

Concept of 2D Metrology🔗

With 2D metrology, you can measure the dimensions of objects that can be represented by specific geometric primitives. The geometric shapes that can be measured comprise circles, ellipses, rectangles, and lines. You need approximate values for the positions, orientations, and dimensions of the objects to measure. Then, the real edge positions of the objects in the image are located near the boundaries of the approximate objects. With these edge positions, the parameters of the geometric shapes are optimized to better fit to the image data and are returned as measurement result.

The approximate values for the shape parameters of an object as well as some parameters that control the measurement are stored in a data structure that is called metrology object. The edges of the object in the image are located within so-called measure regions. These are rectangular regions that are arranged perpendicular to the boundaries of the metrology objects. Parameters that adjust the dimension and distribution of the measure regions are specified together with the approximate shape parameters for each metrology object. When the measurement is applied, the edge positions inside all measure regions are determined and fitted to geometric shapes using a RANSAC algorithm. All metrology objects, all further information that is necessary for the measurement, and the measurement results are stored in a data structure that is called metrology model.

 
(1) (2)

The geometric shapes in (1) are measured using 2D Metrology (2): A metrology model with 4 metrology objects (blue contours) is created. Using the edge positions (cyan crosses) located within the measure regions (gray rectangles) for each metrology object, the geometric shapes (green contours) are fitted and their parameters can be queried. As shown for the circles, more than one instance per object can be found. This image is from the example program apply_metrology_model.hdev.

In the following, the steps that are required to use 2D metrology are described briefly.

Further operators🔗

In addition to the operators mentioned above, you can copy the metrology handle with copy_metrology_modelCopyMetrologyModel, write the metrology model to file with write_metrology_modelWriteMetrologyModel, read a model from file again using read_metrology_modelReadMetrologyModel, and serialize or deserialize a metrology model using serialize_metrology_modelSerializeMetrologyModel or deserialize_metrology_modelDeserializeMetrologyModel.

Furthermore, you can query various information from the metrology model. For example, you can query the indices of the metrology objects with get_metrology_object_indicesGetMetrologyObjectIndices, query parameters that are valid for the entire metrology model with get_metrology_model_paramGetMetrologyModelParam, query a fuzzy parameter of a metrology model with get_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParam, query the number of instances of the metrology objects of a metrology model with get_metrology_object_num_instancesGetMetrologyObjectNumInstances, and query the current configuration of the metrology model with get_metrology_object_paramGetMetrologyObjectParam.

Additionally, you can reset all parameters of a metrology model using reset_metrology_object_paramResetMetrologyObjectParam or reset only all fuzzy parameters and fuzzy functions of a metrology model using reset_metrology_object_fuzzy_paramResetMetrologyObjectFuzzyParam.

Glossary🔗

In the following, the most important terms that are used in the context of 2D Metrology are described.

  • metrology model Data structure that contains all metrology objects, all information needed for the measurement, and the measurement results.

  • metrology object Data structure for the object to be measured with 2D metrology. The metrology object is represented by a specific geometric shape for which the shape parameters are approximately known. Additionally, it contains parameters that control the measurement, e.g., parameters that specify the dimension and distribution of the measure regions.

  • measure regions Rectangular regions that are arranged perpendicular to the boundaries of the approximate objects. Within these regions the edges that are used to get the exact shape parameters of the metrology objects are extracted.

  • returned instance of a metrology object For each metrology object, different instances of the object can be returned by the measurement, e.g., if parallel structures of the same shape exist near to the boundaries of the approximated geometric shape (see image above). The sequence of the returned instances is arbitrary, i.e., it is no measure for the quality of the fitting.

Further Information🔗

See also the “Solution Guide on 2D Measuring” for further details about 2D metrology.