Method, system and computer equipment for monitoring the moving process of columnar objects
By emitting stripe structured light to the surface of a cylindrical object, image data is obtained and the coordinates and direction vector of the central axis base point are determined, which solves the accuracy problem of the traveling process of cylindrical objects in high-precision manufacturing, achieves high-precision monitoring and feedback, and ensures alignment. and smoothness of insertion.
Patent Information
- Application Number
- CN202010603182.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-06-29
AI Technical Summary
In high-precision industrial manufacturing and medical equipment, the traveling process of cylindrical objects is disturbed by mechanical motion errors and human operations, requiring high-precision non-contact monitoring methods to ensure alignment and insertion.
By emitting striped structured light to the surface of the object to be measured, image data is obtained, and the system calibration parameters are used to determine the coordinates and direction vector of the central axis base point to achieve high-precision spatial position and motion trajectory monitoring.
It achieves high-speed, high-precision monitoring and feedback of columnar objects, ensuring smooth alignment and insertion with the target position, simple operation, fast measurement speed and high precision.
Smart Images

Figure CN111768441B
Abstract
Description
Technical Field
[0001] The present application relates to the field of three-dimensional measurement, and in particular to a method, system and computer equipment for monitoring the moving process of a columnar object. Background Art
[0002] At present, in the working process of some high-precision industrial manufacturing, detection and medical equipment, it is often necessary to align and insert cylindrical objects such as probes and catheters with the target position. However, due to interference from external factors such as mechanical motion errors and human operation, the entire process requires continuous feedback and calibration. Therefore, a non-contact high-precision monitoring method and system is needed, which can monitor the spatial position and motion trajectory of cylindrical objects with high precision and feed back to the control system for calibration, so as to ensure smooth alignment and insertion of cylindrical objects with the target position. Summary of the invention
[0003] Based on this, the present application provides a method, system and computer device for monitoring the moving process of a columnar object, so as to monitor the spatial position and motion trajectory of the columnar object with high precision.
[0004] A method for monitoring a moving process of a columnar object, comprising:
[0005] A group of stripe structured lights are emitted to the surface of the object to be measured;
[0006] Acquiring a set of image data according to the signal light reflected from the surface of the object to be measured;
[0007] The coordinates of the central axis base point and the direction vector of the object to be measured are obtained according to the image data and the calibration parameters of the system.
[0008] In one embodiment, the step of obtaining the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system includes:
[0009] Determining three-dimensional point cloud information of the object to be measured according to the image data and calibration parameters of the system;
[0010] The three-dimensional point cloud information is fitted to obtain the coordinates of the central axis base point and the direction vector of the object to be measured.
[0011] In one embodiment, the step of determining the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system includes:
[0012] Determining phase information of the object to be measured according to the grayscale value of the image data;
[0013] The phase information is converted into the three-dimensional point cloud information according to the calibration parameters.
[0014] In one embodiment, the relationship between the phase information of the object to be measured and the gray value is:
[0015]
[0016] in, is the phase information of the object to be measured, I n is the grayscale value corresponding to the nth image data.
[0017] In one of the embodiments, the stripe structured light is a sinusoidally distributed phase-shifted stripe structured light.
[0018] In one embodiment, the step of obtaining the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system includes:
[0019] The relative spatial position between the object to be measured and the target is calculated according to the coordinates of the central axis base point and the direction vector of the object to be measured.
[0020] A system for monitoring the traveling process of a columnar object, comprising:
[0021] A projection device, used for emitting a set of stripe structured lights onto the surface of the object to be measured;
[0022] A detector connected to the projection device, and used to obtain a set of image data according to the signal light reflected from the surface of the object to be measured; and
[0023] A processor is connected to the detector and is used to obtain the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system.
[0024] In one embodiment, the processor includes:
[0025] A parameter setting module, connected to the projection device, for setting parameters of the stripe structured light and sending them to the projection device; and;
[0026] The data processing module is connected to the detector and is used to determine the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system, and is also used to fit the three-dimensional point cloud information to obtain the coordinates of the central axis base point and the direction vector of the object to be measured.
[0027] In one embodiment, the processor further comprises:
[0028] The calculation module is connected to the data processing module and is used to calculate the relative spatial position of the object to be measured and the target according to the coordinates of the central axis base point and the direction vector of the object to be measured.
[0029] A computer device comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the steps of obtaining the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system as described in any one of the above embodiments are implemented.
[0030] The method for monitoring the moving process of a columnar object comprises emitting a set of stripe structured lights to the surface of the object to be measured. A set of image data is obtained according to the signal light reflected by the surface of the object to be measured. The coordinates of the central axis base point and the direction vector of the object to be measured are obtained according to the image data and the calibration parameters of the system, so that high-speed and high-precision monitoring and feedback can be achieved during the moving process of the columnar object. The method is simple to operate, has a fast measurement speed and high precision, and is simple to process data. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A flow chart of a method for monitoring the movement of a columnar object provided by one embodiment of the present application;
[0033] Figure 2 A structural diagram of a system for monitoring the movement of a columnar object provided in one embodiment of the present application;
[0034] Figure 3 A structural diagram of a system for monitoring the movement of a columnar object provided in another embodiment of the present application;
[0035] Figure 4 A structural diagram of a system for monitoring the traveling process of a columnar object provided in the first embodiment of the present application applied to a high-precision welding system;
[0036] Figure 5 A structural diagram of a system for monitoring the movement of a columnar object provided in a second embodiment of the present application applied to a high-precision needle insertion system;
[0037] Figure 6 A diagram of monitoring data of a needle and a catheter obtained in a second embodiment provided for one embodiment of the present application;
[0038] Figure 7 A phase data diagram of a needle and a catheter calculated in a second embodiment provided for one embodiment of the present application;
[0039] Figure 8 A three-dimensional point cloud data map of a needle and a catheter calculated in a second embodiment provided as an embodiment of the present application;
[0040] Fig. 9 In the second embodiment provided as one embodiment of the present application, the base point and direction vector of the central axis of the needle and the catheter are calculated.
[0041] Description of main component reference numbers
[0042] 10. Projection device; 20. Detector; 30. Processor; 31. Parameter setting module; 32. Data processing module; 33. Calculation module; 40. Welding device; 41. Welding needle; 50. Welding target; 60. Robotic arm; 70. Injection device; 71. Injection needle; 72. Injection target; 73. Catheter; 80. Swing angle device; 90. Three-dimensional displacement platform DETAILED DESCRIPTION
[0043] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0044] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first acquisition module may be referred to as a second acquisition module, and similarly, a second acquisition module may be referred to as a first acquisition module. Both the first acquisition module and the second acquisition module are acquisition modules, but they are not the same acquisition module.
[0045] It should be noted that when an element is referred to as being "disposed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0047] See also Figure 1 The present application provides a method for monitoring the movement of a columnar object. A method for monitoring the movement of a columnar object comprises:
[0048] S10, emitting a group of stripe structured lights toward the surface of the object to be measured.
[0049] In step S10, the object to be tested may be a cylindrical object. The object to be tested may also be a columnar object. In one optional embodiment, the object to be tested may be a welding needle in a high-precision welding system. A group of stripe structured lights may be emitted to the surface of the object to be tested by a digital projection system. In one optional embodiment, the stripe structured light is a phase-shifted stripe structured light with a sinusoidal distribution. After the stripe structured light is reflected by the surface of the object to be tested, different signal lights are formed.
[0050] S20, acquiring a set of image data according to the signal light reflected by the surface of the object to be measured.
[0051] In step S20, synchronous acquisition can be performed through the detector 20. The detector 20 can be connected to the digital projection system by a cable to achieve synchronization of projection pattern switching and acquisition. The image data carries gray value information.
[0052] S30, obtaining the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system.
[0053] In step S30, the calibration parameters of the system can be stored in the processor 30. The processor 30 can be a single chip microcomputer or a microprocessor 30. The functions of the processor 30 can also be implemented by a computer. The processor 30 can store the image data. And calculate the coordinates of the central axis base point and the direction vector of the object to be measured. The processor 30 can also include a parameter setting module 31. The parameter setting module 31 can be connected to the digital projection system. Optionally, the parameter setting module 31 and the digital projection system can be connected via a data cable. The parameter setting module 31 is used to import the projection pattern and set the projection parameters.
[0054] In one embodiment, step S30 includes determining the three-dimensional point cloud information of the object to be measured according to the image data and the calibration parameters of the system, fitting the three-dimensional point cloud information, and obtaining the coordinates of the central axis base point and the direction vector of the object to be measured. The three-dimensional point cloud information includes a plurality of image points. Each image point corresponds to an image data. By fitting all three-dimensional point clouds, the three-dimensional image of the object to be measured can be obtained, and then the coordinates of the base points on the central axis of the object to be measured and the direction vector of the central axis can be obtained. The movement direction of the object to be measured can be reflected according to the coordinates of the base points on the central axis and the direction vector of the central axis. And the relative spatial position of the object to be measured and the target object can also be calculated according to the coordinates of the base points on the central axis and the direction vector of the central axis. The relative spatial position can be fed back to the operating system, and then the fine adjustment of the direction of travel of the object to be measured is completed to ensure the smooth alignment and insertion of the object to be measured and the target.
[0055] In one of the embodiments, the method for determining the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system includes determining the phase information of the object to be measured based on the grayscale value of the image data, and converting the phase information into the three-dimensional point cloud information based on the calibration parameters.
[0056] In one embodiment, the relationship between the phase information of the object to be measured and the gray value is:
[0057]
[0058] in, is the phase information of the object to be measured, I n is the grayscale value corresponding to the nth image data.
[0059] In this embodiment, the method for monitoring the moving process of a columnar object comprises emitting a set of stripe structured lights to the surface of the object to be measured. A set of image data is obtained according to the signal light reflected from the surface of the object to be measured. According to the image data and the calibration parameters of the system, the coordinates of the central axis base point and the direction vector of the object to be measured are obtained, so that high-speed and high-precision monitoring and feedback can be achieved during the moving process of the columnar object. The method is simple to operate, has a fast measurement speed and high precision, and is simple to process data.
[0060] See also Figure 2 The present application provides a system for monitoring the moving process of a columnar object. The system for monitoring the moving process of a columnar object includes a projection device 10, a detector 20 and a processor 30.
[0061] The projection device 10 is used to emit a group of stripe structured lights to the surface of the object to be measured. The detector 20 is connected to the projection device 10. The detector 20 is used to obtain a group of image data according to the signal light reflected by the surface of the object to be measured. The processor 30 is connected to the detector 20. The processor 30 is used to obtain the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system.
[0062] It is understandable that the object to be tested may be a cylindrical object. The object to be tested may also be a columnar object. In one optional embodiment, the object to be tested may be a welding needle 41 in a high-precision welding system.
[0063] It is understandable that the structure of the projection device 10 is not specifically limited, as long as it can transmit stripe structured light. Optionally, a group of stripe structured light can be emitted to the surface of the object to be measured through a digital projection system. In one optional embodiment, the stripe structured light is a phase-shifted stripe structured light with a sinusoidal distribution. After the stripe structured light is reflected by the surface of the object to be measured, different signal lights are formed.
[0064] It is understandable that the structure of the detector 20 is not specifically limited, as long as a set of image data can be obtained according to the signal light reflected from the surface of the object to be measured. The detector 20 can be connected to the digital projection system with a cable to achieve synchronization between projection pattern switching and acquisition. The image data carries grayscale value information. The detector 20 and the processor 30 can be connected via a data cable.
[0065] It is understandable that the structure of the processor 30 is not specifically limited, as long as the coordinates of the central axis base point and the direction vector of the object to be measured can be obtained according to the image data and the calibration parameters of the system. The calibration parameters of the system can be stored in the processor 30. The processor 30 can be a single chip microcomputer or a microprocessor. The functions of the processor 30 can also be implemented by a computer. The processor 30 can store the image data. And calculate the coordinates of the central axis base point and the direction vector of the object to be measured.
[0066] See also Figure 3 In one embodiment, the processor 30 includes a parameter setting module 31, a data processing module 32 and a calculation module 33.
[0067] The parameter setting module 31 is connected to the projection device 10. The parameter setting module 31 is used to set the parameters of the stripe structured light and send them to the projection device 10. The data processing module 32 is connected to the detector 20. The data processing module 32 is used to determine the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system. The data processing module 32 is also used to fit the three-dimensional point cloud information to obtain the coordinates of the central axis base point and the direction vector of the object to be measured. The calculation module 33 is connected to the data processing module 32. The calculation module 33 is used to calculate the relative spatial position of the object to be measured and the target based on the coordinates of the central axis base point and the direction vector of the object to be measured.
[0068] It can be understood that the parameter setting module 31, the data processing module 32 and the calculation module 33 can be implemented by a computer.
[0069] The parameter setting module 31 can be connected to the digital projection system. Optionally, the parameter setting module 31 and the digital projection system can be connected via a data line. The parameter setting module 31 is used to import a projection pattern and set projection parameters. The data processing module 32 and the detector 20 can be connected via a data line.
[0070] In one embodiment, the method for obtaining the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system includes: determining the three-dimensional point cloud information of the object to be measured according to the image data and the calibration parameters of the system. Fitting the three-dimensional point cloud information to obtain the coordinates and direction vector of the central axis base point of the object to be measured. The three-dimensional point cloud information includes a plurality of image points. Each image point corresponds to an image data. Fitting all three-dimensional point clouds can obtain the three-dimensional image of the object to be measured, and then obtain the coordinates of the base points on the central axis of the object to be measured and the direction vector of the central axis. The movement direction of the object to be measured can be reflected according to the coordinates of the base points on the central axis and the direction vector of the central axis. And the relative spatial position of the object to be measured and the target object can also be calculated according to the coordinates of the base points on the central axis and the direction vector of the central axis. The relative spatial position can be fed back to the operation system, and then the fine adjustment of the travel direction of the object to be measured is completed to ensure the smooth alignment and insertion of the object to be measured and the target.
[0071] In one embodiment, the method for determining the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system includes determining the phase information of the object to be measured based on the grayscale value of the image data, and converting the phase information into the three-dimensional point cloud information based on the calibration parameters.
[0072] In one embodiment, the relationship between the phase information of the object to be measured and the gray value is:
[0073]
[0074] in, is the phase information of the object to be measured, I n is the grayscale value corresponding to the nth image data.
[0075] In this embodiment, the system for monitoring the moving process of the columnar object emits a group of stripe structured lights to the surface of the object to be measured through the projection device 10. The detector 20 obtains a group of image data according to the signal light reflected from the surface of the object to be measured. The processor 30 obtains the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system, so as to realize high-speed and high-precision monitoring and feedback during the moving process of the columnar object. The system is simple to operate, has fast measurement speed and high precision, and simple data processing.
[0076] See also Figure 4 The present application provides a system for monitoring the travel process of a columnar object in a high-precision welding system. The system for monitoring the travel process of a columnar object is used to monitor a welding needle 41 and a welding target 50 on a welding device 40. The spatial deviation between the two is obtained by the system for monitoring the travel process of a columnar object and fed back to a robot arm 60 for calibration.
[0077] Specifically, the system for monitoring the moving process of a columnar object includes a projection device 10, a detector 20, and a processor 30. The projection device 10 is used to emit a group of stripe structured lights to the surface of the object to be measured. The detector 20 is connected to the projection device 10. The detector 20 is used to obtain a group of image data according to the signal light reflected from the surface of the object to be measured. The processor 30 is connected to the detector 20. The processor 30 is used to obtain the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system.
[0078] It is understandable that the structure of the projection device 10 is not specifically limited, as long as it can transmit stripe structured light. Optionally, a group of stripe structured light can be emitted to the surface of the object to be measured through a digital projection system. In one optional embodiment, the stripe structured light is a phase-shifted stripe structured light with a sinusoidal distribution. After the stripe structured light is reflected by the surface of the object to be measured, different signal lights are formed.
[0079] It is understandable that the structure of the detector 20 is not specifically limited, as long as a set of image data can be obtained according to the signal light reflected from the surface of the object to be measured. The detector 20 can be connected to the digital projection system with a cable to achieve synchronization between projection pattern switching and acquisition. The image data carries grayscale value information. The detector 20 and the processor 30 can be connected via a data cable.
[0080] It is understandable that the structure of the processor 30 is not specifically limited, as long as the coordinates of the central axis base point and the direction vector of the object to be measured can be obtained according to the image data and the calibration parameters of the system. The calibration parameters of the system can be stored in the processor 30. The processor 30 can be a single chip microcomputer or a microprocessor. The functions of the processor 30 can also be implemented by a computer. The processor 30 can store the image data. And calculate the coordinates of the central axis base point and the direction vector of the object to be measured.
[0081] In order to ensure that the welding needle 41 and the welding target 50 can always be detected, the system for monitoring the movement of the columnar object needs to be fixed on the welding device 40, so as to ensure that the rotation of the robot arm 60 does not cause the welding needle 41 to exceed the monitoring range. In actual application, when the robot arm 60 moves the welding needle 41 to the vicinity of the welding target 50, the system for monitoring the movement of the columnar object starts to work and measures the relative spatial position between the two and feeds back to the robot arm 60 for fine adjustment and alignment.
[0082] See also Figure 5 The present application provides a system for monitoring the progress of a columnar object used in a high-precision needle insertion system. The system for monitoring the progress of a columnar object is used to monitor the docking and insertion process of an injection needle 71 on an injection device 70 and a catheter 73 on an injection target 72. The spatial deviation between the two is obtained by the system for monitoring the progress of a columnar object and fed back to an electrically controlled high-precision swing angle device 80 and an electrically controlled high-precision three-dimensional displacement platform 90 to achieve calibration and insertion.
[0083] Specifically, the system for monitoring the moving process of a columnar object includes a projection device 10, a detector 20, and a processor 30. The projection device 10 is used to emit a group of stripe structured lights to the surface of the object to be measured. The detector 20 is connected to the projection device 10. The detector 20 is used to obtain a group of image data according to the signal light reflected from the surface of the object to be measured. The processor 30 is connected to the detector 20. The processor 30 is used to obtain the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system.
[0084] It is understandable that the structure of the projection device 10 is not specifically limited, as long as it can transmit stripe structured light. Optionally, a group of stripe structured light can be emitted to the surface of the object to be measured through a digital projection system. In one optional embodiment, the stripe structured light is a phase-shifted stripe structured light with a sinusoidal distribution. After the stripe structured light is reflected by the surface of the object to be measured, different signal lights are formed.
[0085] It is understandable that the structure of the detector 20 is not specifically limited, as long as a set of image data can be obtained according to the signal light reflected from the surface of the object to be measured. The detector 20 can be connected to the digital projection system with a cable to achieve synchronization between projection pattern switching and acquisition. The image data carries grayscale value information. The detector 20 and the processor 30 can be connected via a data cable.
[0086] It is understandable that the structure of the processor 30 is not specifically limited, as long as the coordinates of the central axis base point and the direction vector of the object to be measured can be obtained according to the image data and the calibration parameters of the system. The calibration parameters of the system can be stored in the processor 30. The processor 30 can be a single chip microcomputer or a microprocessor 30. The functions of the processor 30 can also be implemented by a computer. The processor 30 can store the image data. And calculate the coordinates of the central axis base point and the direction vector of the object to be measured.
[0087] In actual application, when the electronically controlled high-precision three-dimensional displacement platform 90 moves the injection needle 71 to near the top of the catheter 73 on the injection target 72, the system for monitoring the movement of the cylindrical object starts to work and measures and obtains the three-dimensional point cloud information of the two, and then obtains the central axis and base point of the injection needle 71 and the catheter 73 respectively through cylindrical fitting, and then feeds back to the system for angle and position adjustment, finally achieving the smooth insertion of the injection needle 71 into the catheter 73.
[0088] like Figure 6 As shown in FIG. 1 , the monitoring image data collected by the detector 20 includes N images in total, corresponding to N different phase-shifted stripe structured light projections. Figure 7 As shown, according to the image data I1, I2…I N Gray value, calculate the phase value with three-dimensional information of the beam needle and cannula needle surface The result diagram is shown in Figure 1. Figure 8 As shown in Figure 1, the phase information is converted into a three-dimensional point cloud by calibrating the system parameters. Fig. 9 As shown, the three-dimensional point cloud data is fitted by the cylindrical fitting method to obtain the coordinates and direction vectors of the central axis base points of the beam needle and the cannula needle, thereby completely determining the relative spatial positions of the two.
[0089] A computer device includes a memory, a processor 30, and a computer program stored in the memory and running on the processor 30, wherein the processor 30, when executing the computer program, implements the steps of obtaining the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system as described in any of the above embodiments.
[0090] It is understandable that the structure of the processor 30 is not specifically limited, as long as the coordinates of the central axis base point and the direction vector of the object to be measured can be obtained according to the image data and the calibration parameters of the system. The calibration parameters of the system can be stored in the processor 30. The processor 30 can be a single chip microcomputer or a microprocessor. The functions of the processor 30 can also be implemented by a computer. The processor 30 can store the image data. And calculate the coordinates of the central axis base point and the direction vector of the object to be measured.
[0091] In one embodiment, the processor 30 includes a parameter setting module 31 , a data processing module 32 and a calculation module 33 .
[0092] The parameter setting module 31 is connected to the projection device 10. The parameter setting module 31 is used to set the parameters of the stripe structured light and send them to the projection device 10. The data processing module 32 is connected to the detector 20. The data processing module 32 is used to determine the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system. The data processing module 32 is also used to fit the three-dimensional point cloud information to obtain the coordinates of the central axis base point and the direction vector of the object to be measured. The calculation module 33 is connected to the data processing module 32. The calculation module 33 is used to calculate the relative spatial position of the object to be measured and the target based on the coordinates of the central axis base point and the direction vector of the object to be measured.
[0093] It can be understood that the parameter setting module 31, the data processing module 32 and the calculation module 33 can be implemented by a computer.
[0094] The parameter setting module 31 can be connected to the digital projection system. Optionally, the parameter setting module 31 and the digital projection system can be connected via a data line. The parameter setting module 31 is used to import a projection pattern and set projection parameters. The data processing module 32 and the detector 20 can be connected via a data line.
[0095] In this embodiment, the computer device emits a group of stripe structured lights to the surface of the object to be measured through the projection device 10. The detector 20 obtains a group of image data according to the signal light reflected from the surface of the object to be measured. The processor 30 obtains the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system, so as to realize high-speed and high-precision monitoring and feedback during the movement of the columnar object. The system is simple to operate, has fast measurement speed and high precision, and simple data processing.
[0096] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0097] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A method for monitoring the movement of a columnar object, characterized in that: include: A group of stripe structured lights are emitted to the surface of the object to be measured; Acquiring a set of image data according to the signal light reflected from the surface of the object to be measured; Obtaining the coordinates and direction vector of the central axis base point of the object to be measured according to the image data and the calibration parameters of the system; The step of obtaining the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system comprises: Determining three-dimensional point cloud information of the object to be measured according to the image data and calibration parameters of the system; Fitting the three-dimensional point cloud information to obtain a three-dimensional image of the object to be measured; The coordinates of the central axis base point and the direction vector of the object to be measured are obtained according to the three-dimensional image.
2. The method for monitoring the movement of a columnar object according to claim 1, characterized in that: The step of determining the three-dimensional point cloud information of the object to be measured according to the image data and the calibration parameters of the system comprises: Determining phase information of the object to be measured according to the grayscale value of the image data; The phase information is converted into the three-dimensional point cloud information according to the calibration parameters.
3. The method for monitoring the movement of a columnar object according to claim 2, characterized in that: The relationship between the phase information of the object to be measured and the gray value is: in, is the phase information of the object to be measured, I n is the grayscale value corresponding to the nth image data.
4. The method for monitoring the movement of a columnar object according to claim 1, characterized in that: The stripe structured light is a phase-shifted stripe structured light with sinusoidal distribution.
5. The method for monitoring the movement of a columnar object according to claim 1, characterized in that: The step of obtaining the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system comprises: The relative spatial position between the object to be measured and the target is calculated according to the coordinates of the central axis base point and the direction vector of the object to be measured.
6. A system for monitoring the movement of a columnar object, characterized in that: include: A projection device, used for emitting a set of stripe structured lights onto the surface of the object to be measured; A detector connected to the projection device, and used to obtain a set of image data according to the signal light reflected from the surface of the object to be measured; as well as A processor connected to the detector, and configured to obtain the coordinates of the central axis base point and the direction vector of the object to be measured according to the image data and the calibration parameters of the system; The processor is specifically used to determine the three-dimensional point cloud information of the object to be measured according to the image data and the calibration parameters of the system; Fitting the three-dimensional point cloud information to obtain a three-dimensional image of the object to be measured; The coordinates of the central axis base point and the direction vector of the object to be measured are obtained according to the three-dimensional image.
7. The system for monitoring the movement of a columnar object according to claim 6, characterized in that: The processor comprises: A parameter setting module, connected to the projection device, for setting parameters of the stripe structured light and sending them to the projection device; and; The data processing module is connected to the detector and is used to determine the three-dimensional point cloud information of the object to be measured based on the image data and the calibration parameters of the system, and is also used to fit the three-dimensional point cloud information to obtain the coordinates of the central axis base point and the direction vector of the object to be measured.
8. The system for monitoring the movement of a columnar object according to claim 7, characterized in that: The parameter setting module is also used to import projection patterns and set projection parameters.
9. The system for monitoring the movement of a columnar object according to claim 6, characterized in that: The processor further comprises: The calculation module is connected to the data processing module and is used to calculate the relative spatial position of the object to be measured and the target according to the coordinates of the central axis base point and the direction vector of the object to be measured.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented to obtain the coordinates of the central axis base point and the direction vector of the object to be measured based on the image data and the calibration parameters of the system.
