PROCESSING DEVICE, SYSTEM, METHOD, AND NON-TRANSITORY COMPUTER READABLE MEDIUM
20210341581 · 2021-11-04
Assignee
Inventors
Cpc classification
G01B11/00
PHYSICS
G01S17/42
PHYSICS
G01B21/00
PHYSICS
International classification
Abstract
Provided are a processing device, a system, a method, and a non-transitory computer readable medium capable of reducing false detection when detecting a foreign body. An acquisition means (111) that acquires first distance data (d1) between a predetermined point (pp) on a surface of an object (51) and a first measurement position (p1) outside the object (51) and acquires second distance data (d2) between the predetermined point (pp) and a second measurement position (p2) outside the object (51), a difference calculation means (112) that calculates difference data (dd) between the first distance data (d1) and the second distance data (d2), and a difference deletion means (113) that deletes a part of the first distance data (d1) or the second distance data (d2) on the basis of the difference data (dd) are included. The acquisition means (111) acquires the second distance data (d2) by assuming, as the predetermined point (pp), an intersection point (x1) between a line (L1) connecting the predetermined point (pp) and the second measurement position (p2) and the surface of the object (51).
Claims
1. A processing device comprising: at least one memory storing instructions, and at least one processor configured to execute the instructions to; acquire first distance data between a predetermined point on a surface of an object and a first measurement position outside the object, and acquire second distance data between the predetermined point and a second measurement position outside the object; calculate difference data between the first distance data and the second distance data; and delete a part of the first distance data or the second distance data on the basis of the difference data, wherein when the second distance data cannot be measured due to interruption by a part of the object, acquires the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest.
2. The processing device according to claim 1, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first specific point, specifies the predetermined point on the surface of the object included within a predetermined distance from a line connecting the first specific point and the second measurement position as a first predetermined specific point, specifies the first distance data corresponding to the first predetermined specific point as first predetermined distance data, and deletes the first predetermined distance data.
3. The processing device according to claim 1, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, and deletes the first difference distance data equal to or greater than the second distance data.
4. The processing device according to claim 3, wherein the difference threshold is equal to or greater than 0.
5. The processing device according to claim 1, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first difference point, specifies the second distance data where the difference data is equal to or greater than the difference threshold as second difference distance data, specifies the predetermined point on the surface of the object corresponding to the second difference distance data as a second difference point, specifies the predetermined point on the surface of the object adjacent to the first difference point as an adjacent first difference point, specifies the predetermined point on the surface of the object adjacent to the second difference point as an adjacent second difference point, calculates first predetermined difference distance data between the first difference point and the second difference point, calculates second predetermined difference distance data between the adjacent first difference point and the adjacent second difference point, calculates adjacent difference distance data between the second difference point and the adjacent second difference point, calculates a first gradient by dividing the adjacent difference distance data by a distance obtained by subtracting the first predetermined difference distance data from the second predetermined difference distance data, and when the first gradient is greater than a gradient threshold, deletes the first difference distance data.
6. The processing device according to claim 1, wherein a plurality of predetermined points on the surface of the object are equally spaced from one another.
7. The processing device according to claim 1, wherein a plurality of predetermined points on the surface of the object are arranged along a first direction and arranged along a second direction perpendicular to the first direction.
8. The processing device according to claim 1, further comprising: a display unit configured to display the predetermined point on the surface of the object corresponding to the first distance data or the second distance data together with the object.
9. A system comprising: a distance measurement device; a processing device; and a foreign body detection device, wherein the distance measurement device measures first distance data between a predetermined point on a surface of an object and a first measurement position outside the object, and measures second distance data between the predetermined point and a second measurement position outside the object, the processing device includes: at least one memory storing instructions, and at least one processor configured to execute the instructions to; acquire the first distance data and the second distance data; calculate difference data between the first distance data and the second distance data; and delete a part of the first distance data or the second distance data on the basis of the difference data, and when the second distance data cannot be measured due to interruption by a part of the object, acquires the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest, and the foreign body detection device detects a foreign body on the basis of the first distance data after the deletion and the second distance data after the deletion.
10. The system according to claim 9, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first specific point, specifies the predetermined point on the surface of the object included within a predetermined distance from a line connecting the first specific point and the second measurement position as a first predetermined specific point, specifies the first distance data corresponding to the first predetermined specific point as first predetermined distance data, and deletes the first predetermined distance data.
11. The system according to claim 9, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, and deletes the first difference distance data equal to or greater than the second distance data.
12. The system according to claim 9, wherein the at least one processor is further configured to: specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first difference point, specifies the second distance data where the difference data is equal to or greater than the difference threshold as second difference distance data, specifies the predetermined point on the surface of the object corresponding to the second difference distance data as a second difference point, specifies the predetermined point on the surface of the object adjacent to the first difference point as an adjacent first difference point, specifies the predetermined point on the surface of the object adjacent to the second difference point as an adjacent second difference point, calculates first predetermined difference distance data between the first difference point and the second difference point, calculates second predetermined difference distance data between the adjacent first difference point and the adjacent second difference point, calculates adjacent difference distance data between the second difference point and the adjacent second difference point, calculates a first gradient by dividing the adjacent difference distance data by a distance obtained by subtracting the first predetermined difference distance data from the second predetermined difference distance data, and when the first gradient is greater than a gradient threshold, deletes the first difference distance data.
13. A method comprising: acquiring first distance data between a predetermined point on a surface of an object and a first measurement position outside the object; acquiring second distance data between the predetermined point and a second measurement position outside the object; calculating difference data between the first distance data and the second distance data; deleting a part of the first distance data or the second distance data on the basis of the difference data; and when the second distance data cannot be measured due to interruption by a part of the object, acquiring the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest.
14. (canceled)
Description
BRIEF DESCRIPTION OF DRAWINGS
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DESCRIPTION OF EMBODIMENTS
[0027] An example embodiment of the present invention will be described hereinafter with reference to the drawings. In the figures, the identical reference symbols denote identical structural elements and the redundant explanation thereof is omitted according to need.
EXAMPLE EMBODIMENT
[0028]
[0029]
[0030]
[0031]
[0032] As shown in
[0033] As shown in
[0034] First, a shadow when measuring distance data by the distance measurement device 12 is described.
[0035] As shown in
[0036] The distance measurement device 12 measures first distance data d1 indicating the distance between a predetermined point pp on the surface of the object 51 and the first measurement position p1 outside the object 51. The distance measurement device 12 measures second distance data d2 indicating the distance between the predetermined point pp and the second measurement position p2 outside the object 51. To be specific, a plurality of points ppn exist on the surface of the object 51, and the distance measurement device 12 measures first distance data d11 between a first predetermined point pp1 among the plurality of points ppn and the first measurement position p1. Further, the distance measurement device 12 measures second distance data d21 between the first predetermined point pp1 and the second measurement position p2. Note that “n” of the plurality of points ppn is an integer. The distance measurement device 12 measures the distance from the same first predetermined point pp1 both when measuring the first distance data d11 and the second distance data d21.
[0037] The processing device 11 may further include a display unit that displays, together with the object 51, the predetermined point pp on the surface of the object 51 corresponding to the first distance data d1 or the second distance data d2.
[0038] Note that a plurality of first distance data d1 acquired as a result of measuring the distance between each of the plurality of points ppn on the surface of the object 51 and the first measurement position p1 are referred to as a first point group in some cases. Further, a plurality of second distance data d2 acquired as a result of measuring the distance between each of the plurality of points ppn on the surface of the object 51 and the second measurement position p2 are referred to as a second point group in some cases.
[0039] A plurality of predetermined points pp on the surface of the object 51 may be equally spaced from one another.
[0040] The plurality of predetermined points pp on the surface of the object 51 may be arranged along the Y-direction and also along the Z-direction perpendicular to the Y-direction. The Y-direction is referred to as a first direction, and the Z-direction is referred to as a second direction in some cases.
[0041] When measuring the distance from the plurality of points ppn, there is a case where the second distance data d2 cannot be measured due to interruption by the object 51a, which is a part of the object 51. This occurs when the distance measurement device 12 measures the second distance data d2 between the first predetermined point pp1 on the surface of the object 51b and the second measurement position p2, for example. A part of the object 51 where the distance measurement device 12 cannot measure the second distance data d2 is referred to as a shadow S1. The shadow S1 arises because the first measurement position p1 and the second measurement position p2 are different. The shadow S1 occurs due to a difference in the measurement position of the distance measurement device 12.
[0042] When the second distance data d2 cannot be measured due to interruption by the object 51a, the distance measurement device 12 measures the second distance data d2, assuming an intersection point x1 between a line L1 connecting the first predetermined point pp1 and the second measurement position p2 and the surface of the object 51 as the predetermined point pp. The intersection point x1 is a point at which the distance between the object 51 and the second measurement position p2 is shortest in the line L1.
[0043] The first distance data d1 between the first predetermined point pp1 on the surface of the object 51b and the first measurement position p1 is correctly measured. However, the second distance data d2 between the first predetermined point pp1 on the surface of the object 51b and the second measurement position p2 is not correctly measured due to interruption by the object 51a.
[0044] Consequently, an excessively large difference occurs between the first distance data d1 and the second distance data d2. When a difference between the first distance data d1 and the second distance data d2 is equal to or greater than a predetermined difference threshold, it is determined that there is a foreign body. Thus, it is erroneously determined that there is a foreign body regardless of the fact that there is no foreign body because of the effect of the shadow S1 that occurs due to a difference in the measurement position of the distance measurement device 12. In order to reduce false detection of a foreign body when there is no foreign body, it is necessary to delete a part of the first distance data d1 or the second distance data d2 corresponding to the shadow S1.
[0045] Therefore, the processing device 11 according to the example embodiment deletes a part of the first distance data d1 or the second distance data d2 corresponding to the shadow S1 as described below and thereby reduces false detection when detecting a foreign body.
[0046] The operation of the system according to the example embodiment is described hereinafter.
[0047]
[0048] As shown in
[0049] The acquisition means 111 acquires the second distance data d2, which is the distance between the predetermined point pp and the second measurement position p2 outside the object 51 (S102). The acquisition means 111 acquires the first distance data d1 and the second distance data d2 measured by the distance measurement device 12.
[0050] When the second distance data d2 cannot be measured due to interruption by the object 51a as shown in
[0051] The difference calculation means 112 overlaps the first distance data d1 and the second distance data d2 in order to calculate difference data dd, which is a difference between the first distance data d1 and the second distance data d2 (Step S103).
[0052] The difference calculation means 112 calculates the difference data dd between the first distance data d1 and the second distance data d2 (Step S104).
[0053] The first distance data d1 is the distance between each of the plurality of points ppn and the first measurement position p1. Thus, there are a plurality of first distance data d1. The second distance data d2 is the distance between each of the plurality of points ppn and the second measurement position p2. Thus, there are a plurality of second distance data d2. The difference data dd is a difference between the first distance data d1 and the second distance data d2. Thus, there are a plurality of difference data dd. One of the difference data dd is a difference between first distance data d11 corresponding to the first predetermined point pp1 among the plurality of points ppn and second distance data d21 corresponding to the first predetermined point pp1 among the plurality of points ppn. When calculating the difference data dd, a difference between the first distance data d1 and the second distance data d2 corresponding to the same predetermined point pp is calculated. There are a plurality of difference data dd, which are referred to as a difference point group in some cases.
[0054] On the basis of the difference data dd, the difference deletion means 113 deletes a part of the first distance data d1 or the second distance data d2 corresponding to the shadow S1 that occurs due to a difference between the first measurement position p1 and the second measurement position p2 (Step S105). Note that, in some cases, the first distance data d1 and the second distance data d2 are collectively referred to simply as distance data.
[0055] The details of Step S105 are described hereinafter.
[0056]
[0057]
[0058] As shown in
[0059] The difference deletion means 113 acquires the second distance data d2 from the acquisition means 111 (Step S1052).
[0060] The difference deletion means 113 specifies the first distance data d1 where the difference data dd is equal to or greater than a difference threshold as first difference distance data dd1. As shown in
[0061] The difference deletion means 113 calculates the shortest distance between the line L2 and the predetermined point pp on the surface of the object 51 (Step S1054).
[0062] The difference deletion means 113 determines whether the calculated shortest distance is longer than a predetermined distance R (Step S1055).
[0063] When the calculated shortest distance is not longer than the predetermined distance R (Step S1055: No), the difference deletion means 113 specifies the predetermined point pp on the surface of the object 51 corresponding to the shortest distance as a first predetermined specific point ppss1. Specifically, the difference deletion means 113 specifies the predetermined point pp on the surface of the object 51 which is included within the predetermined distance R from the calculated line L2 as the first predetermined specific point ppss1.
[0064] When Step S1055 results in No, the difference deletion means 113 specifies the first distance data d1 corresponding to the first predetermined specific point ppss1 as first predetermined distance data d1r. The difference deletion means 113 deletes the first predetermined distance data d1r (Step S1056).
[0065] When the calculated shortest distance is longer than the predetermined distance R (Step S1055: Yes), the difference deletion means 113 leaves the first predetermined distance data d1r (Step S1057).
[0066] The first predetermined distance data d1r, which is the first distance data d1 corresponding to the shadow S1, is thereby deleted, and false detection is reduced when detecting a foreign body.
[0067] Another method of Step S105 is described hereinafter.
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074] As shown in
[0075] The difference deletion means 113 acquires the second distance data d2 from the acquisition means 111 (Step S2052).
[0076] As shown in
[0077] The difference deletion means 113 sets the second distance data d2 as an image B of the distance from the second measurement position p2 (Step S2054).
[0078] The difference deletion means 113 determines whether the distance data of the image A is shorter than the distance data of the image B (Step S2055). In other words, the difference deletion means 113 determines whether the first difference distance data dd1 is shorter than the second distance data d2.
[0079] When the distance data of the image A is shorter than the distance data of the image B (Step S2055: Yes), the difference deletion means 113 leaves the first difference distance data dd1 (Step S2057). In other words, when the first difference distance data dd1 is shorter than the second distance data d2, the difference deletion means 113 leaves the first difference distance data dd1.
[0080] When, on the other hand, the distance data of the image A is not shorter than the distance data of the image B (Step S2055: No), the difference deletion means 113 deletes the first difference distance data dd1 (Step S2056). In other words, the difference deletion means 113 deletes the first difference distance data dd1 that is greater than the second distance data d2.
[0081] The difference threshold may be a value greater than 0.
[0082] The first difference distance data dd1, which is the first distance data d1 corresponding to the shadow S1, is thereby deleted, and false detection is reduced when detecting a foreign body.
[0083] Then, after Step S105 in
[0084] An error by overlapping is described hereinafter.
[0085]
[0086]
[0087] As shown in
[0088] Note that the first distance data d1a is the distance between a predetermined point ppa and the first measurement position p1, and the second distance data d2a is the distance between the predetermined point ppa and the second measurement position p2. Further, the first distance data d1b is the distance between a predetermined point ppb and the first measurement position p1, and the second distance data d2b is the distance between the predetermined point ppb and the second measurement position p2.
[0089] In the detection of a foreign body, it is determined that there is a foreign body when a difference between the first distance data d1 and the second distance data d2 is equal to or greater than a predetermined difference threshold, for example. Due to the effect of an error in distance data caused by overlapping the distance data, it can be determined that there is a foreign body even when there is no foreign body. Therefore, it is necessary to delete a part of the first distance data d1 or the second distance data d2 in order to reduce the effect of an error in distance data.
[0090] Study of an error in distance data caused by overlapping is as follows.
[0091]
[0092] In
[0093]
[0094]
[0095]
[0096] In
[0097] As shown in
[0098] As shown in
[0099] Therefore, the difference deletion means 113 of the processing device 11 according to the example embodiment deletes a part of the first distance data d1 or the second distance data d2 as follows in order to reduce the effect of an error in distance data caused by overlapping.
[0100] The difference deletion means 113 performs Step S106 shown in
[0101]
[0102] As shown in
[0103] The difference deletion means 113 acquires the second distance data d2 from the acquisition means 111 (Step S1062).
[0104] The difference deletion means 113 calculates the shortest distance from a specified point on the surface of the object 51 corresponding to the first difference distance data dd1 to a specified point on the surface of the object 51 corresponding to the second distance data d2 (Step S1063).
[0105] To be specific, as shown in
[0106] The difference deletion means 113 specifies the predetermined point pp on the surface of the object 51 which is adjacent to the first difference point ppd1 as an adjacent first difference point ppd1a. The difference deletion means 113 specifies the predetermined point pp on the surface of the object 51 which is adjacent to the second difference point as an adjacent second difference point ppd2a.
[0107] The difference deletion means 113 calculates first predetermined difference distance data dd1r between the first difference point ppd1 and the second difference point ppd2. Specifically, it calculates the first predetermined difference distance data dd1r, which is the shortest distance from the first difference point ppd1 on the surface of the object 51 corresponding to one of the first difference distance data dd1 to the second difference point ppd2 on the surface of the object 51 corresponding to one of the second distance data d2. This calculation is performed on all of the first difference distance data dd1 (Step S1063).
[0108] The difference deletion means 113 divides the object 51 into voxels of a predetermined size on the basis of a voxel size for analysis (Step S1064).
[0109] The difference deletion means 113 deletes the first difference distance data dd1 where the calculated shortest distance is shorter than a distance threshold (Step S1065).
[0110] The difference deletion means 113 calculates the gradient of the graph of the difference data dd (first difference distance data dd1) shown in
[0111] To be specific, as shown in
[0112] The difference deletion means 113 determines whether the first gradient is greater than a gradient threshold (Step S1067). Note that the first gradient is referred to simply as a gradient in some cases.
[0113] When the first gradient is equal to or smaller than the gradient threshold (Step S1067: No), the difference deletion means 113 leaves the first difference distance data dd1 (Step S1068).
[0114] When, on the other hand, the first gradient is greater than the gradient threshold (Step S1067: Yes), the difference deletion means 113 deletes the first difference distance data dd1 (Step S1069).
[0115] The effect of an error in distance data caused by overlapping is thereby reduced, and false detection is reduced when detecting a foreign body.
[0116] Then, after Step S106 in
[0117] As described above, according to the example embodiment, there are provided a processing device, a system, a method, and a non-transitory computer readable medium capable of reducing false detection when detecting a foreign body.
[0118] Although the resent invention is described as a hardware configuration in the above example embodiment, it is not limited thereto. The present invention may be implemented by causing a CPU (Central Processing Unit) to execute a computer program to perform given processing.
[0119] In the above-described example embodiment, the program can be stored using any type of non-transitory computer readable media and provided to a computer. The non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media such as flexible disks, magnetic tapes or hard disks, optical magnetic storage media such as magneto-optical disks, optical disc media such as CD (Compact Disc) or DVD (Digital Versatile Disk), and semiconductor memories such as mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM or RAM (Random Access Memory). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line such as electric wires and optical fibers, or a wireless communication line.
[0120] While the present invention has been particularly shown and described with reference to an example embodiment thereof, the present invention is not limited thereto. It will be understood by those of ordinary skill in the art that various changes may be made therein without departing from the scope of the present invention.
[0121] Note that the present invention is not limited to the above-described example embodiment and can be modified as appropriate without departing from the spirit and scope of the present disclosure.
[0122] For example, the whole or part of the example embodiment disclosed above can be described as, but not limited to, the following supplementary notes.
(Supplementary Note 1)
[0123] A processing device comprising:
[0124] an acquisition means for acquiring first distance data between a predetermined point on a surface of an object and a first measurement position outside the object, and acquiring second distance data between the predetermined point and a second measurement position outside the object;
[0125] a difference calculation means for calculating difference data between the first distance data and the second distance data; and
[0126] a difference deletion means for deleting a part of the first distance data or the second distance data on the basis of the difference data,
[0127] wherein when the second distance data cannot be measured due to interruption by a part of the object, the acquisition means acquires the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest.
(Supplementary Note 2)
[0128] The processing device according to Supplementary Note 1, wherein the difference deletion means
[0129] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data,
[0130] specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first specific point,
[0131] specifies the predetermined point on the surface of the object included within a predetermined distance from a line connecting the first specific point and the second measurement position as a first predetermined specific point,
[0132] specifies the first distance data corresponding to the first predetermined specific point as first predetermined distance data, and deletes the first predetermined distance data.
(Supplementary Note 3)
[0133] The processing device according to Supplementary Note 1, wherein the difference deletion means
[0134] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, and
[0135] deletes the first difference distance data equal to or greater than the second distance data.
(Supplementary Note 4)
[0136] The processing device according to Supplementary Note 3, wherein the difference threshold is equal to or greater than 0.
(Supplementary Note 5)
[0137] The processing device according to any one of Supplementary Notes 1 to 4, wherein the difference deletion means
[0138] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data,
[0139] specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first difference point,
[0140] specifies the second distance data where the difference data is equal to or greater than the difference threshold as second difference distance data,
[0141] specifies the predetermined point on the surface of the object corresponding to the second difference distance data as a second difference point,
[0142] specifies the predetermined point on the surface of the object adjacent to the first difference point as an adjacent first difference point,
[0143] specifies the predetermined point on the surface of the object adjacent to the second difference point as an adjacent second difference point,
[0144] calculates first predetermined difference distance data between the first difference point and the second difference point,
[0145] calculates second predetermined difference distance data between the adjacent first difference point and the adjacent second difference point,
[0146] calculates adjacent difference distance data between the second difference point and the adjacent second difference point,
[0147] calculates a first gradient by dividing the adjacent difference distance data by a distance obtained by subtracting the first predetermined difference distance data from the second predetermined difference distance data, and
[0148] when the first gradient is greater than a gradient threshold, deletes the first difference distance data.
(Supplementary Note 6)
[0149] The processing device according to any one of Supplementary Notes 1 to 5, wherein a plurality of predetermined points on the surface of the object are equally spaced from one another.
(Supplementary Note 7)
[0150] The processing device according to any one of Supplementary Notes 1 to 6, wherein a plurality of predetermined points on the surface of the object are arranged along a first direction and arranged along a second direction perpendicular to the first direction.
(Supplementary Note 8)
[0151] The processing device according to any one of Supplementary Notes 1 to 7, further comprising:
[0152] a display unit configured to display the predetermined point on the surface of the object corresponding to the first distance data or the second distance data together with the object.
(Supplementary Note 9)
[0153] A system comprising:
[0154] a distance measurement device;
[0155] a processing device; and
[0156] a foreign body detection device, wherein
[0157] the distance measurement device measures first distance data between a predetermined point on a surface of an object and a first measurement position outside the object, and measures second distance data between the predetermined point and a second measurement position outside the object,
[0158] the processing device includes:
[0159] an acquisition means for acquiring the first distance data and the second distance data;
[0160] a difference calculation means for calculating difference data between the first distance data and the second distance data; and
[0161] a difference deletion means for deleting a part of the first distance data or the second distance data on the basis of the difference data, and
[0162] when the second distance data cannot be measured due to interruption by a part of the object, the acquisition means acquires the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest, and
[0163] the foreign body detection device detects a foreign body on the basis of the first distance data after the deletion and the second distance data after the deletion.
(Supplementary Note 10)
[0164] The system according to Supplementary Note 9, wherein the difference deletion means
[0165] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data,
[0166] specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first specific point,
[0167] specifies the predetermined point on the surface of the object included within a predetermined distance from a line connecting the first specific point and the second measurement position as a first predetermined specific point,
[0168] specifies the first distance data corresponding to the first predetermined specific point as first predetermined distance data, and
[0169] deletes the first predetermined distance data.
(Supplementary Note 11)
[0170] The system according to Supplementary Note 9, wherein the difference deletion means
[0171] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data, and
[0172] deletes the first difference distance data equal to or greater than the second distance data.
(Supplementary Note 12)
[0173] The system according to any one of Supplementary Notes 9 to 11, wherein the difference deletion means
[0174] specifies the first distance data where the difference data is equal to or greater than a difference threshold as first difference distance data,
[0175] specifies the predetermined point on the surface of the object corresponding to the first difference distance data as a first difference point,
[0176] specifies the second distance data where the difference data is equal to or greater than the difference threshold as second difference distance data,
[0177] specifies the predetermined point on the surface of the object corresponding to the second difference distance data as a second difference point,
[0178] specifies the predetermined point on the surface of the object adjacent to the first difference point as an adjacent first difference point,
[0179] specifies the predetermined point on the surface of the object adjacent to the second difference point as an adjacent second difference point,
[0180] calculates first predetermined difference distance data between the first difference point and the second difference point,
[0181] calculates second predetermined difference distance data between the adjacent first difference point and the adjacent second difference point,
[0182] calculates adjacent difference distance data between the second difference point and the adjacent second difference point,
[0183] calculates a first gradient by dividing the adjacent difference distance data by a distance obtained by subtracting the first predetermined difference distance data from the second predetermined difference distance data, and
[0184] when the first gradient is greater than a gradient threshold, deletes the first difference distance data.
(Supplementary Note 13)
[0185] A method comprising:
[0186] acquiring first distance data between a predetermined point on a surface of an object and a first measurement position outside the object;
[0187] acquiring second distance data between the predetermined point and a second measurement position outside the object;
[0188] calculating difference data between the first distance data and the second distance data; and
[0189] deleting a part of the first distance data or the second distance data on the basis of the difference data,
[0190] when the second distance data cannot be measured due to interruption by a part of the object, acquiring the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest.
(Supplementary Note 14)
[0191] A non-transitory computer readable medium storing a program causing a computer to perform:
[0192] acquiring first distance data between a predetermined point on a surface of an object and a first measurement position outside the object;
[0193] acquiring second distance data between the predetermined point and a second measurement position outside the object;
[0194] calculating difference data between the first distance data and the second distance data; and
[0195] deleting a part of the first distance data or the second distance data on the basis of the difference data,
[0196] when the second distance data cannot be measured due to interruption by a part of the object, acquiring the second distance data by assuming, as the predetermined point, an intersection point between a line connecting the predetermined point and the second measurement position and the surface of the object, at which a distance between the object and the second measurement position is shortest.
REFERENCE SIGNS LIST
[0197] 10 SYSTEM [0198] 11 PROCESSING DEVICE [0199] 111 ACQUISITION MEANS [0200] 112 DIFFERENCE CALCULATION MEANS [0201] 113 DIFFERENCE DELETION MEANS [0202] 12 DISTANCE MEASUREMENT DEVICE [0203] 13 FOREIGN BODY DETECTION DEVICE [0204] 51, 51a, 51b OBJECT [0205] 51a1, 51a2, 51b1, 51b2 END [0206] p1 FIRST MEASUREMENT POSITION [0207] p2 SECOND MEASUREMENT POSITION [0208] x1 INTERSECTION POINT [0209] pp, ppa, ppb PREDETERMINED POINT [0210] pp1 FIRST PREDETERMINED POINT [0211] pps1 FIRST SPECIFIC POINT [0212] ppss1 FIRST PREDETERMINED SPECIFIC POINT [0213] ppd DIFFERENCE POINT [0214] ppd1 FIRST DIFFERENCE POINT [0215] ppd2 SECOND DIFFERENCE POINT [0216] ppd1a ADJACENT FIRST DIFFERENCE POINT [0217] ppd2a ADJACENT SECOND DIFFERENCE POINT [0218] ppn PLURALITY OF POINTS [0219] d1, d11, d1a, d1b FIRST DISTANCE DATA [0220] d2, d21, d2a, d2b SECOND DISTANCE DATA [0221] d1r FIRST PREDETERMINED DISTANCE DATA [0222] dd DIFFERENCE DATA [0223] dd1 FIRST DIFFERENCE DISTANCE DATA [0224] dd2 SECOND DIFFERENCE DISTANCE DATA [0225] dd1r FIRST PREDETERMINED DIFFERENCE DISTANCE DATA [0226] dd2r SECOND PREDETERMINED DIFFERENCE DISTANCE DATA [0227] ddj ADJACENT DIFFERENCE DISTANCE DATA [0228] A, B, D IMAGE [0229] R PREDETERMINED DISTANCE [0230] L1, L2 LINE [0231] S1 SHADOW