Light adjustment method for camera device, camera device and storage medium

By acquiring the integrated light inflow coefficient and light-related parameters of the imaging device, determining the light adjustment mode and adjusting the preset components, the problem of cumbersome light adjustment steps in the prior art is solved, and the accuracy and efficiency of light adjustment are improved.

CN119255112BActive Publication Date: 2025-03-07ZHEJIANG DAHUA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411780773.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-07
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

The existing camera equipment has cumbersome steps in the light adjustment process, resulting in low light adjustment efficiency.

Method used

By obtaining the integrated light input coefficient of the imaging device, determining the light adjustment mode, and adjusting the corresponding preset components according to the current light-related parameters, an adjustment reference table is established to improve subsequent adjustment efficiency.

Benefits of technology

Improves the accuracy and efficiency of light adjustment, reduces the time required for light adjustment, and achieves rapid light adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255112B_ABST
    Figure CN119255112B_ABST
Patent Text Reader

Abstract

The present application discloses a light adjustment method for a camera device, a camera device, and a storage medium. The method includes: obtaining a comprehensive light-incoming coefficient of the camera device; determining a light adjustment mode of the camera device using the comprehensive light-incoming coefficient; obtaining the current light-related parameters of the camera device; and determining the preset components that need to be adjusted in the light adjustment mode, wherein the preset components belong to the camera device, and different light adjustment modes correspond to different preset components; adjusting the current posture of the preset components using the light-related parameters to obtain light adjustment information; establishing an adjustment reference table based on the light adjustment information and the light adjustment mode, wherein the adjustment reference table is used as reference adjustment information for subsequent light adjustment of the camera device. The above scheme can improve the adjustment efficiency of light adjustment of the camera device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of camera equipment, and in particular to a light adjustment method for a camera equipment, a camera equipment, and a storage medium. Background Art

[0002] Camera equipment is used to capture images. During the image capture process, the imaging quality of the captured image is greatly affected by the light it captures. It is usually necessary to adjust the light to improve the captured image quality.

[0003] Currently, the steps for adjusting the light of a camera device are complicated and time-consuming, resulting in low efficiency of the light adjustment. Summary of the Invention

[0004] The main technical problem solved by the present application is to provide a light adjustment method for a camera device, a camera device and a storage medium, which can improve the adjustment efficiency of the light adjustment of the camera device.

[0005] In order to solve the above problems, the first aspect of the present application provides a light adjustment method for a camera device, the method comprising: obtaining a comprehensive light input coefficient of the camera device; determining a light adjustment mode of the camera device using the comprehensive light input coefficient; obtaining the current light-related parameters of the camera device; and determining the preset components that need to be adjusted under the light adjustment mode, wherein the preset components belong to the camera device, and different light adjustment modes correspond to different preset components; adjusting the current posture of the preset components using the light-related parameters to obtain light adjustment information; establishing an adjustment reference table based on the light adjustment information and the light adjustment mode, wherein the adjustment reference table is used as reference adjustment information for subsequent light adjustment of the camera device.

[0006] In order to solve the above problems, the second aspect of the present application provides a camera device, which includes a memory and a processor coupled to each other, the memory stores program data, and the processor is used to execute the program data to implement any step of the light adjustment method of the above-mentioned camera device.

[0007] In order to solve the above problems, the third aspect of the present application provides a computer-readable storage medium, which stores program data that can be executed by a processor, and the program data is used to implement any step of the light adjustment method of the above-mentioned camera device.

[0008] The beneficial effects of the present application are as follows: the present application obtains the comprehensive light-incoming coefficient of the camera device, and uses the comprehensive light-incoming coefficient to determine the light adjustment mode of the camera device. The current light adjustment mode can be determined according to the light of the environment, and then the current light-related parameters of the camera device are obtained, as well as the preset components that need to be adjusted under the light adjustment mode. The preset components belong to the camera device, and different light adjustment modes correspond to different preset components. The current posture of the preset components is adjusted using the light-related parameters to obtain light adjustment information. The postures of different preset components can be adjusted according to different light adjustment modes to achieve light adjustment of the camera device and improve the accuracy of light adjustment. In addition, an adjustment reference table can be established based on the light adjustment information and the light adjustment mode. The adjustment reference table can be used as reference adjustment information for subsequent light adjustment of the camera device, so that the light adjustment information corresponding to the light adjustment mode can be quickly determined in the subsequent readjustment process, and the light adjustment can be quickly performed, which can improve the overall adjustment efficiency of the light adjustment of the camera device.

[0009] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of this application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be derived from these drawings without inventive effort. Among them:

[0011] Figure 1 This is a flow chart of a first embodiment of a light adjustment method for an imaging device of the present application;

[0012] Figure 2 This application Figure 1 A flow chart of an embodiment of step S11;

[0013] Figure 3 This is a flow chart of a second embodiment of the light adjustment method for an imaging device of the present application;

[0014] Figure 4 This is a flow chart of a third embodiment of the light adjustment method for an imaging device of the present application;

[0015] Figure 5 This is a structural diagram of an embodiment of a light adjustment system for an imaging device of the present application;

[0016] Figure 6 It is a structural diagram of an embodiment of the camera device of the present application;

[0017] Figure 7 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0019] The terms "first" and "second" in this application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0020] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0021] The term "and / or" in this article is simply a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0022] This application provides the following embodiments, and each embodiment is described in detail below.

[0023] After long-term research, the inventors of this application found that the imaging quality of the image captured by the camera equipment is greatly affected by the light it collects, and the steps for adjusting the light of the camera equipment are cumbersome, and the light needs to be adjusted to the corresponding focus through the correction lens. The steps for light focus adjustment are relatively cumbersome. The cumbersomeness lies in the need to perform different focus adjustments according to the light in the working environment, which in turn causes the focus adjustment to take up a lot of time, making the light adjustment efficiency low.

[0024] In order to solve the above technical problems, the present application provides a light adjustment method for a camera device, a camera device and a storage medium, which can improve the adjustment efficiency of the light adjustment of the camera device.

[0025] It is understood that the light adjustment method for a camera device in this application can be executed by a camera device. The camera device can be any device with processing capabilities and camera functions, including hyperspectral cameras, digital cameras, single-lens reflex cameras, etc., and this application does not limit this. In some possible implementations, the light adjustment method for the camera device can be implemented by a processor calling program data stored in a memory.

[0026] See also Figure 1 , Figure 1 This is a flow chart of a first embodiment of a method for adjusting light levels in a camera device according to the present application. The method may include the following steps:

[0027] S11: Obtaining the comprehensive light-incoming coefficient of the camera device.

[0028] The comprehensive light-incoming coefficient of the camera device can be obtained during the operation of the camera device, that is, during the image acquisition process. For example, the current comprehensive light-incoming coefficient of the camera device can be obtained when the current image is acquired.

[0029] The imaging equipment includes hyperspectral cameras, digital cameras, SLR cameras, etc., and this application does not impose any restrictions on this. The following embodiments of this application are described using a hyperspectral camera as an example. Among them, the hyperspectral camera can be used to collect hyperspectral images. The hyperspectral camera integrates the detection technology of images and spectra, and can simultaneously obtain the spatial information and spectral information of the object to be measured. It can not only intuitively reflect the appearance texture characteristics of the research object, but also indirectly reflect the internal physical structure and quality component characteristics of the object like spectral information. This technology integrates digital cameras and spectral photography, and has the characteristics of high efficiency, real-time, online and other non-destructive testing. Among them, spectral cameras are widely used in environmental monitoring such as atmosphere and water quality.

[0030] In some embodiments, see Figure 2, step S11 of the above embodiment can be further expanded. To obtain the comprehensive light-incoming coefficient of the camera device, this embodiment may include the following steps:

[0031] S111: Acquire initial light input parameters, which include light propagation path parameters, light incident angle parameters, and light interference parameters.

[0032] The initial light input parameters include light propagation path parameters, light incident angle parameters and light interference parameters. Among them, the light interference parameters refer to the changes in light intensity, direction or phase caused by external factors during the propagation process. These interferences can come from a variety of physical effects, such as atmospheric turbulence, light diffraction, scattering, refraction, reflection, interference, etc. In different application scenarios, the method of obtaining light interference parameters will also be different. Exemplarily, the present application can directly measure the coefficient of variation of light intensity over time and space through a spectrometer to detect whether interference occurs, and use the light interference information corresponding to the coefficient of variation of light within a preset time range as the light interference parameter.

[0033] In some embodiments, the light propagation path parameters and the light incident angle parameters can be obtained based on the starting position and contact position of the light. Specifically, the starting position and contact position of the light entering the camera device can be obtained, wherein the contact position is the coordinate position where the light contacts the lens, and the starting position represents the coordinate position of the shooting auxiliary device or the coordinate position of the target object. The shooting auxiliary device can be used to assist in shooting when capturing images of the target object. For example, the shooting auxiliary device may include a target background plate, which is usually set behind the target object. During the image capture process, the target background plate can assist in controlling the light, so that the image quality captured by the hyperspectral camera is better. In the outdoor image capture process, the use of a target background plate can make the target object more prominent.

[0034] The light propagation path parameters can be obtained based on the starting position and the contact position. Specifically, the difference between the coordinates of the starting position and the contact position is first obtained to obtain the light propagation path distance. The light propagation path distance can be obtained using the following formula:

[0035] .

[0036] Where D represents the distance of the light propagation path, The coordinates representing the starting position of the ray, The coordinates representing the ray's impact position.

[0037] Then, the path information between the two points can be obtained based on the starting position of the light and the contact position of the light with the lens, and the path information and the light propagation path distance are associated to obtain the light propagation path parameters.

[0038] According to the starting position of the light and the contact position of the light on the lens, the connecting straight line between the two points is obtained, the angle between the lens surface and the connecting straight line is obtained, and the angle between the lens surface and the connecting straight line is used to determine the light incident angle parameter, that is, the information corresponding to the angle between the lens surface and the connecting straight line is used as the light incident angle parameter.

[0039] The above method obtains the starting position of the light and the contact position of the light with the lens, then obtains the distance of the light propagation path based on the starting position and contact position of the light, and then obtains the path information of the light in the path based on the light propagation path distance. Among them, the path information and the light propagation path distance are associated to obtain the light propagation path parameters, that is, the light propagation path information, and then the light can be adjusted according to the light propagation path parameters. Then, based on the starting position of the light and the contact position of the light with the lens, a connecting straight line is obtained between the two points. The obtained connecting straight line can truly reflect the irradiation path of the light, and the irradiation path is used as a virtual auxiliary line for measuring the refraction angle of the light. In this way, the light incident angle parameters can be obtained through the lens surface and the connecting straight line, and the light incident angle parameters can also be used to assist the lens in quickly adjusting the light convergence.

[0040] S112: extracting features of the light propagation path parameters, the light incident angle parameters, and the light interference parameters respectively to obtain light propagation path features, light incident angle features, and light interference features.

[0041] After obtaining the initial light input parameters, feature extraction is performed on the initial light input parameters, that is, feature extraction is performed on each light incident angle parameter, light interference parameter, and light propagation path parameter, and corresponding light propagation path features, light incident angle features, and light interference features are obtained respectively.

[0042] In some embodiments, the light incident angle feature is obtained by using the light incident angle parameter as the current incident angle during the acquisition of the current image, obtaining the difference between the current incident angle (the angle contacting the lens) and the adjusted incident angle (the angle leaving the lens), and dividing the difference by the current incident angle to obtain a ratio, and using the ratio as the light incident angle feature.

[0043] S113: Perform weighted processing on the light propagation path characteristics, the light incident angle characteristics, and the light interference characteristics to obtain a comprehensive light input coefficient.

[0044] In some embodiments, the light propagation path characteristics, light incident angle characteristics, and light interference characteristics may be weighted and processed with corresponding weights to obtain a comprehensive light-incoming coefficient.

[0045] In some embodiments, the incident angle feature and the light interference feature can be used to obtain the incident angle interference feature. Then, the light propagation path feature and the incident angle interference feature are weighted with the corresponding weights to obtain the comprehensive light-incoming coefficient.

[0046] The comprehensive light-incoming coefficient can be obtained by the following comprehensive light-incoming calculation formula:

[0047] .

[0048] in, Represents the comprehensive light-incoming coefficient, Represents the characteristics of the light propagation path, Represents the weight corresponding to the characteristics of the light propagation path, represents the incident angle characteristics of the light, represents the weight corresponding to the light incident angle feature, and e represents the light interference feature.

[0049] Continue reading Figure 1 After the above step S11, the following steps may be performed:

[0050] S12: Determine a light adjustment mode of the camera device using the comprehensive light input coefficient.

[0051] It is determined whether the comprehensive light-incoming coefficient meets the preset light-incoming coefficient range of the corresponding mode to determine the light adjustment mode of the camera device.

[0052] The light adjustment mode includes any one of a light compensation mode, a light suppression mode, and a normal mode. The light compensation mode is used to compensate for light in low light conditions, the light suppression mode is used to suppress light in high light conditions, and the normal mode does not require light adjustment.

[0053] In some embodiments, in response to the comprehensive light transmission coefficient satisfying a first preset light transmission coefficient condition, the current light adjustment mode of the camera device is determined to be the light compensation mode, wherein the first preset light transmission coefficient condition includes the comprehensive light transmission coefficient being less than the first preset light transmission coefficient.

[0054] In some embodiments, in response to the comprehensive light transmission coefficient satisfying a second preset light transmission coefficient condition, the current light adjustment mode of the imaging device is determined to be the light suppression mode. The second preset light transmission coefficient condition includes the comprehensive light transmission coefficient being greater than the second preset light transmission coefficient. The second preset light transmission coefficient is greater than or equal to the first preset light transmission coefficient. Thus, when the comprehensive light transmission coefficient falls within the interval between the first preset light transmission coefficient and the second preset light transmission coefficient, the imaging device is determined to be in normal mode.

[0055] Exemplarily, the second preset light-incoming coefficient is equal to the first preset light-incoming coefficient. For example, the preset light-incoming coefficient is 5. If the comprehensive light-incoming coefficient is equal to 5, it is determined to be in normal mode and no light adjustment is required. If the comprehensive light-incoming coefficient is less than 5, it is determined to be in light compensation mode. If the comprehensive light-incoming coefficient is greater than 5, it is determined to be in light suppression mode. For example, the light propagation path characteristic is 5, and its corresponding weight is 0.8, the light incident angle characteristic is 2, and its corresponding weight is 1.2, and the light interference characteristic is 0.5. The above-mentioned comprehensive light-incoming calculation formula yields the comprehensive light-incoming coefficient j(i)=5*0.8+2*1.2*0.5=4.8. If its comprehensive light-incoming coefficient is less than 5, it is determined to be in light compensation mode.

[0056] Through the above method, the light environment of the hyperspectral camera can be quickly classified and the current light adjustment mode can be determined to determine whether light compensation or light suppression is required, so that the light adjustment of the hyperspectral camera can be segmented.

[0057] S13: Obtain current light-related parameters of the camera device.

[0058] The current light-related parameters of the imaging device may refer to light-related parameters that can be obtained based on the light after the light enters the imaging device.

[0059] In some embodiments, the light-related parameters include at least one of a light focusing parameter and a light attenuation parameter. The light focusing parameter can indicate the degree of light concentration or focus. The light attenuation parameter can indicate the degree of light attenuation, such as distance attenuation and / or angle attenuation. Distance attenuation refers to the rate at which light attenuates with distance, and angle attenuation refers to the attenuation of light when it deviates from the center angle. The specific implementation process for obtaining the current light-related parameters can be found in the following embodiments. This application does not limit the light-related parameters.

[0060] In some embodiments, in the light compensation mode, the corresponding light-related parameters include light focusing parameters. In the light suppression mode, the corresponding light-related parameters include light attenuation parameters.

[0061] S14: Determine the preset component that needs to be adjusted in the light adjustment mode, wherein the preset component belongs to the camera device, and different light adjustment modes correspond to different preset components.

[0062] After determining the light adjustment mode, the preset components that need to be adjusted under the light adjustment mode can be determined. The preset components are components of the camera equipment, such as lenses, etc. Different light condition modes correspond to different preset components, so that the corresponding components can be adjusted according to different light adjustment modes.

[0063] In some embodiments, when the light adjustment mode is a light compensation mode, the preset component to be adjusted in the light compensation mode includes a lens. For example, the displacement distance of the lens can be adjusted. The lens is installed inside the camera device, and light adjustment can be achieved by adjusting the displacement distance of the lens.

[0064] In some embodiments, when the light adjustment mode is the light suppression mode, the preset component to be adjusted in the light suppression mode includes a lens. For example, the focus distance and lens direction of the lens can be adjusted to achieve light adjustment.

[0065] S15: Using the light-related parameters to adjust the current posture of the preset component to obtain light adjustment information.

[0066] After determining the current light adjustment mode, the current light-related parameters of the camera device can be obtained, and then the current posture of the preset component can be adjusted using the light-related parameters to achieve light compensation or light suppression, and obtain light adjustment information. Among them, the current posture of the preset component can refer to the posture of the preset component of the camera device, such as angle, displacement, or position. Different light adjustment modes can correspond to different light-related parameters, different preset components, etc. In some application scenarios, the light adjustment of this part can be multiple adjustments or one adjustment to determine the adjusted posture to achieve light compensation or light suppression, meet the conditions for light adjustment, and obtain light adjustment information.

[0067] In some embodiments, in response to the light adjustment mode being the light compensation mode, the displacement distance of the lens is adjusted using the current light focusing parameters of the camera device to obtain the first light adjustment information.

[0068] In some embodiments, in response to the light adjustment mode being the light suppression mode, the lens direction and / or focus distance of the lens may be adjusted using the current light attenuation parameters of the camera device to obtain second light adjustment information.

[0069] S16: establishing an adjustment reference table based on the light adjustment information and the light adjustment mode, wherein the adjustment reference table is used as reference adjustment information for subsequent light adjustment of the camera device.

[0070] An adjustment reference table can be established based on the current light adjustment mode and light adjustment information, so that the adjustment reference table can be used as reference adjustment information for subsequent light adjustment of the camera device. In the subsequent light adjustment process, the recorded light adjustment information can be referred to and the light adjustment can be performed in the corresponding light adjustment mode, thereby realizing adaptive adjustment of the light of the hyperspectral camera in the corresponding light adjustment mode. The above method can determine the light adjustment mode of the hyperspectral camera according to the incoming light parameters, which can be divided into light compensation mode and light suppression mode. The ambient light of the hyperspectral camera can be quickly and targetedly classified, and the different light adjustment modes can be refined. The light adjustment of the hyperspectral camera can be quickly performed, and different focus adjustments can be made to the light compensation mode and the light suppression mode respectively. In the subsequent light adjustment process, the light adjustment information can be referred to for light adjustment, thereby improving the light adjustment efficiency.

[0071] In some embodiments, the first light adjustment information and the second light adjustment information can be used to adaptively adjust the light of the hyperspectral camera during a subsequent light adjustment process. Specifically, the first light adjustment information and the second light adjustment information can be used as reference adjustment information, so that during the subsequent light adjustment process, corresponding new light adjustment information can be determined based on the first light adjustment information and the second light adjustment information, and the light of the hyperspectral camera in the corresponding light adjustment mode can be adaptively adjusted.

[0072] The above scheme obtains the comprehensive light-incoming coefficient of the camera device and uses the comprehensive light-incoming coefficient to determine the light adjustment mode of the camera device. The current light adjustment mode can be determined according to the light of the environment. Then, the current light-related parameters of the camera device are obtained, and the preset components that need to be adjusted under the light adjustment mode are determined. The preset components belong to the camera device, and different light adjustment modes correspond to different preset components. The current posture of the preset components is adjusted using the light-related parameters to obtain light adjustment information. The postures of different preset components can be adjusted according to different light adjustment modes to achieve light adjustment of the camera device and improve the accuracy of light adjustment. In addition, an adjustment reference table can be established based on the light adjustment information and the light adjustment mode. The adjustment reference table can be used as reference adjustment information for subsequent light adjustment of the camera device, so that in the subsequent readjustment process, the light adjustment information corresponding to the light adjustment mode can be quickly determined, and the light adjustment can be quickly performed, so that the camera device can quickly focus and adjust the light under different light adjustment modes, reducing the time required for focus adjustment and improving the overall adjustment efficiency of light adjustment of the camera device.

[0073] In some embodiments, in the above step S16, an adjustment reference table is established, specifically as follows:

[0074] An adjustment reference table is established based on the first light adjustment information and the light compensation mode, and the second light adjustment information and the light suppression mode. The adjustment reference table records a first correlation mapping relationship between the light focusing parameter and the first light adjustment information in the light compensation mode, and a second correlation mapping relationship between the light attenuation parameter and the second light adjustment information in the light suppression mode.

[0075] Optionally, the adjustment reference table may record corresponding light adjustment modes and corresponding light adjustment information for a preset number of times or each light adjustment process.

[0076] Optionally, the adjustment reference table may record a first association mapping relationship between a plurality of light focusing parameters and corresponding first light adjustment information, to indicate that when the imaging device is at the recorded light focusing parameters, the corresponding lens may be adjusted according to the corresponding first light adjustment information.

[0077] Optionally, the adjustment reference table may record a second association mapping relationship between a plurality of light attenuation parameters and corresponding second light adjustment information, to indicate that when the camera device is at the recorded light attenuation parameters, the corresponding lens may be adjusted according to the corresponding first light adjustment information.

[0078] In some embodiments, during a subsequent light adjustment process, the new light-related parameters are matched against an adjustment reference table to find light-related parameters that meet a matching condition with the new light-related parameters, thereby determining the light adjustment information corresponding to the recorded light-related parameters as the new light adjustment information. The matching condition includes: a difference between the new light-related parameters and the recorded light-related parameters being less than a preset difference.

[0079] In some embodiments, during the subsequent light adjustment process, the hyperspectral camera can be adaptively adjusted in light compensation mode and light suppression mode according to the adjustment reference table. In response to being in the light compensation mode again, the new light focusing parameters of the camera device and the first associated mapping relationship corresponding to the adjustment reference table can be used to determine new first light adjustment information. Specifically, in the process of determining the corresponding new first light adjustment information, the new light focusing parameters can be matched with the adjustment reference table, and according to the first associated mapping relationship, the light focusing parameters that meet the matching conditions with the new light focusing parameters are searched, thereby determining the first light adjustment information corresponding to the recorded light focusing parameters as the new first light adjustment information for adjusting the displacement distance of the lens. The matching condition includes: the difference between the new light focusing parameters and the recorded light focusing parameters is less than the first preset difference.

[0080] In some embodiments, in response to the camera being in light suppression mode again, new second light adjustment information is determined using the camera's new light attenuation parameters and a corresponding second association mapping relationship in an adjustment reference table. Specifically, the new light attenuation parameters can be matched with the adjustment reference table, and based on the second association mapping relationship, a light attenuation parameter that meets a matching condition with the new light attenuation parameters is searched. Thus, the second light adjustment information corresponding to the recorded light attenuation parameters is determined as the new second light adjustment information for adjusting the lens's focus distance and / or lens orientation. The matching condition includes: a difference between the new light attenuation parameters and the recorded light attenuation parameters being less than a second preset difference.

[0081] In some embodiments, during the subsequent light adjustment process, if there is no matching first light adjustment information or second light adjustment information in the adjustment reference table in the corresponding light adjustment mode, that is, in response to the fact that there are no light-related parameters in the adjustment reference table that meet the matching conditions with the new light-related parameters, new light adjustment information can be determined according to the above steps S11 to S16, and the new light adjustment information can continue to be added to the adjustment reference table, so that the adjustment reference table can be continuously updated, the efficiency and accuracy of light adjustment can be improved, and light adjustment can be performed adaptively.

[0082] In the above scheme, since the hyperspectral camera needs to specifically distinguish the light adjustment mode (such as light suppression mode, light compensation mode) each time before performing light adjustment, the posture of the preset component adjustment (such as the displacement distance of the lens) needs to be recalculated each time. Based on this, the present application establishes an adjustment reference table according to the first light adjustment information and the second light adjustment information, wherein the establishment of the adjustment reference table is to associate and map the light adjustment information and light-related parameters for multiple adjustments of the preset component. In this way, after distinguishing the light suppression mode and the light compensation mode, the current light-related parameters can be obtained, and the current light-related parameters can be compared with the adjustment reference table to obtain the posture of the adjustment closest to the preset component, so that the posture that needs to be adjusted can be quickly determined, and the lens, lens and other components of the hyperspectral camera can be quickly adjusted. Similarly, the adjustment reference table can be referred to for adaptive adjustment of light in the light suppression mode and the light compensation mode.

[0083] In some embodiments, for the above steps S13 to S16, light adjustment can be performed separately in the light compensation mode and the light suppression mode. For details, please refer to the following embodiments.

[0084] See also Figure 3 , Figure 3 This is a flow chart of a second embodiment of the light adjustment method for a camera device of the present application. Light adjustment is performed in the light compensation mode. The method may include the following steps:

[0085] S21: Acquire dark light parameters of a shooting environment, and extract light source quality parameters according to the dark light parameters of the shooting environment, wherein the light source quality parameters include the brightness of the light source and the number of light sources.

[0086] With the hyperspectral camera in light compensation mode, the dark light parameters of the shooting environment are first acquired. These parameters can be obtained based on the spectral sensor in the hyperspectral camera. These parameters primarily include light intensity, which refers to the total amount of light falling on the surface of the target object. These parameters are typically measured in lux. Low light intensity indicates low ambient light. Next, light source quality parameters are extracted based on the dark light parameters. These parameters include the brightness and quantity of the light sources.

[0087] S22: Determine the overall brightness based on the brightness and quantity of the light sources.

[0088] The brightness and number of light sources are combined, for example, by summing the brightness and number of light sources to obtain the comprehensive brightness. The comprehensive brightness can be used to quickly obtain the light quality of the current environment. The comprehensive brightness of the incoming light can be calculated based on the brightness and number of light sources using the following comprehensive brightness calculation formula, where the calculation formula is:

[0089] .

[0090] in, Indicates the overall brightness and darkness, Indicates the brightness of the light source, and n indicates the number of light sources.

[0091] Through the above method, the comprehensive brightness of the incoming light can be calculated according to the brightness and number of the light sources. The comprehensive brightness can be used to determine the intensity of the light in the environment where the current hyperspectral camera is located, and then the light of the hyperspectral camera in the current light environment can be adjusted in a targeted manner.

[0092] S23: Analyze the comprehensive brightness and darkness to obtain light focusing parameters.

[0093] The comprehensive brightness is analyzed and processed to obtain the divergence frequency of the light. The divergence frequency of the light refers to the distribution characteristics of the light source in space, that is, the intensity distribution of the light source at different wavelengths. The intensity of the light can be judged by the divergence frequency of the light. Then, the light focusing parameter can be obtained based on the divergence frequency of the light. The light focusing parameter can be defined as the degree to which the light changes from a divergent state to a concentrated state, which is usually related to the focal length, shape and material of the lens. For example, in the case of the lens using standard parts (such as lenses with preset standard shapes and materials) in this application, other shapes and materials can be referred to as light interference information.

[0094] S24: adjusting the displacement distance of the lens using the light focusing parameter to obtain first light adjustment information.

[0095] The displacement distance of the lens can be obtained according to the light focusing parameter, and the light is adjusted according to the displacement distance of the lens to obtain first light adjustment information, wherein the lens is used to adjust the light of the hyperspectral camera, and the lens is installed in the hyperspectral camera.

[0096] In some embodiments, the displacement distance of the lens can be obtained based on the distance from the image to the lens and the light focusing parameters. Specifically, the distance formula of the lens is: , where f is the focal length of the lens, u is the distance from the target object to the lens, and v is the distance from the image to the lens. In the process of adjusting the displacement distance of the lens using the light focusing parameters, first, the relevant information of the initial position of the lens is recorded, such as the distance X from the initial position of the lens to the image sensor, or the distance Y from the initial position of the lens to the light source. The following description takes the distance X from the initial position of the lens to the image sensor as an example. By adjusting the position of the lens multiple times, the light focusing parameters corresponding to each position are obtained respectively. After obtaining the light focusing parameters, the focusing conditions of different gradient lights in a weak light environment can be determined. For example, the focusing conditions include whether the light focusing parameters meet the light adjustment conditions, or whether the image quality meets the imaging adjustment conditions, or whether the adjusted light meets the preset light conditions. In this way, the target position of the lens can be determined. For example, the target position can be the optimal position. By adjusting the position of the lens and observing the change in image quality, when the lens is at a certain specific position, the image quality will reach the best, and this position is determined as the target position. The displacement distance of the lens can be obtained according to the light focusing parameters, and then the displacement distance of the lens can be adjusted according to the focusing conditions. Therefore, the light of the hyperspectral camera can be adjusted in a dark light environment through the displacement distance of the lens, and the first light adjustment information can be obtained.

[0097] For example, a hyperspectral camera is used in a dark environment to capture an image of a target 3 meters away from the hyperspectral camera. 3 meters is equivalent to 3000 mm. If the camera is adjusted to the target position, the focal length of the lens (i.e., the light focusing parameter) is 50 mm. The distance formula of the lens is: , we can obtain the image-to-lens distance v = 50.02mm. At this point, when adjusting the lens displacement distance, for example, if the initial lens position is X from the image sensor, the lens needs to be adjusted to a position of X + 50.02 or 50.02 − X to achieve the target position and achieve light adjustment in light compensation mode. The above values ​​are for illustrative purposes only and are not limited to specific values ​​in this application.

[0098] In the above solution, when in the light compensation mode, the displacement distance of the lens can be quickly adjusted according to the light focusing parameter to obtain the first light adjustment information.

[0099] See also Figure 4 , Figure 4 This is a flow chart of a third embodiment of the light adjustment method for a camera device of the present application. Light adjustment is performed in the light suppression mode. The method may include the following steps:

[0100] S31: Obtain light characteristic parameters; wherein the light characteristic parameters include light focusing propagation distance and light refraction angle.

[0101] Optionally, characteristic parameters of light related to a shooting auxiliary device or a target object may be obtained, wherein the shooting auxiliary device may be used to assist in shooting. This application is described by taking the shooting auxiliary device including a target object background plate as an example.

[0102] During image acquisition by a hyperspectral camera, for example, when capturing an image of a target object, when light strikes the target, the object absorbs, reflects, or transmits portions of the spectrum. The hyperspectral camera can then collect this reflected or transmitted light. When the ambient light is in light suppression mode, the camera can first acquire the light characteristic parameters of the target background. These parameters include the light refraction angle and the light focusing and propagation distance. Light attenuation parameters can then be derived based on the light refraction angle and the light focusing and propagation distance. This light attenuation parameter can be used to adjust the direction and focusing distance of the camera lens, thereby controlling the distance between the camera and the target background.

[0103] S32: Determine the resolution and focusing accuracy values ​​using the light focusing propagation distance.

[0104] Since the imaging quality of a hyperspectral camera is essentially related to light, this application obtains imaging information of the corresponding distance based on the focused propagation distance of the light, and extracts the pixel resolution based on the imaging information. The resolution obtained in this way can more accurately determine whether the light is adjusted normally. Then, based on the focused propagation distance of the light, multiple focal positions on the corresponding path are obtained, and the difference between the multiple focal positions and the preset focal position is calculated to obtain multiple deviation distances. The focus accuracy value is obtained based on the multiple deviation distances. Among them, the focus accuracy value is defined as the resolution divided by the absolute value of the deviation distance.

[0105] In some embodiments, test points can be set at preset intervals based on the distance between the target object and the imaging device. A preset focus position for the imaging device can be determined based on each test point. Consequently, the difference between multiple focus positions and the preset focus position can be calculated to obtain multiple deviation distances. The resolution can then be measured at the preset focus position to obtain the resolution. The focus accuracy value can then be calculated by dividing the resolution by the absolute value of the deviation distance.

[0106] For example, the focal length of the lens is 50mm, and the target is 1000mm away from the camera. A test point can be set every 50mm between the distance between the target and the camera of 900mm and 1100mm, for a total of 5 test points. By adjusting the lens, it is found that the image at 1000mm is the clearest, which is used as the preset focus position, that is, the relatively ideal focus position. The images at other positions are blurrier than the ideal focus position. Therefore, the deviation distances can be obtained as ±50mm, ±100mm, and ±150mm, respectively. At the preset focus position, the measured pixel resolution is 10lp / mm, while at the position of ±150mm, the resolution drops to 5lp / mm, where the focus accuracy value is defined as the resolution divided by the absolute value of the deviation distance. Therefore, the focus accuracy value at the position of ±150mm is 5lp / mm divided by 150mm=0.0333lp / mm². In some application scenarios, if the preset focus accuracy threshold is 0.05lp / mm², it means that the light adjustment at the position of ±150mm is still acceptable, but the lens position needs to be further optimized to 1000mm to improve the overall imaging quality. In this way, after obtaining multiple deviation distances, the focus accuracy value can be obtained according to the multiple deviation distances, and the optimal focus accuracy value can be determined. Then, the focus accuracy value can be used to analyze the light control and adjustment of the hyperspectral camera, so that the focus distance from the hyperspectral camera to the target object background plate can be more accurately controlled through the light attenuation parameters, so that the hyperspectral camera can work more efficiently. The above-mentioned numerical values ​​are only used for illustration, and this application does not limit the specific numerical values.

[0107] S33: performing weighted processing on the light refraction angle, resolution, and focusing accuracy values ​​and corresponding weights respectively to obtain a light attenuation parameter.

[0108] The light refraction angle, resolution, and focus accuracy values ​​are weighted with their corresponding weights to obtain a light attenuation parameter. The light refraction angle, resolution, and focus accuracy values ​​each correspond to a weight. This application does not impose any restrictions on the weights.

[0109] In some embodiments, the light refraction angle, resolution, and focusing accuracy values ​​may be input into a light energy extraction model for processing, such as weighted processing or training, to obtain a light attenuation value. The function formula of the light energy extraction model is:

[0110] .

[0111] in, Represents the light attenuation parameter, represents the angle of refraction of light, Indicates the weight corresponding to the refraction angle of light; Indicates resolution, Indicates the weight corresponding to the resolution; Represents the focusing accuracy value, and c represents the weight corresponding to the focusing accuracy value.

[0112] S34: adjusting the focus distance and / or lens direction of the lens using the light attenuation parameter to obtain second light adjustment information.

[0113] By changing the lens direction and focusing distance of the hyperspectral camera, the target object background plate with strong light can be avoided by changing the lens direction and focusing distance. After avoidance, the hyperspectral camera can reduce the impact of strong light and obtain the second light adjustment information.

[0114] In some embodiments, the lens direction and focus distance can be adjusted multiple times to avoid the target background with strong light. After adjustment, if the light meets the preset light conditions, the adjusted lens direction and focus distance are recorded to obtain the second light adjustment information.

[0115] In the above solution, when in the light suppression mode, the focus distance and / or lens direction of the lens can be quickly adjusted according to the light attenuation parameter to obtain the second light adjustment information.

[0116] It is understandable that in the above method of the specific implementation method, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0117] Regarding the above embodiment, the present application also provides a light adjustment system for an imaging device, which is used to implement the above light adjustment method for the imaging device.

[0118] See also Figure 5 , Figure 5 1 is a schematic diagram of the structure of an embodiment of a light adjustment system for an imaging device of the present application. The light adjustment system 40 for an imaging device includes: a light acquisition module 41, a mode determination module 42, a parameter acquisition module 43, a preset component module 44, a light adjustment module 45, and a reference table module 46. Each module can be interconnected.

[0119] The light acquisition module 41 is used to obtain the comprehensive light input coefficient of the camera device.

[0120] The mode determination module 42 is used to determine the light adjustment mode of the camera device using the comprehensive light input coefficient.

[0121] The parameter acquisition module 43 is used to obtain the current light-related parameters of the camera device.

[0122] The preset component module 44 is used to determine the preset components that need to be adjusted in the light adjustment mode, wherein the preset components belong to the camera device, and different light adjustment modes correspond to different preset components.

[0123] The light adjustment module 45 is used to adjust the current posture of the preset component using light-related parameters to obtain light adjustment information.

[0124] The reference table module 46 is used to establish an adjustment reference table based on the light adjustment information and the light adjustment mode, wherein the adjustment reference table is used as reference adjustment information for subsequent light adjustment of the camera device.

[0125] In some embodiments, the light adjustment mode includes any one of a light compensation mode and a light suppression mode. The corresponding preset component to be adjusted in the light compensation mode includes a lens, and the corresponding preset component to be adjusted in the light suppression mode includes a lens; the light-related parameters include at least one of a light focusing parameter and a light attenuation parameter.

[0126] In some embodiments, the light acquisition module 41 is also used to obtain initial light input parameters, which include light propagation path parameters, light incident angle parameters, and light interference parameters; feature extraction is performed on the light propagation path parameters, light incident angle parameters, and light interference parameters respectively to obtain light propagation path features, light incident angle features, and light interference features; and weighted processing is performed on the light propagation path features, light incident angle features, and light interference features to obtain a comprehensive light input coefficient.

[0127] In some embodiments, the light acquisition module 41 is also used to obtain the starting position and contact position of the light entering the camera device, wherein the contact position is the coordinate position where the light contacts the lens; based on the starting position and the contact position, the light propagation path parameters are obtained; the connecting straight line between the starting position and the contact position is obtained, and the light incident angle parameters are determined using the angle between the lens surface and the connecting straight line.

[0128] In some embodiments, the mode determination module 42 is also used to determine that the current light adjustment mode of the camera device is a light compensation mode in response to the comprehensive light input coefficient satisfying a first preset light input coefficient condition; or, in response to the comprehensive light input coefficient satisfying a second preset light input coefficient condition, determine that the current light adjustment mode of the camera device is a light suppression mode.

[0129] In some embodiments, the light-related parameters include light focusing parameters. The parameter acquisition module 43 is further configured to acquire the dark light parameters of the shooting environment and extract the light source quality parameters based on the dark light parameters of the shooting environment. The light source quality parameters include the brightness of the light source and the number of light sources; the brightness and number of the light sources are combined to determine the comprehensive brightness; and the comprehensive brightness is analyzed to obtain the light focusing parameters.

[0130] In some embodiments, the light-related parameters include at least one of the light attenuation parameters. The parameter acquisition module 43 is further configured to acquire light characteristic parameters, including the light focusing propagation distance and the light refraction angle. The light focusing propagation distance is used to determine the resolution and focus accuracy values. The light refraction angle, resolution, and focus accuracy values ​​are weighted with corresponding weights to obtain the light attenuation parameters.

[0131] In some embodiments, the light adjustment module 45 is further used to adjust the displacement distance of the lens using the current light focusing parameters of the camera device in response to the light adjustment mode being the light compensation mode, so as to obtain first light adjustment information; or, in response to the light adjustment mode being the light suppression mode, adjust the focusing distance and / or lens direction of the lens using the current light attenuation parameters of the camera device, so as to obtain second light adjustment information.

[0132] In some embodiments, the reference table module 46 is also used to establish an adjustment reference table based on the first light adjustment information and the light compensation mode, and the second light adjustment information and the light suppression mode; wherein the adjustment reference table records a first associated mapping relationship between the light focusing parameter and the first light adjustment information in the light compensation mode; and a second associated mapping relationship between the light attenuation parameter and the second light adjustment information in the light suppression mode.

[0133] In some embodiments, the light adjustment module 45 is further configured to determine corresponding new light adjustment information during a subsequent light adjustment process. In response to the camera being in the light compensation mode again, the camera may determine new first light adjustment information using the camera's new light focusing parameters and the corresponding first association mapping relationship in the adjustment reference table. Alternatively, in response to the camera being in the light suppression mode again, the camera may determine new second light adjustment information using the camera's new light attenuation parameters and the corresponding second association mapping relationship in the adjustment reference table.

[0134] It should be noted that the light adjustment system for the imaging device provided in the above embodiment and the light adjustment method for the imaging device provided in the above embodiment are based on the same concept. The specific manner in which the various modules and units perform their operations has been described in detail in the method embodiments and will not be repeated here. In actual applications, the light adjustment system for the imaging device provided in the above embodiment can, as needed, allocate the above functions to different functional modules, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above. This application is not limited to this.

[0135] For the above embodiment, this application provides a camera device, see Figure 6 , Figure 6 FIG2 is a schematic diagram of the structure of an embodiment of the imaging device of the present application. The imaging device 50 includes a memory 51 and a processor 52, wherein the memory 51 and the processor 52 are coupled to each other, the memory 51 stores program data, and the processor 52 is configured to execute the program data to implement the steps of any embodiment of the light adjustment method for the imaging device described above.

[0136] In this embodiment, the processor 52 may also be referred to as a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip with signal processing capabilities. The processor 52 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. A general-purpose processor may be a microprocessor, or the processor 52 may be any conventional processor.

[0137] The method of the above embodiment can be implemented in the form of a computer program, so this application proposes a computer readable storage medium, please refer to Figure 7 , Figure 7 The computer-readable storage medium 60 stores program data 61 that can be executed by a processor, and the program data 61 can be executed by the processor to implement the steps of any embodiment of the light adjustment method for the above-mentioned camera device.

[0138] The computer-readable storage medium 60 in this embodiment can be a medium that can store program data 61, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or can also be a server that stores the program data 61. The server can send the stored program data 61 to other devices for execution, or can also execute the stored program data 61 itself.

[0139] In some embodiments, the functions or modules included in the device provided in the above embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, this application will not go into details here.

[0140] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other. For the sake of brevity, this application will not go into details here.

[0141] The above description is merely an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A light adjustment method for a camera device, characterized in that: include: Obtain the comprehensive light-incoming coefficient of the camera device; Determining a light adjustment mode of the camera device by using the comprehensive light-incoming coefficient; Obtaining current light-related parameters of the camera device; as well as Determine a preset component that needs to be adjusted in the light adjustment mode, wherein the preset component belongs to the camera device, and different light adjustment modes correspond to different preset components; Using the light-related parameters to adjust the current posture of the preset component to obtain light adjustment information; Establishing an adjustment reference table based on the light adjustment information and the light adjustment mode, wherein the adjustment reference table is used as reference adjustment information for performing light adjustment on the camera device again later; The light adjustment mode includes any one of a light compensation mode and a light suppression mode; the corresponding preset component to be adjusted in the light compensation mode includes a lens; the corresponding preset component to be adjusted in the light suppression mode includes a lens; the light-related parameters include at least one of a light focusing parameter and a light attenuation parameter; and the current posture of the preset component is adjusted by using the light-related parameters to obtain the light adjustment information, including: In response to the light adjustment mode being the light compensation mode, adjusting the displacement distance of the lens using the current light focusing parameters of the camera device to obtain first light adjustment information; or In response to the light adjustment mode being the light suppression mode, the focus distance and / or lens direction of the lens are adjusted using the current light attenuation parameter of the camera device to obtain second light adjustment information.

2. The method according to claim 1, characterized in that: The light-related parameters include: light focusing parameters; the step of obtaining the current light-related parameters of the camera device includes: Acquire a dark light parameter of a shooting environment, and extract a light source quality parameter according to the dark light parameter of the shooting environment, wherein the light source quality parameter includes the brightness of the light source and the number of light sources; Determine the comprehensive brightness by comprehensively considering the brightness of the light source and the number of the light sources; The comprehensive brightness is analyzed to obtain the light focusing parameter.

3. The method according to claim 1, characterized in that The light-related parameters include: light attenuation parameters; the step of obtaining the current light-related parameters of the camera device includes: Acquire light characteristic parameters; wherein the light characteristic parameters include light focusing propagation distance and light refraction angle; Determine the resolution and focusing accuracy values ​​using the focused propagation distance of the light; The light refraction angle, the resolution and the focusing accuracy value are weighted with corresponding weights to obtain the light attenuation parameter.

4. The method according to claim 1, characterized in that: The establishing of an adjustment reference table based on the light adjustment information and the light adjustment mode includes: Establishing the adjustment reference table according to the first light adjustment information and the light compensation mode, and the second light adjustment information and the light suppression mode; The adjustment reference table records a first associated mapping relationship between the light focusing parameter and the first light adjustment information in the light compensation mode; and a second associated mapping relationship between the light attenuation parameter and the second light adjustment information in the light suppression mode; And / or, the adjustment reference table is used as reference adjustment information for subsequent light adjustment of the camera device, including: In response to being in the light compensation mode again subsequently, determining new first light adjustment information using new light focusing parameters of the camera device and the corresponding first association mapping relationship in the adjustment reference table; or, In response to being in the light suppression mode again subsequently, new second light adjustment information is determined using the new light attenuation parameter of the camera device and the corresponding second association mapping relationship in the adjustment reference table.

5. The method according to claim 1, characterized in that The light adjustment mode includes any one of a light compensation mode and a light suppression mode; The step of determining the light adjustment mode of the camera device by using the comprehensive light-incoming coefficient includes: In response to the comprehensive light-incoming coefficient satisfying a first preset light-incoming coefficient condition, determining that the current light adjustment mode of the camera device is the light compensation mode; or, In response to the comprehensive light-incoming coefficient satisfying a second preset light-incoming coefficient condition, it is determined that the current light adjustment mode of the camera device is the light suppression mode.

6. The method according to claim 1, characterized in that The step of obtaining a comprehensive light-incoming coefficient of the camera device includes: Acquiring initial light input parameters, wherein the initial light input parameters include light propagation path parameters, light incident angle parameters, and light interference parameters; Extracting features of the light propagation path parameter, the light incident angle parameter and the light interference parameter respectively to obtain light propagation path features, light incident angle features and light interference features; The light propagation path characteristics, light incident angle characteristics and light interference characteristics are weighted to obtain the comprehensive light intake coefficient.

7. The method according to claim 6, characterized in that The obtaining of initial light input parameters includes: Acquire the starting position and contact position of the light entering the imaging device, wherein the contact position is the coordinate position where the light contacts the lens; Based on the starting position and the contact position, obtaining the light propagation path parameters; A connecting straight line between the starting position and the contact position is obtained, and the light incident angle parameter is determined using the angle between the lens surface and the connecting straight line.

8. A camera device, characterized in that: The invention comprises a memory and a processor coupled to each other, wherein the memory stores program data, and the processor is used to execute the program data to implement the steps of the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: Program data that can be executed by a processor are stored, and the program data is used to implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for strong light inhibition on basis of non-wide-dynamic function

    CN103780845A

  • Image acquisition equipment, equipment control method and device and storage medium

    CN110557571A

  • Hybrid light supplement control method and system for face snapshot camera, medium and terminal

    CN112040108A