Shape measuring device and shape measuring method

The shape measuring device enhances three-dimensional measurement accuracy by aligning shape data through adjusted reference point positions and coordinate conversion, addressing alignment issues in multi-position data integration.

JP7553329B2Active Publication Date: 2024-09-18MITUTOYO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020187074
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-10
Publication Date
2024-09-18
Estimated Expiration
2040-11-10

AI Technical Summary

Technical Problem

Existing shape measuring devices face accuracy issues in three-dimensional measurement due to poor alignment when integrating data from multiple measurement positions, leading to defective areas where measurement cannot be performed accurately.

Method used

A shape measuring device that aligns shape data by adjusting the positions of comparison reference points based on predetermined changes, converting coordinates to minimize distance errors, and combining data only when alignment criteria are met, while considering factors like vibration and temperature.

Benefits of technology

Improves the accuracy of three-dimensional measurements by ensuring precise alignment of shape data, expanding the measurable range with high accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553329000009
    Figure 0007553329000009
  • Figure 0007553329000003
    Figure 0007553329000003
  • Figure 0007553329000016
    Figure 0007553329000016
Patent Text Reader

Abstract

To improve accuracy in three-dimensional measurement.SOLUTION: A shape measurement device comprises: a shape data generation section 301 for generating first shape data and first information which indicates positions of a plurality of comparison reference points included in a measurement object in the first shape data, and generating second shape data and second position information which indicates positions of a plurality of comparison reference points included in the measurement object in the second shape data; a reference data generation section 302 for performing positioning by converting coordinates of at least one of the first shape data and the second shape data, so as to generate reference first shape data and reference second shape data; and an output section 304 for outputting connection shape data obtained by connecting the reference first shape data and the reference second shape data.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a shape measuring device and a shape measuring method for measuring the shape of a measurement object. [Background technology]

[0002] There is known a shape measuring device that measures the shape of a measurement object by analyzing a captured image of the measurement object. In three-dimensional measurement using a shape measuring device, if the size of the measurement object is large, a missing area where three-dimensional measurement cannot be performed may occur if only a captured image from one measurement position is used. Patent Document 1 describes a method in which three-dimensional measurement is performed from multiple measurement positions and multiple three-dimensional measurement data corresponding to each of these measurement positions are integrated to narrow the missing area. [Prior art documents] [Patent documents]

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

[0004] When integrating a plurality of three-dimensional measurement data, there has been a problem in that the accuracy of the three-dimensional measurement may decrease due to poor alignment when integrating the three-dimensional measurement data.

[0005] The present invention has been made in consideration of the above points, and an object of the present invention is to provide a shape measuring instrument capable of improving the accuracy of three-dimensional measurement. [Means for solving the problem]

[0006] A shape measuring device according to a first aspect of the present invention includes a shape data creating unit that creates, based on a first captured image generated by an imaging unit capturing an image of the measurement object at a first relative position, first shape data indicating a shape of at least a part of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired, and creates, based on a second captured image generated by the imaging unit capturing an image of the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a part of which differs from the first shape data and second position information indicating coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; and a reference data creating unit that creates reference first shape data and reference second shape data by converting coordinates of at least one of the first shape data or the second shape data so that distances between positions of the plurality of comparison reference points indicated by the first position information and positions of the plurality of comparison reference points indicated by the second position information become closer; a post-change data creating unit that creates the changed first shape data by converting coordinates of the first shape data so that a distance between a position of a plurality of comparison reference points after changing a coordinate position of at least a part of the comparison reference points among the plurality of comparison reference points indicated by the first position information by a predetermined change amount and a position of the plurality of comparison reference points indicated by the second position information becomes closer, or (2) creates the changed first shape data by converting coordinates of the first shape data after changing a coordinate position of at least a part of the comparison reference points among the plurality of comparison reference points indicated by the first position information by a predetermined change amount and a distance between the position of the plurality of comparison reference points indicated by the second position information by a predetermined change amount and a position of the plurality of comparison reference points indicated by the first position information by a predetermined change amount becomes closer, or (3) creates the changed first shape data by converting coordinates of the first shape data so that a distance between a position of a plurality of comparison reference points after changing a coordinate position of at least a part of the comparison reference points among the plurality of comparison reference points indicated by the second position information by a predetermined change amount and a position of a plurality of comparison reference points after changing a coordinate position of at least a part of the comparison reference points among the plurality of comparison reference points indicated by the first position information byand an output unit that outputs combined shape data obtained by combining the reference first shape data and the reference second shape data.

[0007] The output unit may acquire a vibration amount of at least one of the shape measuring device or the object to be measured when the imaging unit captures an image, and output the combined shape data when the acquired vibration amount is below an allowable value and the changed first shape data satisfies the specified condition.

[0008] The output unit may acquire at least one of the temperature of the shape measuring device, the temperature of the object to be measured, or the temperature of the surrounding environment when the imaging unit captures an image, and output the combined shape data when the acquired temperature is below an allowable value and the changed first shape data satisfies the specified condition.

[0009] The reference data creation unit may create the reference first shape data and the reference second shape data corresponding to each of a plurality of combinations of a plurality of comparison reference points, the changed data creation unit may create a plurality of the changed first shape data corresponding to the plurality of combinations, and the output unit may output the combined shape data by combining the reference second shape data corresponding to the combination in which the difference between the reference first shape data and the changed first shape data is smallest with the reference first shape data.

[0010] The output unit may not output the combined shape data obtained by combining the reference second shape data and the reference first shape data when a difference between the reference first shape data and the changed first shape data exceeds a threshold value. The output unit may create modified first shape data by removing a portion of the reference first shape data where the difference from the changed first shape data is equal to or greater than a reference value when a difference between the reference first shape data and the changed first shape data exceeds a threshold value, and output modified combined shape data obtained by combining the modified first shape data and the reference second shape data.

[0011] The shape measuring device may further include a shape data diagnosis unit that converts coordinates of at least one of the first shape data so that a sum of distances between each of the positions of the multiple comparison reference points after the positions of all or some of the multiple comparison reference points indicated by the first position information have been changed by a first change amount and a corresponding position of the comparison reference point after the positions of all or some of the multiple comparison reference points indicated by the first position information have been changed by a second change amount different from the first change amount or the position of the comparison reference point has not been changed is minimized, and determines that the first shape data cannot be used for alignment when a difference between the first shape data after conversion and the first shape data before conversion exceeds a threshold value.

[0012] The shape measuring device may further include a shape data diagnosis unit that converts coordinates of at least one of the second shape data so that a sum of distances between each of the positions of the multiple comparison reference points after the positions of all or some of the multiple comparison reference points indicated by the second position information have been changed by a first change amount and a corresponding position of the comparison reference point after the positions of all or some of the multiple comparison reference points indicated by the second position information have been changed by a second change amount different from the first change amount or the position of the comparison reference point has not been changed is minimized, and determines that the second shape data cannot be used for alignment when a difference between the converted second shape data and the second shape data before the conversion exceeds a threshold value.

[0013] The shape measuring device may further include an extraction unit that extracts a new comparison reference point from the first captured image and the second captured image when a difference between the reference first shape data and the changed first shape data exceeds a threshold value, and a shape data diagnosis unit that determines whether a difference between the reference first shape data created by the reference data creation unit using the new comparison reference point extracted by the extraction unit and the changed first shape data created by the changed data creation unit using the new comparison reference point is equal to or less than a threshold value.

[0014] The post-change data creation unit may change the amount of change that changes the coordinate position of the comparison reference point indicated by the first position information or the second position information, and create the post-change first shape data corresponding to the changed amount of change each time the amount of change is changed, and the output unit may output the combined shape data when the multiple first shape data created by the post-change data creation unit satisfy a predetermined condition.

[0015] The post-change data creation unit creates the changed first shape data by converting coordinates of the first shape data after changing the coordinate positions so that positions of multiple comparison reference points after changing the coordinate positions of at least some of the multiple comparison reference points indicated by the first position information by a first change amount become closer to positions of multiple comparison reference points after changing the coordinate positions of at least some of the multiple comparison reference points indicated by the second position information by a second change amount, the post-change data creation unit changes the first change amount and the second change amount, and creates the changed first shape data corresponding to the changed first change amount and the second change amount each time the first change amount and the second change amount are changed, and the output unit outputs the combined shape data when the multiple changed first shape data created by the post-change data creation unit satisfy a predetermined condition.

[0016] A shape measuring device according to a second aspect of the present invention includes a shape data creating unit that creates, based on a first captured image generated by an imaging unit imaging the measurement object at a first relative position, first shape data indicating a shape of at least a part of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired, and creates, based on a second captured image generated by the imaging unit imaging the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a part of which differs from the first shape data and second position information indicating the coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; an acquisition unit that acquires information indicating positions of a plurality of reference points of the measurement object; and creates reference first shape data by converting the coordinates of the first shape data so that positions of the plurality of comparison reference points indicated by the first position information and positions of the corresponding reference reference points acquired by the acquisition unit are closer to each other, and converts the positions of the plurality of comparison reference points indicated by the second position information into reference first shape data. a reference data creation unit that creates reference second shape data by converting coordinates of the second shape data so that a distance between the position of the corresponding reference reference point acquired by the acquisition unit is reduced; a changed data creation unit that creates first changed shape data by converting coordinates of the first shape data so that a distance between a position of a plurality of comparison reference points after changing coordinate positions of at least some of the comparison reference points indicated by the first position information by a predetermined change amount and a position of the corresponding reference reference point is reduced, or creates changed first shape data by converting coordinates of the first shape data so that a distance between a position of the plurality of comparison reference points indicated by the first position information and a position of a plurality of reference reference points after changing coordinate positions of at least some of the reference reference points by a predetermined change amount is reduced; and an output unit that outputs combined shape data obtained by combining the reference first shape data and the reference second shape data when the changed first shape data satisfies a predetermined condition.

[0017] A shape measuring method according to a third aspect of the present invention includes the steps of: (1) generating, based on a first captured image generated by an imaging unit capturing an image of the measurement object at a first relative position, first shape data indicating a shape of at least a part of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired; and (2) generating, based on a second captured image generated by the imaging unit capturing an image of the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a part of which differs from the first shape data and second position information indicating coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; and (3) generating reference first shape data and reference second shape data by converting coordinates of at least one of the first shape data or the second shape data so that distances between positions of the plurality of comparison reference points indicated by the first position information and positions of the plurality of comparison reference points indicated by the second position information become closer; (2) creating the changed first shape data by converting the coordinates of the first shape data after changing the coordinate positions of at least some of the comparison reference points among the multiple comparison reference points indicated by the first position information so that a distance between the positions of the multiple comparison reference points after changing the coordinate positions of at least some of the comparison reference points among the multiple comparison reference points indicated by the first position information by a predetermined change amount and the positions of the multiple comparison reference points indicated by the second position information becomes closer; or (3) creating the changed first shape data by converting the coordinates of the first shape data so that a distance between the positions of the multiple comparison reference points after changing the coordinate positions of at least some of the comparison reference points among the multiple comparison reference points indicated by the second position information by a predetermined change amount and the positions of the multiple comparison reference points after changing the coordinate positions of at least some of the comparison reference points among the multiple comparison reference points indicated by the first position information by a predetermined change amount becomes closer;and outputting combined shape data obtained by combining the reference first shape data and the reference second shape data. Effect of the Invention

[0018] The present invention provides an effect of improving the accuracy of three-dimensional measurement. [Brief description of the drawings]

[0019] [Figure 1] FIG. 1 is a diagram for explaining an overview of a shape measuring instrument according to a first embodiment. [Diagram 2] FIG. 1 is a diagram for explaining an overview of a shape measuring instrument according to a first embodiment. [Diagram 3] FIG. 1 is a diagram for explaining an overview of a shape measuring instrument according to a first embodiment. [Figure 4] FIG. 2 is a diagram showing a configuration of a shape measuring device. [Diagram 5] 13A and 13B are diagrams illustrating examples of comparison reference points extracted by a shape data generating unit; [Figure 6] 13 is a diagram showing another example of extraction of comparison reference points by the shape data creation unit; FIG. [Figure 7] 13 is a diagram showing another example of extraction of comparison reference points by the shape data creation unit; FIG. [Figure 8] FIG. 13 is a diagram showing an example of a projected image including a marker. [Figure 9] 13 is a diagram showing a method by which a shape data diagnostic unit determines whether or not the first shape data and other shape data can be aligned. FIG. [Figure 10] FIG. 13 is a diagram showing an example of aligning three pieces of shape data. [Figure 11] 10 is a flowchart showing a processing procedure for aligning a plurality of shape data by the shape measuring device. [Figure 12] 13 is a flowchart showing a processing procedure for aligning a plurality of shape data by the shape measuring device in the modified example. [Figure 13]13 is a flowchart showing a processing procedure for aligning a plurality of shape data by the shape measuring device in the modified example. [Figure 14] FIG. 4 is a diagram showing the configuration of a shape measuring instrument according to a second embodiment. [Figure 15] FIG. 13 is a diagram showing the configuration of a shape measuring instrument according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] <First embodiment> [Overview of the shape measuring device 100] 1 to 3 are diagrams for explaining an overview of a shape measuring device 100 according to a first embodiment. Fig. 1(a) shows how a measurement object is measured by the shape measuring device 100. Fig. 1(b) shows how an image of a measurement object is captured by the shape measuring device 100. As shown in Fig. 1(a), the shape measuring device 100 includes a measuring head 10 that houses or connects a projection unit 1 and an imaging unit 2, and a control unit 3.

[0021] The projection unit 1 is a projection device having a light source such as a light emitting diode or a laser. The projection unit 1 projects a projection image including a predetermined pattern onto a measurement surface of an object to be measured. The pattern is, for example, a stripe pattern. The number of projection units 1 is not limited to one, and the shape measuring device 100 may include any number of projection units. The projection unit 1 projects a projection image including a pattern whose luminance changes depending on the position onto the object to be measured.

[0022] The imaging unit 2 has a lens 21 and an imaging element 22. The imaging unit 2 generates a captured image by capturing an image of the measurement object. When the projection unit 1 projects a projection image onto the measurement object, the imaging unit 2 generates a captured image by capturing a projected image projected onto the measurement object. The number of imaging units 2 is not limited to one, and the shape measuring device 100 may be provided with any number of imaging units.

[0023] The imaging unit 2 and the projection unit 1 are fixed to a measuring head 10. When measuring an object to be measured, the imaging unit 2 generates captured images of the object to be measured from a plurality of relative positions by moving the measuring head 10 or the object to be measured using a movable stage, a robot, or the like.

[0024] The control unit 3 is, for example, a CPU (Central Processing Unit). The control unit 3 generates a captured image by having the imaging unit 2 capture an image of the measurement object. At this time, the control unit 3 moves the measurement head 10 or the measurement object to change the relative position of the imaging unit 2 with respect to the measurement object. For example, the control unit 3 changes the relative position by moving the measurement head 10 using a robot or by moving the measurement object using a movable stage. The control unit 3 causes the imaging unit 2 to capture an image of the measurement object at these multiple relative positions.

[0025] In addition, the measurement head 10 may be provided with at least one of a plurality of imaging units 2 or a plurality of projection units 1. The control unit 3 may change the relative position of the imaging unit 2 with respect to the measurement object by switching the imaging unit 2 that generates the captured image. In the example of FIG. 1, the control unit 3 moves the projection unit 1 and the imaging unit 2 as a unit, but the present invention is not limited to this. For example, the control unit 3 may move the projection unit 1 and the imaging unit 2 independently. In addition, the measurement head 10 is not limited to one, and the measurement object may be imaged at a plurality of relative positions using the imaging units 2 attached to each of the plurality of measurement heads 10. In the plurality of measurement heads 10, the projection unit 1 and the imaging unit 2 may be arranged with a shifted positional relationship with each other.

[0026] FIG. 1(b) shows how the imaging unit 2 captures an image of the measurement object. The control unit 3 generates a first captured image by having the imaging unit 2 capture an image of the measurement surface of the measurement object at a first relative position. In FIG. 1(b), the imaging range of the imaging unit 2 is indicated by a dashed line. In the example of FIG. 1(b), the size of the measurement surface of the measurement object is larger than the imaging range of the imaging unit 2, so that a part of the measurement surface is outside the imaging range of the imaging unit 2. The control unit 3 captures an image of the measurement object at a second relative position to generate a second captured image. In the example of FIG. 2, the control unit 3 translates the imaging unit 2, but the control unit 3 may also rotate the imaging unit 2.

[0027] The control unit 3 creates first shape data indicating at least a part of the shape of the measurement object by analyzing the first captured image generated by the imaging unit 2. The control unit 3 creates second shape data at least partially different from the first shape data by analyzing the second captured image generated by the imaging unit 2. The first shape data and the second shape data include, for example, coordinate data indicating the contour line or feature points such as multiple vertices of the measurement object, and the positions of markers, etc.

[0028] Figures 2(a) and 2(b) are diagrams showing an example of alignment between the first shape data and the second shape data. Figure 2(a) shows an example of the first shape data and the second shape data created by the control unit 3. Figure 2(b) shows a state in which the control unit 3 has aligned the first shape data and the second shape data.

[0029] The control unit 3 executes various processes for aligning the first shape data and the second shape data. The control unit 3 extracts, from the first captured image and the second captured image, a plurality of feature points such as an edge or undulation of the measurement object, a texture specific to the measurement object, or a marker attached to the measurement object or the jig, as a comparison reference point. For example, when the marker attached to the measurement object or the jig is a circle, the control unit 3 extracts the center position of the circle as the comparison reference point. In addition to information indicating the coordinates of the comparison reference point, the control unit 3 may extract information indicating a normal vector passing through the comparison reference point on the surface of the measurement object from the first captured image and the second captured image.

[0030] The control unit 3 creates first position information indicating the position of the comparison reference point in the first shape data by specifying the position on the measurement object of the comparison reference point extracted from the first captured image. The control unit 3 creates second position information indicating the position of the comparison reference point in the second shape data by specifying the position on the measurement object of the comparison reference point extracted from the second captured image. In FIG. 2, the comparison reference points extracted from the first captured image and the second captured image are indicated by circles on the first shape data and the second shape data, respectively.

[0031] The control unit 3 aligns the first shape data and the second shape data using the first position information and the second position information. More specifically, the control unit 3 converts the coordinates of the second shape data so that the distance between the positions of the multiple comparison reference points indicated by the first position information and the positions of the multiple comparison reference points indicated by the second position information becomes closer. The coordinates of the second shape data are the coordinates of multiple pixels included in the second shape data. Hereinafter, the first shape data after the alignment is also called reference first shape data, and the second shape data after the alignment is also called reference second shape data. FIG. 2(b) shows the reference first shape data and the reference second shape data after the alignment by the control unit 3. In the example of FIG. 2(b), the control unit 3 creates the reference first shape data without converting the coordinates of the first shape data. Instead, the control unit 3 may convert the coordinates of the first shape data, or convert the coordinates of both the first shape data and the second shape data to perform the alignment.

[0032] When the control unit 3 extracts a sufficient number of comparison reference points with a certain spread, the first shape data and the second shape data are aligned with relatively high accuracy. On the other hand, when the control unit 3 extracts a small number of comparison reference points or the distribution of the comparison reference points is uneven, the accuracy of the alignment between the first shape data and the second shape data may decrease.

[0033] Therefore, the control unit 3 judges whether the alignment between the first shape data and the second shape data is good or bad. Figures 3(a) and 3(b) are diagrams showing a method for judging whether the alignment between the first shape data and the second shape data is good or bad by the control unit 3.

[0034] As shown in FIG. 3(a), the control unit 3 changes the positions of some or all of the comparison reference points indicated by the first position information by a predetermined change amount. The predetermined change amount is a magnitude determined based on, for example, the measurement performance (for example, the maximum value or standard deviation value of the measurement error) of the shape measuring device 100. The amount or direction of the change may be random for each comparison reference point, or may correspond to a known error distribution obtained in advance. The comparison reference points before the positions are changed by the control unit 3 are indicated by dashed circles, and the comparison reference points after the positions are changed by the control unit 3 are indicated by solid circles. As shown in FIG. 3(a) and FIG. 3(b), after changing the positions of some or all of the comparison reference points indicated by the first position information, the control unit 3 converts the coordinates of the second shape data so that the distance between the positions of the multiple comparison reference points indicated by the first position information and the positions of the multiple comparison reference points indicated by the second position information becomes closer. The control unit 3 may change the positions of one or both of the multiple comparison reference points indicated by the first position information and the multiple comparison reference points indicated by the second position information.

[0035] By changing the positions of some or all of the comparison reference points indicated by the first position information, the coordinates of the second shape data after alignment (hereinafter also referred to as changed second shape data) change. The reference second shape data in the case where the first shape data and the second shape data are aligned before changing the positions of the comparison reference points is shown by the dashed line in Fig. 3(b), and the second shape data in the case where the first shape data and the second shape data are aligned after changing the positions of the comparison reference points (hereinafter also referred to as changed second shape data) is shown by the solid line in Fig. 3(b).

[0036] The control unit 3 identifies the difference between the reference second shape data and the changed second shape data. The control unit 3 determines that the alignment between the reference first shape data and the reference second shape data is good, provided that the difference between the reference second shape data and the changed second shape data is equal to or less than a threshold value. At this time, the control unit 3 creates combined shape data by combining the reference first shape data and the reference second shape data. The control unit 3 outputs the created combined shape data. In this way, the control unit 3 determines whether the alignment between the reference first shape data and the reference second shape data is good or bad, and therefore it is possible to suppress a decrease in measurement accuracy of the shape of the measurement object caused by poor alignment between the reference first shape data and the reference second shape data.

[0037] When changing the positions of the plurality of comparison reference points, the control unit 3 may change the amount of change applied to each comparison reference point and perform alignment each time. The control unit 3 may perform judgment based on a threshold value using as an index a statistical quantity such as the maximum value or standard deviation value of the plurality of alignment errors that occur at this time.

[0038] [Configuration of shape measurement device] 4 is a diagram showing the configuration of the shape measuring device 100. The shape measuring device 100 measures the three-dimensional shape of a measurement target object using one or more shape measurement methods. In the example of this specification, the shape measurement method is a light pattern projection method, but a light section method, a stereo method, a light wave interference method, etc. may also be applied. The shape measurement method may be a non-contact type or a contact type.

[0039] The shape measuring device 100 includes an imaging unit 2, a control unit 3, a display unit 4, and a storage unit 5. The control unit 3 includes a shape data creation unit 301, a reference data creation unit 302, a post-change data creation unit 303, an output unit 304, and a shape data diagnosis unit 305.

[0040] The display unit 4 displays data such as characters, images, or shapes generated by the control unit 3. For example, the display unit 4 displays the measurement results of the shape of the object to be measured. The storage unit 5 includes storage media such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a hard disk. The storage unit 5 stores programs executed by the control unit 3. The control unit 3 executes the programs stored in the storage unit 5 to function as a shape data creation unit 301, a reference data creation unit 302, a post-change data creation unit 303, an output unit 304, and a shape data diagnosis unit 305.

[0041] The shape data creation unit 301 measures the shape of the measurement object. The shape data creation unit 301 generates a first captured image by having the imaging unit 2 capture the measurement surface of the measurement object at the first relative position. The shape data creation unit 301 generates a second captured image by having the imaging unit 2 capture the measurement surface of the measurement object at the second relative position. The second relative position is a position different from the first relative position. The first relative position is, for example, a position where the imaging unit 2 first captures an image, and the second relative position is a position where the imaging unit 2 captures an image second or later, but the present invention is not limited to this, and the numbering method of the first relative position and the second relative position may be arbitrary. For example, the second relative position may be a position where the imaging unit 2 first captures an image, and the first relative position may be a position where the imaging unit 2 captures an image second or later.

[0042] The shape data creation unit 301 may capture an image of the measurement object at the second relative position in a different orientation from the first relative position. In the example of this specification, the shape data creation unit 301 projects a projection image onto the measurement object by the projection unit 1, and generates a first captured image and a second captured image of the measurement object in a state in which the projection image is projected. At this time, the shape data creation unit 301 may generate a plurality of images by capturing images with different projected images or capturing images in a non-projected state.

[0043] The shape data creation unit 301 creates first shape data indicating at least a part of the shape of the measurement object based on the generated first captured image. More specifically, the shape data creation unit 301 measures the shape of the measurement object by analyzing distortions of a projected image projected onto the measurement object in the first captured image. The shape data creation unit 301 creates the first shape data based on this measurement result. Similarly, the shape data creation unit 301 creates second shape data of the measurement object that is at least partially different from the first shape data based on the generated second captured image.

[0044] The shape data creation unit 301 extracts, from the first captured image and the second captured image, a plurality of feature points such as edges or undulations of the measurement object, textures specific to the measurement object, or feature points such as markers attached to the measurement object or jig, as comparison reference points. The shape data creation unit 301 creates first position information indicating the positions of the plurality of comparison reference points in the first shape data by specifying the positions on the measurement object or jig of the plurality of comparison reference points extracted from the first captured image. Similarly, the shape data creation unit 301 creates second position information indicating the plurality of comparison reference points in the second shape data by specifying the positions on the measurement object or jig of the plurality of comparison reference points extracted from the second captured image.

[0045] It is desirable for the shape data creation unit 301 to extract a sufficient number of comparison reference points that are distributed over a range of a predetermined size or more. FIG. 5(a) and FIG. 5(b) are diagrams showing examples of comparison reference points extracted by the shape data creation unit 301. FIG. 5(a) shows an example in which the number and spread of the comparison reference points extracted by the shape data creation unit 301 are good, and FIG. 5(b) shows an example in which the number and spread of the comparison reference points extracted by the shape data creation unit 301 are not good. FIG. 5(a) shows the first shape data and the second shape data created by the shape data creation unit 301. The circles in FIG. 5(a) indicate the comparison reference points. The double arrows indicate that the comparison reference points indicated by the first position information and the comparison reference points indicated by the second position information correspond to common feature points on the measurement object. The comparison reference points shown in FIG. 5(a) are more numerous and distributed over a wider range than the comparison reference points shown in FIG. 5(b).

[0046] Shape data creation unit 301 creates the created first shape data and first position information indicating the coordinates of multiple comparison reference points obtained when the first shape data is acquired. Shape data creation unit 301 outputs the created first shape data and first position information to reference data creation unit 302 and changed data creation unit 303. Shape data creation unit 301 creates the created second shape data and second position information indicating the coordinates of multiple comparison reference points obtained when the second shape data is acquired. Shape data creation unit 301 outputs the created second shape data and second position information to reference data creation unit 302 and changed data creation unit 303.

[0047] Moreover, the shape data creation unit 301 is not limited to the example of creating shape data based on the first captured image or the second captured image, and may acquire the first shape data, the second shape data, the first position information, and the second position information prestored in the storage unit 5 from the storage unit 5. The first shape data and the first position information, and the second shape data and the second position information may be acquired by different shape measuring devices, respectively. In this way, for example, a part that cannot be measured by a certain shape measuring device can be measured by using another shape measuring device, so that the measurement target can be measured over a wider range. For example, in a shape measuring device using a light pattern projection method, a part that cannot be measured due to the influence of a shadow or the like can be measured by using another shape measuring device, and the results can be integrated.

[0048] [Extraction of comparison reference points using projected images] The shape data creation unit 301 may project a projection image including a marker onto the measurement object, and extract the position of the marker projected onto the measurement object from the captured image as a comparison reference point. For example, the shape data creation unit 301 projects the projection image including the marker using a sub-projection unit provided separately from the projection unit 1 in the measurement head 10. The shape data creation unit 301 may also project this projection image using the projection unit 1 in the measurement head 10.

[0049] 6 and 7 are diagrams showing another example of extraction of a comparison reference point by the shape data creation unit 301. FIG. 6 is a diagram showing a state in which the shape data creation unit 301 projects a marker onto the measurement object by the sub-projection unit 61. FIG. 7 is a diagram showing an example of a projection image including a marker projected onto the measurement object. The shape data creation unit 301 projects a projection image that can be used as a marker from the sub-projection unit onto the measurement object while fixing the relative position of the sub-projection unit 61 with respect to the measurement object. At this time, the shape data creation unit 301 may extract the position of the marker projected onto the measurement object from the first captured image and the second captured image as a comparison reference point.

[0050] Furthermore, when a plurality of image capturing units 2 are provided in the measurement head 10, the shape data creation unit 301 may project a projection image including a marker from the projection unit 1 in the measurement head 10. The shape data creation unit 301 generates a first captured image of the measurement object in a state where the projection image is projected by the first image capturing unit, and generates a second captured image of the measurement object in the same state by the second image capturing unit. The shape data creation unit 301 may extract the position of the marker projected on the measurement object from the first captured image and the second captured image as a comparison reference point. Furthermore, when a plurality of measurement heads are used, a sub-projection unit prepared separately from the measurement head or a projection unit in the measurement head may be used to project a projection image including a marker, and similar processing may be performed.

[0051] A plurality of markers projected on the measurement object are indicated by circles in FIG. 7. The projection images used as markers may have any luminance distribution and any number of images in both cases where the projection images projected by the projection unit 1 included in the measurement head 10 are used and where the projection images projected by the sub-projection unit 61 are used. The shape data creation unit 301 can adjust the number or distribution of comparison reference points by extracting the markers projected on the measurement object as comparison reference points from the first captured image and the second captured image. The shape data creation unit 301 may also use a combination of comparison reference points extracted from feature points such as the edge of the measurement object and comparison reference points corresponding to the positions of the markers projected on the measurement object.

[0052] 8(a) and 8(b) are diagrams showing examples of a projected image including a marker. The shape data creation unit 301 can extract, as a comparison reference point, the center position of the black pattern shown in Fig. 8(a) or a position specified by the shading of the stripe pattern shown in Fig. 8(b).

[0053] [Align shape data using comparison reference points] The reference data creation unit 302 aligns the first shape data and the second shape data to create reference first shape data and reference second shape data indicating the positions of the comparison reference points after the alignment. For example, the reference data creation unit 302 creates the reference first shape data and reference second shape data by converting the coordinates of at least one of the first shape data or the second shape data so that the distances between the positions of the multiple comparison reference points indicated by the first position information and the positions of the multiple comparison reference points indicated by the second position information become closer.

[0054] The alignment error e between the first shape data and the second shape data is expressed by the following formula (1).

number

[0055] In the example of this specification, the reference data creation unit 302 does not convert the coordinates of the first shape data when aligning the first shape data with the second shape data, but the reference data creation unit 302 may minimize the error e by converting the coordinates of both the first shape data and the second shape data. The reference data creation unit 302 may minimize the error e by converting only the coordinates of the first shape data when aligning the first shape data with the second shape data. The reference data creation unit 302 outputs the created first reference shape data and second reference shape data to the output unit 304.

[0056] [Adding changes to the comparison reference point] The post-change data creation unit 303 changes the positions of at least some or all of the multiple comparison reference points indicated by the second position information by a predetermined change amount. The predetermined change amount is determined, for example, according to the measurement accuracy of the shape measuring device 100. As an example, the post-change data creation unit 303 may change at least one of the orientations or magnitudes of the individual positions of the multiple comparison reference points so as to have a specific distribution or a random distribution. The predetermined change amount may specify a maximum value or a standard deviation value of at least one of the orientations or magnitudes for changing the individual positions of the multiple comparison reference points.

[0057] The post-change data creation unit 303 changes the positions of at least some of the multiple comparison reference points indicated by the second position information by a predetermined change amount, and then converts the coordinates of the first shape data so that the distances between the positions of the multiple comparison reference points and the positions of the multiple comparison reference points indicated by the first position information become closer to each other, thereby generating the changed first shape data. More specifically, the post-change data creation unit 303 converts the coordinates of the comparison reference points indicated by the second position information in the above-mentioned formula (1) into a i The coordinates of the comparison reference point indicated by the first position information are b i Then, the plurality of comparison reference points b indicated by the first position information are set so that the error e shown in the formula (1) is minimized. i The reference data creation unit 302 aligns the coordinates of the multiple comparison reference points b i The coordinates of the first shape data corresponding to the coordinates of the reference point bi The post-change data creation unit 303 outputs to the output unit 304 the changed first shape data, which is the first shape data after the conversion.

[0058] Moreover, the post-change data creation unit 303 may change the coordinate positions of at least some or all of the multiple comparison reference points indicated by the first position information by a predetermined change amount, instead of the comparison reference points indicated by the second position information. Similar to the case where the positions of the multiple comparison reference points indicated by the second position information are changed, the post-change data creation unit 303 may change the positions of at least some of the multiple comparison reference points indicated by the first position information by a predetermined change amount, and then convert the coordinates of the first shape data after changing the coordinate positions so that the distances between the positions of the multiple comparison reference points and the positions of the multiple comparison reference points indicated by the second position information become closer to each other, to obtain the changed first shape data.

[0059] In addition, the post-change data creation unit 303 may change both the comparison reference point indicated by the first position information and the comparison reference point indicated by the second position information. The post-change data creation unit 303 changes the coordinate positions of at least some of the comparison reference points among the plurality of comparison reference points indicated by the first position information by a predetermined first change amount. The post-change data creation unit 303 changes the coordinate positions of at least some of the comparison reference points among the plurality of comparison reference points indicated by the second position information by a predetermined second change amount. After changing the positions of the comparison reference points indicated by the first position information and the second position information, the post-change data creation unit 303 may create the changed first shape data by converting the coordinates of the first shape data so that the distance between the positions of the plurality of comparison reference points corresponding to the first position information after the coordinate positions have been changed and the positions of the plurality of comparison reference points corresponding to the second position information after the coordinate positions have been changed becomes closer.

[0060] [Judgment of alignment quality] The output unit 304 determines whether the changed first shape data created by the changed data creation unit 303 satisfies a predetermined condition. The output unit 304 specifies the difference between the reference first shape data created by the reference data creation unit 302 and the changed first shape data created by the changed data creation unit 303. For example, the output unit 304 specifies the amount of deviation of corresponding coordinates in the two shape data as the difference between the two shape data. The output unit 304 determines whether the difference between the two shape data is equal to or less than a threshold as the predetermined condition. The threshold is determined according to, for example, the measurement accuracy required for the shape measuring device 100. In addition, when determining the difference between the shape data, the output unit 304 may calculate the amount of deviation between the second shape data and the reference first shape data and the amount of deviation between the second shape data and the changed first shape data, and use the difference between the two as an index.

[0061] When the changed first shape data created by the post-change data creating unit 303 satisfies a predetermined condition, the output unit 304 creates combined shape data by combining the reference first shape data and the reference second shape data created by the reference data creating unit 302. In the example of this specification, the output unit 304 determines that the alignment between the first shape data and the second shape data is good and creates combined shape data when the changed first shape data satisfies a predetermined condition that the difference between the reference first shape data and the changed first shape data is equal to or less than a threshold value. The output unit 304 outputs the created combined shape data. For example, the output unit 304 outputs the created combined shape data to the display unit 4. In this way, the output unit 304 can avoid using shape data that results in poor alignment, thereby obtaining highly accurate results.

[0062] When the difference between the reference first shape data and the changed first shape data exceeds a threshold, the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. At this time, the output unit 304 creates modified first shape data by removing a portion of the reference first shape data where the difference between the reference first shape data and the changed first shape data is equal to or greater than a reference value. For example, the output unit 304 creates modified first shape data by removing a portion where the deviation amount of the corresponding coordinates in the two shape data is equal to or greater than a threshold. The threshold is determined, for example, according to the measurement accuracy required for the shape measuring device 100. The output unit 304 creates modified combined shape data by combining the reference second shape data created by the reference data creating unit 302 and the created modified first shape data.

[0063] The output unit 304 outputs the created modified bond shape data to the display unit 4. The output unit 304 may output the modified bond shape data to an external device via a communication interface. The output unit 304 creates the modified bond shape data by using a portion where the difference between the reference first shape data and the changed first shape data is relatively small, thereby improving the accuracy of the created shape data. When the difference between the reference first shape data and the changed first shape data exceeds a threshold value, the output unit 304 does not need to output the bond shape data and the modified bond data.

[0064] Furthermore, the output unit 304 may output, together with the created combined shape data, numerical information indicating the difference between the reference first shape data and the changed first shape data, or a color map indicating the difference between the reference first shape data and the changed first shape data, to the display unit 4. In this case, the output unit 304 may not need to determine whether the difference between the reference first shape data and the changed first shape data is equal to or smaller than a threshold value. In this way, the output unit 304 may enable the user to determine whether the alignment between the first shape data and the second shape data is good or bad.

[0065] In addition, the output unit 304 is not limited to an example in which the difference between the reference first shape data and the changed first shape data is equal to or less than a threshold value, and determines that the changed first shape data satisfies the predetermined condition. For example, the output unit 304 may compare the reference first shape data with the changed second shape data. The output unit 304 may specify a deviation amount of the coordinates corresponding to the reference second shape data in the changed first shape data, and determine that the changed first shape data satisfies the predetermined condition when the specified deviation amount is equal to or less than a threshold value. The threshold value is determined according to, for example, the measurement accuracy required for the shape measuring device 100. At this time, the output unit 304 may create combined shape data by combining the reference first shape data and the reference second shape data when the specified deviation amount is equal to or less than a threshold value.

[0066] [Registration using a single shape data] Before aligning the first shape data with the second shape data, the shape data diagnosis unit 305 judges whether the first shape data can be aligned with other shape data. At that time, the shape data diagnosis unit 305 may notify the user of the judgment result in advance. Fig. 9(a) and Fig. 9(b) are diagrams showing a method by which the shape data diagnosis unit 305 judges whether the first shape data can be aligned with other shape data. Fig. 9(a) shows two pieces of first shape data before alignment. Fig. 9(b) shows the state of alignment after changing the comparison reference point.

[0067] The shape data diagnostic unit 305 copies the first shape data and changes the positions of all or some of the multiple comparison reference points indicated by one of the first position information by a first change amount. For example, the shape data diagnostic unit 305 changes the positions of the comparison reference points by the first change amount in the same manner as in the example of FIG. 3(a). At this time, the shape data diagnostic unit 305 may randomly give different change amounts to each comparison reference point. In addition, for the other first shape data, the shape data diagnostic unit 305 may similarly change the positions of all or some of the multiple comparison reference points indicated by the first position information by a second change amount, or may not change the positions of the comparison reference points. The second change amount corresponds to a change different from the first change amount. The shape data diagnostic unit 305 may determine the first change amount and the second change amount to be given based on the measurement accuracy of the shape measuring device 100, etc.

[0068] The shape data diagnosis unit 305 converts the coordinates of the comparison reference point indicated by at least one of the first position information so that the sum of the distances between each of the positions of the multiple comparison reference points including the comparison reference point changed by the first change amount and the positions of the corresponding comparison reference points including the comparison reference point changed by the second change amount or not changed is minimized. For example, the shape data diagnosis unit 305 converts the coordinates of the ith comparison reference point including the comparison reference point changed by the first change amount into a i The coordinates of the corresponding comparison reference points including the comparison reference point changed by the second change amount are denoted by b i Then, the coordinates b of multiple comparison reference points are set so that the error e is minimized. i At this time, the shape data diagnosis unit 305 aligns the coordinates b i The coordinates of the first shape data corresponding to the comparison reference point of the comparison reference point b i In the example of FIG. 9B, the shape data diagnosis unit 305 converts the coordinates a i The coordinates of the first shape data corresponding to the comparison reference point are not converted.

[0069] In this example, two pieces of first shape data are used, but the shape data diagnosis unit 305 may prepare more pieces of first shape data and try similar alignment multiple times by giving different position change amounts to the coordinates of the comparison reference points for each piece of shape data. In this way, the shape data diagnosis unit 305 can take into account various changes as the amount of position change, and therefore can make a more reliable judgment.

[0070] In Figure 9(b), the first shape data corresponding to multiple comparison reference points including a comparison reference point changed by the shape data diagnosis unit 305 by a first change amount is shown by a dashed line, and the first shape data corresponding to multiple comparison reference points including a comparison reference point changed by the shape data diagnosis unit 305 by a second change amount is shown by a solid line.

[0071] When the difference between the converted first shape data and the same first shape data before conversion exceeds a threshold, the shape data diagnosis unit 305 determines that the first shape data cannot be used for alignment with other shape data. The difference between the two first shape data is, for example, the amount of deviation between corresponding coordinates in the two first shape data. For example, the shape data diagnosis unit 305 displays a message on the display unit 4 indicating that the first shape data cannot be used for alignment with other shape data. The threshold is determined, for example, according to the accuracy required for measuring the shape by the shape measuring device 100.

[0072] On the other hand, when the difference between the first shape data after conversion and the same first shape data before conversion is equal to or less than the threshold value, the shape data diagnosis unit 305 does not notify that the first shape data cannot be used for alignment. In the same manner, the shape data diagnosis unit 305 performs diagnosis on each of the acquired shape data. By aligning different shape data using the plurality of shape data selected in this manner, it is possible to improve the accuracy and efficiency of alignment. In addition, the shape data diagnosis unit 305 may determine whether the second shape data can be aligned with other shape data in the same manner as in the case of determining whether the first shape data can be aligned with other shape data.

[0073] [Modification for determining whether alignment is good or bad depending on vibration amount or temperature] The output unit 304 acquires the vibration amount of at least one of the shape measuring device 100 or the measurement object when the imaging unit 2 captures an image. For example, the output unit 304 measures the vibration amount of the measurement head 10 by a three-axis acceleration sensor (not shown) attached to the measurement head 10 and acquires the measurement result. The vibration amount is, for example, a value indicating the magnitude of vibration of the imaging unit 2 or the measurement object when the imaging unit 2 captures an image of the measurement object. The output unit 304 acquires at least one of the temperature of the shape measuring device 100, the temperature of the measurement object, or the temperature of the surrounding environment when the imaging unit 2 captures an image. For example, the output unit 304 acquires the temperature measurement result from a temperature sensor (not shown) that measures the temperature of the measurement head 10 of the shape measuring device 100.

[0074] The output unit 304 judges whether the acquired vibration amount is equal to or less than a tolerance. The tolerance of the vibration amount is determined, for example, according to the accuracy required in measuring the measurement object. When the vibration amount is equal to or less than the tolerance and the changed first shape data created by the changed data creating unit 303 satisfies the above-mentioned predetermined condition, the output unit 304 may output combined shape data obtained by combining the reference first shape data and the reference second shape data.

[0075] The output unit 304 may also determine whether the acquired temperature is equal to or lower than an allowable value. The allowable value of the temperature is determined, for example, according to the accuracy required in measuring the object to be measured. When the acquired temperature is equal to or lower than the allowable value and the changed first shape data created by the changed data creating unit 303 satisfies the above-mentioned predetermined condition, the output unit 304 may output combined shape data obtained by combining the reference first shape data and the reference second shape data. In this way, the output unit 304 determines whether the alignment of the shape data is good or bad by using an index different from the comparison reference point in combination, and therefore the accuracy of the determination can be further improved.

[0076] [Aligning three or more shape data] The reference data creation unit 302 may align three or more pieces of shape data. FIG. 10 is a diagram showing an example of aligning three pieces of shape data A to C. Shape data A is indicated by a thick solid line. Shape data B is indicated by a dashed line. Shape data C is indicated by a thin solid line. In the example of FIG. 10, the reference data creation unit 302 aligns the three or more pieces of shape data A to C one by one in sequence. Furthermore, the reference data creation unit 302 may align the pieces of shape data while changing the order of alignment so as to become more appropriate. The reference data creation unit 302 may align multiple pieces of shape data simultaneously.

[0077] 10, it is assumed that the reference data creation unit 302 has aligned the shape data A and the shape data B. At this time, it is assumed that the output unit 304 has determined that the alignment between the shape data A and the shape data B is poor.

[0078] At this time, reference data creation unit 302 attempts to align shape data A with shape data C, or align shape data B with shape data C. For example, reference data creation unit 302 aligns shape data B with shape data C, as shown in Fig. 10. In this case, output unit 304 determines that the alignment between shape data B and shape data C is good, and creates combined shape data B+C by combining shape data B and shape data C.

[0079] Next, the reference data creation unit 302 aligns the shape data A with the combined shape data B+C. At this time, the output unit 304 determines that the alignment between the shape data A and the combined shape data B+C is good, and creates combined shape data A+B+C by combining the shape data A with the combined shape data B+C. The number of comparison reference points of the combined shape data B+C increases by combining, which allows for good alignment with the shape data A. In this way, the reference data creation unit 302 can improve the accuracy of alignment of multiple shape data by appropriately selecting the order of alignment, and can efficiently use the shape data without discarding it.

[0080] [Modification of transforming coordinates of first shape data in position matching] The post-change data creation unit 303 may convert the coordinates of the second shape data instead of converting the coordinates of the first shape data to create the changed first shape data in the alignment using the comparison reference points. The post-change data creation unit 303 changes the coordinate positions of at least some or all of the comparison reference points indicated by the first position information by a predetermined change amount. In the same manner as in the case of converting the coordinates of the first shape data, the post-change data creation unit 303 converts the coordinates of the second shape data so that the distance between the positions of the comparison reference points after the coordinate positions of the comparison reference points indicated by the first position information are changed and the positions of the comparison reference points indicated by the second position information becomes closer. Hereinafter, the second shape data after the coordinate conversion is also referred to as changed second shape data.

[0081] At this time, the post-change data creation unit 303 may change the coordinate positions of at least some or all of the multiple comparison reference points indicated by the second position information by a predetermined change amount, instead of the comparison reference points indicated by the first position information. After changing the positions of at least some of the multiple comparison reference points indicated by the second position information by a predetermined change amount, the post-change data creation unit 303 may convert the coordinates of the second shape data after changing the coordinate positions so that the distances between the positions of the multiple comparison reference points and the positions of the multiple comparison reference points indicated by the first position information become closer to each other, to obtain the changed second shape data.

[0082] The output unit 304 determines whether the changed second shape data created by the changed data creation unit 303 satisfies a predetermined condition. When the changed second shape data created by the changed data creation unit 303 satisfies a predetermined condition, the output unit 304 determines that the alignment between the first shape data and the second shape data is good. For example, when the difference between the reference second shape data and the changed second shape data is equal to or less than a threshold, the output unit 304 determines that the alignment between the first shape data and the second shape data is good. At this time, the output unit 304 outputs combined shape data obtained by combining the reference first shape data and the reference second shape data.

[0083] On the other hand, when the changed second shape data created by the changed data creating unit 303 does not satisfy the predetermined condition, the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. For example, when the difference between the reference second shape data and the changed second shape data exceeds a threshold, the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. In this case, the output unit 304 creates corrected second shape data by removing a portion of the reference second shape data where the difference from the changed second shape data is equal to or greater than a reference value. The output unit 304 creates corrected combined shape data by combining the reference first shape data created by the reference data creating unit 302 and the created corrected second shape data. The output unit 304 outputs the created corrected combined shape data to the display unit 4.

[0084] [Processing procedure for alignment with multiple shape data] 11 is a flowchart showing a processing procedure for aligning a plurality of shape data by the shape measuring device 100. This processing procedure starts, for example, when an operation receiving unit (not shown) of the control unit 3 receives a user's operation instructing measurement of the shape of a measurement object. First, the shape data creation unit 301 generates first shape data and second shape data based on a first captured image and a second captured image generated by causing the imaging unit 2 to capture an image of the measurement object at a first relative position and a second relative position (S101).

[0085] The reference data creating unit 302 creates reference first shape data and reference second shape data by converting the coordinates of the second shape data so that the distance between the positions of the multiple comparison reference points indicated by the first position information and the positions of the multiple comparison reference points indicated by the second position information becomes closer (S102). The changed data creating unit 303 changes the positions of some or all of the multiple comparison reference points indicated by the first position information by a predetermined change amount. Note that, instead of changing the positions of the multiple comparison reference points indicated by the first position information, the changed data creating unit 303 may change the positions of some or all of the multiple comparison reference points indicated by the second position information by a predetermined change amount, or may change both the comparison reference points indicated by the first position information and the comparison reference points indicated by the second position information.

[0086] After changing the positions of the comparison reference points, the post-change data creation unit 303 creates changed first shape data by converting the coordinates of the first shape data so that the distance between the positions of these multiple comparison reference points and the positions of the multiple comparison reference points indicated by the second position information becomes closer (S103).

[0087] The output unit 304 identifies the difference between the reference first shape data created by the reference data creation unit 302 and the changed first shape data created by the changed data creation unit 303. The output unit 304 judges whether the difference between the reference first shape data and the changed first shape data is equal to or less than a threshold value (S104). When the difference between the reference first shape data and the changed first shape data is equal to or less than a threshold value (YES in S104), the output unit 304 outputs combined shape data obtained by combining the reference first shape data and the reference second shape data created by the reference data creation unit 302 to the display unit 4 (S105). The operation acceptance unit judges whether or not an operation instructing the user to end the measurement of the measurement object has been accepted (S106). When the operation acceptance unit judges that an operation instructing the user to end the measurement of the measurement object has been accepted (YES in S106), the operation acceptance unit ends the process.

[0088] When the difference between the reference first shape data and the changed first shape data exceeds a threshold value in the judgment of S104 (NO in S104), the output unit 304 creates modified first shape data by removing the portion of the reference first shape data where the difference from the changed first shape data is equal to or greater than the reference value. At this time, the output unit 304 does not create modified first shape data when the positional deviation amount is large in all portions. The output unit 304 creates modified combined shape data by combining the reference second shape data created by the reference data creation unit 302 and the created modified first shape data. The output unit 304 outputs the created modified combined shape data to the display unit 4 (S107) and proceeds to the judgment of S106. When the operation acceptance unit judges that the user's operation to instruct the end of the measurement of the measurement object has not been accepted in the judgment of S106 (NO in S106), the operation returns to the processing of S101.

[0089] Furthermore, when the difference between the reference first shape data and the changed first shape data exceeds the threshold value in the determination in S104 (NO in S104), the output unit 304 may omit the process of S107 and proceed to the process of S106. After the changed data creation unit 303 creates the changed first shape data in S103, the output unit 304 may omit the determination in S104 and proceed to the process of S107.

[0090] [Modification for changing the amount of change for changing the comparison reference point indicated by the first position information] The post-change data creating unit 303 may change the amount of change that changes the coordinate position of the comparison reference point indicated by the first position information or the second position information. Every time the post-change data creating unit 303 changes the amount of change, it creates changed first shape data that corresponds to the changed amount of change. The output unit 304 may output the combined shape data when the multiple changed first shape data created by the post-change data creating unit 303 satisfy a predetermined condition.

[0091] Fig. 12 is a flowchart showing the procedure of the process of aligning a plurality of shape data by the shape measuring device 100 in this modified example. S101 to S103, S105, and S106 in Fig. 12 are similar to S101 to S103, S105, and S106 in Fig. 11, respectively, and therefore description thereof will be omitted.

[0092] After creating the changed first shape data in S103, the changed data creating unit 303 changes the amount of change for changing the coordinate positions of all comparison reference points indicated by the second position information (S201). For example, the changed data creating unit 303 changes at least one of the direction or distance for changing all comparison reference points indicated by the second position information. The output unit 304 determines whether the number of times the changed data creating unit 303 has changed the amount of change is equal to or greater than a target value (S202).

[0093] When the number of times that the post-change data creating section 303 has changed the amount of change is equal to or greater than the target value (YES in S202), the output section 304 specifies the difference between the reference first shape data created by the reference data creating section 302 and the changed first shape data created by the post-change data creating section 303 every time the post-change data creating section 303 changes the amount of change. The output section 304 specifies statistics of the specified differences. The statistics is, for example, a maximum value or a standard deviation value.

[0094] The output unit 304 judges whether the statistical amount of the difference between the reference first shape data and the changed first shape data is equal to or less than the threshold value (S203). When the output unit 304 judges that the statistical amount of the difference between the reference first shape data and the changed first shape data is equal to or less than the threshold value (YES in S203), the output unit 304 outputs the combined shape data, which is the combination of the reference first shape data and the reference second shape data created by the reference data creation unit 302, to the display unit 4 (S105), and proceeds to the judgment of S106.

[0095] When the determination in S202 indicates that the number of times the post-change data creation unit 303 has changed the amount of change is less than the target value (NO in S202), the output unit 304 returns to the process of S103. At this time, the post-change data creation unit 303 changes the positions of the comparison reference points indicated by the second position information by the amount of change after the change, and then creates the changed first shape data by converting the coordinates of the first shape data so that the distances between the positions of the comparison reference points and the positions of the comparison reference points indicated by the first position information become closer (S103). Also, the post-change data creation unit 303 may create changed second shape data corresponding to the amount of change after the change, instead of creating changed first shape data every time the amount of change is changed.

[0096] When the output unit 304 determines in the judgment of S203 that the statistical amount of the difference between the reference first shape data and the changed first shape data is greater than the threshold value (NO in S203), the output unit 304 creates modified first shape data by removing the portions of the reference first shape data where the statistical amount of the difference from the changed first shape data is equal to or greater than the reference value. At this time, if the positional deviation amount is large in all portions, the output unit 304 does not create modified first shape data. The output unit 304 creates modified combined shape data by combining the reference second shape data created by the reference data creation unit 302 and the created modified first shape data. The output unit 304 outputs the created modified combined shape data to the display unit 4 (S204) and proceeds to the judgment of S106.

[0097] According to this modified example, when the post-change data creation unit 303 makes changes to the multiple comparison reference points indicated by the first position information, the post-change data creation unit 303 calculates statistics of the difference between the reference first shape data and the changed first shape data by changing the way in which the changes are made, so that it is possible to more accurately determine whether the first shape data and the second shape data are aligned properly.

[0098] In this modified example, the output unit 304 outputs the combined shape data to the display unit 4 when the statistical amount of the difference between the reference first shape data and the changed first shape data is equal to or less than a threshold value. However, the present invention is not limited to the example of comparing the reference first shape data and the changed first shape data. For example, when the difference between the changed first shape data corresponding to any of the change amounts changed by the changed data creating unit 303 and the changed first shape data corresponding to another change amount changed by the changed data creating unit 303 is equal to or less than a threshold value, the output unit 304 may determine that the changed first shape data satisfies a predetermined condition and output the combined shape data obtained by combining the reference first shape data and the reference second shape data to the display unit 4 or the like. On the other hand, when the difference between the changed first shape data corresponding to any of the change amounts changed by the changed data creating unit 303 and the changed first shape data corresponding to another change amount is greater than a threshold value, the output unit 304 may not output the combined shape data.

[0099] [Modification for changing the amount of change in the comparison reference point indicated by the first position information and the second position information] The post-change data creation section 303 changes the comparison reference point indicated by the first position information by a first change amount, and changes the comparison reference point indicated by the second position information by a second change amount. The post-change data creation section 303 may change each of the first change amount for changing the coordinate position of the comparison reference point indicated by the first position information and the second change amount for changing the coordinate position of the comparison reference point indicated by the second position information. The post-change data creation section 303 may create changed first shape data corresponding to the changed first change amount and second change amount each time the post-change data creation section 303 changes the first change amount and the second change amount.

[0100] Fig. 13 is a flowchart showing the processing procedure for aligning a plurality of shape data by the shape measuring device 100 in this modified example. S101, S102, and S106 in Fig. 13 are similar to S101, S102, and S106 in Fig. 11, respectively, and S204 in Fig. 13 is similar to S204 in Fig. 12, so description thereof will be omitted.

[0101] The post-change data creation unit 303 changes the coordinate positions of at least some of the comparison reference points indicated by the first position information by a first change amount in S301. The post-change data creation unit 303 changes the coordinate positions of at least some of the comparison reference points indicated by the second position information by a second change amount. After changing the coordinate positions of the comparison reference points indicated by the first position information and the second position information, the post-change data creation unit 303 creates the changed first shape data by converting the coordinates of the first shape data after changing the coordinate positions so that the distance between the positions of the comparison reference points corresponding to the first position information after changing the coordinate positions and the positions of the comparison reference points corresponding to the second position information after changing the coordinate positions becomes closer (S301).

[0102] The post-change data creation unit 303 changes both the first change amount and the second change amount (S302). For example, the post-change data creation unit 303 changes the direction or distance in which all comparison reference points indicated by the first position information are changed, and the direction or distance in which all comparison reference points indicated by the second position information are changed. The output unit 304 determines whether the number of times that the post-change data creation unit 303 has changed both the first change amount and the second change amount is equal to or greater than a target value (S303).

[0103] If the number of times that the post-change data creation unit 303 has changed both the first change amount and the second change amount is equal to or greater than a target value (YES in S303), the output unit 304 determines whether or not the multiple changed first shape data created by the post-change data creation unit 303 satisfy a predetermined condition. If the multiple changed first shape data satisfy the predetermined condition (YES in S304), the output unit 304 outputs combined shape data that combines the reference first shape data and reference second shape data created by the reference data creation unit 302.

[0104] More specifically, the output unit 304 identifies the difference between the reference first shape data created by the reference data creation unit 302 and the changed first shape data created by the changed data creation unit 303 every time the changed data creation unit 303 changes the amount of change. The output unit 304 identifies a statistical quantity of the identified multiple differences. The statistical quantity is, for example, a maximum value or a standard deviation value. If the statistical quantity of the identified multiple differences is equal to or less than a threshold value, the output unit 304 determines that the multiple changed first shape data satisfy a predetermined condition (YES in S304), and outputs the combined shape data (S305).

[0105] When the number of times that the post-change data creating unit 303 has changed both the first change amount and the second change amount is less than the target value in the judgment of S303 (NO in S303), the output unit 304 returns to the processing of S301. Every time the post-change data creating unit 303 changes the first change amount and the second change amount, the post-change data creating unit 303 creates changed first shape data corresponding to the changed first change amount and second change amount in S301 (S301). When the output unit 304 determines in S304 that the multiple changed first shape data created by the post-change data creating unit 303 do not satisfy the predetermined condition (NO in S304), the output unit 304 proceeds to the processing of S204.

[0106] <Second embodiment> In the second embodiment, an example will be described in which a new comparison reference point is extracted when it is determined that the alignment between the first shape data and the second shape data is poor. Fig. 14 is a diagram showing the configuration of a shape measuring device 500 of the second embodiment. The shape measuring device 500 shown in Fig. 14 is similar to that in Fig. 4 except that it further includes an extraction unit 501. The same components as those in Fig. 4 are denoted by the same reference numerals as those in Fig. 4 and description thereof will be omitted.

[0107] The extraction unit 501 extracts a new comparison reference point when the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. For example, when the output unit 304 determines that the difference between the reference second shape data created by the reference data creation unit 302 and the changed second shape data created by the changed data creation unit 303 exceeds a threshold, the extraction unit 501 extracts a new comparison reference point from the first captured image and the second captured image. Specifically, the extraction unit 501 re-searches for a plurality of feature points such as edges, undulations, or textures of the object to be measured that are common between the first captured image and the second captured image, and extracts the found feature points as new comparison reference points. The extraction unit 501 notifies the reference data creation unit 302, the changed data creation unit 303, and the output unit 304 of the extracted new comparison reference point.

[0108] Reference data creation unit 302 re-creates reference first shape data and reference second shape data by re-aligning the first shape data and the second shape data using the comparison reference point extracted by shape data creation unit 301 and the new comparison reference point extracted by extraction unit 501. Reference data creation unit 302 outputs the created reference first shape data and reference second shape data to output unit 304.

[0109] The post-change data creation section 303 changes the positions of at least some of the comparison reference points, which are the multiple comparison reference points including the new comparison reference point extracted by the extraction section 501 and which are indicated by the second position information, by a predetermined change amount. After changing the positions of some of the comparison reference points, the post-change data creation section 303 creates the changed first shape data again by converting the coordinates of the first shape data so that the distances between the positions of the multiple comparison reference points and the positions of the multiple comparison reference points indicated by the first position information become closer. The post-change data creation section 303 may create the changed second shape data by converting the coordinates of the second shape data.

[0110] 4, shape data diagnosis unit 305 specifies a difference between reference first shape data created by reference data creation unit 302 using a plurality of comparison reference points including the new comparison reference point extracted by extraction unit 501, and changed first shape data created by changed data creation unit 303 using a plurality of comparison reference points including the new comparison reference point. Shape data diagnosis unit 305 determines whether the specified difference is equal to or smaller than a threshold. Shape data diagnosis unit 305 outputs the determination result to output unit 304.

[0111] Output unit 304 causes display unit 4 to display the new comparison reference point together with the reference first shape data and the reference second shape data, on condition that shape data diagnosis unit 305 determines that the difference between the reference first shape data created by reference data creation unit 302 using a plurality of comparison reference points including the new comparison reference point and the changed first shape data created by the changed data creation unit using the new comparison reference point is equal to or less than a threshold. On the other hand, when the specified difference exceeds the threshold, output unit 304 does not cause display unit 4 to display the new comparison reference point together with the reference first shape data and the reference second shape data. When the specified difference is equal to or less than the threshold, output unit 304 may display combined shape data obtained by combining the reference first shape data and the reference second shape data.

[0112] At this time, the extraction unit 501 may repeat the extraction of a new comparison reference point. In this way, the extraction unit 501 extracts a new comparison reference point when the output unit 304 determines that the alignment between the first shape data and the second shape data is poor, so that the accuracy of the alignment between the first shape data and the second shape data can be improved.

[0113] In the second embodiment, an example has been described in which the extraction unit 501 extracts a new comparison reference point when the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. However, the present invention is not limited to this. For example, the reference data creation unit 302 may change the comparison reference point used for alignment when the output unit 304 determines that the alignment between the first shape data and the second shape data is poor. For example, the reference data creation unit 302 may perform alignment using a comparison reference point with a relatively small amount of positional deviation, without using a comparison reference point with a relatively large amount of positional deviation. In this way, the reference data creation unit 302 can avoid using a poor comparison reference point among a plurality of comparison reference points.

[0114] <Third embodiment> In the first and second embodiments, an example was described in which the coordinates of the first shape data or the second shape data are converted so that the distance between the position of the comparison reference point indicated by the first position information and the position of the comparison reference point indicated by the second position information is minimized. In contrast, in the third embodiment, an example was described in which the coordinates of the first shape data or the second shape data are converted so that the distance between the position of the comparison reference point indicated by the first position information and the position of a reference point whose position is known in advance on the measurement object is minimized.

[0115] Fig. 15 is a diagram showing the configuration of a profile measuring apparatus 600 according to the third embodiment. The profile measuring apparatus 600 differs from the profile measuring apparatus 100 in Fig. 4 in that it further includes an acquisition unit 601. In Fig. 15, the functional blocks other than the acquisition unit 601 are the same as those in Fig. 4, so the same reference numerals are used and the description will be omitted.

[0116] The acquisition unit 601 acquires information indicating the positions of a plurality of reference reference points on the measurement object or on the jig. The reference reference points are feature points whose positions are known in advance on the measurement object. For example, an external measurement device (not shown) capable of performing measurements with higher accuracy than the shape measurement device 100 is used to extract a plurality of feature points such as edges, undulations, or markers as reference reference points from an image captured on the same measurement object or on the jig, and the positions of the extracted plurality of reference reference points are measured with relatively high accuracy. The storage unit 5 stores information indicating the positions of the reference reference points measured by the external measurement device in advance. The acquisition unit 601 acquires information indicating the positions of the plurality of reference reference points from the storage unit 5.

[0117] The reference data creation unit 302 creates reference first shape data by converting the coordinates of the first shape data so that the distance between the positions of the multiple comparison reference points indicated by the first position information and the positions of the corresponding reference points acquired by the acquisition unit 601 becomes closer. For example, the reference data creation unit 302 creates reference first shape data by converting the coordinates of the i-th reference point in the above-mentioned formula (1) into a i The i-th comparison reference point indicated by the first position information is b i Then, the coordinates of multiple comparison reference points b are set so that the error e is minimized. i In the same manner, the reference data creation unit 302 creates reference second shape data by converting the coordinates of the second shape data so that the distances between the positions of the multiple comparison reference points indicated by the second position information and the positions of the corresponding reference points acquired by the acquisition unit 601 become closer.

[0118] 4, the post-change data creation unit 303 changes the coordinate positions of at least some or all of the multiple comparison reference points indicated by the first position information and the second position information by a predetermined change amount. The predetermined change amount is determined, for example, according to the measurement accuracy of the shape measuring device 600. The post-change data creation unit 303 changes the coordinate positions of at least some of the multiple comparison reference points indicated by the first position information by the predetermined change amount, and then creates the changed first shape data by converting the coordinates of the first shape data so that the distance between the positions of the multiple comparison reference points after the coordinate positions are changed and the positions of the corresponding reference points becomes closer.

[0119] The post-change data creation unit 303 similarly changes the coordinate positions of at least some of the multiple comparison reference points indicated by the second position information by a predetermined amount of change, and then creates changed second shape data by converting the coordinates of the second shape data so that the distance between the positions of the multiple comparison reference points after the coordinate positions have been changed by the predetermined amount of change and the positions of the corresponding reference points becomes closer.

[0120] The output unit 304 functions as a determination unit that determines whether the changed first shape data satisfies a predetermined condition. The output unit 304 specifies a difference between the reference first shape data created by the reference data creation unit 302 and the changed first shape data created by the changed data creation unit 303. For example, the output unit 304 specifies the amount of deviation between corresponding coordinates in the two shape data as the difference between the two shape data.

[0121] The output unit 304 determines whether or not the difference between the two shape data is equal to or smaller than a threshold value as a predetermined condition. The threshold value is determined, for example, according to the measurement accuracy required for the shape measuring device 100. Furthermore, when determining the difference between the shape data, the output unit 304 may calculate the amount of deviation between the second shape data and the reference first shape data and the amount of deviation between the second shape data and the changed first shape data, and use the difference between the two as an index.

[0122] The output unit 304 determines whether the second changed shape data satisfies a predetermined condition. The output unit 304 specifies the difference between the reference second shape data created by the reference data creating unit 302 and the changed second shape data created by the changed data creating unit 303. For example, the output unit 304 specifies the amount of deviation of corresponding coordinates in the two shape data as the difference between the two shape data. The output unit 304 determines whether the difference between the two shape data is equal to or less than a threshold as the predetermined condition. The threshold is determined according to, for example, the measurement accuracy required for the shape measuring device 100. In addition, when determining the difference between the shape data, the output unit 304 may calculate the amount of deviation between the first shape data and the reference second shape data, calculate the amount of deviation between the first shape data and the changed second shape data, and use the difference between the two calculated amounts of deviation as an index.

[0123] When the changed first shape data or the changed second shape data created by the post-change data creation section 303 satisfies a predetermined condition, the output section 304 creates combined shape data by combining the reference first shape data and the reference second shape data created by the reference data creation section 302. On the other hand, when the changed first shape data or the changed second shape data created by the post-change data creation section 303 does not satisfy the predetermined condition, the output section 304 does not create combined shape data. In addition, when both the changed first shape data and the changed second shape data created by the post-change data creation section 303 satisfy the predetermined condition, the output section 304 may create combined shape data by combining the reference first shape data and the reference second shape data created by the reference data creation section 302.

[0124] In the third embodiment, an example has been described in which the post-change data creation unit 303 changes the coordinate positions of at least some of the comparison reference points among the multiple comparison reference points indicated by the first position information or the second position information by a predetermined change amount. However, the present invention is not limited to this. The post-change data creation unit 303 may change the coordinate positions of the reference points for reference by a predetermined change amount.

[0125] For example, the post-change data creation unit 303 changes the coordinate positions of at least some of the multiple reference points by a predetermined change amount. The post-change data creation unit 303 changes the coordinate positions of at least some of the multiple reference points by a predetermined change amount, for example, a maximum error value expected from the accuracy of an external measurement device that measures the positions of the reference points. The post-change data creation unit 303 may create the first changed shape data by converting the coordinates of the first shape data so that the distance between the positions of the multiple comparison reference points indicated by the first position information and the positions of the multiple reference points after the coordinate positions are changed becomes closer.

[0126] Similarly, the post-change data creation unit 303 may create the second changed shape data by converting the coordinates of the second shape data so that the sum of the distances between the positions of the multiple comparison reference points indicated by the second position information and the positions of the multiple reference reference points after changing the coordinate positions of at least some of the multiple reference reference points by a predetermined change amount is minimized. The post-change data creation unit 303 may change both the comparison reference points and the reference reference points indicated by the first position information.

[0127] When three or more pieces of shape data are combined, the output unit 304 may create one combined shape data by using, for example, a method for minimizing the distance between the comparison reference point indicated by the first position information and the comparison reference point indicated by the second position information, using the method described in the first embodiment, or may create one combined shape data by minimizing the distance between the comparison reference point and the reference point for reference, using the method described in the third embodiment. In addition, the output unit 304 may combine the method described in the first embodiment with the method described in the third embodiment. For example, the output unit 304 may create one combined shape data by combining some of the shape data using the method described in the first embodiment and combining the remaining shape data using the method described in the third embodiment.

[0128] [Variation for selecting a combination of comparison reference points] The shape data creation unit 301 may create a plurality of combinations consisting of a plurality of comparison reference points. For example, the shape data creation unit 301 projects a projection image including a plurality of markers onto the measurement object, and creates a first combination of comparison reference points identified by extracting the projected plurality of markers. The shape data creation unit 301 creates a second combination of comparison reference points identified by extracting a plurality of feature points such as edges or undulations of the measurement object, or textures unique to the measurement object.

[0129] The reference data creation unit 302 creates reference first shape data and reference second shape data corresponding to each of a plurality of combinations of a plurality of comparison reference points. For example, the reference data creation unit 302 creates the reference first shape data and reference second shape data by alignment using a first combination of comparison reference points. The reference data creation unit 302 creates the reference first shape data and reference second shape data by alignment using a second combination of comparison reference points.

[0130] The post-change data creation unit 303 creates a plurality of changed second shape data corresponding to each of a plurality of combinations of the comparison reference points. For example, the post-change data creation unit 303 creates the changed second shape data corresponding to a first combination of the comparison reference points. The post-change data creation unit 303 creates the changed second shape data corresponding to a second combination of the comparison reference points.

[0131] The output unit 304 identifies a combination that minimizes the difference between the reference second shape data and the changed second shape data. For example, the output unit 304 identifies the difference between the reference second shape data corresponding to the first combination of comparison reference points and the changed second shape data corresponding to the first combination of comparison reference points. Similarly, the output unit 304 identifies the difference between the reference second shape data corresponding to the second combination of comparison reference points and the changed second shape data corresponding to the second combination of comparison reference points.

[0132] The output unit 304 compares the two identified differences to identify a combination of comparison reference points that results in the smallest difference between the reference second shape data and the changed second shape data. The output unit 304 creates combined shape data by combining the reference first shape data corresponding to the identified combination with the reference second shape data used to identify the smallest difference, and outputs the created combined shape data. The output unit 304 uses the combination that results in the best alignment of the shape data out of the multiple combinations of comparison reference points, thereby improving the accuracy of alignment.

[0133] Furthermore, the shape data creation unit 301 may create any combination. For example, the shape data creation unit 301 may include, in the same combination, different types of comparison reference points, such as a comparison reference point identified by extracting a plurality of projected markers, a comparison reference point identified by extracting a plurality of feature points, such as an edge or undulation of the measurement object, or a texture unique to the measurement object.

[0134] [Effects of the shape measuring device according to this embodiment] As described above, the accuracy of three-dimensional measurement can be improved by the output unit 304 outputting the shape data of the measurement object created using the first shape data and the second shape data that have been satisfactorily aligned, thereby enabling the output unit 304 to expand the measurement range that can be measured with good measurement accuracy.

[0135] In addition, the shape measuring device may align the two shape data using the method that the output unit 304 determines to provide better alignment out of a method of aligning the first shape data and the second shape data using a comparison reference point and a method of aligning the first shape data and the second shape data using the amount of movement or amount of change in posture when moving the measuring head 10 from the first relative position to the second relative position or changing its posture.

[0136] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination combines the effect of the original embodiment. [Explanation of symbols]

[0137] 1 Projection section 2. Imaging unit 3. Control Unit 4 Display section 5 Storage section 10 Measuring Head 21 Lens 22 Image sensor 61 Sub-projection section 100 Shape measuring device 301 Shape Data Creation Department 302 Standard Data Creation Department 303 Post-change data creation section 304 Output section 305 Shape Data Diagnostics Department 500 Shape measuring device 501 Extraction part 600 Shape measuring device 601 Acquisition Department

Claims

1. a shape data creation unit that creates, based on a first captured image generated by the imaging unit imaging the measurement object at a first relative position, first shape data indicating a shape of at least a portion of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired, and creates, based on a second captured image generated by the imaging unit imaging the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a portion of which differs from the first shape data, and second position information indicating the coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; a reference data creation unit that creates reference first shape data and reference second shape data by converting coordinates of at least one of the first shape data and the second shape data so that distances between positions of the plurality of comparison reference points indicated by the first position information and positions of the plurality of comparison reference points indicated by the second position information become closer; (1) creating changed first shape data by converting coordinates of the first shape data so that a distance between positions of the plurality of comparison reference points after changing the coordinate positions of at least some of the plurality of comparison reference points indicated by the second position information by a predetermined change amount and positions of the plurality of comparison reference points indicated by the first position information becomes closer; or (2) creating changed first shape data by converting coordinates of the first shape data so that a distance between positions of the plurality of comparison reference points after changing the coordinate positions of at least some of the plurality of comparison reference points indicated by the first position information by a predetermined change amount and positions of the plurality of comparison reference points indicated by the second position information becomes closer. a changed data creating unit that creates the changed first shape data by converting the coordinates of the first shape data after the coordinate positions have been changed, or (3) creates the changed first shape data by converting the coordinates of the first shape data so that a distance between a position of a plurality of comparison reference points after the coordinate positions of at least some of the comparison reference points indicated by the second position information have been changed by a predetermined change amount and a position of a plurality of comparison reference points after the coordinate positions of at least some of the comparison reference points indicated by the first position information have been changed by a predetermined change amount becomes closer; an output unit that outputs combined shape data obtained by combining the reference first shape data and the reference second shape data when the changed first shape data satisfies a predetermined condition; A shape measuring device having a

2. the output unit acquires a vibration amount of at least one of the shape measuring device and the measurement object when the imaging unit captures an image, and outputs the combined shape data when the acquired vibration amount is equal to or less than a tolerable value and the changed first shape data satisfies the predetermined condition. The shape measuring device according to claim 1 .

3. the output unit acquires at least one of a temperature of the shape measuring device, a temperature of the object to be measured, and a temperature of the surrounding environment when the imaging unit captures an image, and outputs the combined shape data when the acquired temperature is equal to or lower than a tolerance value and the changed first shape data satisfies the predetermined condition.

3. The shape measuring apparatus according to claim 1 or 2.

4. the reference data creation unit creates the reference first shape data and the reference second shape data corresponding to each of a plurality of combinations of a plurality of comparison reference points; the changed data creation unit creates a plurality of changed second shape data corresponding to the plurality of combinations, the changed second shape data being obtained by converting coordinates of the second shape data so that distances between positions of the plurality of comparison reference points after changing coordinate positions of the plurality of comparison reference points indicated by the first position information and positions of the plurality of comparison reference points indicated by the second position information become closer; the output unit outputs the combined shape data obtained by combining the reference first shape data corresponding to the combination in which the difference between the reference second shape data and the changed second shape data is the smallest, and the reference second shape data used to identify the smallest difference. The shape measuring apparatus according to claim 1 .

5. when a difference between the reference first shape data and the changed first shape data exceeds a threshold, the output unit does not output the combined shape data obtained by combining the reference second shape data and the reference first shape data. The shape measuring apparatus according to claim 1 .

6. when a difference between the reference first shape data and the changed first shape data exceeds a threshold, the output unit creates corrected first shape data by removing a portion of the reference first shape data where the difference from the changed first shape data is equal to or greater than a reference value, and outputs corrected combined shape data by combining the corrected first shape data and the reference second shape data. The shape measuring apparatus according to claim 1 .

7. a shape data diagnosis unit that converts coordinates of at least one of the first shape data so that a sum of distances between each of positions of the multiple comparison reference points after positions of all or some of the multiple comparison reference points indicated by the first position information have been changed by a first change amount and a position of a corresponding comparison reference point after positions of all or some of the multiple comparison reference points indicated by the first position information have been changed by a second change amount different from the first change amount or the position of the comparison reference point has not been changed is minimized, and determines that the first shape data cannot be used for alignment when a difference between the first shape data after conversion and the first shape data before conversion exceeds a threshold value. The shape measuring apparatus according to claim 1 .

8. a shape data diagnosis unit that converts coordinates of at least one of the second shape data so that a sum of distances between each of positions of the multiple comparison reference points after positions of all or some of the multiple comparison reference points indicated by the second position information have been changed by a first change amount and a position of a corresponding comparison reference point after positions of all or some of the multiple comparison reference points indicated by the second position information have been changed by a second change amount different from the first change amount or the position of the comparison reference point has not been changed is minimized, and determines that the second shape data cannot be used for alignment when a difference between the second shape data after conversion and the second shape data before conversion exceeds a threshold value. The shape measuring apparatus according to claim 1 .

9. an extracting unit that extracts new comparison reference points from the first captured image and the second captured image when a difference between the reference first shape data and the changed first shape data exceeds a threshold; a shape data diagnosis unit that determines whether a difference between the reference first shape data created by the reference data creation unit using the new comparison reference point extracted by the extraction unit and the changed first shape data created by the changed data creation unit using the new comparison reference point is equal to or smaller than a threshold value. The shape measuring apparatus according to claim 1 .

10. the changed data creation unit changes the amount of change that changes the coordinate position of the comparison reference point indicated by the first position information or the second position information, and creates the changed first shape data corresponding to the amount of change after the change each time the amount of change is changed; The output unit outputs the combined shape data when the plurality of changed first shape data created by the changed data creation unit satisfies a predetermined condition. The shape measuring apparatus according to claim 1 .

11. the changed data creation unit creates the changed first shape data by converting coordinates of the first shape data after changing the coordinate positions of at least some of the comparison reference points among the plurality of comparison reference points indicated by the first position information so that a distance between a position of a plurality of comparison reference points after changing the coordinate positions of at least some of the comparison reference points among the plurality of comparison reference points indicated by the second position information by changing the coordinate positions of the at least some of the comparison reference points among the plurality of comparison reference points is reduced; the post-change data creation unit changes the first change amount and the second change amount, and creates the post-change first shape data corresponding to the first change amount and the second change amount after the change each time the first change amount and the second change amount are changed; The output unit outputs the combined shape data when the plurality of changed first shape data created by the changed data creation unit satisfies a predetermined condition. The shape measuring apparatus according to claim 1 .

12. a shape data creation unit that creates, based on a first captured image generated by the imaging unit imaging the measurement object at a first relative position, first shape data indicating a shape of at least a portion of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired, and creates, based on a second captured image generated by the imaging unit imaging the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a portion of which differs from the first shape data, and second position information indicating the coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; An acquisition unit that acquires information indicating positions of a plurality of reference reference points of the measurement object; a reference data creation unit that creates reference first shape data by converting coordinates of the first shape data so that distances between positions of a plurality of comparison reference points indicated by the first position information and positions of corresponding reference reference points acquired by the acquisition unit become closer, and creates reference second shape data by converting coordinates of the second shape data so that distances between positions of a plurality of comparison reference points indicated by the second position information and positions of corresponding reference reference points acquired by the acquisition unit become closer; a changed data creating unit that creates first changed shape data by converting coordinates of the first shape data so that a distance between a position of a plurality of comparison reference points after changing a coordinate position of at least a part of the plurality of comparison reference points indicated by the first position information by a predetermined change amount and a position of the corresponding reference point for reference becomes closer, or creates changed first shape data by converting coordinates of the first shape data so that a distance between a position of the plurality of comparison reference points indicated by the first position information and a position of a plurality of reference reference points after changing a coordinate position of at least a part of the plurality of reference reference points by a predetermined change amount becomes closer; an output unit that outputs combined shape data obtained by combining the reference first shape data and the reference second shape data when the changed first shape data satisfies a predetermined condition; A shape measuring device comprising:

13. The computer executes creating, based on a first captured image generated by an imaging unit capturing an image of the measurement object at a first relative position, first shape data indicating a shape of at least a portion of the measurement object and first position information indicating coordinates of a plurality of comparison reference points obtained when the first shape data is acquired, and creating, based on a second captured image generated by the imaging unit capturing an image of the measurement object at a second relative position different from the first relative position, second shape data of the measurement object at least a portion of which differs from the first shape data and second position information indicating the coordinates of a plurality of comparison reference points obtained when the second shape data is acquired; creating reference first shape data and reference second shape data by converting coordinates of at least one of the first shape data and the second shape data so that distances between positions of the plurality of comparison reference points indicated by the first position information and positions of the plurality of comparison reference points indicated by the second position information become closer; (1) creating changed first shape data by converting coordinates of the first shape data so that a distance between positions of the plurality of comparison reference points after changing the coordinate positions of at least some of the plurality of comparison reference points indicated by the second position information by a predetermined change amount and positions of the plurality of comparison reference points indicated by the first position information becomes closer; or (2) creating changed first shape data by converting coordinates of the first shape data so that a distance between positions of the plurality of comparison reference points after changing the coordinate positions of at least some of the plurality of comparison reference points indicated by the first position information by a predetermined change amount and positions of the plurality of comparison reference points indicated by the second position information becomes closer. or (3) creating the changed first shape data by converting the coordinates of the first shape data after the coordinate positions of at least some of the comparison reference points indicated by the second position information are changed by a predetermined amount of change so that a distance between positions of a plurality of comparison reference points after the coordinate positions of at least some of the comparison reference points indicated by the first position information are changed by a predetermined amount of change becomes closer to positions of a plurality of comparison reference points after the coordinate positions of at least some of the comparison reference points indicated by the first position information are changed by a predetermined amount of change; outputting combined shape data obtained by combining the reference first shape data and the reference second shape data when the changed first shape data satisfies a predetermined condition; A shape measurement method comprising the steps of:

Citation Information

Patent Citations

  • A method for combining computer models of two surfaces in 3D space.

    JP2002525746A

  • Three-dimensional modeling device, three-dimensional modeling method, and program

    JP2011192228A

  • Imaging device, information processing device, and imaging system

    JP2019049572A

  • Information processing apparatus, information processing method, and program

    JP2019184340A

  • 3D model creation device

    JP3195609U