System and method for multi-camera placement
By calculating the relative poses between multiple cameras and displaying pose differences, the problem of errors and artifacts caused by unknown poses in multi-camera systems is solved, and the efficiency of image stitching and point cloud merging is improved.
Patent Information
- Application Number
- CN202410948736.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-25
- Filing Date
- 2019-05-24
- Publication Date
- 2024-10-25
AI Technical Summary
In image stitching and stereo imaging applications, when the poses of multiple cameras are unknown, it is difficult to accurately align the images, resulting in errors and artifacts in the output, and point cloud merging of depth cameras requires expensive computing technology.
By calculating the relative pose among multiple cameras, capturing images using calibration targets in overlapping fields of view, estimating the relative pose of the camera group, and controlling the cameras to capture images and calculate pose differences through the processor and memory, it provides graphics users The interface displays pose differences and confidence levels.
It achieves efficient pose calibration of multi-camera systems, reduces errors and artifacts, simplifies the image stitching and point cloud merging process, and improves computing efficiency.
Smart Images

Figure CN118840433A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with international application number PCT / US2019 / 034059, international application date May 24, 2019, entry into the Chinese national phase date January 25, 2021, national application number 201980049610.1, and name “System and method for multi-camera placement”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 676,799, filed in the U.S. Patent and Trademark Office on May 25, 2018, the entire disclosure of which is incorporated herein by reference. Technical Field
[0004] Aspects of embodiments of the present invention relate to systems and methods for placement and calibration of multiple cameras. Background Art
[0005] Camera calibration or camera resectioning is the process of estimating the parameters of a pinhole camera model that approximates a specific real-world camera. The parameters include: intrinsic parameters such as focal length, image aspect ratio (e.g., image sensor format), and principal point; distortion parameters related to radial factors (e.g., barrel and fisheye effects) and tangential factors (e.g., due to misalignment between the lens and the image sensor); and extrinsic parameters that represent the coordinate system transformation between three-dimensional (3-D) world coordinates and 3-D camera coordinates. The extrinsic parameters represent the 3D "pose" of the camera, which includes the position and orientation of the camera in the 3D world.
[0006] In image stitching and stereo imaging applications, two or more images of a scene are captured from different 3-D camera poses. The two or more images may be captured at different times by the same camera by repositioning the camera between captures, or may be captured by different cameras with different poses. Different cameras may capture images substantially simultaneously or at different times.
[0007] Algorithms that involve the use of two or more images, such as image stitching and stereo imaging, may require the images to be aligned. Failure to align the images may result in errors in the output of such algorithms. BCPI-240306 Page 2 / 27
[0008] When the poses of the cameras corresponding to the images are known, the alignment process may involve applying a transformation to the images based on the known camera poses. On the other hand, when the poses of one or more cameras corresponding to the images are unknown, pose estimation techniques may be applied in order to estimate the transformation for combining two or more images, or images may be matched manually by detecting and aligning features that appear in multiple images.
[0009] Similarly, in the case where the camera is a depth camera (e.g., a camera that captures 3D data or depth images including 3D coordinates also referred to as a point cloud), knowledge of the relative poses of the cameras enables the point clouds to be merged after applying a geometric transformation according to the poses. If the relative poses are unknown, computationally more expensive techniques such as iterative closest point (ICP) may be needed to align the point clouds. Summary of the invention
[0010] Aspects of embodiments of the present invention relate to systems and methods for placing multiple cameras and calibrating the cameras relative to each other, including estimating the 3-D poses of the cameras.
[0011] According to one embodiment of the present invention, a system for placing and calibrating cameras includes a first camera group, wherein the first camera group includes: a first camera, the first camera having a first field of view; a second camera, the second camera having a second field of view overlapping with the first field of view in a first overlapping area; a third camera, the third camera having a third field of view overlapping with the second field of view in a second overlapping area; a controller, including a processor and a memory, the memory storing instructions, the instructions, when executed by the processor, causing the processor to: control the first camera and the second camera to respectively capture a first image and a second image of a first scene, the first scene including a first calibration target in the first overlapping area; based on the first calibration target in the first image The invention relates to a method for calculating a first relative pose between the first camera and the second camera based on the first relative pose and the second calibration target in the second image; controlling the second camera and the third camera to capture a third image and a fourth image of a second scene, respectively, the second scene including the second calibration target in the second overlapping area; calculating a second relative pose between the second camera and the third camera based on the second calibration target in the third image and the second calibration target in the fourth image; calculating a third relative pose between the first camera and the third camera based on the first relative pose and the second relative pose; and calculating a first calibration of the first camera group based on the first relative pose, the second relative pose and the third relative pose.
[0012] BCPI-240306 Page 3 / 27
[0013] The first camera group may also include a fourth camera having a fourth field of view overlapping with the third field of view in a third overlapping area, and the memory may further store instructions that, when executed by the processor, cause the processor to: control the third camera and the fourth camera to respectively capture a fifth image and a sixth image of a third scene, the third scene including a third calibration target in the third overlapping area; and calculate a fourth relative pose between the third camera and the fourth camera.
[0014] The memory may further store a plurality of designed poses of the cameras of the first camera group, and the memory may also store instructions which, when executed by the processor, cause the processor to: calculate a plurality of differences between the designed pose and the first relative pose, the second relative pose, and the third relative pose; and output the plurality of differences.
[0015] Each of the cameras may include one or more light emitting diodes, and the memory may further store instructions that, when executed by the processor, cause the processor to: control the light emitting diodes of the cameras to indicate the multiple differences between the first relative pose, the second relative pose, and the third relative pose and the design pose.
[0016] The system may also include a graphical user interface displayed on a display device, and the memory may further store instructions that, when executed by the processor, cause the processor to: display on the display device indications of the multiple differences between the first relative pose, the second relative pose, and the third relative pose and the design pose.
[0017] The memory may further store instructions that, when executed by the processor, cause the processor to: display on the display device a first confidence level of the first relative pose, a second confidence level of the second relative pose, and a third confidence level of the third relative pose.
[0018] Each of the cameras may include a first two-dimensional camera having a first optical axis and a second two-dimensional camera having a second optical axis substantially parallel to the first optical axis and having a field of view overlapping the field of view of the first two-dimensional camera.
[0019] The first calibration target may include a back-illuminated calibration target including a plurality of light emitting diodes configured to emit light through a calibration pattern.
[0020] The second calibration target may be the first calibration target after a rigid transformation is performed.
[0021] BCPI-240306 Page 4 / 27
[0022] The first camera group may be configured to image an object transported by a first part of a conveyor system, the first calibration target may be transported by the conveyor system, and the system may also include: a second camera group, the second camera group including a second plurality of cameras, the second camera group being configured to image an object transported by a second part of the conveyor system; a coordination server configured to receive data captured by the first camera group and the second camera group, the coordination server including a processor and a memory storing instructions, the instructions, when executed by the processor, causing the processor to: control the first camera group to calculate the first calibration when the first calibration target is in the first part of the conveyor system; control the second camera group to calculate a second calibration based on the relative posture of the second plurality of cameras after the first calibration target is transported by the conveyor system to the second part of the conveyor system; and calculate the calibration of the first camera group to the second camera group based on the first calibration and the second calibration.
[0023] According to one embodiment of the present invention, a method for placing and calibrating cameras of a first camera group includes: controlling a first camera and a second camera of the first camera group to capture a first image and a second image of a first scene, respectively, the first camera having a first field of view, and the second camera having a second field of view overlapping with the first field of view in a first overlapping area; the first scene includes a first calibration target in the first overlapping area; calculating a first relative pose between the first camera and the second camera based on the first calibration target in the first image and the first calibration target in the second image; controlling the second camera and the third camera of the first camera group to capture a third image and a fourth image of a second scene, respectively, the third camera having a third field of view overlapping with the second field of view in a second overlapping area, and the second scene includes a second calibration target in the second overlapping area; calculating a second relative pose between the second camera and the third camera based on the second calibration target in the third image and the second calibration target in the fourth image; calculating a third relative pose between the first camera and the third camera based on the first relative pose and the second relative pose; and calculating a first calibration of the first camera group based on the first relative pose, the second relative pose, and the third relative pose.
[0024] The first camera group may further include a fourth camera having a fourth field of view overlapping the third field of view in a third overlapping region, and the method may further include: controlling the third camera and the fourth camera to capture a fifth image of the third scene and a fifth image of the third scene, respectively.
[0025] a sixth image, the third scene including a third calibration target in the third overlapping area; and calculating a fourth relative pose between the third camera and the fourth camera.
[0026] The method may further include calculating a plurality of differences between the first relative pose, the second relative pose, and the third relative pose and a plurality of designed poses of the cameras of the first camera group; and outputting the plurality of differences.
[0027] Each of the cameras may include one or more light emitting diodes, and the method may further include controlling the light emitting diodes of the cameras to indicate the plurality of differences between the first relative pose, the second relative pose, and the third relative pose and the design pose.
[0028] The method may further include displaying, on a graphical user interface displayed on a display device, an indication of the plurality of differences between the first relative pose, the second relative pose, and the third relative pose and the design pose.
[0029] The method may further include displaying, on the display device, a first confidence level of the first relative posture, a second confidence level of the second relative posture, and a third confidence level of the third relative posture.
[0030] Each of the cameras may include a first two-dimensional camera having a first optical axis and a second two-dimensional camera having a second optical axis substantially parallel to the first optical axis and having a field of view overlapping the field of view of the first two-dimensional camera.
[0031] The first calibration target may include a back-illuminated calibration target including a plurality of light emitting diodes configured to emit light through a calibration pattern.
[0032] The second calibration target may be the first calibration target after a rigid transformation is performed.
[0033] The first camera group may be configured to image an object conveyed by a first portion of a conveyor system, a first calibration target may be conveyed by the conveyor system, and the method may further include: controlling the first camera group to calculate the first calibration when the first calibration target is in the first portion of the conveyor system; after the first calibration target is conveyed by the conveyor system to a second portion of the conveyor system, controlling a second camera group including a second plurality of cameras to calculate a second calibration based on relative poses of the second plurality of cameras, the second camera group being configured to image an object conveyed by the second portion of the conveyor system; and calculating the second calibration based on the first calibration.
[0034] The first camera group calibrates the second camera group. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings, together with the specification, illustrate exemplary embodiments of the present invention, and, together with the description of the invention, serve to explain the principles of the present invention.
[0036] Figure 1A is a schematic depiction of an object (depicted as a handbag) traveling on a conveyor belt provided with a camera array including a plurality (five) of cameras simultaneously imaging the object, in accordance with one embodiment of the present invention.
[0037] Figure 1B is a schematic depiction of an object (depicted as a handbag) imaged by cameras of four different camera groups as the object travels on a conveyor belt having two portions, wherein a first portion moves the object along a first direction and a second portion moves the object along a second direction orthogonal to the first direction, in accordance with an embodiment of the present invention.
[0038] Figure 1C is a schematic diagram of a camera group according to an embodiment of the present invention.
[0039] Figure 1D is a schematic diagram of a depth camera suitable for use in a camera group according to an embodiment of the present invention.
[0040] Figure 2 is an example of a ChArUco board, which is a type of calibration target that can be used in conjunction with embodiments of the present invention.
[0041] Figure 3A is a schematic diagram of three cameras of a camera group and their corresponding fields of view according to an embodiment of the present invention, which are respectively shown by solid lines, dashed lines and dotted lines.
[0042] Figure 3Bis an example of a diagram showing the relationship between a camera and a calibration target (eg, a chessboard) according to an embodiment of the present invention.
[0043] Figure 4 is a flowchart of a method for calculating relative positions and poses of cameras of a camera group according to an embodiment of the present invention.
[0044] Figure 5 is a flow chart of a method for calculating adjustments to cameras of a camera group according to one embodiment of the present invention.
[0045] Figure 6 is a schematic cross-sectional view of a back-illuminated calibration target according to one embodiment of the present invention.
[0046] Figure 7 is a schematic diagram of two camera groups located in different parts of a production line according to an embodiment of the present invention.
[0047] Figure 8 is a flow chart of a method for calibrating two camera groups relative to each other according to one embodiment of the present invention. DETAILED DESCRIPTION
[0048] BCPI-240306 Page 7 / 27
[0049] In the following detailed description, only certain exemplary embodiments of the present invention are shown and described by way of illustration. As those skilled in the art will appreciate, the present invention can be implemented in many different forms and should not be construed as limited to the embodiments set forth herein.
[0050] Aspects of embodiments of the invention relate to systems and methods for placing a group of cameras, or a "camera bank." In some embodiments of the invention, the cameras of the camera bank are rigidly arranged so that the field of view of each camera overlaps the field of view of at least one other camera of the camera bank (so that the cameras form a connected graph, as discussed in more detail below), and are configured so that the cameras are triggered together (e.g., configured to capture images substantially simultaneously). Figure 1A is a schematic depiction of a target object (depicted as a handbag) traveling on a conveyor belt provided with a camera set including multiple (five) cameras (100A, 100B, 100C, 100D, and 100E) that simultaneously image the target object, according to one embodiment of the present invention. By using multiple cameras at multiple poses relative to the target object, the camera set can capture more information about the appearance of the target object than can be captured from a camera at a single pose.
[0051] For example, Figure 1AThe camera 100A shown in FIG. 1 has a field of view 101A that captures an image of only a portion of one side of the target object 10, but does not capture information about the top of the object 10, its handle, or other side surfaces thereof. The addition of cameras 100B, 100C, 100D, and 100E allows for the capture of additional sides and surfaces of the object 10 (as shown by the portions of the object 10 covered by the respective fields of view 101B, 101C, 101D, and 101E).
[0052] Figure 1B is a schematic depiction of an object (depicted as a handbag) imaged by cameras of four different camera groups as the object travels on a conveyor belt having two portions, wherein a first portion moves the object along a first direction and a second portion moves the object along a second direction orthogonal to the first direction, in accordance with an embodiment of the present invention. Figure 1B 1 is a schematic diagram of an object 10 (depicted as a handbag) traveling on a conveyor system (e.g., a conveyor belt) 12 having two portions, wherein a first portion 12a moves the object 10 along a first direction (-y direction) and a second portion 12b moves the object 10 along a second direction (+x direction) orthogonal to the first direction, according to one embodiment of the present invention. As the object 10 travels along the first portion 12a of the conveyor system 12, at a first position, a first camera 100A images the top (+z) surface of the object 10 from above, while a second camera 100B images the +x side of the object. The first camera 100A and the second camera 100B may constitute a first camera group 130AB. At a second position on the first portion 12a of the conveyor belt, the third and fourth cameras 100C and 100D of the second camera group 130CD image the -x side of the object 10.
[0053] BCPI-240306 Page 8 / 27
[0054] In this arrangement, it may be difficult to image the ends of the object 10 because doing so would require placing the cameras along the direction of movement of the conveyor and therefore may hinder the movement of the object 10. In this way, the object 10 can be moved to the second portion 12b of the conveyor system 12, where, after the movement, the -y side of the object 10 is now visible to cameras 100E and 100F of the third camera group 130EF at the third position. In the fourth position, cameras 100G and 100H of the fourth camera group 130GH image the +y side of the object. Assuming that the cameras 100 of the camera group 130 are substantially stationary and the object moves along the conveyor system, each camera can capture multiple images of the object as the object passes by. In this way, Figure 1B An example of an arrangement of camera group 130 that allows covering the entire visible surface of object 10 is shown.
[0055] In some embodiments of the present invention, data captured by cameras of different camera groups 130 are combined to synthesize a single 3-D model of an object (e.g., a global model of the entire object 10). In some embodiments, the data captured by each camera group 130 is processed separately (e.g., to generate several separate 3-D models) without combining all captured data into a single "global" 3-D model. U.S. Patent Application No. 16 / 404,590, "Systems And Methods for Three-Dimensional Data Acquisition and Processing Under Timing Constraints," filed with the U.S. Patent and Trademark Office on May 6, 2019, describes in more detail various considerations related to the control of camera groups and coordination between multiple camera groups, the entire disclosure of which is incorporated herein by reference.
[0056] As discussed in the Background section, the problem of merging or combining images captured by different cameras is simplified if the extrinsic parameters of each camera (e.g., relative pose) are known. The process of determining these parameters can be referred to as calibrating the cameras, and the cameras of a camera group can be referred to as being "calibrated" when the extrinsic parameters (e.g., relative pose) are known for each camera. For convenience, it is also assumed that the intrinsic parameters and distortion parameters of each camera are known (although such parameters can also be refined by using images captured during the calibration process discussed herein).
[0057] In some cases, the cameras in a camera array are rigidly mounted to a support and may be designed to be arranged with a specific set of relative poses in order to capture a specific set of views of an object to be imaged by the camera array. However, it may be difficult to accurately place and arrange the cameras of the camera array in their designed poses during deployment. For example, inaccuracies and errors during mounting of the cameras to the support may cause significant and detectable errors in the collected data.
[0058] Poor or artifacts.
[0059] A technique for calibrating the cameras 100 of the camera group 130 includes placing a calibration target within the field of view 101 of all cameras 100 of the camera group, and controlling all cameras 100 to capture images of the calibration target substantially simultaneously (or otherwise capture images of the calibration target, wherein, in each image, the calibration target is at the same position and orientation W relative to an absolute coordinate system). This in turn allows for estimation of the pose of each camera relative to the same calibration target, and thereby also allows for calculation of the relative poses between the cameras 100 of the camera group 130. However, constraints imposed by the working environment (e.g., glare from existing workspace lighting or infrared radiation sources, space and position requirements for existing equipment and personnel, etc.) may also make it difficult or impossible to place the calibration target in a position where it is simultaneously in the field of view 101 of all cameras 100 of the camera group 130.
[0060] Thus, some aspects of embodiments of the present invention relate to calibrating a camera group (e.g., computing extrinsic parameters of cameras of the camera group) without requiring all cameras to image a calibration target at the same pose (3-D position and orientation) relative to all cameras. For example, some embodiments of the present invention relate to computing a relative pose between a first camera, a second camera, and a third camera of a camera group, wherein a calibration target is imaged by the first camera and the second camera at a first pose (but the calibration target at the first pose is not in the field of view of the third camera), and a calibration target (e.g., the same calibration target or a different calibration target) is imaged by the second camera and the third camera at a second pose (but the calibration target at the second pose is not in the field of view of the first camera).
[0061] In various embodiments of the invention, each individual camera 100 is a standard (e.g., commercial off-the-shelf) digital camera including a lens and an image sensor. In various embodiments, the image sensor can be a color image sensor (e.g., a visible light or red-green-blue or RGB sensor, e.g., a Bayer filter layout where 25% of the pixels detect red light, 50% of the pixels detect green light, and 25% of the pixels detect blue light), an infrared (IR) image sensor, or a combined color and infrared (RGB-IR) sensor (e.g., a layout where 25% of the pixels detect red light, 25% of the pixels detect green light, 25% of the pixels detect blue light, and 25% of the pixels detect infrared light).
[0062] In some embodiments of the present invention, each of the individual cameras is a stereo depth camera, which includes at least two standard two-dimensional (2-D) cameras (e.g., at least two image sensors and corresponding lenses) rigidly fixed in position relative to each other. The 2-D cameras can be arranged to have overlapping fields of view and optical axes that are substantially parallel to each other. Features appearing in images captured by the 2-D cameras have been discovered, and the differences (or "parallax") in the positions of these features within the image are used to calculate a depth map representing the distance of the detected features from the position of the depth camera (larger parallax indicates a smaller distance from the depth camera, while smaller parallax indicates a larger distance from the depth camera). In the case of a depth camera, the image captured by the depth camera may be referred to as a depth image or as having a depth channel representing the distance between the camera and the surface depicted by the pixels of the image. The depth image may also be represented as a point cloud, which is a collection of 3-D points in a coordinate system. The standard 2-D camera of the stereo camera may include a color image sensor, an infrared image sensor, or a combination of color and infrared image sensors or a combination of the foregoing. For example, in some cases, a stereo camera includes two color image sensors and one infrared image sensor. Examples of stereo depth cameras are described in more detail below.
[0063] Figure 1C 1 is a schematic diagram of a camera group 130ijk according to an embodiment of the present invention. Figure 1C As shown, three cameras CAM1, CAM2 and CAM3 (respectively labeled 100i, 100j and 100k) are configured to capture overlapping images of different parts of the object 10 on the conveyor system 12. The capture of the images can be triggered by a trigger system, which can include a start trigger 28 that detects when the object 10 enters the field of view of the cameras 100i, 100j and 100k. The start trigger 28 of the trigger system may include a laser emitter that is configured to send a trigger signal to a controller 24 (e.g., a computer or microcontroller, including a processor and a memory) when the laser signal is interrupted by the presence of the object 10. The controller 24 can then control the cameras 100i, 100j and 100k to start capturing images of the object. In some embodiments of the present invention, the camera group 130ijk may include multiple triggers (see Figure 5), such as additional triggers to detect when an object leaves the field of view of cameras 100i, 100j, and 100k (stop trigger), and / or a trigger to detect when object 10 approaches camera group 130ijk, thereby allowing camera group 130ijk to perform setup or initialization operations before the object arrives (prepare trigger). Cameras 100i, 100j, and 100k may be connected to controller 24 via a peripheral interface base such as a universal serial bus (USB). In some other embodiments, the trigger may be obtained directly from imaging information acquired by one or more cameras in the group, such as by processing the captured image data at a lower resolution and / or by utilizing a proximity sensor or additional illumination source.
[0064] The controller 24 may also be connected to a network 26 (e.g., an Ethernet 802.3 network or a wireless LAN 802.11 network) to communicate with other devices, such as a coordination server computer 30 and / or other camera groups 130. For example, the data captured by cameras 100i, 100j, and 100k may be BCPI-240306 Page 11 / 27
[0065] The data can be transmitted to the coordination server 30 via the network 26 .
[0066] The various computing devices described herein, including the controller 24 and the coordination server 30, may include one or more processors (e.g., central processing units, graphics processing units, field programmable gate arrays, and application specific integrated circuits) coupled to a memory (e.g., dynamic memory and / or permanent memory) storing instructions that configure the computing device to perform specific functions as described herein. The one or more processors may communicate with other devices such as the camera 100 through peripheral input / output devices such as a network adapter and a universal serial bus (USB) controller.
[0067] Depth Camera Hardware
[0068] In some embodiments of the present invention, the depth camera 100 (also referred to as a range camera) may include at least two standard two-dimensional cameras with overlapping fields of view. In more detail, these two-dimensional (2-D) cameras may each include a digital image sensor, such as a complementary metal oxide semiconductor (CMOS) image sensor or a charge coupled device (CCD) image sensor, and an optical system (e.g., one or more lenses) configured to focus light onto the image sensor. The optical axes of the optical systems of the 2-D cameras may be substantially parallel so that the two cameras image substantially the same scene, albeit from slightly different perspectives. Thus, due to parallax, portions of the scene that are farther from the cameras will appear in substantially the same position in the images captured by the two cameras, while portions of the scene that are closer to the cameras will appear in different positions.
[0069] Using a geometrically calibrated depth camera, the 3-D positions of all visible points on the surface of an object can be identified relative to a reference coordinate system (e.g., a coordinate system having its origin at the depth camera). Thus, a range image or depth image captured by a range camera 100 can be represented as a "cloud" of 3-D points that can be used to describe portions of the surface of an object (as well as other surfaces within the field of view of the depth camera).
[0070] Figure 1D is a block diagram of a stereo depth camera system according to one embodiment of the present invention. Figure 1D The depth camera (which is a depth camera system) 100 shown includes a first camera 102, a second camera 104, a projection source 106 (or an illumination source or an active projection system), and a host processor 108 and a memory 110, where the host processor can be, for example, a graphics processing unit (GPU), a more general processor (CPU), a suitably configured field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). The first camera 102 and the second camera 104 can be rigidly attached, for example, to a frame so that their relative positions and orientations are substantially fixed and so that their optical axes are substantially aligned.
[0071] The first camera 102 and the second camera 104 are parallel and have overlapping fields of view. The first camera 102 and the second camera 104 may be collectively referred to as "depth cameras". The first camera 102 and the second camera 104 include corresponding image sensors 102a and 104a, and may also include corresponding image signal processors (ISPs) 102b and 104b. Various components can communicate with each other via a system bus 112. The depth camera 100 may include additional components such as a network adapter 116 for communicating with other devices, an inertial measurement unit (IMU) 118 such as a gyroscope for detecting the acceleration of the depth camera 100 (e.g., detecting the direction of gravity to determine orientation), and a persistent memory 120 such as NAND flash memory for storing data collected and processed by the depth camera 100. The IMU 118 may be of a type commonly found in many modern smartphones. The image capture system may also include other communication components, such as a universal serial bus (USB) interface controller. In some embodiments, the depth camera 100 also includes a display device 122 and one or more user input devices 124 (eg, a touch-sensitive panel of the display device 122 and / or one or more physical buttons or triggers).
[0072] although Figure 1D The block diagram shown in the figure depicts the depth camera 100 as including two cameras 102 and 104 coupled to a host processor 108, a memory 110, a network adapter 116, an IMU 118, and a persistent memory 120, but embodiments of the present invention are not limited thereto. For example, Figure 6 The three depth cameras 100 shown (described in more detail below) may each include only cameras 102 and 104, a projection source 106, and a communication component (e.g., a USB connection or a network adapter 116), and processing of the two-dimensional images captured by the cameras 102 and 104 of the three depth cameras 100 may be performed by a shared processor or a collection of shared processors that communicate with the depth cameras 100 using their respective communication components or network adapters 116. For example, Figure 1C The controller 24 may be used to process the 2-D images received from the cameras 100i, 100j, and 100k to generate three separate depth images corresponding to the views captured by the cameras 100i, 100j, and 100k.
[0073] In some embodiments, the image sensors 102a and 104a of the cameras 102 and 104 are RGB-IR image sensors. An image sensor capable of detecting visible light (e.g., red-green-blue or RGB) and invisible light (e.g., infrared or IR) information may be, for example, a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) sensor. Typically, a conventional RGB camera sensor includes pixels arranged in a "Bayer layout" or an "RGBG layout," where the "RGBG layout" is 50% green, 25% red, and 25% blue. According to the Bayer layout, a bandpass filter (or "microfilter") is placed in front of the individual photodiodes (e.g., between the photodiodes and the optics associated with the camera) for each of the green, red, and blue wavelengths. Typically, a conventional RGB camera sensor also includes an infrared (IR) filter or IR cut filter (e.g., formed as part of a lens or formed as a coating on the entire image sensor chip) that further blocks signals in the IR portion of the electromagnetic spectrum.
[0074] RGB-IR sensors are substantially similar to conventional RGB sensors, but may include different color filters. For example, in an RGB-IR sensor, one of the green light filters in each group of four photodiodes is replaced with an IR bandpass filter (or microfilter) to create a layout of 25% green, 25% red, 25% blue, and 25% infrared, with infrared pixels mixed between visible light pixels. In addition, the IR cutoff filter may be omitted from the RGB-IR sensor, the IR cutoff filter may be located only above pixels that detect red, green, and blue light, or the IR filter may be designed to pass visible light as well as a specific wavelength interval (e.g., 840-860nm). Image sensors capable of capturing multiple portions or bands of the electromagnetic spectrum or light in spectral bands (e.g., red, blue, green, and infrared light) will be referred to herein as "multi-channel" image sensors.
[0075] In some embodiments of the present invention, image sensors 102a and 104a are conventional visible light sensors (e.g., RGB sensors). In some embodiments of the present invention, the system includes one or more visible light cameras (e.g., RGB cameras) and separate one or more invisible light cameras (e.g., infrared cameras, where IR bandpass filters are located on all pixels). In other embodiments of the present invention, image sensors 102a and 104a are infrared (IR) light sensors. In some embodiments of the present invention, image sensors 102a and 104a are infrared (IR) light sensors. In some embodiments (such as those in which image sensors 102a and 104a are IR sensors), the depth camera 100 may include a third camera 105, which includes a color image sensor 105a (e.g., an image sensor configured to detect visible light of red, green, and blue wavelengths, such as an image sensor arranged in a Bayer layout or an RGBG layout) and an image signal processor 105b.
[0076] In some embodiments where the depth camera 100 includes a color image sensor (e.g., an RGB sensor or an RGB-IR sensor), the color image data collected by the depth camera 100 may supplement the color image data captured by the color camera 150. Additionally, in some embodiments where the depth camera 100 includes a color image sensor (e.g., an RGB sensor or an RGB-IR sensor), the color camera 150 may be omitted from the system.
[0077] In general, a stereo depth camera system includes at least two cameras spaced apart from one another and rigidly mounted to a shared structure, such as a rigid frame. The cameras are oriented in substantially the same direction (e.g., the optical axes of the cameras may be substantially parallel) and have overlapping fields of view. The individual cameras may be implemented using, for example, a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor having an optical system (e.g., including one or more lenses) configured to direct or focus light onto the image sensor. The optical system may determine the field of view of the camera, for example, based on whether the optical system implements a "wide angle" lens, a "telephoto" lens, or something in between.
[0078] In the following discussion, the image acquisition system of the depth camera system may be referred to as having at least two cameras, which may be referred to as a "master" camera and one or more "slave" cameras. In general, the estimated depth or disparity map is calculated from the viewpoint of the master camera, but any of the cameras may be used as a master camera. As used herein, unless otherwise specified, terms such as master / slave, left / right, up / down, and first / second may be used interchangeably. In other words, any one of the cameras may be a master camera or a slave camera, and by symmetry, the camera on the left side relative to the camera on its right side may also be considered in the other direction. In addition, although the considerations given below may be valid for various numbers of cameras, for convenience, they will generally be described in the context of a system including two cameras. For example, a depth camera system may include three cameras. In such a system, two of the cameras may be invisible light (infrared) cameras, and the third camera may be a visible light (e.g., red / blue / green color camera) camera. All three cameras may be optically registered (e.g., calibrated) relative to each other. An example of a depth camera system including three cameras is described in U.S. Patent No. 9,674,504, “Depth Perceptive Trinocular Camera System,” issued on June 6, 2017, the entire disclosure of which is incorporated herein by reference. Such a three-camera system may also include an infrared illuminator configured to emit light in a wavelength range detectable by the infrared camera (e.g., 840-860 nm).
[0079] To detect the depth of a feature in a scene imaged by the camera, the depth camera system determines the pixel position of the feature in each of the images captured by the camera. The distance between features in the two images is called disparity, which is inversely proportional to the distance or depth of the object. (This is the effect of comparing how much an object "shifts" when viewed with one eye at a time—the size of the shift depends on how far the object is from the viewer's eye, with closer objects making larger shifts and farther objects making smaller shifts and objects at that distance may have little to no detectable shift.) For example, R. Szeliski, "Computer Vision: Algorithms and Applications", Springer, BCPI-240306, p. 15 / 27
[0080] 2010, pp. 467 et seq.
[0081] The size of the parallax between the master camera and the slave camera depends on the physical characteristics of the depth camera system, such as the pixel resolution of the cameras, the distance between the cameras, and the field of view of the cameras. Therefore, in order to generate accurate depth measurements, the depth camera system (or depth-aware depth camera system) is calibrated based on these physical characteristics.
[0082] In some depth camera systems, the cameras may be arranged so that horizontal rows of pixels of the camera's image sensor are substantially parallel.Image correction techniques may be used to accommodate image distortions due to camera lens shapes and camera orientation variations.
[0083] In more detail, the camera calibration information may provide information to correct the input image so that the epipolar lines of the equivalent camera system are aligned with the scan lines of the corrected image. In this case, a 3D point in the scene is projected onto the same scan line index in both the master and slave images. Let us and um be the coordinates on the scan lines of the image of the same 3-D point p in the master and slave equivalent cameras, respectively, where in each camera these coordinates refer to an axis system centered at the principal point (the intersection of the optical axis with the focal plane) and with the horizontal axis parallel to the scan lines of the corrected image. The difference us-um is called the parallax and is denoted by d; it is inversely proportional to the orthogonal distance of the 3-D point relative to the corrected cameras (i.e., the length of the orthogonal projection of the point on the optical axis of either camera).
[0084] Stereo algorithms take advantage of this property of disparity. These algorithms achieve 3-D reconstruction by matching points (or features) detected in the left and right views, which is equivalent to estimating disparity. Block matching (BM) is a commonly used stereo algorithm. Given a pixel in the main camera image, the algorithm calculates the cost to match the pixel with any other pixel in the slave camera image. The cost function is defined as the dissimilarity between the image content within a small window around the pixel in the main image and the pixel in the slave image. Finally, the optimal disparity at the point is estimated as the independent variable of the minimum matching cost. This process is usually called Winner-Take-All (WTA). These techniques are described in more detail in, for example, R. Szeliski, "Computer Vision: Algorithms and Applications", Springer, 2010. Since stereo algorithms like BM rely on appearance similarity, if more than one pixel in the slave image has the same local appearance, disparity calculation becomes challenging because all these pixels may be similar to the same pixel in the main image, resulting in blurred disparity estimates. A typical situation where this might happen is when presenting a scene with constant brightness, such as a flat wall.
[0085] There are methods of providing additional illumination by projecting patterns designed to improve or optimize the performance of block matching algorithms, which can capture small 3-D details, such as the details described in U.S. Patent No. 9,392,262, issued on July 12, 2016, "System and Method for 3-D Reconstruction Using Multiple Multi-Channel Cameras," the entire disclosure of which is incorporated herein by reference. Another method projects a pattern that is purely used to provide texture to the scene, and specifically improves depth estimation in textureless areas by disambiguating parts of the scene that otherwise appear the same.
[0086] Projection source 106 according to embodiments of the present invention may be configured to emit visible light (e.g., light within the visible spectrum for humans and / or other animals) or invisible light (e.g., infrared light) toward a scene imaged by cameras 102 and 104. In other words, the projection source may have an optical axis substantially parallel to cameras 102 and 104, and may be configured to emit light in a direction of the field of view of cameras 102 and 104, wherein the emitted light is in a portion of the electromagnetic spectrum detectable by cameras 102 and 104 (e.g., when cameras 102 and 104 are invisible light or infrared cameras, projection source 106 projects light in the invisible or infrared portion of the electromagnetic spectrum). An arrangement in which two cameras 102 and 104 are arranged with projection source 106 in this manner is sometimes referred to as "active stereo". In some embodiments, projection source 106 may include a plurality of separate illuminators, each illuminator having an optical axis (or axes) spaced apart from the optical axis (or axes) of the other illuminator (or illuminators), and spaced apart from the optical axes of cameras 102 and 104.
[0087] Invisible light projection sources may be better suited for situations where the subject is a person (such as in a video conferencing system) because the invisible light does not interfere with the subject's visual abilities, whereas visible light projection sources may shine uncomfortably into the subject's eyes or may undesirably affect the experience by adding patterns to the scene. Examples of systems including invisible light projection sources are described, for example, in U.S. Patent No. 9,516,295, issued December 6, 2016, "Systems and Methods for Multi-Channel Imaging Based on Multiple Exposure Settings," the entire disclosure of which is incorporated herein by reference.
[0088] Active projection sources can also be categorized as projecting static patterns (e.g., patterns that do not change over time) and dynamic patterns (e.g., patterns that change over time). In both cases, one aspect of the pattern is the illumination level of the projected pattern. This can be relevant because it can affect the depth dynamic range of the depth camera system. For example, if the optical illumination is at a high level, depth measurements of distant objects can be made in bright ambient light conditions (e.g., to obtain depth information through the use of a BCPI-240306 Page 17 of 27
[0089] (The optical illumination level is proportional to the inverse of the square of the distance to overcome the decrease in optical illumination with distance to the object.) However, high optical illumination levels may result in saturation of close-up portions of the scene. On the other hand, low optical illumination levels may allow measurement of close objects, but not distant objects.
[0090] Depth calculations may fail in some areas due to multiple factors, including: the mechanism used to calculate depth (triangulation, with or without active illuminators or time of flight); the geometry of the scene (such as the angle between each surface element and the associated line of sight, or the presence of partial occlusions that may obstruct the view of either sensor in a stereo system); and the reflectivity properties of the surface (e.g., the presence of a specular component that may hinder stereo matching or reflect light away from a projector, or very low albedo that results in insufficient light being reflected by the surface). For those pixels where the depth calculation fails or the depth image is unreliable, only color information is available.
[0091] Although embodiments of the present invention are described herein with respect to stereo depth camera systems, embodiments of the present invention are not limited thereto and may also be used with other depth camera systems (eg, structured light time of flight cameras and LIDAR cameras).
[0092] Depending on the choice of camera, different techniques can be used to generate the 3-D model. For example, Dense Tracking and Mapping in Real Time (DTAM) uses color cues to scan, and Simultaneous Localization and Mapping (SLAM) uses depth data (or a combination of depth and color data) to generate a 3D model.
[0093] Calibration camera group
[0094] Aspects of embodiments of the present invention relate to systems and methods for placing cameras of a camera group so that the actual pose of the cameras matches their designed pose (or a reasonable approximation thereof) or meets a specific coverage level of a scene.
[0095] One technique for calibrating a camera involves using a calibration target of known size and shape. Figure 2 is an example of a ChArUco pattern, which is a calibration target that can be used in conjunction with embodiments of the present invention. Figure 2 The calibration target 200 shown is a ChAruco pattern comprising a checkerboard pattern of alternating black and white squares with an Aruco fiducial marker in each white square (for more information on Aruco markers, see Garrido-Jurrado, Sergio et al., "Automatic generation and detection of highly reliable fiducial markers under occlusion", Pattern Recognition, BCPI-240306, p. 18 / 27
[0096] 47.6(2014):2280-2292. Each fiducial marker on the target is different, thereby conveying information about the orientation of the calibration target relative to the camera, and also enabling calibration information to be derived from an image that depicts only a portion of the ChArUco plate (albeit with reduced confidence). However, embodiments of the invention are not limited to using a ChArUco plate as a calibration target. In some embodiments of the invention, the calibration target may include any pattern with known size and known texture properties (e.g., a set of circles).
[0097] Capturing images with a calibration target within the field of view of a camera allows the intrinsic parameters and distortion parameters of the camera to be calculated. In addition, when the same calibration target in a scene is imaged by multiple cameras, the appearance of the calibration target in the images captured by the multiple cameras can be used to calculate the extrinsic parameters (e.g., relative pose) of those cameras. However, in order for multiple cameras to capture the same calibration target, the cameras must have at least partially overlapping fields of view. As described above, embodiments of the present invention are not limited to the case where the calibration target is or includes a ChArUco board. In some embodiments, the calibration target can be a pattern of known size and with a known texture that is suitable for calibration purposes (e.g., a pattern that allows estimation of a transformation between world coordinates and camera coordinates of an image captured by a camera, such as a chessboard, a square grid, an ArUco reference grid, a circular hexagonal grid, and a circle regular grid).
[0098] In some embodiments of the invention, the camera group comprises three or more cameras, wherein the field of view of each camera overlaps with the field of view of at least one other camera of the camera group, but not necessarily with the field of view of all other cameras. Figure 3A 1 is a schematic diagram of three cameras 100A, 100B and 100C of camera group 130ABC and their corresponding fields of view 101A, 101B and 101C, respectively shown by solid lines, dashed lines and dot-dash lines according to one embodiment of the present invention. Figure 3A As shown, the fields of view of CAMA 100A and CAMB 100B overlap in a first area 101AB, and the fields of view of CAMB 100B and CAMC 100C overlap in a second area 101BC.
[0099] Therefore, by placing the calibration target 200 in the first overlapping area 101AB and controlling CAMA 100A and CAMB 100B to capture images of the calibration target 200, CAMA 100A may be calibrated relative to CAMB 100B.
[0100] Similarly, by placing the calibration target 200 in the second overlapping region 101BC and controlling CAMB 100B and CAMC 100C to capture an image of the calibration target 200, CAMB 100B may be calibrated relative to CAMC 100C.
[0101] exist Figure 3A In the configuration shown, the first field of view 101A of CAMA 100A does not overlap with the third field of view 101C of CAMC 100C, and therefore it is not possible to calibrate the two cameras directly relative to each other because it is not possible to place a calibration target in a position that is visible to both CAMA 100A and CAMC 100C. However, the calibration (or relative pose) of CAMA 100A and CAMC 100C, respectively, relative to CAMB 100B can be used to infer the relative pose of CAMA 100A and CAMC 100C. Therefore, aspects of the embodiments are directed to computing an estimated pose of all cameras in a camera group relative to a single coordinate system of the camera group, even when the fields of view of not all cameras overlap.
[0102] For convenience, a calibration target 200 or other object (e.g., target object 10) will be referred to as being visible to camera set 130 when the calibration target or object is in the foreground of any of the fields of view 101 of the camera set 100. Figure 3AIn the case of, calibration target 200 will be considered visible to camera group 130ABC when calibration target 200 is in the foreground of any one of fields of view 101A, 101B, and 101C of cameras 100A, 100B, and 100C of camera group 130ABC.
[0103] More generally, each camera 100 of camera group 130 may be considered as a camera node in the graph, and each position of calibration target 200 (or each calibration target) within the field of view 101 of at least one camera 100 may be represented as a calibration target node, wherein an edge between a camera node and a calibration target node in the graph indicates that the camera corresponding to the camera node can see the calibration target in its field of view.
[0104] Figure 3B 3000 is an example of a graph 3000 showing the relationship between the camera 100 and the calibration target 200 (e.g., a chessboard) according to one embodiment of the present invention, wherein the camera nodes 3100 are shown as circles and the calibration target nodes (or chessboard nodes) 3200 are shown as squares. The filled camera node 3100A at the lower left corresponds to the "reference camera", where the coordinate system of the reference camera is used to calculate the coordinate system of the cameras 100 in the camera group 130. Therefore, the camera group 130 is represented by a connected graph 3000. The graph 3000 representing the camera group 130 does not need to be fully connected in order to be able to calibrate the camera group (e.g., it is not necessary that some portion of the field of view of each camera is connected to some portion of the field of view of each other camera such that there is an edge from each camera node to each calibration target). Instead, in order to calibrate the camera group, it is sufficient that a connected graph exists, i.e., there is some path from each camera node 3100 in the graph 3000 through at least one calibration target node 3200 to each other camera node 3100.
[0105] Figure 4 4 is a flow chart of a method 400 for calculating the relative poses of cameras of a camera group according to one embodiment of the present invention. The method may be implemented by a suitable controller including a processor and a memory (e.g., an embedded system, a microcontroller, a tablet computer, a server computer, etc.) BCPI-240306 Page 20 / 27
[0106] The method may be performed by a processor or a computing device, wherein the memory stores instructions that, when executed by the processor, cause the processor to perform these functions. For example, in some embodiments of the present invention, the method is implemented by the controller 24 of the camera group 130.
[0107] like Figure 4As shown, in operation 410, the controller 24 controls the first and second cameras (e.g., CAMA A 100A and CAMB 100B) of the camera group to respectively capture the first and second images of the first scene (e.g., substantially capture the images simultaneously), wherein the calibration target is located in the fields of view (e.g., 101A and 101B) of the two cameras (e.g., CAMA A 100A and CAMB 100B). When capturing the first and second images, the calibration target 200 is located at substantially the same position in the real world.
[0108] In some cases, calibration target 200 or a portion thereof may be visible to more than two cameras 100 in camera group 130. However, for convenience, the case where only two cameras image the calibration target will be described in detail herein. For the case where the calibration target is detectable in more than two cameras in a particular configuration of the scene, in some embodiments, a pairwise calibration may be performed between cameras 100 that may image calibration target 200, and additional data about the relative poses of the cameras may be used to refine the pose estimate (e.g., by a calculated average of the calculated relative poses weighted based on the confidence of the estimated poses).
[0109] In operation 420, the controller 24 calculates a first relative pose of the first and second cameras (CAM A 100A and CA B 100B) based on the appearance of the calibration target 200 in the first and second images. For example, the first relative pose may be defined as a three-dimensional (3-D) rigid transformation that maps the position and orientation ("pose") of the second camera (CAM B 100B) to the pose of the first camera (CAM A 100A). Alternatively and equivalently, the first relative pose may include two transformations: a transformation from the pose of the first camera (CAM A 100A) to a world coordinate system and a transformation from the pose of the second camera (CAM B 100B) to the same world coordinate system.
[0110] Likewise, in operation 430, controller 24 controls the second and third cameras (e.g., CAM B100B and CAM 100C) of camera group 130 to capture third and fourth images of the second scene (e.g., substantially simultaneously), wherein calibration target 200 is within the fields of view (e.g., 101B and 101C) of the second and third cameras. Likewise, when capturing the third and fourth images, calibration target 200 is located at substantially the same position in the real world. Calibration target 200 may be located at a different position in the real world than the position at which it was located during image capture in operation 410. Return to Reference Figure 3A , the calibration target 200 may be located at the first camera 100 during operation 410 ABCPI-240306 Page 21 / 27
[0111] The calibration target 200 is moved (e.g., rigidly transformed, including translation and rotation, and substantially without deformation such as bending or folding of the calibration target) from the first area 101AB to the second area 101BC by the conveyor system 12.
[0112] In operation 440, the controller calculates a second relative pose of the second and third cameras based on the appearance of the calibration target 200 in the third and fourth images. For example, the second relative pose can be a three-dimensional (3-D) rigid transformation that maps the position and orientation ("pose") of the third camera (CAM C 100C) to the pose of the second camera (CAM B 100B). Alternatively and equivalently, the second relative pose can include two transformations: a transformation from the pose of the second camera (CAM B 100B) to a world coordinate system and a transformation from the pose of the third camera (CAM C 100C) to the same world coordinate system.
[0113] As described above, the calculated pose may be associated with a confidence estimate (e.g., a value in the range of 0 to 1) that represents the confidence of the pose estimated based on the image of the calibration target. In various cases, the reduced confidence may be due to ambiguity in the relative position and orientation of the calibration target 200 with respect to the camera 100. For example, as described above, the confidence may be reduced in situations where only a portion of the board is visible. As additional examples, when the calibration target is located far from the camera or otherwise constitutes a small portion of the image captured by the camera, or when the calibration target is imaged at an angle close to parallel to the plane of the calibration target, difficulties in resolving details of the calibration target may result in ambiguity in the calculated pose.
[0114] In operation 450, the controller calculates a third relative pose between the first camera (CAM A 100A) and the third camera (CAM C 100C) based on the first and second relative poses. For example, the third relative pose may be a combination of a transformation from the pose of the third camera (CAM C 100C) to the pose of the second camera (CAM B 100B) and a transformation from the pose of the second camera (CAM B 100B) to the pose of the first camera (CAM A 100A).
[0115] Thus, aspects of embodiments of the present invention relate to computing relative poses (extrinsic calibration parameters) between cameras of a set of cameras that do not necessarily have overlapping fields of view.
[0116] While the above techniques will apply to situations where the first camera and the third camera do not have overlapping fields of view, embodiments of the present invention are not limited thereto. For example, if the first camera (CAM A 100A) does have a field of view 101A that overlaps with the field of view 101C of the third camera (CAM C 100C), then a calibration based on a separate calculation of the image of the calibration target in the overlapping region of their respective fields of view can be used to confirm the calibration calculated by the second camera CAMB 100B.
[0117] Alternatively, assuming that the camera group includes a fourth camera (e.g., CAM D) having a field of view that overlaps the fields of view of the first camera (CAM A) and the third camera (CAM C), a third relative pose (between CAM C and CAM D) and a fourth relative pose (between CAM D and CAM A) can be calculated from images containing the calibration target in the overlapping region. The third and fourth relative poses can be compared with relative poses calculated by the camera chain of the camera group. For example, the relative pose calculated directly between CAM D and CAM A can be compared with the relative pose between those cameras, as calculated by a combination of rigid transformations from CAM D to CAM C, from CAM C to CAM B, and from CAM B to CAM A.
[0118] As such, embodiments of the present invention also allow for confirmation and calculation of confidence in individual calibrations based on the level of consistency between poses (e.g., position and orientation) computed through different paths of a graph passing through nodes in a graphical representation of the camera group and the fraction or amount of calibration targets captured in the image (e.g., a ChArUco board).
[0119] Furthermore, as described above, in some embodiments of the present invention, each camera 100 includes two or more standard 2-D cameras (e.g., cameras 102, 104, and 105) that are rigidly mounted and calibrated relative to each other (e.g., in the case of a stereo camera). Thus, images captured by a separate standard 2-D camera of the stereo camera can be used to provide additional data about the position and orientation of each camera 100.
[0120] Figure 4 The process shown in and described above can be used to calculate the relative poses of the cameras 100 in their configuration as they capture images of the calibration target 200. This estimate of the current pose of the camera can then be compared to a designed or desired set of relative poses for the camera (e.g., as designed or specified based on the type of objects that are expected to be imaged by the camera set).
[0121] Figure 5is a flow chart of a method 500 for calculating adjustments to a camera 100 of a camera group 130 according to one embodiment of the present invention. In operation 510, the controller 24 receives a Figure 4 The estimated poses of the cameras 100 of the camera group 130 are estimated by applying the various parts of the process shown in FIG. 5 to all cameras 100 in the camera group 130. For example, the estimated poses may all be relative to a world coordinate system or relative to one of the cameras in the camera group. In operation 520, the controller 24 compares the estimated poses with a designed or desired set of relative poses of the cameras 100 to calculate a set of differences in poses (e.g., the deviation of each camera from its designed or desired pose). In operation 530, the controller 24 outputs an indication of the differences in these poses.
[0122] BCPI-240306 Page 23 / 27
[0123] In some embodiments of the invention, an indication of the difference calculated by the controller is displayed on a user interface (e.g., a screen of a tablet computer, a screen of a smart phone, an augmented reality head mounted device, etc.). The user interface may indicate the rigid transformation (e.g., translation and / or rotation) of each camera as needed to reconfigure (e.g., move) the camera to the designed or desired pose (e.g., with a color indicating the magnitude of the deviation). Cameras that are already in the designed or desired pose may also be marked as not requiring configuration (e.g., shown in green). In some embodiments of the invention, the user interface may also indicate for each camera whether the calibration target is within the camera's field of view.
[0124] In some aspects of embodiments of the invention, the user interface also displays a confidence level for the estimated pose of each camera, wherein, as described above, the confidence level is determined based on a level of consistency between calculations of the estimated pose directly based on calibrations relative to cameras with overlapping fields of view (e.g., adjacent nodes in a graph) and based on chains of poses calculated relative to one or more intermediate cameras. The confidence level can be expressed, for example, as a percentage or based on a range of possible values for different calculations (e.g., a range of positions and angular coordinates). The confidence level can be used by an operator or system to determine whether additional calibration images need to be captured (e.g., capturing additional images with calibration targets in various positions within the overlapping fields of view of the cameras).
[0125] In some embodiments of the present invention, each camera 100 of the camera group 130 includes one or more indicators on the outside of the camera 100. These indicators can be lights (e.g., light emitting diodes), where the controller can output an indication of the pose difference in the form of flashing or glowing lights. More specifically, the camera 100 can include multiple light emitting diodes on the side of the camera (e.g., if each camera is a hexahedron, such as a cube or a rectangular prism). For example, a flashing light can indicate a deviation from the desired position and can be used to indicate the direction in which the camera should move or rotate (e.g., a flashing light on the opposite side of the camera can indicate the direction in which the camera should be translated, and the lights on the adjacent sides of the camera can flash sequentially to indicate the direction of rotation). A solid light can indicate that the camera is in the correct position. In some embodiments of the present invention, the indicator on the camera can also indicate whether the calibration target is within the field of view of the camera.
[0126] After the camera has been reconfigured, the process of estimating the pose of the camera 100 can be performed again (e.g., by capturing more images of the calibration target), and the resulting new set of poses can be compared to the desired or designed poses. In some embodiments, the process of pose estimation, pose comparison, and indicator updating is performed continuously so that the indicator and / or user interface is updated to provide real-time feedback as the camera 100 is reconfigured. In addition, the calculation of the estimated pose can be performed continuously as the calibration target moves within the field of view of the camera 100.
[0127] In some embodiments, reconfiguration of the camera may be performed manually by a human operator based on instructions.
[0128] In some embodiments, the robot performs reconfiguration of the camera based on instructions output by a controller that performs pose estimation and pose difference comparison.
[0129] In some embodiments, the camera is mounted to a support by an actuator that allows repositioning of the camera (eg, a stepper motor), and instructions output by a controller are used to control the actuator to move the camera to a desired pose.
[0130] The above techniques can be applied during the initial setup of a group of cameras, as well as for detecting when a group of cameras becomes misconfigured (eg, due to one or more cameras being knocked during normal operation).
[0131] Some aspects of embodiments of the invention also relate to verifying the configuration and adjustments of cameras 100 of camera set 130 by, for example, capturing images of different calibration targets and computing estimated poses based on the newly captured information.
[0132] Some aspects of embodiments of the present invention relate to adding one or more additional cameras to a camera group, and computing an estimated pose of the newly added camera relative to the poses of existing cameras of the camera group. The addition of new cameras may be performed in substantially the same manner as described above, wherein the cameras may be added one at a time, wherein the field of view of the newly added camera overlaps the field of view of at least one of the existing cameras in camera group 130, thereby allowing the pose of the new camera to be estimated based on the appearance of calibration targets in the overlapping region of the fields of view.
[0133] Similarly, when the pose of one or more cameras needs to be reconfigured, a similar process can be used to recalculate the poses of the cameras of the camera group 130. The reconfiguration can be performed because the position of one or more cameras relative to the target object or other cameras has been misplaced or misconfigured (e.g., because those cameras have been knocked or misaligned), or because the position or shape of the target object is different from the designed position (e.g., the height of the conveyor belt is different from the expected height, or the camera angle needs to be adjusted to image a specific part of the target object), thereby requiring redesign of the arrangement of the cameras of the camera group and corresponding adjustment of the pose of the camera 100 to capture a better image of the target object 10, or other aspects of the scene impose constraints on the placement of the cameras (e.g., equipment around the conveyor belt prevents the camera from being positioned in a specific position).
[0134] BCPI-240306 Page 25 / 27
[0135] As described above, the camera 100 may include visible light (e.g., red, green, and blue color) image sensors, infrared sensors, combined RGB-IR sensors, and combinations of these different types of sensors. In some cases, it may be difficult for the camera system to detect calibration targets in the overlapping fields of view of the cameras. For example, the area of the overlapping fields of view may be dimly illuminated at the location where the camera group is to be installed. Therefore, some aspects of embodiments of the present invention relate to the use of back-illuminated calibration targets.
[0136] Figure 6 FIG. 1 is a schematic cross-sectional view of a back-illuminated calibration target according to an embodiment of the present invention. Figure 6As shown, in one embodiment, a back-illuminated calibration target includes one or more infrared LED strips 602 and colored LEDs (e.g., white LEDs, or red, green, and blue LEDs) 604 mounted in a housing and configured to emit light toward a diffuser 606. Calibration target 200 can then be applied to the opposite side of diffuser 606 so that diffused color and infrared light are emitted through calibration target (calibration pattern) 200, thereby improving the ability of camera 100 to detect the calibration pattern. However, embodiments of the present invention are not limited thereto and can be used with other arrangements for generating back-illuminated calibration targets (e.g., different light sources capable of generating visible light and infrared light).
[0137] Using a sufficiently bright backlight to illuminate the calibration target may also improve the system's ability to produce meaningful poses as the calibration target moves in the scene. For example, under dimmer lighting conditions, the camera's shutter speed may be set to longer values, resulting in motion blur as the calibration target moves, causing problems with calibration using the captured images. On the other hand, if the calibration target is sufficiently brightly illuminated, the shutter speed may be set to shorter values, thereby reducing or substantially eliminating motion blur and thereby enabling the capture of additional information for performing a more accurate pose estimate for the camera.
[0138] In addition to calibrating the cameras within a camera group relative to each other, aspects of the embodiments may also be used to determine the offset or transformation between "chunks" of data captured by different camera groups in camera group 130 (see Figure 1B When these offsets or transformations between camera groups are known, patches captured by different camera groups can be easily merged together even when the shapes of the patches captured by different camera groups have little overlap (e.g., if the patches correspond to point clouds representing different parts of a target object, if there is sufficient overlap in the parts of the target object represented in the point clouds, techniques such as iterative closest point can be used to merge the point clouds).
[0139] Figure 7 is a schematic diagram of two camera groups 130ABC and 130DEF positioned at different parts of a production line to image objects on a conveyor system 12 according to an embodiment of the present invention, BCPI-240306 Page 26 / 27
[0140] Figure 7The diagram shown is illustrative only and does not show a precise perspective view with respect to the coordinate axes shown. The two camera groups 130ABC and 130DEF are independent and may be located far away from each other, making it difficult or impossible to calibrate the camera groups 130ABC and 130DEF relative to each other by placing the calibration target 200 at a position that is simultaneously within the field of view of at least one camera 100 of each group 130. On the other hand, each camera group 130 may be calibrated relative to a reference global coordinate system, where the reference coordinate system may be set based on, for example, the coordinate system of the first camera group 130ABC. The offset between the first camera groups 130ABC and 130DEF may then be determined, for example, by placing the calibration target on the conveyor system 12 and ensuring that the conveyor system 12 performs the same physical rigid transformation (e.g., rotation and translation) on the calibration target as performed on the target object 10 on the conveyor system 12.
[0141] By calibrating the positions of the two camera groups 130ABC and 130DEF relative to each other (e.g., estimating the relative poses of the two camera groups relative to the target object), the images and / or 3-D models 702ABC and 702DEF (e.g., obtained by calibrating the positions of the two camera groups 130ABC and 130DEF) respectively captured by the two camera groups 130ABC and 130DEF can be combined. Figure 1C The coordination server 30 shown in ) generates a combined 3-D model 704 by simply aligning the models without rotation because the models are captured relative to a global coordinate system. Figure 7 The coordinate axes shown adjacent to models 702ABC and 702DEF are not intended to precisely describe the orientation of the coordinate system associated with the views of the models, but are merely intended to illustrate the general direction in which the models are viewed. However, the associated coordinate system is intended to reflect the consistency between the coordinate systems of first camera group 130ABC and second camera group 130DEF.
[0142] Although Figure 7 Only objects that are translated but not rotated by the conveyor system 12 are shown, but embodiments of the present invention are not limited thereto and may also be applied to the case where the conveyor system 12 performs a rigid transformation between camera groups that includes rotation.
[0143] Figure 8 is a flow chart of a method 800 for calibrating two camera groups according to one embodiment of the present invention. In some embodiments of the present invention, Figure 8 The method shown is performed by the coordination server 30, and in operation 810, based on a captured image of the calibration target 200 carried by a portion of the conveyor system 12, the first camera group 130ABC is calibrated by controlling the camera group (e.g., the controller 24), the calibration target being used for the first camera group (e.g., Figure 7As described above, in some cases, the calibration target 200 is not visible to all cameras 100 of the camera group at the same time, but if an image of the calibration target is captured, the cameras 100 of the camera group 130 as a whole can be calibrated (e.g., the relative poses of the cameras BCPI-240306 Page 27 / 27 relative to each other, or equivalently, the relative poses relative to a global coordinate system) are calculated.
[0144] In operation 820, the conveyor system 12 is used to perform a rigid transformation on the calibration target 200 to move the calibration target to the second camera group (e.g., Figure 7 The camera group 130DEF is shown visible. It is assumed that the rigid transformation applied by the conveyor system 12 is consistent and repeatable, and that the conveyor system performs the same rigid transformation on the target object 10.
[0145] In operation 830, the second camera group is calibrated using the calibration target 200 that is now visible to the second camera group (e.g., by performing the calibration using the controller 24 of the camera group). Thus, in operation 840, the coordination server 30 may combine the estimated poses of the cameras of the first camera group calculated in operation 810 and the estimated poses of the cameras of the second camera group calculated in operation 830 to calculate a relative pose of the first camera group and the second camera group relative to a global coordinate system (e.g., relative to an object being conveyed by the conveyor system 12).
[0146] Thus, aspects of embodiments of the present invention relate to systems and methods for configuring cameras of a camera group, including estimating poses of cameras of the camera group, detecting deviations of the estimated poses from a set of designed poses, and adjusting the poses of the cameras to match the designed poses.
[0147] While the invention has been described in conjunction with certain exemplary embodiments, it should be understood that the invention is not limited to the disclosed embodiments, but on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims and their equivalents.
Claims
1. A system for placing and calibrating a camera comprising a first camera group, the first camera group comprising: a first camera having a first field of view; a second camera having a second field of view that overlaps the first field of view in a first overlap region; a third camera having a third field of view that overlaps the second field of view in a second overlap region, wherein the third field of view does not overlap the first field of view; A controller comprising a processor and a memory, the memory storing instructions which, when executed by the processor, cause the processor to: Controlling the first camera and the second camera to respectively capture a first image and a second image of a first scene substantially simultaneously, the first scene including a first calibration target in the first overlapping area; Calculating a first relative pose between the first camera and the second camera based on the first calibration target in the first image and the first calibration target in the second image; controlling the second camera and the third camera to respectively capture a third image and a fourth image of a second scene substantially simultaneously, the second scene including a second calibration target in the second overlap region; calculating a second relative pose between the second camera and the third camera based on the second calibration target in the third image and the second calibration target in the fourth image; Calculating a third relative pose between the first camera and the third camera based on the first relative pose and the second relative pose; as well as calculating a first calibration of the first camera group based on the first relative pose, the second relative pose, and the third relative pose, and wherein the first camera group is configured to image an object conveyed by a first portion of the conveyor system, wherein the first calibration target is transmitted by a transmission system, and The system further comprises: BCPI-240306 Page 2 / 6 a second camera group including a second plurality of cameras, the second camera group configured to image an object conveyed by a second portion of the conveyor system; a coordination server configured to receive data captured by the first camera group and the second camera group, the coordination server comprising a processor and a memory storing instructions that, when executed by the processor, cause the processor to: controlling the first camera group to calculate the first calibration when the first calibration target is in the first portion of the conveyor system; After the first calibration target is conveyed by the conveyor system to the second portion of the conveyor system, controlling the second camera group to calculate a second calibration based on the relative poses of the second plurality of cameras; and A calibration of the first camera group to the second camera group is calculated based on the first calibration and the second calibration.
2. The system according to claim 1, wherein: The first camera group also includes a fourth camera having a fourth field of view overlapping the third field of view in a third overlap region, and The memory further stores instructions which, when executed by the processor, cause the processor to: controlling the third camera and the fourth camera to respectively capture a fifth image and a sixth image of a third scene, the third scene including a third calibration target in the third overlapping area; and A fourth relative pose between the third camera and the fourth camera is calculated.
3. The system of claim 1 , wherein the memory further stores a plurality of designed poses of the cameras of the first camera group, and The memory further stores instructions which, when executed by the processor, cause the processor to: calculating a plurality of differences between the design pose and the first relative pose, the second relative pose, and the third relative pose; and The plurality of differences are output.
4. The system of claim 3, wherein each of the cameras comprises one or more light emitting diodes, and The memory further stores instructions which, when executed by the processor, cause the processor to: The light emitting diodes of the camera are controlled to indicate the plurality of differences between the first relative pose, the second relative pose, and the third relative pose and the design pose.
5. The system according to claim 3, further comprising a graphical user interface displayed on the display device, The memory further stores instructions which, when executed by the processor, cause the processor to: An indication of the plurality of differences between the first relative pose, the second relative pose, and the third relative pose and the design pose is displayed on the display device.
6. The system of claim 5, wherein the memory further stores instructions that, when executed by the processor, cause the processor to: A first confidence level of the first relative posture, a second confidence level of the second relative posture, and a third confidence level of the third relative posture are displayed on the display device.
7. The system of claim 1, wherein each of the cameras comprises: a first two-dimensional camera, the first two-dimensional camera having a first optical axis; as well as A second two-dimensional camera having a second optical axis substantially parallel to the first optical axis and having a field of view overlapping the field of view of the first two-dimensional camera.
8. The system according to claim 1, wherein: The first calibration target comprises a back-illuminated calibration target comprising a plurality of light emitting diodes configured to emit light in a calibration pattern.
9. A method for positioning and calibrating cameras of a first camera group, the method comprising: Control the first camera and the second camera of the first camera group to capture the first scene respectively BCPI-240306 Page 4 / 6 a first image and a second image of a scene, The first camera has a first field of view, the second camera having a second field of view overlapping the first field of view in a first overlap region; The first scene includes a first calibration target in the first overlapping area; Calculating a first relative pose between the first camera and the second camera based on the first calibration target in the first image and the first calibration target in the second image; controlling the second camera and the third camera of the first camera group to respectively capture a third image and a fourth image of a second scene, the third camera having a third field of view overlapping the second field of view in a second overlapping region, The third field of view does not overlap with the first field of view, and The second scene includes a second calibration target in the second overlapping area; Calculating a second relative pose between the second camera and the third camera based on the second calibration target in the third image and the second calibration target in the fourth image; Calculating a third relative pose between the first camera and the third camera based on the first relative pose and the second relative pose; as well as calculating a first calibration of the first camera group based on the first relative pose, the second relative pose, and the third relative pose, wherein each of the cameras comprises: a first two-dimensional camera, the first two-dimensional camera having a first optical axis; as well as A second two-dimensional camera having a second optical axis substantially parallel to the first optical axis and having a field of view overlapping the field of view of the first two-dimensional camera.
10. The method according to claim 9, wherein: The first camera group also includes a fourth camera having a fourth field of view overlapping the third field of view in a third overlap region, and The method further comprises: BCPI-240306 Page 5 / 6 controlling the third camera and the fourth camera to respectively capture a fifth image and a sixth image of a third scene, the third scene including a third calibration target in the third overlapping area; and A fourth relative pose between the third camera and the fourth camera is calculated.
11. The method according to claim 9, characterized in that Also includes calculating a plurality of differences between the first relative pose, the second relative pose, and the third relative pose and a plurality of design poses of the cameras of the first camera group; as well as The plurality of differences are output.
12. The method according to claim 11, further comprising Indications of the plurality of differences between the first relative pose, the second relative pose, and the third relative pose and the design pose are displayed on a graphical user interface displayed on a display device.
13. The method according to claim 12, further comprising: A first confidence level of the first relative posture, a second confidence level of the second relative posture, and a third confidence level of the third relative posture are displayed on the display device.
14. The method according to claim 9, wherein: The first calibration target comprises a back-illuminated calibration target comprising a plurality of light emitting diodes configured to emit light in a calibration pattern.
15. The method according to claim 9, wherein: The second calibration target is the first calibration target after rigid transformation is performed.
16. The method according to claim 15, wherein: The first camera group is configured to image an object conveyed by a first portion of the conveyor system, wherein the first calibration target is transmitted by a transmitter system, and The method further comprises: controlling the first camera group to calculate the first calibration when the first calibration target is in the first portion of the conveyor system; After the first calibration target is transmitted by the conveyor system to the conveyor BCPI-240306 Page 6 / 6 after the second portion of the system, controlling a second camera group including a second plurality of cameras to calculate a second calibration based on relative poses of the second plurality of cameras, the second camera group being configured to image an object conveyed by the second portion of the conveyor system; and A calibration of the first camera group to the second camera group is calculated based on the first calibration and the second calibration.
Citation Information
Patent Citations
Interactive calibration method and apparatus based on three dimensional reconstruction in three dimensional monitoring system
CN105678748A
Method and apparatus for adjusting optical centre
US20150036036A1
Method and system for calibrating relative fields of view of multiple cameras
US6873924B1
Automatic multi-device localization and collaboration using cameras
US8531519B1
