+

CN112911163A - Image exposure method and device and electronic equipment - Google Patents

Image exposure method and device and electronic equipment Download PDF

Info

Publication number
CN112911163A
CN112911163A CN202110075795.2A CN202110075795A CN112911163A CN 112911163 A CN112911163 A CN 112911163A CN 202110075795 A CN202110075795 A CN 202110075795A CN 112911163 A CN112911163 A CN 112911163A
Authority
CN
China
Prior art keywords
group
exposure
image
pixel points
pixels
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.)
Granted
Application number
CN202110075795.2A
Other languages
Chinese (zh)
Other versions
CN112911163B (en
Inventor
肖旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110075795.2A priority Critical patent/CN112911163B/en
Publication of CN112911163A publication Critical patent/CN112911163A/en
Application granted granted Critical
Publication of CN112911163B publication Critical patent/CN112911163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/57Control of the dynamic range

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image exposure method and device and electronic equipment, and belongs to the field of image processing. The method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a target sensor, the target sensor is an N-pixel-in-one sensor, N is an integer greater than 1, and the method comprises the following steps: dividing pixel points of the target sensor into N groups; exposing a first group of pixel points at a first moment; starting or stopping exposure of a second group of pixel points in the process of exposing the first group of pixel points; and determining a first image according to the exposure result of the first group of pixel points, and determining a second image according to the exposure result of the second group of pixel points. By the method and the device, the problem that the frame rate of the output image cannot be further improved due to the fact that the working mode of the mosaic rearrangement sensor in the prior art can only support the high frame rate or the high frame rate is solved.

Description

Image exposure method and device and electronic equipment
Technical Field
The application belongs to the field of image processing, and particularly relates to an image exposure method and device and electronic equipment.
Background
The existing remosaic sensor has two working modes: 1) a binning (image readout) mode; 2) full size mode. As shown in fig. 1, the binning mode combines four neighboring pixels of the sensor output into 1, thereby reducing the image resolution (64M16M), increasing the brightness of each pixel, but having no effect on the frame rate. As shown in fig. 2, the full size mode is to rearrange the pixels output by the sensor into normal pixels, and the resolution of the image is not changed (64M → 64M), and this rearrangement process is called mosaic rearrangement. It can be seen that the two modes of the prior art remosaic sensor can only improve the brightness of the pixel points and rearrange the pixel points, and cannot improve the frame rate.
Disclosure of Invention
An embodiment of the present application provides an image exposure method and apparatus, and an electronic device, which can solve a problem that a working mode of a mosaic rearrangement sensor in the prior art cannot improve a frame rate of an output image.
In a first aspect, an embodiment of the present application provides an image exposure method applied to an electronic device, where the electronic device includes a target sensor, where the target sensor is an N-pixel-in-one sensor, and N is an integer greater than 1, and the method includes: dividing pixel points of the target sensor into N groups; exposing a first group of pixel points at a first moment; starting or stopping exposure of a second group of pixel points in the process of exposing the first group of pixel points; and determining a first image according to the exposure result of the first group of pixel points, and determining a second image according to the exposure result of the second group of pixel points. In a second aspect, an embodiment of the present application provides an exposure apparatus for an image, including: an exposure device of an image is applied to electronic equipment, and is characterized in that the electronic equipment comprises a target sensor, the target sensor is an N-pixel-in-one sensor, N is an integer greater than 1, and the device comprises: the dividing module is used for dividing pixel points of the target sensor into N groups; the first exposure module is used for exposing a first group of pixel points at a first moment and starting or stopping the exposure of a second group of pixel points in the process of exposing the first group of pixel points; and the determining module is used for determining a first image according to the exposure result of the first group of pixel points and determining a second image according to the exposure result of the second group of pixel points.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, pixel points of the target sensor are divided into N groups, in the process of exposing a first group of pixel points, exposure of a second group of pixel points is started or stopped, namely, the step-type exposure of the first group of pixel points and the second group of pixel points is realized, namely, after the first group of pixel points are exposed, exposure of the second group of pixel points can be started or stopped, exposure processing of the second group of pixel points is not required to be carried out after exposure of the previous group of pixel points, and then the exposed first image and the exposed second image are output, so that the frame rate of the output image is improved, and the problem that the working mode of a mosaic rearrangement sensor in the prior art can only support the high frame rate or the high frame rate, and the frame rate of the output image cannot be further improved is solved.
Drawings
FIG. 1 is a schematic diagram of a binning mode of operation of a re-mosaic sensor in the prior art;
FIG. 2 is a schematic diagram of the full size mode of operation of a prior art re-mosaic sensor;
FIG. 3 is a flowchart of an image exposure method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of marking pixel points according to an embodiment of the present application;
FIG. 5 is a first schematic step exposure in accordance with an embodiment of the present application;
FIG. 6 is a second schematic step exposure in accordance with an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an image exposure apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an exposure method of an image provided by an embodiment of the present application with reference to the accompanying drawings.
The embodiment of the application provides an image exposure method, which is applied to electronic equipment, wherein the electronic equipment comprises a target sensor, the target sensor is an N-pixel-in-one sensor, and N is an integer greater than 1; fig. 3 is a flowchart of an image exposure method according to an embodiment of the present application, and as shown in fig. 3, the method includes the steps of:
step 302, dividing pixel points of a target sensor into N groups;
step 304, exposing a first group of pixel points at a first moment;
step 306, starting or stopping the exposure of the second group of pixel points in the process of exposing the first group of pixel points;
step 308, determining a first image according to the exposure result of the first group of pixel points, and determining a second image according to the exposure result of the second group of pixel points.
Through step 302 and step 308 of the embodiment of the application, pixel points of the target sensor are divided into N groups, in the process of exposing a first group of pixel points, exposure of a second group of pixel points is started or stopped, namely, the step-type exposure of the first group of pixel points and the second group of pixel points is realized, namely, after the first group of pixel points are exposed, exposure of the second group of pixel points can be started or stopped, exposure processing of the second group of pixel points is not required to be carried out after exposure of the previous group of pixel points, and then the exposed first image and second image are output, so that the frame rate of the output image is improved, and the problem that the frame rate of the output image cannot be further improved due to the fact that the working mode of the mosaic rearrangement sensor in the prior art can only support the high frame rate or the high frame rate.
It should be noted that the target sensor in this embodiment of the present application may be a mosaic rearrangement sensor, and the value of N in this embodiment of the present application may be 4 or 9, that is, the target sensor is a 4-pixel integrated sensor, or a 9-pixel integrated sensor. Taking the target sensor as a 4-pixel-in-one sensor as an example, the pixel points of the target sensor can be divided into 4 groups, based on the above steps 302 to 308, the first image and the second image are obtained through the step-type exposure, and it is not necessary to expose the next group of pixel points to obtain the corresponding image after the previous group of pixel points are completely exposed, which is equivalent to reaching the 2-time frame rate of the sensor in the prior art, if the subsequent two groups of pixel points are continuously exposed, all 4 groups of pixel points are exposed, and the corresponding 4 images are obtained, so that the 4-time frame rate in the prior art is reached, and the frame rate is improved.
In an optional implementation manner in this embodiment, the exposure durations of the first group of pixels corresponding to the first image and the second group of pixels corresponding to the second image are the same and are both target exposure durations, and if a third image is added to the subsequent image until the mth image, the exposure durations of the pixels corresponding to each image are all equal, for example, the target exposure durations are both.
In another optional implementation manner of the embodiment of the present application, regarding the manner involved in step 304 and step 306, the method may specifically include: aiming at M groups of pixel points in the N groups of pixel points, exposing one group of pixel points at intervals of preset time;
the single exposure time of each group of pixel points in the M groups of pixel points is the target exposure time, and the preset time is less than the target exposure time.
In this regard, if the original frame rate of the object sensor is 30fps, the target exposure time length per frame is 33ms, and if the original frame rate of the object sensor is 40fps, the target exposure time length per frame is 25 ms. Based on this, the preset time period should be less than 33ms, or 25 ms.
It should be noted that the preset durations among different pixel point groups may be the same or different. For example, in the case of a target sensor being a 4-pixel-in-one sensor, and the original frame rate of the target sensor being 30fps, the pixels of the target sensor can be divided into 4 groups, the preset duration of the interval between the first group of pixels and the second group of pixels may be 8ms, the preset duration of the interval between the second group of pixels and the third group of pixels may be 8ms, the preset duration of the interval between the third group of pixels and the fourth group of pixels may be 8ms, that is, the preset time intervals between every two adjacent groups are the same, and of course, may be different in other application scenarios, for example, the preset time interval between the first group of pixels and the second group of pixels may be 8ms, the preset time interval between the second group of pixels and the third group of pixels may be 10ms, and the preset time interval between the third group of pixels and the fourth group of pixels may be 6 ms. The specific preset duration can be set according to specific conditions on the premise that the preset duration is less than the target exposure duration, and specific values of the preset duration are not limited in the application.
In an optional implementation manner of the embodiment of the present application, regarding the manner of dividing the pixel points of the target sensor into N groups in step 302 mentioned in the embodiment of the present application, taking the pixel points as the pixel points of three primary colors as an example, further may include:
step 302-11, determining three primary color pixel points in the pixel points to be output, and determining the number of groups;
and step 302-12, grouping the three-primary-color pixel points in the pixel points to be output according to the number of the groups, wherein each group of the pixel points comprises the three-primary-color pixel points, and the number of the three-primary-color pixel points in each group of the pixel points is consistent.
For the above steps 302-11 and 302-12, taking the number of the pixels to be output as 16 and grouping as 4 groups as an example, each group of pixels is 4, each group includes pixels of three primary colors of RGB, and the minimum combination unit (1R, 2G, 1B) constitutes the pixels of the group, and the number of the pixels of each group is also the same, as shown in fig. 4, 16 pixels are labeled first, that is, R0, R1, R2, R3, G0, G1, G2, G3, G '0, G' 1, G '2, G' 3, B0, B1, B2, and B3. After 4 groups are (R0, G0, G '0, B0), (R1, G1, G' 1, B1), (R2, G2, G '2, B2), (R3, G3, G' 3, B3).
The number of the above-mentioned pixels is merely an example, and other numbers of pixels may be grouped, for example, 64M, or 16M for each group if the number of the pixels is 4 groups.
In addition, the preset time length in the embodiment of the present application is a result of rounding a ratio of the target exposure time length to the grouped number N, in this case, M is equal to N, and the target exposure time length is determined by the frame rate of the target sensor. In the case where the target exposure time period is 33ms, the preset time period is the rounded result of 33/4, that is, the preset time period is 8. In the case where the target exposure time period is 25ms, the preset time period is the rounded result of 33/4, i.e., the preset time period is 6. Taking the exposure time of each frame as 33ms, and the preset time is 8ms as an example, as shown in fig. 5, the first group of pixels (R0, G0, G '0, B0) starts exposure at time 0, the corresponding image is output at time 33ms, the second group of pixels (R1, G1, G' 1, B1) starts exposure at time 8ms, the corresponding image is output at time 41ms, the third group of pixels (R2, G2, G '2, B2) starts exposure at time 16ms, the corresponding image is output at time 49ms, the fourth group of pixels (R3, G3, G' 3, B3) starts exposure at time 24ms, and the corresponding image is output at time 57 ms. Namely, 4 images of four groups of pixel points can be obtained at the moment of 57ms, and only one image can be obtained in 57ms for the sensor in the prior art, namely, the frame rate is increased by 4 times by the image exposure method, namely 120 fps.
In an optional implementation manner of the embodiment of the present application, starting or stopping exposure of the second group of pixel points in the process of exposing the first group of pixel points, which is related in step 304, specifically includes: in the process of exposing the first group of pixel points, starting the exposure of the second group of pixel points;
based on this, the method of the embodiment of the present application may further include: step 310, at the second moment, stopping the exposure of the first group of pixel points and the second group of pixel points;
and after determining the first image and the second image, the method of an embodiment of the present application further comprises: step 312, the first image and the second image are synthesized to obtain the target image.
As can be seen from the foregoing steps 304 to 312, in the embodiment of the present application, the exposure start time of each group of pixels is different, and the exposure end time of each group of pixels is the same.
It should be noted that, in the embodiment of the present application, other groups of pixel points in the subsequent N groups of pixel points may also be continuously exposed, the starting time of the subsequent exposure is different from the previous starting time of the subsequent exposure, but the ending time of the subsequent exposure is the same, and the number of the pixel point groups that are exposed most is N. That is to say, in the process of exposing the second group of pixel points, the exposure of the third group of pixel points is started or stopped until the exposure of the Mth group of pixel points is started or stopped, wherein M is more than or equal to 3 and is less than or equal to N. On the basis, the exposure of the M +1 th group of pixel points can be started or stopped in the process of exposing the M-th group of pixel points until the exposure of the N-th group of pixel points is started or stopped.
Further, after the pixel point groups are exposed, corresponding images are obtained, and the obtained images can be synthesized, so that a High-Dynamic Range (HDR) effect can be achieved.
In another optional implementation manner of the embodiment of the present application, the method of the embodiment of the present application further includes: step 314, at the first moment, exposure is started to the second group of pixel points;
based on this, in the process of exposing the first group of pixels involved in step 304 of the present application, the exposure of the second group of pixels is started or stopped, specifically including: stopping the exposure of the second group of pixel points in the process of exposing the first group of pixel points;
based on this, after determining the first image and the second image, the method of the embodiment of the present application further includes: and step 316, synthesizing the first image and the second image to obtain a target image.
As can be seen from the above steps 314 to 316, in the embodiment of the present application, the exposure start time of each group of pixels is the same, and the exposure end time of each group of pixels is different.
It should be noted that, in the embodiment of the present application, other groups of pixel points in the subsequent N groups of pixel points may also be continuously exposed, the starting time of the subsequent exposure is the same as the previous starting time of the subsequent exposure, but the ending time of the subsequent exposure is different, and the number of the pixel point groups that are exposed most is N. That is to say, in the process of exposing the second group of pixel points, the exposure of the third group of pixel points is started or stopped until the exposure of the Mth group of pixel points is started or stopped, wherein M is more than or equal to 3 and is less than or equal to N. On the basis, the exposure of the M +1 th group of pixel points can be started or stopped in the process of exposing the M-th group of pixel points until the exposure of the N-th group of pixel points is started or stopped. Further, after the pixel point groups are exposed, corresponding images are obtained, and the obtained images can be synthesized, so that a High-Dynamic Range (HDR) effect can be achieved.
Taking the above fig. 4 as an example, the grouping number of the pixels is 4, the exposed pixel groups are also 4, the exposure starting time of the 4 groups of pixels is different, and the exposure ending time is the same, for example, the grouped 4 groups of pixels are: (R0, G0, G '0, B0), (R1, G1, G' 1, B1), (R2, G2, G '2, B2), (R3, G3, G' 3, B3). The first group of pixel points (R0, G0, G' 0, B0) start exposure at the time of 0, and the exposure time is set to be 33 ms; the second group of pixel points (R1, G1, G '1, B1) and the third group of pixel points (R2, G2, G' 2, B2) start exposure at the time of 8ms, and the exposure time is set to be 25 ms; the fourth group of pixel points (R3, G3, G' 3, B3) starts exposure at 16ms and sets the exposure time to 17 ms. As shown in fig. 6, 4 images, i.e., overexposure, normal exposure, and underexposure, can be obtained at 33 ms; and then, the four images are synthesized to achieve the effect of a High-Dynamic Range (HDR) image.
It should be noted that the setting of the exposure duration is only an example, as long as all the grouped pixels are exposed within the exposure duration of each frame of image corresponding to the target sensor, for example, the first group of pixels (R0, G0, G' 0, B0) start to be exposed at time 0, and the exposure time is set to be 33 ms; the second group of pixel points (R1, G1, G '1, B1) and the third group of pixel points (R2, G2, G' 2, B2) start exposure at the moment of 6ms, and the exposure time is set to be 27 ms; the fourth group of pixel points (R3, G3, G' 3, B3) starts exposure at 18ms, and the target exposure time is set to 15 ms.
Therefore, through the embodiment of the application, on the premise that the frame rate is not influenced, the pixel points of the sensor are grouped, and then step-type exposure is carried out on each group of pixel points. The images are output at fixed time, multiple groups of images with different exposures can be obtained, and then the multiple groups of images are synthesized, so that the HDR effect is achieved.
It should be noted that, in the exposure method for an image provided in the embodiment of the present application, the execution subject may be an exposure apparatus for an image, or a control module in the exposure apparatus for an image, for executing the exposure method for an image. In the embodiment of the present application, an image exposure apparatus performs an image exposure method as an example, and the image exposure apparatus provided in the embodiment of the present application is described.
The embodiment of the present application further provides an exposure apparatus for an image, which is applied to an electronic device, and is characterized in that the electronic device includes a target sensor, the target sensor is an N-pixel integrated sensor, N is an integer greater than 1, as shown in fig. 7, the apparatus includes:
a dividing module 72, configured to divide pixel points of the target sensor into N groups;
a first exposure module 74, configured to start exposing the first group of pixels at a first time, and start or stop exposing the second group of pixels during the process of exposing the first group of pixels;
the determining module 76 is configured to determine the first image according to the exposure result of the first group of pixel points, and determine the second image according to the exposure result of the second group of pixel points.
Through the device of this application embodiment, divide into N group to the pixel of target sensor, in the in-process of exposing to first group pixel, begin or stop the exposure of second group pixel, the notch cuttype exposure of first group pixel and second group pixel has been realized promptly, after first group pixel exposes promptly, can begin or stop to expose to second group pixel, and need not to wait to expose to the preceding group pixel again to second group pixel, and then output first image and the second image after the exposure, thereby the frame rate of output image has been improved, the mode of operation that has solved the mosaic rearrangement sensor among the prior art can only be that support how high frame rate is exactly how high frame rate, lead to the problem of unable further improvement output image's frame rate.
Optionally, the exposure duration of the first group of pixels corresponding to the first image is the same as the exposure duration of the second group of pixels corresponding to the second image, and both the exposure durations are target exposure durations.
Optionally, the first exposure module 74 in this embodiment of the present application includes: the first exposure unit is used for exposing one group of pixel points in M groups of pixel points in N groups of pixel points at intervals of preset time; the single exposure time of each group of pixel points in the M groups of pixel points is the target exposure time, and the preset time is less than the target exposure time.
Optionally, the preset duration in the embodiment of the present application is a result of rounding a ratio of the target exposure duration to N; wherein M ═ N.
Optionally, the first exposure module in this embodiment of the present application may include: and the second exposure unit is used for starting the exposure of the second group of pixel points in the process of exposing the first group of pixel points. Based on this, the apparatus in the embodiment of the present application may further include: the second exposure module is used for simultaneously stopping the exposure of the first group of pixel points and the second group of pixel points at a second moment; and the first synthesis module is used for synthesizing the first image and the second image after the first image and the second image are determined to obtain the target image.
Optionally, the apparatus in this embodiment of the present application may further include: and the third exposure module is used for exposing the second group of pixel points at the first moment. Based on this, the first exposure module 74 in the embodiment of the present application further includes: the stopping unit is used for stopping the exposure of the second group of pixel points in the process of exposing the first group of pixel points; and the apparatus in the embodiment of the present application may further include: and the second synthesis module is used for synthesizing the first image and the second image after the first image and the second image are determined to obtain the target image.
The image exposure apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The exposure device of an image in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The image exposure apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 3, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement the processes of the above-mentioned embodiment of the image exposure method, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those in fig. 9, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The processor 910 divides the pixel points of the target sensor into N groups; exposing a first group of pixel points at a first moment; starting or stopping exposure of the second group of pixel points in the process of exposing the first group of pixel points; and determining a first image according to the exposure result of the first group of pixel points, and determining a second image according to the exposure result of the second group of pixel points.
Through the terminal of the embodiment of the application, the pixel points of the target sensor are divided into N groups, in the process of exposing the first group of pixel points, the exposure of the second group of pixel points is started or stopped, namely, the step-type exposure of the first group of pixel points and the second group of pixel points is realized, namely, after the first group of pixel points are exposed, the exposure of the second group of pixel points can be started or stopped, the exposure of the second group of pixel points is not required to be carried out after the previous group of pixel points are exposed, and then the exposed first image and the exposed second image are output, so that the frame rate of the output image is improved, the problem that the working mode of the mosaic rearrangement sensor in the prior art can only support the frame rate which is high is solved, and the frame rate of the output image cannot be further improved is solved.
Optionally, the processor 910 is further configured to, for M groups of pixels in the N groups of pixels, start exposing one group of pixels at intervals of a preset time; the single exposure time of each group of pixel points in the M groups of pixel points is the target exposure time, and the preset time is less than the target exposure time.
Optionally, the processor 910 is further configured to start exposure of a second group of pixels in a process of exposing the first group of pixels; at the second moment, stopping the exposure of the first group of pixel points and the second group of pixel points simultaneously; after the first image and the second image are determined, the first image and the second image are synthesized to obtain a target image.
Optionally, the processor 910 is further configured to start exposing the second group of pixels at the first time; stopping the exposure of the second group of pixel points in the process of exposing the first group of pixel points; after the first image and the second image are determined, the first image and the second image are synthesized to obtain a target image.
Through the terminal of this application embodiment, not only can improve the frame rate, but also can be under the prerequisite that does not influence the frame rate, through grouping to the pixel of sensor, then carry out the notch cuttype exposure to every group pixel. The images are output at fixed time, multiple groups of images with different exposures can be obtained, and then the multiple groups of images are synthesized, so that the HDR effect is achieved.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image exposure method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the image exposure method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1.一种图像的曝光方法,应用于电子设备,其特征在于,所述电子设备包括目标传感器,所述目标传感器为N像素合一传感器,N为大于1的整数,所述方法包括:1. An image exposure method, applied to an electronic device, wherein the electronic device includes a target sensor, the target sensor is an N-pixel-in-one sensor, and N is an integer greater than 1, and the method comprises: 将所述目标传感器的像素点分为N组;Divide the pixel points of the target sensor into N groups; 在第一时刻开始对第一组像素点进行曝光;Start exposing the first group of pixels at the first moment; 在对所述第一组像素点进行曝光的过程中,开始或者停止第二组像素点的曝光;In the process of exposing the first group of pixels, start or stop the exposure of the second group of pixels; 根据所述第一组像素点的曝光结果,确定第一图像,并根据所述第二组像素点的曝光结果,确定第二图像。A first image is determined according to the exposure results of the first group of pixels, and a second image is determined according to the exposure results of the second group of pixels. 2.根据权利要求1所述的方法,其特征在于,所述第一图像对应的第一组像素点的曝光时长与所述第二图像对应的第二组像素点的曝光时长相同,均为目标曝光时长。2 . The method according to claim 1 , wherein the exposure duration of the first group of pixel points corresponding to the first image is the same as the exposure duration of the second group of pixel points corresponding to the second image, and both are 2 . Target exposure duration. 3.根据权利要求2所述的方法,其特征在于,所述在第一时刻开始对第一组像素点进行曝光,在对所述第一组像素点进行曝光的过程中,开始或者停止第二组像素点的曝光,具体包括:3 . The method according to claim 2 , wherein the exposure of the first group of pixel points is started at a first moment, and in the process of exposing the first group of pixel points, the first group of pixel points is started or stopped. 4 . Exposure of two groups of pixels, including: 针对所述N组像素点中的M组像素点,每隔预设时长开始对其中的一组像素点进行曝光;For the M groups of pixels in the N groups of pixels, start exposing a group of the pixels every preset time length; 其中,所述M组像素点中每一组像素点的单次曝光时长均为所述目标曝光时长,所述预设时长小于所述目标曝光时长。Wherein, the single exposure duration of each group of pixel points in the M groups of pixel points is the target exposure duration, and the preset duration is less than the target exposure duration. 4.根据权利要求3所述的方法,其特征在于,所述预设时长为对所述目标曝光时长与N的比值进行取整后的结果;其中,M=N。4 . The method according to claim 3 , wherein the preset duration is a result of rounding the ratio of the target exposure duration to N; wherein, M=N. 5 . 5.根据权利要求1所述的方法,其特征在于,所述在对所述第一组像素点进行曝光的过程中,开始或者停止第二组像素点的曝光,具体包括:5. The method according to claim 1, wherein, in the process of exposing the first group of pixels, starting or stopping the exposure of the second group of pixels, specifically comprising: 在对所述第一组像素点进行曝光的过程中,开始所述第二组像素点的曝光;In the process of exposing the first group of pixel points, start the exposure of the second group of pixel points; 所述方法还包括:The method also includes: 在第二时刻,同时停止所述第一组像素点和所述第二组像素点的曝光;At a second moment, simultaneously stopping the exposure of the first group of pixels and the second group of pixels; 确定所述第一图像和所述第二图像之后,所述方法还包括:After determining the first image and the second image, the method further includes: 合成所述第一图像和所述第二图像,得到目标图像。The first image and the second image are synthesized to obtain a target image. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises: 在所述第一时刻,开始对所述第二组像素点进行曝光;At the first moment, start exposing the second group of pixel points; 所述在对所述第一组像素点进行曝光的过程中,开始或者停止第二组像素点的曝光,具体包括:In the process of exposing the first group of pixel points, starting or stopping the exposure of the second group of pixel points specifically includes: 在对所述第一组像素点进行曝光的过程中,停止所述第二组像素点的曝光;During the process of exposing the first group of pixels, the exposure of the second group of pixels is stopped; 确定所述第一图像和所述第二图像之后,所述方法还包括:After determining the first image and the second image, the method further includes: 合成所述第一图像和所述第二图像,得到目标图像。The first image and the second image are synthesized to obtain a target image. 7.一种图像的曝光装置,应用于电子设备,其特征在于,所述电子设备包括目标传感器,所述目标传感器为N像素合一传感器,N为大于1的整数,所述装置包括:7. An image exposure device, applied to an electronic device, wherein the electronic device comprises a target sensor, the target sensor is an N-pixel-in-one sensor, and N is an integer greater than 1, and the device comprises: 划分模块,用于将所述目标传感器的像素点分为N组;a dividing module, used for dividing the pixel points of the target sensor into N groups; 第一曝光模块,用于在第一时刻开始对第一组像素点进行曝光,在对所述第一组像素点进行曝光的过程中,开始或者停止第二组像素点的曝光;a first exposure module, configured to start exposing the first group of pixels at a first moment, and start or stop exposing the second group of pixels during the process of exposing the first group of pixels; 确定模块,用于根据所述第一组像素点的曝光结果,确定第一图像,并根据所述第二组像素点的曝光结果,确定第二图像。A determination module, configured to determine a first image according to the exposure results of the first group of pixels, and determine a second image according to the exposure results of the second group of pixels. 8.根据权利要求7所述的装置,其特征在于,所述第一图像对应的第一组像素点的曝光时长与所述第二图像对应的第二组像素点的曝光时长相同,均为目标曝光时长。8 . The device according to claim 7 , wherein the exposure duration of the first group of pixel points corresponding to the first image is the same as the exposure duration of the second group of pixel points corresponding to the second image, and both are Target exposure duration. 9.根据权利要求8所述的装置,其特征在于,所述第一曝光模块包括:9. The apparatus according to claim 8, wherein the first exposure module comprises: 第一曝光单元,用于针对所述N组像素点中的M组像素点,每隔预设时长开始对其中的一组像素点进行曝光;a first exposing unit, configured to start exposing a group of pixels in the M groups of pixels in the N groups of pixels at intervals of a preset duration; 其中,所述M组像素点中每一组像素点的单次曝光时长均为所述目标曝光时长,所述预设时长小于所述目标曝光时长。Wherein, the single exposure duration of each group of pixel points in the M groups of pixel points is the target exposure duration, and the preset duration is less than the target exposure duration. 10.根据权利要求9所述的装置,其特征在于,所述预设时长为对所述目标曝光时长与N的比值进行取整后的结果;其中,M=N。10 . The apparatus according to claim 9 , wherein the preset duration is a result of rounding the ratio of the target exposure duration to N; wherein, M=N. 11 . 11.根据权利要求7所述的装置,其特征在于,11. The device of claim 7, wherein: 所述第一曝光模块包括:第二曝光单元,用于所述在对所述第一组像素点进行曝光的过程中,开始所述第二组像素点的曝光;The first exposure module includes: a second exposure unit, configured to start exposing the second group of pixel points during the process of exposing the first group of pixel points; 所述装置还包括:第二曝光模块,用于在第二时刻,同时停止所述第一组像素点和所述第二组像素点的曝光;The device further includes: a second exposure module for simultaneously stopping the exposure of the first group of pixel points and the second group of pixel points at a second moment; 第一合成模块,用于在确定所述第一图像和所述第二图像之后,合成所述第一图像和所述第二图像,得到目标图像。The first synthesis module is used for synthesizing the first image and the second image after determining the first image and the second image to obtain a target image. 12.根据权利要求7所述的装置,其特征在于,所述装置还包括:12. The apparatus of claim 7, wherein the apparatus further comprises: 第三曝光模块,用于在所述第一时刻,开始对所述第二组像素点进行曝光;a third exposure module, configured to start exposing the second group of pixels at the first moment; 所述第一曝光模块包括:停止单元,用于所述在对所述第一组像素点进行曝光的过程中,停止所述第二组像素点的曝光;The first exposure module includes: a stop unit for stopping the exposure of the second group of pixel points during the process of exposing the first group of pixel points; 所述装置还包括:第二合成模块,用于在确定所述第一图像和所述第二图像之后,合成所述第一图像和所述第二图像,得到目标图像。The apparatus further includes: a second synthesizing module for synthesizing the first image and the second image to obtain a target image after the first image and the second image are determined. 13.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6任一项所述的图像的曝光方法的步骤。13. An electronic device, characterized in that it comprises a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction being implemented when executed by the processor The steps of an image exposure method as claimed in any one of claims 1 to 6. 14.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的图像的曝光方法的步骤。14. A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the image according to any one of claims 1 to 6 is realized The steps of the exposure method.
CN202110075795.2A 2021-01-20 2021-01-20 Image exposure method and device and electronic equipment Active CN112911163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110075795.2A CN112911163B (en) 2021-01-20 2021-01-20 Image exposure method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110075795.2A CN112911163B (en) 2021-01-20 2021-01-20 Image exposure method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112911163A true CN112911163A (en) 2021-06-04
CN112911163B CN112911163B (en) 2023-04-07

Family

ID=76116633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110075795.2A Active CN112911163B (en) 2021-01-20 2021-01-20 Image exposure method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112911163B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150123181A (en) * 2014-04-24 2015-11-03 엑시스 에이비 Method and apparatus for determining exposure setting
CN108683861A (en) * 2018-08-06 2018-10-19 Oppo广东移动通信有限公司 Shooting exposure control method and device, imaging device and electronic device
CN109040607A (en) * 2018-08-13 2018-12-18 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic device and computer-readable storage medium
CN110971799A (en) * 2019-12-09 2020-04-07 Oppo广东移动通信有限公司 Control method, camera assembly and mobile terminal
CN111491110A (en) * 2020-04-17 2020-08-04 Oppo广东移动通信有限公司 High dynamic range image processing system and method, electronic device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150123181A (en) * 2014-04-24 2015-11-03 엑시스 에이비 Method and apparatus for determining exposure setting
CN108683861A (en) * 2018-08-06 2018-10-19 Oppo广东移动通信有限公司 Shooting exposure control method and device, imaging device and electronic device
CN109040607A (en) * 2018-08-13 2018-12-18 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic device and computer-readable storage medium
CN110971799A (en) * 2019-12-09 2020-04-07 Oppo广东移动通信有限公司 Control method, camera assembly and mobile terminal
CN111491110A (en) * 2020-04-17 2020-08-04 Oppo广东移动通信有限公司 High dynamic range image processing system and method, electronic device and storage medium

Also Published As

Publication number Publication date
CN112911163B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111835982B (en) Image acquisition method, image acquisition device, electronic device and storage medium
CN114286007B (en) Image processing circuit, image processing method, electronic device and readable storage medium
CN111857512A (en) Image editing method, apparatus and electronic device
CN113163128A (en) Image exposure method and electronic device
CN113596294A (en) Shooting method and device and electronic equipment
CN113660425A (en) Image processing method and device, electronic equipment and readable storage medium
CN112437237A (en) Shooting method and device
JP6155349B2 (en) Method, apparatus and computer program product for reducing chromatic aberration in deconvolved images
CN112954212A (en) Video generation method, device and equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN114125302A (en) Image adjustment method and device
CN113709370A (en) Image generation method and device, electronic equipment and readable storage medium
CN112887629A (en) Frequency detection method, frequency detection device, electronic equipment and storage medium
CN112911163A (en) Image exposure method and device and electronic equipment
CN112367470B (en) Image processing method and device and electronic equipment
CN113676674B (en) Image processing method, device, electronic equipment and readable storage medium
CN113573158A (en) Video processing method and device, electronic equipment and storage medium
CN113822812B (en) Image noise reduction method and electronic device
US9681064B1 (en) Lookup table interpolation in a film emulation camera system
CN112446848A (en) Image processing method and device and electronic equipment
CN110874816B (en) Image processing method, device, mobile terminal and storage medium
CN113473012A (en) Virtualization processing method and device and electronic equipment
US20180293770A1 (en) Video Smoothing Method and Apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载