A parameter determination method and device

By dynamically determining the k-th calibration parameter in a multi-camera system, the problem that fixed calibration parameters cannot meet the needs of image acquisition is solved, enabling flexible calibration adjustments and improving image acquisition performance.

CN115190292BActive Publication Date: 2026-11-27LENOVO (BEIJING) LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210770098.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2026-11-27
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Fixed calibration parameters for multi-camera systems cannot meet the needs of actual image acquisition, resulting in poor image acquisition quality.

Method used

By controlling at least two image acquisition devices to acquire images respectively when the image acquisition system is started, obtaining the k-th correction parameter and the reference calibration parameter, and dynamically determining the k-th calibration parameter, flexible calibration adjustment can be achieved.

Benefits of technology

The image acquisition system enables flexible and dynamic adjustment of calibration parameters during use, meeting actual image acquisition needs and improving image acquisition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190292B_ABST
    Figure CN115190292B_ABST
Patent Text Reader

Abstract

The application discloses a parameter determination method and an electronic device, wherein the method comprises: when starting an image acquisition system for the kth time, controlling at least two image acquisition devices in the image acquisition system to acquire images respectively, and obtaining at least two images; wherein k is an integer greater than or equal to 1; processing the at least two images to obtain the kth correction parameter; wherein the kth correction parameter comprises an image correction parameter between the at least two image acquisition devices; obtaining a reference calibration parameter; and determining the kth calibration parameter based on the kth correction parameter and the reference calibration parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a parameter determination method and apparatus. Background Technology

[0002] In practical applications, the calibration parameters for multi-camera systems are usually fixed. However, fixed calibration parameters cannot meet the actual image acquisition needs of multi-camera systems. Summary of the Invention

[0003] Based on the above problems, this application provides a parameter determination method and device.

[0004] The technical solution provided in this application is as follows:

[0005] This application provides a parameter determination method, the method comprising:

[0006] When the image acquisition system is started for the kth time, at least two image acquisition devices in the image acquisition system are controlled to acquire images respectively, resulting in at least two images; wherein, k is an integer greater than or equal to 1;

[0007] The at least two images are processed to obtain the k-th correction parameter; wherein the k-th correction parameter includes the image correction parameter between the at least two image acquisition devices;

[0008] Obtain the reference calibration parameters;

[0009] Based on the k-th correction parameter and the benchmark calibration parameter, the k-th calibration parameter is determined.

[0010] In some embodiments, the at least two image acquisition devices are controlled to acquire images including the target object respectively;

[0011] Based on the k-th correction parameter, at least a portion of the pixel data in the image including the target object is processed to obtain a first size; wherein the first size includes the size of at least a portion of the target object; the at least a portion of the target object corresponds to the at least a portion of the pixel data.

[0012] The at least portion of the pixel data is processed based on the reference calibration parameters to obtain a second size;

[0013] Based on the first size and the second size, the kth calibration parameter is determined from the kth correction parameter and the reference calibration parameter.

[0014] In some embodiments, determining the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter based on the first size and the second size includes:

[0015] Obtain the target size of the target object;

[0016] The k-th calibration parameter is determined from the k-th correction parameter and the reference calibration parameter based on the differences between the first dimension and the second dimension and the target dimension, respectively.

[0017] In some embodiments, processing the at least two images to obtain the k-th correction parameter includes:

[0018] Obtain the k-th state information; wherein, the k-th state information includes at least one of the environmental information of the environment in which the image acquisition system is located when the image acquisition system is started for the k-th time, and the motion state information of the image acquisition system during the k-th time period; the k-th time period includes the time period before the k-th time the image acquisition system is started;

[0019] If the first condition is met, the at least two images are processed to obtain the k-th correction parameter; wherein, the first condition includes the difference between the k-th state information and the historical state information being greater than a first threshold; the historical state information includes the state information within the time period before the k-th time period.

[0020] In some embodiments, the at least two image acquisition devices include a main image acquisition device and at least one secondary image acquisition device; the at least two images include a first image acquired by the main image acquisition device and a second image acquired by the at least one secondary image acquisition device; the k-th correction parameter includes image correction parameters between the main image acquisition device and the at least one secondary image acquisition device; the processing of the at least two images to obtain the k-th correction parameter includes:

[0021] Feature extraction is performed on the first image to obtain a first result;

[0022] Feature extraction is performed on the second image to obtain the second result;

[0023] If the second condition is met, first data is determined from the first result, and second data is determined from the second result; wherein, the second condition includes the fact that both the first result and the second result contain feature data of a specified object; the first data includes feature data of the specified object contained in the first result; the second data includes feature data of the specified object contained in the second result; the specified object has at least specified edge features;

[0024] The correspondence between the first data and the second data is processed to obtain the k-th correction parameter.

[0025] In some embodiments, the method further includes:

[0026] If the second condition is not met, a prompt message is output; wherein, the prompt message includes at least information prompting the image acquisition system to adjust its posture in order to acquire image data including the specified object.

[0027] In some embodiments, obtaining the reference calibration parameters includes:

[0028] Obtain the initial calibration parameters of the image acquisition system; wherein the initial calibration parameters include a specified number of calibration parameters of the image acquisition system determined during the production assembly process;

[0029] The reference calibration parameters are determined as the initial calibration parameters.

[0030] In some embodiments, the method further includes:

[0031] Obtain the acquisition parameters of the image acquisition device in each of the specified number of image acquisition systems;

[0032] Obtain the structural information of the specified number of image acquisition systems;

[0033] If the third condition is met, the specified number of image acquisition systems are calibrated based on the structural information to obtain the initial calibration parameters; wherein, the third condition includes that the degree of matching between the acquisition parameters of each image acquisition system and each image acquisition device in the specified number of image acquisition systems is greater than or equal to a second threshold.

[0034] In some embodiments, calibrating the specified number of image acquisition systems includes:

[0035] Obtain the assembly parameters of the specified number of image acquisition systems;

[0036] If the fourth condition is met, the specified number of image acquisition systems are calibrated; wherein, the fourth condition includes the assembly parameters indicating that the relative attitude information between each image acquisition device in the specified number of image acquisition systems is specified attitude information.

[0037] This application also provides an electronic device, including an image acquisition system and a processor:

[0038] The processor is configured to control at least two image acquisition devices in the image acquisition system to acquire images respectively, thereby obtaining at least two images, when the image acquisition system is started for the kth time; wherein, k is an integer greater than or equal to 1;

[0039] The processor is further configured to process the at least two images to obtain a k-th correction parameter; obtain a reference calibration parameter of the image acquisition system; and obtain a k-th calibration parameter based on the k-th correction parameter and the reference calibration parameter; wherein the k-th correction parameter includes image correction parameters between the at least two image acquisition devices.

[0040] In the parameter determination method provided in this application embodiment, the k-th calibration parameter of the image acquisition system is not fixed, but is dynamically and flexibly determined based on the k-th correction parameter obtained from the k-th startup of the image acquisition system and the reference calibration parameter. Therefore, the parameter determination method provided in this application embodiment can not only dynamically and flexibly determine the k-th calibration parameter during the use of the image acquisition system, but also incorporates the reference calibration parameter in the process of determining the k-th calibration parameter. This enables stable, flexible, and dynamic adjustment and determination of the calibration parameters of the image acquisition system during its use, thereby meeting the actual image acquisition needs of the image acquisition system. Attached Figure Description

[0041] Figure 1 A flowchart illustrating the parameter determination method provided in this application embodiment;

[0042] Figure 2 A schematic diagram of the process for determining the k-th calibration parameter provided in an embodiment of this application;

[0043] Figure 3 Another flowchart illustrating the determination of the k-th calibration parameter provided in this application embodiment;

[0044] Figure 4 A schematic diagram illustrating the process of obtaining initial calibration parameters provided in an embodiment of this application;

[0045] Figure 5 A schematic diagram illustrating the process of obtaining the initial calibration parameters of the image acquisition system provided in an embodiment of this application;

[0046] Figure 6 This is a schematic diagram of the electronic device structure provided in an embodiment of this application. Detailed Implementation

[0047] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0048] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0049] Compared to single-camera systems, multi-camera systems offer a wider field of view, thus providing richer image acquisition capabilities. For example, they can acquire depth information to achieve background blurring. Therefore, multi-camera systems are widely used in mobile phones, tablets, and augmented reality (AR) / virtual reality (VR) devices. Because the settings and image acquisition parameters of each camera in a multi-camera system often differ, calibration is usually required to improve image acquisition performance.

[0050] In practical applications, when a multi-camera system acquires images, it typically calibrates multiple images captured by each camera based on the calibration parameters set at the factory. However, this image calibration method cannot meet the actual image acquisition and processing needs of a multi-camera system.

[0051] To address the above issues, this application provides a parameter determination method and device. The parameter determination method provided in this application can determine the k-th calibration parameter based on the k-th correction parameter obtained from at least two images acquired by at least two image acquisition devices in the image acquisition system, and the benchmark calibration parameter. This enables flexible, dynamic, and precise calibration of the image acquisition system during its use, thereby meeting the actual image acquisition needs of the system.

[0052] It should be noted that the parameter determination method provided in this application embodiment can be implemented by a processor of an electronic device. The processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, and microprocessor.

[0053] Figure 1 This is a flowchart illustrating the parameter determination method provided in the embodiments of this application, as shown below. Figure 1 As shown, the process may include steps 101 to 104:

[0054] Step 101: When the image acquisition system is started for the kth time, control at least two image acquisition devices in the image acquisition system to acquire images respectively, so as to obtain at least two images.

[0055] Where k is an integer greater than or equal to 1.

[0056] In one implementation, the distance between multiple image acquisition devices in the image acquisition system can be less than a distance threshold.

[0057] In one embodiment, the electronic device may be equipped with an image acquisition system; for example, the electronic device may include computer equipment or mobile electronic devices, etc.; for example, the electronic device may include smartphones, smart wearable devices, and AR / VR devices, etc.

[0058] In one embodiment, at least two images acquired by at least two image acquisition devices may include the same acquisition object.

[0059] In one implementation, when the image acquisition system is started for the kth time, at least two image acquisition devices in the image acquisition system can be controlled to acquire images respectively based on the calibration command input by the user, thereby obtaining at least two images and starting the calibration process; for example, when the image acquisition system is started for the kth time, the processor of the electronic device can automatically control at least two image acquisition devices in the image acquisition system to acquire images respectively, thereby starting the automatic calibration process.

[0060] Step 102: Process at least two images to obtain the k-th correction parameter.

[0061] The k-th correction parameter includes image correction parameters between at least two image acquisition devices.

[0062] In one implementation, due to differences in the setting position, angle, or orientation of at least two image acquisition devices in the image acquisition system, the pixel data of the same object at the same position in at least two images acquired by at least two image acquisition devices may be different; for example, the pixel data may include pixel position and / or pixel value, etc.

[0063] In one implementation, the k-th correction parameter may include a parameter that reflects at least one difference in the relative position, relative orientation, and imaging process between at least two image acquisition devices.

[0064] In one implementation, the k-th correction parameter may include a parameter capable of compensating for the negative impact on the image processing process caused by differences in at least one of the manufacturing processes, assembly procedures, optical materials, and relative positional relationships between at least two image acquisition devices.

[0065] In one embodiment, the k-th correction parameter may include pairwise related image correction parameters between at least two image acquisition devices. For example, in the case where the image acquisition system includes a first image acquisition device, a second image acquisition device, and a third image acquisition device, the k-th correction parameter may include a set of image correction parameters between the first image acquisition device and the second image acquisition device, image correction parameters between the first image acquisition device and the third image acquisition device, and image correction parameters between the second image acquisition device and the third image acquisition device.

[0066] In one implementation, the k-th correction parameter can be a comprehensive image correction parameter among the various image acquisition devices in the image acquisition system; for example, the k-th correction parameter can be a matrix.

[0067] For example, the k-th correction parameter may be determined by comparing pixel data in at least two images; for example, the k-th correction parameter may be obtained by comparing pixel data in at least two images one by one according to the coordinate position of the pixel points; for example, the k-th correction parameter may include the difference data between corresponding pixel data in at least two images, which is not limited in this embodiment of the application.

[0068] Step 103: Obtain the reference calibration parameters.

[0069] In one implementation, the reference calibration parameters may include pre-set calibration parameters in the image acquisition system; for example, the accuracy of these calibration parameters may be higher than a calibration threshold.

[0070] Step 104: Determine the k-th calibration parameter based on the k-th correction parameter and the reference calibration parameter.

[0071] For example, the k-th calibration parameter can be implemented in any of the following ways:

[0072] The k-th correction parameter and the reference calibration parameter are compared, and the parameter with the smaller value is determined as the k-th calibration parameter.

[0073] The difference between the k-th correction parameter and the reference calibration parameter is calculated to obtain the parameter difference value. If the absolute value of the parameter difference value is less than or equal to the difference threshold, the reference calibration parameter is determined as the k-th calibration parameter; if the absolute value of the parameter difference value is greater than the difference threshold, the k-th correction parameter can be determined as the k-th calibration parameter. For example, the difference threshold can be adjusted according to at least one of the following factors: the manufacturing process of the image acquisition system, optical materials, the continuous use time of the image acquisition system, and the user's personal usage habits.

[0074] The k-th correction parameter and the reference calibration parameter are statistically averaged, and the result of the statistical average is determined as the k-th calibration parameter.

[0075] For example, when k is greater than or equal to 2, the image acquisition system can perform image acquisition operation using the (k-1)th calibration parameter before determining the kth calibration parameter; if the value of k is 1, the image acquisition system can perform image acquisition operation using the reference calibration parameter before determining the first calibration parameter.

[0076] For example, after determining the k-th calibration parameter, the image acquisition process of the image acquisition system can be processed based on the k-th calibration parameter to improve the image acquisition effect of the image acquisition system. Furthermore, when k is 1, in the parameter determination method provided in this application embodiment, even if the image acquisition system is started for the first time, the first correction parameter can be obtained, and the first calibration parameter can be determined based on the first correction parameter and the reference calibration parameter, thereby improving the precise control of the calibration process of the image acquisition system and enabling a more comprehensive improvement in the image acquisition effect of the image acquisition system.

[0077] As can be seen from the above, in the parameter determination method provided in the embodiments of this application, when the image acquisition system is started for the kth time, at least two image acquisition devices in the image acquisition system are controlled to acquire images respectively to obtain at least two images. Then, the at least two images are processed to obtain the kth correction parameter. Then, the kth calibration parameter is determined based on the kth correction parameter and the reference calibration parameter.

[0078] Therefore, in the parameter determination method provided in this application embodiment, the k-th calibration parameter of the image acquisition system is not fixed, but dynamically and flexibly determined based on the k-th correction parameter obtained from the k-th startup of the image acquisition system and the reference calibration parameter. Thus, the parameter determination method provided in this application embodiment not only enables dynamic and flexible determination of the k-th calibration parameter during the use of the image acquisition system, but also incorporates the reference calibration parameter in the process of determining the k-th calibration parameter. This allows for stable, flexible, and dynamic adjustment and determination of the calibration parameters of the image acquisition system during its use, thereby meeting the actual image acquisition needs of the image acquisition system.

[0079] Based on the foregoing embodiments, the parameter determination method provided in this application determines the k-th calibration parameter based on the k-th correction parameter and the reference calibration parameter, which can be achieved through... Figure 2 The process shown is implemented as follows: Figure 2 This is a schematic diagram of the process for determining the k-th calibration parameter provided in an embodiment of this application, as shown below. Figure 2 As shown, the process may include steps 201 to 204:

[0080] Step 201: Control at least two image acquisition devices to acquire images including the target object.

[0081] In one implementation, the target object may include objects with regular geometric shapes, such as bookshelves, desks, tents, monitors, chessboards, mobile phones, water cups, books, and colored office paper; for example, the number of target objects may be multiple.

[0082] In one implementation, the target object can be selected by the user of the electronic device. For example, the user can select an object with a regular geometric shape in the current image acquisition environment and identify it as the target object.

[0083] In one implementation, the electronic device can output the characteristic information required for the target object, and the user of the electronic device can select at least one object as the target object from the current image acquisition environment based on the aforementioned characteristic information.

[0084] In one embodiment, the image acquisition system obtains a preview image through preview operations of at least two image acquisition devices. The processor of the electronic device can perform feature recognition on the preview image and identify the object with the aforementioned feature information as the target object. For example, the processor of the electronic device can also output the contour information of the target object through the preview interface of the image acquisition system to instruct the user to acquire the target object corresponding to the contour information, thereby obtaining an image including the target object.

[0085] Step 202: Process at least a portion of the pixel data in the image including the target object based on the k-th correction parameter to obtain the first size.

[0086] The first dimension includes the dimension of at least a portion of the target object; the at least a portion of the region corresponds to at least a portion of pixel data.

[0087] In one implementation, at least a portion of the target object may include regions with prominent features in the target object, such as inflection points of the target object, edges of the target object, and regions in the target object where pixel gradients change sharply; for example, at least a portion of the pixel data may be pixel data in an image including the target object that corresponds to the aforementioned at least a portion of the target object; for example, at least a portion of the pixel data may include coordinate data of pixels corresponding to the at least a portion of the target object.

[0088] In one implementation, at least a portion of the pixel data can be transformed based on the transformation matrix between the camera coordinate system and the world coordinate system of at least two image acquisition devices in the image acquisition system, as well as the k-th correction parameter, to obtain size information corresponding to at least a portion of the region, i.e., the first size.

[0089] Step 203: Process at least a portion of the pixel data based on the reference calibration parameters to obtain the second size.

[0090] In one implementation, at least a portion of the pixel data can be transformed based on the transformation matrix between the camera coordinate system and the world coordinate system of at least two image acquisition devices in the image acquisition system, as well as the reference calibration parameters, to obtain size information corresponding to at least a portion of the region, i.e., the second size.

[0091] For example, the execution order of steps 202 and 203 can be adjusted; for example, the two steps can also be executed in parallel, and this application embodiment does not limit this.

[0092] Step 204: Based on the first dimension and the second dimension, determine the kth calibration parameter from the kth correction parameter and the reference calibration parameter.

[0093] For example, determining the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter based on the first and second dimensions can be achieved in any of the following ways:

[0094] If the first dimension is larger than the second dimension, then the kth correction parameter can be determined as the kth calibration parameter; if the first dimension is less than or equal to the second dimension, then the reference calibration parameter can be determined as the kth calibration parameter.

[0095] The difference between the first dimension and the second dimension is calculated to obtain the dimension difference value. If the absolute value of the dimension difference value is less than or equal to the dimension threshold, the k-th correction parameter can be determined as the k-th calibration parameter; if the absolute value of the dimension difference value is greater than the dimension threshold, the reference calibration parameter can be determined as the k-th calibration parameter.

[0096] As can be seen from the above, in the parameter determination method provided in the embodiments of this application, after controlling at least two image acquisition devices to acquire images including the target object respectively, at least a portion of the pixel data in the image including the target object can be processed based on the k-th correction parameter and the reference calibration parameter to obtain a first size and a second size, and the k-th calibration parameter is determined based on the first size and the second size.

[0097] Therefore, the parameter determination method provided in this application, after obtaining the k-th correction parameter, can combine the size data of at least a portion of the target object in the image including the target object acquired from at least two image acquisition devices, and determine the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter. When the pixel feature recognition of the target object is high, determining the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter through the above-mentioned size data can not only improve the consistency between the k-th calibration parameter and the actual state of at least two image acquisition devices, but also improve the accuracy of the k-th calibration parameter.

[0098] Based on the foregoing embodiments, in the parameter determination method provided in this application, the k-th calibration parameter is determined from the k-th correction parameter and the reference calibration parameter based on the first dimension and the second dimension, which can be achieved through steps A1 to A2:

[0099] Step A1: Obtain the target size of the target object.

[0100] In one embodiment, the target size of the target object may include the overall size of the target object's outline. For example, if the target object is a desk, the target size may include the length, width, and height of the desk. For example, the target size may include the size corresponding to at least a portion of the area in the foregoing embodiments. For example, if at least a portion of the area is the edge of the desk, the target size may include the side length of the desk's tabletop.

[0101] In one implementation, after the target object is determined, the electronic device can output size prompts to prompt the user to input the target size for at least a portion of the area; that is, the target size can be user-inputted by the electronic device.

[0102] In one embodiment, the target size can be calculated by an electronic device; for example, the electronic device can calculate the target size by combining distance measurement and speed measurement using various types of sensors it is equipped with, and this application embodiment does not limit this.

[0103] Step A2: Based on the difference between the first dimension, the second dimension and the target dimension, determine the kth calibration parameter from the kth correction parameter and the reference calibration parameter.

[0104] In one embodiment, the difference between the first dimension and the second dimension and the target dimension may include a first difference and a second difference; for example, the first difference may include the difference between the first dimension and the target dimension, and the second difference may include the difference between the second dimension and the target dimension.

[0105] For example, the k-th calibration parameter can be determined in the following way:

[0106] Based on the magnitude of the absolute values ​​of the first and second differences, the kth calibration parameter is determined from the kth correction parameter and the reference calibration parameter. For example, if the absolute value of the first difference is less than or equal to the absolute value of the second difference, the kth correction parameter can be determined as the kth calibration parameter; if the absolute value of the first difference is greater than the absolute value of the second difference, the reference calibration parameter can be determined as the kth calibration parameter.

[0107] In one implementation, the absolute value of the first difference can represent the absolute difference between the first size and the target size. Therefore, the magnitude of the absolute value of the first difference can reflect the degree of distortion influence of the k-th correction parameter on the image containing the target object. For example, the absolute value of the second difference can represent the absolute difference between the second size and the target size. Therefore, the magnitude of the absolute value of the second difference can reflect the degree of distortion influence of the reference calibration parameter on the image containing the target object. For example, based on the absolute values ​​of the first and second differences, a parameter with a smaller degree of distortion influence on the image processing of the image acquisition system can be selected from the k-th correction parameter and the reference calibration parameter, and determined as the k-th calibration parameter.

[0108] As can be seen from the above, in the parameter determination method provided in the embodiments of this application, after obtaining the target size of the target object, the kth calibration parameter can be determined from the kth correction parameter and the reference calibration parameter based on the first size and the difference between the second size and the target size.

[0109] Since the target size of the target object can characterize the actual size information of the target object, the difference between the first size and the second size and the target size can respectively reflect the degree of influence of the k-th correction parameter and the reference calibration parameter on the image processing process of the image acquisition system. Based on the difference between the first size and the second size and the target size, the k-th calibration parameter can be determined from the k-th correction parameter and the reference calibration parameter, which can also weaken the negative influence of the k-th calibration parameter on the image processing process of the image acquisition system, thereby improving the image acquisition effect of the image acquisition system.

[0110] Based on the foregoing embodiments, the parameter determination method provided in this application involves processing at least two images to obtain the k-th correction parameter, which can be achieved through steps B1 to B2:

[0111] Step B1: Obtain the k-th state information.

[0112] The k-th state information includes at least one of the environmental information of the image acquisition system when it is started for the k-th time and the motion state information of the image acquisition system during the k-th time period; the k-th time period includes the time period before the k-th time the image acquisition system is started.

[0113] In one embodiment, the environmental information of the environment in which the image acquisition system is located when the image acquisition system is started for the kth time may include at least one of the following: light intensity, light intensity change rate, air flow speed, air pollution information, temperature information, humidity information, air pressure information, and magnetic field interference information. For example, the environmental information can be obtained by data collected by sensors installed in the electronic device.

[0114] In one embodiment, the motion state information of the image acquisition system during the k-th time period may include at least one of the following states: collision, slippage, and being thrown. For example, the processor of the electronic device may determine the motion state information of the image acquisition system during the k-th time period by analyzing the data collected by the sensor during the k-th time period through a motion state tracking algorithm.

[0115] Step B2: If the first condition is met, process at least two images to obtain the k-th correction parameter.

[0116] The first condition includes that the difference between the k-th state information and the historical state information is greater than a first threshold; the historical state information includes the state information in the period before the k-th period.

[0117] For example, if the first condition is not met, the operation of processing at least two images to obtain the k-th correction parameter can be omitted.

[0118] For example, if the first condition is not met, when k is 1, the image acquisition system can use the reference calibration parameter to perform the image acquisition operation, while when k is greater than or equal to 2, the image acquisition system can use the (k-1)th calibration parameter to perform the image acquisition operation.

[0119] In one implementation, when k is greater than or equal to 2, the first condition may include the environmental information when the image acquisition system is started for the kth time, and the degree of difference between the environmental information when the image acquisition system is started for the (k-1)th time is greater than a first threshold. For example, the difference between the air flow speed when the image acquisition system is started for the kth time and the air flow speed when the image acquisition system is started for the (k-1)th time can be greater than the first threshold.

[0120] For example, when k equals 1, the first condition may include the degree of difference between the environmental information when the image acquisition system is first started and the environmental information during the production process of the image acquisition system being greater than a first threshold.

[0121] In one implementation, when k is greater than or equal to 2, the historical state information may include the state information within the (k-1)th time period; for example, the (k-1)th time period may include the time period before the (k-1)th start of the image acquisition system.

[0122] In one implementation, when k is greater than or equal to 2, the first condition may include motion state information in the k-th time period, and the difference between the motion state information in the (k-1)-th time period and the motion state information in the (k-1)-th time period is greater than a first threshold. For example, the motion state information in the (k-1)-th time period indicates that the image acquisition system was in a stable position in the (k-1)-th time period, while the motion state information in the k-th time period indicates that the image acquisition system was in a slipping state in the k-th time period.

[0123] For example, when k is 1, the first condition may include the image acquisition system being bumped, dropped, or thrown before its first startup; for example, after the image acquisition system is bumped, dropped, or thrown, the relative positional relationship, relative attitude relationship, and consistency of optical parameters between the image acquisition devices in the image acquisition system may be affected, thereby negatively affecting the image acquisition effect of the image acquisition system. Therefore, at least two images can be processed to obtain the first correction parameter.

[0124] In one implementation, when k is greater than or equal to 2, the first condition includes that the difference between the environmental information when the image acquisition system is started for the kth time and the environmental information when the image acquisition system is started for the (k-1)th time is greater than a first threshold, and the difference between the motion state information in the k-th time period and the motion state information in the (k-1)th time period is greater than the first threshold.

[0125] For example, when k is greater than or equal to 2, if the difference between the motion state information in the k-th time period and the motion state information in the (k-1)-th time period is greater than the first threshold, it can be indicated that the motion state in the k-th time period may affect the device characteristics of the image acquisition device in the image acquisition system and / or the relative positional relationship between the image acquisition devices.

[0126] In one implementation, the first threshold may be preset; for example, the first threshold may be adjusted according to at least one of the following factors: image acquisition scenario, personal usage habits of electronic device users, manufacturing process of image acquisition system, optical materials of image acquisition system, and usage time of image acquisition system.

[0127] As can be seen from the above, in the parameter determination method provided in this application embodiment, when the k-th state information is obtained and it is determined that the k-th state information satisfies the first condition, at least two images are processed to obtain the k-th correction parameter, thereby achieving precise control over whether to process at least two images.

[0128] Meanwhile, since the k-th state information includes environmental information of the environment in which the image acquisition system is located and / or motion state information of the image acquisition system during the k-th time period, if the difference between the k-th state information and the historical state information is greater than the first threshold, it can indicate that the negative impact of the k-th state information on the current environment of the image acquisition system or the motion state during the k-th time period, such as collisions, falls, or throwing, on the image acquisition effect of the image acquisition system is greater than the first threshold. For example, it can cause the distortion effect of the reference calibration parameters of the image acquisition system or the calibration parameters determined by the parameter determination method provided in the previous application to the image acquisition effect of the image acquisition device to be greater than the first threshold. In this case, processing at least two images to obtain the k-th correction parameter can greatly weaken the negative impact of the k-th state information on the image acquisition effect of the image acquisition system, thereby achieving precise control over whether the k-th correction parameter is obtained, and further improving the accuracy of the k-th correction parameter.

[0129] Based on the foregoing embodiments, in the parameter determination method provided in this application, at least two image acquisition devices include a main image acquisition device and at least one secondary image acquisition device; at least two images include a first image acquired by the main image acquisition device and a second image acquired by at least one secondary image acquisition device; the k-th correction parameter includes image correction parameters between the main image acquisition device and at least one secondary image acquisition device.

[0130] In one embodiment, the size of the main image acquisition device may be larger than the size of at least one secondary image acquisition device; for example, at least one secondary image acquisition device may be disposed around at least one edge of the main image acquisition device.

[0131] In one implementation, the k-th correction parameter may include parameters for correcting the first image acquired by the main image acquisition device using at least one second image acquired from the image acquisition device. In other words, the k-th correction parameter may include compensation parameters for the image acquisition and image fusion processes of the main image acquisition device by each image acquisition device.

[0132] For example, processing at least two images to obtain the k-th correction parameter can be achieved through steps C1 to C4:

[0133] Step C1: Extract features from the first image to obtain the first result.

[0134] In one implementation, the first result may include feature information of at least one object in the first image, such as edge features of at least one object, category features of at least one object, and regional features of at least a portion of the region of at least one object.

[0135] In one implementation, the first result can be obtained by extracting features from the first image using a feature extraction module; for example, the feature extraction module may include a neural network capable of performing feature extraction, but this application embodiment does not limit this.

[0136] Step C2: Extract features from the second image to obtain the second result.

[0137] For example, the implementation process of step C2 is similar to that of step C1, and will not be described again here.

[0138] For example, the order of steps C1 and C2 can be adjusted, or they can be performed in parallel. This application embodiment does not limit this.

[0139] Step C3: If the second condition is met, determine the first data from the first result and the second data from the second result.

[0140] The second condition includes that both the first result and the second result contain feature data of the specified object; the first data includes feature data of the specified object contained in the first result; the second data includes feature data of the specified object contained in the second result; and the specified object has at least the specified edge features.

[0141] For example, if the second condition is not met, the operations of determining the first data from the first result and determining the second data from the second result may not be performed.

[0142] In one implementation, the specified edge features may include features with distinct outlines, such as the desktop of an office desk having distinct length and width edges, in which case the office desk can be the specified object.

[0143] In one implementation, the specified edge feature may include a feature having an edge of a specified shape; for example, the specified shape may include regular geometric shapes, such as circles, squares, and trapezoids.

[0144] In one implementation, the designated object may also have color characteristics. For example, the designated object is a desk, but the color of the desk can be significantly different from the color tone of the environment in which the desk is located. For example, if the walls in the environment in which the desk is located are white, then a white desk cannot be the designated object, while a dark-colored desk can be the designated object.

[0145] In one implementation, the first data may include at least a portion of the edges of a specified object and feature data of at least a portion of the region containing the at least a portion of the edges; for example, the first data may include coordinate data of pixels of the specified object, such as coordinate data of at least a portion of the edges and coordinate data of at least a portion of the region containing the at least a portion of the edges; for example, the first data may also include feature recognition results of pixels corresponding to the above coordinate data, such as at least a portion of the edges being the eye edges of an animal, and at least a portion of the region containing the at least a portion of the edges including the eye region of an animal and the region around the eyes.

[0146] For example, the second data has a similar meaning to the first data, and will not be repeated here.

[0147] In one implementation, the number of feature data contained in the first data and the second data can be greater than or equal to a feature number threshold, so that the precision of the k-th correction parameter obtained from the first data and the second data can be guaranteed.

[0148] Step C4: Process the correspondence between the first data and the second data to obtain the k-th correction parameter.

[0149] In one implementation, feature data contained in the first data and feature data contained in the second data can be compared to establish a correspondence between the first data and the second data.

[0150] In one implementation, the first coordinate data of each feature data can be obtained based on the first data, and the first relative position information between each coordinate data can also be obtained; for example, the second coordinate data of each feature data and the second relative position information between each coordinate data can also be obtained based on the second data; for example, based on the correspondence between the first coordinate data and the second coordinate data, and the correspondence between the first relative position information and the second relative position information, the difference information between the main image acquisition device and the slave image acquisition device in the image acquisition and processing of the specified object can be determined, and the above difference information is the k-th correction parameter.

[0151] In one implementation, the k-th correction parameter may include a transformation matrix between the first coordinate data and the second coordinate data, as well as between the first relative position information and the second relative position relationship.

[0152] As can be seen from the above, in the parameter determination method provided in the embodiments of this application, the image acquisition system includes a main image acquisition device and at least one secondary image acquisition device. Under the condition that both the first image acquired by the main image acquisition device and the second image acquired by at least one secondary image acquisition device include feature data of a specified object, the k-th correction parameter is obtained based on the correspondence between the first data determined from the first result of the first image and the second data determined from the second result of the second image.

[0153] Thus, in the parameter determination method provided in this application embodiment, the k-th correction parameter is determined based on the feature data of a specified object in the main image acquisition device and at least one image actually acquired from the image acquisition device. Since the specified object has at least specified edge features, the accuracy of the above feature data is improved, thereby improving the accuracy of the k-th correction parameter.

[0154] Based on the foregoing embodiments, the parameter determination method provided in this application may further include the following operations:

[0155] If the second condition is not met, output a prompt message.

[0156] The prompting information includes at least information prompting the adjustment of the image acquisition device's orientation to acquire image data including the specified object.

[0157] For example, if the second condition is met, the process for obtaining the k-th correction parameter provided in the foregoing embodiments can be executed.

[0158] In one embodiment, adjusting the orientation of the image acquisition system may include adjusting the height of the image acquisition system, changing the position of the image acquisition system, adjusting the pitch angle and rotation angle of the image acquisition system, or at least one of these.

[0159] In one implementation, adjusting the posture of the image acquisition system may include manual operation by the user or adaptive adjustment by the image acquisition system.

[0160] In one implementation, during the adjustment of the posture of the image acquisition system, the preview image of the image acquisition system can be identified in real time. If a specified object is detected in the preview image, prompt information can be generated and output in real time based on the position of the specified object in the preview image, so as to provide accurate prompts for the user's posture adjustment process. For example, if a specified object is detected in the preview image, the outline information of the specified object can be drawn in the preview image, and prompt information can also be output in the form of arrows in the display window of the preview image to intuitively and vividly indicate the posture adjustment direction of the image acquisition system.

[0161] As can be seen from the above, in the parameter determination method provided in this application embodiment, if the second condition is not met, a prompting message is output to prompt the adjustment of the image acquisition system's state to acquire image data including the specified object. Therefore, the parameter determination method provided in this application embodiment achieves automated and intelligent acquisition of image data of the specified object, thereby improving the automation and intelligence level of the image acquisition system and further enhancing the flexibility in obtaining the k-th correction parameter.

[0162] Figure 3 Another flowchart illustrating the determination of the k-th calibration parameter provided in this application embodiment is shown below. Figure 3 As shown, the process may include steps 301 to 306:

[0163] Step 301: Start the image acquisition system for the kth time.

[0164] For example, the processor of an electronic device can control the k-th startup of the image acquisition system.

[0165] For example, the processor of an electronic device can start the image acquisition system for the kth time upon detecting a user-input command to start the image acquisition system.

[0166] For example, an image acquisition system may include at least two image acquisition devices; for example, an image acquisition system may include a main image acquisition device and at least one slave image acquisition device.

[0167] Step 302: Control the image acquisition device in the image acquisition system to acquire image data.

[0168] For example, the processor of an electronic device can control the image acquisition device in an image acquisition system to acquire image data.

[0169] For example, the processor of an electronic device can control the main image acquisition device in an image acquisition system to acquire image data to obtain a first image, and can also control at least one image acquisition device to acquire image data to obtain a second image.

[0170] Step 303: Determine the k-th correction parameter based on the image data.

[0171] For example, the processor of an electronic device can determine the k-th correction parameter based on image data.

[0172] For example, feature extraction can be performed on the first image and the second image respectively to obtain a first result and a second result. Under the condition that both the first result and the second result contain feature data of the specified object, the first data is determined from the first result and the second data is determined from the second result respectively. Then, based on the correspondence between the first data and the second data, the k-th correction parameter is determined.

[0173] For example, when the image acquisition system is started for the kth time, the kth state information can be obtained, and when the difference between the kth state information and the historical state information is greater than a first threshold, the process of determining the kth correction parameter based on the image data is initiated; for example, the kth state information may include at least one of the environmental information of the environment in which the image acquisition system is located when the image acquisition system is started for the kth time, and the motion state information of the image acquisition system in the kth time period.

[0174] Step 304: Determine whether the confidence level of the k-th correction parameter is less than the confidence level of the baseline calibration parameter.

[0175] For example, the processor of an electronic device can determine whether the confidence level of the k-th correction parameter is less than the confidence level of the baseline calibration parameter.

[0176] For example, the confidence level of the k-th correction parameter may include the absolute value of the difference between the first size and the target size; wherein the first size can be obtained by processing at least a portion of the pixel data in the image including the target object based on the k-th correction parameter; the target size may be the size of at least a portion of the region in the target object corresponding to at least a portion of the pixel data.

[0177] For example, the confidence level of the benchmark calibration parameters may include the absolute value of the difference between the second size and the target size; for example, the second size can be obtained by processing at least a portion of the pixel data in an image including the target object based on the benchmark calibration parameters.

[0178] For example, if the confidence level of the kth correction parameter is less than the confidence level of the reference calibration parameter, then step 305 can be executed; if the confidence level of the kth correction parameter is less than the confidence level of the reference calibration parameter, then step 306 can be executed.

[0179] Step 305: Determine the reference calibration parameter as the k-th calibration parameter.

[0180] For example, the processor of an electronic device can determine the reference calibration parameter as the k-th calibration parameter.

[0181] Step 306: Determine the k-th correction parameter as the k-th calibration parameter.

[0182] For example, the processor of an electronic device can determine the k-th correction parameter as the k-th calibration parameter.

[0183] As can be seen from the above, the parameter determination method provided in this application embodiment can determine the k-th calibration parameter after the k-th startup of the image acquisition system based on the k-th correction parameter and the reference calibration parameter obtained from the image data acquired by the image acquisition system at the k-th startup. This enables dynamic, real-time, and flexible adjustment of the calibration parameters of the image acquisition system, thereby enabling the calibration parameters to dynamically and flexibly meet the image acquisition requirements of the image acquisition system.

[0184] Based on the foregoing embodiments, the parameter determination method provided in this application can obtain the benchmark calibration parameters in the following ways:

[0185] Obtain the initial calibration parameters of the image acquisition system and determine the reference calibration parameters as the initial calibration parameters.

[0186] The initial calibration parameters include calibration parameters for a specified number of image acquisition systems determined during the production and assembly process.

[0187] In one implementation, the initial calibration parameters may include calibration parameters for a specified number of image acquisition systems with a specified structure, determined during the production assembly process; for example, the specified structure may include a relative positional relationship between at least two image acquisition devices in the image acquisition system that meets specified conditions, such as multiple slave image acquisition devices surrounding a specified distance range around the main image acquisition device.

[0188] In one implementation, the specified quantity may include the number of image acquisition systems that can characterize the average level of the relative positional relationship between image acquisition devices; for example, the specified quantity may be 200.

[0189] In one embodiment, the specified quantity can be determined based on at least one of the following: the number of image acquisition devices in the image acquisition system, the optical parameters of the optical modules in the image acquisition devices, the manufacturing process of the image acquisition devices, and the performance characteristics of the image acquisition system. This application does not limit this.

[0190] In one implementation, the initial calibration parameters can be determined under the condition that the image acquisition performance of each image acquisition device in the image acquisition system is greater than or equal to a performance threshold; for example, the image acquisition performance being greater than or equal to the performance threshold can include the consistency of the individual image acquisition device modules meeting specific requirements; for example, the consistency of the image acquisition device modules meeting specific requirements can include keeping the optical centers of the image acquisition devices consistent.

[0191] In practical applications, during the production process, each image acquisition system needs to be calibrated separately under the specific environment of the image acquisition system assembly line in order to calibrate an image acquisition system that includes at least two image acquisition devices. This calibration method significantly increases the assembly cost of the image acquisition system.

[0192] In this embodiment of the application, during the production process of the image acquisition system, in the trial production stage of the image acquisition system, the initial calibration data of the image acquisition system can be obtained by performing small-batch calibration operations on a specified number of image acquisition systems, and the initial calibration data can be applied to a large number of image acquisition systems, thereby greatly reducing the calibration cost in the production and manufacturing process of the image acquisition system.

[0193] Furthermore, after applying the initial calibration parameters to a large number of image acquisition systems, when the image acquisition system is started for the first time, the first correction parameter can still be determined by the parameter determination method provided in the embodiments of this application, and the first calibration parameter can be determined based on the first correction parameter and the reference calibration parameter, so that the image acquisition effect of the image acquisition system can still be effectively guaranteed when the image acquisition system is started for the first time.

[0194] Based on the foregoing embodiments, the parameter determination method provided in this application may further include steps D1 to D3:

[0195] Step D1: Obtain the acquisition parameters of the image acquisition device in each of the specified number of image acquisition systems.

[0196] In one embodiment, the acquisition parameters may include at least one of the following parameters of each image acquisition device in the image acquisition system: transmittance, focal length, optical axis consistency, and light sensitivity. For example, the acquisition parameters may be determined by testing the image acquisition device during the production and assembly process of the electronic device, or they may be obtained from the process data of the image acquisition device assembly process. That is to say, the acquisition parameters of the image acquisition device are determined after the production and assembly of the image acquisition device is completed.

[0197] Step D2: Obtain the structural information of a specified number of image acquisition systems.

[0198] In one embodiment, the structural information of the image acquisition system can be determined by analyzing and statistically analyzing at least one factor among the relative positional relationships, setup methods, and setup areas of the image acquisition devices in a large number of image acquisition systems. For example, the structural information of a specified number of image acquisition systems determined by the above analysis and statistics can characterize the overall structural level of a large number of image acquisition systems. Therefore, the structural information of a specified number of image acquisition systems can be used to characterize the overall structural state of a large number of image acquisition systems with the above structural characteristics.

[0199] Step D3: If the third condition is met, calibrate a specified number of image acquisition systems based on the structural information to obtain initial calibration parameters.

[0200] The third condition includes that the degree of matching between the acquisition parameters of each image acquisition device in each of the specified number of image acquisition systems is greater than or equal to the second threshold.

[0201] For example, if the third condition is not met, the operation of calibrating a specified number of image acquisition systems based on structural information to obtain initial calibration parameters may not be performed.

[0202] In one implementation, if the matching degree between the acquisition parameters of each image acquisition device is greater than or equal to a second threshold, it can indicate that the consistency between the acquisition parameters of each image acquisition device is high.

[0203] For example, calibrating a specified number of image acquisition systems based on structural information to obtain initial calibration parameters can still be achieved in the following way:

[0204] The system controls a specified number of image acquisition devices in the image acquisition system to acquire calibration objects, obtain calibration images, then extract features from the calibration images to obtain calibration feature extraction results, then adjust and correct the correspondence between the calibration feature extraction results and the calibration objects based on structural information to obtain a specified number of initial calibration parameters, and finally perform statistical averaging on the specified number of initial calibration parameters to obtain the initial calibration parameters.

[0205] For example, the calibration object may include an acquisition object with specified edge features, color sharpness, and specified geometry; for example, the calibration object may include a chessboard of known size. Since the chessboard squares are evenly distributed, the feature information of the relative positions between each chessboard square is highly identifiable, and the color distinction between the edge lines of the chessboard squares and the internal areas of the chessboard squares is relatively obvious, using a chessboard to calibrate a specified number of image acquisition systems can greatly reduce the amount of computation for feature recognition and feature association during the calibration process, and can also greatly improve the accuracy of the initial calibration parameters.

[0206] For example, the size of the calibration object may be known; for example, adjusting and correcting the correspondence between the calibration feature extraction results and the calibration object based on the structural information may include adjusting and correcting the correspondence between the pixel coordinate data in the calibration feature extraction results and the actual size information of the calibration object based on the structural information.

[0207] As can be seen from the above, in the parameter determination method provided in this application embodiment, after obtaining the acquisition parameters of the image acquisition device in each of the specified number of image acquisition systems and the structural information of the specified number of image acquisition systems, when the matching degree between the acquisition parameters of the image acquisition devices in the image acquisition systems is greater than or equal to the second threshold, the specified number of image acquisition systems can be calibrated based on the structural information to obtain the initial calibration parameters.

[0208] Therefore, the parameter determination method provided in this application embodiment can calibrate a specified number of image acquisition systems to obtain initial calibration parameters under the condition that the acquisition parameters of the image acquisition devices in a specified number of image acquisition systems are consistent. This achieves strict control over the conditions for obtaining the initial calibration parameters, thereby not only improving the accuracy of the initial calibration parameters, but also improving the image acquisition effect of a large number of image acquisition systems that use the initial calibration parameters as the benchmark calibration parameters.

[0209] Based on the foregoing embodiments, the parameter determination method provided in this application, which calibrates a specified number of image acquisition systems, can be implemented in the following ways:

[0210] Obtain the assembly parameters of a specified number of image acquisition systems. If the fourth condition is met, calibrate the specified number of image acquisition systems.

[0211] The fourth condition includes assembly parameters indicating that the relative posture information between each image acquisition device in a specified number of image acquisition systems is specified posture information.

[0212] For example, if the fourth condition is not met, the calibration of the specified number of image acquisition systems may not be performed.

[0213] In one embodiment, the assembly parameters may include the relative positional relationship of each image acquisition device in the image acquisition system and the parallelism of the optical axes of each image acquisition device.

[0214] In one embodiment, the relative attitude information between the various image acquisition devices in the image acquisition system is specified attitude information, which may include the relative positional relationship between the various image acquisition devices being specified positional relationship, and / or the optical axes of the various image acquisition devices being in a parallel state, etc.

[0215] As can be seen from the above, the parameter determination method provided in this application embodiment can calibrate a specified number of image acquisition systems under the condition that the assembly parameters of a specified number of image acquisition systems are obtained and the assembly parameters represent the relative attitude information between each image acquisition device in the specified number of image acquisition systems.

[0216] Therefore, the parameter determination method provided in this application embodiment achieves precise control over the calibration of a specified number of image acquisition systems. This not only improves the assembly consistency of the image acquisition systems but also enables precise control over the process of determining initial calibration parameters.

[0217] Figure 4 This is a schematic diagram of the process for obtaining initial calibration parameters provided in an embodiment of this application, as shown below. Figure 4 As shown, the process may include steps 401 to 409:

[0218] Step 401: Camera module consistency check.

[0219] For example, the conformance check of the camera module can be an operation performed by specialized instruments in the camera production assembly environment before the production assembly of the image acquisition system.

[0220] For example, consistency detection of camera modules may include checking whether the optical center of the camera modules is consistent, whether the light transmittance is consistent, and whether the refractive index is consistent.

[0221] For example, the camera module can be the image acquisition device in the foregoing embodiments.

[0222] Step 402: Determine whether the camera consistency meets the standard.

[0223] For example, specialized instruments in the camera production and assembly environment, and / or testing equipment in the image acquisition system, can determine whether the consistency of the cameras meets the standards; for example, determining the consistency of the cameras may include determining whether the optical centers of each camera are consistent and whether the focal length, etc., are consistent.

[0224] For example, if the camera consistency does not meet the standard, step 403 can be executed; for example, if the camera consistency meets the standard, step 404 can be executed.

[0225] Step 403: Output the first information.

[0226] For example, the detection equipment of the aforementioned professional instruments or image acquisition systems can output first information.

[0227] For example, the first information may include information about the camera module's inconsistency not meeting the standards, and may also include information about returning the camera module to the factory for repair.

[0228] Step 404: Assembly of the multi-camera system.

[0229] For example, the assembly equipment of the image acquisition system can perform the assembly operation of a multi-camera system; for example, the image acquisition system may include multiple cameras; for example, the multi-camera system may be the image acquisition system in the foregoing embodiments.

[0230] Step 405: Assembly consistency check.

[0231] For example, after the multi-camera system is assembled, the testing equipment can check the assembly consistency between the cameras in the multi-camera system; for example, the assembly consistency may include the parallel state of the optical axes of each camera, the relative positional relationship of each camera, etc.

[0232] Step 406: Determine whether the assembly consistency meets the standards.

[0233] For example, the testing equipment can determine whether the assembly consistency meets the standards, such as whether the optical axes of each camera are parallel, and whether the relative positional relationship between each camera is the specified positional relationship.

[0234] For example, if the assembly consistency does not meet the standard, step 407 can be executed; if the assembly consistency meets the standard, step 408 can be executed.

[0235] Step 407: Output the second information.

[0236] For example, the detection device may output second information; for example, the second information may include the optical axes of each camera being non-parallel or the relative positional relationship not being a specified positional relationship; for example, the second information may also include prompts for reassembly and re-performing assembly checks.

[0237] Step 408: Multi-camera system calibration.

[0238] For example, the detection device can perform a multi-camera system calibration operation; for example, the calibration operation of the multi-camera system can be implemented based on the method for calibrating a specified number of image acquisition systems provided in the foregoing embodiments.

[0239] Step 409: Obtain the initial calibration parameters.

[0240] For example, the testing equipment can obtain initial calibration parameters.

[0241] For example, after step 409 is completed, the parameter determination method provided in this application embodiment may further include Figure 5 The process shown; Figure 5 This is a schematic diagram of the process for obtaining the initial calibration parameters of the image acquisition system according to an embodiment of this application, as shown below. Figure 5 As shown, the process may include steps 501 to 502:

[0242] Step 501: Obtain the initial calibration parameters for a specified number of devices.

[0243] For example, the specified number of devices may include the electronic devices in the foregoing embodiments. For example, the electronic devices may be equipped with an image acquisition system or a multi-camera system.

[0244] For example, the method for obtaining initial calibration parameters provided in the foregoing embodiments can yield a specified number of initial calibration parameters.

[0245] Step 502: Obtain the initial calibration parameters of the image acquisition system with the specified structure.

[0246] For example, the initial calibration parameters of an image acquisition system with a specified structure can be the initial calibration parameters of a specified number of devices.

[0247] For example, the specified structure may include the structure of the image acquisition device of the image acquisition system in a specified number of devices.

[0248] For example, if the module consistency and assembly consistency of the image acquisition device in the image acquisition system with a specified structure meet the standards, the initial calibration parameters in the foregoing embodiments can be determined as the initial calibration parameters of the image acquisition system with the specified structure.

[0249] As can be seen from the above, in the parameter determination method provided in this application embodiment, under the condition that the consistency of the camera module and the assembly consistency of the multiple cameras meet the standards, the initial calibration parameters can be obtained by calibrating a specified number of multiple camera systems during the production and manufacturing process of the multi-camera system, and the initial calibration parameters can be applied to a large number of image acquisition systems, thereby reducing the cost of the image acquisition system in the production and manufacturing process; furthermore, by using the parameter determination method provided in this application embodiment, the k-th calibration parameter can be dynamically and flexibly determined during the use of the image acquisition system, which can also greatly improve the accuracy of the k-th calibration parameter, thereby meeting the diverse image acquisition needs of the image acquisition device.

[0250] Based on the foregoing embodiments, this application also provides an electronic device 6. Figure 6 This is a schematic diagram of the structure of the electronic device 6 provided in the embodiments of this application, as shown below. Figure 6 As shown, the electronic device 6 may include:

[0251] The processor 601 is configured to control at least two image acquisition devices in the image acquisition system 602 to acquire images respectively when the image acquisition system 602 is started for the kth time, so as to obtain at least two images; where k is an integer greater than or equal to 1;

[0252] The processor 601 is further configured to process at least two images to obtain a k-th correction parameter; wherein the k-th correction parameter includes image correction parameters between at least two image acquisition devices;

[0253] The processor 601 is also used to acquire reference calibration parameters;

[0254] The processor 601 is also used to obtain the kth calibration parameter based on the kth correction parameter and the reference calibration parameter.

[0255] In some embodiments, the processor 601 is configured to control at least two image acquisition devices to acquire images including the target object respectively;

[0256] Processor 601 is configured to process at least a portion of pixel data in an image including a target object based on a k-th correction parameter to obtain a first size; wherein the first size includes the size of at least a portion of a region of the target object; the at least a portion of the region corresponds to at least a portion of the pixel data;

[0257] The processor 601 is also configured to process at least a portion of the pixel data based on reference calibration parameters to obtain a second size;

[0258] Processor 601 is configured to determine a k-th calibration parameter from a k-th correction parameter and a reference calibration parameter based on a first dimension and a second dimension.

[0259] In some embodiments, the processor 601 is configured to obtain the target size of the target object; and determine the kth calibration parameter from the kth correction parameter and the reference calibration parameter based on the differences between the first size and the second size and the target size, respectively.

[0260] In some embodiments, the processor 601 is configured to acquire k-th state information; wherein the k-th state information includes at least one of the environmental information of the environment in which the image acquisition system 602 is located when the image acquisition system 602 is started for the kth time, and the motion state information of the image acquisition system 602 during the k-th time period; the k-th time period includes the time period before the k-th time the image acquisition system 602 is started.

[0261] The processor 601 is configured to process at least two images to obtain a k-th correction parameter if a first condition is met; wherein the first condition includes the degree of difference between the k-th state information and the historical state information being greater than a first threshold; the historical state information includes state information within the time period prior to the k-th time period.

[0262] In some embodiments, at least two image acquisition devices include a main image acquisition device and at least one secondary image acquisition device; at least two images include a first image acquired by the main image acquisition device and a second image acquired by at least one secondary image acquisition device; the k-th correction parameter includes image correction parameters between the main image acquisition device and at least one secondary image acquisition device.

[0263] Processor 601 is configured to perform feature extraction on a first image to obtain a first result; perform feature extraction on a second image to obtain a second result; and if a second condition is met, determine first data from the first result and determine second data from the second result; wherein the second condition includes that both the first result and the second result contain feature data of a specified object; the first data includes feature data of the specified object contained in the first result; the second data includes feature data of the specified object contained in the second result; and the specified object has at least specified edge features.

[0264] Processor 601 is used to process the correspondence between the first data and the second data to obtain the k-th correction parameter.

[0265] In some embodiments, the electronic device 6 may further include an output module for outputting a prompt message if the second condition is not met; wherein the prompt message includes at least a prompt to adjust the posture of the image acquisition system 602 to acquire image data including the specified object.

[0266] In some embodiments, the processor 601 is configured to acquire initial calibration parameters of the image acquisition system 602; wherein the initial calibration parameters include calibration parameters of a specified number of image acquisition systems 602 determined during the production assembly process;

[0267] Processor 601 is used to determine the reference calibration parameters as the initial calibration parameters.

[0268] In some embodiments, the processor 601 is configured to acquire acquisition parameters of the image acquisition device in each of the specified number of image acquisition systems 602; acquire structural information of the specified number of image acquisition systems 602; and, if a third condition is met, calibrate the specified number of image acquisition systems 602 based on the structural information to obtain initial calibration parameters; wherein the third condition includes that the degree of matching between the acquisition parameters of each image acquisition device in each of the specified number of image acquisition systems 602 is greater than or equal to a second threshold.

[0269] In some embodiments, the processor 601 is configured to acquire assembly parameters of a specified number of image acquisition systems 602; and if a fourth condition is met, to calibrate the specified number of image acquisition systems 602; wherein the fourth condition includes the assembly parameters indicating that the relative attitude information between the individual image acquisition devices in the specified number of image acquisition systems 602 is specified attitude information.

[0270] For example, processor 601 can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

[0271] Therefore, in the parameter determination method provided in this application embodiment, the k-th calibration parameter of the image acquisition system is not fixed, but is dynamically and flexibly determined based on the k-th correction parameter obtained from the k-th startup of the image acquisition system and the benchmark calibration parameter. Thus, the parameter determination method provided in this application embodiment not only dynamically and flexibly determines the k-th calibration parameter, but also incorporates the benchmark calibration parameter during the determination process, thereby enabling stable, flexible, and dynamic adjustment and determination of the calibration parameters of the image acquisition system, and ultimately meeting the actual image acquisition needs of the image acquisition system.

[0272] Based on the foregoing embodiments, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor of an electronic device, can implement the parameter determination method provided in any of the preceding embodiments.

[0273] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.

[0274] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0275] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0276] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0277] It should be noted that the aforementioned computer-readable storage media can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0278] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0279] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0280] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware nodes. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0281] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0282] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0283] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0284] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A parameter determination method, the method comprising: When the image acquisition system is started for the kth time, if the value of k is 1, at least two image acquisition devices in the image acquisition system are controlled to acquire images based on the reference calibration parameters to obtain at least two images. If k is greater than or equal to 2, the at least two image acquisition devices are controlled to acquire images based on the (k-1)th calibration parameters to obtain the at least two images. Here, k is an integer greater than or equal to 1. The at least two images are processed to obtain the k-th correction parameter; wherein, the k-th correction parameter includes the image correction parameter between the at least two image acquisition devices; the k-th correction parameter corrects for the difference in the change of the relative positional relationship between the two image acquisition devices; Obtain the reference calibration parameters; Based on the k-th correction parameter and the benchmark calibration parameter, the k-th calibration parameter is determined; the k-th calibration parameter is not fixed. The determination of the k-th calibration parameter based on the k-th correction parameter and the reference calibration parameter includes: Control the at least two image acquisition devices to acquire images including the target object respectively; Based on the k-th correction parameter, at least a portion of the pixel data in the image including the target object is processed to obtain a first size; wherein the first size includes the size of at least a portion of the target object; the at least a portion of the target object corresponds to the at least a portion of the pixel data. The at least portion of the pixel data is processed based on the reference calibration parameters to obtain a second size; Based on the first size and the second size, the kth calibration parameter is determined from the kth correction parameter and the reference calibration parameter.

2. The method according to claim 1, wherein, The step of determining the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter based on the first size and the second size includes: Obtain the target size of the target object; The k-th calibration parameter is determined from the k-th correction parameter and the reference calibration parameter based on the differences between the first dimension and the second dimension and the target dimension, respectively.

3. The method according to claim 1, wherein, The process of processing the at least two images to obtain the k-th correction parameter includes: Obtain the k-th state information; wherein, the k-th state information includes at least one of the environmental information of the environment in which the image acquisition system is located when the image acquisition system is started for the k-th time, and the motion state information of the image acquisition system during the k-th time period; the k-th time period includes the time period before the k-th start of the image acquisition system; If the first condition is met, the at least two images are processed to obtain the k-th correction parameter; wherein, the first condition includes the difference between the k-th state information and the historical state information being greater than a first threshold; the historical state information includes the state information within the time period before the k-th time period.

4. The method according to claim 1, wherein, The at least two image acquisition devices include a main image acquisition device and at least one secondary image acquisition device; the at least two images include a first image acquired by the main image acquisition device and a second image acquired by the at least one secondary image acquisition device; the k-th correction parameter includes image correction parameters between the main image acquisition device and the at least one secondary image acquisition device; The process of processing the at least two images to obtain the k-th correction parameter includes: Feature extraction is performed on the first image to obtain a first result; Feature extraction is performed on the second image to obtain the second result; If the second condition is met, first data is determined from the first result, and second data is determined from the second result; wherein, the second condition includes the fact that both the first result and the second result contain feature data of a specified object; the first data includes feature data of the specified object contained in the first result; the second data includes feature data of the specified object contained in the second result; the specified object has at least specified edge features; The correspondence between the first data and the second data is processed to obtain the k-th correction parameter.

5. The method according to claim 4, wherein, The method further includes: If the second condition is not met, a prompt message is output; wherein, the prompt message includes at least information prompting the image acquisition system to adjust its posture in order to acquire image data including the specified object.

6. The method according to claim 1, wherein, The acquisition of the reference calibration parameters includes: Obtain the initial calibration parameters of the image acquisition system; wherein the initial calibration parameters include a specified number of calibration parameters of the image acquisition system determined during the production assembly process; The reference calibration parameters are determined as the initial calibration parameters.

7. The method according to claim 6, wherein, The method further includes: Obtain the acquisition parameters of the image acquisition device in each of the specified number of image acquisition systems; Obtain the structural information of the specified number of image acquisition systems; If the third condition is met, the specified number of image acquisition systems are calibrated based on the structural information to obtain the initial calibration parameters; wherein, the third condition includes that the degree of matching between the acquisition parameters of each image acquisition system and each image acquisition device in the specified number of image acquisition systems is greater than or equal to a second threshold.

8. The method according to claim 7, wherein, The calibration of the specified number of image acquisition systems includes: Obtain the assembly parameters of the specified number of image acquisition systems; If the fourth condition is met, the specified number of image acquisition systems are calibrated; wherein, the fourth condition includes the assembly parameters indicating that the relative attitude information between each image acquisition device in the specified number of image acquisition systems is specified attitude information.

9. An electronic device, comprising an image acquisition system and a processor: The processor is configured to, upon the k-th activation of the image acquisition system, if k is 1, control at least two image acquisition devices in the image acquisition system to acquire images based on a reference calibration parameter, thereby obtaining at least two images; if k is greater than or equal to 2, control the at least two image acquisition devices to acquire images based on the (k-1)-th calibration parameter, thereby obtaining the at least two images; wherein... k is an integer greater than or equal to 1; The processor is further configured to process the at least two images to obtain a k-th correction parameter; acquire a reference calibration parameter of the image acquisition system; and obtain a k-th calibration parameter based on the k-th correction parameter and the reference calibration parameter; wherein the k-th correction parameter includes image correction parameters between the at least two image acquisition devices; the k-th correction parameter corrects for differences in the relative positional relationship of the two image acquisition devices; and the k-th calibration parameter is not fixed. The processor is further configured to control the at least two image acquisition devices to acquire images including the target object respectively; process at least a portion of the pixel data in the image including the target object based on the k-th correction parameter to obtain a first size; wherein the first size includes the size of at least a portion of the target object; the at least a portion of the target object corresponds to the at least a portion of the pixel data; process the at least a portion of the pixel data based on the reference calibration parameter to obtain a second size; and determine the k-th calibration parameter from the k-th correction parameter and the reference calibration parameter based on the first size and the second size.

Citation Information

Patent Citations

  • Differential calibration method, binocular vision system, and computer readable storage medium

    CN109417604A

  • Camera pose determination method and device, virtual object display method and device and electronic equipment

    CN113643356A

  • Display characteristic measurement device for display device

    JP1999041630A

  • System and method for validating camera calibration in a vision system

    US9734419B1