Dry Calibration for Underwater Surveys

A virtual calibration method using a three-dimensional environment with varying refractive indices addresses the challenges of underwater camera calibration, providing efficient and accurate compensation for underwater distortions without the need for underwater execution.

JP2024539340APending Publication Date: 2024-10-28ROVCO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024525526
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-27
Filing Date
2022-10-25
Publication Date
2024-10-28

AI Technical Summary

Technical Problem

Conventional underwater camera calibration procedures are time-consuming and difficult to perform accurately due to inclement weather, limited space, and poor natural light, necessitating improvements for efficient and precise calibration without requiring underwater execution.

Method used

A method involving a three-dimensional virtual environment with media of different refractive indices is used to generate vector projections, allowing for camera calibration to be performed dry, using off-the-shelf algorithms and patterns, which accurately compensates for underwater distortions.

Benefits of technology

This method enables faster, more efficient, and accurate camera calibration, eliminating the need for underwater calibration and allowing the use of flat viewports, reducing manufacturing complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024539340000001_ABST
    Figure 2024539340000001_ABST
Patent Text Reader

Abstract

A system and method for calibrating a camera system for underwater use is disclosed. The method includes defining first, second, and third linearly adjacent media, each medium having a different refractive index than the other media. A virtual representation of a camera lens is placed in the first medium. A plurality of virtual planar patterns are generated in the third medium in relation to the virtual representation of the camera lens, disposed at different positions or orientations in front of it, and a plurality of points are identified on each virtual planar pattern. A plurality of vector projections are generated using each of the refractive indices of the first, second, and third media and a set of physical calibration parameters associated with the camera system. Each of the generated vector projections corresponds to a best-fit refractive path between one of the camera lenses and a corresponding one of the identified plurality of points. Calibration of the camera system is performed using the generated plurality of vector projections.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] SUMMARY OF THE DISCLOSURE The embodiments described herein generally relate to methods for calibrating a camera system. [Background technology]

[0002] Underwater camera systems (or camera modules) allow imaging using manned or unmanned vehicles (e.g., remotely operated vehicles, or ROVs). Such systems can be monocular (i.e., a single camera) or stereo (i.e., two cameras positioned adjacent to each other). Such camera systems require calibration to compensate for distortions in the captured images. This means that traditional methods of calibrating underwater camera systems must be performed in situ and underwater to accurately reflect the distortions that the camera system will experience when in use. Summary of the Invention [Problem to be solved by the invention]

[0003] However, conventional underwater camera calibration procedures can be time consuming and difficult to achieve accurately as a result of factors such as inclement weather, limited space to operate the underwater vehicle, poor natural light, etc. As a result, it would be beneficial to be able to accurately calibrate camera systems for underwater applications without having to perform the calibration procedure underwater. [Means for solving the problem]

[0004] According to a first aspect of the present invention there is provided a method of calibrating a camera system, the method comprising the steps of: defining a three-dimensional virtual environment comprising a plurality of linearly adjacent media, the linearly adjacent media comprising a first medium, a second medium, and a third medium; Each of the first, second, and third media has a different refractive index than the other media, and a virtual representation of at least one camera lens is located within the first medium; generating a plurality of virtual plane patterns disposed in different positions or orientations in front of a virtual representation of the at least one camera lens in relation to the virtual representation, the plurality of virtual plane patterns being located within the third medium; identifying a plurality of points on each of the imaginary planar patterns; generating a plurality of vector projections using the refractive indices of each of the first, second, and third media and a set of physical calibration parameters associated with the camera system; each generated vector projection corresponds to a best-fit refractive path between one of the at least one camera lens and a corresponding one of the identified points; performing a calibration of the camera system using the generated vector projections; and As can be seen from the above, this method can be computer implemented.

[0005] Here, the plurality of media are linearly arranged adjacent to each other, and the second medium is arranged between the first and third media.

[0006] The generated virtual plane patterns are disposed within a field of view of the at least one camera lens.

[0007] Each vector projection is a path between the at least one camera lens (or a focal point of the at least one camera lens) and a distinct point of the identified points, in other words, each of the identified points is associated with the at least one camera lens by a corresponding generated vector projection.

[0008] Thus, the present application provides a method of calibrating a camera system for underwater applications, which can be performed in advance on said camera system in the field and does not require performing calibration underwater (i.e., the calibration method is completely "dry"). The method is therefore easier, faster and more efficient than conventional methods of calibrating underwater camera systems, and provides highly accurate compensation of distortion effects underwater. Furthermore, due to the accuracy of the method, it is not necessary to employ a dome-type viewport in the camera system, increasing design flexibility. As an added advantage, any off-the-shelf standard camera calibration algorithm and calibration pattern can be used when employing the method.

[0009] It will be understood that references to "water" or "underwater" in this context are intended to include both salt water and fresh water.

[0010] Generating each vector projection can include generating a plurality of candidate direction vectors within a 30 degree range of the virtual representation of the at least one camera lens, with the center of the range being a linear projection onto a corresponding one of the identified plurality of points.

[0011] A set of physical calibration parameters can be obtained by performing a physical calibration of the camera system in air.

[0012] The camera system may be a stereo camera system, and the at least one camera lens may include two camera lenses, each of the two camera lenses corresponding to a camera of the stereo camera system.

[0013] The first medium may be air, the second medium may be a transparent material such as glass or plastic, and the third medium may be water.

[0014] The second medium may represent a viewport of the camera system, and the multiple vector projections may be generated additionally using a measured value for a thickness of the viewport of the camera system and a distance from the viewport to a center of each camera lens of the at least one camera lens of the camera system.

[0015] When the second medium represents a viewport of the camera system, the multiple vector projections can be generated additionally using a further set of physical calibration parameters, the further set of physical calibration parameters being determined by removing the viewport and performing a physical calibration of the camera system in air.

[0016] When the second medium represents a viewport of the camera system, the plurality of vector projections can be generated additionally using a scaling parameter for the viewport, the scaling parameter for the viewport can be determined by generating a further plurality of virtual plane patterns and associated vector projections within a three-dimensional virtual environment in which the third medium is air.

[0017] The method may further include collecting a plurality of images using the camera system underwater, perturbing at least one of a plurality of parameters, the plurality of parameters including a refractive index of at least one of a plurality of regions, an alignment of the at least one camera lens with respect to a normal axis of the second medium, and a distance of the at least one camera lens from the second medium, and regenerating the plurality of vector projections using the perturbed parameter and a set of physical calibration parameters. Further calibration of the camera system may then be performed using the collected plurality of images and the regenerated plurality of vector projections.

[0018] According to a second aspect of the invention, an electronic device may include one or more processors, a non-transitory memory, and one or more programs, wherein the one or more programs are stored in the non-transitory memory and configured to be executed by the one or more processors, wherein the one or more programs include instructions for performing any of the methods of the first aspect of the invention described above.

[0019] According to a third aspect of the invention, a non-transitory computer-readable storage medium stores one or more programs comprising instructions that, when executed by an electronic device with one or more processors, cause the electronic device to perform any of the methods of the first aspect of the invention.

[0020] In the following, embodiments will be described with reference to the drawings listed below. [Brief description of the drawings]

[0021] [Figure 1A] FIG. 1 is a perspective view of a single camera system that can be calibrated using the methods of the present application, with an inset of a cross-section at the viewport end of the camera system. [Figure 1B] FIG. 1 is a perspective view of a stereo camera system that can be calibrated using the methods of the present application. [Diagram 2] 1 is a block diagram illustrating steps and procedures for calibrating a camera system using the method of this application, including optional steps. [Diagram 3] FIG. 1 is an explanatory diagram showing an example of a virtual plane pattern that can be adopted in the method of this application. [Figure 4] FIG. 13 is an illustration showing a representation of a random arrangement of planar patterns generated in front of a virtual representation of the camera lenses of a stereo camera system within a virtual 3D environment. [Diagram 5]FIG. 1 is an illustration showing a representation of a vector projection from a camera lens to a selected point on a planar pattern in a virtual 3D environment through multiple media of different refractive indices. [Figure 6] 1 is a flow chart illustrating the steps taken in the calibration procedure of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] 1A shows a camera module 10 including a casing 11 that defines a watertight housing having an interior space. One end of the casing 11 includes a transparent window or viewport 12a. A camera 12 is mounted within the interior space and is arranged to capture images of the external environment through the viewport 12a. The camera 12 includes a camera lens 15 that faces the viewport 12a. The interior space of the casing 11 is accessible by removing a casing end cap 11a that is removably coupled to the body of the casing 11 via an O-ring sealed flange. An optional seal 13 is provided between the casing end cap 11a and the body of the casing to prevent the ingress of water.

[0023] [ka]

[0024] 1B shows an equivalent system for a stereo camera module 20 (or stereo camera system), where each camera 12 of the stereo camera module 20 contains all of the same components as the single camera module 10 of FIG.

[0025] In the stereo camera system 20, each camera 12 of the stereo camera system 20 may be housed inside its own casing 11 (as shown in FIG. 1B), or both cameras 12 may be housed inside the same casing 11.

[0026] The casing 11 may have multiple ports P1-P5 on the outside to allow wire connections between internal equipment installed within the interior space of the casing 11 and equipment installed outside it. In Figure 1A, five ports P1-P5 are present, but in other embodiments there may be fewer or more ports, or in some cases no ports at all. The ports P1-P5 of the stereo camera system shown in Figure 1B are not shown for clarity.

[0027] It will be appreciated that the design is not limited by the camera module 10 shown in Figure 1A and alternative suitable camera module designs can be employed. For example, the viewport 12a could have a dome shape or could be flat.

[0028] For dome-type viewports 12a, some calibration is often required because it may not be possible to position the camera sufficiently at the center of curvature of the dome, but the dome shape can negate some of the effects of refraction. Additionally, calibration may be required to correct for errors due to manufacturing tolerances or defects.

[0029] Camera calibration refers to the process of deriving parameters of a model that describes the physics of a camera system sufficiently well that estimation of the camera motion and the 3D structure of the scene can be made reliably and accurately from the captured images.

[0030] When a camera system is used in a medium such as water, the images captured by the camera system are affected by the refractive effects in the transmission of light through a different medium (e.g., from water through the glass of a viewport to the environment inside the sealed underwater camera housing), resulting in calibrations traditionally performed in air using linear camera models no longer being appropriate given the differences between the refractive effects in air compared to those in water.

[0031] As a result, to perform a proper camera calibration, it is conventional to perform a calibration procedure underwater, often at the site where the images are to be collected (e.g., during an underwater survey). Such underwater camera calibration typically requires placing a calibration chart with a known pattern in the camera's field of view to correct for perceived distortions in the captured images. This must be repeated many times from different angles to achieve a minimum acceptable level of camera calibration.

[0032] As a result, conventional underwater camera calibration procedures are time consuming and require significant effort in maneuvering the underwater vehicle housing the camera system in an attempt to capture images of the calibration chart from the various different angles required to obtain the required spread out data points.

[0033] Additionally, ensuring the quality of the camera calibration requires varying the camera field of view (or multiple fields of view in the case of a stereo camera system) of the calibration chart in terms of orientation, depth, and position relative to the camera. In practice, achieving this in the field and underwater can be difficult due to unforeseen environmental conditions such as heavy weather, limited space to operate the underwater vehicle, poor natural light, etc. This results in a degradation in the quality of the calibration and subsequent reconstruction to correct the image distortion.

[0034] Furthermore, when a camera system is lowered into the open sea from a boat or offshore platform, underwater calibration may not be possible at all. In these cases, the calibration process must be performed at a different time before being taken to the site, for example in a dock. However, if the camera system is opened or banged up during transportation to the site, it is likely that the calibration established will be invalid, and the procedure must be repeated underwater, which, as mentioned above, may be difficult, if not impossible, to achieve in the field.

[0035] In comparison, it is easier for a user to manually manipulate the calibration chart in an airborne environment at any convenient time prior to field operations. Therefore, the ability to perform the calibration procedure without the need to physically calibrate the camera system underwater saves time and avoids the above-mentioned inconveniences.

[0036] In this application, a "dry" camera calibration is performed virtually. The method of calibrating a camera system relies on calibration parameters governing image formation inside the housing, so that the method can accurately model the end-to-end process of image formation for the camera system in underwater conditions. The calibration parameters can be calculated by performing an in-air physical calibration of the camera system. This avoids the need to subsequently perform parts of the procedure in the field and underwater, thereby saving time and substantial effort during field operation and making the calibration procedure more efficient.

[0037] The accuracy of this dry calibration method obviates the need to employ a domed viewport, thereby avoiding the requirement to carefully align the center of curvature of the camera lens and the dome. Instead, a flat viewport can be used, which is easier to manufacture and easier to clean, less bulky, and less expensive. The use of a domed viewport is less susceptible to design imperfections and minor misalignments of the camera, therefore the fact that the method is independent of viewport design and generalizable for multiple types of materials provides an additional advantage.

[0038] In addition, any off-the-shelf standard camera calibration algorithm and calibration pattern for in-air calibration can be used when employing the present method.

[0039] Similarly, any off-the-shelf optimization package, calibration models and patterns can be used to derive the underwater parameters.

[0040] Different aspects of the calibration procedure are shown in Figure 2. Optional steps and procedures that can be included in the calibration procedure are indicated in Figure 2 using dashed lines.

[0041] In general, the procedure for calibrating the camera system involves mathematically defining a three-dimensional virtual space occupied by a plurality of media, where the plurality of media are defined as being linearly adjacent. In other words, each medium is defined as being adjacent to another nearby medium, and the plurality of media are generally defined as being aligned in a single direction in the three-dimensional virtual space. Further, each medium is defined as having a different refractive index than its immediately adjacent medium. At least one virtual representation of a camera lens is defined as being placed within one medium of the virtual three-dimensional environment. At least one virtual representation of a camera lens can be defined as being placed within a medium at an edge of the plurality of linearly adjacent media.

[0042] A plurality of virtual planar patterns are generated (or defined) as being located within the three-dimensional virtual space, each of the plurality of virtual planar patterns disposed in a different position or orientation relative to and in front of the virtual representation of the at least one camera lens, and the plurality of virtual planar patterns may be defined as being located exclusively within a single medium of the plurality of media that is not a medium in which the virtual representation of the at least one camera lens is located.

[0043] A plurality of points on each of the plurality of virtual planar patterns are identified, and a plurality of vector projections are generated (or determined or calculated) using the refractive indices of each of the plurality of media and a set of physical calibration parameters associated with the camera system, where each generated vector projection corresponds to a best-fit refractive path between one of the at least one camera lens and a corresponding one of the identified plurality of points.

[0044] The multiple vector projections for each of the multiple virtual planar patterns are then used in conjunction with the multiple virtual planar patterns to calibrate the camera system for in-situ use (e.g., underwater use).

[0045] The calibration parameters can be derived by performing a calibration process of the camera system in air (process 100 in FIG. 2). This may involve, for example, using a calibration chart, placing the chart in the field of view of the camera system, and performing a conventional in-air calibration method to correct for distortions in images captured by the camera system. The calibration chart includes a pattern by which specific points can be identified for the calibration process. Here, a calibration chart employing a simple "chessboard" pattern is considered, although many different patterns (e.g., the "ChArUco" pattern) can be used for the calibration chart.

[0046] The in-air calibration of a camera system allows estimating the parameters of a real model of the process of image formation inside the enclosure. Thus, the in-air calibration of a camera system concerns the basic geometry of the camera system itself without water-based refraction effects. Here, the physical calibration parameters may refer to the intrinsic parameters of the camera (such as, but not limited to, the focal length, the aspect ratio, the image position of the optical axis for each pixel, and the radial distortion coefficients) and, in the case of a stereo camera system, potential extrinsic parameters (such as, but not limited to, the baseline length, i.e., the separation between the two cameras, and the left and right camera plane orientation matrix). The underwater calibration provided by the present method includes the same set of parameters, but adjusts the values ​​to take into account the distortion effects introduced by refraction.

[0047] If the camera system is a stereo camera system, an in-air calibration is performed to provide relevant parameters for both cameras of the stereo camera system and additionally take into account the relative position and orientation between the two cameras.

[0048] Alternatively, if the intrinsic camera parameters and distortion coefficients for a given camera system are known, there is no need to perform a physical in-air calibration step, and the known intrinsic camera parameters and distortion coefficients can then be applied to a virtual calibration, as described below.

[0049] Optionally, an additional (or alternative) in-air calibration of the camera system can be performed with the viewport(s) 12a removed (process 180 in FIG. 2), so that refractive effects from the viewport material are eliminated, and this in-air calibration without the viewport(s) 12a can be included in the virtual calibration process to reduce the search space used during the virtual calibration.

[0050] The virtual calibration procedure (process 120 in FIG. 2) involves using a computer system to define a virtual three-dimensional environment 200, where the virtual three-dimensional environment 200 includes a virtual representation of the camera lens 15 (or each of the camera lenses 15a and 15b in the case of a stereo camera system 20).

[0051] The virtual three-dimensional environment 200 includes a number of separate regions, each of which is defined as being occupied by a different medium. Specifically, the region immediately in front of the virtual representation of the camera lens 15 (i.e., within the field of view of the camera lens 15) is defined as being occupied by a first medium N1 (shown in FIG. 5). In the case of the stereo camera system 20, the first medium N1 occupies the space immediately in front of the virtual representation of each of the camera lenses 15a and 15b (i.e., within the field of view of each of the camera lenses 15a and 15b). A second medium N2 (shown in FIG. 5) is defined as being in a region adjacent to the region occupied by the first medium N1 and located within the field of view of the camera lens 15 (or within the field of view of each of the camera lenses 15a and 15b in the case of the stereo camera system 20). Additionally, a third medium N3 (shown in FIG. 5) is defined as being located within an area adjacent to the area occupied by the second medium N2 and within the field of view of camera lens 15 (or, in the case of stereo camera system 20, within the field of view of each camera lens 15a and 15b).

[0052] [ka]

[0053] [ka]

[0054] In this embodiment, the virtual three-dimensional environment 200 includes three different media N1, N2, and N3, although it will be appreciated that more or fewer regions with different media may be employed.

[0055] It will be appreciated that this method does not require that the virtual three-dimensional environment 200 be simulated in its entirety. Instead, only an appropriate coordinate space can be defined, as well as mathematically defining a virtual representation of the camera lens 15 and the three different media N1, N2, and N3 within that coordinate space. As a result, it is possible to minimize the hardware resources required to perform the virtual calibration procedure (process 120 in FIG. 2).

[0056] Within the region of the virtual three-dimensional environment 200 defined as being occupied by the third medium N3, a number of virtual planar patterns 210 are then randomly defined.

[0057] An example of a virtual plane pattern 210 is shown in Figure 3, where the virtual plane pattern 210 takes the form of a "chessboard", although a variety of other suitable designs may be selected instead. The virtual plane pattern 210 is the virtual equivalent of a calibration chart used in conventional physical air or water calibration methods.

[0058] For each virtual planar pattern 210, the coordinates of the corners (shown with circles C at the intersections between the rectangles in FIG. 3) are also known relative to the local coordinate frame since the size of the rectangles of each virtual planar pattern 210 is known. These corners can be easily and accurately identified in the image. The known Euclidean coordinates of the corners and their corresponding points in the local coordinate frame of each virtual planar pattern 210, when imaged by a virtual camera, can be used to estimate the parameters of the virtual camera model that produced the virtual image.

[0059] To obtain a suitably accurate estimate of the parameters, multiple images are required at various orientations and positions of the virtual plane pattern 210. For example, 30-40 or more separate virtual plane patterns 210 can be randomly generated at various orientations and positions relative to the virtual camera 15 (or cameras 15a and 15b in the case of the stereo camera system 20) and within the field of view of the camera 15 (or cameras 15a and 15b in the case of the stereo camera system 20). An example of a random distribution of such virtual plane patterns 210 disposed relative to the virtual cameras 15a and 15b of the stereo camera system 20 is shown in FIG.

[0060] The generated virtual planar pattern 210 may also be positioned at various defined depths. For example, the virtual planar pattern 210 may be generated at a predefined depth between 0.5 and 6 meters.

[0061] Each corner C at the intersection between the rectangles on each virtual planar pattern 210 of the plurality of virtual planar patterns 210 is then identified as a 3D point M in the virtual 3D environment 200 to form a set of 3D points M in the virtual 3D environment 200. For each 3D point M, a vector projection υ is then generated between the virtual camera lens 15 and the 3D point M. Each vector projection υ passes through first, second, and third media N1, N2, and N3 interposed between the 3D point M and the camera lens 15 (or each camera lens 15a and 15b in the case of the stereo camera system 20).

[0062] Each vector projection υ is an orientation vector that specifies the direction of a ray that strikes the camera's focal point (also called the center of projection).

[0063] [ka]

[0064] The following discussion refers to a stereo camera system 20, but an equivalent approach can be taken for a single camera system. Here, the problem of generating the vector projections υ is then solved by optimizing the function:

[0065]

number

[0066] [ka]

[0067] As mentioned above, the above functions can be simplified and applied if the calibration is for a single camera system.

[0068] Recovering the stereo camera system calibration and generating the vector projection υ for each point M can be computed as the optimization:

[0069]

number

[0070] Minimizing such a function for a camera system operating in air is straightforward as it reduces to a simple Euclidean projection of the 3D point M along a line relative to the camera lens 15 (or each camera lens 15a and 15b in the case of a stereo camera system 20).

[0071] [ka]

[0072] The function f(M;θ) is itself a solution to another function that can be constructed using Snell's law:

[0073]

number

[0074]

change

[0075]

number

[0076]

change

[0077]

change

[0078]

change

[0079]

number

[0080]

change

[0081]

change

[0082]

change

[0083]

change

[0084] When employing a computer model of a physical in-air calibration procedure, it is possible to employ a model that matches exactly with the physical properties governing image formation. However, when employing a computer model of a physical underwater calibration (as is the present case), the model merely approximates the true physical properties governing underwater image formation. Nevertheless, this approximation has a higher degree of accuracy when the distance from the camera's focal point to the inner surface of the viewport is small (i.e., 8mm + / - 2mm).

[0085] [ka]

[0086] [ka]

[0087] [ka]

[0088] [ka]

[0089] [ka]

[0090] [ka]

[0091] When calibrating the stereo camera system 20, the process involves taking into account the relative position and orientation between the two cameras in addition to the monocular calibration of each camera. Therefore, this procedure is more detailed than performing two separate monocular calibrations (i.e., one for each camera). In addition to the two separate monocular calibrations, a calibration of the relative orientation and baseline of the stereo camera system 20, and optionally a recalibration of the intrinsic and distortion parameters of each camera, is required. In practice, this requires either performing a physical calibration with the aid of a suitable pattern (in which case the advantage of avoiding a physical calibration is negated) or following the virtual point generation method discussed above.

[0092] FIG. 6 shows a flow chart summarizing the steps taken when performing the calibration method of this application.

[0093] In step 490, the camera system can be optionally calibrated in air (shown in FIG. 6 with dashed lines to indicate that this step is optional). This allows the physical geometry calibration parameters of the target camera system to be derived for use in the subsequent virtual calibration procedure. If the physical calibration parameters of the target camera system are already known, this step is not necessary.

[0094] Next, the virtual calibration procedure 500 is performed. This may be done using a computer system or similar computational resource or electronic device that includes one or more processors and a non-transitory memory storing one or more programs configured to perform the virtual calibration procedure 500. Similarly, a non-transitory computer-readable storage medium may store one or more programs that include instructions that, when executed, perform the virtual calibration procedure 500.

[0095] [ka]

[0096] In step 520 of procedure 500, a number of virtual plane patterns 210, each with a random position and orientation and located within the field of view of camera lens 15 (or camera lenses 15a and 15b in the case of stereo camera system 20), are defined in the virtual three-dimensional environment 200 and placed in the third medium N3.

[0097] In step 530 of procedure 500 , a number of points are identified on each of the virtual planar patterns 210 to generate a set of three-dimensional points M to be placed within the virtual three-dimensional environment 200 .

[0098] In step 540 of procedure 500, multiple vector projections υ are generated, where each vector projection υ follows a path through first, second, and third media N1, N2, and N3 between camera lens 15 (or one of camera lenses 15a and 15b in the case of stereo camera system 20) and a 3D point M in virtual 3D environment 200. Each vector projection υ represents a best-fit refraction locus. In generating the vector projections υ, physical calibration parameters of the target camera system are used.

[0099] In step 550 of the procedure 500, a number of vector projections υ are grouped together, where each vector projection υ is grouped with other vector projections υ associated with a 3D point M from the same virtual planar pattern 210. Then, an image projection of each such virtual planar pattern 210 onto the camera system (or stereo camera system 20) is calculated.

[0100] The image projection of the virtual planar pattern 210 is then used to calibrate the target camera system (or stereo camera system 20) in step 560. This final step can be accomplished using any suitable off-the-shelf software package (e.g., OpenCV).

[0101] [ka]

[0102] The accuracy of the air calibration is considered to be sufficiently accurate and cannot be improved upon, however the remaining three factors may have a minor effect on the calibration estimate, and therefore if these factors are modifiable, the dry calibration estimate can be further improved.

[0103] [ka]

[0104] [ka]

[0105] This is accomplished by repeating steps 510 through 550 (i.e., generating the virtual planar pattern 210) for each perturbation of the parameters of interest to find the parameters that provide the minimum reconstruction error. The same in-air calibration parameters that were used in the initial virtual calibration can now be used again in the refinement virtual calibration.

[0106] Once the combination of parameter values ​​that results in the minimum mean reconstruction error is found, the refined parameters are used in a new virtual calibration to update the calibration of the camera system for the specific field environment.

[0107] The camera system calibration method discussed above pertains to a camera system for underwater use. However, it will be appreciated that the method is applicable to operation of a camera system in any medium where the refractive properties of the medium result in image distortion. For example, the method may be applied to a camera system operating in an environment containing high concentrations of gases or industrial fluids (e.g., ethanol or isopropyl alcohol).

[0108] Although specific embodiments have been described above, these embodiments are presented by way of example only and are not intended to limit the scope of this application. Indeed, the novel apparatus and method described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions, and changes in the form of the apparatus, method, and product described herein may be made without departing from the scope of this application. The term "comprises" can mean "including" or "consisting of," and thus does not exclude the presence of other elements or steps than those listed in any claim or the specification as a whole. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to greater effect. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope of this application. [Explanation of symbols]

[0109] 10 Camera Module 11 Casing 11a Casing End Cap 12 Camera 12a Viewport 13 Optional Seals 15 Camera, Virtual Camera, Camera Lens, Virtual Camera Lens 15a Cameras and lenses 20 Stereo camera module, stereo camera system 200 Virtual 3D Environment 210 Virtual Plane Pattern 500 steps 15a and 15b Camera lenses, cameras, virtual cameras M 3D point N1 First medium N1, N2, and N3 First, second, and third medium N2 Second medium N3 Third medium P1-P5 Ports υ Vector projection, direction vector

Claims

1. 1. A method of calibrating a camera system, the method comprising: defining a three-dimensional virtual environment including a plurality of linearly adjacent media, the linearly adjacent media including a first medium, a second medium, and a third medium; each of the first, second, and third media having a different refractive index than the other media; and a virtual representation of at least one camera lens is located within the first medium; generating a plurality of virtual plane patterns disposed in different positions or orientations in front of the virtual representation of the at least one camera lens, the plurality of virtual plane patterns being located within the third medium; identifying a plurality of points on each of the imaginary planar patterns; generating a plurality of vector projections using the refractive indices of each of the first, second, and third media and a set of physical calibration parameters associated with the camera system; each generated vector projection corresponds to a best-fit refractive path between one of the at least one camera lens and a corresponding one of the identified points; performing a calibration of the camera system using the generated vector projections; A method for calibrating a camera system, comprising:

2. 2. The method of claim 1, wherein generating each vector projection comprises generating a plurality of candidate direction vectors within a 30 degree range of the virtual representation of the at least one camera lens, the center of the range being a linear projection onto the corresponding one of the identified plurality of points.

3. The method of calibrating a camera system according to claim 1 or 2, wherein the set of physical calibration parameters is obtained by performing a physical calibration of the camera system in air.

4. 10. The method of calibrating a camera system according to any preceding claim, wherein the camera system is a stereo camera system and the at least one camera lens comprises two camera lenses, each of the two camera lenses corresponding to a camera of the stereo camera system.

5. 10. A method of calibrating a camera system according to any preceding claim, wherein the first medium is air, the second medium is a transparent material and the third medium is water.

6. the second medium represents a viewport of the camera system; the plurality of vector projections are additionally generated using a measured value for a thickness of the viewport of the camera system and a distance from the viewport to a center of each camera lens of the at least one camera lens of the camera system. A method for calibrating a camera system according to any preceding claim.

7. the second medium represents a viewport of the camera system; the plurality of vector projections are additionally generated using a further set of physical calibration parameters, the further set of physical calibration parameters being determined by removing the viewport and performing a physical calibration of the camera system in air. A method for calibrating a camera system according to any preceding claim.

8. the second medium represents a viewport of the camera system; the plurality of vector projections are additionally generated using a scaling parameter for the viewport; the scaling parameters for the viewport are determined by generating a further plurality of virtual plane patterns and associated vector projections within the three-dimensional virtual environment, the refractive indices of the first medium and the third medium being that of air, respectively. A method for calibrating a camera system according to any preceding claim.

9. moreover, collecting a plurality of underwater images using the camera system; Perturbing at least one parameter of a plurality of parameters, the plurality of parameters comprising: The refractive index of at least one of the plurality of regions; and an alignment of the at least one camera lens with respect to a normal axis of the second medium; and a distance of the at least one camera lens from the second medium; regenerating the plurality of vector projections using the perturbed parameters and the set of physical calibration parameters; performing a further calibration of the camera system using the collected images and the regenerated vector projections; 4. A method for calibrating a camera system according to any preceding claim, comprising:

10. 1. An electronic device comprising: one or more processors; A non-transient memory; One or more programs; wherein the one or more programs are stored in the non-transitory memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 1 to 9. Electronic devices.

11. A non-transitory computer readable storage medium storing one or more programs comprising instructions that, when executed by an electronic device with one or more processors, cause the electronic device to perform any of the methods of claims 1 to 9.

Citation Information

Patent Citations

  • Underwater camera calibration method

    CN105678742A

  • Calibration device of image and calibration method

    JP2017098859A

  • Calibration device, calibration system, and calibration method

    WO2019049421A1

  • Calibration device and calibration method

    WO2019216297A1