CN114390209A - Photographing method, photographing apparatus, electronic device, and readable storage medium - Google Patents

Photographing method, photographing apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
CN114390209A
CN114390209A CN202210170753.1A CN202210170753A CN114390209A CN 114390209 A CN114390209 A CN 114390209A CN 202210170753 A CN202210170753 A CN 202210170753A CN 114390209 A CN114390209 A CN 114390209A
Authority
CN
China
Prior art keywords
information
shooting
target
exposure
image area
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.)
Pending
Application number
CN202210170753.1A
Other languages
Chinese (zh)
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 CN202210170753.1A priority Critical patent/CN114390209A/en
Publication of CN114390209A publication Critical patent/CN114390209A/en
Priority to PCT/CN2023/077187 priority patent/WO2023160496A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • 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/71Circuitry for evaluating the brightness variation
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, and belongs to the field of shooting. The shooting method comprises the following steps: under the condition of displaying a shooting preview interface, acquiring a change numerical value of a real sensing pixel in a dynamic visual sensor; outputting target information under the condition that the variation value is greater than or equal to a preset threshold value; determining target exposure parameters based on the target information; shooting to obtain a multimedia file based on the target exposure parameter; wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.

Description

Photographing method, photographing apparatus, electronic device, and readable storage medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
At present, users record life by shooting videos, so that the requirements of the users on the shooting quality of electronic equipment are gradually increased.
The exposure parameters have a large influence on the image quality, and at present, the ambient brightness is estimated mainly by calculating the brightness information of the existing frame, and then the exposure parameters of the next frame are adjusted.
In fast illumination switching devices, it is often difficult to make exposure adjustments quickly and accurately due to the relatively slow response time of the algorithm.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting method, a shooting apparatus, an electronic device, and a readable storage medium, which can solve the problem that exposure adjustment is difficult to be performed quickly and accurately.
In a first aspect, an embodiment of the present application provides a shooting method, where the method includes:
under the condition of displaying a shooting preview interface, acquiring a change numerical value of a real sensing pixel in a dynamic visual sensor;
outputting target information under the condition that the variation value is greater than or equal to a preset threshold value;
determining target exposure parameters based on the target information;
shooting to obtain a multimedia file based on the target exposure parameter;
wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
In a second aspect, an embodiment of the present application provides an apparatus for shooting, including:
the acquisition module is used for acquiring a change value of a sensory pixel in the dynamic visual sensor under the condition of displaying a shooting preview interface;
the output module is used for outputting the target information under the condition that the variation value is greater than or equal to a preset threshold value;
the determining module is used for determining target exposure parameters based on the target information;
the shooting module is used for shooting to obtain a multimedia file based on the target exposure parameter;
wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, 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, embodiments of the present application provide 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 a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, the position information, the environment brightness information and the time information of the real sensing pixels are output by combining the variation numerical values of the real sensing pixels, so that the exposure parameters are quickly adjusted, a user can obtain a satisfactory preview picture, and the quality of the shot image and the quality of the shot video are improved.
In the shooting process, the electronic equipment automatically detects the relation between the change value of the real sensing pixel and the preset threshold value and can automatically adjust the exposure parameter, so that even if the shooting experience of a user is less or does not have the shooting experience, the electronic equipment can automatically and quickly adjust the exposure parameter, the difficulty of shooting by using the electronic equipment can be reduced, and images and videos with better picture quality can be shot in different scenes.
Drawings
Fig. 1 is a schematic flow chart of a shooting method in an embodiment of the present application;
FIG. 2 is one of schematic diagrams before and after adjustment of exposure duration in an embodiment of the present application;
FIG. 3 is a second schematic diagram of the embodiment of the present application before and after the exposure time length is adjusted;
FIG. 4 is a schematic block diagram of a photographing apparatus in an embodiment of the present application;
FIG. 5 is a schematic block diagram of an electronic device in an embodiment of the application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram showing a comparison between a real pixel and a normal pixel according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 shooting method, the shooting device, the electronic device and the readable storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
As shown in fig. 1, in an embodiment of the present application, there is provided a photographing method including:
102, acquiring a change numerical value of a sensory pixel in the dynamic visual sensor under the condition of displaying a shooting preview interface;
after the camera shooting function is started, the image to be shot can be displayed on the screen of the electronic equipment, and the display interface of the electronic equipment is a shooting preview interface.
104, outputting target information under the condition that the variation value is greater than or equal to a preset threshold value;
after the image pickup function is turned on, it is necessary to determine whether or not an area having a large change in brightness is included in an image in the shooting preview interface. When the variation value is large, target information is output.
Specifically, when determining whether the image in the capture preview interface includes an area with a large luminance change, a dynamic Vision sensor DVS (dynamic Vision sensor) may be used as a camera sensor in the electronic device, where the dynamic Vision sensor DVS has a low-delay characteristic and can quickly respond to an environmental change, so that the dynamic Vision sensor DVS can quickly acquire whether the image in the capture preview interface includes an area with a large luminance change.
When the variation value of the real sensing pixel is greater than or equal to the preset threshold, it is described that the shooting preview interface includes an area with a large luminance variation, and the area with the large luminance variation has a large influence on the quality of the shot image or video, so that the exposure parameter needs to be adjusted. Specifically, according to the information such as the position, the ambient brightness, the time and the like of the target information, the exposure parameters are adjusted, and the influence of the area with large brightness change on the image or video quality is reduced.
The high-precision real-time brightness information output by the dynamic vision sensor DVS can provide good brightness information for real-time environment brightness perception in the video recording process, the brightness information is effectively utilized, exposure parameters can be reasonably adjusted, a rapid image self-adaptive exposure method is realized, more complete image information is captured, and a good image basis is also provided for image post-processing.
As shown in fig. 7, the number 100 is an image seen by human eyes, the number 200 is an image recorded by normal pixels, and the number 300 is an image recorded by real pixels. The difference between the real-sensing pixels and the common pixels is that the conventional pixels integrate light information in a time period (related to a frame rate) and then read out one by one in sequence, the real-sensing pixels can be independent respectively, change of external environment brightness is sensed in real time along with the clock frequency of the pixels, conversion of the environment brightness is converted into change of pixel values, if the change quantity of the pixel values of a certain real-sensing pixel exceeds a preset threshold value, the real-sensing pixels report to a system to be read out, and a data packet with coordinate information, brightness information and time information is output.
Step 106, determining target exposure parameters based on the target information;
step 108, shooting to obtain a multimedia file based on the target exposure parameter; wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
And combining the change numerical value of the real sensing pixel, outputting the position information, the environment brightness information and the time information of the real sensing pixel, and thus quickly adjusting the exposure parameter, enabling a user to obtain a satisfactory preview picture, and being beneficial to improving the quality of the image and the video obtained by shooting.
In the shooting process, the electronic equipment automatically detects the relation between the change value of the real sensing pixel and the preset threshold value and can automatically adjust the exposure parameter, so that even if the shooting experience of a user is less or does not have the shooting experience, the electronic equipment can automatically and quickly adjust the exposure parameter, the difficulty of shooting by using the electronic equipment can be reduced, and images and videos with better picture quality can be shot in different scenes.
Compared with a mode of processing images by fusing multiple frames of images, the shooting method in the embodiment can process a single frame of image, has higher processing speed and is more suitable for video shooting.
In one possible embodiment, determining the target exposure parameters based on the target information comprises: determining a first image area based on the position information and the environment brightness information of the sensory pixels; determining a first target exposure parameter of the first image area based on the ambient brightness information and the time information; the first image area is an image area with brightness variation exceeding a preset range.
In this embodiment, when an image area with a brightness change larger than a preset range exists in the shooting preview interface, it is indicated that an area with a large light-dark difference exists in the image in the shooting preview interface, and if the whole image is adjusted by using the same exposure parameters, a situation of local overexposure or local underexposure is likely to occur. Therefore, it is necessary to determine the position of the first image region according to the position information, and determine the first exposure parameter of the first image region according to the ambient brightness information and the time information, wherein the time information is used for determining the image frame for adjusting the exposure parameter. When shooting, shoot through first exposure parameter to first image area, can compensate the luminance difference in the great region of light and shade difference, avoid appearing the local overexposure or local underexposure condition emergence, be favorable to improving the shooting effect.
For the area with small light and shade difference, the default exposure parameters can still be adopted for shooting.
In one possible application, there may be a plurality of image areas with larger brightness difference, and the exposure parameters of the plurality of image areas need to be adjusted respectively.
In one possible embodiment, the first target exposure parameter comprises: an exposure duration; determining a first target exposure parameter for the first image region based on the ambient brightness information and the temporal information, comprising: under the condition that the ambient brightness information of the first image area meets a first preset condition, shortening the exposure time of the first image area; and under the condition that the ambient brightness information of the first image area meets a second preset condition, prolonging the exposure time of the first image area.
In this embodiment, the exposure duration may have an impact on the video quality. When the exposure length is increased, the photon energy absorbed by the image in the shooting process can be improved, and the brightness of the shot image is higher. When the exposure time is reduced, the photon energy absorbed by the image in the shooting process can be reduced, and the brightness of the shot image is small.
The first preset condition may be that the ambient brightness is greater than or equal to the preset brightness, and when an image area with a larger brightness appears, overexposure may be avoided by shortening the exposure time. The second preset condition may be that the ambient brightness is less than the preset brightness, and when an image area with smaller brightness appears, underexposure can be avoided by prolonging the exposure duration.
In one possible application, when the variation value of the real sensing pixel is large, two pixels are respectively used as a first pixel and a second pixel for explanation. The positions of a first pixel point and a second pixel point in an image are determined, if the first pixel point and the second pixel point are located in different pixel rows, the situation that the brightness difference value of two adjacent pixel rows is large exists in a shooting preview interface is explained, and at the moment, the exposure duration of the two adjacent pixel rows can be adjusted.
It should be noted that a pixel row refers to a plurality of pixel points located in the same row, and an image is composed of a plurality of pixel rows.
Specifically, whether the first pixel point and the second pixel point are located in adjacent pixel rows can be determined according to the position information. If the first pixel point is located in the first pixel row and the second pixel point is located in the second pixel row, the brightness values of the first pixel row and the second pixel row need to be obtained. In the case where the luminance value of the first pixel row is large, the exposure time period of the first pixel row is shortened or the exposure time period of the second pixel row is lengthened.
With regard to shortening the exposure time period or extending the exposure time period, the following is explained: in the case where the luminance values of the first pixel row and the second pixel row are both large, even if the luminance value of the second pixel row is smaller than the luminance value of the first pixel row, it is necessary to shorten the exposure time period of the first pixel row, because lengthening the exposure time period of the second pixel row causes overexposure of the second pixel row.
As shown in fig. 2, the left part of the arrow shows a plurality of pixel rows, the length of each pixel row represents the exposure time length of the pixel row, and as can be seen from the figure, the exposure time length of each pixel row is basically the same. In the case where the luminance values of the upper three pixel rows are large and the luminance values of the lower three pixel rows are small, it is necessary to increase the exposure time period of the lower three pixel rows.
The function of automatically adjusting exposure parameters is realized by adjusting the exposure duration of adjacent pixel rows, so that an image with good exposure is obtained, effective image information is kept as much as possible, and the image quality is improved.
In one possible embodiment, the first target exposure parameter comprises: exposure gain; determining a first target exposure parameter for the first image region based on the ambient brightness information and the temporal information, comprising: reducing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a third preset condition; and increasing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a fourth preset condition.
In this embodiment, when the exposure parameter is adjusted, the exposure parameter may also be adjusted by adjusting the exposure gain. When the exposure gain is increased, the brightness of the captured image is larger. When the exposure gain is reduced, the brightness of the captured image is small.
For the adjustment region with a small area, the exposure gain can be changed, and for the adjustment region with a large area, the exposure time can be changed. The influence of the exposure duration and the exposure parameters on the area with larger brightness change is comprehensively considered, the video processing effect can be further improved, and the video shooting quality can be improved.
If the first pixel point and the second pixel point are located in the same pixel line, the situation that the brightness difference value of the two pixel points is large exists in the same pixel line is shown, and at the moment, the exposure gain of the two adjacent pixel points can be adjusted.
The dynamic vision sensor DVS exposes the image line by line, so that when a pixel point with a large brightness difference appears in the same pixel line, gain adjustment can be performed on an area with a large brightness difference.
In the video recording process, when the shooting scene is transited from an indoor scene to an outdoor scene, the dynamic visual sensor DVS can quickly sense the brightness change. If the brightness variation value exceeds the preset variation range, the dynamic vision sensor DVS outputs a data packet with coordinate information, brightness information and time information, so that the position of the area in the image can be accurately positioned.
Whether the first pixel point and the second pixel point are located in the same pixel row or not can be determined according to the position information. If the first pixel point and the second pixel point are located in the same pixel row, the brightness values of the first pixel point and the second pixel point need to be obtained. And under the condition that the brightness value of the first pixel point is larger, reducing the exposure gain of the first pixel point or increasing the exposure gain of the second pixel point.
With regard to increasing the exposure gain or decreasing the exposure gain, the following is explained: under the condition that the brightness values of the first pixel point and the second pixel point are large, even if the brightness value of the second pixel point is smaller than the brightness value of the first pixel point, the mode of reducing the exposure gain of the first pixel point needs to be adopted, and therefore the condition that the second pixel point is overexposed due to the fact that the exposure gain of the second pixel point is increased can be caused.
The function of automatically adjusting exposure parameters is realized by adjusting the exposure gain of adjacent pixel points, so that an image with good exposure is obtained, effective image information is kept as much as possible, and the image quality is improved.
In a possible embodiment, the shooting preview interface is a preview interface corresponding to the first shooting mode.
In this embodiment, in the first photographing mode, the exposure parameter may be adjusted for an area in the image where the difference in brightness is large. Therefore, under the scene with larger ambient brightness difference, the user can select the first shooting mode to shoot, which is beneficial to improving the shooting effect.
In one possible embodiment, determining the target exposure parameters based on the target information comprises: determining a second image area based on the position information of the sensory pixel and the ambient brightness information; determining a second target exposure parameter for the second image region based on the ambient brightness information and the time information; and the second image area is an image area corresponding to the motion trail of the moving object.
In this embodiment, when there is a moving image in an image within the shooting preview interface, if it is desired to shoot the moving image clearly, it is necessary to avoid the occurrence of underexposure. Therefore, it is necessary to determine the position of the moving object according to the position information and adjust the exposure parameter of the moving object in combination with the ambient brightness information and the time information.
When shooting, the second image area is shot through the second exposure parameters, the motion trail of the shot object can be clearly recorded, and the shooting effect is favorably improved.
For areas without moving images, shooting can still be performed with default exposure parameters.
In a possible embodiment, the second target exposure parameter comprises at least one of: exposure duration and exposure gain; determining a second target exposure parameter for the second image region based on the ambient brightness information and the temporal information, including at least one of: extending the exposure duration of the second image area based on the ambient brightness information and the time information; based on the ambient brightness information and the time information, an exposure gain of the second image area is increased.
In this embodiment, the position of the moving image is determined based on the position information. And then determining the exposure time length or the exposure gain of the image area of the moving image according to the environment brightness information and the time information. Wherein the time information is used to determine the image frame for adjusting the exposure parameters.
Specifically, the pixel line where the moving image is located is determined as the third pixel line according to the position information, and in order to record the motion trajectory of the small ball, the exposure time duration of the third pixel line can be increased, so that the local long exposure effect is realized. The areas except the moving images are still exposed by adopting the default exposure time length, so that the moving track of the small ball can be obtained, and the shooting effect of the background where the moving images are located cannot be influenced.
As shown in fig. 3, the left part of the arrow shows a plurality of pixel rows, the length of each pixel row represents the exposure time length of the pixel row, and as can be seen from the figure, the exposure time length of each pixel row is basically the same. When the moving image is located at the middle three pixel rows, the exposure time period of the middle three pixel rows is increased.
By the mode, the function of automatically adjusting the exposure parameters is realized, the image with good exposure is favorably obtained, effective image information is kept as much as possible, and the image quality is improved.
Long exposures are typically used for night time photography and track photography to record a track by extending the shutter open time of the camera to absorb more light.
In one possible application, there may be a plurality of moving images, and the exposure parameters of the plurality of moving images need to be adjusted.
In one possible application, after the multimedia file is obtained, the multimedia file may be further optimized for image signal processing. The image signal processing includes: color temperature correction, local gain adjustment, etc. By further optimizing the image, the image quality of the obtained multimedia file is further improved, and the shooting requirements of users are favorably met.
According to the shooting method provided by the embodiment of the application, the execution main body can be a shooting device. The embodiment of the present application takes a method for executing shooting by a shooting device as an example, and describes the shooting device provided by the embodiment of the present application.
As shown in fig. 4, in an embodiment of the present application, there is provided a photographing apparatus 400 including:
an obtaining module 410, configured to obtain a change value of a sensory pixel in the dynamic visual sensor when a shooting preview interface is displayed;
an output module 420, configured to output the target information when the variation value is greater than or equal to a preset threshold;
a determining module 430, configured to determine a target exposure parameter based on the target information;
the shooting module 440 is used for shooting to obtain a multimedia file based on the target exposure parameter;
wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
And combining the change numerical value of the real sensing pixel, outputting the position information, the environment brightness information and the time information of the real sensing pixel, and thus quickly adjusting the exposure parameter, enabling a user to obtain a satisfactory preview picture, and being beneficial to improving the quality of the image and the video obtained by shooting.
In the shooting process, the electronic equipment automatically detects the relation between the change value of the real sensing pixel and the preset threshold value and can automatically adjust the exposure parameter, so that even if the shooting experience of a user is less or does not have the shooting experience, the electronic equipment can automatically and quickly adjust the exposure parameter, the difficulty of shooting by using the electronic equipment can be reduced, and images and videos with better picture quality can be shot in different scenes.
In a possible embodiment, the determining module is specifically configured to: determining a first image area based on the position information and the environment brightness information of the sensory pixels; determining a first target exposure parameter of the first image area based on the ambient brightness information and the time information; the first image area is an image area with brightness variation exceeding a preset range.
In one possible embodiment, the first target exposure parameter comprises: an exposure duration; the determination module is specifically configured to: under the condition that the ambient brightness information of the first image area meets a first preset condition, shortening the exposure time of the first image area; and under the condition that the ambient brightness information of the first image area meets a second preset condition, prolonging the exposure time of the first image area.
In one possible embodiment, determining a first target exposure parameter for the first image region based on the ambient brightness information and the temporal information comprises: reducing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a third preset condition; and increasing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a fourth preset condition.
In a possible embodiment, the shooting preview interface is a preview interface corresponding to the first shooting mode.
In a possible embodiment, the determining module is specifically configured to: determining a second image area based on the position information of the sensory pixel and the ambient brightness information; determining a second target exposure parameter for the second image region based on the ambient brightness information and the time information; and the second image area is an image area corresponding to the motion trail of the moving object.
In a possible embodiment, the second target exposure parameter comprises at least one of: exposure duration and exposure gain; the determination module is specifically configured to: extending the exposure duration of the second image area based on the ambient brightness information and the time information; based on the ambient brightness information and the time information, an exposure gain of the second image area is increased. The shooting preview interface is a preview interface corresponding to the second shooting mode.
The shooting device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus 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 shooting device provided by the embodiment of the application can realize each process realized by the method embodiments of fig. 1 to fig. 3, and realize the same technical effect, and is not repeated here in order to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in an embodiment of the present application, and includes a processor 510 and a memory 520, where the memory 520 stores a program or an instruction that can be executed on the processor 510, and when the program or the instruction is executed by the processor 510, the steps of the foregoing shooting method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic hardware structure diagram of an electronic device 600 implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 610 is configured to obtain a change value of a sensory pixel in the dynamic visual sensor when a shooting preview interface is displayed; outputting target information under the condition that the variation value is greater than or equal to a preset threshold value; determining target exposure parameters based on the target information; and shooting to obtain the multimedia file based on the target exposure parameters.
And combining the change numerical value of the real sensing pixel, outputting the position information, the environment brightness information and the time information of the real sensing pixel, and thus quickly adjusting the exposure parameter, enabling a user to obtain a satisfactory preview picture, and being beneficial to improving the quality of the image and the video obtained by shooting.
In the shooting process, the electronic equipment automatically detects the relation between the change value of the real sensing pixel and the preset threshold value and can automatically adjust the exposure parameter, so that even if the shooting experience of a user is less or does not have the shooting experience, the electronic equipment can automatically and quickly adjust the exposure parameter, the difficulty of shooting by using the electronic equipment can be reduced, and images and videos with better picture quality can be shot in different scenes.
Optionally, the processor 610 is configured to determine a first image region based on the position information of the real sensing pixel and the ambient brightness information; based on the ambient brightness information and the time information, a first target exposure parameter for the first image region is determined.
Optionally, the processor 610 is configured to shorten an exposure duration of the first image area when the ambient brightness information of the first image area satisfies a first preset condition; and under the condition that the ambient brightness information of the first image area meets a second preset condition, prolonging the exposure time of the first image area.
Optionally, the processor 610 is configured to reduce an exposure gain of the first image area if the ambient brightness information of the first image area satisfies a third preset condition; and increasing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a fourth preset condition.
Optionally, the processor 610 is configured to determine a second image area based on the position information of the real sensing pixel and the ambient brightness information; based on the ambient brightness information and the time information, a second target exposure parameter for the second image region is determined.
Optionally, the processor 610 is configured to extend an exposure duration of the second image region based on the ambient brightness information and the time information; based on the ambient brightness information and the time information, an exposure gain of the second image area is increased.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 609 may include volatile memory or nonvolatile memory, or the memory 609 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 609 in the embodiments of the subject application include, but are not limited to, these and any other suitable types of memory.
Processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
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 foregoing shooting method embodiment, 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 in the above embodiment. Readable storage media, including computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, and the like.
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 execute a program or an instruction to implement each process of the above shooting method embodiment, 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.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing shooting method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 computer 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, or a network device) to execute the method of 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 (11)

1. A photographing method, characterized by comprising:
under the condition of displaying a shooting preview interface, acquiring a change numerical value of a real sensing pixel in a dynamic visual sensor;
outputting target information under the condition that the variation value is greater than or equal to a preset threshold value;
determining target exposure parameters based on the target information;
shooting to obtain a multimedia file based on the target exposure parameter;
wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
2. The photographing method according to claim 1,
the determining a target exposure parameter based on the target information comprises:
determining a first image area based on the position information of the real sensing pixel and the environment brightness information;
determining a first target exposure parameter for the first image region based on the ambient brightness information and the time information;
the first image area is an image area with brightness change exceeding a preset range.
3. The photographing method according to claim 2,
the first target exposure parameters include: an exposure duration;
the determining a first target exposure parameter for the first image region based on the ambient brightness information and the time information comprises:
shortening the exposure time of the first image area under the condition that the ambient brightness information of the first image area meets a first preset condition;
and under the condition that the ambient brightness information of the first image area meets a second preset condition, prolonging the exposure time of the first image area.
4. The photographing method according to claim 2,
the first target exposure parameters include: exposure gain;
the determining a first target exposure parameter for the first image region based on the ambient brightness information and the time information comprises:
reducing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a third preset condition;
and increasing the exposure gain of the first image area under the condition that the ambient brightness information of the first image area meets a fourth preset condition.
5. The photographing method according to any one of claims 2 to 4,
the shooting preview interface is a preview interface corresponding to the first shooting mode.
6. The photographing method according to claim 1,
the determining a target exposure parameter based on the target information comprises:
determining a second image area based on the position information of the real sensing pixel and the environment brightness information;
determining a second target exposure parameter for the second image region based on the ambient brightness information and the time information;
and the second image area is an image area corresponding to the motion trail of the moving object.
7. The photographing method according to claim 6,
the second target exposure parameter comprises at least one of: exposure duration and exposure gain;
the determining a second target exposure parameter for the second image region based on the ambient brightness information and the temporal information comprises at least one of:
based on the ambient brightness information and the time information, prolonging the exposure duration of the second image area;
increasing an exposure gain of the second image area based on the ambient brightness information and the time information.
8. The photographing method according to claim 6 or 7,
and the shooting preview interface is a preview interface corresponding to the second shooting mode.
9. A camera, comprising:
the acquisition module is used for acquiring a change value of a sensory pixel in the dynamic visual sensor under the condition of displaying a shooting preview interface;
the output module is used for outputting target information under the condition that the variation value is greater than or equal to a preset threshold value;
a determining module for determining a target exposure parameter based on the target information;
the shooting module is used for shooting to obtain a multimedia file based on the target exposure parameter;
wherein the target information includes: sensing position information, ambient brightness information and time information of the pixel; the multimedia file includes at least one of: images, videos.
10. An electronic device, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the shooting method according to any one of claims 1 to 8.
11. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 8.
CN202210170753.1A 2022-02-23 2022-02-23 Photographing method, photographing apparatus, electronic device, and readable storage medium Pending CN114390209A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210170753.1A CN114390209A (en) 2022-02-23 2022-02-23 Photographing method, photographing apparatus, electronic device, and readable storage medium
PCT/CN2023/077187 WO2023160496A1 (en) 2022-02-23 2023-02-20 Photographing method, photographing apparatus, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210170753.1A CN114390209A (en) 2022-02-23 2022-02-23 Photographing method, photographing apparatus, electronic device, and readable storage medium

Publications (1)

Publication Number Publication Date
CN114390209A true CN114390209A (en) 2022-04-22

Family

ID=81205348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210170753.1A Pending CN114390209A (en) 2022-02-23 2022-02-23 Photographing method, photographing apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114390209A (en)
WO (1) WO2023160496A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242952A (en) * 2022-07-28 2022-10-25 联想(北京)有限公司 Image acquisition method and device
CN115278097A (en) * 2022-06-24 2022-11-01 维沃移动通信有限公司 Image generation method, image generation device, electronic device, and medium
WO2023160496A1 (en) * 2022-02-23 2023-08-31 维沃移动通信有限公司 Photographing method, photographing apparatus, electronic device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212242A (en) * 2020-01-14 2020-05-29 维沃移动通信有限公司 Exposure method and electronic apparatus
CN112153301A (en) * 2020-09-27 2020-12-29 维沃移动通信有限公司 Shooting method and electronic equipment
CN113099122A (en) * 2021-03-31 2021-07-09 维沃移动通信有限公司 Shooting method, shooting device, shooting equipment and storage medium
WO2021258321A1 (en) * 2020-06-24 2021-12-30 华为技术有限公司 Image acquisition method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8436914B2 (en) * 2008-11-07 2013-05-07 Cisco Technology, Inc. Method for automatic exposure control within a video capture device
US11050945B2 (en) * 2018-07-06 2021-06-29 Samsung Electronics Co., Ltd. Method and apparatus for capturing dynamic images
CN109544590B (en) * 2018-11-27 2020-05-15 上海芯仑光电科技有限公司 Target tracking method and computing device
CN112118380B (en) * 2019-06-19 2022-10-25 北京小米移动软件有限公司 Camera control method, device, equipment and storage medium
CN112312017B (en) * 2020-10-29 2022-04-12 维沃移动通信有限公司 Shooting control method and electronic equipment
CN112672060B (en) * 2020-12-29 2022-09-02 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN114390209A (en) * 2022-02-23 2022-04-22 维沃移动通信有限公司 Photographing method, photographing apparatus, electronic device, and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212242A (en) * 2020-01-14 2020-05-29 维沃移动通信有限公司 Exposure method and electronic apparatus
WO2021258321A1 (en) * 2020-06-24 2021-12-30 华为技术有限公司 Image acquisition method and apparatus
CN112153301A (en) * 2020-09-27 2020-12-29 维沃移动通信有限公司 Shooting method and electronic equipment
CN113099122A (en) * 2021-03-31 2021-07-09 维沃移动通信有限公司 Shooting method, shooting device, shooting equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023160496A1 (en) * 2022-02-23 2023-08-31 维沃移动通信有限公司 Photographing method, photographing apparatus, electronic device and readable storage medium
CN115278097A (en) * 2022-06-24 2022-11-01 维沃移动通信有限公司 Image generation method, image generation device, electronic device, and medium
CN115242952A (en) * 2022-07-28 2022-10-25 联想(北京)有限公司 Image acquisition method and device

Also Published As

Publication number Publication date
WO2023160496A1 (en) 2023-08-31

Similar Documents

Publication Publication Date Title
JP6388673B2 (en) Mobile terminal and imaging method thereof
CN114390209A (en) Photographing method, photographing apparatus, electronic device, and readable storage medium
RU2511499C2 (en) Imaging device and method of its control
CN112333382B (en) Shooting method and device and electronic equipment
CN113099122A (en) Shooting method, shooting device, shooting equipment and storage medium
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114422692B (en) Video recording method and device and electronic equipment
US20080094481A1 (en) Intelligent Multiple Exposure
US10769416B2 (en) Image processing method, electronic device and storage medium
CN113014817B (en) Method and device for acquiring high-definition high-frame video and electronic equipment
CN112367465B (en) Image output method and device and electronic equipment
CN115379118B (en) Camera switching method and device, electronic equipment and readable storage medium
CN115278047A (en) Shooting method, shooting device, electronic equipment and storage medium
CN113099107B (en) Video shooting method, device and medium based on terminal and computer equipment
CN115439386A (en) Image fusion method and device, electronic equipment and storage medium
CN114785969A (en) Shooting method and device
CN112312024A (en) Photographing processing method and device and storage medium
CN112367464A (en) Image output method and device and electronic equipment
CN114827477B (en) Method, device, electronic equipment and medium for time-lapse photography
US11785346B2 (en) Imaging device and imaging control method
CN115278053A (en) Image shooting method and electronic equipment
CN117714844A (en) Video processing method and device
JP2002185867A (en) Imaging device, controller for the image pickup device, and light quantity control method
CN115103112A (en) Lens control method and electronic equipment
CN115278046A (en) Shooting method and device, electronic equipment and storage medium

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