CASCADING EXPANSION METHOD OF WORKING SPACE AND WORKING VISUAL ANGLE OF STEREO VISION SYSTEM

20220405971 · 2022-12-22

    Inventors

    Cpc classification

    International classification

    Abstract

    A cascading expansion method of working space and working visual angle of stereo vision system is disclosed. One stereo vision system in the multi stereo vision systems is fixed as the global vision system, and the other stereo vision systems can move the position and adjust the visual angle according to the needs during the working process, so as to effectively expand the working space and working visual angle of the stereo vision system and improve the flexibility of the stereo vision system. For the target to be measured that cannot be seen under the global stereo vision, the indirect positioning of the target to be measured under the global coordinate system can be achieved through other stereo vision systems, so as to overcome the limitation of the limited visual angle of a single stereo vision system and the limited workspace.

    Claims

    1. A cascading expansion method of working space and working visual angle of stereo vision system, comprising: S1: selecting N stereo vision systems, with the No. 1 stereo vision system as a master stereo vision system and the No. 2 to No. N stereo vision systems as slave stereo vision systems, and taking a visual coordinate system of the master stereo vision system as a global reference coordinate system {W}; wherein N is an integer greater than 1; S2: pasting or printing a manual marker Marker.sub.n on an outer surface of the No. n stereo vision system, and establishing a local coordinate system {M.sub.n} by the manual marker Marker.sub.n; wherein, n=2, 3, . . . , N, and different stereo vision systems correspond to different manual markers; S3: describing, by a spatial mapping matrix T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.}, an inherent position and posture relationship between the local coordinate system {M.sub.n} established by the manual marker Marker.sub.n and a visual coordinate system {C.sub.n} of the No. n stereo vision system; wherein, the spatial mapping matrix T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.} is determined by calibration method; S4: fixedly connecting the No. 1 stereo vision system with a global vision system bracket, determining a working position and visual angle direction of the No. 1 stereo vision system, fixing the No. 1 stereo vision system and keeping the No. 1 stereo vision system unchanged throughout the working process; S5: fixedly connecting the No. n stereo vision system with a No. n self-locking traction manipulator, and adjusting the working position and visual angle direction of the No. n stereo vision system at any time through force traction, so that the manual marker Marker.sub.n is visible in an effective working space of the No. 1 stereo vision system, and a target P to be measured is visible in an effective working space of the No. n stereo vision system; S6: measuring, by the No. 1 stereo vision system, a spatial position and posture of the local coordinate system {M.sub.n} established by the manual marker Marker.sub.n on the No. n stereo vision system, and recording the measured spatial position and posture as T.sub.{M.sub.n.sub.}.fwdarw.{W}; measuring, by the No. n stereo vision system, a position and posture of the target P to be measured in the effective workspace of the No. n stereo vision system, and recording the measured position and posture of the target P to be measured as P.sup.{C.sup.n.sup.}; and in combination with the spatial mapping matrix T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.} of the local coordinate system {M.sub.n} established by the calibrated manual marker Marker.sub.n and the visual coordinate system {C.sub.n} of the No. n stereo vision system, realizing a transformation of the position and posture of the target P to be measured from the visual coordinate system {C.sub.n} of the No. n stereo vision system to the visual coordinate system of the No. 1 stereo vision system, that is, the global reference coordinate system {W}:
    {circumflex over (P)}.sup.{W}=T.sub.{M.sub.n.sub.}.fwdarw.{W}.Math.T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.}{circumflex over (P)}.sup.{C.sup.n.sup.} wherein, {circumflex over (P)}.sup.{W} is coordinates of the target P to be measured in the global reference coordinate system {W}, {circumflex over (P)}.sup.{C.sup.n.sup.} is coordinates of the target P to be measured in the visual coordinate system {C.sub.n} of the No. n stereo vision system, {circumflex over (P)}=[x y z 1].sup.T is homogeneous coordinates of P=[x y z].sup.T, and (x, y, z) is coordinates of the target P to be measured in the three-dimensional space coordinate system.

    2. The cascading expansion method of working space and working visual angle of stereo vision system of claim 1, wherein in step S2, the manual marker Marker.sub.n is a planar marker with at least three non-collinear feature points.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0017] FIG. 1 is a schematic diagram of each vision system, pasted marks and coordinate systems in the cascading expansion method of working space and working visual angle of stereo vision system provided by embodiment 1 of the present disclosure.

    DESCRIPTION OF REFERENCE MARKS

    [0018] 1, No. 1 stereo vision system; 2, No. 2. stereo vision system; 3, triple X combination Marker marker; 4, global vision system bracket; 5, self-locking traction manipulator.

    DETAILED DESCRIPTION OF THE EMBODIMENTS

    [0019] The technical scheme in the embodiments of the disclosure will be clearly and completely described below in combination with the accompanying drawings in the embodiments of the disclosure. Obviously, the described embodiments are merely illustrative and are not intended to limit the disclosure.

    [0020] The cascading expansion method of working space and working visual angle of stereo vision system provided by the present disclosure includes the following steps.

    [0021] S1: N stereo vision systems are selected, with the No. 1 stereo vision system as a master stereo vision system and the No. 2 to No. N stereo vision systems as slave stereo vision systems. A visual coordinate system of the master stereo vision system is taken as a global reference coordinate system {W}. N is an integer greater than 1.

    [0022] S2: A manual marker Marker.sub.n is pasted or printed on an outer surface of the No. n stereo vision system, and a local coordinate system {M.sub.n} is established by the manual marker Marker.sub.n, wherein, n=2, 3, . . . , N. And different stereo vision systems correspond to different manual markers.

    [0023] Specifically, the manual marker is a plane manual marker and is unique. For example, for any two manual markers Marker.sub.i and Marker.sub.j, where i=2, 3, . . . , N, j=2, 3, . . . , N, i≠j, they should be able to be distinguished by nature to represent different stereo vision systems respectively.

    [0024] S3: An inherent position and posture relationship between the local coordinate system {M.sub.n} established by the manual marker Marker.sub.n and a visual coordinate system {C.sub.n} of the No. n stereo vision system is described by a spatial mapping matrix T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.} determined by calibration method.

    [0025] S4: The No. 1 stereo vision system is fixedly connected with a global vision system bracket. After a working position and visual angle direction of the No. 1 stereo vision system are determined, the No. 1 stereo vision system is fixed and kept unchanged throughout the working process.

    [0026] Specifically, the global vision system bracket can be a tripod, or other brackets suitable for fixing, which is not limited here.

    [0027] S5: The No. n stereo vision system is fixedly connected with a No. n self-locking traction manipulator, and the working position and visual angle direction of the No. n stereo vision system are adjusted at any time through force traction, so that the manual marker Marker.sub.n is visible in an effective working space of the No. 1 stereo vision system, and a target P to be measured is visible in an effective working space of the No. n stereo vision system.

    [0028] S6: A spatial position and posture of the local coordinate system {M.sub.n} established by the manual marker Marker.sub.n on the No. n stereo vision system is measured by the No. 1 stereo vision system, and is recorded as T.sub.{M.sub.n.sub.}.fwdarw.{W}. A position and posture of the target P to be measured in the effective workspace of the No. n stereo vision system is measured by the No. n stereo vision system, and is recorded as P.sup.{C.sup.n.sup.}. In combination with the spatial mapping matrix T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.} of the local coordinate system {M.sub.n} established by the calibrated manual marker Marker.sub.n and the visual coordinate system {C.sub.n} of the No. n stereo vision system, a transformation of the position and posture of the target P to be measured from the visual coordinate system {C.sub.n} of the No. n stereo vision system to the visual coordinate system of the No. 1 stereo vision system, that is, the global reference coordinate system {W}, is realized:


    {circumflex over (P)}.sup.{W}=T.sub.{M.sub.n.sub.}.fwdarw.{W}.Math.T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.}{circumflex over (P)}.sup.{C.sup.n.sup.}.

    [0029] wherein, {circumflex over (P)}.sup.{W} is coordinates of the target P to be measured in the global reference coordinate system {W}, {circumflex over (P)}.sup.{C.sup.n.sup.} is coordinates of the target P to be measured in the visual coordinate system {C.sub.n} of the No. n stereo vision system, {circumflex over (P)}=[x y z 1].sup.T is homogeneous coordinates of P=[x y z].sup.T, and (x, y, z) is coordinates of the target P to be measured in the three-dimensional space coordinate system.

    [0030] During specific implementation, in the cascading expansion method of working space and working visual angle of stereo vision system of the present disclosure, in step S2, the manual marker Marker.sub.n may be a planar marker with at least three non-collinear feature points. For example, the manual marker Marker.sub.n can be a triple X combination Marker marker, which is composed of three non collinear X corners according to certain rules, which is convenient for visual algorithm detection and establishment of local coordinate system.

    [0031] The specific implementation of the cascading expansion method of working space and working visual angle of stereo vision system provided by the disclosure is described in detail below through a specific embodiment.

    Embodiment 1

    [0032] In the first step, as shown in FIG. 1, two stereo vision systems are selected and are numbered as No. 1 stereo vision system 1 and No. 2 stereo vision system 2 respectively. The No. 1 stereo vision system 1 is selected as the master stereo vision system and No. 2 stereo vision system 2 is selected as the slave stereo vision system.

    [0033] Specifically, if the two stereo vision systems are the same, any one of them can be numbered as No. 1 and the other as No. 2. If the two stereo vision systems are different, the stereo vision system with the best performance or the highest accuracy should be selected as No. 1, and the other stereo vision system as No. 2.

    [0034] In the second step, a triple X combination Marker marker 3 is pasted or printed on the outer surface of the No. 2 stereo vision system. In the No. 2 stereo vision system 2 shown in FIG. 1, a local coordinate system O.sub.M-X.sub.MY.sub.MZ.sub.M of the triple X combination Marker marker is established, and is recorded as local coordinate system {M.sub.2}.

    [0035] In the third step, the left eye camera coordinate system O.sub.1-X.sub.1Y.sub.1Z.sub.1 of the No. 2 stereo vision system 2 is taken as the visual coordinate system of the No. 2 stereo vision system 2, which is recorded as {C.sub.2}. Because the triple X combination Marker marker is fixedly connected with the No. 2 stereo vision system 2, there is an inherent relative position and pose relationship between {M.sub.2} and {C.sub.2}, which can be described by the spatial mapping matrix T.sub.{C.sub.2.sub.}.fwdarw.{M.sub.2.sub.}. And T.sub.{C.sub.2.sub.}.fwdarw.{M.sub.2.sub.} can be determined by the calibration method.

    [0036] In the fourth step, the No. 1 stereo vision system 1 is fixedly connected with the global vision system bracket 4, and the No. 1 stereo vision system 1 is fixed after the appropriate working position and visual angle direction are selected, and the No. 1 stereo vision system 1 is kept unchanged throughout the working process. The left eye camera coordinate system O.sub.0-X.sub.0Y.sub.0Z.sub.0 of the No. 1 stereo vision system 1 is taken as the global reference coordinate system, which is recorded as {W}.

    [0037] In the fifth step, the No. 2 stereo vision system 2 is fixedly connected with the self-locking traction manipulator 5, and the working position and visual angle direction of the No. 2 stereo vision system 2 are adjusted at any time as required, so that the triple X combination Marker marker is visible and detectable in an effective working space of the No. 1 stereo vision system, and the target P to be measured is visible and detectable in the effective working space of the No. 2 stereo vision system 2.

    [0038] In the sixth step, a spatial position and posture of the local coordinate system established by the triple X combination Marker marker on the No. 2 stereo vision system 2 is measured by the No. 1 stereo vision system, and is recorded as T.sub.{M.sub.2.sub.}.fwdarw.{W}. A position and posture of the target P to be measured in the effective workspace of the No. 2 stereo vision system 2 is measured by the No. 2 stereo vision system 2, and is recorded as P.sup.{C.sup.2.sup.}. In combination with the spatial mapping matrix T.sub.{C.sub.2.sub.}.fwdarw.{M.sub.2.sub.} of the calibrated visual coordinate system {C.sub.n} of the No. 2 stereo vision system 2 and the local coordinate system {M.sub.2} established by the triple X combination Marker marker, a transformation of the position and posture of the target P to be measured from the visual coordinate system {C.sub.2} of the No. 2 stereo vision system 2 to the visual coordinate system of the No. 1 stereo vision system, that is, the global reference coordinate system {W}, is realized:


    {circumflex over (P)}.sup.{W}=T.sub.{M.sub.n.sub.}.fwdarw.{W}.Math.T.sub.{C.sub.n.sub.}.fwdarw.{M.sub.n.sub.}{circumflex over (P)}.sup.{C.sup.n.sup.}

    [0039] wherein, {circumflex over (P)}.sup.{W} is coordinates of the target P to be measured in the global reference coordinate system {W}, {circumflex over (P)}.sup.{C.sup.n.sup.} is coordinates of the target P to be measured in the visual coordinate system {C.sub.n} of the No. n stereo vision system, {circumflex over (P)}=[x y z 1].sup.T is homogeneous coordinates of P=[x y z].sup.T, and (x, y, z) is coordinates of the target P to be measured in the three-dimensional space coordinate system.

    [0040] In the cascading expansion method of working space and working visual angle of stereo vision system provided by the disclosure, one stereo vision system in the multi stereo vision systems is fixed as the global vision system, and the other stereo vision systems can move the position and adjust the visual angle according to the needs during the working process, so as to effectively expand the working space and working visual angle of the stereo vision system and improve the flexibility of the stereo vision system. For the target to be measured that cannot be seen under the global stereo vision, the indirect positioning of the target to be measured under the global coordinate system can be achieved through other stereo vision systems, so as to overcome the limitation of the limited visual angle of a single stereo vision system and the limited workspace, overcome the limitation that the traditional multi stereo vision system cannot adjust the position and pose in the working process, and make the application of stereo vision system more extensive. The application of the disclosure to the navigation of instruments in the operating room has the advantages of low cost, flexible working space and high positioning accuracy.

    [0041] Obviously, those skilled in the art can make various variations and modifications to the disclosure without departing from the spirit and scope of the disclosure. Thus, if these variations and modifications of the disclosure fall within the scope of the claims of the disclosure and its equivalent technology, the disclosure is also intended to include these variations and modifications.