Image capture device and method for controlling image capture device
The imaging system addresses the challenge of maintaining uniform resolution and accurate deformation inspection by adjusting the imaging device's orientation based on defocus amounts, ensuring direct facing and uniform imaging conditions.
Patent Information
- Application Number
- JP2020070563
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-04-09
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2040-04-09
AI Technical Summary
Existing imaging techniques for social infrastructure inspections face challenges in maintaining uniform resolution and accurately inspecting deformations, such as cracks, when the imaging device is not directly facing the inspection surface, especially when large angles are involved, and moving laterally to cover a wide range.
An imaging system that acquires defocus amounts at multiple positions within the imaging range, uses a table to notify users of the rotation direction and degree of rotation based on defocus differences, and adjusts the imaging device to directly face the target surface by rotating and translating it.
Enables accurate imaging of social infrastructure structures by ensuring the imaging device is directly facing the surface, allowing for uniform inspection conditions across a wide range.
Smart Images

Figure 0007560953000001 
Figure 0007560953000002 
Figure 0007560953000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an imaging technique, and more particularly to an imaging technique for images used for inspecting social infrastructure structures. [Background technology]
[0002] In imaging for social infrastructure inspections, which are carried out on a wide range of surfaces, it is desirable to perform imaging with uniform resolution on the image in order to inspect the defects of the surface under the same conditions. For this reason, imaging is performed to obtain an image in a state in which the surface is directly opposed to the surface to be inspected, or image processing is performed to obtain an image in a state in which the surface is directly opposed after imaging. In addition, in order to image a wide range of surfaces to be inspected, the imaging device is moved and imaging is also performed on adjacent surfaces to be inspected. In Patent Document 1, in order to measure the inclination of the subject surface, distance measurement is performed on each area based on contrast data of areas arranged on the top, bottom, left, and right of the imaging element and the corresponding AF drive amount of the lens. Then, the degree of direct facing of the subject surface and the imaging device is detected from the results of distance measurement on each area, and the imaging surface of the imaging device is shifted and tilt imaging is performed. As a result, even if the imaging device itself is not installed directly facing the subject surface, an image is obtained as if it was taken in a directly facing state. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2003-185902 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, when the angle of the imaging device with respect to the surface to be inspected is large, the cracks and other defects on the surface to be inspected are observed from an oblique direction. For this reason, even when tilt imaging or image processing for facing the object is performed, if there is an angle in the direction in which the defect occurs or in the depth direction, it is not possible to correctly inspect the crack width, etc. Furthermore, when the imaging device is moved laterally to image a wide range of the surface to be inspected, if the imaging device is not facing the surface to be inspected, the distance to the surface to be inspected gradually changes. As a result, it is not possible to image a wide range of the surface to be inspected under uniform conditions. The present invention provides a technology for imaging the object to be imaged by facing the object to be imaged. [Means for solving the problem]
[0005] According to one aspect of the present invention, there is provided an imaging device, comprising: an acquisition unit for acquiring defocus amounts at a plurality of positions within an imaging range of the imaging device; from a table in which notification information for notifying a user of a rotation direction and / or a degree of rotation of the imaging device is registered for each difference in defocus amount, The difference in the defocus amount acquired by the acquisition means A notification method for obtaining corresponding notification information and notifying a user of the obtained notification information. Means and The present invention is characterized by comprising: Effect of the Invention
[0006] According to the configuration of the present invention, it is possible to capture an image of an object by facing the object directly. [Brief description of the drawings]
[0007] [Figure 1A] 2 is a block diagram showing an example of the hardware configuration of the camera device 100 and the lens device 113. [Figure 1B] FIG. 2 is a block diagram showing an example of the functional configuration of the camera device 100. [Diagram 2] FIG. 2 is a block diagram showing an example of the hardware configuration of the camera head device 200. [Diagram 3] 1 is a block diagram showing an example of the hardware configuration of the drone device 300 and the hardware configuration of the controller device 329. [Figure 4] 1A to 1C are diagrams for explaining an imaging method for imaging a social infrastructure structure. [Diagram 5] FIG. 4 is a diagram showing a configuration for acquiring a defocus amount. [Figure 6A] 3A to 3C are diagrams relating to rotation control of the camera device 100. [Figure 6B] FIG. 6 shows an example of the configuration of a table 615. [Figure 7] 4 is a flowchart of the operation of the imaging system. [Figure 8] A diagram illustrating a switch 801, a drone device 300, and a controller device 329. [Figure 9A] 4 is a flowchart of the operation of the imaging system. [Figure 9B] 11 is a flowchart showing details of the process in step S910. [Figure 10] FIG. 10 is a diagram for explaining a button 1001. [Figure 11] FIG. 13 is a diagram for explaining a fourth embodiment. [Figure 12] 5A to 5C are diagrams for explaining a procedure for calculating the distance between the camera device 100 and a subject from the defocus amount. [Figure 13] 5A to 5C are diagrams for explaining a procedure for calculating a parallel translation amount. [Figure 14A] 13A to 13C are diagrams for explaining a series of operations for rotating and translating a point of interest 1301 so as to face the surface to be inspected while capturing the point of interest 1301 within the imaging range. [Figure 14B] 13A to 13C are diagrams for explaining a series of operations for rotating and translating a point of interest 1301 so as to face the surface to be inspected while capturing the point of interest 1301 within the imaging range. [Figure 14C] 13A to 13C are diagrams for explaining a series of operations for rotating and translating a point of interest 1301 so as to face the surface to be inspected while capturing the point of interest 1301 within the imaging range. [Figure 15] 4 is a flowchart of the operation of the imaging system. [Figure 16] FIG. 16 is a diagram showing an example in which rotation control is performed for incorrect orientation of an inspection target surface 1601 based on the defocus amount. [Figure 17A] 3A to 3C are diagrams for explaining a method in which a user operates the camera device 100 to set a position for obtaining a defocus amount. [Figure 17B]3A to 3C are diagrams for explaining a method in which a user operates the camera device 100 to set a position for obtaining a defocus amount. [Figure 18] 4 is a flowchart of the operation of the imaging system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0009] [First embodiment] First, an imaging system according to the present embodiment will be described. The imaging system according to the present embodiment is for imaging an inspection target surface of a structure that is a target of social infrastructure inspection, and in particular for easily realizing frontal imaging of the inspection target surface. The imaging system according to the present embodiment includes a camera device as an imaging device that captures moving images or captures still images periodically / irregularly, a lens device attached to the camera device, and a pan head device that rotates the camera device.
[0010] First, an example of the hardware configuration of the camera device 100 and the lens device 113 according to this embodiment will be described with reference to the block diagram of Fig. 1A. Fig. 1A shows a state in which the lens device 113 is attached to the camera device 100.
[0011] First, a description will be given of an example of the hardware configuration of the camera device 100. The camera device 100 according to this embodiment acquires defocus amounts at multiple positions within the imaging range of the camera device 100, acquires information instructing the rotation of the camera device 100 based on the difference between the acquired defocus amounts, and outputs the acquired information.
[0012] A CPU (Central Processing Unit) 101 executes various processes using computer programs and data stored in a ROM (Read-Only Memory) 102 and a RAM (Random Access Memory) 103. As a result, the CPU 101 controls the overall operation of the camera device 100, and also executes or controls each process to be described later as being performed by the camera device 100.
[0013] The ROM 102 stores setting data for the camera device 100, computer programs and data related to the startup of the camera device 100, computer programs and data related to the basic operations of the camera device 100, and the like.
[0014] The RAM 103 has areas for storing computer programs and data read from the ROM 102, and computer programs and data read from a memory card 109 via a recording medium I / F 108. The RAM 103 also has areas for storing captured images output from the image sensor 104, computer programs and data received from an external device via an external I / F 110, and data received from the lens device 113 by a camera communication unit 107. The RAM 103 also has a work area used when the CPU 101 executes various processes. In this way, the RAM 103 can provide various areas as appropriate.
[0015] The imaging element 104 is a two-dimensional array of light receiving elements, and generates and outputs a captured image according to light incident via the lens device 113. The display unit 105 is a device such as a liquid crystal display (LCD) or an organic light emitting display (OLED) that displays images and characters on a display screen or a finder screen. Note that the display unit 105 does not have to be included in the camera device 100, and may be, for example, an external device capable of wireless and / or radio communication with the camera device 100.
[0016] The operation unit 106 is a user interface such as a button, a dial, a touch panel, a joystick, etc., and the user can input various instructions to the CPU 101 by operating it.
[0017] The camera communication unit 107 performs data communication between the camera device 100 and the lens device 113. The recording medium I / F 108 is an interface for mounting a memory card 109 in the camera device 100, and the CPU 101 reads and writes data from and to the memory card 109 via the recording medium I / F 108.
[0018] Known examples of the memory card 109 include card-type recording media such as SD, CF, CFexpress, XQD, and CFast. The memory card 109 may also be one that records data in an external device via a wireless network.
[0019] The external I / F 110 is a communication interface for performing data communication with an external device, and the CPU 101 performs data communication with the external device via the external I / F 110. The power supply unit 111 supplies power to the camera device 100 and manages the power supply.
[0020] The CPU 101 , ROM 102 , RAM 103 , image sensor 104 , display unit 105 , operation unit 106 , camera communication unit 107 , recording medium I / F 108 , external I / F 110 , and power supply unit 111 are all connected to a system bus 112 .
[0021] Next, a description will be given of an example of the hardware configuration of the lens device 113. The CPU 114 executes various processes using computer programs and data stored in the ROM 115 and the RAM 116. As a result, the CPU 114 controls the operation of the entire lens device 113, and also executes or controls each process to be described later as being performed by the lens device 113.
[0022] The ROM 115 stores setting data for the lens apparatus 113, computer programs and data related to the startup of the lens apparatus 113, computer programs and data related to the basic operation of the lens apparatus 113, and the like.
[0023] The RAM 116 has an area for storing computer programs and data read from the ROM 115, and data received from the camera device 100 by the lens communication unit 119. The RAM 116 also has a work area used when the CPU 114 executes various processes. In this way, the RAM 116 can provide various areas as needed.
[0024] The lens communication unit 119 performs data communication between the camera device 100 and the lens device 113. For example, the lens communication unit 119 receives control information from the camera device 100 to the lens device 113, communicates the operating state of the lens device 113 to the camera device 100, and receives power supply from the camera device 100.
[0025] The display unit 117 is a liquid crystal display (LCD), an organic light emitting display (OLED), or the like, and is a device that displays the operating state, etc., of the lens device 113. Note that the display unit 117 does not have to be provided in the lens device 113, and may be, for example, an external device capable of wireless and / or radio communication with the lens device 113.
[0026] The operation unit 118 is a user interface such as a button, a dial, a touch panel, a joystick, etc., and the user can operate it to input various instructions to the CPU 114. In addition, the instructions input by the user operating the operation unit 118 can also be transmitted to the camera device 100 by the lens communication unit 119.
[0027] The lens driving unit 120 controls the optical lens of the lens device 113 based on instructions from the CPU 101 or CPU 114, thereby controlling the aperture, focus, zoom focus, camera shake correction, etc. After the aperture, focus, zoom focus, camera shake correction, etc. are controlled by the lens driving unit 120, the light that enters through the optical lens is received by the imaging element 104, and the imaging element 104 generates and outputs a captured image according to the received light.
[0028] The CPU 114 , the ROM 115 , the RAM 116 , the lens communication unit 119 , the display unit 117 , the operation unit 118 , and the lens driving unit 120 are all connected to a system bus 121 .
[0029] Next, an example of the hardware configuration of the camera head device 200 according to this embodiment will be described with reference to the block diagram of FIG.
[0030] The CPU 201 executes various processes using computer programs and data stored in the ROM 202 and the RAM 203. As a result, the CPU 201 controls the operation of the entire pan head device 200, and executes or controls each process to be described later as being performed by the pan head device 200.
[0031] The ROM 202 stores setting data for the pan head device 200, computer programs and data related to the startup of the pan head device 200, computer programs and data related to the basic operations of the pan head device 200, and the like.
[0032] The RAM 203 has an area for storing computer programs and data read from the ROM 202. The RAM 203 also has a work area used when the CPU 201 executes various processes. In this way, the RAM 203 can provide various areas as needed.
[0033] The external I / F 204 is a communication interface for receiving various instructions from the remote control device 210 via wireless or wired communication. The remote control device 210 is a device for inputting various instructions to the camera platform device 200, and can input, for example, a change instruction for changing the pan angle or tilt angle of the camera device 100 placed on the camera platform device 200. The external I / F 204 can also communicate with the camera device 100 placed on the camera platform device 200.
[0034] The power supply unit 205 supplies power and manages the power supply in the pan / tilt head device 200. The display unit 206 is a device such as a liquid crystal display (LCD) or an organic light emitting display (OLED) that displays the operating status of the pan / tilt head device 200. Note that the display unit 206 does not have to be provided in the pan / tilt head device 200, and may be, for example, an external device capable of wireless and / or radio communication with the pan / tilt head device 200.
[0035] The operation unit 207 is a user interface such as a button, a dial, a touch panel, a joystick, etc., and the user can input various instructions to the CPU 201 by operating it.
[0036] The P / T axis driving unit 208 changes the pan angle and tilt angle of the camera device 100 placed on the pan head device 200 based on an instruction received from the remote control device 210 via the external I / F 204 .
[0037] The CPU 201 , ROM 202 , RAM 203 , external I / F 204 , power supply unit 205 , display unit 206 , operation unit 207 , and P / T axis drive unit 208 are all connected to a system bus 209 .
[0038] Next, an example of the functional configuration of the camera device 100 will be described with reference to the block diagram of Fig. 1B. In the following, the functional units shown in Fig. 1B will be described as the main processing units, but in reality, the operation of the functional units is realized by the CPU 101 executing a computer program corresponding to the functional units. Also, the functional units shown in Fig. 1B may be implemented by hardware.
[0039] The determination unit 122 acquires setting information indicating whether the rotation direction of the camera device 100 to rotate so that the camera device 100 faces the inspection target surface of the structure to be inspected in the social infrastructure inspection is vertical or horizontal. The setting information is determined, for example, by the user operating the operation unit 106. If the rotation direction indicated by the setting information is horizontal, the determination unit 122 sets two positions aligned horizontally within the imaging range of the camera device 100 (for example, a position near the left end and a position near the right end within the imaging range) as "positions for obtaining the defocus amount". On the other hand, if the rotation direction indicated by the setting information is vertical, the determination unit 122 sets two positions aligned vertically within the imaging range of the camera device 100 (for example, a position near the top end and a position near the bottom end within the imaging range) as "positions for obtaining the defocus amount".
[0040] The control unit 124 acquires the defocus amount from the "position for acquiring the defocus amount" determined by the determination unit 122 within the imaging range of the camera device 100. The acquisition unit 123 acquires the defocus amount acquired by the control unit 124. The difference calculation unit 125 calculates the difference between one defocus amount acquired by the acquisition unit 123 and the other defocus amount.
[0041] The determination unit 126 determines notification information for notifying “the direction of rotation and the degree of rotation of the camera device 100” based on the difference calculated by the difference calculation unit 125. The output unit 127 outputs the notification information determined by the determination unit 126.
[0042] In this embodiment, such an imaging system is used to image a social infrastructure structure to be inspected, and the social infrastructure structure is inspected based on the captured image obtained by imaging. An imaging method for imaging a social infrastructure structure using the imaging system according to this embodiment will be described with reference to FIG.
[0043] FIG. 4(a) shows an example of the surface to be inspected in a social infrastructure structure to be inspected. The social infrastructure structure 400 shown in FIG. 4(a) is a wall-like structure having a side surface 401 and extending horizontally. Reference number 402 indicates a joint portion generated when the social infrastructure structure 400 is divided based on a drawing and constructed by pouring. The portion 402 is also called a pouring joint, but is called a joint here for ease of understanding. The joint portion 402 is also used as a unit for inspection work because it can be visually inspected. Reference number 403 indicates an area to be inspected in one inspection (inspection target area), and the imaging system captures an imaging area 404 including the inspection target area 403. In the captured image of the imaging area 404, a "partial image corresponding to the periphery of the inspection target area 403 within the imaging area 404" becomes information for grasping the positional relationship with the adjacent inspection target areas. Therefore, this partial image is also used for alignment when compositing into one image including the entire social infrastructure structure 400. In addition, the partial image corresponding to this peripheral area is also used to inspect a wide range of abnormalities that are not limited to a single inspection target area.
[0044] Fig. 4(b) shows how such an imaging area 404 is imaged using the imaging system according to this embodiment. In Fig. 4(b), the camera device 100 is attached to the pan head device 200 having a tripod 408, and the lens device 113 is attached to the camera device 100. The width (the horizontal size in the figure) of the imaging range 409 on the inspection target surface imaged by the combination of the camera device 100 and the lens device 113 corresponds to the width (the horizontal size in the figure) of the imaging area 404.
[0045] Then, when the imaging of the inspection target area 403 is completed, the imaging system according to this embodiment is moved to a position indicated by reference number 410 in order to image an unimaged inspection target area adjacent to the inspection target area 403, and similarly images the inspection target area within the imaging range 412. When the imaging at the position indicated by reference number 410 is completed, the imaging system according to this embodiment is moved to a position indicated by reference number 411 in order to image an unimaged inspection target area adjacent to the inspection target area, and similarly images the inspection target area within the imaging range 413.
[0046] Here, the camera device 100 needs to face the inspection target area. In this embodiment, it is determined whether the camera device 100 faces the inspection target area, and if it does not face the inspection target area, a notification is given to rotate the camera device 100 so that it faces the inspection target area.
[0047] In order to perform this notification, as described above, the control unit 124 acquires the defocus amount at the position determined by the determination unit 122. Here, a configuration for acquiring the defocus amount will be described with reference to FIG.
[0048] FIG. 5(a) is a diagram showing a configuration for acquiring a defocus amount, which is the difference between peak values of the phase detected by an image plane phase difference sensor when the focus position of the lens device 113 is a front-focus position, in a camera device 100 equipped with the image plane phase difference sensor on its entire surface.
[0049] FIG. 5(b) is a diagram showing a configuration for acquiring a defocus amount, which is the difference between peak values of the phase detected by the image plane phase difference sensor when the focus position of the lens device 113 is the in-focus position, in a camera device 100 equipped with a full-surface image plane phase difference sensor.
[0050] FIG. 5(c) is a diagram showing a configuration for acquiring a defocus amount, which is the difference between peak values of the phase detected by an image plane phase difference sensor when the focus position of the lens device 113 is a back-focus position, in a camera device 100 equipped with a full-surface image plane phase difference sensor.
[0051] Although various sensors can be applied to the image plane phase difference sensor, in this embodiment, the image sensor 104 is used as the image plane phase difference sensor. Fig. 5(d) is a diagram showing an example of the configuration of one light receiving element in the image sensor 104.
[0052] 5(d), the light receiving element 517 is configured as a pair of a light receiving element 518 that receives a right image and a light receiving element 519 that receives a left image, and the microlens 516 collects light from the outside world onto the light receiving element 517. At this time, due to the arrangement of the microlens 516 and the paired light receiving element 517, the light beam passing through the right half of the optical lens 501 is guided to the light receiving element 518, and the light beam passing through the left half of the optical lens 501 is guided to the light receiving element 519.
[0053] With this configuration, when the optical lens 501 is in front focus as shown in Fig. 5(a), of the light beams from the point of interest 500 of the social infrastructure structure 400, a light beam 503 that passes through the right side of the optical lens 501 is received by a light receiving element 518. Also, a light beam 504 that passes through the left side of the optical lens 501 is received by a light receiving element 519. As a result, as shown in Fig. 5(a), the light beams received by the pair of light receiving elements are detected as signals 505 and 506 having peak values with different phases.
[0054] Furthermore, as shown in FIG. 5(b), when the optical lens 501 is in focus with respect to the point of interest 500, a light beam 508 passing through the right side of the optical lens 501 and a light beam 509 passing through the left side of the optical lens 501 among the light beams from the point of interest 500 of the social infrastructure structure 400 are detected as a signal 510 having peak values with the same phase in a pair of light receiving elements, as shown in FIG. 5(b).
[0055] Furthermore, as shown in FIG. 5(c), when the optical lens 501 is positioned in a back focus state relative to the focus point 500, a light beam 512 that passes through the right side of the optical lens 501 and a light beam 513 that passes through the left side of the optical lens 501, among the light beams from the focus point 500 of the social infrastructure structure 400, are detected as "signals 515, 514 having different peak values and a phase difference opposite to that in the case of FIG. 5(a)" in a pair of light receiving elements, as shown in FIG. 5(c).
[0056] In this embodiment, the defocus amount is defined based on the left-right positional relationship and the distance between the peak values of the signals received by the two-dimensional array of light receiving elements 517, which is composed of paired light receiving elements (light receiving elements 518 and 519). For example, the defocus amounts corresponding to the respective focusing conditions in Fig. 5(a), (b), and (c) can be defined as "-11", "0", and "+7".
[0057] Next, the operation of the imaging system according to this embodiment will be described with reference to the flowchart of FIG. 7. As described above, the user installs the imaging system according to this embodiment so as to face the surface to be inspected in order to image the surface to be inspected. At this time, the user can install the camera device 100 in a direction that is considered to be approximately facing the area to be inspected. However, if there is no precise measurement information on the reference points of the structure and the installation location and the surroundings, the camera device 100 cannot be installed in a direction that faces accurately. When the camera device 100 is installed and the power of the camera device 100 is turned on, the captured image captured by the image sensor 104 is displayed as a live view image on the display screen on the back of the camera device 100 by the display unit 105. Then, the process according to the flowchart of FIG. 7 is started.
[0058] In step S701, the determination unit 122 acquires setting information indicating "whether the rotation direction in which the camera device 100 is rotated so that the camera device 100 faces the surface to be inspected is vertical or horizontal."
[0059] For example, as shown in FIG. 8(a), the operation unit 106 has a switch 801 for setting the "rotation direction in which the camera device 100 is rotated so that the camera device 100 faces the inspection target surface" (the orientation detection direction) to either the "vertical direction" or the "horizontal direction". By operating this switch 801, the user can set the orientation detection direction to either the vertical direction (rotation axis = tilt axis) or the horizontal direction (rotation axis = pan axis). The determination unit 122 acquires the orientation detection direction set by the switch 801 as setting information. As shown in FIG. 4(a) and (b), when an image of a horizontally long structure is captured by moving it horizontally, the orientation detection direction in the horizontal (rotation) direction is selected. Below, as an example, a case in which the orientation detection direction is set to the horizontal direction will be described.
[0060] Next, in step S702, since the facing detection direction is horizontal, the determination unit 122 sets two positions aligned horizontally within the imaging range of the camera device 100 as "positions for acquiring the defocus amount." For example, as shown in Fig. 6A(a), the determination unit 122 sets a position 600 near the left end and a position 601 near the right end of an imaging region 404 that falls within an imaging range 602 of the camera device 100 in a social infrastructure structure 400 as "positions for acquiring the defocus amount."
[0061] In step S703, the control unit 124 acquires the defocus amount at the position set in step S702 (position 600 and position 601 in the case of FIG. 6A(a)) as described above. At this time, the camera device 100 does not need to perform a focusing operation on the inspection target surface, and acquires the defocus amount at the position set in step S702.
[0062] In step S704, the acquisition unit 123 acquires the "defocus amount at the left position" and the "defocus amount at the right position" acquired in step S703. Then, the difference calculation unit 125 calculates a difference by subtracting the "defocus amount at the right position" from the "defocus amount at the left position".
[0063] In step S706, the determination unit 126 acquires, as rotation instruction information (notification information), "information indicating the rotation direction and degree of rotation of the camera device 100" corresponding to the difference between the defocus amounts calculated in step S704.
[0064] 6B, a table 615 is registered in the ROM 102 in which rotation instruction information corresponding to the difference between the defocus amounts is registered. A section of the difference between the defocus amounts is registered in a column 616. For example, a section of the difference between the defocus amounts "+11 or more" is registered in a row 619 in the column 616, and a section of the difference between the defocus amounts "-5 to -10" is registered in a row 624 in the column 616.
[0065] Icons corresponding to the amount of rotation when rotating the camera device 100 to the left are registered in column 617. The icon registered in row 619 in column 617 represents an amount of rotation larger than the amount of rotation represented by the icon registered in row 620 in column 617. The icon registered in row 620 in column 617 represents an amount of rotation larger than the amount of rotation represented by the icon registered in row 621 in column 617. The icons registered in rows 622 to 625 in column 617 represent that there is no need to rotate to the left.
[0066] Icons corresponding to the amount of rotation when rotating the camera device 100 to the right are registered in column 618. The icon registered in row 625 in column 618 represents an amount of rotation larger than the amount of rotation represented by the icon registered in row 624 in column 618. The icon registered in row 624 in column 618 represents an amount of rotation larger than the amount of rotation represented by the icon registered in row 623 in column 618. The icons registered in rows 619 to 622 in column 618 represent that right rotation is not necessary.
[0067] Therefore, for example, when the difference between the defocus amounts calculated in step S704 is "+7", the identification unit 126 acquires, as rotation instruction information, two icons registered in row 620 corresponding to the interval "+10 to +5" that includes the difference "+7".
[0068] Also, for example, when the difference between the defocus amounts calculated in step S704 is "-12", the determination unit 126 acquires, as rotation instruction information, two icons registered in row 625 corresponding to the section "-11 or less" that includes the difference "-12".
[0069] That is, the table in FIG. 6B registers rotation instruction information for notifying the rotation direction according to the sign of the difference between the defocus amounts and the degree of rotation according to the absolute value of the difference between the defocus amounts.
[0070] In step S714, the output unit 127 outputs the rotation instruction information acquired in step S706 to the display unit 105 as "notification information for notifying the user of the rotation direction and degree of the camera device 100". The display unit 105 displays the notification information on the display screen on the back of the camera device 100. For example, as shown in FIG. 6A(a), an icon 605 acquired from a column 617 is displayed on the lower left side of a live view image 604 displayed on the display screen on the back of the camera device 100. Also, an icon 606 acquired from a column 618 is displayed on the lower right side of the live view image 604. Note that the display positions of the icon 605 and the icon 606 are not limited to a specific display position, and for example, they may be displayed superimposed on the live view image 604. Also, in FIG. 6A(a), icons 600a and 601a are displayed superimposed at positions corresponding to positions 600 and 601, respectively, in the live view image 604.
[0071] The user, upon viewing the displayed icons 605 and 606, recognizes the notification to rotate the camera device 100 left and rotates the camera device 100 left. Fig. 6A(b) shows the state of the camera device 100 after it has been rotated left from the state shown in Fig. 6A(a).
[0072] Since icons 609 and 610 are still displayed in the state of Fig. 6A(b), the user similarly recognizes the notification to rotate the camera device 100 left and rotates the camera device 100 left. Here, it is indicated that neither icon 606 nor icon 610 needs to be rotated right. On the other hand, it is indicated that both icons 605 and 609 need to be rotated left, but icon 609 is rotated less than icon 605. Fig. 6A(c) shows the state after the camera device 100 in the state of Fig. 6A(b) is further rotated left.
[0073] 6A(c), an icon 613 indicating that there is no need to rotate left and an icon 614 indicating that there is no need to rotate right are displayed. When a user sees the displayed icons 613 and 614, he or she recognizes the notification that there is no need to rotate the camera device 100 to the right or left, and does not rotate the camera device 100.
[0074] 8(a) is a diagram showing a state in which the camera device 100 is mounted on the camera platform device 200, and a remote control device 210 is connected to perform pan / tilt operations of the camera platform device 200 and image capture operations of the camera device 100. At this time, the remote control device 210 is connected to the camera device 100 via the external I / F 110 of the camera device 100, thereby enabling image capture by the camera device 100.
[0075] Returning to Fig. 7, in step S715, CPU 101 determines whether or not a termination condition for the process according to the flowchart in Fig. 7 is satisfied. For example, when the user operates operation unit 106 to input an instruction to terminate the process or when camera device 100 is turned off, CPU 101 determines that a termination condition for the process according to the flowchart in Fig. 7 is satisfied.
[0076] As a result of such a determination, if the termination condition of the processing according to the flowchart in FIG. 7 is satisfied, the processing according to the flowchart in FIG. 7 is terminated, and if the termination condition is not satisfied, the processing proceeds to step S703.
[0077] In this way, by setting the camera device 100 mounted on the pan head device 200 as shown in Fig. 8(a) facing the surface to be inspected, it is possible to notify the user of rotation instruction information for orienting the camera device 100 to the surface to be inspected. The user who receives this notification can then operate the pan head device 200 etc. in accordance with the notification, thereby enabling the camera device 100 to be accurately orientated to the surface to be inspected, enabling accurate inspection of abnormalities. At the same time, by accurately orienting the camera device 100, when imaging adjacent areas of the surface to be inspected, it is possible to image the surface to be inspected under uniform conditions by translating the camera device 100.
[0078] In this embodiment, the rotation direction for orientation is the horizontal (rotation) direction, and the pan axis of the camera head device 200 is operated, but the orientation detection direction may be switched to issue an orientation rotation instruction for the vertical (rotation) direction, and the tilt axis may be operated. Furthermore, the horizontal (rotation) direction and vertical (rotation) direction may be detected simultaneously, and rotation instruction information for each may be presented.
[0079] In addition, in this embodiment, an example of the defocus amount value is presented, and three types of rotation instruction information are defined. However, since the defocus amount value differs depending on the type of image plane phase difference sensor used, it may be multiplied by an appropriate coefficient or the like and the types are not limited to this.
[0080] In addition, in the present embodiment, icons indicating both the direction of rotation and the degree of rotation are displayed, but an icon indicating the direction of rotation and an icon indicating the degree of rotation may be displayed separately, or only one of them may be displayed. Furthermore, the information indicating the direction of rotation or the degree of rotation is not limited to an icon, and may be, for example, text information. Furthermore, the method of notifying the direction of rotation or the degree of rotation is not limited to a specific method.
[0081] In the present embodiment, icons are displayed for directions in which rotation is not required, but icons may not be displayed for directions in which rotation is not required. For directions in which rotation is required, other information such as text information may be displayed in addition to icons.
[0082] [Second embodiment] In the following embodiments including this embodiment, differences from the first embodiment will be described, and unless otherwise specified, it will be assumed that the embodiments are the same as the first embodiment. In the imaging system according to the first embodiment, the camera device 100 is mounted on the pan head device 200, but the camera device 100 may be mounted on a UAV (unmanned aerial vehicle) such as a drone device. In this embodiment, as an example of such an imaging system, an imaging system having a drone device equipped with the camera device 100 and a controller device that controls the drone device will be described.
[0083] First, the hardware configuration of the drone device 300 according to this embodiment will be described with reference to the block diagram of FIG. 3(a). The CPU 301 executes various processes using computer programs and data stored in the ROM 302 and the RAM 303. As a result, the CPU 301 controls the operation of the entire drone device 300, and executes or controls each process to be described later as being performed by the drone device 300. The CPU 301 may also control the operation of the camera device 100 and the lens device 113.
[0084] ROM 302 stores setting data for the drone device 300, computer programs and data related to the startup of the drone device 300, computer programs and data related to the basic operation of the drone device 300, etc.
[0085] The RAM 303 has areas for storing computer programs and data loaded from the ROM 302, information such as images output from the camera device 100, data received from the outside via the wireless I / F 304, etc. The RAM 303 also has a work area used when the CPU 301 executes various processes. In this way, the RAM 303 can provide various areas as needed.
[0086] The wireless I / F 304 functions as a communication interface for wireless communication with the outside. The power supply unit 305 supplies power and manages the power supply in the drone device 300. The display unit 306 is a device such as a liquid crystal display (LCD) or an organic light emitting display (OLED) that displays images and characters on a screen.
[0087] The operation unit 307 is a user interface such as a button, a dial, a touch panel, a joystick, etc., and the user can input various instructions to the CPU 301 by operating it.
[0088] The flight control unit 308 controls the drive unit 310 based on a signal from the mixer unit 314, thereby controlling the position and attitude of the drone device 300 and controlling the flight of the drone device 300.
[0089] The sensor processing unit 309 processes information measured by the sensors to obtain information (sensor information) necessary for flight control of the drone device 300, such as its own position and attitude. Applicable sensors include a gyro sensor, an acceleration sensor, a Global Navigation Satellite System (GNSS), a pressure sensor, an ultrasonic sensor (altitude sensor, distance sensor), a sensor for obtaining ground images, and the like.
[0090] The drive unit 310, under the control of the flight control unit 308, controls the drive of the rotor that causes the drone device 300 to fly.
[0091] The camera device 100 is mounted on the drone device 300 via a gimbal device that reduces vibration and shaking and can change the orientation of the camera device 100. The gimbal control unit 311 is for controlling such a gimbal device.
[0092] The video transmission unit 312 transmits (sends) the image output from the camera device 100 to the outside. The mixer unit 314 mixes the sensor information acquired by the sensor processing unit 309 with an operation signal from the controller device 329 operated by the user to control the drone device 300, and outputs the mixed signal to the flight control unit 308. As a result, the flight control unit 308 performs flight control according to the operation signal from the controller device 329 in a state in which the flight control of the drone device 300 is being performed according to the sensor information acquired by the sensor processing unit 309.
[0093] The CPU 301, ROM 302, RAM 303, wireless I / F 304, power supply unit 305, display unit 306, operation unit 307, flight control unit 308, video transmission unit 312, mixer unit 314, and camera device 100 are connected to a system bus 313.
[0094] The left side of Fig. 8(b) shows an example of the appearance of the drone device 300. As shown in the left side of Fig. 8(b), the drone device 300 is equipped with a camera device 100 (to which a lens device 113 is attached).
[0095] Next, an example of the hardware configuration of the controller device 329 will be described with reference to the block diagram of Fig. 3(b). The CPU 315 executes various processes using computer programs and data stored in the ROM 316 and the RAM 317. In this way, the CPU 315 controls the operation of the entire controller device 329, and also executes or controls each process to be performed by the controller device 329, which will be described later.
[0096] The ROM 316 stores setting data for the controller device 329, computer programs and data related to the startup of the controller device 329, computer programs and data related to the basic operation of the controller device 329, and the like.
[0097] The RAM 317 has areas for storing computer programs and data loaded from the ROM 316, data received from the outside via the wireless I / F 318, etc. The RAM 317 further has a work area used when the CPU 315 executes various processes. In this way, the RAM 317 can provide various areas as appropriate.
[0098] The wireless I / F 318 functions as a communication interface for performing wireless communication with the outside. The power supply unit 319 supplies power to the controller device 329 and manages the power supply.
[0099] The operation unit 321 accepts user operations on a gimbal controller 323 and a stick controller 322, which are user interfaces such as a button, a dial, a touch panel, and a joystick.
[0100] The gimbal controller 323 is a user interface that receives user operations for controlling the gimbal device (controlling the position and attitude of the camera device 100). The stick controller 322 is a user interface that receives operation inputs for controlling the position and attitude of the drone device 300.
[0101] When the operation unit 321 receives a user operation on the gimbal controller 323 or the stick controller 322, it generates an operation signal representing the content of the user operation and transmits the generated operation signal to the drone device 300 via the wireless I / F 318. As a result, the drone device 300 performs flight control according to the operation signal.
[0102] The video transmission unit 325 receives images transmitted from the drone device 300 via the wireless I / F 318, and outputs the received images to a display device connected to the video output I / F 326, thereby displaying the images on the display device.
[0103] The CPU 315 , the ROM 316 , the RAM 317 , the wireless I / F 318 , the power supply unit 319 , the operation unit 321 , and the video transmission unit 325 are all connected to a system bus 328 .
[0104] An example of the appearance of the controller device 329 is shown on the right side of FIG. 8(b). The controller device 329 has a stick controller 322. A display device 802 is connected to the controller device 329 via a video output I / F 326, and the image transmitted by the video transmission unit 325 is displayed on the display device 802. The display device 802 is, for example, a smartphone or a tablet terminal device. Note that the video transmission unit 312 of the drone device 300 may encode the image to be transmitted before transmitting it. In this case, the video transmission unit 325 of the controller device 329 decodes the image and then outputs it to the display device via the video output I / F 326. This image includes a captured image and various icons described in the first embodiment.
[0105] In addition, when capturing an image using the camera device 100, the flight control unit 308 uses a mode such as Loiter Mode, which stops the drone device 300 at a specific coordinate in the air by not operating the stick controller 322 of the controller device 329. At this time, the drone device 300 can stop at a specific position on the X-axis, Y-axis, and Z-axis in space using sensor information acquired by the sensor processing unit 309. In this mode, even if a disturbance such as a sudden gust of wind occurs, the flight control unit 308 appropriately controls the drive unit 310 to return to the original position. Furthermore, by using a follow-up mode in which the camera device 100 always faces the front of the drone device 300 and the roll axis of the camera device 100 is kept horizontal by cooperation between the flight control unit 308 and the gimbal control unit 311, the camera device 100 can be easily faced in this embodiment. That is, the user having the controller device 329 can operate the pan axis of the drone device 300 according to the icons 609 and 610 displayed on the display device 802 to orient the camera device 100 to the surface to be inspected and perform imaging. Thereafter, when imaging the surface to be inspected adjacent in the horizontal direction, the user operates the controller device 329 to operate the roll axis of the drone device 300, moves the drone device 300 horizontally only in the horizontal direction, and ends the operation when it reaches the required position. This makes it possible to perform the next imaging. Furthermore, even in the case of orienting that requires operation in the horizontal (rotation) direction and the vertical (rotation) direction, orienting can be performed to the surface to be inspected by operating the pan axis of the drone device 300 in the horizontal (rotation) direction and the tilt axis of the gimbal device in the vertical (rotation) direction according to the vertical and horizontal icons. At this time, orienting can be performed even when the surface to be inspected is not perpendicular to the ground, making it possible to accurately inspect for abnormalities.
[0106] [Third embodiment] In the first embodiment, the rotation instruction information was notified to the user, but in this embodiment, the rotation instruction information is output to the pan-and-tilt device 200, which then controls the rotation of the camera device 100 in accordance with the rotation instruction information, so that the camera device 100 is directly opposed to the surface to be inspected.
[0107] The operation of the imaging system according to this embodiment will be described with reference to the flowchart in Fig. 9A. As in the first embodiment, the user sets up the imaging system facing the surface to be inspected (for example, as shown in Fig. 6A(a)). Then, when the user operates the remote control device 210 to start the orientation control, the image captured by the imaging element 104 is displayed as a live view image on the display screen on the back of the camera device 100 by the display unit 105. Then, the process according to the flowchart in Fig. 9A is started.
[0108] Note that the processes in steps S901 to S904 are similar to the processes in steps S701 to S704 described above, and therefore descriptions of these steps will be omitted.
[0109] In step S905, the identification unit 126 determines whether the absolute value of the difference calculated in step S904 is equal to or greater than a threshold value. If the absolute value of the difference is equal to or greater than the threshold value, the process proceeds to step S908. If the absolute value of the difference is less than the threshold value, the process proceeds to step S906.
[0110] In step S908, if the orientation detection direction is the "vertical direction", the determination unit 126 determines the rotation axis of the camera device 100 as the "tilt axis", and if the orientation detection direction is the "horizontal direction", the determination unit 126 determines the rotation axis of the camera device 100 as the "pan axis".
[0111] In step S909, the output unit 127 generates a rotation axis control signal including the rotation axis of the camera device 100 identified in step S908 and the difference calculated in step S904, and transmits the rotation axis control signal to the pan / tilt head device 200 via the external I / F 110.
[0112] On the other hand, in step S906, the output unit 127 generates a rotation axis control signal including the difference=0 (i.e., a signal instructing the stopping of driving for rotation) and transmits the rotation axis control signal to the pan head device 200 via the external I / F 110.
[0113] In step S910, the pan-and-tilt head device 200 receives the rotation axis control signal transmitted from the camera device 100 via the external I / F 204, and controls the rotation of the camera device 100 based on the rotation axis control signal to orient the camera device 100 directly relative to the surface to be inspected. Details of the process in step S910 will be described later.
[0114] In step S911, CPU 101 determines whether or not the difference is 0. If the difference is 0, the process according to the flowchart in FIG. 9A ends, and if the difference is not 0, the process proceeds to step S903.
[0115] Next, details of the process in the above step S910 will be described with reference to the flowchart in Fig. 9B. In step S912, the CPU 201 receives the rotation axis control signal transmitted from the camera device 100 via the external I / F 204.
[0116] In step S913, the CPU 201 acquires the "rotation axis" included in the rotation axis control signal received in step S912. In step S914, the CPU 201 acquires the "difference" included in the rotation axis control signal received in step S912 as a control signal.
[0117] In step S915, CPU 201 determines whether the difference indicated by the control signal acquired in step S914 is 0. If the result of this determination is that the difference indicated by the control signal acquired in step S914 is 0, the process proceeds to step S926, and if the difference indicated by the control signal acquired in step S914 is not 0, the process proceeds to step S916.
[0118] In step S916, CPU 201 determines whether the difference indicated by the control signal acquired in step S914 is a positive value (positive sign). If the result of this determination is that the difference indicated by the control signal acquired in step S914 is a positive value (positive sign), the process proceeds to step S917. On the other hand, if the result of this determination is that the difference indicated by the control signal acquired in step S914 is a negative value (negative sign), the process proceeds to step S918.
[0119] In step S917, the CPU 201 selects forward rotation as the direction of rotation of the camera device 100 around the rotation axis acquired in step S913. On the other hand, in step S918, the CPU 201 selects reverse rotation as the direction of rotation of the camera device 100 around the rotation axis acquired in step S913.
[0120] In step S919, CPU 201 acquires the absolute value of the difference indicated by the control signal acquired in step S914. In step S920, CPU 201 determines whether or not the absolute value acquired in step S919 is greater than 10. If the result of this determination is that the absolute value acquired in step S919 is greater than 10, the process proceeds to step S921, and if the absolute value acquired in step S919 is equal to or less than 10, the process proceeds to step S922.
[0121] In step S922, CPU 201 determines whether or not the absolute value acquired in step S919 is greater than 5. If the result of this determination is that the absolute value acquired in step S919 is greater than 5, the process proceeds to step S923, and if the absolute value acquired in step S919 is 5 or less, the process proceeds to step S924.
[0122] In step S921, the CPU 201 sets the rotation speed to "high." In step S923, the CPU 201 sets the rotation speed to "medium." In step S924, the CPU 201 sets the rotation speed to "low."
[0123] In step S925, the CPU 201 controls the P / T axis drive unit 208 to rotate the camera device 100 around the rotation axis acquired in step S913 at the rotation speed set in one of steps S921, S923, or S924, in the rotation direction selected in one of steps S917 or S918.
[0124] In step S925, the CPU 201 controls the P / T axis driving unit 208 to perform driving by various driving methods such as a direct drive or a worm gear using a DC motor, a DC brushless motor, or a stepping motor connected to the pan head device 200. However, in this embodiment, the driving method of the pan head device 200 is not directly related, so a description thereof will be omitted. In addition, in this embodiment, the driving speed is set to three stages, "high", "medium", and "low", but the speed or stage may be changed in the control of the driving axis of the pan head device 200 within a range in which oscillation operation in feedback control or step-out of the motor does not occur. Meanwhile, in step S926, the CPU 201 controls the P / T axis driving unit 208 to stop the rotation of the camera device 100.
[0125] Thus, according to this embodiment, by setting the imaging system facing the surface to be inspected and then performing an operation to start the orientation control with the remote control device 210, orientation can be performed without operating the camera platform device 200, etc. This enables the user to perform accurate inspection of the abnormality immediately after the orientation is performed quickly.
[0126] This embodiment can also be applied to a drone device 300 equipped with a camera device 100. In this case, as shown in Fig. 10, a controller device 329 operated by a user to remotely control the drone device 300 has a button 1001 for instructing the start of control of the facing.
[0127] In this case, when the user presses the button 1001 with the front of the drone device 300 generally facing the surface to be inspected, the CPU 315 of the controller device 329 transmits an instruction to start the control of the facing to the drone device 300 via the wireless I / F 318. Then, upon receiving the start instruction, the CPU 301 of the drone device 300 causes the camera device 100 to execute the process (excluding step S910) according to the flowchart of FIG. 9A.
[0128] Here, the rotation axis control signal output in step S909 or step S906 is sent to the mixer unit 314 via the system bus 313. The mixer unit 314 mixes this rotation axis control signal with the sensor information acquired by the sensor processing unit 309 and sends it to the flight control unit 308. As a result, in a state where the flight control unit 308 is performing flight control of the drone device 300 according to the sensor information acquired by the sensor processing unit 309, the flight control unit 308 performs flight control according to the rotation axis control signal output in step S909 or step S906.
[0129] In this embodiment, the rotation axis control signal acts on the pan axis of the drone device 300 to control the orientation with respect to the surface to be inspected. With this configuration, the user of the drone device 300 can perform orientation control by the flight control unit 308 of the drone device 300 without performing delicate pan axis rotation operation of the stick controller 322.
[0130] [Fourth embodiment] In this embodiment, the drone device 300 is translated parallel to the surface to be inspected so that the point of interest that was imaged by the camera device 100 before the drone device 300 is rotated to orient the camera device 100 directly relative to the surface to be inspected can be imaged after the rotation.
[0131] As shown in Fig. 11(a), an imaging area 404 including an inspection target area 403 of an inspection target surface of a social infrastructure structure 400 is assumed to be within an imaging range 602 of a camera device 100 mounted on a drone device 300. When the drone device 300 is rotated as shown in Fig. 11(b) and (c) in order to make the camera device 100 face the inspection target surface, the imaging area of the inspection target surface that falls within the imaging range 602 shifts in the order of imaging areas 1101 and 1102, and a part of the inspection target area 403 falls outside the imaging area. This shift becomes more noticeable as the distance between the camera device 100 and the inspection target area increases.
[0132] In this embodiment, after rotating the drone device 300, the drone device 300 is translated parallel to the surface to be inspected so that the inspection target area 403 remains within the imaging area of the camera device 100.
[0133] A procedure for determining the distance between camera device 100 and a subject from the defocus amount acquired by camera device 100 will be described with reference to the graph in Fig. 12. In Fig. 12, the horizontal axis indicates the focus position of the lens in lens device 113, and the vertical axis indicates the distance from camera device 100 to the subject.
[0134] A characteristic curve 1201 is a curve that represents the relationship between the focus position of the lens in the lens device 113 and the distance from the camera device 100 to the subject. A line segment 1202 represents the current focus position in the lens device 113, a line segment 1203 represents the acquired defocus amount, and a line segment 1204 represents the focus position (= in-focus position) obtained by adding the defocus amount (line segment 1203) to the current focus position (line segment 1202). A point 1205 is the intersection of the characteristic curve 1201 and the line segment 1204, and the value on the vertical axis of the point 1205 can be obtained as the distance 1206 to the subject.
[0135] Next, a procedure for determining the amount of translation (parallel translation amount) of the camera device 100 relative to the surface to be inspected so that the point of interest that was imaged before the rotation can be imaged after the rotation when the camera device 100 is rotated to face the surface to be inspected directly will be described with reference to FIG. 13.
[0136] 13, the camera device 100 capturing an image of a point of interest 1301 from a position 1302 is rotated to face the inspection target surface, and then translated by a translation amount o1303 so that the point of interest 1301 falls within the imaging range of the camera device 100. The procedure for calculating this translation amount o1303 will be described below.
[0137] In Fig. 13, ∠A indicates the angle of view of the lens device 113, and L1 and L2 respectively indicate the distance between the camera device 100 and the subject at defocus amount acquisition positions 1304 and 1305 arranged to detect the horizontal facing degree. Note that, in reality, the defocus amount acquisition positions are slightly different from the ends of the angle of view of the lens device 113, but in this case, in order to simplify the calculation, it is assumed that the defocus amount is acquired at both ends of the angle of view of the lens device 113. Also, L3 indicates the distance from the position 1302 to a point of interest 1301 at the center of the angle of view on the surface to be inspected. Also, a indicates the distance captured by the angle of view of the lens device 113 on the surface to be inspected, and d indicates the difference between L2 and L1 (L2-L1). Also, e is the length of the remaining side of a triangle with ∠A as the angle between a line segment having both ends at position 1302 and acquisition position 1304, and a line segment connecting position 1302 and position 1305 with both ends at a position a distance L1 from position 1302 and position 1302. Also, ∠D indicates the angle between sides A and E in a triangle having three sides, side A having distance a, side E having distance e, and side D having distance d. Here, e is calculated from L1 and the angle ∠A as e=2×L1×sin(A / 2), and a is calculated from the cosine theorem as a=√(L1 2 +L2 2 -2×L1×L2×cosA). Therefore, the angle ∠D is cos(D)=(a 2 +e 2 -d 2 ) / (2×a×e), where angle ∠D is equivalent to angle ∠D'. ∠D' is the angle between line segment 1390 passing through the position of camera device 100 facing the surface to be inspected and the position of attention point 1301, and line segment passing through position 1302 and the position of attention point 1301. Therefore, the translation distance o can be derived from L1, L2, L3, and ∠A as o=L3×cos(D).
[0138] A series of operations for rotating and translating the drone device 300, which is positioned from position 1302 toward a point of interest 1301 on the surface to be inspected, so as to directly face the surface to be inspected while capturing the point of interest 1301 within the imaging range will be described using Figures 14A to 14C.
[0139] 14A, the drone device 300 is positioned from position 1302 toward a point of interest 1301 on the surface to be inspected. In this state, the drone device 300 rotates (rotates by an angle 1401 around the pan axis) based on the difference between the acquired defocus amounts as described above, and faces the surface to be inspected directly, and the drone device 300 is positioned toward the point of interest 1402. In other words, the point of interest of the camera device 100 is the point of interest 1402.
[0140] Next, as shown in Fig. 14B, the drone device 300 facing the inspection target surface translates by the translation amount o1303 calculated by the above calculation from the current position coordinates obtained by the sensor information acquired by the sensor processing unit 309. As a result, as shown in Fig. 14C, the attention points of the camera device 100 and the drone device 300 return to the attention point 1301 before the rotation for facing.
[0141] Next, the operation of the imaging system according to this embodiment will be described with reference to the flowchart in Fig. 15. In the following, a case will be described in which the drone device 300 is installed facing a point of interest 1301 on the surface to be inspected, and when the user presses the button 1001 in this state, processing according to the flowchart in Fig. 15 is started.
[0142] Note that the processes in steps S1501 to S1506 and S1508 to S1511 are similar to the processes in steps S901 to S906 and S908 to S911 described above, and therefore descriptions of these steps will be omitted.
[0143] In step S1511, the CPU 101 determines whether the difference is 0 or not, and if the difference is 0, it determines that the rotation control for correcting the orientation of the drone device 300 as shown in FIG. 14A has been completed, and the process proceeds to step S1513.
[0144] In this embodiment, in step S1503, the defocus amount is acquired for the position of the attention point 1301 in addition to the acquisition position 1304 and position 1305, which are positions for the orientation control, as multiple positions on the inspection surface where the defocus amount is acquired.
[0145] In step S1513, the identification unit 126 acquires lens characteristic information including the above-mentioned characteristic curve 1201, the current focus position (line segment 1202) of the lens device 113, and the angle of view ∠A of the lens device 113 from the lens device 113. The lens characteristic information is stored in the RAM 116 or ROM 115 of the lens device 113, and is acquired from the lens device 113 via the lens communication unit 119 and the camera communication unit 107.
[0146] In step S1514, the determination unit 126 performs the above processing using the defocus amount acquired in step S1503, the characteristic curve 1201 included in the lens characteristic information, and the current focus position (line segment 1202), to obtain the above distances L1, L2, and L3.
[0147] In step S1515, the identification unit 126 determines the translation amount o by performing the above-mentioned process using the information acquired in step S1513 and the distances L1, L2, and L3 determined in step S1514.
[0148] In step S1516, the flight control unit 308 of the drone device 300 controls the drive unit 310 to move parallel to the inspection target surface by the parallel movement amount o calculated in step S1515 from the current position coordinates obtained from the sensor information acquired by the sensor processing unit 309.
[0149] Thus, in this embodiment, the user roughly faces the drone device 300 and the camera device 100 to the surface to be inspected, and further positions them so as to capture the attention point 1301 on the surface to be inspected, and then presses the button 1001 of the controller device 329. This makes it possible to position the drone device 300 so as to accurately face the attention point 1301 while capturing it, and makes it possible to accurately inspect for abnormalities related to the attention point using an image captured at the position where the drone device 300 is positioned.
[0150] [Fifth embodiment] In the above embodiment, the acquisition position for acquiring the defocus amount is a predetermined position. However, if the defocus amount is always acquired from the same position, for example, the following problem occurs.
[0151] FIG. 16 shows an example in which rotation control is performed for incorrectly orthogonalizing the inspection target surface 1601 based on the defocus amount acquired by the camera device 100. In FIG. 16, reference numeral 1602 denotes a structural material installed in front of the inspection target surface 1601, and reference numerals 1603 and 1604 denote acquisition positions of the defocus amount located almost at the end of the angle of view of the lens device 113. Here, the acquisition position 1604 of the defocus amount on the right side is located on the surface of the inspection target surface 1601, while the acquisition position 1603 of the defocus amount on the left side is located on the surface of the structural material 1602. In this state, when the rotation control of the drone device 300 is performed so as to reduce the difference between the defocus amount at the acquisition position 1603 and the defocus amount at the acquisition position 1604, the drone device 300 is not orthogonal to the inspection target surface 1601 as shown in FIG. 16. In other words, when rotation control for orientation is performed based on the defocus amounts acquired from the acquisition positions 1603 and 1604 as shown in FIG. 16, orientation to the inspection target surface 1601 fails.
[0152] In view of such a problem, this embodiment allows the user to set a desired position as an acquisition position for acquiring the defocus amount while viewing a captured image. Hereinafter, a method in which the user operates the camera device 100 to set the acquisition position for the defocus amount will be described with reference to FIGS. 17A and 17B.
[0153] 17A(a) is a diagram showing a state of a display screen 1701 on the back of the camera device 100 in a state where the inspection target surface 1601 in FIG. 16 is captured from the front. Not only the front of the inspection target surface 1601 but also a part of a structural material 1602 is shown on the display screen 1701. An icon 1603a is displayed at a position on the display screen 1701 corresponding to the acquisition position 1603, and an icon 1604a is displayed at a position on the display screen 1701 corresponding to the acquisition position 1604. The user performs the following operation on the display screen 1701 to change the acquisition position 1603 of the left defocus amount to a position on the inspection target surface 1601. In the following, since the display screen 1701 is assumed to be a touch panel screen, the operation is performed on the display screen 1701. However, if the display screen 1701 is not a touch panel screen, the operation is performed using, for example, the operation unit 106.
[0154] First, the user performs an operation to erase the icons 1603a and 1604a on the display screen 1701. As a result, the icons 1603a and 1604a are erased from the display screen 1701. When the icons 1603a and 1604a are erased, the "defocus amount acquisition positions" corresponding to the respective icons are also erased.
[0155] Then, the user touches the defocus amount acquisition position on the display screen 1701 with his / her finger. As a result, the touched position is set as a new "defocus amount acquisition position." FIG. 17A(b) shows the state of the display screen 1701 when an operation to set a new "defocus amount acquisition position" is performed. In FIG. 17A(b), the icon 1603a and the icon 1604a are erased, and the user touches a position (a position on the inspection target surface 1601) that avoids the structural material 1602 with his / her finger 1703. As a result, the icon 1702 is displayed at the touched position, and the touched position is set as the "defocus amount acquisition position."
[0156] In this way, the user sets the acquisition position of the defocus amount on the left side. Then, the user sets the acquisition position of the defocus amount on the right side by a similar operation. That is, the user touches the acquisition position of the defocus amount on the right side on the display screen 1701 with his / her finger. As a result, the touched position is set as a new "acquisition position of the defocus amount on the right side". FIG. 17B(a) shows the state of the display screen 1701 when an operation to set a new "acquisition position of the defocus amount on the right side" is performed in the state of FIG. 17A(b). In FIG. 17B(a), the user touches a position (position on the inspection target surface 1601) avoiding the structural material 1602 with his / her finger 1703, and as a result, an icon 1704 is displayed at the touched position. In addition, the touched position is set as the "acquisition position of the defocus amount".
[0157] 17A and 17B, the "left defocus amount acquisition position" is set before the "right defocus amount acquisition position", so the orientation detection direction is set from left to right (i.e., horizontal direction (rotation axis = pan axis)). In FIG. 17B(b), an arrow icon 1705 is displayed indicating that the orientation detection direction is from left to right. This arrow icon 1705 also indicates that the "left defocus amount acquisition position" was set before the "right defocus amount acquisition position" was set (i.e., the setting order of the defocus amount acquisition positions).
[0158] The operation of the imaging system according to this embodiment will be described with reference to the flowchart in Fig. 18. A user sets up the imaging system facing the surface to be inspected, and an image captured by the image sensor 104 is displayed as a live view image on the display screen on the back of the camera device 100 by the display unit 105. Then, when the user presses the button 1001, the process according to the flowchart in Fig. 18 is started.
[0159] For example, assume that the camera device 100 is disposed so as to face approximately directly against an inspection target surface 1601 shown in Fig. 16. Here, the user is in a state in which he can confirm default defocus amount acquisition positions 1603 and 1604 on a display screen 1701 of the camera device 100. Here, when the user presses a button 1001 on the controller device 329, processing according to the flowchart in Fig. 18 is started.
[0160] In step S1801, the CPU 101 of the camera device 100 determines whether or not a touch operation has been performed on the display screen. If the result of this determination is that a touch operation has been performed, the process proceeds to step S1803, and if no touch operation has been performed, the process proceeds to step S1802.
[0161] In the case of FIG. 17A(a), the user confirms via the display screen 1701 of the camera device 100 that the defocus amount acquisition position 1603 on the left side is above the structural material 1602, and therefore performs a touch operation on the display screen 1701.
[0162] In step S1802, the CPU 101 determines whether or not the button 1001 is pressed again. When the button 1001 is pressed, the controller device 329 detects the pressing and notifies the camera device 100 and the drone device 300 of the detection of the pressing. If the result of this determination is that the button 1001 is pressed again, the process proceeds to step S1803, and if the button 1001 is not pressed again, the process proceeds to step S1801.
[0163] In step S1803, CPU 101 accepts a touch operation for setting the “defocus amount acquisition position.” When CPU 101 detects a touch operation by the user, it displays an icon at the touched position and sets the touched position as the “defocus amount acquisition position.”
[0164] For example, as shown in Fig. 17A(b), when a touch operation for setting the acquisition position of the left defocus amount is detected, an icon 1702 is displayed at the touched position and the touched position is set as the acquisition position of the left defocus amount. After that, as shown in Fig. 17B(a), when a touch operation for setting the acquisition position of the right defocus amount is detected, an icon 1704 is displayed at the touched position and the touched position is set as the acquisition position of the right defocus amount.
[0165] In step S1804, CPU 101 obtains a vector extending from the position touched first by the user to the position touched later, and sets the direction of the obtained vector as the normalization detection direction.
[0166] Note that the processes in steps S1805 to S1808 and S1811 to S1815 are similar to the processes in steps S902 to S905, S908 to S911, and S906 described above, and therefore descriptions of these steps will be omitted.
[0167] In step S1814, the CPU 101 determines whether the difference is 0 or not, and if the difference is 0, it determines that the rotation control for correcting the orientation of the drone 300 is completed, and the process proceeds to step S1816.
[0168] In step S1816, CPU 101 acquires the setting order of the "defocus amount acquisition position" set earlier in step S1803 as 1, and the setting order of the "defocus amount acquisition position" set later as 2.
[0169] Then, in step S1817, CPU 101 displays, on the display screen, an arrow icon indicating an arrow from the "defocus amount acquisition position" with the setting order 1 toward the "defocus amount acquisition position" with the setting order 2.
[0170] In this way, according to this embodiment, the user can specify the acquisition position of the defocus amount for the purpose of orthogonal orientation while checking the display screen 1701. For example, it is possible to set the acquisition position of the defocus amount so as to avoid the structural material 1602, etc. This enables rotation control for reliable orthogonal orientation.
[0171] In addition, by allowing the user to set the defocus amount acquisition position, it is possible to overwrite the setting of the orientation detection direction. In addition, when the user images adjacent surfaces to be inspected, the user can determine the order of acquisition positions in step S1803 for the purpose of recording the direction, and the direction can be presented on the display screen 1701 as an arrow icon 1705.
[0172] Furthermore, when the drone device 300 and the camera device 100 are autonomously controlled to continuously capture images of adjacent surfaces to be inspected, it is possible to specify the rotation direction of the orientation control and the direction of continuous imaging using the settings of the acquisition position described above.
[0173] [Sixth embodiment] Criteria for determining at what position on the display screen of the camera device 100 it is good to set the defocus amount acquisition position (or at what position it is not good to set the defocus amount acquisition position) may be displayed on the display screen.
[0174] For example, the defocus amount for each position within the imaging range of the camera device 100 may be acquired, and the position where the defocus amount (outlier) that is significantly different from the others among the defocus amounts at each position may be displayed on the display screen. Also, positions on the display screen excluding the positions where the outliers are acquired may be displayed on the display screen. Also, the positions where the outliers are acquired and the positions where the defocus amounts that are not outliers are acquired may be displayed on the display screen so that they can be distinguished from each other.
[0175] In each of the above embodiments, the information is displayed on the display screen on the back of the camera device 100, but it may be displayed on any screen. In the above description, the determination of whether A=B may be a determination of whether A and B are completely the same, or a determination of whether the difference between A and B is within an allowable range. In other words, if the difference between A and B is within an allowable range, it may be considered that A=B.
[0176] Furthermore, the numerical values, processing timing, processing order, etc. used in the above explanation are given as examples to provide a concrete explanation, and are not intended to be limiting to these numerical values, processing timing, processing order, etc.
[0177] In addition, a part or all of the embodiments described above may be used in appropriate combination. In addition, a part or all of the embodiments described above may be used selectively.
[0178] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0179] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0180] 122: Determination unit 123: Acquisition unit 124: Control unit 125: Difference calculation unit 126: Identification unit 127: Output unit
Claims
1. An acquisition means for acquiring defocus amounts at a plurality of positions within an imaging range of the imaging device; a notification means for acquiring notification information corresponding to the difference in the defocus amount acquired by the acquisition means from a table in which notification information for notifying a user of a rotation direction and / or a degree of rotation of the imaging device is registered for each difference in the defocus amount, and notifying a user of the acquired notification information; An imaging device comprising:
2. a means for setting the axis of rotation in response to a user operation; The plurality of positions vary according to the axis.
2. The imaging device according to claim 1 .
3. 3. The imaging apparatus according to claim 1, wherein the notification unit obtains, from the table, an icon representing a rotation direction corresponding to a sign of the difference, and displays the obtained icon.
4. 4. The imaging device according to claim 1, wherein the notification means obtains, from the table, an icon representing a degree of rotation corresponding to an absolute value of the difference, and displays the obtained icon.
5. 5. The image pickup apparatus according to claim 3, wherein the notification means displays the icon on a display screen of the image pickup apparatus.
6. The imaging device described in claim 3 or 4, characterized in that the notification means displays the icon on a display screen of a controller device that a user operates to control a drone device equipped with the imaging device.
7. The imaging device described in claim 1 or 2, further characterized in that it is provided with an output means for outputting the axis of rotation selected in accordance with user operation and the difference to a tripod head device on which the imaging device is mounted.
8. The imaging device of claim 1 or 2, further characterized in that it is provided with an output means for outputting to a drone device equipped with the imaging device the rotation axis of the imaging device selected in accordance with user operation and information instructing the rotation of the imaging device obtained based on the difference.
9. The imaging device described in claim 8, characterized in that the output means further calculates an amount of parallel translation of the imaging device so that the point of interest that was imaged by the imaging device before the drone device rotated based on the rotation axis and the information can be imaged after the rotation, based on the lens characteristics of the imaging device and the defocus amount at the point of interest, and outputs the calculated amount of parallel translation to the drone device.
10. 10. The imaging apparatus according to claim 1, further comprising a setting unit that sets the position in response to a user operation.
11. 11. The image pickup apparatus according to claim 10, wherein the setting means sets the rotation axis of the image pickup apparatus in accordance with an order in which the positions are set.
12. 2. The imaging device according to claim 1, wherein an imaging range of the imaging device includes a structure to be inspected.
13. 9. The imaging device according to claim 7, wherein the output means outputs information instructing the imaging device to rotate in a direction that enables acquisition of an image suitable for detecting a deformation of a structure.
14. A control method for an imaging device, comprising: an acquisition step in which an acquisition means of the imaging device acquires defocus amounts at a plurality of positions within an imaging range of the imaging device; a notification step in which a notification means of the imaging device acquires notification information corresponding to the difference in the defocus amount acquired in the acquisition step from a table in which notification information for notifying a user of a rotation direction and / or a degree of rotation of the imaging device is registered for each difference in the defocus amount, and notifies a user of the acquired notification information; 13. A method for controlling an imaging apparatus comprising:
15. A computer program for causing a computer of an imaging apparatus to function as each of the means of the imaging apparatus according to any one of claims 1 to 13.
Citation Information
Patent Citations
Camera
JP2003185902A
Imaging support device and imaging support method
WO2017126368A1
Designation device and designation method
WO2019012803A1
