Camera imaging brightness self-adjustment method and device

By dynamically adjusting the exposure parameters in the camera system and determining the brightness of the ROI block based on the frequency domain signal, the problem of not being able to adapt to non-central targets and high-contrast scenes in the prior art is solved, and the acquisition and subsequent processing of high-quality images are achieved support.

CN116528054BActive Publication Date: 2024-11-22LINGYANGE SEMICONDUCTOR, INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310553538.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-22
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

When the existing Array Image camera system is set automatically or fill light, it cannot dynamically adjust the exposure weight block, resulting in the unavailability of the target object in the center of the picture or in the high contrast scenario, affecting the image quality and subsequent processing results. .

Method used

By acquiring the target image and converting it into a preprocessed image, a spatial domain image is obtained based on the intermediate frequency segment signal in the frequency domain, mapped to multiple blocks to determine the ROI block, and if the brightness does not reach the threshold, the camera exposure parameters are adjusted until it is reached Preset threshold.

Benefits of technology

Accurate positioning and exposure optimization of ROI blocks are achieved, high-quality image content is obtained, which facilitates subsequent image processing and ensures that the image is shot at the best brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116528054B_ABST
    Figure CN116528054B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for self-adjusting camera imaging brightness, the method comprising: acquiring a target image, and converting the target image into a preprocessed image; obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain; mapping the spatial domain image to a plurality of blocks corresponding to the target image to obtain an ROI block; if the brightness value of the ROI block does not reach a preset threshold, adjusting the camera exposure parameter, and sequentially executing the acquisition process, the conversion process, and the output process until the brightness value of the ROI block reaches the preset threshold, and outputting the camera exposure parameter. The method and device for self-adjusting camera imaging brightness provided by the present invention realize an exposure parameter adjustment process based on ROI as the core, which is conducive to the output of high-quality images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method and device for self-adjusting camera imaging brightness. Background Art

[0002] The current Array Image camera system includes 2D & 3D imaging systems. When performing automatic exposure or fill light settings, the system often uses the weighted brightness of the center position of the image, the average brightness, the center point brightness, or the block where the moving object is detected as the ROI (region of interest), and uses the image brightness value of this ROI as the main exposure weight block to obtain an estimated calculation for automatic exposure settings.

[0003] However, in actual photography or computer vision applications, the object of interest may not be in the center of the frame, or may exist in a high-contrast scene. If the exposure weight block setting cannot be adjusted dynamically, a better exposed image cannot be obtained. If it is overexposed or too dark, rich and meaningful image data cannot be obtained, which will also affect the subsequent image processing results. Summary of the invention

[0004] In order to solve the problems in the prior art, the present invention provides a method and device for self-adjusting camera imaging brightness.

[0005] The present invention provides a camera imaging brightness self-adjusting method, comprising:

[0006] An acquisition process is to acquire a target image and convert the target image into a preprocessed image, wherein the preprocessed image is an intensity image and / or a color gamut image;

[0007] A conversion process, obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0008] An output process is to map the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block;

[0009] Jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

[0010] According to a camera imaging brightness self-adjustment method provided by the present invention, before the acquisition process, the method further includes:

[0011] The image to be processed is acquired, the image to be processed is divided into blocks and exposed, and a lighting convergence process is performed, until the image to be processed converges to a preset brightness value, thereby obtaining the target image.

[0012] According to a camera imaging brightness self-adjustment method provided by the present invention, the target image is converted into a preprocessed image, and the preprocessed image is an intensity image and / or a color gamut image, specifically comprising:

[0013] The target image is subjected to a monochrome image conversion process to obtain the intensity image under a first target image channel, and / or the target image is subjected to a color gamut space conversion process to obtain the color gamut image under a second target image channel.

[0014] According to a camera imaging brightness self-adjusting method provided by the present invention, the adjusting of the camera exposure parameters specifically includes:

[0015] The ROI block is set to a preset first exposure weight value, and other blocks corresponding to the target image are set to preset second exposure weight values, and the first exposure weight value is greater than the second exposure weight value.

[0016] According to a camera imaging brightness self-adjustment method provided by the present invention, the second exposure weight value is 0.

[0017] According to a camera imaging brightness self-adjustment method provided by the present invention, the first target image channel includes a G channel or a Y channel, and the second target image channel includes an H channel, an S channel or a V channel.

[0018] The present invention also provides a camera imaging brightness self-adjusting device, comprising:

[0019] An acquisition module, which acquires a target image and converts the target image into a preprocessed image, wherein the preprocessed image is an intensity image and / or a color gamut image;

[0020] A conversion module, which obtains a frequency domain corresponding to the target image based on the preprocessed image, and obtains a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0021] An output module maps the spatial domain image to a plurality of blocks corresponding to the target image to obtain ROI blocks;

[0022] The jump module adjusts the camera exposure parameters if the brightness value of the ROI block does not reach the preset threshold, and sequentially executes the acquisition process, the conversion process and the output process until the brightness value of the ROI block reaches the preset threshold, and outputs the camera exposure parameters.

[0023] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for self-adjusting camera imaging brightness are implemented.

[0024] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for self-adjusting camera imaging brightness are implemented.

[0025] The present invention also provides a computer program product, comprising a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the steps of any of the above-mentioned methods for self-adjusting camera imaging brightness are implemented.

[0026] The camera imaging brightness self-adjustment method and device provided by the present invention detect and define the ROI block, and use the ROI block as the core to perform subsequent exposure or fill light calculations of the camera, that is, use the selected ROI block as the main calculation weight block, thereby obtaining a better imaging effect. The ROI block has rich and meaningful image content, which is beneficial to the subsequent image processing process to obtain high-quality images. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 This is one of the flow charts of the camera imaging brightness self-adjustment method provided by the present invention;

[0029] Figure 2 This is the second flow chart of the camera imaging brightness self-adjustment method provided by the present invention;

[0030] Figure 3 This is the third flow chart of the camera imaging brightness self-adjustment method provided by the present invention;

[0031] Figure 4 It is a structural schematic diagram of the camera imaging brightness self-adjusting device provided by the present invention;

[0032] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] Figure 1 FIG. 1 is one of the flow charts of the camera imaging brightness self-adjustment method provided by the present invention, such as Figure 1 As shown, the method includes:

[0035] Step S110, acquiring process, acquiring a target image, and converting the target image into a preprocessed image, wherein the preprocessed image is an intensity image and / or a color gamut image;

[0036] Step S120, a conversion process, obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0037] Step S130, output process, mapping the spatial domain image to a plurality of blocks corresponding to the target image to obtain ROI blocks;

[0038] Step S140, jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

[0039] It should be noted that image quality data indicators include the strength of each pixel (brightness or color saturation and hue), and the spatial domain refers to 2D image imaging and the arrangement of data between points.

[0040] The frequency domain refers to the conversion of the degree of change between the midpoint and segment of the 2D image imaging. The intensity image separates the image intensity (brightness or color saturation) for subsequent processing; the color domain image refers to the separation of individual color signals of the image for subsequent processing.

[0041] In this embodiment, for the detection ROI block, after converting to the frequency domain, only the middle frequency data is left, and the high-frequency and low-frequency data are discarded, and then converted back to the spatial domain to obtain the ROI; the camera exposure parameters include Rx: sensor exposure time, sensor gain (ISO); Tx: lighting intensity.

[0042] The camera imaging brightness self-adjustment method provided by the present invention detects and defines the ROI block, and uses the ROI block as the core to perform subsequent exposure or fill light calculations of the camera, that is, the selected ROI block is used as the main calculation weight block, thereby obtaining a better imaging effect. The ROI block has rich and meaningful image content, which is beneficial to the subsequent image processing process to obtain high-quality images.

[0043] According to the camera imaging brightness self-adjustment method provided by the present invention, in the present invention, before the acquisition process, the method further includes:

[0044] The image to be processed is acquired, and the image to be processed is divided into blocks and exposed, or a lighting convergence process is performed, until the image to be processed converges to a preset brightness value, thereby obtaining the target image.

[0045] It should be noted that block division refers to dividing the picture into M x N blocks, and lighting convergence processing refers to obtaining the best picture brightness by adjusting the lighting intensity.

[0046] The camera imaging brightness self-adjusting method provided by the present invention obtains better ROI block brightness by adjusting exposure time, signal gain or lighting intensity.

[0047] According to the camera imaging brightness self-adjustment method provided by the present invention, in the present invention, the target image is converted into a preprocessed image, and the preprocessed image is an intensity image and / or a color gamut image, which specifically includes:

[0048] The target image is subjected to a monochrome image conversion process to obtain the intensity image under a first target image channel, and / or the target image is subjected to a color gamut space conversion process to obtain the color gamut image under a second target image channel.

[0049] It should be noted that monochrome image conversion processing refers to the image information obtained after separating image information such as image intensity, image chromaticity, and image saturation; the image can be regarded as the superposition of three layers of two-dimensional arrays, and each layer of two-dimensional array is a channel; a single-channel image is gray, and each pixel has only one value. The higher the number, the whiter the color, and the brighter it is. Color gamut refers to a method of representing color. Currently, the widely used color gamut spaces include: RGB, YUV / YCrCb, Lab, etc. Color gamut space conversion processing refers to the conversion of the target image between different color gamut representation methods.

[0050] The camera imaging brightness self-adjustment method provided by the present invention converts the target image into an intensity image and / or a color gamut image, which is beneficial to the subsequent further image processing process, thereby realizing rapid and accurate positioning of the ROI area in the image and improving the final imaging effect.

[0051] According to the camera imaging brightness self-adjustment method provided by the present invention, in the present invention, adjusting the camera exposure parameters specifically includes:

[0052] The ROI block is set to a preset first exposure weight value, and other blocks corresponding to the target image are set to preset second exposure weight values, and the first exposure weight value is greater than the second exposure weight value.

[0053] It should be noted that the exposure weight includes the center weight, the average weight, the center point brightness and the ROI-based exposure weight setting method in the embodiment of the present invention, wherein the brightness of the block where the object is detected is used as the ROI, and the image brightness value of this block is used as the main exposure weight block to obtain the automatic exposure estimation operation.

[0054] The camera imaging brightness self-adjustment method provided by the present invention first defines the ROI of the image, and after the ROI is defined, the camera will use this ROI as the main calculation weight block when performing subsequent exposure or fill light calculation to obtain a better imaging effect. The ROI block has rich and meaningful image data, which is convenient for subsequent image processing.

[0055] According to the camera imaging brightness self-adjustment method provided by the present invention, in the present invention, the second exposure weight value is 0.

[0056] The camera imaging brightness self-adjusting method provided by the present invention can highlight the ROI block to the greatest extent by setting the exposure values ​​of all blocks except the ROI block to 0, thereby achieving accurate locking of the ROI block.

[0057] According to the camera imaging brightness self-adjustment method provided by the present invention, in the present invention, the first target image channel includes a G channel or a Y channel, and the second target image channel includes an H channel, an S channel or a V channel.

[0058] It should be noted that multiple channels include various image presentation data such as intensity, chroma and saturation, among which the G channel refers to the green channel, the Y channel refers to the brightness information, the H channel refers to the chroma channel, the S channel refers to the color channel, and the V channel refers to the intensity channel.

[0059] Figure 2 FIG. 2 is a flow chart of the camera imaging brightness self-adjusting method provided by the present invention. Figure 2 As shown, the method includes:

[0060] Step 1, start;

[0061] Step 2, adjust the exposure parameters and gain parameters of the target image;

[0062] Step 3, divide the target image into M×N blocks, and keep the exposure weight value of each block consistent, perform image acquisition exposure processing or open light convergence operation;

[0063] Step 4, obtain the brightness of the target image and determine whether it converges to the expected brightness value. If so, output the exposure and gain values ​​at this time as the expected values; if not, jump to Step 2;

[0064] Step 5, end.

[0065] The camera imaging brightness self-adjusting method provided by the present invention adjusts the exposure parameters and gain parameters of the target image multiple times until the brightness value of the target image reaches a preset expected value, at which time shooting is performed, thereby ensuring that the target image achieves an ideal imaging effect at the preset brightness value.

[0066] Figure 3 FIG. 3 is a flow chart of the camera imaging brightness self-adjusting method provided by the present invention. Figure 3 As shown, the method includes:

[0067] Step 1, start;

[0068] Step 2, adjust the exposure parameters and gain parameters;

[0069] Step 3, image data extraction, obtain the target image;

[0070] Step 4, convert the target image into an intensity image / color gamut image, specifically: preprocess the target image into a monochrome image or a single channel image to obtain a contrast-related intensity image or convert the color gamut space, such as YUV or HSV, to extract only the color signal-related channels to obtain a color gamut image.

[0071] Step 5, convert the image from the spatial domain to the frequency domain, and extract the intermediate frequency segment signal in the frequency domain;

[0072] Step 6, converting the intermediate frequency segment signal into a spatial domain image;

[0073] Step 7, overlap the preset M×N blocks corresponding to the spatial domain image and the target image (define the target blocks of interest), and obtain the exposure weight table of the target blocks of interest (ROI);

[0074] Step 8, judge the brightness of the target image to determine whether the target image converges to the expected brightness value. If so, output the exposure and gain values ​​at this time as expected values; if not, jump to execute Step 2.

[0075] The camera imaging brightness self-adjustment method provided by the present invention detects and defines the ROI block, and uses the ROI block as the core to perform subsequent exposure or fill light calculations of the camera, that is, the selected ROI block is used as the main calculation weight block, thereby obtaining a better imaging effect. The ROI block has rich and meaningful image content, which is beneficial to the subsequent image processing process to obtain high-quality images.

[0076] Figure 4 is a schematic diagram of the structure of the camera imaging brightness self-adjusting device provided by the present invention, such as Figure 4 As shown, the camera imaging brightness self-adjusting device 400 includes:

[0077] An acquisition module 410 acquires a target image and converts the target image into a preprocessed image, wherein the preprocessed image is an intensity image and / or a color gamut image;

[0078] A conversion module 420, which obtains a frequency domain corresponding to the target image based on the preprocessed image, and obtains a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0079] An output module 430 maps the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block;

[0080] Jump module 440, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameter, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameter.

[0081] The camera imaging brightness self-adjusting device provided by the present invention detects and defines the ROI block, and uses the ROI block as the core to perform subsequent exposure or fill light calculations of the camera, that is, the selected ROI block is used as the main calculation weight block, thereby obtaining a better imaging effect. The ROI block has rich and meaningful image content, which is beneficial to the subsequent image processing process to obtain high-quality images.

[0082] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the camera imaging brightness self-adjustment method, the method comprising: an acquisition process, acquiring a target image, and converting the target image into a pre-processed image, the pre-processed image being an intensity image and / or a color gamut image;

[0083] A conversion process, obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0084] An output process is to map the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block;

[0085] Jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

[0086] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0087] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the camera imaging brightness self-adjustment method provided by the above methods, the method comprising: an acquisition process, acquiring a target image, and converting the target image into a pre-processed image, the pre-processed image being an intensity image and / or a color gamut image;

[0088] A conversion process, obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0089] An output process is to map the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block;

[0090] Jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

[0091] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the above-mentioned camera imaging brightness self-adjustment method, the method comprising: an acquisition process, acquiring a target image, and converting the target image into a pre-processed image, wherein the pre-processed image is an intensity image and / or a color gamut image;

[0092] A conversion process, obtaining a frequency domain corresponding to the target image based on the preprocessed image, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain;

[0093] An output process is to map the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block;

[0094] Jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

[0095] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A camera imaging brightness self-adjustment method, characterized in that: include: Acquire an image to be processed, divide the image to be processed into blocks and perform exposure processing, or perform lighting convergence processing, until the image to be processed converges to a preset brightness value, thereby obtaining a target image; Acquisition process, acquiring the target image, performing a monochrome image conversion process on the target image to obtain an intensity image under a first target image channel, and / or performing a color gamut space conversion process on the target image to obtain a color gamut image under a second target image channel; A conversion process, obtaining a frequency domain corresponding to the target image based on the image and / or color domain image intensity, and obtaining a spatial domain image based on an intermediate frequency segment signal in the frequency domain; An output process is to map the spatial domain image to a plurality of blocks corresponding to the target image to obtain a ROI block; Jump process, if the brightness value of the ROI block does not reach the preset threshold, adjust the camera exposure parameters, and execute the acquisition process, the conversion process and the output process in sequence until the brightness value of the ROI block reaches the preset threshold, and output the camera exposure parameters.

2. The camera imaging brightness self-adjusting method according to claim 1, characterized in that: The adjusting the camera exposure parameters specifically includes: The ROI block is set to a preset first exposure weight value, and other blocks corresponding to the target image are set to preset second exposure weight values, and the first exposure weight value is greater than the second exposure weight value.

3. The camera imaging brightness self-adjustment method according to claim 2, characterized in that: The second exposure weight value is 0.

4. The camera imaging brightness self-adjusting method according to claim 1, characterized in that: The first target image channel includes a G channel or a Y channel, and the second target image channel includes an H channel, an S channel or a V channel.

5. A camera imaging brightness self-adjusting device, characterized in that: include: An acquisition module acquires an image to be processed, performs block division and exposure processing on the image to be processed, or performs lighting convergence processing, until the image to be processed converges to a preset brightness value, to obtain a target image, performs monochrome image conversion processing on the target image to obtain an intensity image under a first target image channel, and / or performs color gamut space conversion processing on the target image to obtain a color gamut image under a second target image channel; A conversion module, which obtains a frequency domain corresponding to the target image based on the intensity image and / or the color domain image, and obtains a spatial domain image based on an intermediate frequency segment signal in the frequency domain; An output module maps the spatial domain image to a plurality of blocks corresponding to the target image to obtain ROI blocks; The jump module adjusts the camera exposure parameters if the brightness value of the ROI block does not reach the preset threshold, and sequentially executes the acquisition process, the conversion process and the output process until the brightness value of the ROI block reaches the preset threshold, and outputs the camera exposure parameters.

6. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the camera imaging brightness self-adjustment method as claimed in any one of claims 1 to 4 are implemented.

7. A non-transitory computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the camera imaging brightness self-adjustment method as described in any one of claims 1 to 4 are implemented.

8. A computer program product, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the camera imaging brightness self-adjustment method as described in any one of claims 1 to 4 are implemented.