Image capture method, image capture device, and program

The imaging method and device address the challenge of color restoration in underwater imaging by using stereo cameras and depth/turbidity meters to assess and adjust image positions, resulting in improved color representation and quality for 3D reconstruction in underwater environments.

WO2024181135A1PCT designated stage expired Publication Date: 2024-09-06SONY GROUP CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/005158
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-27
Filing Date
2024-02-15
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing underwater imaging technologies face challenges in achieving high-quality color restoration due to variations in color attenuation rates with wavelength in water, making 3D reconstruction with accurate color representation difficult.

Method used

An imaging method and device that acquire and process underwater images using stereo cameras with depth and turbidity meters, determining image suitability for color restoration and adjusting the imaging position based on correction information to optimize color reproduction.

Benefits of technology

Enables the capture of images suitable for color restoration, improving the quality of underwater imaging for applications like infrastructure inspections and ocean floor mapping by ensuring accurate color representation and reducing the need for post-processing corrections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024005158_06092024_PF_FP
    Figure JP2024005158_06092024_PF_FP
Patent Text Reader

Abstract

The present disclosure relates to an image capture method, an image capture device, and a program that, with respect to underwater image capture, enable images suitable for color restoration to be acquired. The image capture device: acquires an image of an underwater subject captured by at least one image capture sensor; determines whether the captured image is suitable for color restoration; and outputs correction information for changing a relative position to the subject according to the determination result. The technology of the present disclosure can be applied, for example, to an image capture device that captures images used for 3D reconstructions such as underwater infrastructure inspections and undersea mapping.
Need to check novelty before this filing date? Find Prior Art

Description

Imaging method, imaging device, and program

[0001] The present disclosure relates to an imaging method, an imaging device, and a program, and more particularly to an imaging method, an imaging device, and a program that enable acquisition of images suitable for color restoration in underwater imaging.

[0002] 3D reconstruction using images is gaining attention for underwater infrastructure inspection, seafloor mapping, etc. However, because the rate of color attenuation varies depending on the wavelength underwater, it is difficult to achieve a high degree of 3D reconstruction that includes not only shape but also color.

[0003] For example, in order to correct color shifts in images captured underwater, a calibration process is performed to remove the effects of reflections from underwater particles from images captured underwater by placing a calibration device included in the camera within the camera's field of view (see, for example, Patent Document 1). Also, an underwater camera has been proposed that performs color correction so that color reproducibility approaches true natural color reproduction, eliminating the need for image processing in post-processing (see, for example, Patent Document 2).

[0004] JP 2022-124250 A JP 2004-146928 A

[0005] Due to differences in optical properties, the color of images captured in air and underwater differs. Improved color restoration for images captured underwater is desired, and underwater imaging that is suitable for color restoration is needed.

[0006] The present disclosure has been made in consideration of these circumstances, and makes it possible to acquire images suitable for color restoration in underwater imaging.

[0007] An imaging method according to one aspect of the present disclosure is an imaging method in which an imaging device acquires an image of an underwater subject captured by at least one imaging sensor, determines whether the image is suitable for color restoration, and outputs correction information for changing the relative position of the subject based on the determination result.

[0008] An imaging device according to one aspect of the present disclosure is an imaging device that includes at least one imaging sensor that captures an image of an underwater subject and outputs the captured image, and a determination unit that determines whether the captured image is suitable for color restoration and outputs correction information for changing the relative position of the subject based on the determination result.

[0009] A program according to one aspect of the present disclosure is for acquiring an image of an underwater subject captured by at least one imaging sensor, determining whether the image is suitable for color restoration, and, depending on the determination result, executing a process of outputting correction information for changing the relative position of the subject.

[0010] In one aspect of the present disclosure, an image of an underwater subject captured by at least one imaging sensor is acquired, a determination is made as to whether the image is suitable for color restoration, and correction information for changing the relative position of the subject is output depending on the determination result.

[0011] The imaging device according to one aspect of the present disclosure may be an independent device or an internal block constituting a single device. The program according to one aspect of the present disclosure may be provided by transmitting it via a transmission medium or by recording it on a recording medium.

[0012] 7 is a block diagram showing a configuration example of a first embodiment of an imaging device according to the present disclosure. FIG. 1 is a diagram illustrating processing by the imaging device according to the first embodiment. FIG. 2 is a diagram illustrating an example of a display on the display of the imaging device. FIG. 3 is a diagram illustrating an example of an imaging plan by the imaging device. FIG. 4 is a cross-sectional view of the imaging position viewed from the side with respect to the water surface. FIG. 5 is a diagram illustrating how imaging processing is executed according to the imaging plan of FIG. 4. FIG. 6 is a flowchart illustrating imaging processing performed by the imaging device according to the first embodiment. FIG. 7 is a flowchart illustrating image conformity determination processing in step S15 of FIG. 7. FIG. 8 is a diagram illustrating a first configuration example of a storage unit of the imaging device. FIG. 9 is a diagram illustrating a first data configuration example of imaging data. FIG. 10 is a diagram illustrating a second configuration example of the storage unit of the imaging device. FIG. 11 is a diagram illustrating a second data configuration example of imaging data. FIG. 12 is a block diagram showing a configuration example of a second embodiment of an imaging device according to the present disclosure. FIG. 13 is a diagram illustrating the advantages of an imaging device in which a display is separated from the device main body. FIG. 14 is a diagram illustrating a change in attitude of the imaging device. FIG. 15 is a diagram illustrating a change in attitude of the imaging device. FIG. 16 is a diagram illustrating a difference between mask images before and after attitude correction. FIG. 17 is a diagram illustrating a simplified tilt determination process for simply determining tilt with respect to a subject. FIG. 18 is a diagram illustrating a simplified tilt determination process for simply determining tilt with respect to a subject. Fig. 10 is a flowchart illustrating an imaging process performed by an imaging device according to a third embodiment. Fig. 11 is a block diagram illustrating a configuration example of an imaging device according to a fourth embodiment of the present disclosure. Fig. 12 is a block diagram illustrating a configuration example of an imaging device according to a fifth embodiment of the present disclosure. Fig. 13 is a flowchart illustrating the image conformity determination process of step S15 in Fig. 7 in the fifth embodiment. Fig. 14 is a block diagram illustrating a configuration example of an embodiment of a computer to which the technology of the present disclosure is applied.

[0013] Hereinafter, modes for carrying out the technology of the present disclosure (hereinafter referred to as embodiments) will be described with reference to the accompanying drawings. Note that in this specification and the drawings, components having substantially the same functional configurations will be assigned the same reference numerals to avoid redundant description. The description will be given in the following order: 1. First embodiment of imaging device (example of configuration with stereo camera) 2. Second embodiment of imaging device (example of configuration with separate display) 3. Third embodiment of imaging device (example of configuration with distance measurement sensor) 4. Fourth embodiment of imaging device (example of configuration with sonar) 5. Fifth embodiment of imaging device (example of configuration for performing image matching) 6. Example of computer configuration

[0014] 1. First Embodiment of Imaging Apparatus FIG. 1 is a block diagram showing an example of the configuration of a first embodiment of an imaging apparatus to which the technology of the present disclosure is applied.

[0015] 1 is an imaging device that captures an image of a subject underwater and generates a captured image, and in particular, is an imaging device that can generate captured images with improved color restoration (reproduction) quality. The captured images generated by the imaging device 1 are RGB images (color images) that are output to a 3D reconstruction processing device 2 and used for 3D reconstruction such as underwater infrastructure inspection and seabed mapping.

[0016] The imaging device 1 has two imaging sensors 11 (imaging sensor 11R, imaging sensor 11L), a timing generator 12, an illumination device 13, a depth meter 14, a turbidity meter 15, an image processing unit 16, a memory unit 17, and a display 18. The image processing unit 16 has a preprocessing unit 21 and a determination unit 22.

[0017] The two image sensors 11 are arranged in parallel at a fixed interval to form a stereo camera. Of the two image sensors 11, image sensor 11R is the image sensor arranged on the right side, and image sensor 11L is the image sensor arranged on the left side. The image sensors 11R and 11L synchronously capture images of a subject in accordance with a synchronization signal from a timing generator 12, and supply the resulting captured images to a pre-processing unit 21. When distinguishing between the captured images generated by the image sensors 11R and 11L, the captured image output by the image sensor 11R will be referred to as captured image (R), and the captured image output by the image sensor 11L will be referred to as captured image (L). When there is no need to particularly distinguish between the captured images generated by the image sensors 11R and 11L, they will simply be referred to as captured images.

[0018] The timing generator 12 supplies a synchronization signal that controls the timing of image capture based on a control signal from an operation unit (not shown) to the image capture sensors 11R and 11L, the depth meter 14, and the turbidity meter 15. The operation unit has an image capture button and the like, and when a command to start image capture is issued by a user operation, supplies a control signal to the timing generator 12 to output a synchronization signal.

[0019] The lighting device 13 has a light source such as an LED (Light Emitting Diode) and illuminates the periphery of the imaging range of the imaging sensor 11 based on a user operation performed on the operation unit. For example, the user turns on the lighting when there is insufficient light underwater, and turns it off when there is sufficient light. If the imaging device 1 is used only in imaging environments with sufficient light, the lighting device 13 can be omitted.

[0020] The depth meter 14 measures the depth [m] from the sea surface and supplies the depth to the memory unit 17. The timing of the measurement is synchronized with the image capture timing of the image sensor 11 based on a synchronization signal from the timing generator 12. The amount of light attenuation in water varies depending on the wavelength. Depth information is useful for color restoration because it can be used to estimate how much of each color of light contained in sunlight remains.

[0021] The turbidity meter 15 measures the turbidity [NTU] in the water and supplies the result to the memory unit 17. The timing of the measurement is synchronized with the imaging timing of the image sensor 11 based on a synchronization signal from the timing generator 12. Generally, when the turbidity is high, blue tends to attenuate more strongly, and turbidity can be used to estimate the amount of attenuation of blue, so it is useful information for color restoration.

[0022] The image processing unit 16 is configured by, for example, a central processing unit (CPU), a micro processing unit (MPU), or a digital signal processor (DSP), and has a preprocessing unit 21 and a determination unit 22 .

[0023] The pre-processing unit 21 performs pre-processing such as noise reduction and scaling on the stereo camera images of the captured image (R) and the captured image (L) supplied from the imaging sensors 11R and 11L, as needed. The pre-processing unit 21 also detects corresponding pixels in the captured image (R) and the captured image (L) that capture the same subject, and calculates the distance to the subject by detecting parallax information. The pre-processing unit 21 then generates a depth image in which a depth value representing the distance to the subject is stored as a pixel value, and supplies the depth image to the storage unit 17. The pre-processing unit 21 supplies one of the captured image (R) and the captured image (L), for example, the captured image (R), to the storage unit 17 as a representative captured image. The captured image supplied to the storage unit 17 may be the captured image (L). Because there is a one-to-one correspondence between the pixels of the captured image and the depth image, it is easy to associate the pixels of the captured image and the depth image in image processing such as semantic segmentation, which will be described later.

[0024] The determination unit 22 receives the captured image, the depth image, and the turbidity from the storage unit 17. The depth image and the turbidity are stored in the storage unit 17 in synchronization with the captured image. The determination unit 22 determines whether the captured image is suitable for color restoration using the captured image, the depth image, and the turbidity from the storage unit 17. Specifically, the determination unit 22 detects an object appearing in the captured image as a subject and calculates the distance to the detected object from the depth image. If the object, which is the subject in the captured image, is captured at a distance suitable for color restoration, the determination unit 22 determines that the captured image is suitable for color restoration. On the other hand, if the object is captured outside the distance suitable for color restoration, the determination unit 22 determines that the captured image is not suitable for color restoration. The determination unit 22 supplies appropriate / inappropriate information, which is the determination result of whether the captured image is suitable for color restoration, to the storage unit 17 and the display 18. Furthermore, if the determination unit 22 determines that the captured image is not suitable for color restoration, it calculates correction information for moving the imaging position so that the subject is captured at a distance suitable for color restoration. The determination unit 22 superimposes the calculated correction information on the captured image and supplies it to the display 18. If the captured image is suitable for color restoration, it may superimpose information indicating that the image is suitable on the captured image, or it may allow imaging to continue without any superimposition.

[0025] The storage unit 17 is configured with, for example, a hard disk, a solid-state drive (SSD), a RAM disk, or a non-volatile memory, and stores various programs and data executed on the imaging device 1. The storage unit 17 also stores, as imaging data, the captured images and depth images supplied from the preprocessing unit 21, the depth supplied from the depth meter 14, and the turbidity supplied from the turbidity meter 15. If all of the imaging data stored in the storage unit 17 is data of captured images suitable for color restoration, the appropriateness / inappropriateness information, which is a determination result as to whether the captured image is suitable for color restoration, is omitted. On the other hand, if a captured image unsuitable for color restoration is also stored in the storage unit 17 as imaging data, the appropriateness / inappropriateness information, which is a determination result as to whether the captured image is suitable for color restoration, is also stored in the storage unit 17 as imaging data. The storage unit 17 outputs the imaging data generated by the imaging device 1 to an external device. For example, when the imaging device 1 is connected to a 3D reconstruction processing device 2 that performs 3D reconstruction processing of an image via a predetermined cable or the like, imaging data stored in the storage unit 17, which includes at least the captured image, the depth image, and the depth and turbidity at the time the captured image was acquired, is output to the 3D reconstruction processing device 2. The connection between the imaging device 1 and the 3D reconstruction processing device 2 is not limited to being wired, and may also be wireless.

[0026] The display 18 is configured by a thin display such as an LCD (Liquid Crystal Display) or an organic EL (Electro Luminescence) display, and displays the captured image supplied from the determination unit 22. When correction information is calculated by the determination unit 22, the correction information is superimposed on the captured image and displayed.

[0027] The imaging device 1, configured as described above, captures an image of a subject underwater and determines whether the resulting captured image is suitable for color restoration. If the captured image is not suitable for color restoration, the imaging device 1 calculates correction information for changing the relative position of the imaging device 1 with respect to the subject—more specifically, the distance between the imaging device 1 and the subject—to obtain a suitable image, and displays the correction information on the display 18. A user (photographer) capturing an image using the imaging device 1 can generate a captured image with improved color restoration (reproduction) quality by moving the imaging position based on the correction information and capturing the image again. In other words, this avoids a situation where a captured image that is easy to color restore is not available after capture. The captured image generated by the imaging device 1 is stored in the storage unit 17 and output to an external device (e.g., the 3D reconstruction processing device 2) at a predetermined timing. Capture may be performed periodically at regular intervals from when the user instructs the start of imaging until when the user instructs the end of imaging, or may be performed each time the imaging button is pressed.

[0028] <Detailed Description of Imaging Processing> The processing of the imaging device 1 according to the first embodiment will be described in more detail below with reference to FIGS.

[0029] First, the processes performed by the preprocessing unit 21 and the determining unit 22 will be described with reference to FIGS.

[0030] An image 51 in FIG. 2 is a diagram that schematically shows the underwater scene in the front direction of the imaging device 1.

[0031] Two objects 53A and 53B, which are to be photographed, are present in water 52 in front of the imaging device 1. The field of view (imaging range) FOV of the imaging device 1 captures a portion of the object 53A. A depression 54 that curves away from the imaging device 1 is formed in a portion of the object 53A that is included in the field of view FOV.

[0032] The imaging sensor 11R captures an image of a part of the object 53A as a subject, generates a captured image 71R, and supplies it to the pre-processing unit 21. Although not shown, the imaging sensor 11L also captures an image of a part of the object 53A, generates a captured image 71L, and supplies it to the pre-processing unit 21.

[0033] The pre-processing unit 21 generates a depth image 72 using the captured image 71R and the captured image 71L and supplies it to the storage unit 17. The depth image 72 is composed of, for example, an image that represents the distance to the subject using 16 bits ranging from 0 to 65535. Specifically, for example, a pixel value of "1" represents a distance of 1 cm, and a pixel value of "65535" represents a distance of 65535 cm. A pixel value of "0" is invalid. Therefore, the larger the pixel value, the farther the distance to the subject and the brighter (whiter) it is represented. Therefore, in the depth image 72, the depth value of the region of the depression 54 is large. The pre-processing unit 21 supplies the captured image 71R, which is one of the captured image 71R and the captured image 71L, and the depth image 72 to the storage unit 17 for storage.

[0034] The determination unit 22 performs a predetermined object detection process on the captured image 71R to detect the object 53A in the water. For example, the determination unit 22 performs semantic segmentation to distinguish between pixels of the water 52 and pixels of the object 53A, thereby detecting the object 53A. The determination unit 22 defines the region of the detected object 53A as a segment SG, as shown in the semantic segmentation processed image 73. The determination unit 22 calculates the distance to the detected object 53A using the results of the semantic segmentation and the depth image 72. Specifically, the determination unit 22 masks the depth image 72 with the segment SG and extracts the depth value of only the object 53A. The mask image 74 is an image from which the depth value of only the object 53A has been extracted. The determination unit 22 calculates a representative value of the distance to the object 53A using the depth value of the object 53A, and defines this as the distance to the object 53A. The representative distance value can be calculated, for example, by using the median, average (filtered value), or mode of the depth values ​​of the multiple pixels constituting the segment SG. Alternatively, the depth value of the center of gravity of the segment SG can be used as the representative value. Note that, for example, if the detected object 53 is hollow, such as a donut-shaped object, the center of gravity may be located in a place where no object 53 is present. Therefore, when using the center of gravity, it is necessary to calculate the representative value in combination with other methods. The representative distance value can be calculated by appropriately combining any statistical method, such as sorting the depth values ​​by value magnitude, excluding the top and bottom few percent as outliers, and calculating the median, average, or the like. When multiple segments SG are detected in semantic segmentation, each segment SG is identified as one object 53, and a representative distance value for each object 53 is calculated for each segment SG.

[0035] The determination unit 22 determines whether the captured image 71R of the object 53A is suitable for color restoration as follows. That is, if the distance d to the object 53A calculated using the representative value falls within an optimal distance range (hereinafter referred to as the "optimal distance range") where the minimum distance value Th_s < the distance d < the maximum distance value Th_l, the determination unit 22 determines that the captured image 71R is suitable for color restoration. For example, the minimum distance value Th_s can be set to the shortest focal length, and the maximum distance value Th_l can be set to a value obtained by adding a predetermined additional value α to the shortest focal length (shortest focal length + predetermined additional value α). The predetermined additional value α can be changed depending on the detected turbidity of the water 52. For example, when the turbidity is high, the predetermined additional value α is changed so that the optimal distance range becomes narrower.

[0036] The determination unit 22 supplies the storage unit 17 with appropriate / inappropriate information, which is the determination result of whether the captured image is appropriate for color restoration. If the determination unit 22 determines that the captured image is not appropriate for color restoration, the determination unit 22 calculates correction information for moving the imaging position so that the subject is captured at a distance appropriate for color restoration. For example, the determination unit 22 calculates, as correction information, the amount of movement of the imaging device 1 such that the distance d to the object 53A is the median of the appropriate distance range, and displays the correction information on the display 18 while superimposing it on the captured image.

[0037] FIG. 3 is a display example on the display 18, showing an example of a captured image 71R including correction information.

[0038] The display 18 displays a captured image 71R. A representative position mark 81 is superimposed on the captured image 71R at a pixel position corresponding to a representative value of the distance to the object 53A. Also, superimposed on the representative position mark 81 is correction information 82, "Down 50 cm," instructing the user to move the image vertically downward by 50 cm. Furthermore, near the top edge of the captured image 71R, the word "NG" is displayed as pass / fail information 83 indicating the judgment result, indicating that the current captured image is not suitable for color restoration. Based on the correction information superimposed on the captured image 71R, the user can change the relative position of the imaging device 1 with respect to the subject (for example, by translating and / or rotating the imaging device 1) and capture the image again, thereby acquiring (capturing) an image suitable for color restoration.

[0039] The imaging device 1 captures an image of a subject as described above at one imaging position and performs an image compatibility determination process to determine whether the captured image is suitable for color restoration. The imaging device 1 can also capture images at multiple imaging positions continuously based on an imaging plan.

[0040] Fig. 4 shows an example of an imaging plan for successively imaging a plurality of imaging positions, which is a plan view of the water surface (ocean surface) seen from directly above.

[0041] In the imaging plan, imaging positions P1, P2, P3, ..., P16 are set in order, with imaging position P1 as the starting point, and imaging position P16 as the final point. As shown in Figure 4, the 16 imaging positions P1 to P16 are set so that positions corresponding to the four sides of a rectangle are moved counterclockwise at predetermined intervals to capture images.

[0042] FIG. 5 is a cross-sectional view of the image pickup positions P1 to P4 as viewed from the side relative to the water surface.

[0043] Of the imaging positions P1 to P4 determined in the imaging plan, imaging positions P1, P3, and P4 are positions where the distance d from the subject (ground surface) is included in the appropriate distance range RG_OK. In addition to the appropriate distance range RG_OK, there are also the unsuitable distance range RG_NG_s, which is closer, and the unsuitable distance range RG_NG_l, which is farther. Imaging position P2 is not included in the appropriate distance range RG_OK, but is included in the unsuitable distance range RG_NG_l, which is farther.

[0044] FIG. 6 shows how the imaging process is executed in accordance with the imaging plan of FIG. 4, and the imaging positions P1 to P4 are imaged in order.

[0045] First, the user captures an image at imaging position P1. The imaging device 1 captures an image of the subject at imaging position P1 and performs image compatibility determination processing. As a result of the image compatibility determination processing, the distance d to the subject is found to be within the appropriate distance range RG_OK, so the captured image is determined to be suitable for color restoration. The user then translates the imaging device 1 to the next imaging position P2.

[0046] Next, the user captures an image at imaging position P2. The imaging device 1 captures an image of the subject at imaging position P2 and performs image compatibility determination processing. As a result of the image compatibility determination processing, the distance d to the subject is not included in the appropriate distance range RG_OK but is included in the longer distance inappropriate distance range RG_NG_l, so the captured image is determined to be unsuitable for color restoration, and correction information for moving the image downward by a predetermined movement amount β1 is displayed on the display 18. The user moves the imaging device 1 based on the correction information and captures an image. The imaging device 1 captures an image of the subject and performs image compatibility determination processing. As a result of the image compatibility determination processing, the distance d to the subject is included in the appropriate distance range RG_OK, so the captured image is determined to be suitable for color restoration. The user translates the imaging device 1 to the next imaging position P3.

[0047] The user captures an image at imaging position P3. Since imaging position P3 is simply moved parallel to the imaging position P2 in the traveling direction, it is included in the closer distance inappropriate range RG_NG_s, and the captured image is determined to be unsuitable for color restoration. Correction information for moving the imaging device 1 upward by a predetermined movement amount β2 is displayed on the display 18. The user moves the imaging device 1 based on the correction information and captures an image. The imaging device 1 captures an image of the subject and performs image compatibility determination processing. As a result of the image compatibility determination processing, the distance d to the subject is included in the appropriate distance range RG_OK, and the captured image is determined to be suitable for color restoration. The user then moves the imaging device 1 parallel to the next imaging position P4.

[0048] The user captures an image at imaging position P4. The imaging device 1 captures an image of the subject at imaging position P4 and performs image compatibility determination processing. As a result of the image compatibility determination processing, the distance d to the subject is found to be within the appropriate distance range RG_OK, so the captured image is determined to be suitable for color restoration. The user then translates the imaging device 1 to the next imaging position P5.

[0049] As described above, imaging processing is performed sequentially at imaging positions P1 to P16 according to the imaging plan. The movement amounts β1 and β2 used as correction information when the distance d to the subject is not within the optimum distance range RG_OK may be predetermined fixed values, or may be values ​​calculated to be the median of the optimum distance range RG_OK, as described above. In the case of fixed values, the downward movement amount β1 and the upward movement amount β2 may be the same or different. If the movement amounts β1 and β2 are small or excessively large, the number of imaging operations increases, so it is desirable to set them appropriately according to the absolute value of the optimum distance range RG_OK. While an example of consecutively imaging multiple imaging positions has been described, it is of course also possible to image using only one imaging position.

[0050] <Flowchart of Imaging Process> Next, an imaging process in which the imaging device 1 successively captures images at a plurality of imaging positions based on an imaging plan will be described with reference to the flowchart of Fig. 7. This process starts, for example, when a user operates the operation unit of the imaging device 1 at imaging position P1, which is a start point, to instruct the start of imaging.

[0051] First, in step S11, the timing generator 12 acquires a control signal supplied from the operation unit and outputs a synchronization signal that controls the image capturing timing to the image sensor 11R, the image sensor 11L, the depth meter 14, and the turbidity meter 15.

[0052] In step S12, the image sensors 11R and 11L capture images of the subject in accordance with a synchronization signal from the timing generator 12 to generate captured images. Stereo camera images of the captured image (R) and captured image (L) obtained as a result of the imaging are supplied to the pre-processing unit 21. The captured image (R) and captured image (L) are RGB images. If there is not enough light underwater, the user can turn on the lighting device 13 as needed to illuminate the subject.

[0053] In step S13, the depth meter 14 and the turbidity meter 15 each measure the depth and turbidity based on the synchronization signal and output them to the memory unit 17. The memory unit 17 stores the depth and turbidity supplied from the depth meter 14 and the turbidity meter 15, respectively.

[0054] In step S14, the pre-processing unit 21 generates a depth image from the stereo camera images of the captured image (R) and the captured image (L) as pre-processing. Other pre-processing such as noise reduction may be performed as needed. The pre-processing unit 21 supplies the generated depth image and one of the captured image (R) and the captured image (L), for example, the captured image (R), to the storage unit 17. The storage unit 17 stores the captured image (R) and the depth image supplied from the pre-processing unit 21 in association with the depth and turbidity acquired at the same time as the captured image (R).

[0055] In step S15, the determination unit 22 acquires the synchronized captured image, depth image, and turbidity from the storage unit 17, and executes an image compatibility determination process using the acquired captured image, depth image, and turbidity. Details of the image compatibility determination process will be described later with reference to the flowchart of Fig. 8, but the image compatibility determination process determines whether the captured image is an image suitable for color restoration. If the captured image is not an image suitable for color restoration, correction information is also calculated.

[0056] In step S16, the determination unit 22 determines whether the result of the image compatibility determination process is an image suitable for color restoration. If it is determined in step S16 that the image is suitable for color restoration, the process proceeds to step S17. In step S17, the determination unit 22 displays the captured image on the display 18. The determination unit 22 also stores the determination result in the storage unit 17 in association with the corresponding captured image (R), depth, and turbidity data. A display indicating that the image is suitable for color restoration may be superimposed on the captured image displayed on the display 18. The user moves to the next imaging position according to the imaging plan.

[0057] On the other hand, if it is determined in step S16 that the image is not suitable for color restoration, the process proceeds to step S18, where the determination unit 22 displays the captured image and correction information together with the determination result on the display 18. The determination unit 22 also stores the determination result in the storage unit 17 in association with the corresponding captured image (R) and depth and turbidity data. The user moves the imaging position in accordance with the correction information displayed on the display 18.

[0058] In step S19, the imaging device 1 determines whether to end imaging. If imaging data corresponding to all imaging positions in the imaging plan have been stored in the storage unit 17, it is determined that imaging is to end. If it is determined in step S19 that imaging has not yet ended, the process returns to step S11, and the above-mentioned steps S11 to S19 are repeated. On the other hand, if it is determined in step S19 that imaging has ended, the imaging process in FIG. 7 ends.

[0059] The image matching determination process in step S15 of FIG. 7 will be described in detail with reference to the flowchart of FIG.

[0060] First, in step S31, the determination unit 22 executes a predetermined object detection process on the captured image acquired from the storage unit 17. For example, as described with reference to Fig. 2, pixels that represent water as a subject are distinguished from pixels that represent an object by semantic segmentation. Note that any object detection process may be employed, not limited to semantic segmentation, and detected objects may be identified by bounding boxes or the like.

[0061] In step S32, the determination unit 22 determines whether an object exists in the captured image based on the object detection processing result. If it is determined in step S32 that an object does not exist, the process proceeds to step S19 in FIG. 7. On the other hand, if it is determined in step S32 that an object exists, the process proceeds to step S33, where the distance to the detected object is calculated. Specifically, the determination unit 22 calculates the distance to the detected object by calculating a representative value of the distance for each segment using the result of semantic segmentation and the depth image.

[0062] In step S34, the determination unit 22 determines whether the distance of the detected object is within the appropriate distance range. If it is determined in step S34 that the distance of the detected object is within the appropriate distance range, the process proceeds to step S35, where the determination unit 22 determines that the captured image is an image suitable for color restoration.

[0063] On the other hand, if it is determined in step S34 that the distance of the detected object is not within the appropriate distance range, the process proceeds to step S36, where the determination unit 22 determines that the captured image is not suitable for color restoration. Subsequently, in step S37, the determination unit 22 calculates correction information for moving the imaging position so that the subject is captured at a distance suitable for color restoration.

[0064] After step S35 or step S37, the process returns to the flowchart of FIG. 7 and proceeds to step S16.

[0065] As described above, in the imaging process performed by the imaging device 1, the imaging sensors 11R and 11L capture images of an underwater subject and generate captured images. The determination unit 22 acquires the captured image (e.g., captured image (R)) captured by the imaging sensor 11R or 11L. The determination unit 22 also acquires a depth image, which is distance information generated from the two captured images (R) and (L) captured by the imaging sensors 11R and 11L, as auxiliary information to assist in the determination. The determination unit 22 uses the acquired captured image and depth image to perform an image compatibility determination process to determine whether the captured image is suitable for color restoration, and outputs correction information for changing the relative position of the imaging device 1 with respect to the subject based on the determination result. The user can change the imaging position of the imaging device 1 according to the correction information and capture the image again. This allows images suitable for color restoration to be acquired (captured) during underwater imaging. It is possible to capture images of a single location, as well as multiple locations continuously based on an imaging plan.

[0066] In the above-described imaging process, the captured image, depth image, and turbidity data are temporarily stored in the storage unit 17, and the determination unit 22 acquires the data stored in the storage unit 17 and performs the image conformance determination process. However, if the processing speed is sufficient, the determination unit 22 may acquire the data without going through the storage unit 17 and perform the image conformance determination process. If the depth and turbidity data do not need to be strictly synchronized with the captured image, the supply of a synchronization signal to the depth meter 14 and the turbidity meter 15 may be omitted.

[0067] In the above-described imaging process, the image captured by the imaging device 1 is stored in the storage unit 17 regardless of whether the color restoration is appropriate or not.

[0068] FIG. 9 shows an example of the configuration of the storage unit 17 in the case where the captured image captured by the imaging device 1 is stored regardless of whether the color restoration is appropriate or inappropriate.

[0069] The storage unit 17 has at least one data holding area 101, which is used for both displaying and saving data. As shown in the state transition diagram on the right, imaging data such as a captured image generated each time imaging is performed is stored in the data holding area 101.

[0070] FIG. 10 shows an example of the data structure of image data stored in the data holding area 101 after one image capture.

[0071] The imaging data obtained from one imaging session consists of the captured image (RGB image), a depth image, and auxiliary information. The auxiliary information consists of depth, turbidity, and suitability / unsuitability information, which indicates whether the image is suitable for color restoration by using "1" (suitable) or "0" (unsuitable).

[0072] In the imaging process, captured images that are not suitable for color restoration may not be stored in the storage unit 17 .

[0073] FIG. 11 shows an example of the configuration of the storage unit 17 in the case where only captured images suitable for color restoration are stored.

[0074] The storage unit 17 has a data holding area 111 for display and a data holding area 112 for external output. The data holding area 111 for display is configured as a ring buffer. As shown in the state transition diagram on the right, imaging data such as a generated captured image is stored in the data holding area 111 configured as a ring buffer for each imaging session. Then, when the image is determined to be suitable for color restoration, the imaging data to be saved is stored in the data holding area 112 for external output. Once saving to the data holding area 112 is complete, the storage control state returns to a state in which imaging data such as a generated captured image is stored in the data holding area 111 configured as a ring buffer.

[0075] FIG. 12 shows an example of the data structure of image data when only captured images suitable for color restoration are stored.

[0076] The image data obtained from one capture consists of the captured image (RGB image), a depth image, and auxiliary information. The auxiliary information consists of depth and turbidity. Since only captured images suitable for color restoration are stored, there is no need for appropriate / inappropriate information.

[0077] In both cases of FIGS. 10 and 12 , the captured image (RGB image) of the subject, a depth image as auxiliary information, and depth and turbidity data at the time of capture are stored in the storage unit 17 as captured data. If captured images unsuitable for color restoration are also stored, appropriate / unsuitable information indicating whether the image is suitable for color restoration is added as auxiliary information and stored in the storage unit 17. The captured data stored in the storage unit 17 is output, for example, to the 3D reconstruction processing device 2. Storing the auxiliary information along with the captured image (RGB image) of the subject allows the auxiliary information to be used for color restoration when performing 3D reconstruction processing. For example, the depth data can be used to estimate the amount of light remaining for each color, and the turbidity data can be used to estimate the amount of blue attenuation, etc. Note that the depth and turbidity data, which are auxiliary information, may be stored as part of the image data as metadata for the captured image or depth image.

[0078] The imaging device 1 does not need to have a reference object such as a calibration device, as in the technology of Patent Document 1 described in the background art, and therefore can more easily provide captured images that are suitable for color restoration.

[0079] 2. Second Embodiment of Imaging Apparatus FIG. 13 is a block diagram showing an example configuration of a second embodiment of an imaging apparatus to which the technology of the present disclosure is applied.

[0080] In the second embodiment of FIG. 13, parts corresponding to those in the first embodiment shown in FIG. 1 are given the same reference numerals, and the description of those parts will be omitted as appropriate, and the description will focus on the different parts.

[0081] In the imaging device 1B of the second embodiment, the display 18 is configured to be separate from the device body of the imaging device 1B. For example, the distance between the display 18 and the imaging device 1B can be adjusted to be longer or shorter, and the angle (orientation) relative to the imaging device 1B can be adjusted. The display 18 may be configured to be detachable from the body of the imaging device 1B. The configuration of the imaging device 1B other than the display 18 is the same as that of the first embodiment.

[0082] 14 to 16, the advantages of the imaging device 1B in which the display 18 is configured separately from the device body will be described.

[0083] FIG. 14 shows how images are taken in the order of imaging positions P1, P2, and P3, similar to the imaging plan described with reference to FIGS.

[0084] A in Figure 14 shows a state in which, when imaging is performed using the imaging device 1 of the first embodiment, the distance d to the subject at imaging position P2 is not included in the appropriate distance range RG_OK, and the captured image is determined to be not suitable for color restoration.

[0085] In the imaging device 1 of the first embodiment, the display 18 is configured as an integral part of the device body, so the user (photographer) needs to move together with the imaging device 1 to keep the distance to the subject within an appropriate range, as shown in B of Figure 14.

[0086] In contrast, in the imaging device 1B of the second embodiment, the display 18 is configured separately from the device body, so that only the position of the imaging device 1B is moved, and there is no need to change the user position, as shown in C of Fig. 14. The example of Fig. 14 is an example in which the position of the imaging device 1B is changed in a direction that shortens the distance from the subject to the imaging device 1B, but it is of course also possible to change the position of the imaging device 1B in a direction that moves it away.

[0087] In the example of Figure 14, imaging device 1B can move so that the distance d to the subject is within the appropriate distance range RG_OK, but will capture an image of an inclined subject (e.g., the ground surface) without facing it directly.

[0088] Therefore, as shown in Fig. 15, not only is the distance d to the subject adjusted to within the optimum distance range RG_OK, but the attitude of imaging device 1B can also be controlled to be changed so that imaging device 1B faces the subject directly. Specifically, as shown in Fig. 16, if the tilt angle θ of the subject with respect to the vertical direction is known so that imaging device 1B faces the subject directly, imaging position 131 at the vertical distance d can be moved by d(1-cos θ) in the vertical direction (depth direction) and by d sin θ in the planar direction. In this case, too, the attitude of imaging device 1B can be changed so that it faces the subject directly, without changing the user position.

[0089] Figure 17 is a schematic diagram of a mask image 152 in which the depth value of only object 151, which is a subject included in the FOV of the imaging device 1, is extracted, before and after posture correction is performed so that the subject is directly facing the object 151.

[0090] In the mask image 152 before posture correction, the depth value becomes higher (closer to white), i.e., the distance becomes greater, toward the top of the image. In contrast, in the mask image 152 after posture correction, the gradient of the depth value is reduced.

[0091] Since the appearance of colors changes when the image capture device 1B is tilted relative to the subject, it is desirable to capture the subject facing directly. By displaying information for changing the orientation of the image capture device 1B relative to the subject as correction information, it is possible to obtain a captured image suitable for color restoration.

[0092] It is possible to calculate the detailed tilt angle θ of the subject using the depth value of the depth image and change the posture, but it is also possible to simply determine whether the image capture device 1B is tilted significantly relative to the subject, and then change the tilt of the image capture device 1B by a fixed tilt angle θ0 to correct the extreme tilt.

[0093] 18 and 19 are diagrams illustrating a simple tilt determination process for simply determining the tilt relative to the subject and controlling the attitude.

[0094] First, as shown in the left diagram of Fig. 18 , the determination unit 22 calculates a rectangular region RG circumscribing the segment SG and divides the rectangular region RG surrounding the subject region into multiple regions SRG (hereinafter referred to as divided regions SRG). In the example of Fig. 18 , the rectangular region RG is formed by an area connected by four points with coordinates (min_x, min_y), (max_x, min_y), (min_x, max_y), and (max_x, max_y), and the rectangular region RG is divided into nine 3x3 divided regions SRG1 to SRG9. The number of pixels in the vertical direction of one divided region SRG is v [pix], and the number of pixels in the horizontal direction is h [pix].

[0095] Next, the determination unit 22 calculates the number of pixels in the subject area included in each divided area SRG. The determination unit 22 then determines whether the calculated number of pixels in the subject area is less than a predetermined threshold Pix_cnt, and determines divided areas SRG that are less than the predetermined threshold Pix_cnt (= h*v* coefficient) as don't care areas that are not used for gradient determination. In the example on the right side of Fig. 18, divided areas SRG1, SRG7, and SRG9 are determined to be don't care areas.

[0096] The determination unit 22 determines the divided regions SRG excluding the don't care regions. i For (i=2 to 6, 8), the representative value of the distance (depth value) DP i Calculate the representative value DP i The calculation method of the representative value of the object 53 can be the median, the average, the mode, or the like. i From these, a reference divided region PRG is determined as the divided region SRG that serves as the reference for determining the inclination. For example, the divided region SRG5 located in the center of the rectangular region RG is determined as the reference divided region PRG.

[0097] The determination unit 22 determines whether the reference divided region PRG is a j Distance difference DIF_DP j = (divided area SRG j Typical value of DP j - Representative value DP of the reference division region PRG i) (j is i other than the reference division area PRG). The determination unit 22 calculates the distance difference DIF_DP using the following determination formula (1): j Depending on each divided area SRG j is classified as a distance farther than the reference division region PRG ("0"), a distance similar to the reference division region PRG ("1"), or a distance closer than the reference division region PRG ("2"). The reference division region PRG is "1". DIF_DP j < -Th_near, "2" DIF_DP j > +Th_far, "0" -Th_near <= DIF_DP j If <= +Th_far, "1" ... (1)

[0098] Each divided region SRG in FIG. i As a result of the classification, for example, as shown in FIG. 19, the divided regions SRG2 and SRG3 are "0", the divided regions SRG4 to SRG6 are "1", and the divided region SRG8 is "2".

[0099] The determination unit 22 determines by pattern matching whether the pattern of the classified segment SG matches one of multiple pre-stored registered patterns PT1, PT2, PT3, PT4, .... The determination unit 22 corrects extreme tilts by generating correction information that changes the tilt direction corresponding to the matching registered pattern PT by a fixed tilt angle θ0. Don't care regions are ignored in the pattern matching. Furthermore, if the segment does not match any of the multiple pre-stored registered patterns PT, no correction information is generated.

[0100] As described above, the image capturing apparatus 1B divides the subject area into a plurality of divided areas SRG, and calculates the distance (representative value DP i) is calculated, a pattern is determined by comparing it with the reference divided region PRG, and the orientation of the image capture device 1B relative to the subject can be detected using pattern matching. Then, by outputting correction information that changes the fixed tilt angle θ0 according to the detected orientation, the image capture device 1B can be controlled so that it faces the subject directly.

[0101] In the second embodiment as well, if the captured image is not suitable for color restoration, the user can change the orientation of the imaging device 1 in accordance with the correction information and capture the image again, thereby making it possible to acquire (capture) an image suitable for color restoration when capturing images underwater.

[0102] 3. Third Embodiment of Imaging Apparatus FIG. 20 is a block diagram showing an example configuration of a third embodiment of an imaging apparatus to which the technology of the present disclosure is applied.

[0103] In the third embodiment of FIG. 20, parts corresponding to those in the first embodiment shown in FIG. 1 are given the same reference numerals, and the description of those parts will be omitted as appropriate, and the description will focus on the different parts.

[0104] The imaging device 1C of the third embodiment differs from the first embodiment in that the number of imaging sensors 11 is changed to one and a distance measurement sensor 201 is newly added, but in other respects it is configured in the same way as the first embodiment.

[0105] The imaging device 1 of the first embodiment uses one of the two captured images (R) and (L) captured by the two imaging sensors 11 as the captured image for data storage, and uses a depth image generated from the two captured images (R) and (L) to determine whether the subject has been captured at a distance suitable for color restoration.

[0106] The imaging device 1C of the third embodiment uses an image captured by a single imaging sensor 11 as an image for data storage and display, and uses a depth image output by the ranging sensor 201 to determine whether the subject has been captured at a distance suitable for color restoration.

[0107] The ranging sensor 201 has a light source that outputs infrared light or the like as active light and measures the distance to a predetermined object that is a subject using an indirect ToF (Time of Flight) method or a direct ToF method. The indirect ToF method irradiates a surrounding object with irradiation light, detects the reflected light that is reflected by the surface of the object, and calculates the distance to the object by detecting the time of flight from when the irradiation light is emitted to when the reflected light is received as a phase difference. This method can achieve high-precision measurements over relatively short distances. The direct ToF method directly measures the time of flight from when the irradiation light is emitted to when the reflected light is received to calculate the distance to the object. This method is more effective than the indirect ToF method for measuring long distances. The ranging sensor 201 measures the distance to the predetermined object that is a subject based on the received reflected light, generates a depth image, and supplies it to the preprocessing unit 21. In the first embodiment, the depth image was generated from the stereo camera image, so there was a one-to-one correspondence between the pixels of the captured image and the depth image. However, the number of pixels of the ranging sensor 201 and the image sensor 11 may differ. In this case, the pixels of the captured image and the depth image are associated in advance, so the distance to the subject appearing in the captured image can be detected. Similarly, the captured image and the depth image are synchronized by a synchronization signal from the timing generator 12. Since the ranging sensor 201 generates the depth image and supplies it to the pre-processing unit 21, there is no need for the pre-processing unit 21 to generate the depth image.

[0108] FIG. 21 is a flowchart of the imaging process performed by the imaging device 1C of the third embodiment.

[0109] Steps S51 to S59 in the imaging process of FIG. 21 correspond to steps S11 to S19 in the imaging process of FIG. 7, respectively, and are performed in the same manner as the imaging process of FIG. 7 except that steps S52 and S54 are changed.

[0110] In step S52, in the first embodiment, the two image sensors 11R and 11L capture images of the subject in accordance with a synchronization signal and generate two captured images, but in the third embodiment, one image sensor 11 captures images of the subject in accordance with a synchronization signal and generates a captured image.

[0111] In step S54, in the first embodiment, the pre-processing unit 21 generates a depth image as pre-processing, but in the third embodiment, the distance measurement sensor 201 generates a depth image and supplies it to the pre-processing unit 21. The pre-processing unit 21 supplies the supplied captured image and depth image to the storage unit 17. The pre-processing unit 21 may perform noise reduction processing, etc., as necessary.

[0112] According to the third embodiment, the imaging device 1C acquires distance information to the underwater subject as auxiliary information from an underwater image of the subject captured by one imaging sensor 11 and a depth image captured by the distance measurement sensor 201. The imaging device 1C then uses the captured image and the distance information to the subject to determine whether the captured image is suitable for color restoration. Compared to the first embodiment, the pre-processing unit 21 does not need to generate a depth image from two captured images, which reduces the processing load on the image processing unit 16.

[0113] In the third embodiment, too, if the captured image is not suitable for color restoration, the user can change the imaging position of the imaging device 1C in accordance with the correction information and capture the image again, thereby making it possible to acquire (capture) an image suitable for color restoration when capturing images underwater.

[0114] 4. Fourth Embodiment of Imaging Apparatus FIG. 22 is a block diagram showing an example configuration of a fourth embodiment of an imaging apparatus to which the technology of the present disclosure is applied.

[0115] In the fourth embodiment of FIG. 22, parts corresponding to those in the first embodiment shown in FIG. 1 are given the same reference numerals, and the description of those parts will be omitted as appropriate, and the description will focus on the different parts.

[0116] The imaging device 1D of the fourth embodiment differs from the first embodiment in that the number of imaging sensors 11 is changed to one and a sonar 221 is newly added, but in other respects it is configured in the same way as the first embodiment.

[0117] The imaging device 1D of the fourth embodiment uses an image captured by a single imaging sensor 11 as an image for data storage and display, and uses a depth image output by the sonar 221 to determine whether the subject has been captured at a distance suitable for color restoration.

[0118] The sonar 221 is a device that emits sound waves underwater and measures the distance to an object based on the time it takes for the sound waves to reflect off the object and return. The sonar 221 measures the distance to a specific object based on the received sound waves, generates a depth image, and supplies it to the pre-processing unit 21. In the first embodiment, the depth image was generated from the stereo camera image, so there was a one-to-one correspondence between the pixels of the captured image and the depth image. However, the number of pixels of the depth image generated by the sonar 221 and the captured image may differ. In this case, the pixels of the captured image and the depth image are previously associated with each other, allowing the distance to the subject shown in the captured image to be detected. Similarly, the captured image and the depth image are synchronized by a synchronization signal from the timing generator 12.

[0119] The imaging process of the imaging device 1D of the fourth embodiment is basically the same as the imaging process of the third embodiment described with reference to FIG. 21, and therefore a description thereof will be omitted.

[0120] According to the fourth embodiment, the imaging device 1D acquires distance information to the subject as auxiliary information from an underwater image of the subject captured by one imaging sensor 11 and a depth image captured by the sonar 221. The imaging device 1D then uses the captured image and the distance information to the subject to determine whether the captured image is suitable for color restoration. Compared to the first embodiment, the pre-processing unit 21 does not need to generate a depth image from two captured images, which reduces the processing load on the image processing unit 16.

[0121] In the fourth embodiment, too, if the captured image is not suitable for color restoration, the user can change the imaging position of the imaging device 1D in accordance with the correction information and capture the image again, thereby making it possible to acquire (capture) an image suitable for color restoration during underwater imaging.

[0122] 5. Fifth Embodiment of Imaging Apparatus FIG. 23 is a block diagram showing an example configuration of a fifth embodiment of an imaging apparatus to which the technology of the present disclosure is applied.

[0123] In the fifth embodiment of FIG. 23, parts corresponding to those in the first embodiment shown in FIG. 1 are given the same reference numerals, and the description of those parts will be omitted as appropriate, and the description will focus on the different parts.

[0124] In the imaging device 1E of the fifth embodiment, the number of imaging sensors 11 is changed to one, and the timing generator 12 is omitted. On the other hand, a subject DB 241 is newly added. In other respects, the imaging device 1E is configured in the same way as in the first embodiment.

[0125] The imaging device 1E does not have a means for measuring the distance to the subject, and instead determines whether the subject has been captured at a distance suitable for color restoration using only the captured image captured by the imaging sensor 11. Specifically, the subject DB 241 stores a large number of template images of the object to be captured. The determination unit 22 references the template images in the subject DB 241 and determines whether a known object is present in the captured image acquired via the storage unit 17. If a known object registered in the subject DB 241 is detected, the determination unit 22 detects the size of the object using a bounding box or the like, and determines whether the captured image is suitable for color restoration based on the detected size. More specifically, if the size of the detected object is equal to or greater than a predetermined threshold, the determination unit 22 determines that the object has been captured at a sufficiently close distance and that the image is suitable for color restoration. On the other hand, if the size of the detected object is smaller than the predetermined threshold, the determination unit 22 determines that the image is not suitable for color restoration.

[0126] In the imaging device 1E, a depth image is not generated, and therefore the depth image is not included in the imaging data output to an external device. In addition, in the imaging device 1E, the timing generator 12 is omitted because it is not necessary to strictly synchronize the depth and turbidity with the captured image, but a timing generator 12 may be provided as in the above-described embodiment to synchronize the captured image with the depth and turbidity.

[0127] The imaging process performed by the imaging device 1E of the fifth embodiment will be described with reference to the flowchart of FIG.

[0128] In the imaging process of the fifth embodiment, steps S11 and S14 in the imaging process of Fig. 7 are omitted. First, in step S12, a subject is imaged by one imaging sensor 11, and an imaged image is generated. The generated imaged image is supplied to the storage unit 17 via the pre-processing unit 21. Next, in step S13, the depth meter 14 and the turbidity meter 15 measure depth and turbidity, respectively, and output the results to the storage unit 17. Next, in step S15, the determination unit 22 executes an image conformity determination process using the captured image stored in the storage unit 17. Steps S16 to S19 are similar, and therefore will be omitted.

[0129] FIG. 24 is a detailed flowchart of the image conformity determination process in step S15 of FIG. 7 in the fifth embodiment.

[0130] First, in step S71, the determination unit 22 refers to a template image in the object DB 241 and executes an object detection process on the captured image.

[0131] In step S72, the determination unit 22 determines whether an object exists in the captured image. If it is determined in step S72 that an object does not exist, the process proceeds to step S19 in Fig. 7. On the other hand, if it is determined in step S72 that an object exists, the process proceeds to step S73, where the determination unit 22 detects the size of the object using a bounding box or the like.

[0132] In step S74, the determination unit 22 determines whether the size of the detected object is equal to or larger than a predetermined threshold value. If it is determined in step S74 that the size of the detected object is equal to or larger than the predetermined threshold value, the process proceeds to step S75, where the determination unit 22 determines that the captured image is suitable for color restoration.

[0133] On the other hand, if it is determined in step S74 that the size of the detected object is smaller than the predetermined threshold, the process proceeds to step S76, where the determination unit 22 determines that the captured image is not suitable for color restoration. Subsequently, in step S77, the determination unit 22 calculates correction information for moving the imaging position so that the subject is captured at a distance suitable for color restoration, more specifically, correction information for moving the imaging position so as to approach the subject.

[0134] After step S75 or step S77, the process returns to the flowchart of FIG. 7 and proceeds to step S16.

[0135] According to the fifth embodiment, the imaging device 1E obtains the size of the subject (object size) from an image of an underwater subject captured by one imaging sensor 11, and determines whether the captured image is suitable for color restoration based on the size of the subject.

[0136] In the fifth embodiment, too, if the captured image is not suitable for color restoration, the user can change the imaging position of the imaging device 1E in accordance with the correction information and capture the image again, thereby making it possible to acquire (capture) an image suitable for color restoration during underwater imaging.

[0137] 6. Example of Computer Configuration The series of processes performed by the image processing unit 16 described above can be executed by hardware or software. When the series of processes are executed by software, the programs that make up the software are installed in a computer. Here, the computer includes a microcomputer incorporated in dedicated hardware, and a general-purpose personal computer, for example, that can execute various functions by installing various programs.

[0138] FIG. 25 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processes by a program.

[0139] In the computer, a CPU (Central Processing Unit) 301, a ROM (Read Only Memory) 302, and a RAM (Random Access Memory) 303 are interconnected by a bus 304.

[0140] An input / output interface 305 is also connected to the bus 304. An input unit 306, an output unit 307, a storage unit 308, a communication unit 309, and a drive 310 are connected to the input / output interface 305.

[0141] The input unit 306 includes a keyboard, mouse, microphone, touch panel, input terminal, etc. The output unit 307 includes a display, speaker, output terminal, etc. The storage unit 308 includes a hard disk, SSD (Solid State Drive), RAM disk, non-volatile memory, etc. The communication unit 309 includes a network interface, etc. The drive 310 drives a removable recording medium 311 such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory.

[0142] In a computer configured as described above, the CPU 301 performs the above-described series of processes by, for example, loading a program stored in the storage unit 308 into the RAM 303 via the input / output interface 305 and the bus 304 and executing the program. The RAM 303 also stores data and the like necessary for the CPU 301 to execute various processes.

[0143] The program executed by the computer (CPU 301) can be provided by being recorded on a removable recording medium 311 such as a package medium, for example. The program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.

[0144] In a computer, the program can be installed in the storage unit 308 via the input / output interface 305 by inserting the removable recording medium 311 into the drive 310. The program can also be received by the communication unit 309 via a wired or wireless transmission medium and installed in the storage unit 308. Alternatively, the program can be installed in the ROM 302 or the storage unit 308 in advance.

[0145] In this specification, the steps described in the flowcharts may be performed in chronological order in the order described, but they do not necessarily have to be processed in chronological order, and may be performed in parallel or at any necessary timing, such as when a call is made.

[0146] In this specification, a system refers to a collection of multiple components (devices, modules (components), etc.), regardless of whether all of the components are housed in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device housed in a single housing with multiple modules, are both systems.

[0147] The embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of the technology of the present disclosure.

[0148] For example, it is possible to adopt a form in which all or part of the above-described embodiments are combined as appropriate.

[0149] For example, the technology of the present disclosure can be configured as a cloud computing system in which a single function is shared and processed collaboratively by multiple devices via a network.

[0150] Each step described in the above flowchart can be executed by one device or can be shared and executed by multiple devices. Furthermore, if one step includes multiple processes, the multiple processes included in that one step can be executed by one device or can be shared and executed by multiple devices.

[0151] The effects described in this specification are merely examples and are not limiting, and there may be effects other than those described in this specification.

[0152] The technology disclosed herein may have the following configurations: (1) An imaging method in which an imaging device acquires an underwater subject imaged by at least one imaging sensor, determines whether the captured image is suitable for color restoration, and outputs correction information for changing a relative position of the subject depending on the determination result. (2) The imaging method described in (1), further acquiring auxiliary information that assists in determining whether the captured image is suitable for color restoration, and using the captured image and the auxiliary information, determines whether the captured image is suitable for color restoration. (3) The imaging method described in (2), in which the auxiliary information is a depth image calculated from two captured images obtained by capturing images of the underwater subject with two imaging sensors, the depth image including distance information of the subject, and the captured image and the depth image are used to determine whether the captured image is suitable for color restoration. (4) The imaging method described in (2), in which the auxiliary information is a depth image obtained by a ranging sensor, the depth image including distance information of the subject, and the captured image and the depth image are used to determine whether the captured image is suitable for color restoration. (5) The imaging method according to (2), wherein the auxiliary information is a depth image including distance information of the subject obtained by sonar, and the captured image and the depth image are used to determine whether the captured image is suitable for color restoration. (6) The imaging method according to (1), wherein the size of the subject is obtained from the captured image, and whether the captured image is suitable for color restoration is determined based on the size of the subject. (7) The imaging method according to any of (1) to (6), wherein the captured image is determined to be suitable for color restoration if the distance to the subject is within a predetermined distance range. (8) The imaging method according to (7), wherein the predetermined distance range is a range from the shortest focal length to the shortest focal length plus a predetermined additional value. (9) The imaging method according to (8), wherein the predetermined additional value is changed depending on the turbidity of water. (10) The imaging method according to any of (1) to (9), wherein the correction information is information for changing the distance from the imaging device to the subject.(11) The imaging method according to any one of (1) to (9), wherein the correction information is information for changing the attitude of the imaging device with respect to the subject. (12) The imaging method according to (11), wherein a subject area is divided into a plurality of areas, a distance for each divided area is calculated, the attitude of the imaging device with respect to the subject is detected, and the correction information for changing the attitude of the imaging device is output. (13) The imaging method according to any one of (1) to (12), wherein the correction information is output and displayed on a display. (14) The imaging method according to (13), wherein the display is separated from the main body of the imaging device. (15) The imaging method according to any one of (1) to (14), wherein a determination result of whether the captured image is suitable for color restoration is also output in addition to the correction information. (16) The imaging method according to (2) to (5), wherein the captured image, the auxiliary information, and the determination result are further stored in a storage unit. (17) The imaging method according to (2) to (5), wherein the captured image and the auxiliary information are further stored in a storage unit. (18) The imaging method according to any one of (2) to (5), (16), or (17), wherein the auxiliary information includes underwater turbidity or depth. (19) An imaging device comprising: at least one imaging sensor that images an underwater subject and outputs the captured image; and a determination unit that determines whether the captured image is an image suitable for color restoration and outputs correction information for changing a relative position with respect to the subject according to the determination result. (20) A program that causes a computer to execute a process of acquiring an image of an underwater subject imaged by at least one imaging sensor, determining whether the captured image is an image suitable for color restoration, and outputting correction information for changing a relative position with respect to the subject according to the determination result.

[0153] DESCRIPTION OF SYMBOLS 1, 1B, 1C, 1D, 1E Imaging device, 2 3D reconstruction processing device, 11, 11L, 11R Imaging sensor, 12 Timing generator, 13 Lighting device, 14 Depth meter, 15 Turbidity meter, 16 Image processing unit, 17 Memory unit, 18 Display, 21 Preprocessing unit, 22 Determination unit, 201 Distance measurement sensor, 221 Sonar, 241 Object DB, 301 CPU, 302 ROM, 303 RAM, 306 Input unit, 307 Output unit, 308 Memory unit, 309 Communication unit, 310 Drive

Claims

1. An imaging method in which an imaging device acquires an image of an underwater subject captured by at least one imaging sensor, determines whether the image is suitable for color restoration, and outputs correction information for changing the relative position of the subject based on the determination result.

2. The imaging method according to claim 1, further comprising obtaining auxiliary information for assisting in determining the captured image, and using the captured image and the auxiliary information, determining whether the captured image is suitable for color restoration.

3. The imaging method according to claim 2, wherein the auxiliary information is a depth image containing distance information of the subject calculated from two captured images obtained by capturing images of the subject underwater using two image sensors, and the captured images and the depth image are used to determine whether the captured image is suitable for color restoration.

4. The imaging method described in claim 2, wherein the auxiliary information is a depth image including distance information of the subject obtained by a distance measuring sensor, and the captured image and the depth image are used to determine whether the captured image is an image suitable for color restoration.

5. The imaging method according to claim 2, wherein the auxiliary information is a depth image obtained by sonar and includes distance information of the subject, and the captured image and the depth image are used to determine whether the captured image is suitable for color restoration.

6. The imaging method according to claim 1, further comprising the steps of: acquiring a size of the subject from the captured image; and determining whether the captured image is suitable for color restoration based on the size of the subject.

7. The imaging method according to claim 1, further comprising determining that the captured image is suitable for color restoration when the distance to the subject is within a predetermined distance range.

8. The imaging method according to claim 7, wherein the predetermined distance range is a range from the shortest focal length to the shortest focal length plus a predetermined additional value.

9. The imaging method according to claim 8, wherein the predetermined additional value is changed depending on the turbidity of the water.

10. The imaging method according to claim 1, wherein the correction information is information for changing the distance from the imaging device to the subject.

11. The imaging method according to claim 1, wherein the correction information is information for changing the attitude of the imaging device relative to the subject.

12. The imaging method according to claim 11, further comprising the steps of: dividing a subject area into a plurality of areas; calculating a distance for each divided area; detecting an attitude of the imaging device relative to the subject; and outputting the correction information for changing the attitude of the imaging device.

13. The imaging method according to claim 1, wherein the correction information is output to a display and displayed.

14. The imaging method according to claim 13, wherein the display is separate from the main body of the imaging device.

15. The imaging method according to claim 1, further comprising the step of outputting, in addition to the correction information, a determination result as to whether or not the captured image is suitable for color restoration.

16. The imaging method according to claim 2, further comprising storing the captured image, the auxiliary information, and the determination result in a storage unit.

17. The imaging method according to claim 2, further comprising storing the captured image and the auxiliary information in a storage unit.

18. The imaging method according to claim 16, wherein the auxiliary information includes underwater turbidity or depth.

19. An imaging device comprising: at least one imaging sensor that captures an image of an underwater subject and outputs the captured image; and a determination unit that determines whether the captured image is suitable for color restoration and outputs correction information for changing the relative position of the subject depending on the determination result.

20. A program for causing a computer to execute a process of acquiring an image of an underwater subject captured by at least one imaging sensor, determining whether the image is suitable for color restoration, and outputting correction information for changing the relative position of the subject depending on the determination result.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, computer program, and electronic device

    JP2011205619A

  • Imaging device and control method of the same

    JP2014202922A

  • Underwater / overland determination device, underwater / overland determination method, and underwater inspection device

    WO2017208288A1