WO2024045867A1 - 相机快速曝光方法、装置、电子设备及介质 - Google Patents
相机快速曝光方法、装置、电子设备及介质 Download PDFInfo
- Publication number
- WO2024045867A1 WO2024045867A1 PCT/CN2023/104418 CN2023104418W WO2024045867A1 WO 2024045867 A1 WO2024045867 A1 WO 2024045867A1 CN 2023104418 W CN2023104418 W CN 2023104418W WO 2024045867 A1 WO2024045867 A1 WO 2024045867A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- camera
- brightness
- image
- exposure
- frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/65—Control of camera operation in relation to power supply
- H04N23/651—Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/65—Control of camera operation in relation to power supply
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Definitions
- the present disclosure relates to the field of camera technology, and in particular to a camera rapid exposure method, device, electronic equipment and media.
- low-power quick-start cameras With the continuous development of camera technology and the gradual increase in the demand for smart home and outdoor monitoring, low-power quick-start cameras have gradually entered people's field of vision.
- the low-power quick-start camera senses human or animal movement through passive infrared (PIR) and other sensors, thereby waking up the camera and starting it for real-time monitoring.
- PIR passive infrared
- low-power quick-start cameras mainly shorten the startup time by optimizing the initial image effect, thereby reducing power consumption.
- the present disclosure provides a camera quick exposure method, device, electronic equipment and media to solve the shortcomings in related technologies that low-power quick-start cameras mainly shorten the startup time and reduce power consumption by optimizing the initial image effect. Achieve the purpose of effectively reducing camera power consumption.
- the present disclosure provides a camera rapid exposure method, including:
- the camera is controlled to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the present disclosure also provides a camera rapid exposure device, including:
- An adjustment module configured to adjust the image acquisition frequency and image acquisition resolution based on the currently measured object distance and object body volume when the camera is in a sleep state
- a cache module which is directly connected to the output end of the sensing unit in the camera through an A/D converter and is configured to cache images collected by the sensing unit in sleep mode;
- a cache control module configured to control the sensing unit in the camera, use the adjusted image collection frequency and image collection resolution to collect pre-alarm images and output them to the cache module;
- a prediction module configured to estimate the brightness and exposure factor of the first frame of the image after the camera is started based on the brightness of the multi-frame pre-warning images cached by the camera during the sleep state;
- the exposure module is configured to control the camera to perform exposure according to the estimated brightness and exposure factor of the first frame of the image after the camera is started.
- the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the processor executes the program, the camera speed as described in any one of the above is realized. Steps of exposure method.
- the present disclosure also provides a non-transitory computer-readable storage medium on which a computer program is stored.
- a computer program is stored on which a computer program is stored.
- the steps of any of the camera rapid exposure methods described above are implemented.
- Figure 1 is a schematic flowchart of a camera rapid exposure method provided by an embodiment of the present disclosure
- Figure 2 is a schematic structural diagram of a camera rapid exposure device provided by an embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the camera rapid exposure method of the present disclosure is described below with reference to FIG. 1 .
- FIG. 1 is a schematic flowchart of a camera rapid exposure method provided by an embodiment of the present disclosure.
- the camera rapid exposure method provided by the embodiment of the present disclosure may include the following steps:
- Step 101 When the camera is in a dormant state, adjust the image collection frequency and image collection resolution based on the currently measured object distance and object body volume.
- Step 102 Control the sensing unit in the camera to collect and cache pre-alarm images using the adjusted image collection frequency and image collection resolution.
- Step 103 Based on the brightness of multiple frames of warning images cached by the camera during the sleep state, estimate the brightness and exposure factor of the first frame of the image after the camera is started.
- Step 104 After the camera is started, the camera is controlled to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the object can be a human or an animal, and the object distance and object body volume can be measured by the Time of Flight (TOF) unit in the camera.
- TOF Time of Flight
- the image acquisition frequency and image acquisition resolution are adaptively adjusted from high to low. Since there is no need to always use higher image acquisition frequency and image acquisition resolution to collect pre-alarm images, it is possible to Reduce camera power consumption.
- step 102 the sensing unit in the camera is controlled to collect and cache pre-alarm images using the adjusted image collection frequency and image collection resolution.
- the multi-frame pre-alarm images cached by the camera during the sleep state can be obtained, thereby obtaining the warning image.
- the sensing unit in the camera has a storage unit embedded inside, and the storage space is T.
- the first-in, first-out principle is used for storage, which can ensure that the storage space will not cause insufficient memory in the storage unit.
- the image acquisition resolution of the pre-alarm image in the cache is lower than the actual working resolution after the camera is started.
- the exposure factor may include: shutter and gain.
- the brightness and exposure factor of the first frame of the image after the camera is started can be estimated, so that the camera can obtain the first frame of the image after the camera is started before the startup is completed. brightness and exposure factors.
- step 104 since the camera has obtained the estimated brightness and exposure factor of the first frame image after the camera startup is completed before the startup is completed, the camera can directly use the estimated first frame after the camera startup is completed. Exposure based on the brightness and exposure factor of the image can greatly shorten the camera exposure time, thereby reducing camera power consumption.
- the image acquisition frequency and image acquisition resolution are adjusted based on the currently measured object distance and object body volume; and the sensing unit in the camera is controlled using The adjusted image collection frequency and image collection resolution collect and cache pre-alarm images; since the image collection frequency and image collection resolution are adaptively adjusted, there is no need to always use higher image collection frequency and image collection resolution to collect Pre-alarm images can reduce camera power consumption; on the other hand, based on the brightness of multiple frames of pre-alarm images cached by the camera during the sleep state, the brightness and exposure factor of the first frame image after the camera is started is estimated, that is, the camera The estimated brightness and exposure factor of the first frame image after the camera startup is completed have been obtained before the startup is completed; and the camera is controlled to perform operation according to the estimated brightness and exposure factor of the first frame image after the camera startup is completed after the camera startup is completed.
- Exposure since the camera has obtained the estimated brightness and exposure factor of the first frame image after the camera startup is completed before the camera startup is completed, the camera can directly use the estimated brightness of the first frame image after the camera startup is completed. Exposure with exposure factor can greatly shorten the camera exposure time, thereby reducing camera power consumption.
- step 101 may include the following sub-steps:
- Step 1011 Calculate the proportion of the currently measured object body volume in the entire screen
- Step 1012 Adjust the image acquisition resolution based on the proportion of the currently measured object body volume in the entire screen and the currently measured object distance;
- Step 1013 Adjust the image collection frequency based on the currently measured object distance.
- step 1011 the proportion of the currently measured object body volume in the entire screen can be calculated through expression (1):
- PV represents the volume of the currently measured object body
- W and H represent the width and height of the entire screen respectively
- Prop represents the proportion of the currently measured object body volume in the entire screen.
- step 1012 the image acquisition resolution can be calculated by expression (2):
- x, y, z and A are all constants, 0 ⁇ x ⁇ 1, 0 ⁇ y ⁇ 1, L represents the currently measured object distance, and Res(L,Prop) represents the image acquisition resolution.
- step 1013 the image acquisition frequency can be calculated by expression (3):
- S1 and S2 are both distance thresholds, and S1>L>S2, a, b, c, m, n, k and t1 are all constants, k>1, m>0, n>0, t1>0, represents the rounding function, Fre(L) represents the image acquisition frequency.
- the image acquisition resolution can be calculated based on the proportion of the currently measured object body volume in the entire screen and the currently measured object distance, and the image acquisition frequency can be calculated based on the currently measured object distance. Since the image acquisition frequency The image acquisition resolution and image acquisition resolution are adaptively adjusted. There is no need to always use higher image acquisition frequency and image acquisition resolution to collect pre-police images. This not only reduces camera power consumption, but also greatly saves storage space.
- determining the brightness of the first frame of the image after the camera is started may include the following sub-steps:
- Step 1031 When the camera startup is not completed, obtain the brightness of the last frame of the pre-alarm image among the multiple frames of pre-alarm images cached by the camera during the sleep state;
- Step 1032 Determine the brightness of the last frame of the pre-alarm image as the brightness of the first frame of the image after the camera is started.
- step 1031 the camera startup is not completed, that is, the stage from the beginning of the camera startup to before the startup is completed.
- the camera starts to start, which means the camera enters the wake-up state from sleep state.
- the brightness of the last pre-alarm image among the multiple frames of pre-alarm images cached during the sleep state is obtained in advance.
- the brightness of the last frame of the pre-alarm image can reflect the current environment brightness.
- step 1032 since the brightness of the last frame of the pre-alarm image can reflect the brightness of the current environment, the brightness of the last frame of the pre-alarm image is determined as the brightness of the first frame of the image after the camera startup is completed, so that the completion of the camera startup can be quickly estimated. The brightness of the first frame of the image after.
- determining the exposure factor of the first frame image after the camera is started may include the following sub-steps:
- Step 201 Obtain the first brightness and the first exposure factor of the last frame of the image when the camera was last awake, and calculate the first exposure amount based on the first exposure factor;
- Step 202 Count the number of first pixels whose brightness is lower than the first brightness threshold in the last frame of the image when the camera was in the wake-up state and the second number of pixels whose brightness is lower than the first brightness threshold in the first frame of the image when the camera enters the wake-up state this time. the number of pixels, and determine the ratio of the difference between the second number of pixels and the first number of pixels to the second number of pixels as the over-dark area scale factor;
- Step 203 Count the number of third pixels with a brightness higher than the second brightness threshold in the last frame of the image when the camera was in the wake-up state and the number of third pixels with a brightness higher than the second brightness threshold in the first frame of the image in which the camera just entered the wake-up state.
- the number of four pixels, and the ratio of the difference between the fourth number of pixels and the third number of pixels to the fourth number of pixels is determined as the over-bright area scale factor; the second brightness threshold is greater than the first brightness threshold;
- Step 204 Under the condition that the proportion factor of the over-dark area is not greater than the over-dark area proportion threshold, and the proportion factor of the over-bright area is not greater than the over-bright area proportion threshold, obtain the second brightness of the first frame image in which the camera enters the wake-up state this time;
- Step 205 Determine the ratio between the absolute value of the difference between the first brightness and the second brightness and the second brightness as the brightness difference ratio;
- Step 206 When the brightness difference ratio is less than or equal to the brightness difference ratio threshold, determine the first exposure as the second exposure of the first frame image after the camera is started;
- Step 207 Based on the second exposure amount, determine the exposure factor of the first frame image after the camera is started.
- step 201 obtain the first brightness R pre , shutter SV pre and gain GV pre of the last frame image when the camera was last awake.
- the first exposure factor includes shutter SV pre and gain GV pre , and is expressed by the expression ( 4)
- Calculate the first exposure: EV pre SV pre ⁇ GV pre (4)
- EV pre represents the first exposure amount.
- step 202 the dark area scale factor can be calculated by expression (5):
- D countpre represents the number of first pixels whose brightness is lower than the first brightness threshold in the last frame of the image when the camera was in the wake-up state
- D countcur represents the brightness of the first frame of the image in which the camera enters the wake-up state this time is lower than the first brightness.
- the second number of pixels of the threshold, D ratio represents the over-dark area scale factor.
- step 203 the overbright area scale factor can be calculated through expression (6):
- L countpre represents the number of third pixels whose brightness is higher than the second brightness threshold in the last frame of the image when the camera was in the wake-up state
- L countcur represents the brightness of the first frame of the image where the camera has just entered the wake-up state this time.
- the fourth pixel number of the brightness threshold, L ratio represents the over-bright area scale factor, and the second brightness threshold is greater than the first brightness threshold.
- step 204 under the condition that the over-dark area proportion factor D ratio is not greater than the over-dark area proportion threshold DThr ratio and the over-bright area proportion factor L ratio is not greater than the over-bright area proportion threshold LThr ratio , obtain the camera's current wake-up state.
- step 205 the brightness difference ratio is calculated by expression (7):
- ⁇ R represents the brightness difference ratio
- step 207 based on the second exposure EV cur2 of the first frame image after the camera startup is completed, the exposure factor of the first frame image after the camera startup is completed, that is, the shutter SV cur2 and the gain GV cur2 can be accurately calculated.
- the first exposure of the last frame of the image when the camera was last awake is used as the second exposure of the first frame of the image after the camera is started, thereby quickly calculating
- the exposure factor of the first frame image after the camera is started can not only shorten the camera exposure time, thereby reducing power consumption, but also ensure the stability of the brightness of the first frame image after the camera is started.
- determining the exposure factor of the first frame of the image after the camera is started also includes:
- the product of the first exposure amount and the first preset coefficient is determined as the third exposure amount of the first frame image after the camera is started; based on the third exposure amount , determine the exposure factor of the first frame image after the camera is started.
- the exposure factor of the first frame image after the camera startup is completed can be accurately calculated, that is, the shutter SV cur3 and the gain GV cur3 .
- the over-dark area scale factor is greater than the over-dark area proportion threshold, it means that there are a large number of first pixels with brightness lower than the first brightness threshold in the last frame of the image when the camera was last awake, and the exposure needs to be increased.
- the product of the first exposure amount and the first preset coefficient greater than 1 is determined as the The third exposure of the first frame of the image. That is, the exposure amount can be appropriately increased based on the first exposure amount to obtain the third exposure amount.
- the third exposure amount can be obtained by appropriately increasing the exposure amount based on the first exposure amount, which can not only shorten the camera exposure time, but also shorten the exposure time of the camera. Reducing power consumption can also ensure stable brightness of the first frame image after the camera is started.
- determining the exposure factor of the first frame of the image after the camera is started also includes:
- the product of the first exposure amount and the second preset coefficient is determined as the fourth exposure amount of the first frame image after the camera is started, and the second preset coefficient Less than 1; based on the fourth exposure, determine the exposure factor of the first frame image after the camera is started.
- the exposure factor of the first frame image after the camera startup is completed can be accurately calculated, that is, the shutter SV cur4 and the gain GV cur4 .
- the over-bright area scale factor is greater than the over-bright area ratio threshold, it means that there are a large number of third pixels with brightness higher than the second brightness threshold in the last frame of the image when the camera was last awake, and the exposure needs to be reduced.
- the product of the first exposure amount and the second preset coefficient less than 1 is determined as the fourth exposure amount of the first frame image after the camera startup is completed. That is, the exposure amount can be appropriately reduced based on the first exposure amount to obtain the fourth exposure amount.
- the exposure amount is moderately reduced based on the first exposure amount to obtain the fourth exposure amount, which not only shortens the camera exposure time, but also reduces the exposure amount. Reducing power consumption can also ensure stable brightness of the first frame image after the camera is started.
- Brightness which determines the exposure factor of the first frame of the image after the camera is started, also includes:
- the brightness difference ratio threshold When the brightness difference ratio is greater than the brightness difference ratio threshold, based on the first exposure, the brightness difference ratio and the correction coefficient value, calculate the fifth exposure of the first frame image of the camera that has just entered the wake-up state this time; based on the fifth exposure , determine the exposure factor of the first frame image after the camera is started.
- the brightness difference ratio is greater than the brightness difference ratio threshold, that is, the environmental brightness changes greatly, and the exposure factor needs to be recalculated.
- EV cur5 represents the fifth exposure amount
- K represents the correction coefficient value
- the exposure factor of the first frame image after the camera startup is completed can be accurately calculated, that is, the shutter SV cur5 and the gain GV cur5 .
- the exposure amount when the ambient brightness changes greatly, if the first brightness is greater than the second brightness, the environment changes from bright to dark, and the exposure amount needs to be increased based on the first exposure amount to obtain the fifth exposure.
- the increased exposure that is, the product of the first exposure, the brightness difference ratio and the correction coefficient value; if the first brightness is less than the second brightness, the environment changes from dark to bright, and the exposure needs to be reduced based on the first exposure amount, you can get the fifth exposure.
- the reduced exposure that is, the product of the first exposure, brightness difference ratio and correction coefficient value, can not only shorten the camera exposure time, thereby reducing power consumption, but also ensure that after the camera startup is completed The brightness of the first frame of the image is stable.
- step 103 based on the brightness of multiple frames of pre-warning images cached by the camera during the sleep state, determine the exposure factor of the first frame of the image after the camera is started, including:
- Step 301 When the camera is started, determine the brightness of a preset number of pre-alarm images among the multi-frame pre-alarm images cached by the camera during the sleep state;
- Step 302 Calculate the difference between the brightness of the preset number of pre-alarm images and the brightness of the first frame image after the camera is started;
- Step 303 Determine the exposure factor of the first pre-alarm image among the preset number of pre-alarm images as the exposure factor of the first frame of the image after the camera is started, where the brightness of the first pre-alarm image is the same as that of the camera. The difference in brightness of the first frame image after the startup is completed is less than the preset threshold.
- step 301 set the shutter and gain to M level respectively, and apply them to some of the image frames cached in front of the alarm.
- the preset number of pre-alarm images among the multi-frame pre-alarm images cached by the camera during the sleep state may be the last N frames of the multi-frame pre-alarm images cached by the camera during the sleep state.
- these N frames of images are sent to the ISP for brightness statistics R to obtain the brightness of these N frames of images.
- step 302 traverse the N frames of image brightness (R 1 , R 2 , R 3 , R 4 ...R n ), compare each image in the N frames with the brightness R cur of the first frame after startup, and calculate the brightness difference. .
- step 303 when the brightness difference is less than a certain threshold Thr, the shutter SV cur and gain GV cur corresponding to the brightness of the retrieved R i frame image are directly used as the exposure factor of the first frame image after the camera startup is completed, and the R i frame image That is, the first warning image.
- the exposure of the pre-alarm image that is relatively close to the brightness of the first frame image after the camera is started is completed.
- the factor is determined as the exposure factor of the first frame image after the camera startup is completed, which can not only shorten the camera exposure time, thereby reducing power consumption, but also ensure the stability of the brightness of the first frame image after the camera startup is completed.
- step 103 based on the brightness of multiple frames of pre-warning images cached by the camera during the sleep state, determine the exposure factor of the first frame of the image after the camera is started, including:
- the exposure factor of the last frame of the pre-alarm image among the multi-frame pre-alarm images cached by the camera during the sleep state is determined as the exposure factor of the first frame of the image after the camera is started.
- the brightness of the multi-frame pre-alarm image is based on the actual ambient brightness. Exposure adjustment.
- a basic exposure adjustment functional unit is integrated into the camera's sensing unit.
- the exposure is adjusted directly according to the actual ambient brightness, and the last frame of the multi-frame pre-alarm image cached by the camera during the sleep state is
- the exposure factor of the image is determined as the exposure factor of the first frame of the image after the camera is started, and the exposure factor of the first frame of the image after the camera is started can be quickly obtained.
- the exposure factor of the last frame of the pre-alarm image among the multiple frames of pre-alarm images cached by the camera during the sleep state is determined as the exposure factor of the first frame of the image after the camera is started, which can not only shorten the camera exposure time , thereby reducing power consumption and ensuring stable brightness of the first frame image after the camera is started.
- the method also includes:
- the camera's state includes sleep state, wake-up state and completely powered off state;
- the main control unit in the camera is controlled to switch to the power off state, and the sensor unit in the camera is switched to the power off state.
- the state of the camera is first switched based on the currently measured object distance.
- the state of the camera includes a sleep state, a wake-up state and a completely powered-off state, and the state of the main control unit and/or sensing unit in the camera is controlled based on the state of the camera. .
- the camera's state switches to the sleep state
- the main control unit in the camera switches to the power-off state
- the sensing unit in the camera switches to Power-on status.
- the embodiment of the present disclosure switches the main control chip in the camera to a sleep state when the camera is in a sleep state.
- the unit switches to the power-off state to reduce power consumption.
- the camera's state switches to a completely powered-off state
- the main control unit in the camera switches to a power-off state
- the sensor unit in the camera switches to a power-off state. Switching to the power-off state can further reduce power consumption.
- the camera's state switches to the wake-up state
- the main control unit in the camera switches to the power-on state
- the sensing unit in the camera switches to Power-on status.
- switching the main control unit in the camera to the power-off state can reduce power consumption.
- the main control unit in the camera is switched to the powered-off state, and the sensor unit in the camera is switched to the powered-off state, which can further reduce power consumption.
- the camera rapid exposure device provided by the present disclosure is described below.
- the camera rapid exposure device described below and the camera rapid exposure method described above can be mutually referenced.
- FIG. 2 is a schematic structural diagram of a rapid exposure device for a camera according to an embodiment of the present disclosure.
- the camera rapid exposure device provided by the embodiment of the present disclosure may include:
- the adjustment module 10 is configured to adjust the image acquisition frequency and image acquisition resolution based on the currently measured object distance and object body volume when the camera is in a sleep state;
- the cache module 20 is directly connected to the output end of the sensing unit in the camera through an A/D converter and is configured to cache images collected by the sensing unit in sleep mode;
- the cache control module 30 is configured to control the sensing unit in the camera, use the adjusted image collection frequency and image collection resolution to collect pre-alarm images and output them to the cache module;
- the prediction module 40 is configured to estimate the brightness and exposure factor of the first frame of the image after the camera is started based on the brightness of the multiple frames of pre-warning images cached by the camera during the sleep state;
- the exposure module 40 is configured to control the camera to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the adjustment module 10 is specifically configured as:
- the image acquisition frequency is adjusted.
- the prediction module 40 is specifically configured as:
- the brightness of the last frame of the pre-alarm image is determined as the first frame of the image after the camera is started. image brightness.
- the prediction module 40 is specifically configured as:
- the number of two pixels, and the ratio of the difference between the second number of pixels and the first number of pixels to the second number of pixels is determined as the over-dark area scale factor;
- the fourth number of pixels, and the ratio of the difference between the fourth number of pixels and the third number of pixels to the fourth number of pixels is determined as the over-brightness area scale factor; the second brightness threshold is greater than the first brightness threshold;
- the first exposure is determined as the second exposure of the first frame of the image after the camera is started;
- the exposure factor of the first frame image after the camera is started is determined.
- the prediction module 40 is also configured as:
- the product of the first exposure amount and the first preset coefficient is determined as the third exposure amount of the first frame image after the camera is started.
- the first preset coefficient is greater than 1;
- the exposure factor of the first frame image after the camera is started is determined.
- the prediction module 40 is also configured as:
- the product of the first exposure amount and the second preset coefficient is determined as the fourth exposure amount of the first frame image after the camera is started.
- the second preset coefficient is less than 1;
- the exposure factor of the first frame image after the camera is started is determined.
- the prediction module 40 is also configured as:
- the brightness difference ratio is greater than the brightness difference ratio threshold, based on the first exposure, the brightness difference ratio and the correction coefficient value, calculate the fifth value of the first frame image of the camera that has just entered the wake-up state this time. exposure;
- the exposure factor of the first frame image after the camera is started is determined.
- the prediction module 40 is also configured as:
- the exposure factor of the first pre-alarm image among the preset number of pre-alarm images is determined as the exposure factor of the first frame image after the camera is started, wherein the brightness of the first pre-alarm image is the same as the brightness of the first pre-alarm image.
- the brightness difference of the first frame image after the camera is started is less than the preset threshold.
- the prediction module 40 is also configured as:
- the exposure factor of the last frame of the pre-alarm image among the multi-frame pre-alarm images cached by the camera during the sleep state is determined as the exposure factor of the first frame of the image after the camera is started.
- the brightness of the multi-frame pre-alarm image is Exposure adjustment is based on actual ambient brightness.
- the device further includes a switching module, and the switching module is specifically configured as:
- the state of the camera includes a sleep state, a wake-up state and a completely powered-off state;
- control the main control unit in the camera When the state of the camera is the awake state, control the main control unit in the camera to switch Switch to the power-on state, and the sensing unit in the camera switches to the power-on state;
- the main control unit in the camera is controlled to switch to the power off state, and the sensing unit in the camera is switched to the power off state.
- FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device may include: a processor (processor) 310, a communications interface (Communications Interface) 320, a memory (memory) 330 and a communication bus. 340, in which the processor 310, the communication interface 320, and the memory 330 complete communication with each other through the communication bus 340.
- the processor 310 can call logical instructions in the memory 330 to execute a camera rapid exposure method, which includes:
- the camera is controlled to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the above-mentioned logical instructions in the memory 330 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
- the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or the part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a storage medium and includes several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program code. .
- the present disclosure also provides a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes Program instructions.
- the program instructions When the program instructions are executed by the computer, the computer can execute the camera rapid exposure method provided by the above method.
- the method includes:
- the camera is controlled to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the present disclosure also provides a non-transitory computer-readable storage medium on which a computer program is stored.
- the computer program is implemented when executed by a processor to perform the camera rapid exposure method provided by the above method.
- the method includes:
- the camera is controlled to perform exposure according to the estimated brightness and exposure factor of the first frame image after the camera is started.
- the device embodiments described above are only illustrative.
- the units described as separate components may or may not be physically separated.
- the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
- each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
- the computer software products can be stored in computer-readable storage media, such as ROM/RAM, disks. , optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method described in each embodiment or some parts of the embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
EVpre=SVpre×GVpre (4)
EVcur3=(X+Y)×EVpre (8)
EVcur4=Z×EVpre (9)
EVcur5=EVpre+/-ΔR*K*EVpre (10)
Claims (12)
- 一种相机快速曝光方法,包括:在相机处于休眠状态的情况下,基于当前测量的对象距离和对象形体体积,调整图像采集频率和图像采集分辨率;控制所述相机中的传感单元,采用调整后的所述图像采集频率和图像采集分辨率采集并缓存警前图像;基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,预估所述相机启动完成后的首帧图像的亮度和曝光因子;控制所述相机在启动完成后,根据预估的所述相机启动完成后的首帧图像的亮度和曝光因子进行曝光。
- 根据权利要求1所述的相机快速曝光方法,其中,所述基于当前测量的对象距离和对象形体体积,调整图像采集频率和图像采集分辨率,包括:计算当前测量的对象形体体积在整个画面中的占比;基于所述当前测量的对象形体体积在整个画面中的占比和所述当前测量的对象距离,调整图像采集分辨率;基于所述当前测量的对象距离,调整图像采集频率。
- 根据权利要求1所述的相机快速曝光方法,其中,所述基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,确定所述相机启动完成后的首帧图像的亮度,包括:在所述相机启动未完成的情况下,获取所述相机在休眠状态期间缓存的多帧警前图像中的最后一帧警前图像的亮度;将所述最后一帧警前图像的亮度,确定为所述相机启动完成后的首帧图像的亮度。
- 根据权利要求1至3任一项所述的相机快速曝光方法,其中,所述基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,确定所述相机启动完成后的首帧图像的曝光因子,包括:获取所述相机上一次处于唤醒状态的最后一帧图像的第一亮度和第一曝 光因子,并基于所述第一曝光因子计算第一曝光量;统计所述相机上一次处于唤醒状态的最后一帧图像中亮度低于第一亮度阈值的第一像素数量与所述相机本次进入唤醒状态的首帧图像中亮度低于第一亮度阈值的第二像素数量,并将所述第二像素数量和所述第一像素数量之间的差与所述第二像素数量的比值确定为过暗区比例因子;统计所述相机上一次处于唤醒状态的最后一帧图像中亮度高于第二亮度阈值的第三像素数量与所述相机本次刚进入唤醒状态的首帧图像中亮度高于第二亮度阈值的第四像素数量,并将所述第四像素数量和所述第三像素数量之间的差与所述第四像素数量的比值确定为过亮区比例因子;所述第二亮度阈值大于所述第一亮度阈值;在所述过暗区比例因子不大于过暗区比例阈值、且所述过亮区比例因子不大于过亮区比例阈值的情况下,获取所述相机本次进入唤醒状态的首帧图像的第二亮度;将所述第一亮度与所述第二亮度之间的差值的绝对值与所述第二亮度之间的比值确定为亮度差比例;在所述亮度差比例小于或等于亮度差比例阈值的情况下,将所述第一曝光量确定为所述相机启动完成后的首帧图像的第二曝光量;基于所述第二曝光量,确定所述相机启动完成后的首帧图像的曝光因子。
- 根据权利要求4所述的相机快速曝光方法,其中,所述方法还包括:在所述过暗区比例因子大于过暗区比例阈值的情况下,将所述第一曝光量与第一预设系数的乘积确定为所述相机启动完成后的首帧图像的第三曝光量,所述第一预设系数大于1;基于所述第三曝光量,确定所述相机启动完成后的首帧图像的曝光因子。
- 根据权利要求4所述的相机快速曝光方法,其中,所述方法还包括:在所述过亮区比例因子大于过亮区比例阈值的情况下,将所述第一曝光量与第二预设系数的乘积确定为所述相机启动完成后的首帧图像的第四曝光量,所述第二预设系数小于1;基于所述第四曝光量,确定所述相机启动完成后的首帧图像的曝光因子。
- 根据权利要求4所述的相机快速曝光方法,其中,所述方法还包括:在所述亮度差比例大于亮度差比例阈值的情况下,基于所述第一曝光量、所述亮度差比例和修正系数值,计算所述相机本次刚进入唤醒状态的首帧图像的第五曝光量;基于所述第五曝光量,确定所述相机启动完成后的首帧图像的曝光因子。
- 根据权利要求1至3任一项所述的相机快速曝光方法,其中,所述基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,预估所述相机启动完成后的首帧图像的曝光因子,包括:在所述相机启动时,分别确定所述相机在休眠状态期间缓存的多帧警前图像中预设数量的警前图像的亮度;分别计算所述预设数量的警前图像的亮度与所述相机启动完成后的首帧图像的亮度的差;将所述预设数量的警前图像中的第一警前图像的曝光因子确定为所述相机启动完成后的首帧图像的曝光因子,其中,所述第一警前图像的亮度与所述相机启动完成后的首帧图像的亮度的差小于预设阈值。
- 根据权利要求1至3任一项所述的相机快速曝光方法,其中,所述基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,预估所述相机启动完成后的首帧图像的曝光因子,包括:将所述相机在休眠状态期间缓存的多帧警前图像中最后一帧警前图像的曝光因子确定为所述相机启动完成后的首帧图像的曝光因子,所述多帧警前图像的亮度是基于实际环境亮度进行曝光调整的。
- 一种相机快速曝光装置,包括:调整模块,配置为在相机处于休眠状态的情况下,基于当前测量的对象距离和对象形体体积,调整图像采集频率和图像采集分辨率;缓存模块,其通过A/D转换器直接与相机中的传感单元的输出端连接,配置为在休眠模式下缓存传感单元采集的图像;缓存控制模块,配置为控制所述相机中的传感单元,采用调整后的所述图像采集频率和图像采集分辨率采集警前图像并输出到所述缓存模块;预估模块,配置为基于所述相机在休眠状态期间缓存的多帧警前图像的亮度,预估所述相机启动完成后的首帧图像的亮度和曝光因子;曝光模块,配置为控制所述相机在启动完成后,根据预估的所述相机启动完成后的首帧图像的亮度和曝光因子进行曝光。
- 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至9任一项所述的相机快速曝光方法的步骤。
- 一种非暂态计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述的相机快速曝光方法的步骤。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23858905.5A EP4583526A4 (en) | 2022-09-02 | 2023-06-30 | METHOD AND APPARATUS FOR RAPID CAMERA EXPOSURE, ELECTRONIC DEVICE AND MEDIUM |
| US19/107,345 US20260089398A1 (en) | 2022-09-02 | 2023-06-30 | Camera rapid exposure method and apparatus, electronic device, and medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211073948.0 | 2022-09-02 | ||
| CN202211073948.0A CN117692779A (zh) | 2022-09-02 | 2022-09-02 | 相机快速曝光方法、装置、电子设备及介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024045867A1 true WO2024045867A1 (zh) | 2024-03-07 |
Family
ID=90100284
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/104418 Ceased WO2024045867A1 (zh) | 2022-09-02 | 2023-06-30 | 相机快速曝光方法、装置、电子设备及介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20260089398A1 (zh) |
| EP (1) | EP4583526A4 (zh) |
| CN (1) | CN117692779A (zh) |
| WO (1) | WO2024045867A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120614529A (zh) * | 2025-08-12 | 2025-09-09 | 杭州觅睿科技股份有限公司 | 一种获取运动物体有效报警图像的方法和装置 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118972694A (zh) * | 2024-10-17 | 2024-11-15 | 杭州觅睿科技股份有限公司 | 一种低功耗预录视频处理方法及低功耗相机 |
| CN120529206B (zh) * | 2025-07-18 | 2025-10-24 | 深圳盈达信息科技有限公司 | 基于cmos内置自动曝光单元的图像曝光方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106506960A (zh) * | 2016-11-29 | 2017-03-15 | 维沃移动通信有限公司 | 一种图像数据的处理方法及移动终端 |
| CN106558121A (zh) * | 2015-09-30 | 2017-04-05 | 中兴通讯股份有限公司 | 摄像的方法及装置 |
| KR101874489B1 (ko) * | 2017-08-04 | 2018-07-04 | 세종공업 주식회사 | 거리영상 측정장치 및 방법 |
| CN109033913A (zh) * | 2018-07-25 | 2018-12-18 | 维沃移动通信有限公司 | 一种识别码的识别方法及移动终端 |
| CN111669700A (zh) * | 2020-05-22 | 2020-09-15 | 珠海格力电器股份有限公司 | 定位数据处理方法、装置、电子设备和存储介质 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11405581B2 (en) * | 2017-12-26 | 2022-08-02 | Pixart Imaging Inc. | Motion detection methods and image sensor devices capable of generating ranking list of regions of interest and pre-recording monitoring images |
| US12189452B2 (en) * | 2020-12-21 | 2025-01-07 | Intel Corporation | Methods and apparatus to improve user experience on computing devices |
| US11252337B1 (en) * | 2020-12-29 | 2022-02-15 | Himax Imaging Limited | Method and apparatus of performing automatic exposure control for image sensor with context switching |
-
2022
- 2022-09-02 CN CN202211073948.0A patent/CN117692779A/zh active Pending
-
2023
- 2023-06-30 EP EP23858905.5A patent/EP4583526A4/en active Pending
- 2023-06-30 WO PCT/CN2023/104418 patent/WO2024045867A1/zh not_active Ceased
- 2023-06-30 US US19/107,345 patent/US20260089398A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106558121A (zh) * | 2015-09-30 | 2017-04-05 | 中兴通讯股份有限公司 | 摄像的方法及装置 |
| CN106506960A (zh) * | 2016-11-29 | 2017-03-15 | 维沃移动通信有限公司 | 一种图像数据的处理方法及移动终端 |
| KR101874489B1 (ko) * | 2017-08-04 | 2018-07-04 | 세종공업 주식회사 | 거리영상 측정장치 및 방법 |
| CN109033913A (zh) * | 2018-07-25 | 2018-12-18 | 维沃移动通信有限公司 | 一种识别码的识别方法及移动终端 |
| CN111669700A (zh) * | 2020-05-22 | 2020-09-15 | 珠海格力电器股份有限公司 | 定位数据处理方法、装置、电子设备和存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4583526A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120614529A (zh) * | 2025-08-12 | 2025-09-09 | 杭州觅睿科技股份有限公司 | 一种获取运动物体有效报警图像的方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20260089398A1 (en) | 2026-03-26 |
| EP4583526A1 (en) | 2025-07-09 |
| EP4583526A4 (en) | 2025-12-17 |
| CN117692779A (zh) | 2024-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024045867A1 (zh) | 相机快速曝光方法、装置、电子设备及介质 | |
| US12200347B2 (en) | Adaptive trail cameras | |
| US10356320B2 (en) | Information processing device and image input device | |
| CN104580969A (zh) | 录像帧率调整方法和装置 | |
| CN111783375A (zh) | 芯片系统及相关装置 | |
| CN105183138A (zh) | 自动转入休眠状态的方法及系统 | |
| WO2025241439A1 (zh) | 图像采集设备的图像处理方法、电子设备以及存储介质 | |
| CN114302056A (zh) | 一种户外动物行为侦测电池摄像机及其方法 | |
| CN106371600A (zh) | 一种点亮屏幕的方法、装置及智能手表 | |
| WO2025190262A1 (zh) | 一种基于aov的双目黑光安防低功耗摄像方法及装置 | |
| CN114025093B (zh) | 拍摄方法、装置、电子设备和可读存储介质 | |
| CN116320714A (zh) | 图像采集方法、装置、设备、存储介质和程序产品 | |
| CN111316631B (zh) | 拍摄装置的控制方法和拍摄装置 | |
| CN104965593B (zh) | 基于行为感知的智能手机拍照节能系统及工作方法 | |
| CN116847189A (zh) | 一种图像采集方法、装置及设备 | |
| US9667854B2 (en) | Electornic device and information processing unit | |
| CN116405749A (zh) | 低功耗持续录像的门锁监控装置、门锁系统及实现方法 | |
| CN201967022U (zh) | 一种声光控高速摄影触发器 | |
| CN117676331B (zh) | 自动对焦方法及电子设备 | |
| CN119893291A (zh) | 图像监控设备的光检测方法、装置 | |
| CN121218021A (zh) | 视频预录方法、装置、电子设备和计算机可读存储介质 | |
| US20250234088A1 (en) | Camera, method for prolonging battery usage life of camera, and computer-readable storage medium | |
| CN113271433B (zh) | 监控装置及影像撷取方法 | |
| CN120676212A (zh) | 视频录制方法、装置、电子设备以及介质 | |
| CN121547670A (zh) | 基于图像积累量的野外监测系统及方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23858905 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023858905 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023858905 Country of ref document: EP Effective date: 20250402 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023858905 Country of ref document: EP |