Apparatus and computer program product for detecting the orientation and position of a marking
A simplified marking unit configuration with encoded communication elements facilitates fast and energy-efficient orientation and position detection, addressing the computational complexity and power demands of existing systems.
Patent Information
- Application Number
- JP2022576810
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-25
- Filing Date
- 2021-01-19
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-01-19
AI Technical Summary
Existing systems for determining the orientation and position of marking units in three-dimensional space require complex calculations and significant computational power, making them unsuitable for real-time applications and energy-efficient use, especially when tracking multiple marking arrangements on fast-moving objects.
A marking unit with a simplified configuration of at least five markings, including four in a common plane and one outside, and communication elements that encode the unit's identity, allowing for faster orientation and position detection by reducing the number of markings and optimizing evaluation algorithms.
The solution enables quick and energy-efficient detection of multiple marking units in real-time, reducing computational complexity and energy consumption, while maintaining high accuracy in orientation and position determination.
Smart Images

Figure 0007566047000001 
Figure 0007566047000002 
Figure 0007566047000003
Abstract
Description
[Technical field]
[0001] A device for detecting the orientation and position of a marking in three-dimensional space according to the preamble of claim 1, comprising: - in particular at least one marking unit which can be fixed to the object and which has several markings; - an optical image capture unit adapted to capture an image of the marking unit; - an evaluation unit adapted to unambiguously determine the orientation and position of the marking unit; and the marking unit has at least five markings for determining the orientation and position.
[0002] The proposed marking unit has at least five markings (in the sense of optically active markings) for determining the direction and position, of which preferably at least four are in a common plane and preferably at least one is outside this plane, however designs are conceivable in which all five optical markings are in a common plane. [Background technology]
[0003] Systems and methods are known from US 2010 / 014750 A1, US 2012 / 262487 A1, EP 1813911 A1, US 2005 / 0201613 A1, EP 1498688 B1, WO 2004 / 114112 A1, US 2008 / 0111985 A1, WO 2006 / 069748 A1, US 5227985 A, US 7742895 B2 and DE 102014012693 B4, which are capable of determining the orientation and position of an object in space by capturing a marking unit fixed on the object. For this purpose, markings that are optically active, i.e. self-luminous, or optically passive, i.e. light-reflective, are provided on the marking unit in a fixed geometric arrangement. Many different configurations are possible for evaluation. Most of the proposed configurations provide at least four markings, at least three of which extend on a plane and at least one marking is outside this plane. The at least three markings arranged in a plane may be on at least two non-parallel straight lines extending on this plane. Such an arrangement of the markings allows the orientation and position of the marking unit in space to be reliably determined from a single captured two-dimensional image of the marking unit captured by an optical image collection unit (e.g. a camera, in particular a digital camera).
[0004] DE 102014012693B4 describes a system and method that works reliably but is complex. The determination of the position and orientation is based on a single two-dimensional image of a marking arrangement with at least seven markings, which two-dimensional image is attached to the object. The system further comprises an image capture unit for capturing a two-dimensional image of the object or the marking arrangement arranged on the object, and an evaluation unit for unambiguously determining the orientation and position of the object based on the captured image. The seven markings of the marking arrangement are in a fixed spatial relationship to one another, six of these markings form a plane and the seventh marking is located outside the plane, i.e. at a distance from the plane. The six markings are divided into groups that lie on two different straight lines that intersect at an angle of 90°. The first straight line includes at least four markings and the second straight line includes at least two other markings. In the top view of this plane, a seventh out-of-plane marking is also located on this first straight line, on the side of a second straight line pointing away from at least two markings of this first straight line. This is important for the unambiguous assignment of the image markers, i.e. the markings shown in the image, and therefore for the reconstruction of their position and orientation in space. During the evaluation, several homographies are calculated for the possible assignments. From these homographies, a determination of orientation is reconstructed in each case. On this basis, for each determination of orientation, the average reprojection error is calculated for all image markings (compared to the known actual position of each marking in the marking arrangement). The homography with the smallest error is the correct one and is used for the unique determination of orientation.
[0005] This evaluation gives good results in practice, but is very extensive in terms of image evaluation and system computational power, especially since two or more homographies must be calculated and the position estimated by applying the Levenberg-Marquardt solver each time. Furthermore, the reconstruction error is calculated for coplanar and non-coplanar markings, and the matching minimum is used for the orientation evaluation. Due to this complex calculation and taking into account the large number of markings, problems arise for live tracking of fast moving objects, since the computational power of the systems used in practice is not sufficient, especially when the system does not monitor only one marking arrangement, but possibly several marking arrangements even in one image.
[0006] In theory, each marking arrangement can be distinguished from other marking arrangements captured in the image by the various markings. However, if such markings (e.g. in the form of stickers) are not optically precisely recognizable in the image, the assessment of the environment of the marking arrangement in the image often leads to ambiguities when tracking moving objects. In principle, it would be conceivable to arrange each marking on the marking array in a geometrically different manner. However, this would lead to an already complex assessment of many markings.
[0007] In industrial environments, it is sometimes desirable to be able to determine the orientation and position of a marking unit very quickly, in particular to enable real-time applications on production lines. For this purpose, the evaluation of the camera images and the determination of the orientation and position must be fast enough to be directly usable in the production process, for example for motion control. It is also desirable to limit the energy requirements of such marking systems, some of which are battery-powered, in favor of long operating times. Summary of the Invention [Problem to be solved by the invention]
[0008] The object of the present invention is therefore to provide simplified possibilities for detecting the orientation and position of marking units in a system for orientation and detection of the aforementioned type, which makes it possible to detect various marking units within an image, so that the marking units themselves can operate in as energy-saving a manner as possible. [Means for solving the problem]
[0009] This object is solved according to the invention by a device having the features of claim 1. For this purpose, in particular, the marking unit is provided with at least one communication element for coding the marking unit, which is not a marking. According to the invention, communication elements for determining the direction and position are not taken into account. This significantly reduces the number of markings used to detect the direction and position. This accelerates the detection of the direction and position.
[0010] According to the invention, the image capture unit is adapted to capture an image of the marking unit with the marking and at least one communication element, and the marking unit installed and used in the system is set according to the invention such that a selected (optically active) communication element device from a plurality of (basically optically activatable) communication element devices is actually optically active. According to a particularly preferred embodiment, this selected communication element, i.e. the optically activated or switched-on communication element device, cannot be changed during operation, thereby preventing the marking unit with a distinguishable communication element known in the evaluation unit from being changed.
[0011] The evaluation unit is further configured to determine from the marking an orientation and a position of the marking unit in the captured image, and to determine an identity of the marking unit from the at least one communication element.
[0012] In an apparatus with several marking units (i.e. apart from, for example, replacement marking units) that can or do operate simultaneously in the apparatus (in the sense of a system with two or more marking units), it is particularly preferred according to the invention that all the marking units can be differentiated by separately arranged communication elements. For this purpose, according to the invention, the marking unit can be made to have a plurality of (basically activatable) communication element means that are arranged in distinguishable positions on the marking unit. The marking units that can or do operate in the apparatus (i.e. are installed in this apparatus) are then, according to the invention, set up to be distinguishable on the basis of various communication elements (i.e. optically active communication element devices). A preferred embodiment of the invention provides seven or eight communication element means that are arranged in distinguishable positions on the marking unit, with one, two or three of them being activated as communication elements in the case of marking units that are installed in the apparatus. In principle, however, the number of communication element means provided can be changed.
[0013] In a further preferred embodiment according to the invention, the marking unit is provided with exactly five markings. Practical experience shows that even in an industrial environment, the orientation and position of a marking unit with exactly five markings can be determined well and quickly. More markings significantly reduce the detection speed of the algorithm and also lead to increased energy demands.
[0014] According to a further preferred embodiment of the invention, in a device with more than one marking unit, the evaluation speed can be further accelerated by arranging the markings of all marking units at the same position on the marking unit, thus accelerating the algorithm, since the same configuration can always be used for detection and the logic of the algorithm is precisely optimized for this configuration.
[0015] According to the invention, regardless of the number of markings provided or whether each marking is located at the same position on all (different) marking units of the system, the position of each marking on the marking unit is known to the evaluation unit.
[0016] Markings and communication elements are understood to be optically active means that can be picked up by the image capture unit and are visible in the image. The marking means and communication element means are preferably activatable, i.e. light means that can be switched on and off, such as optical light-emitting diodes, or particularly preferably IR light-emitting diodes. The image capture unit, preferably a camera, is configured to capture such optically activated light means, i.e. markings and communication elements. Lighting means that are not switched on do not perform the function of marking or communication elements. They are usually not or are not reliably recognizable in the image, and therefore the image capture unit and evaluation unit are not adapted to capture or recognize in the image marking means and communication element means that are switched off (not activated). Thus, even more marking means and / or communication element means may be provided on the marking unit, which would in principle be activatable. However, the marking unit is adapted to activate, i.e. turn on, only certain selected marking means, and thus in the installed system there is a fixed arrangement of markings that cannot be changed. Deactivated marking means and communication element means have no function and do not exist within the meaning of the present invention.
[0017] Thus, in the sense of the present invention, the selected markings cannot be changed and constitute the markings used to determine the orientation and position. They cannot be switched on (activated) in the installed system and therefore are not markings in the sense of the present invention and are not and cannot be used to determine the orientation and position. This is important because the evaluation unit is optimized for a special arrangement of the markings so that the detection of the orientation and position can be performed quickly and reliably, so that real-time applications are also possible. Each marking unit is set with the other marking units so that they all have the same markings in the same arrangement and cannot be changed in the installed system.
[0018] The communication elements that can be or are used to identify the marking units cannot be changed during operation either. However, they are preferably specific to each of the marking units used in the same system (apparatus) and can be adjusted when new marking units are integrated into this apparatus. However, the combination of communication elements differs to an adjustable extent in each marking unit of the system and forms a certain coding that makes the marking units uniquely identifiable in the system. The combination of communication elements (codes) that is set in the system is known in the evaluation unit according to the invention.
[0019] According to the invention, at least or exactly three of the five markings are arranged on a first straight line, and at least or exactly two of the five markings are arranged on a second straight line, and the first and second straight lines intersect at one marking, such that exactly one common marking belongs to both the first straight line and the second straight line. According to the invention, no further markings are found on the first and second straight lines, i.e. exactly four markings are provided on the first and second straight lines, lying in a common plane in which the two straight lines extend, exactly three markings are arranged on the first straight line, and exactly two markings are arranged on the second straight line. It is preferred that the first and second straight lines intersect at exactly right angles.
[0020] According to a particularly preferred embodiment of this configuration, a first linear path connecting the markings on the first linear path and a second linear path connecting the markings on the second linear path form a T-shape, the first path being shorter than the second path. It is particularly preferred that the first path and the second path form a true T-shape, at the point where the first path and the second path are perpendicular to each other. In a preferred embodiment, the second path meets the first path exactly in the middle. That is, in this embodiment, the first path forms a horizontal section of the T and the second path forms a vertical section of the T, and the common marking is present in the middle of the first path and at one end of the second path.
[0021] The edge markings of the first linear path that lie on the first straight line are called the first outer marking and the second outer marking. The central marking of the first linear path that also forms a common marking between the first outer marking and the second outer marking is optionally exactly in the center. The common marking is therefore at the intersection of the first straight line and the second straight line.
[0022] The edge markings of the second linear path that lie on the second straight line are referred to as the first end marking and the second end marking, the common marking being the first end marking and the marking at the opposite end of the second linear path being the second end marking.
[0023] The first and second paths connected to each other connect all the markings and any communication elements on the first and second straight lines. Each marking is therefore present on each path and on each straight line. However, unlike an infinitely long straight line in mathematical understanding, each path ends at an edge marking. If this feature is not important, the terms "first and second paths" and "first and second straight lines" are still used synonymously, and in each case each path is a respective section of a straight line.
[0024] Following this aforementioned inventive idea, at least or exactly one of the five markings is not directly on one of the first or second straight lines, nor is this distinguished marking outside the plane in which the first and second straight lines extend, such that the perpendicular projection of the distinguished marking onto the plane is on one of these straight lines. Perpendicular projection onto the plane means projection in the direction of the surface normal, i.e. in the direction of a straight line perpendicular to the plane. With such a marking that is not assigned to one of the straight lines, the accuracy in determining the orientation and position can be improved by means of a simple algorithmic detection of this distinguished marking.
[0025] A particularly good determination of the orientation and position can be achieved if at least one distinct marking is arranged above the plane in which the first straight line and the second straight line extend.
[0026] In a preferred variant of the invention, in which exactly five markings are present on the marking unit, there is accordingly exactly one differentiated marking.
[0027] The arrangement of the differentiated markings according to the invention can preferably be asymmetric with respect to the second straight line. According to a specific embodiment of the invention, as a preferred variant, it is proposed that the differentiated markings or the projections of the differentiated markings onto a plane are arranged at a first distance from the central marking of the first straight line (i.e. the common marking that coincides with the central marking of the first straight line) and at a second distance from the first of the outer markings of the first straight line, said first and second distances being smaller than the distance between the first outer marking and the central marking along the first straight line, respectively.
[0028] If the marking itself is placed on said plane, the perpendicular projection of the differentiated marking onto the plane coincides with the marking in the sense of the present invention. As a result, the marking or the projection of the marking onto the plane (relative to the second straight line) always lies to the side of the first outer marking. That is, the differentiated marking is always placed on the half of the plane divided by the second straight line, where the first outer marking is also placed. This creates an asymmetry with respect to the second straight line.
[0029] This asymmetry in the marking units can be effectively exploited when determining the orientation and position of the differentiated markings and serves to detect possible marking units in the captured image quickly and with a high detection rate, and thus to determine the correct orientation and position of the marking units particularly quickly and reliably, as will be explained in more detail below.
[0030] Preferably, the first distance and the second distance may be the same. This means that the first distance and the second distance are shorter than the distance between the first outer marking and the central marking and longer than half the distance between the first outer marking and the central marking. In practice, the first distance and the second distance are selected to be at least long enough so that the entire area of the differentiated marking is outside the area around the first straight line corresponding to the total area of the markings (LEDs). This ensures that the differentiated marking does not overlap partially with the markings present on the first straight line (or its perpendicular projection). This avoids detection problems of the differentiated marking in the captured image. The same distance (and therefore the longest possible distance) between the first marking and the central marking on the first line also contributes to this. In particular, if the differentiated marking is located above the plane in which the first and second straight lines extend, the individual markings can be more quickly hidden in other ways depending on the angle of view during exposure.
[0031] According to the invention, the communication elements that are not used in the algorithm to determine the direction and position of the marking unit are arranged on a second straight line between the respective markings. It is preferable that all communication elements of the marking unit are arranged on the second straight line exactly between two markings. In this way, the communication elements can be easily recognized and, if necessary, can allow a particularly simple identification of the marking units without determining the direction and position of the marking units, without performing the direction and position determination exclusively based on the evaluation of the captured image. This is particularly advantageous when several marking units are captured in one image, but the position and direction of only one specific marking unit are of interest. By applying the criterion for the identification of the marking units, possible marking units that are detected in the image but are not of interest can then be excluded before the direction and position determination is performed on such marking units.
[0032] In a particularly preferred embodiment of the invention, between two markings of the second straight line, in the range of 5 to 10, preferably 7 or 8, communication element devices can be provided, the marking unit being preferably adapted to activate 1, 2 or 3 as communication elements from the total communication element means provided, i.e. 1 to 3 communication elements in an activated state are provided.
[0033] Thus, depending on the number of activated communication element means (i.e. communication elements), a different number of marking units can be distinguished. For example, with 8 communication element means in a marking unit and one activated communication element (i.e. one communication element), 8 different marking units can be identified, and with 8 communication element means in a marking unit and 2 activated communication elements, 28 different marking units can be identified. This makes it possible to distinguish between a corresponding number of different marking units in the system, which are assigned to different objects, for example.
[0034] According to the invention, the evaluation unit is also adapted to perform a method in which a captured image is evaluated and the orientation and position of the marking (and thus one or possibly several marking units belonging to the marking captured in the image) and the identification information of the marking units are determined.
[0035] This method is obviously also the subject of the invention described herein and can be performed according to the invention by an evaluation unit in the sense of a computing device arranged or designed to perform this method or individual method steps. The invention also relates to a computer program product in which the steps of the method according to the invention are performed when a processor of the computing device (or, respectively, the evaluation unit) is designed to execute the program code of the computer program product.
[0036] Aspects of this process according to the invention are set out below, which may be combined individually or in any combination useful in the art to form specific processes, all such combined processes being the subject of this invention.
[0037] According to the method proposed in accordance with the invention, markings and / or communication elements can be detected in the captured image and assigned two-dimensional image coordinates to them by conventional methods for image evaluation. B ,y B ) indicates the position of the marking or communication element in the image of the marking unit captured by the image capture unit and is the basis for the evaluation of the image described below to identify the marking unit and to recognize or determine its orientation and position relative to the image capture unit. Usually, the image capture unit (camera) is calibrated in three dimensions in space in a known manner, so that its orientation and position in space as well as its orientation and position relative to the image capture unit are known. Such methods of calibrating cameras are well known to the skilled person from the prior art.
[0038] In order to detect markings and / or communication elements in the captured image, an advantageous embodiment of the invention can be made to determine all linear paths in the captured image that have exactly three markings and / or communication elements in total. This means that exactly three lighting means (markings and / or communication elements) that are switched on in the entire linear path with three lighting means switched on, whether they are markings or communication elements, and thus reliably detectable in the image and arranged in the linear path are detected. For example, such paths can be recorded and kept as a 3-tuple with the respective image coordinates of exactly three markings / communication elements in a list. In this way, the 3-tuple describes a linear path with three markers / communication elements that can be recognized in the captured image. All of the 3-tuples thus determined then form the entire linear path. For example, the 3-tuple can be written as [x x y ... B (1), y B (1);x B (2), y B (2);x B (3), y B (3)], where the numbers in brackets are the numbering of the recognised lighting means (marking / communication elements).
[0039] If there are four or more markings or communication elements arranged on a linear path in the captured image, each possible subcombination having exactly three markings or communication elements is considered to be one of the determined linear paths having exactly three markings / communication elements and is recorded in the entire linear path and included, for example, in a list of 3-tuples.
[0040] In the following, for simplicity, a straight path may simply be referred to as a path, and therefore these terms are used synonymously.
[0041] In principle, from the totality of linear paths which can be considered as the first and second paths of the marking unit, in order to generate a first selection criterion for such paths, according to an embodiment of the present invention, it can be proposed to determine such paths with exactly one common marking from the totality of all determined linear paths having exactly three markings and / or communication elements, i.e. from the totality of linear paths. If it is determined that for exactly one linear path, the common marking is located in the center of the linear path, and for at least one (or several) other linear paths, the common marking is located at one end of the linear path, then the linear path thus determined represents an edge marking which can be assigned to a possible marking unit, i.e. which can be identified with the first end marking of the second path.
[0042] This can be achieved, for example, by the following procedure: From a set of linear paths with a common marking / communication unit, a path is selected in which the common marking / communication unit is located in the center. Each such path with a central common mark / communication unit is considered as a subgroup in combination with all paths of the set in which a common mark / communication unit is located at an end. A subgroup consisting of two or more paths (one path with a central common mark / communication unit and at least one other path with a common mark / communication unit at an end) is considered as a possible marking unit. If such a subgroup turns out to be a marking unit in a further course, the common marking of the subgroup is actually a marking and not a communication element.
[0043] If the common marking is in the middle of a straight line path, this straight line path can be assigned to a first straight line. If the marking is at the end of a straight line path, this straight line path can be assigned to a second straight line. It is conceivable to discard all straight lines that cannot be assigned to a possible marking unit, for example by deleting them from the list of all straight lines. The shorter this list is, the faster the evaluation of the captured images and the detection of the orientation and position, which also have to be performed subsequently, will be.
[0044] Therefore, other straight line paths which are or can be assigned to the possible marking units can be included in the list of possible marking units, and in each case it is preferable to combine all straight line paths assigned to the possible marking units in a selected group.
[0045] A further (second) selection criterion can in particular be applied together with the first selection criterion, but possibly also separately from this first selection criterion, in particular providing that among the straight path assignments to the possible marking units, a subgroup of straight path having coincident end markings at both ends is determined. These are in fact markings and not communication elements. The first end marking is a common marking and the second end marking is a marking placed at the opposite end of the second straight line of the marking units, and all communication elements are placed between the first and second end markings. Then there is exactly one communication element per path between the common end markings. In one embodiment of the invention where only one communication element is provided, the subgroup of straight path includes only one path, in the case of two communication elements it includes two paths etc., and each communication element is located at various positions between the end markings, since the marking units are arranged in such a way that various devices of the communication element devices are turned on, i.e. activated.
[0046] Such a selection as mentioned above is useful for a rational preselection of possible marking units from all determined straight lines having exactly three markings and / or communication elements in total, which are further taken into account in the steps described below during the detection of the direction and position. This step is more computationally intensive than the preselection mentioned above, so it is useful to preselect in this way. However, it may also be useful to perform this selection first or separately from other selection criteria, since it selects straight line paths having a common marking between which the communication elements are placed. According to the invention, it may be possible to derive the identification of the marking units from such encoding of the communication elements by grouping the arrangement of the communication elements from the entirety of such paths together with the length of the second path, i.e. the distance between the first and second end markings of the second path, for example in the form of an n-tuple normalized to the length of the second path, and comparing it with the encoding of the communication elements allowed for the system (apparatus) as a whole. This can be performed before detecting the direction and position. Thus, after the marking units have been identified, they can be discarded, e.g. removed from the list of possible marking units (also called selected group) that are not of interest in the orientation and position detection just performed, which also significantly increases the evaluation speed.
[0047] In order to identify the individual markings in the captured image, according to the invention, it can be made to assume in each case two edge markings of the determined straight line path as tentative markings of the marking unit. If the aforementioned selection is fully or partially carried out, the number of assumed marking units for which this selection step has to be carried out can be further significantly reduced, for example to a combination of straight line paths with a common marking ("possible marking units"). In the second straight line, two end markings can be further preselected, and as a further applied criterion it can be further checked that one of the end markings coincides with the common marking. In the first straight line, an additional criterion can be added that a common marking is located between each of the outer markings. The combination of all these selection steps allows further paths to be excluded, if applicable.
[0048] In practice, after one or more selection steps, usually only one possible marking unit will remain. In this case, the invention allows the further selection with separately defined selection steps to be cancelled and the assignment of individual markings to continue. This can be understood as a preliminary or first step to carry out orientation and position detection, optionally to accelerate orientation and position recognition.
[0049] After such pre-selection, one or possibly several marking units remain, and according to the present invention it may be useful to assign an edge marking of a straight path where a common marking is present in the center of the straight path to a first straight line, and an edge marking of a straight path where a common marking is present at an end of the straight path to a second straight line, as a first outer marking and a second outer marking, whereby the common marking may be selected as a first end marking and the other edge marking may be selected as a second end marking.
[0050] The notes in the text are as follows: the first outer marking (as one of the edge markings of the first linear path on the first straight line) is on the left side of the second straight line (respectively a common marking at the center of the first linear path) in the plan view of the marking sequence, and the second outer marking (as the other of the edge markings of the linear path on the first straight line) is on the right side of the second straight line (respectively a common marking at the center of the first linear path) in the plan view of the marking sequence. The first end marking of the second linear path on the second straight line corresponds to the center marking of the first linear path on the first straight line, and the second end marking of the second linear path is on the right side of the first straight line in the plan view. This note is optional and corresponds to the example of the embodiment shown later. No technical function is associated with it.
[0051] If desired, at least after one or more of the selections performed so far, if there are still more than one possible marking unit to consider in the captured image, an attempt can be made to perform a further selection based on the differentiated markings, as will be described below.
[0052] As a further selection option, according to the invention, it is possible to define an image area in the captured image depending on the arrangement of the differentiated markings on the marking unit and check whether a further marking with two-dimensional image coordinates is assigned to this image area in the captured image. This is particularly useful and can be performed quickly when the markings of the first path (straight line) have already been identified. However, in principle, it would also be conceivable to select pairs of markings captured in the image as selection criteria and try this selection option on each of these pairs. However, this would be time-consuming. For the case described below, it is therefore assumed that a preselection of possible marking units has already been performed.
[0053] If this further selection of the differentiated markings does not yield good results, this possible marking unit can be excluded, which may further reduce the number of marking units to be calculated more accurately.
[0054] If the differentiated markings are arranged at a first distance from the common marking and at a second distance from the outer marking on the marking unit, the image area can be defined, for example, by arranging a first circle around the common marking with a radius larger than the first distance and a second circle around the first outer marking with a radius larger than the second distance, and forming the image area by the intersection of the first circle or the second circle. The respective radii of the circles can be defined, for example, by a (common or different) radius factor RF, which is selected to be greater than 1, preferably less than 3, more preferably less than 2. According to a preferred embodiment, this radius factor can also depend on the height at which the differentiated markings are arranged above the plane in which the first and second straight lines extend. The higher this height, the wider the image area to be selected, since the projection of the differentiated markings may be shifted more with respect to the projection of the first outer marking and the common marking, especially when the image is taken at a large angle with respect to the surface normal. Depending on the geometrical conditions, the exact suitable image area can be determined by a person skilled in the art, for example by software.
[0055] If several possible marking units remain (in particular after performing the aforementioned selection, which is optionally performed jointly or in part), this may be due to the fact that several different marking units captured together by the image capture unit are shown in the captured image or that during selection of the possible marking units, individual markings were not assigned correctly or no selection was performed at all.
[0056] According to the invention, then, orientation and position detection is performed for all markings (markings remaining after selection using one or more selection criteria or all markings not actually selected) to determine the orientation and position of the marking units. According to the invention, it is preferable to perform orientation and position detection on the basis of each marking of the possible marking units performed as a prior marking, since this significantly increases the overall evaluation speed.
[0057] The known position of each marking (on the real marking unit) is used as a boundary condition for determining the direction and position. Suitable algorithms are known to the skilled person from the prior art. In principle, all known algorithms are suitable here. To calculate back the markings in a 2D picture taken by a calibrated camera (in the sense of the optical image capture unit of the present invention) to the orientation and direction of the marking units in space, there belong solution procedures such as P3P (Perspective-3-Point), in particular the well-known algebraic solution algorithm for the Perspective-3-Point problem (AP3P procedure) or the iterative solution algorithm for the Perspective-3-Point problem (iterative P3P), which are well known to those skilled in the art in the relevant technical field and are described, for example, in the following publications: AP3P: "An efficient algebraic solution to the perspective-three-point problem" by Tong Ke and Stergios Roumeliotis, Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference, IEEE, 2017; P3P: "Complete solution classification for the perspective-three-point problem" by Xiao-Shan Gao, Xiao-Rong Hou, Jianliang Tang and Hang-Fei Cheng, Pattern Analysis and Machine Intelligence, IEEE Transactions on, 25(8):930-943, 2003. These well-known algorithms find the orientation and position of an object in space from known correspondences between markings on the object and its two-dimensional image in a calibrated camera's picture, provided that known constraints defined above are satisfied.
[0058] To make such algorithms more robust against outliers in the point reconstructions in the image (i.e. possibly including misrecognized or incorrectly assigned markings), numerical optimization techniques known per se can be used to improve the detection of orientation and position.
[0059] The application of such methods is known to those skilled in the art and can be applied to the present invention as described and adapted, if necessary, within the framework of optimization by the skilled artisan.
[0060] According to a preferred variant of the method step of determining the orientation and position, a first pre-orientation and position detection can be performed on at least four of the five markings. Based on the pre-determined orientation and position of the marking units, the expected image coordinates of the fifth of the five markings are then determined in the captured image and compared with the actual assigned image coordinates of this marking. If the position of the image coordinates determined from the image and the expected image coordinates match within a predefined threshold, the orientation and position detection is finished and the orientation and position of the marking or marking unit are output.
[0061] According to a preferred alternative variant, since there is a finite number of different arrangements of the five markings in the system, usually not more than two, the orientation and position detection can also be performed immediately based on all five markings. If the evaluation assumes a wrong arrangement of the markers, the back calculation leads to a large discrepancy between the expected and the determined pixels. In this case, the evaluation is repeated with other possible arrangements.
[0062] If necessary, one can also try to improve the detection of the orientation and position by numerical optimization, whereby prior knowledge of the orientation and position, for example due to external limitations of the system, can also be used to obtain a starting point for a general optimization, possible methods for this being described in the prior art and known to the person skilled in the art.
[0063] According to a further embodiment, when carrying out the proposed method, it may also be arranged to determine the identity of the marking unit from the distance between the communication element and one of the two markings, normalised to the distance between the two markings on the first straight line, as already indicated. By using the known or temporarily known orientation and position of the marking (and therefore of the marking unit) and the possible known orientation of the potentially activatable communication element device, the identity of the activated communication element and therefore of the marking unit can be determined by comparing the determined normalised distance with the expected normalised distance between a particular marking and the communication element.
[0064] When several communication elements are activated, this results in a properly distinguishable overall coding, and by determining and superimposing all the distances between a particular marking and the communication elements, a suitable coding can be generated which, if necessary, can be recognised based on the pattern (or coding) alone, without prior orientation and position detection, and can be unambiguously assigned to a marking unit.
[0065] Further advantages, features and application possibilities of the present invention also emerge from the following description of exemplary embodiments and drawings, whereby all features described and / or shown, together or in any technically reasonable combination, belong to the subject matter of the present invention, equally independently of the exemplary embodiments described or shown or their combinations in the claims. [Brief description of the drawings]
[0066] [Figure 1a] 1 is a schematic diagram of an apparatus for detecting the orientation and position of a marking, according to one embodiment of the present invention; [Diagram 2] FIG. 2 is a detailed enlarged view of the marking unit shown in FIG. [Figure 3a]2 is an exemplary image 92 of an image capture unit of the device according to FIG. 1 with detected markings and communication elements of two different coded marking units in various evaluation steps; [Figure 3b] 2 is an exemplary image 92 of an image capture unit of the device according to FIG. 1 with detected markings and communication elements of two different coded marking units in various evaluation steps; [Figure 3c] 2 is an exemplary image 92 of an image capture unit of the device according to FIG. 1 with detected markings and communication elements of two different coded marking units in various evaluation steps; [Figure 3d] 2 is an exemplary image 92 of an image capture unit of the device according to FIG. 1 with detected markings and communication elements of two different coded marking units in various evaluation steps; [Figure 3e] 2 is an exemplary image 92 of an image capture unit of the device according to FIG. 1 with detected markings and communication elements of two different coded marking units in various evaluation steps; [Figure 4a] FIG. 13 is a schematic diagram for identifying a marking unit based on a captured communication element. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0067] An apparatus 1 for detecting the orientation and position of markings 20, 21, 22, 23, 24, 25 in three-dimensional space is shown in Fig. 1. The markings 20, 21, 22, 23, 24, 25 are arranged on a marking unit 10, which can be fixed to an object. By determining the orientation and position of the markings 20, 21, 22, 23, 24, 25, the orientation and position of the marking unit 10 in space and, if applicable, of the object to which the marking unit 10 is fixed are thus determined. This object is not shown in the drawings. The apparatus 1 shown in Fig. 1 comprises a second identically constructed marking unit 11, which is not shown twice in Fig. 1 for the sake of clarity.
[0068] The markings 20, 21, 22, 23, 24, 25 are captured by an optical image capture unit 90 adapted to capture an image 92 of the marking units 10, 11 with the markings 20, 21, 22, 23, 24, 25 as well as the communication elements 30, 31 described below. This optical image capture unit 90 can be a camera for capturing photographs and possibly films, in particular a digital camera as known to the person skilled in the art. The image capture unit 90 is connected to an evaluation unit 91, to which the image 92 captured by the image capture unit 90 is transmitted. The evaluation unit 91 is then adapted to unambiguously determine the orientation and position of the marking unit 10 by evaluating the captured image 92 while recognizing the markings 20, 21, 22, 23, 24, 25. In this process, the orientation and position of the marking units 10,11 are determined from the markings 20,21,22,23,24,25 in the captured image 92 and the identification information of the marking units 10,11 are determined from the communication elements 30,31.
[0069] The marking unit 10, 11 shown in Fig. 1 according to a particularly preferred embodiment has exactly five markings 20, namely markings 21, 22, 23, 24, 25 for determining the orientation and position, and five communication elements 30, 31 that can be used for coding and serve to identify the marking unit 10, 11. The markings 20, 21, 22, 23, 24, 25 and the communication element 31 are respectively activated or turned-on lighting means, in particular LEDs or infrared LEDs. Such lighting means, which can be switched on and off depending on whether this activated lighting means is the markings 20, 21, 22, 23, 24, 25 or the communication element 31, are also called marking means or communication element means 30. In the turned-on (i.e. optically active) state, the marking means are the markings 20, 21, 22, 23, 24, 25 and the communication element means 30 is the communication element 31.
[0070] In a preferred embodiment, the marking unit 10 has exactly five marking means which are switched on in each marking unit 10, 11 incorporated in the device 1 and thus form in operation an (optically active) marking 20. In the following, each marking will be referred to as a whole by the reference number 20, unless a specific marking 21, 22, 23, 24, 25 is indicated, as will be explained further below.
[0071] In the illustration according to Fig. 1, a total of five communication element means 30 are provided, all of which are also switched on as communication elements 31 in the illustration according to Fig. 1. This is not the normal operating state of the marking units 10, 11 but a test operation. The normal operating state can be obtained in particular from Fig. 3a to Fig. 3e.
[0072] In the following, the communication element means are designated 30 and the communication elements, i.e. the switched on communication element means, are designated 31. In the following figures, the communication element means 30 that are not switched on are designated as circles without a cross. In the image capture unit 90, these switched off communication element means 30 are not reliably captured and are not taken into account in the evaluation unit 91 in any case even if they should be optically visible. Insofar as the device 1 has several marking units 10, 11 (for example of identical construction), in operation different communication elements 31 are provided for each of the marking units 10, 11, i.e. different switched on communication element means 30 are provided.
[0073] According to a preferred embodiment, exactly five marking means are provided, which are also switched on during operation, i.e. forming the marking 20, so that no graphic distinction between the marking means and the marking 20 is necessary. Therefore, no special reference signs are selected for the switched off marking means.
[0074] In the specific arrangement of the markings 20, exactly three markings 21, 22, 23 are arranged on a first straight line 43 and exactly two markings 21, 24 are arranged on a second straight line 44, which first and second straight lines 43, 44 intersect at a common marking 21. The common marking 21 therefore belongs to both the first straight line 43 and the second straight line 44. The markings 21, 22, 23 on the first straight line 43 are connected by a first (straight) path 41, and the markings 21, 24 on the second straight line 44 are connected by a second (straight) path 42, which two paths 41, 42 form a T-shape. The first path 41 is shorter than the second path 42, which in the embodiment shown intersects the first path 41 exactly in the middle. However, this is not necessary according to the invention.
[0075] The marking 22 illustrated to the left of the second straight line 44 will be referred to below as the first outer marking 22 of the first path 41 for precise designation, and the marking 23 illustrated to the right of the second straight line 44 will be referred to below as the second outer marking 23 of the first path 41 for precise designation. In their center there is a common marking 21, which in the example shown is equidistant from the first outer marking 22 and from the second outer marking 23. The common marking 21 therefore simultaneously forms the center marking of the first path 41 and the first end marking of the second path 42. Conversely, the second path 42 is bounded by the second end marking 24.
[0076] Another marking 20, i.e., the differentiated marking 25, is positioned above the plane 33 in which the first straight line 43 and the second straight line 44 extend, and therefore the perpendicular projection of the differentiated marking 25 onto the plane 33 does not lie on either of these straight lines 43, 44.
[0077] The exact arrangement of the differentiated marking 25 is explained with reference to figure 2, which shows an enlarged section of the marking 20 in the area around the common marking 21. The differentiated marking 25, which is arranged above the plane 33, is raised by a dome 26 with respect to the other markings 21, 22, 23, 24 arranged in the plane 33. In the plan view in the vertical direction of the plane 33 shown in figure 2, the vertical projection of the differentiated marking 25 onto the plane 33 is below the marking 25 and is not designated by its own reference number.
[0078] The first distance 27 between the common marking 21 and the vertical projection of the differentiated marking 25 and the second distance 28 between the first outer marking 22 and the vertical projection of the differentiated marking 25 are equal in this example, the distances 27, 28 being greater than half the distance between the markings 21 and 22 and less than the distance between the markings 21 and 22. In this embodiment, the differentiated marking 25 is located on the opposite side of the first path 41 to the second path 42.
[0079] The communication element means 30 and the communication elements 31 as the corresponding switched on communication element means 30 are all located on the second path 42 between the common marking 21 (also called the first end marking of the second path 42 or the central marking of the first path 41) and the second end marking. The spacing between each communication element means 30 is preferably equal. Thus, by switching on the different communication element means 30 in the different marking units 10, 11, different patterns of communication elements 31 can be generated, which allows the different marking units 10, 11 to be differentiated and respectively identified in the image as a coding.
[0080] In Fig. 3a an image 92 of an image capture unit 90 is shown with images 100 and 110 of two marking units 10 and 11, respectively, which makes it impossible for an evaluation unit 91 to initially assign such marking units 10, 11. This evaluation unit 91 only recognises the markings 20 and / or the communication elements 31 as light points shown in black in Fig. 2, and finally recognises that the communication element means 30 is switched off diagrammatically, but these are not taken into account and are not processed further. When the communication element means 30, i.e. the communication element 31, is switched on, the reference number 30 is not shown for clarity.
[0081] In a first evaluation step, all markings 20 and / or communication elements 31 are recognized as light points L(1) to L(n) in the captured image 92. The recognized light points L(n) are assigned consecutive numbers, so that each light point (n) has image coordinates L(n)=[x B (n), y B A 2-tuple with the number L(n)] is assigned to each detected marking 20 / communication element 31. The result of this detection of the marking 20 / communication element 31 as a light point L(n) is depicted in FIG. 3a, where the light points are numbered L(1) to L(14). For clarity, the following figures no longer show the references 20, 30, 31.
[0082] In a second evaluation step, all linear paths C(m) with a total of three markings 20 and / or communication elements 31 are determined. These are shown in FIG. 3b. A total of ten such paths C(1) to C(10) can be identified. Each such path is contained in a 3-tuple with the respective image coordinates of the light points L(n). That is, in a concrete example, the path C(1) contains a 3-tuple with the image coordinates of the light points (L1), L(3) and L(4), i.e. C(1)=[L(1);L(3);L(4)]. All found paths C(1) to C(10) are listed in FIG. 3b as corresponding 3-tuples.
[0083] As a next evaluation step, from all determined straight-line paths C(n) having exactly three markings 20 and / or communication elements 31, straight-line paths C(n) having exactly one common marking 20 / communication element 31 are determined. In the example shown in Fig. 3c, these are paths C(1), C(2), C(3) and C(4) having each light point L(3) in common at one time, i.e. paths C(6), C(7), C(8) and C(9) having each light point L(9) in common at one time.
[0084] Next, paths C(n) are selected that have common light points L(3) and L(9) in the center. In this example, these are paths C(1) and C(6). For each such path C(1) and C(6), paths are grouped together that have common light points L(3) and L(9), respectively, on the edges of the path. This results in two subgroups in the illustrated example: subgroup 1 with paths C(1), C(2), C(3), C(4) and subgroup 2 with paths C(6), C(7), C(8), and C(9). These subgroups identify possible marking units M(o).
[0085] In one of several possible variations, if it is determined that in exactly one linear path C(1) or C(6), respectively, the common marking L(3), L(9), respectively, is present in the center of the linear path C(1) or C(6), respectively, and in at least one other linear path C(2), C(3), C(4) and C(7), C(8), C(9), respectively, the common marking L(3) and L(9), respectively, are located at one end of the linear path C(2), C(3), C(4) and C(7), C(8), C(9), respectively, then such pairs of paths in the subgroup can be assigned to a possible marking unit M(o). The possible marking unit M(o) in the sense of the 2-tuple of the path C(n) can, for example, identify the path pairs M(1)-M(6) listed in FIG. 3c.
[0086] In a further evaluation step, for example, from the paths listed in the possible marking unit M(o), i.e. paths C(1), C(2), C(3), C(4), C(6), C(7), C(8), C(9), paths C(n) having coincident end markings (in the sense of markings 20 or communication elements 31, i.e. light points L(n)) can be determined as a subgroup. In the exemplary embodiment shown in the figure, these are paths C(3) and C(4) having common end points L(3) and L(7) and paths C(8) and C(9) having common end points L(9) and L(13).
[0087] All possible marking units M(o) that do not include one of these paths C(3), C(4), C(8) or C(9) can be eliminated as possible marking units M(o). This further selection leaves only possible marking units M(2), M(3), M(5), M(6) from the possible marking units M(1)-M(6) listed in Fig. 3c. For marking units with only one communication element 31, the last step is omitted.
[0088] The above selection steps may of course be combined or performed in reverse order.
[0089] It is now clear that the remaining possible marking units M(2), M(3), M(5), M(6) only have paths that have end markings 20 at their ends as light points L(n). These can then be assigned to the respective markings 21, 22, 23, 24 in each possible marking unit. This is shown in Figure 3d, which shows the respective assignments of light points L(n) and markings 21, 22, 23, 24 for possible marking unit M(2)+M(3) and possible marking unit M(5)+M(6).
[0090] The procedure is basically that the edge markings 22, 23 of the straight path 41, where the common marking 21 is located in the middle of the straight path 41, are assigned to a first straight line 43 as the first outer marking 22 and the second outer marking 23. The edge markings 21, 24 of the straight path 42, where the common marking 21 is at the ends of the straight path 42, are assigned to a second straight line 44, where the common marking 21 is selected as the first end marking 21 and the other edge marking is selected as the second end marking 24. The remaining respective light points on each of the second paths 42 are communication elements 31.
[0091] As already explained, if circles with appropriately selected radii are arranged in a suitable manner around the first outer marking 22 and the common marking 21, the intersection of the respective circles in each case results in an image area 50 as depicted in Fig. 3e. The light points present in this image area 50 that are not yet assigned to any of the markings 21, 22, 23, 24 or to any of the communication elements 31 are assigned in a subsequent evaluation step to differentiated markings 25 for the respective possible marking units M(2)+M(3) and M(5)+M(6). In the example shown, these are the light points L(2) and L(14) respectively in the differentiated markings 25.
[0092] Subsequently, knowing the markings 21, 22, 23, 24, 25, a detection of the orientation and position is carried out for each of the possible marking units M(2)+M(3) as the first marking unit 10 and the possible marking units M(5)+M(6) as the second marking unit 11, using algorithms known per se. Specific possible means for this have already been described in the introduction to this description and will not be repeated here. The use of suitable P3P or AP3P methods is well known to the skilled person, for example from the prior art, possibly with subsequent numerical optimization.
[0093] If the orientation and position detection fails, no solution is generated.
[0094] Based on the detected communication elements 31 on the second path 42, an identification of the marking units 10, 11 in the image 92 is possible. For this purpose, in one possible embodiment, the distance of the communication elements 31 can be normalized to the total length between the first end marking 21 and the second end marking 22 and, in a corresponding normalization, can be compared with known codes stored in the evaluation unit 91 for all marking units 10, 11 integrated in the system, so that the position of the detected communication elements 31 can be compared with the expected positions of all codes stored in the evaluation unit 91.
[0095] A numerical method suitable for this and known to those skilled in the art in this application is the determination of the squared deviation between the detected code and all possible expected codes. The expected code with the smallest squared deviation then provides the code, making it possible to identify the marking unit 10, 11. If a confidence level with such an identification is not reached that does not require that orientation and position detection is performed, the identification can also be performed after orientation and position detection has been performed, which allows the possible distortion to be calculated from the detected position of the communication element 31. However, this is not necessary in the vast majority of use cases.
[0096] With the image 92 shown in Figures 3a-3e, a procedure in which no orientation detection is performed for the receptacle 100 of the marking unit 10 and the receptacle 110 of the marking unit 11 is diagrammatically shown in Figures 4a, 4b. Only two codes 60, 61 for the marking units 10, 11 are considered to be provided in the system. These are shown in Figure 4 in the same normalization as the recognized codes 62, 63 for the marking units 10, 11 from the image. In the case of the recognized codes 62, 63, the first end marking 21 and the second end marking 24 used for the normalization are also shown, but these are not part of the recognized codes 62, 63 and are not taken into account in the comparison with the expected codes 60, 61.
[0097] In Fig. 4a the expected coding 60, 61 is shown, whose individual elements are equidistantly positioned according to the actual arrangement. In a vertical top view of the marking unit, exactly this arrangement would also be expected in the image 92 of the marking unit 10. In an oblique view there is a distortion resulting in different distances between the communication element devices 30. In Fig. 4a this distortion is slight. The distances between the communication element devices 30 are hardly different. There is a clear assignment of the coding 62 recognized in the image 92 to the expected coding 60.
[0098] In Fig. 4b the expected codings 60, 61 are similarly shown. Due to the obvious oblique view, there is significant distortion in Fig. 4b. The distance between each communication element device 30 is different and gets smaller from the bottom to the top in the representation of the detected coding 63. However, due to the larger deviation from the expected coding 60, there is still a clear mapping of the detected coding 63 in the image 92 to the expected coding 61. Therefore, despite the distortion, it is possible to identify the marking unit 11 without detecting the orientation or position. [Explanation of symbols]
[0099] 1 device 10 Marking Unit 11 Marking unit 20 markings, including: 21 common marking (also called the central marking of the first path or the first end marking of the second path depending on whether it belongs to path 41, 42) 22 First outer marking 23 Second outer marking 24 Second end marking 25 Differentiated Marking 26 Dome 27 First Distance 28 Second Distance 30 Communication element means, and when turned on it also becomes a communication element 31 Communication Elements 33 plane 41 First Route 42 Second Route 43 First Straight Line 44 Second Straight Line 50 Image Area 60 Expected encoding of marking unit 10 61 Expected encoding of marking unit 11 62 Recognized encoding of marking unit 10 63 Recognized encoding of marking unit 11 90 Image capture unit designed as a digital camera 91 Evaluation Units 92 Marking unit image 100 Marking Unit 10 Images 110 Marking Unit 11 Image
Claims
1. A device for detecting the orientation and position of a marking (20, 21, 22, 23, 24, 25) in three-dimensional space, comprising: at least one marking unit (10, 11) having several markings (20, 21, 22, 23, 24, 25), an optical image capture unit (90) adapted to capture an image (92) of said marking units (10, 11); an evaluation unit (91) adapted to unambiguously determine the orientation and position of said marking units (10, 11); having said marking unit (10, 11) having at least five markings (20, 21, 22, 23, 24, 25) for determining orientation and position; - exactly three markings (21, 22, 23) are arranged on a first straight line (43) and exactly two markings (21, 24) are arranged on a second straight line (44), said first and second straight lines (43, 44) intersecting at exactly one common marking (21) such that said common marking (21) belongs to both said first straight line and to said second straight line (43, 44), said marking unit (10, 11) comprises at least one communication element (31) for encoding said marking unit (10, 11), - said image capture unit (90) is adapted to capture an image of said marking unit (10, 11) with said marking (20, 21, 22, 23, 24, 25) and said at least one communication element (31), said marking (20, 21, 22, 23, 24, 25) and said at least one communication element (31) being optically active means, respectively; and the evaluation unit (91) is adapted to determine from the markings (20, 21, 22, 23, 24, 25) the orientation and the position of the marking units (10, 11) in the captured image and to determine an identity of the marking units (10, 11) from the at least one communication element (31), - said at least one communication element (31) is arranged on said second straight line (44) between said markings (21, 24); - none of said communication elements (31) is taken into account for determining the direction and position, - several marking units (10, 11) simultaneously operable in said device are provided, said marking units (10, 11) being adapted so that they can be differentiated on the basis of said various communication elements (31); and 13. The apparatus of claim 12, wherein the evaluation unit (91) is adapted to recognize all markings (20, 21, 22, 23, 24, 25) and / or communication elements (31) in the captured image (92) and to assign them two-dimensional image coordinates.
2. 2. The device according to claim 1, characterized in that a first straight path (41) connecting the markings (21, 22, 23) on the first straight line (43) and a second straight path (42) connecting the markings (21, 24) on the second straight line (44) form a T-shape, the first path (41) being shorter than the second path (42), and the second path (42) preferably intersecting the first path (41) exactly in the middle.
3. 3. The device according to claim 1 or 2, characterized in that at least one distinguishing marking (25) is not located directly in one of the first and second straight lines (43, 44) and is not located outside the plane (33) in which the first and second straight lines (43, 44) extend, such that a vertical projection of the distinguishing marking (25) is located in one of the straight lines (43, 44).
4. 4. Apparatus according to claim 3, characterized in that said at least one distinguishing marking (25) is arranged above said plane (33) in which said first and second straight lines (43, 44) extend.
5. 5. The device according to claim 3 or 4, characterized in that the differentiated marking (25) and / or the projection of the differentiated marking (25) onto the plane (33) is located at a first distance (27) from a central marking (21) of the first straight line (43) and at a second distance (28) from a first other marking (22) of the markings (22, 23) of the first straight line (43) that is different from the common marking (21), the first distance (27) and the second distance (28) being smaller than a distance between the other marking (22) and the central marking (21) along the first straight line (43), respectively.
6. 6. The device according to claim 5, characterized in that the first distance (27) and the second distance (28) are equal.
7. Device according to any one of the preceding claims, characterized in that one to three communication elements (31) are provided between said two markings (21, 24) of said second straight line (44).
8. The device according to any one of claims 1 to 7, characterized in that the evaluation unit (91) is further adapted to determine all straight line paths (C) having a total of exactly three markings (20, 21, 22, 23, 24, 25) and / or communication elements (31) in the captured image (92).
9. 9. The device according to claim 8, characterized in that the evaluation unit (91) is further adapted to determine, from all determined linear paths (C) having exactly three markings (20, 21, 22, 23, 24, 25) and / or communication elements (31), the linear paths (C) having exactly one common marking (20, 21, 22, 23, 24, 25), and if it is determined that for exactly one linear path (C), the common marking (21) is arranged in the center of the linear path (C) and for at least one other linear path (C), the common marking (21) is arranged at one end of the linear path (C), the linear path (C) is assigned to a possible marking unit (M).
10. 10. Apparatus according to claim 8 or 9, characterized in that the evaluation unit (91) is further adapted to determine, in particular in the case of the linear paths (C) associated with a possible marking unit (M), a subgroup of linear paths (C) having coincident end markings (22, 23; 21, 24) at their two ends.
11. Apparatus according to any one of claims 8 to 10, characterized in that the evaluation unit (91) is further adapted to assign the two edge markings (22, 23; 21, 24) of the determined linear path (C) respectively as temporary markings (M) of a marking unit (10, 11).
12. 12. The apparatus according to claim 11, wherein the evaluation unit (91) is further adapted to assign the edge markings (22, 23) of the linear path (41) to a first outer marking (22) and a second outer marking (23) of the first straight line (43) different from the common marking (21) arranged in the center of the linear path (41) and to assign the edge markings (21, 24) of the linear path (42) to a first end marking (21) and a second end marking (24) of the second straight line (44), characterized in that the common marking (21) arranged at one end of the linear path (42) is selected as the first end marking (21) and the other edge marking (24) is selected as the second end marking (24).
13. The apparatus according to claim 12 or any one of claims 3 to 6, characterized in that the evaluation unit (91) is further adapted to define an image area (50) in the captured image (92) and to check whether a further marking (20) having two-dimensional image coordinates is located in the image area (50) in the captured image (92).
14. 14. The device according to claim 11, wherein the evaluation unit (91) is further adapted to perform a first pre-orientation and position detection of four of the at least five markings (21, 22, 23, 24, 25) and to determine expected image coordinates of a fifth of the five markings (21, 22, 23, 24, 25) in the captured image (92) based on the pre-determined orientation and position of the marking units (10, 11) and to compare the expected image coordinates with actual assigned image coordinates.
15. Apparatus according to any one of the preceding claims, characterized in that the evaluation unit (91) is further adapted to improve the orientation and position detection by numerical optimization.
16. The device according to any one of claims 1 to 15, characterized in that the evaluation unit (91) is further adapted to determine the identification information of the marking unit (10, 11) from a distance between the communication element (31) and one of the two markings (21, 24), the distance being normalized to a distance between the two markings (21, 24) on the second straight line (44).
17. 17. A computer program for adapting an evaluation unit (91) in an apparatus (1) according to any one of claims 1 to 16 to perform the measures according to any one of claims 8 to 10, when a processor of the evaluation unit (91) is configured to execute a program code of the computer program.
Citation Information
Patent Citations
System and computer program for determining the position and location of objects
DE202014011390U1
Computer input device with six degrees of freedom for controlling movement of three-dimensional object
JP2001075726A
Position measuring system
JP2010025759A
Method for Determining the Relative Position of an Object in an Area, and Optical Input System
US20140104169A1
