Feature point addition device and feature point addition method
The feature point addition device and method address the challenge of synthesizing images of targets with few patterns by using a moving body with colored illumination units to add feature points, facilitating image synthesis and simplifying inspections.
Patent Information
- Application Number
- JP2023041768
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-03-16
AI Technical Summary
Existing techniques struggle to add feature points to images of targets with few distinctive patterns or shapes, making it difficult to synthesize captured images effectively.
A feature point addition device and method that uses a moving body equipped with an imaging unit and irradiation means, including pairs of illumination units with different colored light, to add feature points to the same position on the imaging target as the body moves, ensuring feature points are added even when the target has few patterns or shapes.
Enables effective image synthesis by adding feature points during imaging, allowing for seamless combination of images taken before and after, even on targets with minimal distinctive features, simplifying processes like concrete floor surface inspections.
Smart Images

Figure 0007955032000004 
Figure 0007955032000005 
Figure 0007955032000006
Abstract
Description
[Technical Field]
[0001] The present invention relates to a feature point addition device and a feature point addition method that add feature points to the image when combining preceding and succeeding captured images, each time a preceding or succeeding subject is captured. [Background technology]
[0002] Conventionally, when two corresponding points are designated as spatial feature points on two photographs of the object to be modeled, taken from different angles and positions, a technique is known to perform image synthesis (3D model creation) by matching these spatial feature points (see Patent Document 1). Furthermore, there is a known technique that involves pre-setting targets (feature points or feature regions) on the surface of a photographic object with few distinctive patterns or shapes, and then using these targets to understand changes over time such as cracks in the concrete through image analysis (see Patent Document 2). In other words, it is known that the feature points described above have traditionally been used in image synthesis. Furthermore, for example, when inspecting an object, the object's position is sequentially changed and images are taken continuously, and the images taken before and after the initial capture are combined. In such cases, feature points present in the preceding and succeeding images are used to combine the images. [Prior art documents] [Patent Documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2000-172884 [Patent Document 2] Japanese Patent Publication No. 2022-48482 [Overview of the project] [Problems that the invention aims to solve]
[0004] However, in the case of an imaging target with few characteristic patterns or shapes (for example, a concrete surface), it is difficult to extract feature points present in the captured images before and after, and there has been a problem that it is difficult to perform a process of synthesizing captured images using the feature points. In view of the above problems, an object of the present invention is to provide a feature point adding device and a feature point adding method capable of adding feature points when imaging an imaging target, so that a process of synthesizing captured images using feature points can be performed even when the imaging target has few patterns or shapes that can serve as feature points. [Means for Solving the Problems]
[0005] A feature point adding device according to the present invention includes: a moving body; an imaging unit provided on the moving body; and a feature point adding unit provided on the moving body, for adding a feature point to the same position on an imaging target every time the imaging unit images the imaging target as the moving body moves. The feature point addition means includes an irradiation means, The illumination means consists of multiple pairs of illumination means, each paired on the left and right sides of the moving body relative to the direction of movement, spaced apart along the front and rear of the moving body's direction of movement, on the side facing the object being photographed by the moving body. The color of the light emitted from each pair of illumination means is different. It is characterized by that. The feature point adding unit includes , Teru a mounting unit for mounting the irradiation unit to the moving body; and an irradiation control unit for controlling an irradiation position by the irradiation unit so as to irradiate the same position on the imaging target that is sequentially imaged by the imaging unit as the moving body moves from the start of movement. When a current imaging range of the imaging unit deviates from an imaging range in which the same position on the imaging target can be imaged, the irradiation control unit controls the irradiation position by the irradiation unit so as to add a feature point to a position on the imaging target within the current imaging range. The mounting unit includes: a moving body-side fixing member fixed to the moving body; orthogonal axes configured such that a first rotation axis and a second rotation axis are orthogonal to each other; a rotation driving source for the first rotation axis; a rotation driving source for the second rotation axis; and an irradiation unit fixing member to which the irradiation unit is fixed. The first rotation axis is rotatably attached to the moving body-side fixing member, and the irradiation unit fixing member is fixed to the second rotation axis such that the irradiation unit fixing member is rotatable around the second rotation axis, so that the irradiation unit is configured to be swingable in a traveling direction of the moving body and in a direction orthogonal to the traveling direction. The irradiation control means controls the rotation drive source based on movement information of the moving body, thereby controlling the irradiation position of the irradiation unit such that feature points are added to the same position of the imaging target that is sequentially imaged by the imaging unit as the moving body starts moving and travels, and when the current imaging range of the imaging unit deviates from the imaging range capable of capturing the same position of the imaging target, the irradiation position of the irradiation unit is controlled such that feature points are added to the position of the imaging target within the current imaging range. The irradiation unit is configured such that a pair of irradiation units provided on the side of the moving body facing the imaging target, on the left and right sides of the moving body in the traveling direction, are arranged in plurality at intervals along the front and rear direction of the moving body's traveling direction, and the colors of the irradiation light from each pair of irradiation units are different from each other. Furthermore, it is characterized by the fact that the subject of the photography is a concrete floor surface. The feature point adding method according to the present invention includes: A feature point addition method using a feature point addition device comprising a mobile body, a shooting means provided on the mobile body, and a feature point addition means provided on the mobile body, wherein the feature point addition means comprises an illumination means, and the illumination means is configured with a plurality of pairs of illumination means provided on the left and right sides of the mobile body in relation to the direction of travel of the mobile body on the side facing the object to be photographed, spaced apart along the front and rear in the direction of travel of the mobile body, and the color of the illumination light from each pair of illumination means is different, wherein the shooting means is sequentially changing the target position of the imaging target to perform continuous imaging; Steps and shooting methods each time imaging is performed, The feature point addition means adding a feature point to the same position of the imaging target. Steps including 。 According to the feature point adding device and the feature point adding method of the present invention, even when the imaging target has few patterns, shapes, or the like that can serve as feature points, feature points can be added during imaging of the imaging target. [Brief Description of Drawings]
[0006] [Figure 1] A perspective view showing a feature point creating device. [Figure 2] A perspective view showing a feature point adding unit. [Figure 3] An explanatory diagram of irradiation control by an irradiation control unit. [Figure 4] A flowchart showing drive control of a laser pointer. [Figure 5] An explanatory diagram showing the relationship between the angle of a laser pointer and the irradiation position. [Figure 6] A diagram modeling a movement path of a moving body when the moving body moves from point A to point B with a change in traveling direction. [Figure 7] This diagram models the relationship between the movement path of a moving object and the irradiation position of a laser pointer when the object moves from point A to point B while changing its direction of travel. [Figure 8] A flowchart illustrating a method for compositing photographs taken based on the movement of a moving object. [Figure 9] A flowchart illustrating a method for compositing photographs taken based on the movement of a moving object. [Modes for carrying out the invention]
[0007] The feature point addition method according to an embodiment of the present invention is a method in which, when the position of the object being photographed is sequentially changed and photographed continuously, a feature point is added to the same position of the object being photographed each time a photograph is taken. Then, by sequentially changing the position of the object being photographed and matching the feature points attached to each image taken before and after the initial image, it becomes possible to synthesize the images taken before and after the initial image. In this specification, up, down, left, right, front, and back are defined and explained as the directions shown in Figure 1.
[0008] A feature point addition device for realizing the feature point addition method according to the embodiment will be described with reference to Figure 1. As shown in Figure 1, the feature point addition device 1 comprises a mobile body 2, a photographic means such as a digital camera (hereinafter referred to as "camera") 3 provided on the mobile body 2, and a feature point addition means 4 provided on the mobile body 2 that adds a feature point to the same position on the subject each time the camera 3 photographs the subject 10 as the mobile body 2 moves. The object to be photographed (10) is one that has few patterns or shapes that can be used as feature points, such as a concrete floor surface that is subject to floor surface inspection.
[0009] The mobile body 2 is configured, for example, to include a base 20, legs 21, 21... extending downward from each of the four corners of the base 20, and wheels 22 as means of movement provided at the lower end of each leg 21, 21.... The base 20 is composed of, for example, a rectangular plate whose surface is positioned parallel to and opposite the object to be photographed 10. In the mobile body 2, for example, if one short side of the rectangular plate constituting the base 20 is the front side and the other short side of the rectangular plate constituting the base 20 is the rear side, at least one pair of wheels among the pair of wheels 22, 22 provided at the lower ends of the front legs 21, 21 provided on the front side and the pair of wheels 22, 22 provided at the lower ends of the rear legs 21, 21 provided on the rear side are configured as drive wheels driven by a motor 23, for example, which serves as a drive source. Figure 1 illustrates a rear-wheel-drive configuration in which the wheels 22, 22, located at the lower ends of the rear legs 21, 21, are configured as drive wheels. The camera 3, used as an imaging device, is fixed, for example, to the center of the lower (back) surface of the rectangular plate-shaped base 20.
[0010] As shown in Figures 1 and 2, the feature point addition means 4 comprises a movable irradiation means 4A and an irradiation control means 4B.
[0011] As shown in Figure 2, the movable irradiation means 4A is configured to include, for example, a laser pointer 5 as the irradiation means, and an attachment means 6 for attaching the laser pointer 5 to the mobile body 2.
[0012] The mounting means 6 is a means for attaching the laser pointer 5, which serves as an illumination means, to the mobile body 2 so that the laser pointer 5 can swing along the direction of travel F of the mobile body 2 (see Figure 1) and in a direction perpendicular to the direction of travel F. The mounting means 6 comprises a movable body side fixing member 60 fixed to the moving means 2 by fixing means such as screws (not shown), an orthogonal axis 63 configured such that the first rotation axis 61 and the second rotation axis 62 are orthogonal to each other, a first rotation drive source such as a servo motor (hereinafter referred to as "motor") 64 for rotating the first rotation axis 61, a second rotation drive source such as a servo motor (hereinafter referred to as "motor") 65 for rotating the second rotation axis 62, and an irradiation means fixing member 66 to which the laser pointer 5 is fixed. Furthermore, the first rotating shaft 61 is a rotating shaft configured to rotate around its centerline 61C, and the second rotating shaft 62 is a rotating shaft configured to rotate around its centerline 62C.
[0013] The movable body side fixing member 60 comprises a fixing portion 60a to the movable body 2 and support portions 60b and 60c provided so as to protrude from both ends in the longitudinal direction of the fixing portion 60a, which is formed, for example, in the shape of a rectangular plate. The irradiation means fixing member 66 comprises an irradiation means fixing portion 66a to which the laser pointer 5 as an irradiation means is fixed, and shaft connecting portions 66b and 66c that protrude from both ends in the longitudinal direction of the irradiation means fixing portion 66a, which is formed, for example, in the shape of a rectangular plate, and are fixed to both ends of the second rotation shaft 62.
[0014] The support portions 60b and 60c of the movable body side fixing member 60 extend toward the irradiation means fixing portion 66a of the irradiation means fixing member 66, and the axial connecting portions 66b and 66c of the irradiation means fixing member 66 extend toward the fixing portion 60a of the movable body side fixing member 60, and the movable body side fixing member 60 and the irradiation means fixing member 66 are arranged such that the longitudinal direction of the fixing portion 60a of the movable body side fixing member 60 and the longitudinal direction of the irradiation means fixing portion 66a of the irradiation means fixing member 66 are perpendicular to each other. Then, the motor 64, which serves as the first rotational drive source, is fixed to one support portion 60b of the movable body side fixing member 60, and the rotational centerline 61C of the first rotational shaft 61 is set to extend from the motor 64 toward the other support portion 60c of the movable body side fixing member 60. Furthermore, for example, a motor 65, which serves as a second rotational drive source, is positioned between the axial connecting portions 66b and 66c of the irradiation means fixing member 66, and a gap is provided between it and the inner surface of the irradiation means fixing portion 66a, so that the rotational centerline 62C of the second rotational shaft 62 extends from one axial connecting portion 66b toward the other axial connecting portion 66c. In other words, the laser pointer 5 is fixed to the outer surface of the irradiation means fixing part 66a, and the irradiation means fixing member 66 to which the laser pointer 5 is fixed is configured to be able to swing and rotate about the rotation center line 62C of the second rotation axis 62 as the center of rotation. Furthermore, a sufficient gap is provided between the lower surface of the motor 65 casing and the inner surface of the irradiation means fixing portion 66a, so that the irradiation means fixing portion 66a of the irradiation means fixing member 66 and the motor 65 casing do not interfere with each other during oscillating rotation around the rotation centerline 62C of the second rotation axis 62 of the irradiation means fixing member 66. Similarly, a sufficient gap is provided between the upper surface of the motor 65 casing and the inner surface of the fixing portion 60a of the movable body side fixing member 60, so that the motor 65 casing and the fixing portion 60a of the movable body side fixing member 60 do not interfere with each other during oscillating rotation around the rotation centerline 61C of the first rotation axis 61 of the irradiation means fixing member 66.
[0015] As described above, in the configuration where the motor 65 is positioned between the axial connecting portions 66b and 66c of the irradiation means fixing member 66, for example, the first rotating shaft 61 is composed of a motor-side connecting shaft 61a and a support shaft 61b, and the second rotating shaft 62 is composed of a motor-side connecting shaft 62a and a support shaft 62b. In this configuration, one end of the motor-side connecting shaft 61a is connected to the shaft (output shaft) of the motor 64, and the other end of the motor-side connecting shaft 61a is fixed to the casing of the motor 65. At the same time, one end of the support shaft 61b is rotatably connected to the other support portion 60c of the movable body-side fixing member 60, and the other end of the support shaft 61b is fixed to the casing of the motor 65. As a result, the centerlines of the motor-side connecting shaft 61a and the support shaft 61b coincide to form the centerline 61C of the first rotation axis 61. Furthermore, one end of the motor-side connecting shaft 62a is connected to the shaft (output shaft) of the motor 65, and the other end of the motor-side connecting shaft 62a is fixed to one shaft connecting portion 66b of the irradiation means fixing member 66, and one end of the support shaft 62b is fixed to the other shaft connecting portion 66c of the irradiation means fixing member 66, and the other end of the support shaft 61b is rotatably connected to the motor 65. As a result, the centerlines of the motor-side connecting shaft 62a and the centerlines of the support shaft 62b coincide to form the centerline 62C of the second rotation shaft 62. As described above, the first rotating shaft 61 rotates around its centerline 61C by driving the motor 64, and the second rotating shaft 62 rotates around its centerline 62C by driving the motor 65. Alternatively, one end of the motor-side connecting shaft 62a may be connected to the shaft (output shaft) of the motor 65, and the other end of the motor-side connecting shaft 62a may be fixed to one shaft connecting portion 66b of the irradiation means fixing member 66, while the other end of the support shaft 62b may be fixed to the motor 65, and the other shaft connecting portion 66c of the irradiation means fixing member 66 may be rotatably connected to one end of the support shaft 62b. In this case, by driving the motor 65, only the motor-side connecting shaft 62a of the second rotating shaft 62 will rotate around the center line 62C of the rotating shaft 62 as the center of rotation.
[0016] In other words, the movable irradiation means 4A is configured such that the laser pointer 5 oscillates and rotates around the center line 61C of the first rotation axis 61, and also oscillates and rotates around the center line 62C of the second rotation axis 62.
[0017] For example, as shown in Figure 1, the fixing portion 60a of the movable body side fixing member 60 is fixed to the lower surface (back surface) of the base 2 such that the center line 62C of the second rotation axis 62 extends toward the direction of travel F of the movable body 2, and the center line 61C of the first rotation axis 61 extends toward a direction perpendicular to the direction of travel F of the movable body 2 (left-right direction). Therefore, by driving the motor 64 and rotating the first rotating shaft 61, the laser pointer 5 swings along the direction of travel F of the moving body 2. Furthermore, by driving the motor 65, the second rotating shaft 62 and the irradiation means fixing member 66 rotate, causing the laser pointer 5 to swing along a direction perpendicular to the direction of travel F of the moving body 2 (left-right direction). In other words, the fixed part 60a of the movable irradiation means 4A is fixed to the lower surface of the base 20 of the mobile body 2 so that the laser pointer 5 can swing along the direction of travel F of the mobile body 2 and in a direction perpendicular to the direction of travel F.
[0018] The irradiation control means 4B controls the irradiation position M of the laser pointer 5 by controlling the motors 64 and 65 based on the movement information of the mobile body 2, in order to add feature points using laser light images to the same position on the target 10 that is sequentially photographed by the camera 3 as the mobile body 2 moves, and if the current shooting range of the camera 3 deviates from the shooting range that can photograph the same position on the target 10, the irradiation position M of the laser pointer 5 is controlled in order to add feature points using laser light images to the target position within the current shooting range. The irradiation control means 4B consists of a control program that controls the irradiation position M of the laser pointer 5 as the moving body 2 moves, based on a calculation formula described later, and hardware resources such as a computer that realize information processing by the control program.
[0019] As shown in Figure 1, the illumination means includes, for example, a pair of green laser pointers 50A, 50A (laser pointer 5) as front illumination means provided on the front left and right sides of the lower surface of the base 20 of the mobile body 2 that faces the object to be photographed 10, a pair of red laser pointers 50C, 50C (laser pointer 5) as rear illumination means provided on the rear left and right sides of the lower surface of the base 20, and a pair of blue laser pointers 50B, 50B (laser pointer 5) as central illumination means provided on the central left and right sides of the lower surface of the base 20. In other words, the laser pointers 5,5, which serve as a pair of front-side illuminating means, are configured to emit light of different colors from the laser pointers 5,5, which serve as a pair of rear-side illuminating means, and the laser pointers 5,5, which serve as a pair of central-side illuminating means.
[0020] In other words, the feature point addition means 4 is provided in multiple locations, for example, on the left and right edges of the lower surface of the rectangular plate-shaped base 20, at intervals along the front-to-back direction. For example, on the left and right edges of the lower surface of the base 20, three laser pointers 5 with different colored emitted light are provided at equal intervals along the front-to-back direction. For example, as shown in Figure 1, the two feature point addition means 4,4 provided on the left and right sides of the front of the lower surface of the base 20 are each equipped with a green laser pointer 50A, the two feature point addition means 4,4 provided on the left and right sides of the central of the lower surface of the base 20 are each equipped with a blue laser pointer 50B, and the two feature point addition means 4,4 provided on the left and right sides of the rear of the lower surface of the base 20 are each equipped with a red laser pointer 50C.
[0021] In other words, the feature point addition device 1 according to the embodiment is equipped with a movable irradiation means 4A, which is configured such that a mounting means 6 having two orthogonal rotation axes 61 and 62 is created, the fixing portion 60a of the movable body side fixing member 60 of the mounting means 6 is fixed to the lower surface of the base 20 of the movable body 2, and a laser pointer 5 is fixed to the fixing portion 66a of the irradiation means fixing member 66 of the mounting means 6. The multiple movable illumination means 4A, 4A... are positioned around the camera 3 so that the laser light from the laser pointers 5, 5... of the multiple movable illumination means 4A, 4A... is projected onto the object to be photographed 10.
[0022] The irradiation control means 4B controls the rotation of the first rotation axis 61 and the second rotation axis 62 by controlling the servo motors 64 and 65 so that each laser pointer 5, 5... points (irradiates) to the same predetermined position on the target object 10, based on information such as the odometry of the mobile body 2 (one of the self-position and attitude estimation methods, which estimates the current position and attitude of the mobile body by integrating the rotation angle of the wheels per unit time). In other words, the irradiation control means 4B, for example, links the odometry of the moving body 2 with the rotation control of the first rotation axis 61 and the second rotation axis 62, thereby enabling control to point (irradiate) the same position on the target object 10 with each laser pointer 5, 5... Furthermore, since the rotation of the first rotation axis 61 and the second rotation axis 62 is controlled by servo motors 64 and 65, the orientation of the laser pointer 5 after the rotation of the first rotation axis 61 and the second rotation axis 62 is maintained.
[0023] Furthermore, if the irradiation position of the laser pointer 5 is located outside the shooting range of the camera 3, the irradiation control means 4B resets the orientation of the laser pointer 5 to its initial state, thereby irradiating the target location within the current shooting range and adding feature points to the target location within the current shooting range.
[0024] Based on Figure 3, the irradiation control by the irradiation control means 4B will be explained. First, as shown in Figure 3(a), before the moving body 2 moves along the direction of travel F, the green laser pointers 50A, 50A as a pair of front-side illuminating means, the blue laser pointers 50B, 50B as a pair of central-side illuminating means, and the red laser pointers 50C, 50C as a pair of rear-side illuminating means are controlled to illuminate the same predetermined illumination position M on the target 10 within the shooting range A. Next, as the moving body 2 moves along the direction of travel F, if the illumination position M that was illuminated by the red laser pointers 50C, 50C moves out of the camera 3's shooting range A, as shown in Figure 3(b), the attitude of the red laser pointers 50C, 50C is reset to its initial attitude 5P, and the red laser pointers 50C, 50C are controlled to illuminate a new illumination position M within the camera 3's current shooting range A. At the same time, the green laser pointers 50A, 50A and the blue laser pointers 50B, 50B are controlled to illuminate the same illumination position M within the camera 3's current shooting range A, respectively. Furthermore, as the moving body 2 moves along the direction of travel F, if the illumination position M that was illuminated by the blue laser pointers 50B, 50B moves out of the camera 3's shooting range A, as shown in Figure 3(c), the orientation of the blue laser pointers 50B, 50B is reset to the initial orientation 5P, and the blue laser pointers 50B, 50B are controlled to illuminate a new illumination position M within the camera 3's current shooting range A. At the same time, the green laser pointers 50A, 50A and the red laser pointers 50C, 50C are controlled to illuminate the same illumination position M within the camera 3's current shooting range A, respectively.
[0025] As a result of the irradiation control by the irradiation control means 4B described in Figure 3, the captured images taken by the camera 3 will be, for example, the images shown in P1, P2, and P3 in Figure 3. Therefore, when combining captured image P1 and captured image P2, the images can be combined by matching the green laser beam image Mg captured at the irradiation position M in captured image P1 with the green laser beam image Mg captured at the irradiation position M in captured image P2, or by matching the blue laser beam image Mb captured at the irradiation position M in captured image P1 with the blue laser beam image Mb captured at the irradiation position M in captured image P2. Next, when combining captured image P2 and captured image P3, the green laser beam image Mg captured at the irradiation position M in captured image P2 is matched with the green laser beam image Mg captured at the irradiation position M in captured image P3, or the red laser beam image Mr captured at the irradiation position M in captured image P2 is matched with the red laser beam image Mr captured at the irradiation position M in captured image P3. As described above, the captured images P1, P2, and P3 can be combined. In the example shown in Figure 3, all three laser beam images—green (Mg), blue (Mb), and red (Mr)—are captured in each image. In this case, the colors of the laser pointers before and after the reset should not be used during image synthesis, and it is necessary to decide in advance which laser pointer color to prioritize during image synthesis. When compositing images, one approach to prioritizing the laser pointer color is to use the color closest to the center of the image. For example, in Figures 3(a) and 3(b), both Mg and Mb are feature points that can be used for compositing. In this case, the average of the distances between the Mg positions (left and right) of captured image P1 and the centroid of captured image P1, and the distances between the Mg positions (left and right) of captured image P2 and the centroid of captured image P2, can be calculated. The same calculation can be performed for Mb, and the color with the smaller value can be used. Furthermore, in the example shown in Figure 3, it is also possible to combine the two colors other than the laser pointer color before and after the reset. For example, it may be possible to combine them more accurately by taking the average of each point. In this case, the processes of steps S21 and S22 in Figure 9, which will be described later, can be performed for each color, and the average of the combination position (x coordinate, y coordinate, angle) can be taken and the combination performed at that position.
[0026] In other words, when combining captured images, if, for example, a laser beam image (point-like image) of the same color is captured in both of two adjacent captured images, that laser beam image is treated as a feature point and combined. Since this laser beam image contains characteristic points of a color clearly different from that of the concrete surface, which is the target object 10, it becomes easy to perform image synthesis processing that automatically extracts and combines this laser beam image, for example, as shown in Figures 8 and 9 below.
[0027] The main purpose of the feature point addition method and feature point addition device 1 according to this embodiment is to install a swing-type (swing-type) laser pointer 5 on a moving body 2 and control the irradiation position of the laser pointer 5 by controlling motors 64 and 65 in accordance with the movement of the moving body 2, thereby controlling the camera 3 to irradiate the target object 10 with the laser light from the laser pointer 5 at the same position on the target object each time it is photographed. In this way, the image of the laser beam is added as a feature point to the same position of the object 10 in each image taken before and after, so when combining the images taken before and after, the images can be combined by matching the image of the laser beam captured in the preceding and succeeding images as feature points. In other words, by illuminating the subject 10, which has few feature points, with light during shooting to add feature points, it is now possible to add feature points for image synthesis at the time of shooting, even if the subject 10 is a subject with few patterns or shapes that can serve as feature points. This makes it possible to photograph the subject 10, which has few feature points, and synthesize the resulting images. In other words, even if the subject 10 is a subject with few patterns or shapes that can serve as feature points, it becomes possible to perform image synthesis processing using the feature points added to the subject 10 during shooting. For example, in the inspection of concrete floor surfaces with few patterns or shapes that can serve as feature points, it becomes possible to perform image synthesis processing using feature points added during the imaging of the concrete floor surface, making concrete floor surface inspections simple and easy.
[0028] Furthermore, if the same position on the object being photographed 10, which was being illuminated by the laser pointer 5, moves out of the shooting range, the irradiation position of the laser pointer 5 can be reset to its initial position, allowing feature points to continue to be added.
[0029] Furthermore, since laser beam images (point-like images) are added as feature points, feature point extraction becomes easier compared to extracting characteristic patterns or shapes as feature points, thus simplifying image synthesis processing.
[0030] Next, an example of drive control for the laser pointer 5 will be explained based on the flowchart in Figure 4. First, the angles θ0 and θ1 (see Figures 5(a) and 5(b)) of the servo motors 64 and 65 that drive the laser pointer 5 are set to their initial positions (-90° and 0°) respectively (Step S1). Next, x, y, and L (see 5(c)) are determined from θ0 and θ1 before the movement using equations (1), (2), (3), and (4) described later (Step S2). Then, the mobile body 2 is moved. At this time, the change in the count value of an encoder (not shown) attached to the wheel 22 of the mobile body 2 is measured (step S3). Using the change in the encoder count value, θ can be calculated using equations (12) and (13) described later. a ,θ b Calculate S (see Figure 6) (step S4). θ a ,θ b Using S, x, y, and L, and equation (18) described later Bs P Mis calculated (step S5). Then, Bs P M it is determined whether or not the coordinate value of indicates a position outside the imaging range (step S6). Based on the determination in step S6, Bs P M if the coordinate value of is not outside the imaging range (No in step S6), Bs P M the post-movement θ0 and θ1 are calculated from using equations (5) and (6) (step S7), and the angles of the servo motors 64 and 65 for driving the laser pointer 5 are adjusted to θ0 and θ1 (step S8). Thereafter, the process returns to step S3. Based on the determination in step S6, Bs P M if the coordinate value of is outside the imaging range (Yes in step S6), the angles θ0 and θ1 of the servo motors 64 and 65 for driving the laser pointer 5 are each adjusted to the reset position (-60°, 0°) (step S9). Thereafter, the process returns to step S2. That is, in step S6, when the irradiation position M irradiated by the laser pointer 5 deviates from the imaging range A of the camera 3, the irradiation posture of the laser pointer 5 is reset to the initial posture, and when the irradiation position M irradiated by the laser pointer 5 is located within the imaging range A of the camera 3, the irradiation posture of the laser pointer 5 is controlled so as to follow the movement of the moving body 2 and irradiate the same position of the imaging target 10 with the laser beam of the laser pointer 5.
[0031] Steps S1 and S2 will be described. FIG. 5(a) is a diagram illustrating a case where the coordinate system attached to the moving body-side fixing member 60 is rotated by θ0° around the X0 axis (around the center line 61C). FIG. 5(b) is a diagram illustrating a case where the coordinate system attached to the first rotating shaft 61 is rotated by θ1° around the X1 axis (around the center line 62C). FIG. 5(c) is a diagram illustrating a case where the coordinate system attached to the laser pointer 5 is translated by L in the Y3 axis direction. The operations shown in Figures 5(a), (b), and (c) can be expressed in terms of a matrix as shown in equation (1) below. By expanding and manipulating equation (1), the functions for calculating each value described later can be derived. If θ0 and θ1 are known, but the location being pointed (illuminated) by the laser pointer 5 is unknown, the coordinates of the illumination position M as seen from the coordinate system of the moving body-side fixing member 60 can be found by substituting the values of θ0 and θ1 into equations (2), (3), and (4) shown in Equation 1 below. However, since the height at which the laser pointer 5 is installed is assumed to be constant and the ground is always assumed to be a plane, the z-coordinate is assumed to be known. Furthermore, if the coordinates of the irradiation point as seen from the coordinate system of the movable body-side fixed member 60 are known, including the laser beam length L, but θ0 and θ1 are unknown, the angles θ0 and θ1 can be determined by substituting the values for x, y, and z in equations (5) and (6) shown in Equation 1 below.
number
[0032] Next, steps S3 and S4 will be explained. When the moving object 2 moves from point A to point B with a change in direction of travel, the movement path of the moving object 2 is modeled as shown in Figure 6. Furthermore, it is assumed that the interval for measuring the change in the encoder count value is short enough that the angular velocity of wheel 22 can be considered constant. Also, it is assumed that phenomena such as wheel 22 slipping, like drift, do not occur.
[0033] First, C l and C r From the relationship between and θ0, we construct the system of equations (7), (8), and (9) shown in equation 2 below, and find θ0. Also, the distance traveled by the left wheel C l , distance traveled by the right wheel C r This is calculated from the change in the encoder count value and the diameter of the wheel 22, based on equations (10) and (11) shown in the following equation 2. Furthermore, as a prerequisite, it is assumed that both wheels are rotating at a constant angular velocity, so θ a and θ bAs shown in equation (12) in the following number 2, they become equal. Furthermore, in Figure 6, triangle ABO is an isosceles triangle. Also, the length of each equal side is R + r / 2. Connecting the midpoint of line S to point O creates two right triangles. From this, equations (13) and (14) shown in Equation 2 below hold true, and S can be found. Furthermore, if C l and C r If the values are exactly the same, exceptionally, the calculation is performed as shown in equations (15) and (16) in the following equation 2.
number
[0034] Furthermore, the definitions of the variables in each equation shown in Equation 2 are as follows: • The increase in encoder count value when the wheel rotates once E c (Known) • Increase / decrease in the encoder count value of the left wheel E l (Known (measured using an encoder)) • Increase / decrease in encoder count value of the right wheel E r (Known (measured using an encoder)) • Wheel diameter D (known) • Distance traveled by the left wheel C l (unknown) • Distance traveled by the right wheel C r (unknown) • The linear distance S of the moving object (unknown (the value we ultimately want to find in this calculation)) • The amount of change in the angle of the direction of movement of the moving object θ0 (unknown) • Change in angle θ of the direction of motion of the moving object before it moves in the movement model. a (Unknown (the value we ultimately want to find in this calculation)) • The change in the angle of the direction of motion of the moving object after it has moved, θ, in the movement model. b (Unknown (the value we ultimately want to find in this calculation)) • Distance R from the center of rotation to the left wheel (unknown) • Distance r from the left wheel to the right wheel (known)
[0035] The above example of a self-position estimation method for the moving object 2 uses "dead reckoning" with an encoder as a sensor, but other self-position estimation methods may also be used. For example, a self-position estimation method using an "extended Kalman filter" may be used.
[0036] Step S5 Bs P M The calculation method will be explained. Bs P M This can be expressed by equation (17) shown in equation 3 below, and can be simplified to equation (18). Using this equation (18), Bs P M It is possible to find this.
number
[0037] Furthermore, when the moving object 2 moves from point A to point B with a change in direction of travel, the relationship between the movement path of the moving object 2 and the irradiation position M by the laser pointer 5 is modeled as shown in Figure 7, and the definitions of the variables in equations (17) and (18) shown in Equation 3 are as follows. ·ΔX; Laser coordinate system B s Moving coordinate system B as seen from the origin r Distance in the X-axis direction to the origin ·ΔY; Laser coordinate system B s Moving coordinate system B as seen from the origin r Distance in the Y-axis direction to the origin ·-ΔX; Moving object coordinate system A r Laser coordinate system A as seen from the origin s Distance in the X-axis direction to the origin ·-ΔY; Moving object coordinate system A r Laser coordinate system A as seen from the origin s Distance in the Y-axis direction to the origin ·θ a ;On the movement path model, the turning angle performed before moving forward. ·θ b ; Turning angle after forward movement on the movement path model ·θl Laser coordinate system A s The angle at which the laser is irradiated, as seen from that perspective. ·L; Laser coordinate system A s Distance from the viewpoint to the position where the laser is being emitted. ·S;Advance distance ·M; Laser coordinate system A s Point position as seen from the origin · Bs P M Laser coordinate system B s The position of M as seen from the origin (the value we ultimately want to find in this calculation)
[0038] As described above, the irradiation control of the laser pointer 5 is performed based on the movement of the mobile body 2, and an example of a method for combining the photograph (captured image) taken by the camera 3 will be explained with reference to Figures 8 and 9. In other words, the feature point addition device 1 according to this embodiment includes an image processing means comprising, for example, an image synthesis processing program that implements the image synthesis processing shown in the flowcharts of Figures 8 and 9, and hardware resources such as a computer that implement information processing by the image synthesis processing program. The image processing means first sets n to 1 (step S11), and then extracts the nth photograph P and the (n+1)th photograph P from the recorded photographs (step S12). In other words, for example, the first photograph taken and the second photograph taken are extracted. The red image component R is extracted from the nth photograph P and the (n+1)th photograph P, and then binarized (step S13). The green image component G is extracted from the nth photograph P and the (n+1)th photograph P, and then binarized (step S14). The blue image component B is extracted from the nth photograph P and the (n+1)th photograph P, and then binarized (Step S15). Next, the process proceeds to step S16, where it is determined whether there exists an image among the binarized images of each color in which the nth image contains two dots and the (n+1)th image also contains two dots. If it is determined in step S16 that no matching image exists (No in step S16), then an image cannot be synthesized based on the feature points added by the laser pointer 5, and the process proceeds to exception handling (step S25). If it is determined in step S16 that a matching image exists (Yes in step S16), then that image is selected (step S17). In the example in Figure 4, the image from which the red image component R has been extracted is selected. Next, the centroid of the nth selected binarized image is determined. Then, of the two centroids, the one shifted to the left (the centroid of the leftmost point) is assigned the number 'a', and the one shifted to the right (the centroid of the rightmost point) is assigned the number 'b' (Step S18). Similarly, find the centroid of the (n+1)th selected binarized image point. Then, assign the leftmost centroid (the centroid of the leftmost point) to c and the rightmost centroid (the centroid of the rightmost point) to d (Step S19). Define a vector connecting the centroids (a→b, c→d) of the nth selected binarized image and the (n+1)th binarized image (Step S20). Then, the (n+1)th binarized image is tilted so that the slope of vector a→b is the same as the slope of vector c→d of the (n+1)th binarized image (step S21). Furthermore, the position of the (n+1)th binarized image is moved so that the sum of the lengths of the line segments connecting a and c, and the line segments connecting b and d, is minimized (step S22). With the above steps, the synthesis of the nth photograph P and the (n+1)th photograph P is complete. Next, n is set to n←n+1 (step S23). Then, it is determined whether or not the nth photo exists (step S24). If it is determined in step S24 that the nth photo exists (Yes in step S24), the process returns to step S12 and steps S12 to S24 are repeated. If it is determined in step S24 that the nth photograph does not exist (No in step S24), the process terminates. As a result, it is possible to combine photographs (captured images) taken before and after the initial shot.
[0039] In the above example, a feature point addition device 1 was used, which utilizes three sets of pairs of laser pointers 5,5 with different laser light colors. However, it is also possible to use only two sets of pairs of laser pointers 5,5 with different laser light colors. In other words, the illumination means comprises a pair of front illumination means provided on the left and right sides of the front of the base facing the object to be photographed, which is mounted on the moving body, and a pair of rear illumination means provided on the left and right sides of the rear of the base, and the illumination means should be set so that the color of the light emitted from the pair of front illumination means and the color of the light emitted from the pair of rear illumination means are different colors. Alternatively, four or more sets of left and right laser pointers 5,5 may be provided, and the color of the laser beam may be different for each set of left and right laser pointers 5,5. In other words, in the present invention, the illumination means is configured such that a pair of illumination means are provided on the side of the moving body facing the object to be photographed, with each pair on the left and right sides relative to the direction of travel of the moving body, and multiple pairs of illumination means are provided at intervals along the front and rear of the direction of travel of the moving body, and the color of the illumination light from each pair of illumination means should be set to be a different color.
[0040] Furthermore, although the embodiment shows an example in which a shooting means and an illumination means are mounted on a moving body and the irradiation posture of the illumination means is controlled by moving the shooting means, the feature point addition method and feature point addition apparatus according to the present invention can also be applied when the shooting means and illumination means are fixed and the object to be photographed is moved. [Explanation of Symbols]
[0041] 1. Feature point addition device, 2. Mobile body, 3. Camera (shooting means), 4. Feature point addition means, 4B Irradiation control means, 5 Laser pointer (irradiation means), 6 Mounting means, 10 Target to be photographed, 20 Base of the mobile body, 50A Laser pointer (front-side illumination means), 50B Laser Pointer (Center-side Irradiation Mechanism), 50C Laser pointer (rear-side irradiation means), 60 Moving body side fixing member, 61 First axis of rotation, 62 Second axis of rotation, 63 Orthogonal axis, 64. Motor (rotational drive source for the first rotating shaft), 65 Motor (rotation drive source for the second rotating shaft), 66 Irradiation means fixing member, F: Direction of movement of the moving object.
Claims
1. The system comprises a mobile body, a shooting means provided on the mobile body, and a feature point adding means provided on the mobile body that adds a feature point to the same location on the target each time the shooting means photographs the target as the mobile body moves. The feature point addition means includes an irradiation means, The illumination means is configured such that, on the side of the moving body facing the object being photographed, a pair of illumination means are provided on the left and right sides relative to the direction of travel of the moving body, and multiple pairs of illumination means are provided at intervals along the front and rear of the direction of travel of the moving body. A feature point addition device characterized in that the color of the light emitted from each pair of irradiation means is different.
2. The feature point addition means is, Mounting means for attaching the irradiation means to a mobile body, The feature point addition device according to claim 1, further comprising: an irradiation control means that controls the irradiation position of the irradiation means so as to illuminate the same position of the object being photographed sequentially by the photographing means from the start of movement through the movement.
3. The feature point adding device according to claim 2, characterized in that the irradiation control means controls the irradiation position by the irradiation means so as to add feature points to the target location within the current shooting range when the current shooting range by the shooting means deviates from the shooting range that can photograph the same position of the target.
4. The mounting means is, A fixing member on the moving body that is fixed to the moving body, An orthogonal axis configured such that the first axis of rotation and the second axis of rotation are orthogonal, The first rotating shaft's rotational drive source, The rotational drive source for the second rotating shaft, The irradiation means is fixed to an irradiation means fixing member, The feature point adding device according to claim 2, characterized in that the first rotation axis is rotatably attached to the fixed member on the moving body side, and the irradiation means fixed member is fixed to the second rotation axis and the irradiation means fixed member is configured to be rotatable around the second rotation axis, thereby enabling the irradiation means to swing in the direction of travel of the moving body and in a direction perpendicular to the direction of travel.
5. The feature point adding device according to claim 4, wherein the irradiation control means controls the rotation drive source based on the movement information of the moving body, thereby controlling the irradiation position by the irradiation means so as to add feature points to the same position of the target being photographed sequentially by the imaging means as the moving body moves, and if the current shooting range of the imaging means deviates from the shooting range in which the same position of the target being photographed can be photographed, the irradiation position of the irradiation means is controlled so as to add feature points to the position of the target being photographed within the current shooting range.
6. The feature point addition device according to claim 1, characterized in that the object to be photographed is a concrete floor surface.
7. A mobile body comprising a shooting means provided on the mobile body and a feature point adding means provided on the mobile body, The feature point addition means includes an irradiation means, The illumination means is configured such that, on the side of the moving body facing the object being photographed, a pair of illumination means are provided on the left and right sides relative to the direction of travel of the moving body, and multiple pairs of illumination means are provided at intervals along the front and rear of the direction of travel of the moving body. A feature point addition method using a feature point addition device in which the color of the illumination light from each pair of illumination means is different, The shooting method involves a step in which the shooting means sequentially changes the position of the target object and takes continuous shots, A method for adding feature points, characterized by including the step of adding feature points to the same location on the object being photographed each time the photographing means takes a photograph.
Citation Information
Patent Citations
Generating method for three-dimensional model
JP2000172884A
Laser tracker
JP2013083546A
Road drawing lamp unit
JP2016107761A
Unevenness adjustment robot for concrete floor surface
JP2016176203A
Multiple-image photographing system, photographing apparatus, and image processing apparatus
JP2016208294A
