WO2022127918A1 - 双目相机的立体标定方法、装置、系统及双目相机 - Google Patents
双目相机的立体标定方法、装置、系统及双目相机 Download PDFInfo
- Publication number
- WO2022127918A1 WO2022127918A1 PCT/CN2021/139325 CN2021139325W WO2022127918A1 WO 2022127918 A1 WO2022127918 A1 WO 2022127918A1 CN 2021139325 W CN2021139325 W CN 2021139325W WO 2022127918 A1 WO2022127918 A1 WO 2022127918A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- images
- calibration
- camera
- image
- thermal infrared
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 238000013519 translation Methods 0.000 claims abstract description 71
- 238000003384 imaging method Methods 0.000 claims abstract description 33
- 230000003287 optical effect Effects 0.000 claims abstract description 30
- 230000017525 heat dissipation Effects 0.000 claims abstract description 10
- 239000011159 matrix material Substances 0.000 claims description 78
- 239000002131 composite material Substances 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 25
- 238000012937 correction Methods 0.000 claims description 23
- 230000008569 process Effects 0.000 claims description 20
- 238000000605 extraction Methods 0.000 claims description 19
- 239000013589 supplement Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000009469 supplementation Effects 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 4
- 239000002184 metal Substances 0.000 claims description 3
- 229910052751 metal Inorganic materials 0.000 claims description 3
- 230000001502 supplementing effect Effects 0.000 claims description 3
- 230000000153 supplemental effect Effects 0.000 claims description 2
- 230000000717 retained effect Effects 0.000 abstract description 5
- 238000004364 calculation method Methods 0.000 description 11
- 238000010438 heat treatment Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000013507 mapping Methods 0.000 description 6
- 238000009529 body temperature measurement Methods 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036544 posture Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
- G06T7/85—Stereo camera calibration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10048—Infrared image
Definitions
- the embodiments of the present application relate to the technical field of computer vision, and in particular, to a stereo calibration method, device, and system for a binocular camera, and a binocular camera.
- binocular cameras composed of visible light cameras and thermal infrared cameras are used in temperature measurement, ranging and other scenarios that require image depth calculation.
- This binocular camera is a heterogeneous and heterogeneous binocular camera.
- heterologous means that the signal sources of the two cameras that make up the binocular are different, the signal source of the visible light camera is visible light, the signal source of the thermal infrared camera is heat, and the heterogeneity refers to the resolution, Physical structures such as focal length, pixel size, and field of view are not identical.
- the binocular camera composed of the visible light camera and the thermal infrared camera is a heterogenous and heterogeneous binocular camera, the physical structure of the visible light camera and the thermal infrared camera is quite different, and the calibration is difficult. The accuracy of the camera will also be affected when it measures distance and temperature. Therefore, it is necessary to propose a stereo calibration method for visible light and thermal infrared binocular cameras.
- Embodiments of the present application provide a stereo calibration method, device, system and binocular camera for a binocular camera, which are effective for stereo calibration of visible light and thermal infrared cameras, and ensure the accuracy of stereo calibration.
- the technical solution is as follows:
- a stereo calibration method for a binocular camera includes a visible light camera and a thermal infrared camera, and the method includes:
- each pair of initial images in the multiple pairs of initial images includes a visible light image and a thermal infrared image of the same object;
- the external parameters of the binocular camera are calibrated, and the external parameters include the translation matrix and the rotation between the visible light camera and the thermal infrared camera. matrix;
- the translation component along the optical axis direction in the translation matrix included in the external parameter is reduced to obtain an adjusted translation matrix, and the visible light camera and the adjusted translation matrix are calibrated according to the rotation matrix and the adjusted translation matrix. the respective rotation amounts of the thermal infrared cameras.
- performing calibration point extraction on the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images including:
- the pixel coordinates of the calibration point extracted from the any first image are determined according to the pixel coordinates of the contour in the any first image.
- the calibration points to be extracted in each of the multiple pairs of first images are evenly distributed at equal intervals;
- the determining the pixel coordinates of the calibration point extracted from the any first image according to the pixel coordinates of the contour in the any first image including:
- a plurality of contours that are within a distance threshold and whose number is not less than the contour threshold in any of the first images are formed into contour families, to obtain a plurality of contour families in any of the first images;
- any contour family in the any first image from multiple contour families in the any first image, obtain the target contour family with the closest distance to the any contour family, and calculate the any contour family.
- the pixel abscissa difference and the pixel ordinate difference between the center of a contour family and the center of the target contour family, and the pixel abscissa difference and the pixel ordinate difference corresponding to any contour family are obtained, so The difference between the abscissa of the pixel and the difference of the ordinate of the pixel is not less than zero;
- the resolutions of the visible light image and the thermal infrared image included in each pair of first images in the plurality of pairs of first images are uniform;
- the multiple pairs of initial images are processed to obtain multiple pairs of first images with uniform imaging specifications, including:
- the visible light images in the plurality of pairs of initial images are cropped to obtain the visible light images in the plurality of pairs of first images.
- the method further includes:
- each of the one or more pairs of third images includes a visible light image and a thermal infrared image of the same heat source.
- determining the corresponding upsampling multiple of the thermal infrared camera according to the pixel size relationship of the same heat source in one or more pairs of second images including:
- the upsampling multiple corresponding to the thermal infrared camera is determined.
- the visible light is determined according to the resolution of the thermal infrared camera, the upsampling multiple, and the difference relationship between the pixel coordinates corresponding to the same heat source in one or more pairs of third images.
- the cropped area corresponding to the camera including:
- any one of the one or more pairs of third images calculate the difference between the pixel abscissas and the pixel ordinates of the same heat source in the any pair of third images, respectively. difference, obtain the abscissa difference and ordinate difference corresponding to any pair of third images;
- the abscissa offset between the visible light camera and the thermal infrared camera is obtained.
- the unified horizontal resolution is determined according to the original horizontal resolution of the thermal infrared camera and the upsampling multiple
- the unified vertical resolution is determined according to the original vertical resolution of the thermal infrared camera and the upsampling multiple. straight resolution;
- the visible light camera corresponds to the clipping area.
- a stereo calibration device for a binocular camera comprising:
- the specification unification module is used for processing multiple pairs of initial images to obtain multiple pairs of first images with unified imaging specifications, and each pair of initial images in the multiple pairs of initial images includes a visible light image and a thermal infrared image of the same object;
- a calibration point extraction module configured to perform calibration point extraction on the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images
- An external parameter calibration module configured to calibrate the external parameters of the binocular camera according to the pixel coordinates of the calibration points extracted from the multiple pairs of first images, the external parameters include the visible light camera and the thermal infrared camera between translation and rotation matrices;
- the stereo correction module is used for reducing the translation component along the direction of the optical axis in the translation matrix included in the external parameter to obtain an adjusted translation matrix.
- the respective rotation amounts of the visible light camera and the thermal infrared camera are calibrated.
- the calibration point extraction module includes:
- an outline extraction unit configured to extract outlines in each of the first images in the plurality of pairs of first images based on a binarization process
- the calibration point determination unit is configured to, for any first image in the plurality of pairs of first images, determine, according to the pixel coordinates of the contour in the any first image, the extracted data from the any first image.
- the pixel coordinates of the calibration point is configured to, for any first image in the plurality of pairs of first images, determine, according to the pixel coordinates of the contour in the any first image, the extracted data from the any first image. The pixel coordinates of the calibration point.
- the calibration points to be extracted in each of the multiple pairs of first images are evenly distributed at equal intervals;
- the calibration point determination unit includes:
- the first processing subunit is used to form a contour family with a plurality of contours in the any first image that are within the distance threshold and whose number is not less than the contour threshold, and obtain the contours in the any first image.
- the second processing subunit is configured to, for any contour family in the any first image, obtain the closest distance to the any contour family from the plurality of contour families in the any first image target contour family, calculate the pixel abscissa difference and the pixel ordinate difference between the center of the any contour family and the center of the target contour family, and obtain the pixel abscissa difference corresponding to any of the contour families and the pixel ordinate difference, the pixel abscissa difference and the pixel ordinate difference not less than zero;
- a third processing subunit configured to calculate the sum of the pixel abscissa difference and the pixel ordinate difference corresponding to each contour family in the any first image, and obtain the corresponding contour family in the any first image. the calibration spacing;
- the fourth processing subunit is used to remove the contour family whose gap between the corresponding calibration spacing and the reference spacing in any of the first images exceeds the spacing threshold, and determine the center of each remaining contour family as the extracted contour.
- a calibration point, the center pixel coordinate of each remaining contour family is determined as the pixel coordinate of an extracted calibration point.
- the resolutions of the visible light image and the thermal infrared image included in each pair of first images in the plurality of pairs of first images are uniform;
- the specification unification module includes:
- a scaling unit configured to upsample the thermal infrared images in the multiple pairs of initial images according to the upsampling multiples corresponding to the thermal infrared cameras, to obtain thermal infrared images in the multiple pairs of first images
- a cropping unit configured to crop the visible light images in the plurality of pairs of initial images according to cropping regions corresponding to the visible light cameras, to obtain the visible light images in the plurality of pairs of first images.
- the device further includes:
- the scaling parameter determination module is configured to determine the corresponding upsampling multiple of the thermal infrared camera according to the pixel size relationship of the same heat source in one or more pairs of second images, each of the one or more pairs of second images.
- the second image includes a visible light image and a thermal infrared image of the same heat source;
- the cropping area determination module is configured to determine the original resolution of the thermal infrared camera, the upsampling multiple, and the difference relationship between the pixel coordinates corresponding to the same heat source in one or more pairs of third images.
- the cropping area corresponding to the visible light camera, each of the one or more pairs of third images includes a visible light image and a thermal infrared image of the same heat source.
- the scaling parameter determination module includes:
- a ratio calculation unit configured to calculate the ratio between the pixel lengths of the same heat source in each of the one or more pairs of second images, and/or, to calculate the same heat source in the one or more pairs of second images obtaining at least one scaling ratio for the ratio between the pixel areas in each pair of the second images in the second image;
- a parameter determination unit configured to determine an upsampling multiple corresponding to the thermal infrared camera according to the at least one scaling ratio value.
- the crop region determination module includes:
- a coordinate difference calculation unit configured to calculate, for any one of the one or more pairs of third images, the difference between the abscissas of the pixels of the same heat source in the any pair of third images, respectively The difference between the value and the vertical coordinate of the pixel, the abscissa difference and the vertical coordinate difference corresponding to any pair of third images are obtained;
- an offset determination unit configured to obtain the abscissa offset between the visible light camera and the thermal infrared camera according to the abscissa difference values corresponding to the one or more pairs of third images, and according to the pair of or The ordinate difference values corresponding to the plurality of pairs of third images are obtained to obtain the ordinate offset between the visible light camera and the thermal infrared camera;
- a resolution determination unit configured to determine the unified horizontal resolution according to the original horizontal resolution of the thermal infrared camera and the upsampling multiple, and determine the unified horizontal resolution according to the original vertical resolution of the thermal infrared camera and the upsampling multiple, to determine the unified vertical resolution;
- a cropping area determination unit configured to determine the abscissa offset and ordinate offset between the visible light camera and the thermal infrared camera, and the unified horizontal resolution and the unified vertical resolution , and determine the cropping area corresponding to the visible light camera.
- a calibration device is provided, and the calibration device is used to realize the image acquisition in the stereo calibration method of the binocular camera described above;
- the calibration device includes a calibration plate and a supplementary light supplementary heat device
- the calibration plate is a metal plate, holes are evenly distributed on the calibration plate at equal intervals, and the hole walls of the holes have an inclination angle;
- the supplementary light supplementary heat device includes a supplementary light device, a reflective plate and a supplemental heat device, the supplementary light device is fixed on the back of the calibration plate, and the reflective plate is fixed at a distance of heat dissipation from the back of the calibration plate. position, the heat supplementing device is fixed on the back of the reflector;
- the light supplement device is used to emit light to the reflector
- the heat supplement device is used to emit heat
- the reflector surface of the reflector is a diffuse reflector
- the reflector is used to pass the diffuse reflector to all surfaces.
- the calibration plate reflects the light and transfers heat to the calibration plate.
- the calibration device is a single-board calibration device, and the single-board calibration device includes a calibration plate and a set of light and heat supplementation devices; or,
- the calibration device is a first combination board calibration device, and the first combination board calibration device includes a plurality of calibration plates and multiple sets of light and heat compensation devices, the multiple calibration plates and the multiple sets of light and heat compensation devices.
- the poses of the multiple calibration boards are different; or,
- the calibration device is a second composite board calibration device, and the second composite board calibration device includes the plurality of calibration boards and a set of light and heat supplementation devices, and the positions of the plurality of calibration boards are different.
- a stereo calibration system for a binocular camera includes the binocular camera and a processor;
- the binocular camera includes a visible light camera and a thermal infrared camera, and the visible light camera and the thermal infrared camera capture a visible light image and a thermal infrared image of the same object as a pair of initial images;
- the processor is configured to process multiple pairs of initial images to obtain multiple pairs of first images with uniform imaging specifications
- the processor is further configured to perform calibration point extraction on the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images;
- the processor is further configured to calibrate the external parameters of the binocular camera according to the pixel coordinates of the calibration points extracted from the plurality of pairs of first images, the external parameters include the visible light camera and the thermal infrared Translation matrix and rotation matrix between cameras;
- the processor is further configured to reduce the translation component along the optical axis direction in the translation matrix included in the external parameter to obtain an adjusted translation matrix. According to the rotation matrix and the adjusted translation A matrix to calibrate the respective rotation amounts of the visible light camera and the thermal infrared camera.
- a binocular camera is provided, and the binocular camera is calibrated according to the above-mentioned stereo calibration method.
- the binocular camera includes a visible light camera and a thermal infrared camera.
- a computer device in another aspect, includes a processor, a communication interface, a memory and a communication bus, and the processor, the communication interface and the memory communicate with each other through the communication bus , the memory is used to store a computer program, and the processor is used to execute the program stored in the memory, so as to realize the steps of the stereo calibration method of the binocular camera.
- a computer-readable storage medium where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the stereo calibration method for the binocular camera are implemented.
- a computer program product containing instructions, which, when run on a computer, cause the computer to execute the steps of the above-described stereo calibration method for a binocular camera.
- the embodiment of the present application provides a calibration device, the calibration device reflects light and heat evenly through the reverse fill light and diffuse reflection surface, and ensures heat dissipation, so that the light and heat on the calibration board are uniform and stable.
- the binocular camera The captured visible light images and thermal infrared images are clear and of high image quality.
- the embodiment of the present application also provides a stereo calibration method for a binocular camera. First, the imaging specifications of the visible light camera and the thermal infrared camera are unified, so that the subsequent stereo calibration is performed on the premise that the imaging specifications of the two cameras are unified. be accurate and effective.
- FIG. 1 is a schematic view of the board surface of a calibration plate provided by an embodiment of the present application
- FIG. 2 is a schematic view of a hole cross-section of a calibration plate provided in an embodiment of the present application
- FIG. 3 is a schematic diagram of a calibration device provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a board surface of a composite board provided by an embodiment of the present application.
- FIG. 5 is a flowchart of a stereo calibration method for a binocular camera provided by an embodiment of the present application
- FIG. 6 is a flowchart of another stereo calibration method for a binocular camera provided by an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a stereo calibration device for a binocular camera provided by an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- Heterogeneous and heterogeneous binoculars refer to the different signal sources of the two cameras that form a binocular
- heterogeneous binoculars refer to the resolution, focal length, pixel size, visual Physical structures such as field angles are not identical.
- the binocular camera consisting of a visible light camera and a thermal infrared camera introduced in the embodiments of the present application is a heterogenous and heterogeneous binocular camera.
- the signal source of the visible light camera is visible light
- the signal source of the thermal infrared camera is heat
- the physical structure of the visible light camera and the thermal infrared camera are quite different.
- Stereo calibration such as calibrating the internal and external parameters of the two cameras, calibrating the respective rotations of the two cameras, etc.
- the internal parameters include optical center, focal length, distortion matrix and other parameters
- the external parameters include the translation matrix and rotation matrix between the two cameras
- the external parameters are used to represent the translation and rotation relationship between the two cameras.
- the result of the stereo calibration can correct the images of the two cameras to a state of epipolar alignment, that is, to correct the image planes of the two cameras to a coplanar alignment, which is convenient for subsequent stereo matching.
- binocular cameras are widely used in temperature measurement and distance measurement and other scenarios. Whether it is used for temperature measurement or distance measurement, it is necessary to calculate the distance between the object being photographed and the binocular camera based on the parallax distance formula.
- the distance formula is derived under the ideal situation of the binocular camera, that is, the two image planes of the two cameras are aligned coplanarly.
- coplanar line alignment means that when the image planes of the two cameras are on the same horizontal plane, and the same physical point is projected on the two image planes, they should be on the same line of the two pixel coordinate systems.
- the actual binocular camera there are no two image planes that are completely aligned with coplanar lines, so it is necessary to perform stereo calibration on the binocular camera.
- the goal of stereo calibration is to align the actual non-coplanar lines.
- the two image planes are corrected into coplanar alignment, that is, the actual binocular camera is corrected to an ideal binocular camera.
- the stereo calibration of the visible light and thermal infrared binocular cameras is performed by taking an image of the calibration device.
- the embodiment of the present application first designs a calibration device, and then introduces the calibration device.
- the calibration device includes a calibration plate and a device for supplementing light and heat.
- the calibration plate is introduced.
- the calibration plate is a metal plate, and holes are evenly distributed on the calibration plate at equal intervals, and the hole walls of the holes have an inclined angle.
- the holes on the calibration plate are round holes.
- the inclination angle of the hole wall is any angle within 0° to 90°, such as 15°, 30°, 45°, 50° and the like. It should be noted that the embodiments of the present application do not limit the thickness of the calibration plate, the number of holes on the calibration plate, the shape of the holes, and the inclination angle of the holes.
- FIG. 1 is a schematic view of a surface of a calibration plate provided by an embodiment of the present application
- FIG. 2 is a schematic cross-sectional view of a hole of a calibration plate provided by an embodiment of the present application.
- the thickness of the calibration plate is 5mm (mm)
- the calibration plate is evenly distributed with 9*9 round holes
- Figure 2 the calibration The circular holes on the plate have an inclined angle of 15°.
- Figure 1 is a front view of the calibration plate, which represents the front of the calibration plate, that is, the side that the binocular camera needs to shoot.
- Figure 2 is a cross-sectional view of the calibration plate from the right side. With an inclined angle, the aperture on the front of the calibration plate is smaller than the aperture on the back.
- the light supplement heat device includes a light supplement device, a reflective plate and a heat supplement device.
- the light supplement device is fixed on the back of the calibration plate, and the reflector plate is fixed on the The back of the calibration plate is separated by a heat dissipation distance, and the heat supplement device is fixed on the back of the reflector.
- the supplementary light device is used to emit light to the reflective plate
- the heat supplementary device is used to emit heat
- the reflective surface of the reflective plate is a diffuse reflection surface
- the reflective plate is used to reflect light toward the calibration plate through diffuse reflection, and to transfer heat to the calibration plate .
- the fill light device is fixed on the back of the calibration plate near the edge, that is, between the outermost row of holes and the edge, to avoid the effect of the fill light device on light and heat, and reduce shadows in the image.
- the heat dissipation distance can be set according to the heating power of the heating device. For example, if the heating power is larger, the heat dissipation distance can be set larger, and the heating power is smaller, and the heat dissipation distance can be set smaller, so that the heat transferred to the calibration plate and the calibration plate can be set smaller.
- the heat dissipated is relatively balanced.
- the supplementary light device is a supplementary light lamp, and the heating device is a heating patch.
- FIG. 3 is a schematic diagram of a calibration device provided by an embodiment of the present application.
- the plate on the left is a calibration plate
- the back of the calibration plate is fixed with a fill light
- the plate on the right is a reflector
- the reflection surface of the reflector is processed into a diffuse reflection surface, that is, the surface on the left side of the reflector is Diffuse reflection surface, the diffuse reflection surface can reflect light evenly.
- a heating patch is fixed on the back of the reflective plate, and the heating patch emits heat, and transmits heat to the calibration plate evenly and with high energy through the reflective plate, so that the light and heat on the calibration plate are uniform and stable.
- the reflector plate can emit light and heat to the calibration plate in a uniform and high-energy manner, which ensures clear imaging of the visible light camera and the thermal infrared camera, and avoids simultaneous transmission of light and heat to the calibration plate.
- the equipment blocks each other, resulting in uneven light and heat, ensuring uniform imaging.
- the calibration device is a single-board calibration device
- the single-board calibration device includes a calibration plate and a set of light and heat supplementation devices, such as the calibration device shown in FIG. 3 .
- the embodiment of the present application also designs a composite board calibration device, which uses a plurality of calibration boards with different poses to arrange together to obtain a composite board, and designs a composite board calibration device based on the composite board. In this way, a plurality of images of calibration boards in different poses can be obtained in one shot, and there is no need to adjust the poses of the calibration device during the shooting process, which improves the efficiency.
- the two combination board calibration devices provided in the embodiments of the present application will be introduced.
- the calibration device is a first combination board calibration device
- the first combination board calibration device includes a plurality of calibration plates and multiple sets of light and heat supplement devices
- the multiple calibration boards and the multiple sets of light and heat supplement devices correspond one-to-one.
- the poses of the multiple calibration boards are different.
- a plurality of veneer calibration devices are arranged together to form a combined board calibration device, and the positions of the plurality of veneer calibration devices are different, that is, the angles of the plurality of veneer calibration devices are adjusted to make the multiple veneer calibration devices.
- the veneer calibration devices form a certain angle with each other.
- the calibration device is a second combination plate calibration device
- the second combination plate calibration device includes a plurality of calibration plates and a set of light and heat supplement devices, and the positions of the plurality of calibration plates are different. That is, arranging calibration boards of different poses together to obtain a composite board, fixing a set of light-filling devices on the back of the composite board, fixing a reflector at a distance from the composite board for heat dissipation, and the reflector of the reflector.
- a heating device is fixed on the back of the reflector.
- the supplementary light device is fixed at a position close to the edge of the composite board to avoid the influence of the supplementary light device on light and heat.
- the size of the reflector in the combination board calibration device matches the size of the combination board, and the heating device should also match the size of the combination calibration board. For example, the size of the heating patch matches the size of the combination board.
- FIG. 4 is a schematic diagram of a board surface of a composite board provided by an embodiment of the present application.
- the combination plate includes four calibration plates as shown in FIG. 1 , and a certain angle is formed between the calibration plates, that is, the postures of the calibration plates are different.
- the embodiment of the present application provides a calibration device, and the calibration device is used to realize the acquisition of images in the stereo calibration method of the binocular camera.
- the designed calibration device makes the light and heat on the calibration board uniform and stable through the reverse fill light, the diffuse reflection surface is uniform, the high-energy reflected light and heat, and the heat dissipation is ensured.
- the infrared image is clear, that is, the image quality is high, which is beneficial to improve the calibration accuracy of the binocular camera.
- FIG. 5 is a flowchart of a stereo calibration method for a binocular camera provided by an embodiment of the present application.
- the method is applied to a calibration device, optionally, the calibration device is a binocular camera or a computer device. Please refer to FIG. 5 , the method includes the following steps.
- Step 501 Process multiple pairs of initial images to obtain multiple pairs of first images with uniform imaging specifications, and each pair of initial images in the multiple pairs of initial images includes a visible light image and a thermal infrared image of the same object.
- the binocular camera in the embodiment of the present application includes a visible light camera and a thermal infrared camera.
- the binocular camera is a heterogeneous and heterogeneous binocular camera.
- the imaging specifications of the visible light camera and the thermal infrared camera are different, for example, the resolution of the imaging of the two cameras is different. There are differences in rate, focal length, etc. In this case, stereo calibration cannot be performed directly, and the imaging specifications of the two cameras need to be unified.
- the uniform imaging specification includes uniform resolution, that is, the resolution of the visible light image and the thermal infrared image included in each pair of first images is uniform.
- the unified resolution means that the focal lengths of the two cameras are also unified. , that is, in this solution, while unifying the resolutions of the two cameras, it also unifies the focal lengths of the two cameras.
- the imaging specifications of the visible light camera and the thermal infrared camera are converted into the same imaging specifications through cropping and scaling of the image, that is, the resolution and focal length are unified, and subsequent stereo calibration is performed based on the cropped and scaled image.
- each pair of initial images in the multiple pairs of initial images includes a visible light image and a thermal infrared image of the same object
- each pair of initial images is an image of the same object captured by the visible light camera and the thermal infrared camera at the same time.
- the shooting object of the binocular camera may be the calibration device described above, that is, the initial image is the image of the calibration device. That is, when the light and heat supplement included in the calibration device is enabled, the binocular camera obtains an initial image by photographing the calibration plate included in the calibration device.
- the original resolution of the thermal infrared camera is usually smaller than the original resolution of the visible light camera, and the field of view of the visible light camera is larger than the field of view of the thermal infrared camera.
- the image is upsampled to enlarge the thermal infrared image, and the visible light image is cropped to reduce the visible light image, so that the resolution and focal length of the two cameras are unified.
- the visible light image may also be reduced by cropping and down-sampling, so that the resolutions and focal lengths of the two cameras are unified.
- the field of view of the thermal infrared camera is greater than the field of view of the visible light camera. Crop and downsample, or upsample the visible light image and crop the thermal infrared image, so that the resolution and focal length of the two cameras are the same.
- an example is introduced by taking the magnification of the thermal infrared image and the cropping of the visible light image so that the resolutions and focal lengths of the two cameras are unified.
- An implementation method of performing cropping and scaling processing on multiple pairs of initial images to obtain multiple pairs of first images with uniform imaging specifications is: according to the corresponding upsampling multiple of the thermal infrared camera, up-sampling the thermal infrared images in the multiple pairs of initial images. Sampling to obtain thermal infrared images in the pairs of first images; according to cropping regions corresponding to the visible light cameras, crop the visible light images in the pairs of initial images to obtain the visible light images in the pairs of first images.
- an implementation manner of upsampling the thermal infrared images in the multiple pairs of initial images is: the pixel abscissa of the thermal infrared images in the multiple pairs of initial images. and the vertical coordinate of the pixel are multiplied by the upsampling multiple to enlarge the thermal infrared image, so that the resolution of the thermal infrared image in the obtained multiple pairs of second images is the unified resolution of the two cameras.
- the upsampling multiple is scale
- W ir and H ir respectively refer to the original horizontal resolution and original vertical resolution of the thermal infrared camera
- W W ir ⁇ scale
- the clipping area is represented by a clipping rectangle range parameter, such as (( ⁇ w, ⁇ w+W),( ⁇ h, ⁇ h+H)), where ( ⁇ w, ⁇ w+ W) and ( ⁇ h, ⁇ h+H) are used to determine the rectangular area that needs to be preserved for cropping. That is, the pixel points whose abscissas are between ⁇ w and ⁇ w+W are reserved, and the pixels whose ordinates are between ⁇ h and ⁇ h+H are reserved.
- cropping and scaling parameters need to be determined.
- the cropping and scaling parameters include the upsampling multiple corresponding to the thermal infrared camera and the cropping area corresponding to the visible light camera.
- an implementation manner of determining the cropping and zooming parameters is: according to the pixel size relationship of the same heat source in one or more pairs of second images, determine the upsampling multiple corresponding to the thermal infrared camera; The original resolution and upsampling multiple of , and the difference relationship between the corresponding pixel coordinates of the same heat source in one or more pairs of third images, determine the cropping area corresponding to the visible light camera.
- each pair of second images in the one or more pairs of second images includes visible light images and thermal infrared images of the same heat source
- each pair of third images in the one or more pairs of third images includes visible light images of the same heat source images and thermal infrared images.
- the heat sources in the second and third images are different.
- the heat source in the second image and the third image is the same, that is, the second image and the third image are images obtained by photographing the same heat source, and the heat source may be the calibration device described above.
- a visible light camera and a thermal infrared camera are used to capture the same heat source placed far away at the same time to obtain one or more pairs of third images.
- the distance between the heat source and the binocular camera should be as far as possible.
- there is no need to set a parallax threshold and the heat source may be placed farther away, for example, 20 meters, 25 meters, or 30 meters away from the binocular camera.
- the second image use a visible light camera and a thermal infrared camera to capture a heat source with a fixed length or a fixed area at the same time, and ensure that the pixel length or pixel area of the heat source in the image can be calculated from the captured image.
- the heat source is placed farther away.
- the reason for placing the heat source at a distance to capture the third image is explained here: since the distance formula (which can be called the ranging formula) is calculated according to the parallax shown in formula (1), the baseline of the two cameras is a certain distance from the baseline, and the focal length is f. In the same situation, if the heat source is placed at infinity, that is, when the distance depth is infinite, the disparity disp of the two cameras is close to zero. Since the pixel sizes of the two cameras are different, the difference between the abscissas of the pixels corresponding to the same heat source in each pair of second images is non-zero, so the obtained parallax is non-zero.
- the difference relationship represents the offset between the pixel coordinates of the two cameras.
- the visible light image is processed according to the offset, so that the processed paired visible light images and
- the difference between the pixel coordinates of the thermal infrared image is zero to eliminate the parallax between the two cameras, and similar processing is performed for the ordinate, so that the horizontal and vertical resolutions of the visible light image and the thermal infrared image are consistent.
- an implementation method for determining the corresponding upsampling multiple of the thermal infrared camera is introduced. Based on the foregoing introduction, in this embodiment of the present application, the ratio between the pixel lengths of the same heat source in each pair of second images in the one or more pairs of second images is calculated, and/or the same heat source is calculated in one pair of second images. or a ratio between the pixel areas in each pair of the second images of the plurality of second images, resulting in at least one scaling ratio. Then, according to the at least one scaling ratio value, the upsampling multiple corresponding to the thermal infrared camera is determined.
- the embodiment of the present application determines the corresponding upsampling multiple of the thermal infrared image based on the ratio of the pixel length and/or the pixel area of the same object in the visible light image and the thermal infrared image.
- the ratio between the pixel lengths and/or the ratio between the pixel areas can be used to represent the pixel size relationship between the visible light image and the thermal infrared image pair.
- the heat source needs to have a certain length, and for any pair of second images, the pixel length of the heat source in the visible light image is calculated to be higher than the pixel length of the heat source in the thermal infrared image, A zoom ratio value corresponding to the pair of second images is obtained, so that for one or more pairs of second images, one or more zoom ratio values can be correspondingly obtained.
- the heat source needs to have a certain length and width.
- the ratio of the pixel area of the heat source in the visible light image to the pixel area of the heat source in the thermal infrared image is calculated to obtain the A zoom ratio value corresponding to the second image, so that for one or more pairs of the second image, one or more zoom ratio values can also be obtained correspondingly.
- the heat source also needs to have a certain length and width. For any pair of second images, calculate the ratio of the pixel length of the heat source in the visible light image to the pixel length of the heat source in the thermal infrared image.
- the zoom ratio is determined as the upsampling multiple. If multiple scaling ratio values are finally obtained for all the second images, the average value of the multiple scaling ratio values may be determined as the upsampling multiple.
- the visible light camera is determined according to the resolution and upsampling multiple of the thermal infrared camera, and the difference relationship between the pixel coordinates corresponding to the same heat source in one or more pairs of third images.
- An implementation manner of the corresponding cropping area is: for any one of the one or more pairs of third images, the difference between the pixel abscissas of the same heat source in the pair of third images is calculated respectively. and the difference between the ordinates of the pixels, to obtain the abscissa difference and ordinate difference corresponding to the pair of third images.
- the abscissa offset between the visible light camera and the thermal infrared camera is obtained, and according to the ordinate difference corresponding to the one or more pairs of third images, the The ordinate offset between the visible light camera and the thermal infrared camera.
- the unified horizontal resolution is determined according to the original horizontal resolution and upsampling multiple of the thermal infrared camera
- the unified vertical resolution is determined according to the original vertical resolution and upsampling multiple of the thermal infrared camera.
- the cropping area corresponding to the visible light camera is determined.
- the difference relationship is represented by the difference of the abscissa and the difference of the ordinate.
- the offset of the two cameras in the direction of the abscissa of the pixel and the offset of the direction of the ordinate of the pixel are determined. That is, the abscissa offset and the ordinate offset are determined.
- a cropping area is determined, so that the resolution of the visible light image retained after cropping according to the cropping area is the unified resolution.
- ensuring the same resolution also means the same focal length, so for a distant heat source, at this focal length, the parallax calculated by the two cameras is close to zero.
- the difference between the abscissas of the pixels of the same heat source in the pair of third images is calculated to obtain an abscissa difference value ⁇ w, and the abscissa difference value ⁇ w is obtained.
- the value ⁇ w is determined as the abscissa offset between the two cameras.
- the difference between the pixel ordinates of the heat source in the pair of third images is calculated to obtain an ordinate difference ⁇ h, and the ordinate difference ⁇ h is determined as the ordinate offset between the two cameras .
- the unified horizontal resolution and vertical resolution are W and H, respectively, then (( ⁇ w, ⁇ w+W), ( ⁇ h, ⁇ h+H)) is determined as the cropping area corresponding to the visible light camera.
- the heat source since the heat source is far away from the binocular camera when the third image is captured, the heat source can be regarded as a point in the third image, and the pixel coordinates of the heat source can also be used in the image.
- the above describes an implementation manner of performing cropping and scaling processing on multiple pairs of initial images to obtain multiple pairs of first images with uniform imaging specifications.
- the initial image may be the image of the calibration device. From the above description of the calibration device, it can be known that the calibration device is a single-board calibration device or a combined-board calibration device. If the calibration device is a single-board calibration device, the initial image includes a calibration plate. The first image is also an image including a calibration plate, in this case, step 502 can be continued.
- an initial image is an image including multiple calibration boards, that is, the initial image is an image of the composite board directly captured by the camera, and the first image obtained after processing the initial image is also composed of multiple calibration boards. image of a calibration plate.
- the visible light image and thermal infrared image included in each pair of first images need to be cropped respectively to obtain the visible light and thermal infrared image pairs of the calibration plate in multiple poses, and crop Each pair of images obtained corresponds to one calibration plate among the plurality of calibration plates.
- the plurality of pairs of images obtained after cropping are used as the plurality of pairs of first images after cropping, and the first image at this time is a single-board image, and step 502 is continued based on the plurality of pairs of first images after being cropped.
- step 502 is continued based on the plurality of pairs of first images after being cropped.
- FIG. 4 by cropping a pair of first images, 4 pairs of visible light and thermal infrared image pairs can be obtained. These 4 pairs of images correspond to the 4 calibration plates included in the combination board respectively.
- step 502 based on the 4 pairs of first images.
- the calibration device is a composite board calibration device
- the images directly obtained by the two cameras are taken as multiple pairs of original images, that is, the original images are the composite board images.
- multiple pairs of original images are cropped to obtain multiple pairs of initial images, that is, the initial image is a single-board image that has been cropped based on the image of the composite board, and an initial image is an image including a single calibration board, which is obtained after processing the initial image.
- the first image is also an image including a single calibration board, that is, the first image is already a single-board image, in this case, step 502 is continued.
- four pairs of visible light and thermal infrared images can be obtained by cropping a pair of original images, and these 4 pairs of images correspond to the 4 calibration boards included in the composite board respectively, and these 4 pairs of images are used as 4 pairs of images.
- the 4 pairs of initial images are processed to obtain 4 pairs of first images, and step 502 is continued based on the 4 pairs of first images.
- the composite board image can be cropped first to obtain the single board image, and then the single board image can be processed to obtain the first image.
- first process the combined board image to obtain a first image including multiple calibration board images and then crop the obtained first image to obtain a single calibration board image. 's first image.
- the step of cropping the combined board image to obtain the single board image may be completed before step 502 is performed.
- auxiliary lines are marked on the composite board included in the composite board calibration device, and each calibration board is divided into different areas based on the auxiliary lines. 4 regions.
- an implementation manner of cropping the composite board image to obtain the veneer image is: extracting auxiliary lines in the composite board image, and cropping the composite board image according to the extracted auxiliary lines to obtain the veneer image. It should be noted that the embodiments of the present application take this implementation manner as an example to describe the cropping of the combined board image, but this implementation manner does not limit the embodiments of the present application.
- the process of calibrating and unifying the imaging specifications of the visible light camera and the thermal infrared camera is understood as the process of unifying the camera models.
- the camera model can be understood as the camera's resolution, focal length and other structures.
- Step 502 Extract calibration points from the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images.
- calibration points are extracted for the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images.
- the calibration device provided in the embodiment of the present application does not constitute a limitation on the stereo calibration method of the binocular camera provided by the embodiment of the present application.
- other calibration devices may also be used. as the subject of the binocular camera.
- there will be relatively obvious calibration points on the calibration device and there is a relatively obvious gap between the pixel value (gray value) of the calibration point in the image of the calibration plate and the pixel value around the calibration point. Based on this, the embodiment of the present application provides a The method of calibration point extraction will be introduced next.
- an implementation manner of performing calibration point extraction on the multiple pairs of first images to obtain the pixel coordinates of the calibration points extracted from the multiple pairs of first images is: based on the binarization processing method, Extracting the contour in each of the first images of the plurality of pairs of first images, for any first image in the plurality of pairs of first images, according to the pixel coordinates of the contour in the any first image, determine the any one of the first images.
- the contour to be extracted refers to the contour of the target object in the first image, and the calibration point to be extracted represents the target object in the image.
- the image is binarized based on a binarization threshold, and the contour of the image is extracted.
- the hole is used as the target object, and the The center is the calibration point to be extracted, and the extracted contour is the contour of the hole on the calibration plate in the image.
- the center pixel coordinates of the contour are calculated based on the pixel coordinates of a plurality of pixel points composing the contour, and the pixel coordinates of the calibration point corresponding to the contour are obtained, That is, the pixel coordinates of a calibration point extracted from the image are obtained.
- the contours in the first image can be extracted based on multiple binarization thresholds.
- more than one contour can be extracted based on multiple binarization thresholds, and the centers of these contours are consistent , these contours are formed into a contour family, and the pixel coordinates of a calibration point corresponding to the contour family can be obtained by calculating the center pixel coordinates of the contour family.
- the initial value and termination value of the binarization threshold are set, and the grayscale step is set.
- the binarization threshold is updated from the initial value to the termination value based on the grayscale step, that is, step by step. Walk through the image long, binarize the image, and extract the contours. After extracting the contour in the image, for any contour, obtain the contour whose distance between the center of other contours in the image and the center of the contour is within the distance threshold, and form a contour family with the contour, that is, the combined distance Contours within the distance threshold form a family of contours.
- the distance threshold can be 5 pixels
- the grayscale step can be 10
- the initial value and termination value of the binarization threshold can be 100 and 200, respectively.
- the distance threshold, grayscale step size, initial value and termination value of the binarization threshold can also be set to other values.
- the calibration points to be extracted in each of the multiple pairs of first images are evenly distributed at equal intervals, then ideally, the contour or contour family in any first image is also It should be evenly spaced.
- the contours or contour families in the image can also be screened, the contours or contour families with obvious deviations can be eliminated, and the remaining contours or contour families can be extracted based on the remaining contours or contour families.
- the pixel coordinates of the calibration point we will introduce this by taking the filtering of contour families in the image as an example.
- an implementation manner of determining the pixel coordinates of the calibration point extracted from the any first image is: In the image, a plurality of contours whose distance is within the distance threshold and whose number is not less than the contour threshold are formed into contour families, and multiple contour families in any first image are obtained. For any contour family in the any first image, from a plurality of contour families in the any first image, obtain the target contour family with the closest distance to the any contour family, and calculate the relationship between the any contour family and the contour family.
- the pixel abscissa difference and the pixel ordinate difference between the target contour families are obtained, and the pixel abscissa difference and the pixel ordinate difference corresponding to any contour family are obtained.
- the center pixel coordinate of the contour family is determined as the pixel coordinate of the extracted calibration point.
- the difference between the pixel abscissa and the pixel ordinate is not less than zero, that is, the absolute value of the difference between the pixel coordinates is calculated.
- the binarization threshold is updated based on the gray step size th step , the contours in the image are extracted, and the contours in the image that are within the distance threshold are formed into candidate contour families, and also That is, the contours whose distance is within the distance threshold th dist are merged to form a candidate contour family.
- Traverse the candidate contour families in the image remove the candidate contour families whose number of contours in the family is less than the contour threshold th num , and determine the remaining candidate contour families as the contour families in the image.
- the contour family Traverse the contour family in the image, for any contour family (for the convenience of description, the contour family will be referred to as the first contour family in the following), find the closest contour family to the first contour family from other contour families in the image. For the target contour family, calculate the pixel abscissa difference and pixel ordinate difference corresponding to the centers of the two contour families, and obtain the pixel abscissa difference ⁇ u and pixel ordinate difference ⁇ v, ⁇ u and ⁇ v corresponding to the first contour family. is an absolute value.
- the calibration points are evenly distributed at equal intervals, if the contour family is accurate, the sum of the pixel abscissa difference and the pixel ordinate difference corresponding to each contour family is always close regardless of the orientation of the calibration board. That is, ⁇ u i + ⁇ v i and ⁇ u j + ⁇ v j are always close, where i and j respectively represent any two contour families in an image. Based on this, the sum of the pixel abscissa difference ⁇ u and the pixel ordinate difference ⁇ v corresponding to each contour family in the image is calculated, and the calibration interval ⁇ u+ ⁇ v corresponding to the corresponding contour family is obtained.
- the contour family whose difference between the corresponding calibration spacing and the reference spacing exceeds the spacing threshold in the image is eliminated, that is, the contour family whose corresponding calibration spacing is obviously deviated is eliminated.
- the center of each remaining contour family is a finally extracted calibration point, and the center pixel coordinate of each remaining contour family is the pixel coordinate of a finally extracted calibration point.
- the contour family in the image is traversed, and each time it is judged whether a contour family needs to be eliminated.
- the reference distance is an average value of the calibration distances corresponding to the contour family in the image.
- the reference distance is the average value of the calibration distances of other contour families in the image except the second contour family, which is the contour family that needs to be judged whether to be eliminated this time.
- the reference distance is the average value of the calibration distances of the remaining contour families in the image that have not yet been judged to be culled.
- the reference distance is the average value of the calibration distances of the remaining contour families in the image except the second contour family that has not yet been judged whether to be eliminated.
- the second contour family is the contour family that needs to be judged to be eliminated this time.
- Step 503 Calibrate external parameters of the binocular camera according to the pixel coordinates of the calibration points extracted from the pairs of first images, where the external parameters include a translation matrix and a rotation matrix between the visible light camera and the thermal infrared camera.
- the pixel coordinates of the calibration points in each of the multiple pairs of first images are obtained.
- the external parameters of the binocular camera are calibrated according to the pixel coordinates of the calibration points extracted from the pairs of first images.
- the internal parameters of the binocular camera can also be calibrated according to the pixel coordinates of the calibration points extracted from the pairs of first images, that is, the internal parameters of the visible light camera and the thermal infrared camera.
- the respective internal parameters of the two cameras are calibrated, which is not limited in this embodiment of the present application.
- the world coordinates of the calibration points and the positional relationship between the calibration points are known.
- the calibration points are evenly distributed at equal intervals.
- the calibration points extracted from each first image can be determined.
- the mapping relationship between pixel coordinates and world coordinates After that, according to the mapping relationship between the extracted pixel coordinates of the calibration point and the world coordinates, the internal and external parameters of the binocular camera are solved.
- the set of pixel coordinates of all the calibration points extracted from a first image is ⁇ (u i ,v i ) ⁇ , where i takes different values to represent all the calibration points.
- the world coordinate of the upper left calibration point on a calibration board is (0, 0, 0)
- the world coordinates of other calibration points on the calibration board can also be determined.
- the mapping relationship between the pixel coordinates of each calibration point in the corresponding first image and the world coordinates can be obtained According to these data, the internal and external parameters of the binocular camera can be solved.
- Zhang's calibration method is used for solving the internal reference.
- the LM (Levenberg-Marquardt) method is used to optimize the results, and accurate internal parameters are obtained for both the visible light camera and the thermal infrared camera.
- the respective translation matrices and rotation matrices of the two cameras are obtained.
- the translation matrix and rotation matrix of the visible light camera are denoted as R i l and T i l respectively
- the translation matrix and rotation matrix of the thermal infrared camera are denoted as R i r and T i r respectively, where the Different values of i represent different first image pairs.
- other methods may also be used to solve the internal reference.
- the subscripts l and r represent the relevant data of the visible light camera and the thermal infrared camera, respectively.
- Step 504 Reduce the translation component along the optical axis in the translation matrix included in the external parameter to obtain an adjusted translation matrix, and calibrate the visible light camera and the thermal infrared camera according to the rotation matrix and the adjusted translation matrix. amount of rotation.
- the respective rotation amounts of the two cameras need to be calculated.
- the respective rotation amounts of the two cameras are solved based on the Bouguet algorithm.
- the principle of the standard Bouguet algorithm is introduced.
- the correction matrix of the visible light camera is the correction of the rotation matrix of the visible light camera obtained simultaneously in the internal parameter calculation in step 503, and the rotation amount of the visible light camera is obtained after the correction.
- the correction matrix of the thermal infrared camera is the correction of the rotation matrix of the thermal infrared camera obtained simultaneously in the internal parameter calculation in step 503, and the rotation amount of the thermal infrared camera is obtained after the correction.
- R l ' and R r ' are the rotation amount of the visible light camera and the rotation amount of the thermal infrared camera obtained by calibration, respectively.
- the respective projection matrices of the two cameras can be solved.
- the projection matrix P l R l ' ⁇ M l of the visible light camera
- the projection matrix P r R r ' ⁇ M r of the thermal infrared camera, where M l is the internal parameter of the visible light camera, and Mr is the thermal infrared camera.
- M l is the internal parameter of the visible light camera
- Mr is the thermal infrared camera.
- the standard Bouguet algorithm is introduced above.
- the standard Bouguet algorithm can realize the state of epipolar alignment of the images of the binocular camera, and retain the maximum common area of the views of the two cameras.
- the physical structures of the two cameras are very different, and the translation component T z along the optical axis in the translation matrices T of the two cameras may be very large.
- an embodiment of the present application proposes a stereo correction method that retains the optical center offset, which will be introduced next.
- the translation component along the optical axis direction in the translation matrix included in the extrinsic parameters is reduced to obtain an adjusted translation matrix.
- the rotation matrix and the adjusted translation matrix included in the parameters are used to determine the respective rotation amounts of the visible light camera and the thermal infrared camera.
- a method of reducing the translation component representing the direction of the optical axis in the translation matrix included in the external parameter is: the translation component representing the direction along the optical axis in the translation matrix included by the external parameter is set to zero.
- the reduction process may refer to reduction to a value smaller than the original value and not smaller than zero.
- the translation component T z in T is set to zero, and then the rotation adjustment matrix R rect is calculated, and then R l ' and R r ' are obtained by calculation.
- the offset along the optical axis direction is not processed during the stereo correction process, and the corrected image can retain a larger area.
- the binocular camera when the binocular camera is applied to calculate the image depth, it is based on the parallax distance formula, and the premise of the parallax distance formula introduced in the aforementioned formula (1) is that the stereo correction is based on translation.
- the component T z processes the offset along the optical axis direction, and if the offset along the optical axis direction is not processed during the stereo calibration process, that is, if T z is set to zero during the stereo calibration, it needs to be re- Determine the parallax distance formula, that is, re-determine the mapping relationship between the parallax and the distance of the object to be photographed.
- the binocular camera after calibrating the internal parameters and external parameters of the binocular camera, according to the translation matrix included in the calibrated external parameters, determine the binocular camera.
- the process of re-deriving the disparity distance formula will be introduced.
- the coordinates of the measured point A in the camera coordinate system of a camera are (X, Y, Z), where Z is the distance from the measured point A to the camera. Distance depth.
- the abscissa formula of the pixel imaged by the measured point A in the camera is:
- the formula for pixel ordinate is where f is the focal length of the camera.
- the pixel ordinates of the imaging points of the measured point A in the two cameras are the same, and only the abscissa is different. Assume that the measured point A is in the visible light camera. and the pixel abscissas in the thermal infrared camera are u l and ur , respectively.
- the focal length f of the two cameras is the same, and the optical center is also the same. Let the coordinates of the optical center be (u 0 , v 0 ). Then set the calibrated translation matrices of the two cameras as (T x , T y , T z ) T , and the direction is from the left camera (visible light camera) to the right camera (thermal infrared camera).
- the calculation formulas of u l and ur r are: Subtract the two formulas to get the parallax so
- FIG. 6 is a flowchart of another stereo calibration method for a binocular camera provided by an embodiment of the present application.
- a calibration image (such as multiple pairs of initial images in the foregoing embodiment) is input, and the imaging specifications of the calibration image are unified. Processing, that is, to unify the camera model.
- the calibration image is a composite board image, the calibration image needs to be cropped to obtain a single board image.
- the calibration point is extracted from the single-board image, and the pixel coordinates of the extracted calibration point are obtained, and the internal and external parameters of the binocular camera are calculated according to the extracted pixel coordinates of the calibration point.
- stereo correction is performed to preserve the optical center offset, and the respective rotation amounts of the two cameras are determined. In this way, the two calibrated cameras can be used for stereo correction of the image, that is, a corrected image can be obtained.
- stereo-calibrated binocular cameras are used to capture images, and the stereo-calibrated binocular cameras can be used in scenes where image depth needs to be calculated, such as for distance measurement, temperature measurement and other scenes of shooting objects The accuracy of distance measurement and temperature measurement can be very high.
- the embodiments of the present application provide a stereo calibration method for a binocular camera.
- the imaging specifications of the visible light camera and the thermal infrared camera are unified, so that the subsequent stereo calibration is performed on the premise that the imaging specifications of the two cameras are unified.
- the stereo calibration can be accurate and effective.
- the stereo calibration device 700 for a binocular camera can be implemented as part or all of a computer device by software, hardware, or a combination of the two.
- the apparatus 700 includes: a specification unification module 701 , a calibration point extraction module 702 , an external parameter calibration module 703 and a stereo correction module 704 .
- a specification unification module 701 configured to process multiple pairs of initial images to obtain multiple pairs of first images with unified imaging specifications, where each pair of initial images in the multiple pairs of initial images includes a visible light image and a thermal infrared image of the same object;
- a calibration point extraction module 702 configured to perform calibration point extraction on the multiple pairs of first images to obtain pixel coordinates of the calibration points extracted from the multiple pairs of first images;
- the external parameter calibration module 703 is used to calibrate the external parameters of the binocular camera according to the pixel coordinates of the calibration points extracted from the multiple pairs of first images, and the external parameters include the translation matrix between the visible light camera and the thermal infrared camera and rotation matrix;
- the stereo correction module 704 is used for reducing the translation component representing the direction of the optical axis in the translation matrix included in the external parameter to obtain an adjusted translation matrix, and calibrate the visible light camera according to the rotation matrix and the adjusted translation matrix and the respective rotation amount of the thermal infrared camera.
- the calibration point extraction module 702 includes:
- an outline extraction unit used for extracting outlines in each of the first images in the plurality of pairs of first images based on a binarization process
- the calibration point determination unit is used for, for any first image in the plurality of pairs of first images, according to the pixel coordinates of the contour in the any first image, to determine the calibration point extracted from the any first image. pixel coordinates.
- the calibration points to be extracted in each of the multiple pairs of first images are evenly distributed at equal intervals;
- the calibration point determination unit includes:
- the first processing subunit is used to form a contour family with a plurality of contours in any first image that are within a distance threshold and whose number is not less than the contour threshold, and obtain a plurality of contours in any first image. contour family;
- the second processing subunit is configured to, for any contour family in the any first image, obtain the target contour family with the closest distance to the any contour family from a plurality of contour families in the any first image , calculate the pixel abscissa difference and the pixel ordinate difference between the center of any contour family and the center of the target contour family, and obtain the pixel abscissa difference and pixel ordinate difference corresponding to any contour family , the difference between the abscissa of the pixel and the ordinate of the pixel is not less than zero;
- the third processing subunit is used to calculate the sum of the pixel abscissa difference and the pixel ordinate difference corresponding to each contour family in the any first image, and obtain the calibration corresponding to the corresponding contour family in the any first image spacing;
- the fourth processing subunit is used to eliminate the contour family whose gap between the corresponding calibration spacing and the reference spacing in any first image exceeds the spacing threshold, and determine the center of each remaining contour family as the extracted one. For the calibration point, the center pixel coordinate of each remaining contour family is determined as the pixel coordinate of an extracted calibration point.
- the resolutions of the visible light image and the thermal infrared image included in each pair of first images in the plurality of pairs of first images are unified;
- Specification unification modules include:
- a scaling unit configured to upsample the thermal infrared images in the multiple pairs of initial images according to the upsampling multiples corresponding to the thermal infrared cameras, to obtain thermal infrared images in the multiple pairs of first images
- the cropping unit is configured to crop the visible light images in the multiple pairs of initial images according to the cropping regions corresponding to the visible light cameras, to obtain the visible light images in the multiple pairs of first images.
- the apparatus 700 further includes:
- the scaling parameter determination module is used to determine the corresponding upsampling multiple of the thermal infrared camera according to the pixel size relationship of the same heat source in one or more pairs of second images, and each pair of the first image in the one or more pairs of second images
- the second image includes visible light image and thermal infrared image of the same heat source
- a cropping area determination module configured to determine the visible light camera according to the original resolution of the thermal infrared camera, the upsampling multiple, and the difference relationship between the pixel coordinates corresponding to the same heat source in one or more pairs of third images Corresponding cropped regions, each of the one or more pairs of third images includes a visible light image and a thermal infrared image of the same heat source.
- the scaling parameter determination module includes:
- a ratio calculation unit configured to calculate the ratio between the pixel lengths of the same heat source in each pair of the second images in the one or more pairs of second images, and/or, calculate the same heat source in the one or more pairs of first images.
- a parameter determination unit configured to determine an upsampling multiple corresponding to the thermal infrared camera according to the at least one scaling ratio value.
- the cropping region determination module includes:
- the coordinate difference calculation unit is configured to, for any one of the one or more pairs of third images, respectively calculate the difference between the pixel abscissas of the same heat source in the any pair of third images and the difference between the ordinates of the pixels, to obtain the abscissa difference and ordinate difference corresponding to any pair of third images;
- an offset determination unit configured to obtain the abscissa offset between the visible light camera and the thermal infrared camera according to the abscissa difference value corresponding to the one or more pairs of third images, according to the one or more pairs of third images
- the ordinate difference value corresponding to the image is obtained to obtain the ordinate offset between the visible light camera and the thermal infrared camera
- a resolution determination unit configured to determine the unified horizontal resolution according to the original horizontal resolution of the thermal infrared camera and the upsampling multiple, and determine the unified horizontal resolution according to the original vertical resolution of the thermal infrared camera and the upsampling multiple vertical resolution after
- a cropping area determination unit configured to determine the corresponding visible light camera according to the abscissa offset and ordinate offset between the visible light camera and the thermal infrared camera, as well as the unified horizontal resolution and the unified vertical resolution the clipping area.
- the embodiment of the present application provides a stereo calibration method for a binocular camera.
- the imaging specifications of the visible light camera and the thermal infrared camera are calibrated and unified, so that the subsequent imaging specifications of the two cameras are unified.
- Stereo calibration stereo calibration can be accurate and effective.
- the physical structure of the visible light camera and the thermal infrared camera are quite different, so the translation component along the optical axis direction is reduced, and on this basis, the respective rotation amounts of the two cameras are determined. .
- the accuracy of the stereo calibration is higher.
- the stereo calibration device of the binocular camera provided by the above embodiment performs stereo calibration on the binocular camera
- only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be used as required.
- the allocation is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
- the stereo calibration device for a binocular camera provided by the above embodiment and the stereo calibration method for a binocular camera belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
- FIG. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- the computer device is used to perform stereo calibration on the binocular camera, that is, the computer device is used to implement the stereo calibration method of the binocular camera in the foregoing embodiment. Specifically:
- Computer device 800 includes a central processing unit (CPU) 801, system memory 804 including random access memory (RAM) 802 and read only memory (ROM) 803, and a system bus 805 connecting system memory 804 and central processing unit 801.
- Computer device 800 also includes a basic input/output system (I/O system) 806 that facilitates the transfer of information between various devices within the computer, and a mass storage device for storing operating system 813, application programs 814, and other program modules 815 807.
- CPU central processing unit
- system memory 804 including random access memory (RAM) 802 and read only memory (ROM) 803
- system bus 805 connecting system memory 804 and central processing unit 801.
- Computer device 800 also includes a basic input/output system (I/O system) 806 that facilitates the transfer of information between various devices within the computer, and a mass storage device for storing operating system 813, application programs 814, and other program modules 815 807.
- I/O system basic input/output system
- Basic input/output system 806 includes a display 808 for displaying information and input devices 809 such as a mouse, keyboard, etc., for user input of information. Both the display 808 and the input device 809 are connected to the central processing unit 801 through the input and output controller 810 connected to the system bus 805 .
- the basic input/output system 806 may also include an input output controller 810 for receiving and processing input from various other devices such as a keyboard, mouse, or electronic stylus. Similarly, input output controller 810 also provides output to a display screen, printer, or other type of output device.
- Mass storage device 807 is connected to central processing unit 801 through a mass storage controller (not shown) connected to system bus 805 .
- Mass storage device 807 and its associated computer-readable media provide non-volatile storage for computer device 800 . That is, mass storage device 807 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM drive.
- Computer-readable media can include computer storage media and communication media.
- Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
- Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid state storage technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices.
- RAM random access memory
- ROM read only memory
- EPROM Erasable programmable read-only memory
- EEPROM electrically erasable programmable read-only memory
- the computer device 800 may also operate through a network connection to a remote computer on a network, such as the Internet. That is, computer device 800 may be connected to network 812 through network interface unit 811 connected to system bus 805, or may use network interface unit 811 to connect to other types of networks or remote computer systems (not shown).
- the above-mentioned memory also includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU.
- the one or more programs include instructions for performing the stereo calibration method for the binocular camera provided by the embodiments of the present application.
- a computer-readable storage medium is also provided, and a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the stereo calibration method for a binocular camera in the above-mentioned embodiments are implemented.
- the computer-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
- the computer-readable storage medium mentioned in the embodiments of the present application may be a non-volatile storage medium, in other words, may be a non-transitory storage medium.
- a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the steps of the above-described stereo calibration method for a binocular camera.
- references herein to "at least one” refers to one or more, and “plurality” refers to two or more.
- “/” means or means, for example, A/B can mean A or B;
- "and/or” in this document is only an association that describes an associated object Relation, it means that there can be three kinds of relations, for example, A and/or B can mean that A exists alone, A and B exist at the same time, and B exists alone.
- words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that the words “first”, “second” and the like do not limit the quantity and execution order, and the words “first”, “second” and the like are not necessarily different.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Radiation Pyrometers (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
Claims (14)
- 一种双目相机的立体标定方法,其特征在于,所述双目相机包括可见光相机和热红外相机,所述方法包括:对多对初始图像进行处理,得到成像规格统一的多对第一图像,所述多对初始图像中的每对初始图像包括同一物体的可见光图像和热红外图像;对所述多对第一图像进行标定点提取,得到所述多对第一图像中提取出的标定点的像素坐标;根据所述多对第一图像中提取出的标定点的像素坐标,标定所述双目相机的外参,所述外参包括所述可见光相机和所述热红外相机之间的平移矩阵和旋转矩阵;将所述外参包括的平移矩阵中表示沿光轴方向的平移分量作减小处理,得到调整后的平移矩阵,根据所述旋转矩阵和所述调整后的平移矩阵,标定所述可见光相机和所述热红外相机各自的旋转量。
- 根据权利要求1所述的方法,其特征在于,所述对所述多对第一图像进行标定点提取,得到所述多对第一图像中提取出的标定点的像素坐标,包括:基于二值化处理的方式,提取所述多对第一图像中每个第一图像中的轮廓;对于所述多对第一图像中的任一第一图像,根据所述任一第一图像中的轮廓的像素坐标,确定所述任一第一图像中提取出的标定点的像素坐标。
- 根据权利要求2所述的方法,其特征在于,所述多对第一图像中的每个第一图像中待提取的标定点是等间距均匀分布的;所述根据所述任一第一图像中的轮廓的像素坐标,确定所述任一第一图像中提取出的标定点的像素坐标,包括:将所述任一第一图像中相距在距离阈值之内,且数量不少于轮廓阈值的多个轮廓,组成轮廓族,得到所述任一第一图像中的多个轮廓族;对于所述任一第一图像中的任一轮廓族,从所述任一第一图像中的多个轮廓族中,获取与所述任一轮廓族距离最近的目标轮廓族,计算所述任一轮廓族的中心与所述目标轮廓族的中心之间的像素横坐标差值和像素纵坐标差值,得到所述任一轮廓族对应的像素横坐标差值和像素纵坐标差值,所述像素横坐标 差值和所述像素纵坐标差值不小于零;计算所述任一第一图像中每个轮廓族对应的像素横坐标差值和像素纵坐标差值的和,得到所述任一第一图像中相应轮廓族对应的标定间距;将所述任一第一图像中对应的标定间距与参考间距之间的差距超过间距阈值的轮廓族剔除,将剩余的每个轮廓族的中心确定为提取出的一个标定点,将剩余的每个轮廓族的中心像素坐标确定为提取出的一个标定点的像素坐标。
- 根据权利要求1-3任一所述的方法,其特征在于,所述多对第一图像中的每对第一图像包括的可见光图像和热红外图像的分辨率统一;所述对多对初始图像进行处理,得到成像规格统一的多对第一图像,包括:根据所述热红外相机对应的上采样倍数,对所述多对初始图像中的热红外图像进行上采样,得到所述多对第一图像中的热红外图像;根据所述可见光相机对应的裁剪区域,对所述多对初始图像中的可见光图像进行裁剪,得到所述多对第一图像中的可见光图像。
- 根据权利要求4所述的方法,其特征在于,所述对多对初始图像进行处理,得到成像规格统一的多对第一图像之前,还包括:根据同一热源在一对或多对第二图像中的像素尺寸关系,确定所述热红外相机对应的上采样倍数,所述一对或多对第二图像中的每对第二图像包括同一热源的可见光图像和热红外图像;根据所述热红外相机的原分辨率和所述上采样倍数,以及同一热源在一对或多对第三图像中对应的像素坐标之间的差值关系,确定所述可见光相机对应的裁剪区域,所述一对或多对第三图像中的每对第三图像包括同一热源的可见光图像和热红外图像。
- 根据权利要求5所述的方法,其特征在于,所述根据同一热源在一对或多对第二图像中的像素尺寸关系,确定所述热红外相机对应的上采样倍数,包括:计算同一热源在所述一对或多对第二图像中的每对第二图像中的像素长度之间的比值,和/或,计算同一热源在所述一对或多对第二图像中的每对第二图像中的像素面积之间的比值,得到至少一个缩放比值;根据所述至少一个缩放比值,确定所述热红外相机对应的上采样倍数。
- 根据权利要求5所述的方法,其特征在于,所述根据所述热红外相机的分辨率和所述上采样倍数,以及同一热源在一对或多对第三图像中对应的像素坐标之间的差值关系,确定所述可见光相机对应的裁剪区域,包括:对于所述一对或多对第三图像中的任一对第三图像,分别计算同一热源在所述任一对第三图像中的像素横坐标之间的差值和像素纵坐标之间的差值,得到所述任一对第三图像对应的横坐标差值和纵坐标差值;根据所述一对或多对第三图像对应的横坐标差值,得到所述可见光相机和所述热红外相机之间的横坐标偏置,根据所述一对或多对第三图像对应的纵坐标差值,得到所述可见光相机与所述热红外相机之间的纵坐标偏置;根据所述热红外相机的原水平分辨率和所述上采样倍数,确定统一后的水平分辨率,根据所述热红外相机的原竖直分辨率和所述上采样倍数,确定统一后的竖直分辨率;根据所述可见光相机与所述热红外相机之间的横坐标偏置和纵坐标偏置,以及所述统一后的水平分辨率和所述统一后的竖直分辨率,确定所述可见光相机对应的裁剪区域。
- 一种双目相机的立体标定装置,其特征在于,所述双目相机包括可见光相机和热红外相机,所述装置包括:规格统一模块,用于对多对初始图像进行处理,得到成像规格统一的多对第一图像,所述多对初始图像中的每对初始图像包括同一物体的可见光图像和热红外图像;标定点提取模块,用于对所述多对第一图像进行标定点提取,得到所述多对第一图像中提取出的标定点的像素坐标;外参标定模块,用于根据所述多对第一图像中提取出的标定点的像素坐标,标定所述双目相机的外参,所述外参包括所述可见光相机和所述热红外相机之间的平移矩阵和旋转矩阵;立体校正模块,用于将所述外参包括的平移矩阵中表示沿光轴方向的平移分量作减小处理,得到调整后的平移矩阵,根据所述旋转矩阵和调整后的平移 矩阵,标定所述可见光相机和所述热红外相机各自的旋转量。
- 一种标定装置,其特征在于,所述标定装置用于实现权利要求1-7任一所述的双目相机的立体标定方法中图像的采集;所述标定装置包括标定板和补光补热装置;所述标定板为金属板,所述标定板上等间距均匀分布有孔洞,所述孔洞的孔壁具有倾斜角度;所述补光补热装置包括补光装置、反射板和补热装置,所述补光装置固定在所述标定板的背面,所述反射板固定在与所述标定板的背面相距一个散热距离的位置,所述补热装置固定在所述反射板的背面;所述补光装置用于向所述反射板发出光线,所述补热装置用于发出热量,所述反射板的反射面为漫反射面,所述反射板用于通过所述漫反射面向所述标定板反射所述光线,以及向所述标定板传递热量。
- 根据权利要求9所述的标定装置,其特征在于,所述标定装置为单板标定装置,所述单板标定装置包括一个标定板和一套补光补热装置;或者,所述标定装置为第一组合板标定装置,所述第一组合板标定装置包括多个标定板和多套补光补热装置,所述多个标定板和所述多套补光补热装置一一对应,所述多个标定板的位姿不同;或者,所述标定装置为第二组合板标定装置,所述第二组合板标定装置包括所述多个标定板和一套补光补热装置,所述多个标定板的位姿不同。
- 一种双目相机系统,其特征在于,所述双目相机系统包括双目相机和处理器;所述双目相机包括可见光相机和热红外相机,所述可见光相机和所述热红外相机拍摄同一物体得到的可见光图像和热红外图像作为一对初始图像;所述处理器,用于对多对初始图像进行处理,得到成像规格统一的多对第一图像;所述处理器,还用于对所述多对第一图像进行标定点提取,得到所述多对第一图像中提取出的标定点的像素坐标;所述处理器,还用于根据所述多对第一图像中提取出的标定点的像素坐标,标定所述双目相机的外参,所述外参包括所述可见光相机和所述热红外相机之间的平移矩阵和旋转矩阵;所述处理器,还用于将所述外参包括的平移矩阵中表示沿光轴方向的平移分量作减小处理,得到调整后的平移矩阵,根据所述旋转矩阵和所述调整后的平移矩阵,标定所述可见光相机和所述热红外相机各自的旋转量。
- 一种双目相机,其特征在于,所述双目相机包括可见光相机和热红外相机,所述可见光相机和所述热红外相机根据权利要求1-7任一所述的方法进行立体标定。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7任一所述的方法的步骤。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包含计算机指令,所述计算机指令在计算机上运行时实现权利要求1-7任一所述的方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011510044.0 | 2020-12-18 | ||
CN202011510044.0A CN112634374B (zh) | 2020-12-18 | 2020-12-18 | 双目相机的立体标定方法、装置、系统及双目相机 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022127918A1 true WO2022127918A1 (zh) | 2022-06-23 |
Family
ID=75317965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/139325 WO2022127918A1 (zh) | 2020-12-18 | 2021-12-17 | 双目相机的立体标定方法、装置、系统及双目相机 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112634374B (zh) |
WO (1) | WO2022127918A1 (zh) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116091475A (zh) * | 2023-02-17 | 2023-05-09 | 七海行(深圳)科技有限公司 | 一种喷洒效果的确认方法及装置 |
CN116091488A (zh) * | 2023-03-07 | 2023-05-09 | 西安航天动力研究所 | 一种发动机摇摆试验的位移测试方法及位移测试系统 |
CN117061719A (zh) * | 2023-08-11 | 2023-11-14 | 元橡科技(北京)有限公司 | 一种车载双目相机视差校正方法 |
WO2024087982A1 (zh) * | 2022-10-28 | 2024-05-02 | 华为技术有限公司 | 一种图像处理方法及电子设备 |
WO2024146026A1 (zh) * | 2023-01-03 | 2024-07-11 | 宁德时代新能源科技股份有限公司 | 相机像素标定装置、卷绕设备 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112634374B (zh) * | 2020-12-18 | 2023-07-14 | 杭州海康威视数字技术股份有限公司 | 双目相机的立体标定方法、装置、系统及双目相机 |
CN113240749B (zh) * | 2021-05-10 | 2024-03-29 | 南京航空航天大学 | 一种面向海上舰船平台无人机回收的远距离双目标定与测距方法 |
CN113470116B (zh) * | 2021-06-16 | 2023-09-01 | 杭州海康威视数字技术股份有限公司 | 对摄像装置标定数据的验证方法、装置、设备及存储介质 |
CN113393383B (zh) * | 2021-08-17 | 2021-11-16 | 常州市新创智能科技有限公司 | 一种双深度相机拍照图像的拼接方法 |
CN113763573B (zh) * | 2021-09-17 | 2023-07-11 | 北京京航计算通讯研究所 | 一种三维物体数字化标注方法及装置 |
CN113808220A (zh) * | 2021-09-24 | 2021-12-17 | 上海闻泰电子科技有限公司 | 双目摄像机的标定方法、系统、电子设备和存储介质 |
CN116503492B (zh) * | 2023-06-27 | 2024-06-14 | 北京鉴智机器人科技有限公司 | 自动驾驶系统中双目相机模组标定方法及标定装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104374547A (zh) * | 2014-11-17 | 2015-02-25 | 国家电网公司 | 可见光相机与红外热像仪相机参数联合标定的方法及装置 |
WO2018086348A1 (zh) * | 2016-11-09 | 2018-05-17 | 人加智能机器人技术(北京)有限公司 | 双目立体视觉系统及深度测量方法 |
CN110969669A (zh) * | 2019-11-22 | 2020-04-07 | 大连理工大学 | 基于互信息配准的可见光与红外相机联合标定方法 |
CN110969670A (zh) * | 2019-11-22 | 2020-04-07 | 大连理工大学 | 基于显著特征的多光谱相机动态立体标定算法 |
CN112634374A (zh) * | 2020-12-18 | 2021-04-09 | 杭州海康威视数字技术股份有限公司 | 双目相机的立体标定方法、装置、系统及双目相机 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101806045B1 (ko) * | 2016-10-17 | 2017-12-07 | 한국기초과학지원연구원 | 적외선 및 가시광 카메라의 실시간 이미지 합성 장치 및 그 제어 방법 |
-
2020
- 2020-12-18 CN CN202011510044.0A patent/CN112634374B/zh active Active
-
2021
- 2021-12-17 WO PCT/CN2021/139325 patent/WO2022127918A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104374547A (zh) * | 2014-11-17 | 2015-02-25 | 国家电网公司 | 可见光相机与红外热像仪相机参数联合标定的方法及装置 |
WO2018086348A1 (zh) * | 2016-11-09 | 2018-05-17 | 人加智能机器人技术(北京)有限公司 | 双目立体视觉系统及深度测量方法 |
CN110969669A (zh) * | 2019-11-22 | 2020-04-07 | 大连理工大学 | 基于互信息配准的可见光与红外相机联合标定方法 |
CN110969670A (zh) * | 2019-11-22 | 2020-04-07 | 大连理工大学 | 基于显著特征的多光谱相机动态立体标定算法 |
CN112634374A (zh) * | 2020-12-18 | 2021-04-09 | 杭州海康威视数字技术股份有限公司 | 双目相机的立体标定方法、装置、系统及双目相机 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024087982A1 (zh) * | 2022-10-28 | 2024-05-02 | 华为技术有限公司 | 一种图像处理方法及电子设备 |
WO2024146026A1 (zh) * | 2023-01-03 | 2024-07-11 | 宁德时代新能源科技股份有限公司 | 相机像素标定装置、卷绕设备 |
CN116091475A (zh) * | 2023-02-17 | 2023-05-09 | 七海行(深圳)科技有限公司 | 一种喷洒效果的确认方法及装置 |
CN116091488A (zh) * | 2023-03-07 | 2023-05-09 | 西安航天动力研究所 | 一种发动机摇摆试验的位移测试方法及位移测试系统 |
CN116091488B (zh) * | 2023-03-07 | 2023-07-14 | 西安航天动力研究所 | 一种发动机摇摆试验的位移测试方法及位移测试系统 |
CN117061719A (zh) * | 2023-08-11 | 2023-11-14 | 元橡科技(北京)有限公司 | 一种车载双目相机视差校正方法 |
CN117061719B (zh) * | 2023-08-11 | 2024-03-08 | 元橡科技(北京)有限公司 | 一种车载双目相机视差校正方法 |
Also Published As
Publication number | Publication date |
---|---|
CN112634374B (zh) | 2023-07-14 |
CN112634374A (zh) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022127918A1 (zh) | 双目相机的立体标定方法、装置、系统及双目相机 | |
US10609282B2 (en) | Wide-area image acquiring method and apparatus | |
WO2023045147A1 (zh) | 双目摄像机的标定方法、系统、电子设备和存储介质 | |
CN110809786B (zh) | 校准装置、校准图表、图表图案生成装置和校准方法 | |
WO2019100933A1 (zh) | 用于三维测量的方法、装置以及系统 | |
US8867827B2 (en) | Systems and methods for 2D image and spatial data capture for 3D stereo imaging | |
CN101630406B (zh) | 摄像机的标定方法及摄像机标定装置 | |
US8447099B2 (en) | Forming 3D models using two images | |
US11282232B2 (en) | Camera calibration using depth data | |
WO2021139176A1 (zh) | 基于双目摄像机标定的行人轨迹跟踪方法、装置、计算机设备及存储介质 | |
WO2017076106A1 (zh) | 图像的拼接方法和装置 | |
CN112150528A (zh) | 一种深度图像获取方法及终端、计算机可读存储介质 | |
KR101903619B1 (ko) | 구조화된 스테레오 | |
WO2010028559A1 (zh) | 图像拼接方法及装置 | |
WO2020119467A1 (zh) | 高精度稠密深度图像的生成方法和装置 | |
CN109656033B (zh) | 一种区分液晶显示屏灰尘和缺陷的方法及装置 | |
CN111862224A (zh) | 确定相机与激光雷达之间外参的方法和装置 | |
WO2022142139A1 (zh) | 投影面选取和投影图像校正方法、装置、投影仪及介质 | |
WO2022100668A1 (zh) | 温度测量方法、装置、系统、存储介质及程序产品 | |
WO2022218161A1 (zh) | 用于目标匹配的方法、装置、设备及存储介质 | |
KR20240089161A (ko) | 촬영 측정 방법, 장치, 기기 및 저장 매체 | |
CN114299156A (zh) | 无重叠区域下多相机的标定与坐标统一方法 | |
JP7489253B2 (ja) | デプスマップ生成装置及びそのプログラム、並びに、デプスマップ生成システム | |
DK3189493T3 (en) | PERSPECTIVE CORRECTION OF DIGITAL PHOTOS USING DEPTH MAP | |
CN112970044A (zh) | 根据广角图像的视差估计 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21905841 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21905841 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21905841 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.01.2024) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21905841 Country of ref document: EP Kind code of ref document: A1 |