Measurement system and program

The measurement system addresses the ICP method's processing time issue by limiting point cloud matching to the camera's range, ensuring real-time performance and accuracy in component assembly verification.

JP7570944B2Active Publication Date: 2024-10-22KK TOSHIBA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021026414
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-22
Publication Date
2024-10-22
Estimated Expiration
2041-02-22

AI Technical Summary

Technical Problem

The ICP method for matching data of two point clouds tends to increase processing time significantly when the number of point groups is large, impairing real-time performance in component assembly systems.

Method used

A measurement system and program that includes a first calculation unit to determine the camera's position and orientation, an extraction unit to limit the three-dimensional shape information to the camera's imaging range, a second calculation unit for accurate point cloud matching, and a display control unit to present comparison results, guiding the user for optimal camera positioning.

Benefits of technology

The system enables real-time processing by limiting point cloud matching to the camera's measurable range, reducing processing time and minimizing errors in component assembly verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007570944000001
    Figure 0007570944000001
  • Figure 0007570944000002
    Figure 0007570944000002
  • Figure 0007570944000003
    Figure 0007570944000003
Patent Text Reader

Abstract

To provide a measurement system and a measurement program designed for real-time processing.SOLUTION: A measurement system has a first calculation unit, an extraction unit, a second calculation unit, and a display control unit. The first calculation unit calculates first information representing the position and the posture of a camera configured to measure depth information being the depth to respective points of a measurement object together with an image of the measurement object with reference to a marker provided on the measurement object. The extraction unit extracts, from first three-dimensional shape information representing the three-dimensional shape of the measurement object, second three-dimensional shape information corresponding to an imaging range of the camera based on the first information. The second calculation unit compares the depth information and the second three-dimensional shape information with each other, and based on a result of comparison between the depth information and the second three-dimensional shape information, calculates second information representing the position and the posture of the camera. The display control unit displays, on a display, information on the result of comparison between the second three-dimensional shape information and the depth information based on the second information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments relate to a measurement system and a measurement program. [Background technology]

[0002] The ICP (Iterative Closest Point) method is known as one of the methods for matching two point cloud data related to the same measurement target. Matching methods such as the ICP method can be applied to image comparison processing to check, for example, that parts are assembled correctly. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-101987 A Summary of the Invention [Problem to be solved by the invention]

[0004] Here, in matching methods such as the ICP method, the processing time is likely to increase when the number of point clouds is large. Therefore, if a matching method such as the ICP method is simply applied to a part assembly system, there is a possibility that the real-time performance during measurement will be lost.

[0005] The embodiments provide a measurement system and a measurement program that are also compatible with real-time processing. [Means for solving the problem]

[0006] A measurement system according to one embodiment includes a first calculation unit, an extraction unit, a second calculation unit, and a display control unit. Guidance section andThe first calculation unit calculates first information representing the position and orientation of a camera configured to measure depth information, which is the depth to each point of the measurement target, together with an image of the measurement target, based on a marker provided on the measurement target. The extraction unit extracts second three-dimensional shape information corresponding to the imaging range of the camera from first three-dimensional shape information representing the three-dimensional shape of the measurement target based on the first information. The second calculation unit compares the depth information with the second three-dimensional shape information, and calculates second information representing the position and orientation of the camera based on a comparison result between the depth information and the second three-dimensional shape information. The display control unit displays information related to the comparison result between the second three-dimensional shape information and the depth information on a display device based on the second information. The guiding unit guides a user of the camera based on the first information so that the position and attitude of the camera become suitable for acquiring depth information. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a block diagram showing a configuration of an example of a measurement system according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of the measurement system. [Diagram 3] FIG. 3 is a flowchart showing the operation of the measurement system in the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating the concept of an intersection area. [Figure 5A] FIG. 5A is a diagram illustrating an example of the display process. [Figure 5B] FIG. 5B is a diagram illustrating an example of the display process. [Figure 5C] FIG. 5C is a diagram illustrating an example of the display process. [Figure 6] FIG. 6 is a block diagram showing a configuration of an example of a measurement system according to the second embodiment. [Figure 7] FIG. 7 is a flowchart showing the operation of the measurement system in the second embodiment. [Figure 8] FIG. 8 is a flowchart showing the guidance process. [Figure 9A] FIG. 9A is a diagram showing an example of a display of a three-dimensional object. [Figure 9B]FIG. 9B is a diagram showing an example of a display of a three-dimensional object. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment will be described with reference to the drawings. [First embodiment] Fig. 1 is a block diagram showing a configuration of an example of a measurement system according to a first embodiment. The measurement system 1 shown in Fig. 1 can be used for measurement in a part assembly system. The measurement target of the measurement system 1 is, for example, a part p to be assembled into a device D. The part p to be measured is mechanically assembled into the device D by, for example, the assembly system. The configuration of the assembly system is not particularly limited. The part p may be assembled into the device D by a person, for example.

[0009] The measurement system 1 in the embodiment compares information on the three-dimensional shape of the device D measured by the camera 2 with information representing the three-dimensional shape of the device D that has been prepared in advance, and presents the comparison result to a user. The user is, for example, a worker who checks whether the assembly of the part p has been performed correctly in the device D.

[0010] As shown in FIG. 1, the measurement system 1 has a first calculation unit 11, an extraction unit 12, a shape database (DB) 13, a second calculation unit 14, and a display control unit 15. The measurement system 1 is configured to be able to communicate with a camera 2. The communication between the measurement system 1 and the camera 2 may be wireless or wired. The measurement system 1 is also configured to be able to communicate with a display device 3. The communication between the measurement system 1 and the display device 3 may be wireless or wired.

[0011] The camera 2 is a camera that is held by, for example, a user and configured to measure depth information of the measurement target together with an image of the measurement target. The depth information is information of the distance from the camera 2 to each point on the surface of the device D. Here, the measurement of the depth information by the camera 2 can be performed, for example, by projecting and receiving infrared light from two eyes. However, the measurement of the depth information is not limited to this. The depth information may be measured, for example, by a LiDAR (Light Detecting and Ranging) method. The camera 2 may be an RGB-D camera. The RGB-D camera is a camera configured to be able to measure an RGB-D image. The RGB-D image includes a depth image and a color image. The depth image is an image having the depth of each point of the measurement target as a pixel value. The color image is an image having the RGB value of each point of the measurement target as a pixel value. The camera 2 is not necessarily a color image, and may be a camera that can measure a grayscale image.

[0012] The display device 3 is a display device such as a liquid crystal display or an organic EL display. The display device 3 displays various images based on the data transferred from the measurement system 1.

[0013] The first calculation unit 11 calculates first information representing the position and attitude of the camera 2 that photographed the device D, based on a marker M that is arranged in advance on the device D. The marker M is a marker with a known size that is arranged in a predetermined position on the device D in a predetermined orientation. For example, the marker M is arranged in a predetermined position on the device D such that two mutually perpendicular sides are parallel to predetermined X-axis and Y-axis on the surface of the device D, and the normal line is parallel to predetermined Z-axis on the surface of the device D. The marker M is, for example, an AR (Augmented Reality) marker, and can be recognized from an image acquired by the camera 2. Two or more markers M may be arranged on one surface of the device D. The marker M may also be arranged on two or more surfaces of the device D.

[0014] Based on the first information, the extraction unit 12 extracts, from the known three-dimensional shape information of the measurement target stored in the shape DB 13, three-dimensional shape information corresponding to the imaging range of the depth information of the camera 2. As will be described later, the imaging range of the depth information is a quadrangular pyramid-shaped range based on the camera 2.

[0015] The shape DB 13 stores known three-dimensional shape information of the measurement target. The known three-dimensional shape information may be design drawing data by 3D CAD (Computer Aided Design) of the device D including the measurement target. The known three-dimensional shape information is not limited to design drawing data, and may be any point cloud data or data that can be converted into point cloud data. The shape DB 13 may be provided outside the measurement system 1. In this case, the extraction unit 12 of the measurement system 1 acquires information from the shape DB 13 as necessary. The known three-dimensional shape information may be input to the measurement system 1 by a user without being registered in the shape DB 13.

[0016] The second calculation unit 14 compares the depth information measured by the camera 2 with the three-dimensional shape information extracted by the extraction unit 12. Specifically, the second calculation unit 14 compares the measurement point cloud data generated from the depth information with the point cloud data constituting the three-dimensional shape information, and calculates second information that represents the position and orientation of the camera 2 with higher accuracy than the first information by matching the data of both point clouds. Matching of the point cloud data can be performed using an ICP (Iterative Closest Point) method, a CPD (Coherent Point Drift) method, or the like.

[0017] The display control unit 15 displays information related to the shape comparison result in the second calculation unit 14 on the display device 3 based on the second information. The information related to the shape comparison result is, for example, an image in which an image based on the point cloud measured by the camera 2 is superimposed with an image based on the point cloud of the measurement target stored in the shape DB 13. The display control unit 15 generates a 3D model of the measurement target by associating the point cloud obtained from the depth information measured by the camera 2 with the image measured by the camera 2 based on, for example, the highly accurate position and orientation of the camera 2. Then, the display control unit 15 displays, on the display device 3, a 3D model based on the known 3D shape information superimposed on the generated 3D model of the measurement target.

[0018] Fig. 2 is a diagram showing an example of a hardware configuration of the measurement system 1. The measurement system 1 can be various terminal devices such as a personal computer (PC) or a tablet terminal. As shown in Fig. 2, the measurement system 1 has a processor 101, a ROM 102, a RAM 103, a storage 104, an input interface 105, and a communication device 106 as hardware.

[0019] The processor 101 is a processor that controls the overall operation of the measurement system 1. The processor 101 operates as a first calculation unit 11, an extraction unit 12, a second calculation unit 14, and a display control unit 15 by executing a program stored in, for example, a storage 104. The processor 101 is, for example, a central processing unit (CPU). The processor 101 may be a micro-processing unit (MPU), a graphics processing unit (GPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like. The processor 101 may be a single CPU, or the like, or may be multiple CPUs, or the like.

[0020] The ROM (Read Only Memory) 102 is a non-volatile memory. The ROM 102 stores a startup program and the like of the measurement system 1. The RAM (Random Access Memory) 103 is a volatile memory. The RAM 103 is used as a working memory during processing in the processor 101, for example.

[0021] The storage 104 is, for example, a storage such as a hard disk drive or a solid state drive. The storage 104 stores various programs executed by the processor 101, such as a measurement program. The storage 104 may also store a shape DB 13. The shape DB 13 does not necessarily have to be stored in the storage 104.

[0022] The input interface 105 includes input devices such as a touch panel, a keyboard, a mouse, etc. When an input device of the input interface 105 is operated, a signal corresponding to the operation content is input to the processor 101. The processor 101 performs various processes in response to this signal.

[0023] The communication device 106 is a communication device that enables the measurement system 1 to communicate with external devices such as the camera 2 and the display device 3. The communication device 106 may be a communication device for wired communication or a communication device for wireless communication.

[0024] Next, the operation of the measurement system 1 in the first embodiment will be described. FIG. 3 is a flowchart showing the operation of the measurement system 1 in the first embodiment. The processing in FIG. 3 is executed by the processor 101. Here, an example will be described in which the camera 2 is an RGB-D camera, and the known three-dimensional shape information is 3D CAD data of the device D. However, as described above, the camera 2 does not have to be an RGB-D camera, and the known three-dimensional shape information does not have to be 3D CAD data of the device D.

[0025] In step S1, the processor 101 acquires, from the camera 2, an RGB-D image of the device D including the part p to be measured.

[0026] In step S2, the processor 101 detects the marker M from the color image acquired from the camera 2. The processor 101 converts the color image acquired from the camera 2 into, for example, a grayscale image, further converts the grayscale image into a black and white binary image, and detects the marker M by comparing this black and white binary image with a pre-stored pattern of the marker M. The method of detecting the marker M is not limited to this.

[0027] In step S3, the processor 101 calculates the position and orientation of the camera 2. The processor 101 calculates the position and orientation of the camera 2 from the position, size, and orientation of the marker M detected in the color image. The marker M is disposed at a predetermined position in a predetermined orientation on the device D. The position and orientation of the camera 2 with respect to the device D can be calculated from the position, size, and orientation of the marker M in the color image. For example, the distance from the camera 2 to the marker M, i.e., the position of the camera 2, can be calculated from the position and size of the marker M in the color image. Also, the inclination of the camera 2 with respect to the device D, i.e., the orientation of the camera 2, can be calculated from the inclination of each side (each axis) of the marker M in the color image.

[0028] In step S4, the processor 101 performs coordinate conversion of the 3D CAD data. Specifically, the processor 101 acquires the 3D CAD data of the device D from, for example, the storage 104. Then, the processor 101 converts the coordinate values ​​of each point in the 3D CAD data into values ​​in the coordinate system of the camera 2 based on the calculated position and orientation of the camera 2. For example, the processor 101 translates and rotates the coordinates of each point in the 3D CAD data by applying a conversion matrix calculated based on the position and orientation of the camera 2 to the coordinate values ​​of each point in the 3D CAD data.

[0029] In step S5, the processor 101 determines an intersection area between the point cloud in the 3D CAD data and the imaging range of the camera 2. FIG. 4 is a diagram showing the concept of the intersection area. When the depth direction is also considered, the imaging range of the camera 2 is expressed as a pyramidal range formed around the optical axis of the camera 2. For example, when the camera 2 is located at the position of point C in FIG. 4, the imaging range r of the camera 2 is a pyramidal range with point C as the apex and the optical axis of the camera 2 as the perpendicular line. The intersection area is an area where the pyramidal imaging range r and the point cloud constituting the 3D CAD data overlap. Here, if the position and orientation of the camera 2 are known, and the angle of view or focal length of the camera 2 at the time of shooting is known, the pyramidal imaging range r can be expressed by values ​​in the coordinate system of the camera 2. In step S5, the processor 101 determines that the range of the pyramidal imaging range r that includes the coordinate values ​​of the point cloud of the 3D CAD data is the intersection area. Here, when calculation errors of the position and orientation of the camera 2 are taken into consideration, the intersection area may further include a small margin area.

[0030] In step S6, the processor 101 extracts 3D CAD data included in the intersection area from the 3D CAD data. The camera 2 measures depth information within the imaging range. Therefore, the data of the measurement point cloud generated from the depth information is also limited to data within the imaging range of the camera 2. For this reason, it is sufficient for the 3D CAD data to be data within the imaging range of the camera 2. In the embodiment, the 3D CAD data is limited according to the imaging range of the camera 2 in order to shorten the processing time for matching the point cloud.

[0031] In step S7, the processor 101 calculates a highly accurate position and orientation of the camera 2 by matching the data of the point cloud constituting the extracted 3D CAD data with the data of the measurement point cloud generated from the depth information. The data of the measurement point cloud can be generated by aligning the depth information and the color image data using an ICP method, a CPD method, or the like, and then synthesizing them. In the embodiment, since the number of point clouds of the 3D CAD data is limited according to the imaging range, it is expected that the matching will be completed in a short time.

[0032] In step S8, the processor 101 displays a three-dimensional image of the measurement target based on the depth information measured by the camera 2 and a three-dimensional image of the measurement target based on the 3D CAD data in a superimposed manner on the display device 3. Thereafter, the processor 101 ends the processing of FIG.

[0033] 5A, 5B, and 5C are diagrams showing an example of the display process of step S8. Here, FIG. 5A shows an example of an image of the measurement target based on 3D CAD data. Also, FIG. 5B shows an example of an image of the measurement target based on depth information measured by the camera 2. Also, FIG. 5C shows an example of an image actually displayed in step S8. The image of FIG. 5A is generated, for example, by attaching a texture to 3D CAD data. Also, the image of FIG. 5B is generated, for example, by attaching a texture or color image data to the data of the measurement point cloud. The image of FIG. 5C can be generated, for example, by superimposing the image of FIG. 5A and the image of FIG. 5B and emphasizing the difference. The alignment of the image of FIG. 5A and the image of FIG. 5B can be performed based on the matching result in step S8. Also, the highlighting can be performed by various methods, such as changing the color of the difference part, adding a shade according to the difference, or displaying a frame indicating the difference part.

[0034] Fig. 5A shows that part p is bolted in the design. In contrast, as shown in Fig. 5B, in the image measured after the assembly is completed, part p is not bolted. Therefore, in the image showing the comparison result as shown in Fig. 5C, part p is displayed in color. By looking at the image in Fig. 5C, the user can recognize that the assembly of part p has not been performed correctly.

[0035] 3, depth information and a color image measured by the camera 2 may be stored in the storage 104. Such depth information and a color image may serve as evidence of a part assembly check operation.

[0036] As described above, according to the first embodiment, the point cloud in the three-dimensional shape information to be compared with the measurement point cloud generated from the depth information of the camera 2 is limited according to the imaging range of the camera 2. Since the point cloud in the range that cannot be measured by the camera 2 does not need to be used for matching, the matching processing time can be shortened by limiting the point cloud of the three-dimensional shape information in advance. Therefore, the measurement system 1 of the first embodiment can also handle real-time processing.

[0037] In addition, there may be cases where the density of the measurement point cloud measured by the camera 2 differs from the density of the point cloud of known 3D shape information. In this case, if the ranges of the two point clouds to be compared differ, matching may not be performed at an appropriate position depending on the feature amount. In the first embodiment, the point cloud to be compared is limited so that the ranges of the measurement point cloud and the point cloud to be compared are equivalent, which also leads to suppression of matching errors.

[0038] [Second embodiment] Next, a second embodiment will be described. Fig. 6 is a block diagram showing an example of a configuration of a measurement system according to the second embodiment. In Fig. 6, the same elements as those in Fig. 1 are given the same reference symbols as those in Fig. 1. The description of the same elements as those in Fig. 1 will be omitted or simplified as appropriate.

[0039] The measurement system 1 shown in Fig. 6 further includes a guidance unit 16. The guidance unit 16 receives the first information calculated by the first calculation unit 11. Then, the guidance unit 16 performs a process for guiding the user so that the position and orientation of the camera 2 become suitable for acquiring depth information. This process is, for example, a process for generating an image showing the next measurement target. The image showing the next measurement target may be, for example, a three-dimensional object simulating the measurement target.

[0040] The display control unit 15 of the second embodiment displays an image generated by the guiding unit 16 on the display device 3.

[0041] The hardware configuration of the measurement system 1 in the second embodiment may be basically the same as that in Fig. 2. In the second embodiment, the processor 101 can also operate as the guidance unit 16.

[0042] Next, the operation of the measurement system 1 in the second embodiment will be described. Fig. 7 is a flowchart showing the operation of the measurement system 1 in the second embodiment. The process in Fig. 7 is executed by the processor 101. Here, in Fig. 7, the same processes as those in Fig. 3 are given the same reference symbols as those in Fig. 3. The description of the processes given the same reference symbols as those in Fig. 3 will be omitted or simplified as appropriate.

[0043] The processing from step S1 to S4 is the same as that in FIG. 3. In step S4, after the coordinate conversion of the 3D CAD data, in step S11, the processor 101 performs a guidance processing. After the guidance processing, the processing proceeds to step S12. The guidance processing is a processing for displaying a three-dimensional object for guiding the user on the display device 3. The guidance processing will be described below. FIG. 8 is a flowchart showing the guidance processing.

[0044] In step S21, the processor 101 generates a three-dimensional object of the next measurement target for guidance. The three-dimensional object is a three-dimensional model that simulates the shape of the measurement target. For example, if the measurement target is a part p to be assembled in the device D, the three-dimensional object can be a three-dimensional model that simulates the shape of the part p. Such a three-dimensional object may be stored in advance in, for example, the storage 104. In this case, the processor 101 acquires a three-dimensional object corresponding to the next measurement target from the storage 104.

[0045] In step S22, the processor 101 superimposes the three-dimensional object of the next measurement target on the color image of the device D measured by, for example, the camera 2. The superimposition position of the three-dimensional object is the position of the next measurement target in the color image of the device D. The processing in step S3 calculates the position and orientation of the camera 2 with respect to the device D based on the marker M. From the position and orientation of the camera 2, the position of the next measurement target in the color image can be specified. Here, it is preferable that the three-dimensional object superimposed on the color image is rotated according to the orientation of the camera 2 with respect to the device D. Also, in step S22, the three-dimensional object of the next measurement target is superimposed on the color image measured by the camera 2. However, this is not limited to this. The three-dimensional object of the next measurement target may be superimposed on the depth image measured by the camera 2, or may be superimposed on the 3D CAD data stored in the storage 104. That is, the three-dimensional object may be superimposed on any image that allows the user to recognize the position and shooting direction of the next measurement target.

[0046] In step S23, the processor 101 displays the color image of the device D on which the three-dimensional object is superimposed on the display device 3. After that, the processor 101 ends the process of FIG. 8 and returns the process to FIG.

[0047] 9A and 9 are diagrams showing examples of display of a three-dimensional object. As shown in FIG. 9A and FIG. 9B, the three-dimensional object O is superimposed on the position of the part pn of the next measurement target. By looking at the images of FIG. 9A and FIG. 9B, the user can recognize where the position of the next measurement target is and from where to photograph the next measurement target. When the user looks at the image of FIG. 9A, for example, the user recognizes that the three-dimensional object O is superimposed on another part, and therefore the part pn of the next measurement target is hidden by the other part. In this case, the user may consider changing the shooting direction of the camera 2 so that an image like that of FIG. 9B is captured.

[0048] 8, the color image on which the three-dimensional object is superimposed may be stored in the storage 104. Such a color image may also serve as evidence for checking the part assembly.

[0049] Now, return to the explanation of Fig. 7. In step S12 after the guidance process, processor 101 determines whether or not the imaging range of camera 2 is appropriate. When it is determined in step S12 that the imaging range of camera 2 is appropriate, the process proceeds to step S5. When it is determined in step S12 that the imaging range of camera 2 is not appropriate, the process returns to step S1. In this case, the user changes the imaging direction of camera 2 while looking at the image displayed on display device 3, and again captures an image of the part to be measured.

[0050] The determination of step S12 will be described. Whether the imaging range of the camera 2 is appropriate is determined based on whether the imaging range is such that a sufficient point cloud for the next measurement target can be acquired. For example, in FIG. 9A, the part pn that is the next measurement target is hidden by other parts. A point cloud cannot be obtained for the part hidden by other parts. In such a case, it is determined that the imaging range is not appropriate. Therefore, for example, in step S12, it may be determined that the imaging range is appropriate when the overlapping range between the measurement target part p and the three-dimensional object O is equal to or smaller than a threshold. Also, in step S12, in addition to determining whether the overlapping range is equal to or smaller than a threshold, it may be determined that the imaging range is appropriate when the size of the measurement target part p in the color image is equal to or larger than a threshold.

[0051] After the process proceeds to step S5 in step S12, the processor 101 executes the process in the same manner as in the first embodiment. Description of the process in steps S5 to S8 will be omitted.

[0052] As described above, in the second embodiment, a process is performed to guide the user so that the position and orientation of the camera 2 are suitable for acquiring depth information, based on the position and orientation of the camera 2 with respect to the device D based on the marker M. This allows shooting to be performed in an appropriate position and orientation, and as a result, errors in matching the measurement point cloud with a point cloud in known three-dimensional shape information can be suppressed.

[0053] In the second embodiment, a three-dimensional object representing the next part to be measured is superimposed on the color image, for example, to guide the user to perform the part assembly confirmation work in a predetermined order.

[0054] [Variations] Modifications of the first and second embodiments will be described. In the first and second embodiments, the measurement system 1 is used for measurement in a part assembly system. In contrast, the measurement systems according to the first and second embodiments can be applied to any measurement system in which matching is performed between first point cloud data based on depth information measured by the camera 2 and second point cloud data that is distributed in a wider range than the first point cloud data. In this case, the processor 101 extracts point cloud data of an intersection area with the imaging range of the camera 2 from the second point cloud data.

[0055] In the first and second embodiments, the marker M is an AR marker. However, as long as the marker can calculate the position and orientation of the camera 2, it is not necessary to use an AR marker that involves image recognition. For example, other markers such as optical markers may be used as the marker M. An optical marker is a marker that is recognized by a combination of a light projecting element and a light receiving element. By arranging three or more sets of optical markers on the surface of the device D, the position and orientation of the camera 2 relative to the device D may be calculated. In addition, a two-dimensional code, a barcode, a checkerboard, etc. may also be used as the marker M.

[0056] In the first and second embodiments, the camera 2 may be configured integrally with the measurement system 1. In this case, the position and attitude of the camera 2 may be controlled by the measurement system 1.

[0057] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0058] 1 Measurement system, 2 Camera, 3 Display device, 11 First calculation unit, 12 Extraction unit, 13 Shape database (DB), 14 Second calculation unit, 15 Display control unit, 16 Guidance unit, 101 Processor, 102 ROM, 103 RAM, 104 Storage, 105 Input interface, 106 Communication device.

Claims

1. a first calculation unit that calculates first information representing a position and an orientation of a camera configured to measure depth information, which is a depth to each point of a measurement target, together with an image of the measurement target, based on a marker provided on the measurement target; an extraction unit that extracts second three-dimensional shape information corresponding to an imaging range of the camera from first three-dimensional shape information representing a three-dimensional shape of the measurement target based on the first information; a second calculation unit that compares the depth information with the second three-dimensional shape information and calculates second information that represents a position and orientation of the camera with higher accuracy than the first information based on a comparison result between the depth information and the second three-dimensional shape information; a display control unit that displays, on a display device, information related to a comparison result between the second three-dimensional shape information and the depth information based on the second information; a guidance unit that guides a user of the camera so that the position and orientation of the camera are suitable for acquiring the depth information based on the first information; A measurement system having the above configuration.

2. The measurement system according to claim 1 , wherein the guiding unit guides the user of the camera by displaying an object representing the measurement target on the display device.

3. the marker is an AR marker, The extraction unit detects the AR marker from an image of the measurement target acquired by the camera through image recognition. The measurement system according to claim 1 or 2.

4. The measurement system according to claim 3 , wherein the image of the measurement object is a color image of the measurement object.

5. Calculating first information representing a position and an orientation of a camera configured to measure depth information, which is a depth to each point of a measurement target, together with an image of the measurement target, based on a marker provided on the measurement target; extracting second three-dimensional shape information corresponding to an imaging range of the camera from first three-dimensional shape information representing a three-dimensional shape of the measurement target based on the first information; comparing the depth information with the second three-dimensional shape information, and calculating second information representing a position and orientation of the camera with higher accuracy than the first information based on a comparison result between the depth information and the second three-dimensional shape information; displaying information on a display device relating to a comparison result between the second three-dimensional shape information and the depth information based on the second information; guiding a user of the camera so that the position and orientation of the camera are suitable for acquiring the depth information based on the first information; A measurement program for causing a computer to execute the above.

Citation Information

Patent Citations

  • Device and method for measuring position and attitude, and program

    JP2011179909A

  • Point group registration device, method and program

    JP2019101987A