CN118102080A - Image shooting method, device, terminal and storage medium - Google Patents

Image shooting method, device, terminal and storage medium Download PDF

Info

Publication number
CN118102080A
CN118102080A CN202211488775.9A CN202211488775A CN118102080A CN 118102080 A CN118102080 A CN 118102080A CN 202211488775 A CN202211488775 A CN 202211488775A CN 118102080 A CN118102080 A CN 118102080A
Authority
CN
China
Prior art keywords
image
preview image
determining
original
sub
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
CN202211488775.9A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211488775.9A priority Critical patent/CN118102080A/en
Publication of CN118102080A publication Critical patent/CN118102080A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The disclosure provides an image shooting method, an image shooting device, a terminal and a storage medium, wherein the image shooting method comprises the following steps: determining an original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit; and adjusting the original preview image to determine a target preview image. In the method, after the original preview image is determined according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit, the original preview image can be adjusted to obtain a more coordinated and real overall target preview image, the image shooting effect is improved, and the use experience of a user is improved.

Description

Image shooting method, device, terminal and storage medium
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to an image shooting method, an image shooting device, a terminal and a storage medium.
Background
With the development of camera shooting technology, more and more users like to record pictures of the users in daily travel or friends gathering through group photo, wherein the group photo of all people can be shot by combining images of a front camera and a rear camera.
For example, an object extracted from a digital image captured by a front-facing camera may be superimposed on digital content captured by a rear-facing camera as digital photographs or digital video content to form a combined image. However, in a daily shooting scene, the light source usually has only one or comes from one direction, but in general, the main object to be shot is opposite to the light source by using the rear camera, so that the shooting effect is ensured, the front camera is opposite to the light source, the shot front character is backlit, and in this case, if the contents of the front camera and the rear camera are combined, character effects of different light sources appear in the combined image, namely, in the combined image, because the light sources of part of the images are not uniform, an uncoordinated and false feeling is generated, and the user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an image photographing method, apparatus, terminal, and storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided an image capturing method, applied to a terminal, the image capturing method including:
Determining an original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit;
And adjusting the original preview image to determine a target preview image.
Optionally, the determining the original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit includes:
Determining a first sub-image from the first preview image according to first identification information;
and determining the original preview image according to the first sub-image and the second preview image.
Optionally, after the determining the original preview image, the image capturing method includes:
and displaying the original preview image on a preview interface.
Optionally, the terminal includes at least two display interfaces, and the image capturing method includes:
and determining the display interface facing the user in the at least two display interfaces as the preview interface.
Optionally, the adjusting the original preview image includes:
and limiting the difference value of the brightness of at least the edges of the first sub-image and the second preview image within a preset threshold range by adjusting the light ray parameters.
Optionally, the light parameter includes at least one of:
The flash lamp parameters corresponding to the first camera unit, the flash lamp parameters corresponding to the second camera unit and the brightness parameters of the display screen of the terminal.
Optionally, the adjusting the original preview image includes:
receiving a control instruction corresponding to the simulated light source information;
determining target simulated light source information according to the control instruction;
And adjusting the original preview image according to the target simulated light source information.
Optionally, the analog light source information includes at least one of:
The brightness information of the light source is simulated, and the position information of the light source is simulated.
Optionally, the adjusting the original preview image includes:
determining a second sub-image from the original preview image according to the second identification information;
the original preview image is adjusted by adjusting the second sub-image.
According to a second aspect of embodiments of the present disclosure, there is provided an image capturing apparatus, applied to a terminal, including:
the determining module is used for determining an original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit;
and the method is also used for adjusting the original preview image and determining a target preview image.
Optionally, the determining module is configured to:
Determining a first sub-image from the first preview image according to first identification information;
and determining the original preview image according to the first sub-image and the second preview image.
Optionally, the determining module is configured to:
and after the original preview image is determined, displaying the original preview image on a preview interface.
Optionally, the terminal includes at least two display interfaces, and the determining module is configured to:
and determining the display interface facing the user in the at least two display interfaces as the preview interface.
Optionally, the determining module includes:
And the adjusting sub-module is used for limiting the difference value of the brightness of at least the edges of the first sub-image and the second preview image within a preset threshold range by adjusting the light parameters.
Optionally, the light parameters include at least one of:
The flash lamp parameters corresponding to the first camera unit, the flash lamp parameters corresponding to the second camera unit and the brightness parameters of the display screen of the terminal.
Optionally, the determining module includes:
The receiving sub-module is used for receiving a control instruction corresponding to the analog light source information;
the determining submodule is used for determining target simulation light source information according to the control instruction;
and the adjustment sub-module is used for adjusting the original preview image according to the target simulated light source information.
Optionally, the simulated light source information includes at least one of:
The brightness information of the light source is simulated, and the position information of the light source is simulated.
Optionally, the determining module includes:
The determining sub-module is used for determining a second sub-image from the original preview image according to the second identification information;
And the adjusting sub-module is used for adjusting the original preview image by adjusting the second sub-image.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
A processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the image capturing method according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of a terminal, causes the terminal to perform the image capturing method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: in the method, after the original preview image is determined according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit, the original preview image can be adjusted to obtain a more coordinated and real overall target preview image, the image shooting effect is improved, and the use experience of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an image photographing method according to an exemplary embodiment.
Fig. 2 is a block diagram of an image photographing device according to an exemplary embodiment.
Fig. 3 is a block diagram of a terminal shown according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods of some embodiments of the present disclosure.
The embodiment of the disclosure provides an image shooting method which is applied to a terminal. According to the method, after the original preview image is determined according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit, the original preview image can be adjusted to obtain a more coordinated and real overall target preview image, the image shooting effect is improved, and the use experience of a user is improved.
In one exemplary embodiment, an image photographing method is provided, which is applied to a terminal. Referring to fig. 1, the method may include:
S110, determining an original preview image according to a first preview image acquired by a first camera unit and a second preview image acquired by a second camera unit;
s120, adjusting the original preview image to determine a target preview image.
In step S110, the terminal includes an image capturing component, which may be a dual-image capturing component or a multi-image capturing component, which is not limited thereto. The camera assembly may include a first camera unit and a second camera unit. When the camera shooting assembly is a double camera shooting assembly, the first camera shooting unit can be a front camera shooting unit, and correspondingly, the second camera shooting unit can be a rear camera shooting unit; or the first camera unit may be a rear camera unit, and correspondingly, the second camera unit may be a front camera unit; this is not limited thereto.
In the step, after a camera shooting assembly of a terminal is started, a first camera shooting unit in the camera shooting assembly can acquire images, so that a first preview image is obtained; in addition, the second image capturing unit may also perform image capturing, so as to obtain a second preview image. After the first preview image and the second preview image are determined, the original preview image may be determined from the first preview image and the second preview image.
Wherein a partial image may be selected from the first preview image and then combined with the second preview image, thereby obtaining an original preview image having both the partial image and the second preview image. And the detail image of the second preview image and the first preview image can be synthesized, so that the original preview image with optimized details can be obtained. It should be noted that, in addition to the above manner, the method may also determine the original preview image in other manners, which is not limited thereto.
In addition, before the first preview image and the second preview image are acquired, in the method, the light information of the shooting environment can be detected through the photosensitive unit of the terminal, and then the light information is transmitted to the processor of the terminal, so that the processor acquires the light information of the shooting environment. The light information may include information of the position of the light source relative to the terminal, or may include information of the brightness of the light, or may include other light information, which is not limited.
After the terminal determines the light information, the flash lamp of the terminal can be controlled to perform corresponding light supplementing treatment according to the position information of the light source relative to the terminal in the light information and the brightness information of the light, so that a first preview image and a second preview image with better effects are obtained.
The light sensing unit may be a light sensor, an image capturing unit, or other devices capable of detecting light information in the shooting environment, which is not limited.
In addition, after the original preview image is determined, the original preview image can be displayed on a preview interface so that a user can know the image effect of the original preview image. When the terminal includes a display interface, the display interface may be determined as a preview interface. When the terminal includes at least two display interfaces (for example, the terminal may be a folding screen mobile phone), a display interface facing the user from among the at least two display interfaces may be determined as a preview interface, so that the user can observe an original preview image displayed in the preview interface.
In step S120, the original preview image includes content belonging to the first preview image, which may be denoted as first preview content, and also includes content belonging to the second preview image, which is denoted as second preview content. In this step, the first preview content and/or the second preview content of the original preview image may be adjusted according to the image information (including the brightness information) of the first preview content and the image information of the second preview content, so as to obtain a target preview image with a more balanced overall effect. The target preview image comprises adjusted first preview content and second preview content.
The difference value of the brightness of at least the edges of the first sub-image and the second preview image can be limited within a preset threshold range by adjusting the light parameters. The light parameters may include a flash lamp parameter corresponding to the first camera unit, a flash lamp parameter corresponding to the second camera unit, a brightness parameter of a display screen of the terminal, and the like, and of course, may also include other parameters capable of adjusting light in a shooting environment, which is not limited.
For example, if the user observes that the brightness of the first preview content is darker than the brightness of the second preview content in the original preview image, the brightness of the first sub-image and/or the brightness of the second preview image can be adjusted by adjusting the flash parameters corresponding to the first image capturing unit, so that the difference between the brightness of at least the edges of the first sub-image and the brightness of the second preview image is less than or equal to a preset threshold (for example, 10 candelas per square meter (cd/m 2)), thereby realizing the adjustment of the original preview image and obtaining the target preview image with better image effect.
Of course, besides the shooting light parameters, the original preview image can be adjusted by directly adjusting the contrast or brightness of the first sub-image and the second preview image, so that the whole effect of the original preview image is more coordinated, and the phenomenon that the picture at the splicing position of the first sub-image and the second preview image is too abrupt is avoided.
For example, if the user observes that the difference of the picture contrast between the splicing position of the first preview content and the second preview content in the original preview image is too large, the contrast between the first sub-image and the second preview image can be reduced by adjusting the contrast between the first sub-image and/or the second preview image, so that the original preview image is more coordinated, and a target preview image with more uniform image effect is obtained.
In the image capturing method, the target preview image may be determined as the captured image when the target preview image is determined. Wherein, the user can determine whether to select shooting according to the target preview image so as to obtain a final shooting image. For example, if the user considers that the target preview image meets the requirement, the image capturing component of the terminal can be controlled to capture an image so as to obtain a captured image. For another example, if the user considers the target preview image to be unsatisfactory, other parameters of the camera assembly may be readjusted to obtain a target preview image that meets the requirements, and then the target preview image is determined to be a captured image. That is, in the present disclosure, the target preview image may be determined as the captured image.
According to the method, after the original preview image is determined according to the first preview image collected by the first camera unit and the second preview image collected by the second camera unit, the part belonging to the first preview image and/or the second preview image in the original preview image can be adjusted according to the original preview image, so that the whole target preview image which is more coordinated and more real can be obtained, the image shooting effect is improved, and the use experience of a user is improved.
In one exemplary embodiment, an image photographing method is provided, which is applied to a terminal. In the method, determining an original preview image according to a first preview image acquired by a first camera unit and a second preview image acquired by a second camera unit may include:
s210, determining a first sub-image from the first preview image according to the first identification information;
S220, determining an original preview image according to the first sub-image and the second preview image.
In step S210, the specific content of the first identification information may be set according to the actual requirement, which may not be limited. The terminal may be set before the shipment of the terminal, or may be set after the shipment of the terminal, which is not limited. In addition, after the first identification information is set, the first identification information can be modified later so as to better meet the requirements of users.
The first identification information may include an identification subject, for example, including a portrait, an animal image, a still image, or other subject image, and the like, which is not limited. The first identifying information may also include identifying contours including, for example, portrait contours, triangle contours, tree contours, or contours of other shapes, without limitation. The first identification information may also include an identification color including, for example, red, green, gray, or other colors, etc., without limitation. The first identification information may include other information in addition to the above information, and is not limited thereto.
In this step, the first preview image may be identified based on the first identification information, so that an image corresponding to the first identification information is identified from the first preview image, and this image is denoted as a first sub-image.
In some embodiments of the present invention, in some embodiments,
The first identification information includes an identification subject, which may be a portrait. In this embodiment, the first preview image may be identified based on the portrait, so that an image of the portrait is identified from the first preview image, and then the identified image is determined as the first sub-image.
In some embodiments of the present invention, in some embodiments,
The first identifying information may be an identifying profile, which may be a tree profile. In this embodiment, the first preview image may be identified based on the tree profile, so that an image corresponding to the tree profile is identified from the first preview image, and the identified image is then recorded as the first sub-image.
In some embodiments of the present invention, in some embodiments,
The first identification information may be an identification color, and the identification color may be red. In this embodiment, the first preview image may be recognized based on the above red color, so that a red color image is recognized from the first preview image, and then the recognized image is determined as the first sub-image.
In step S220, after the first sub-image is determined, the original preview image may be determined based on the first sub-image and the second preview image. The first sub-image can be directly overlapped into the second preview image, so that a synthesized original preview image is obtained. Of course, the first sub-image and the second preview image may be processed in other manners to obtain the original preview image, which is not limited thereto.
According to the method, the identification information can be set according to the requirements of the user, then, when the image shooting is carried out, the first preview image can be processed based on the first identification information, and then, the final original preview image is determined according to the first sub-image obtained through processing and the second preview image, so that the image shooting is better guided, the user can shoot and obtain the image which is better in image effect and meets the requirements better, and the use experience of the user is improved.
In one exemplary embodiment, an image photographing method is provided, which is applied to a terminal. In the method, adjusting the original preview image may include:
S310, receiving a control instruction corresponding to the simulated light source information;
S320, determining target simulation light source information according to the control instruction;
S330, according to the target simulated light source information, the original preview image is adjusted.
In step S310, the simulated light source information may include brightness information of the simulated light source, position information of the simulated light source, and other information related to the simulated light source, which is not limited.
In this step, the user may input a control instruction corresponding to the simulated light source information to the terminal, so that the terminal receives the control instruction. This control instruction is used to determine target simulated light source information.
In step S320, after receiving the control instruction, the terminal may determine the target simulated light source information according to the control instruction. The terminal can respond to the control instruction to dynamically simulate the light source, namely, the terminal can simulate the corresponding original preview images under various simulated light sources so as to conveniently select the original preview images which are more coordinated and real in whole, and then determine the simulated light source information corresponding to the original preview images meeting the requirements as target simulated light source information.
In step S330, the terminal may perform light supplementing processing on the original preview image based on the target simulated light source information, so as to improve the overall effect of the original preview image, thereby obtaining a balanced and real original preview image, and then may determine the original preview image after light supplementing as the target preview image.
In some embodiments of the present invention, in some embodiments,
The terminal can be a mobile phone, and the mobile phone comprises a double-camera unit, wherein the double-camera unit comprises a front camera unit and a rear camera unit. In the mobile phone, the front camera unit can be configured with a plurality of corresponding flash lamps for supplementing light in the image shooting process of the front camera unit, and the flash lamps can be marked as front flash lamps; the rear camera unit may be configured with a plurality of corresponding flash lamps for supplementing light during image capturing of the rear camera unit, and the flash lamps may be referred to as rear flash lamps. The mobile phone is also provided with a photosensitive unit for detecting light information in a shooting environment. The light information comprises original light information in the environment and also can comprise light information sent by a mobile phone.
In this embodiment, the user can take a picture using the dual camera unit of the mobile phone. When shooting, the photosensitive element of the mobile phone can detect the light information of shooting environment, and after the light information is determined, the mobile phone can control the front flash lamp, the rear flash lamp and the display screen according to the light source position information and the brightness information in the light information so as to realize preliminary light supplementing.
After the preliminary light supplementing is finished, the front-end camera unit is used for performing self-shooting so as to obtain a first preview image; the rear camera unit is used for shooting three friends opposite to the user so as to obtain a second preview image.
After the front camera unit collects the first preview image and the rear camera unit collects the second preview image, the mobile phone can identify the portrait in the first preview image based on a preset identification main body (such as the portrait), so that the portrait of the user in the first preview image is selected as a first sub-image.
Then, the first sub-image and the second preview image may be subjected to a composition process, thereby obtaining an original preview image. The original preview image may include a portrait of the user and a portrait of three friends of the user, i.e., the original preview image is a composite image of the user and the three friends.
After the display screen of the mobile phone displays the original preview image, the corresponding light parameters can be adjusted based on the brightness information of each part in the original preview image so as to obtain a target preview image with better effect. For example, if the brightness of the sub-preview image is weaker than that of the second preview image in the original preview image, the front flash can be controlled to be in an on state so as to supplement light for shooting by the front camera, so that the brightness of the first preview image is improved, and the brightness of the first sub-image can be improved, so that the overall brightness of the original preview image is more balanced and real.
In this embodiment, after the mobile phone determines the original preview image, the user may input a control instruction corresponding to the simulated light source information to the mobile phone, and after receiving the control instruction, the mobile phone may respond to the control instruction to simulate the original preview image corresponding to the multiple simulated light sources, so as to select an overall more coordinated and real original preview image from the original preview image, and then determine the simulated light source information corresponding to the original preview image meeting the requirement as the target simulated light source information.
After the mobile phone determines the target simulated light source information, the original preview image can be subjected to light supplementing processing based on the target simulated light source information, so that the target preview image is obtained. And all the partial images in the target preview image are more coordinated, so that the target preview image is more real, the image shooting effect is improved, and the use experience of a user is improved.
According to the method, the original preview image is subjected to light supplementing treatment through the simulated light source, so that a target preview image with better image effect is obtained through shooting, further an image with better image effect is obtained, the shot image is more real, the image shooting effect is improved, and the use experience of a user is improved.
In one exemplary embodiment, an image photographing method is provided, which is applied to a terminal. In the method, adjusting the original preview image may include:
S410, determining a second sub-image from the original preview image according to the second identification information;
S420, adjusting the original preview image by adjusting the second sub-image.
In step S410, the second identification information may be set by referring to the first identification information, which is not described herein. The second identification information may include an identification subject, for example, including a portrait, an animal image, a still image, or other subject image, and the like, which is not limited. The second identifying information may also include identifying contours including, for example, but not limited to, portrait contours, triangle contours, tree contours, or contours of other shapes. The second identification information may also include an identification color including, for example, red, green, gray, or other colors, etc., without limitation. The second identification information may include other information in addition to the above information, and is not limited thereto.
In some embodiments of the present invention, in some embodiments,
The second identification information may include an identification subject, which may be a sky image. In this embodiment, the original preview image may include a portrait, a mountain image, and a sky image. In this embodiment, the original preview image may be identified based on the identification subject, so that the sky image is identified from the original preview image, and then the identified sky image is determined as the second sub-image.
In addition to the above-described manner of determining the second sub-image, the second sub-image may be determined by other manners, which is not limited thereto. In addition, the original preview image may include the content of the first preview image (denoted as first preview content) and the content of the second preview image (denoted as second preview content), and in this step, the second sub-image may belong to the first preview content or the second preview content, which is not limited thereto. That is, the second sub-image may belong to the first sub-image or may belong to the second preview image, which is not limited.
In step S420, after the second sub-image is determined, the second sub-image may be adjusted, so as to adjust the original preview image, so that the original preview image is more coordinated and more real, or other effects required by the user can be achieved by the original preview image.
In some embodiments of the present invention, in some embodiments,
The second sub-image may be a sky image. In this embodiment, the color saturation of the sky image in the original preview image can be adjusted, so that the overall image quality of the original preview image better meets the user's requirements.
In some embodiments of the present invention, in some embodiments,
The second sub-image may be a sky image. In this embodiment, the effect of taking a photo on a sunny day on a cloudy day can be achieved by adjusting the sky image on the cloudy day to a sky image on a sunny day to adjust the original preview image of the background on the cloudy day to an image of the background on the sunny day.
In this step, the above adjustment may be performed on the original preview image, but other adjustment may be performed, and this is not limited thereto.
According to the method, the preview image which meets the requirements better is obtained by adjusting part of the content in the original preview image, so that the shooting image which meets the requirements better is obtained, the requirements of users are met better, and the use experience of the users is improved.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. The device is used for implementing the image shooting method. For example, referring to fig. 2, the apparatus may include a determination module 101. In carrying out the above method,
A determining module 101, configured to determine an original preview image according to a first preview image acquired by the first image capturing unit and a second preview image acquired by the second image capturing unit;
and is also used for adjusting the original preview image and determining the target preview image.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, a determining module 101 is configured to:
determining a first sub-image from the first preview image according to the first identification information;
An original preview image is determined from the first sub-image and the second preview image.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, a determining module 101 is configured to:
after the target preview image is determined, the target preview image is determined as a captured image.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, a determining module 101 is configured to:
after the original preview image is determined, the original preview image is displayed at the preview interface.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, the terminal includes at least two display interfaces, a determining module 101, configured to:
And determining the display interface facing the user from the at least two display interfaces as a preview interface.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, the determining module 101 includes:
An adjustment sub-module 1011 is configured to limit the difference between the brightness of at least the edges of the first sub-image and the second preview image within a preset threshold range by adjusting the light parameter.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. In the device, the light parameter includes at least one of the following:
Flash lamp parameters corresponding to the first camera unit, flash lamp parameters corresponding to the second camera unit and brightness parameters of a display screen of the terminal
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, the determining module 101 includes:
A receiving sub-module 1012, configured to receive a control instruction corresponding to the analog light source information;
a determining submodule 1013 configured to determine target simulated light source information according to the control instruction;
an adjustment sub-module 1011 is used for adjusting the original preview image according to the target simulated light source information.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. In the device, the simulated light source information includes at least one of the following:
The brightness information of the light source is simulated, and the position information of the light source is simulated.
In one exemplary embodiment, an image photographing apparatus is provided, which is applied to a terminal. Referring to fig. 2, in the apparatus, the determining module 101 includes:
a determining sub-module 1013 for determining a second sub-image from the original preview image according to the second identification information;
an adjustment sub-module 1011 for adjusting the original preview image by adjusting the second sub-image.
In one exemplary embodiment, a terminal, such as a cell phone, a computer, a video camera, a still camera, a wearable device, and the like, is provided, without limitation.
Referring to fig. 3, the terminal 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, video, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 406 provides power to the various components of the device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input instructions from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio instructions. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio instructions when device 400 is in an operational mode, such as a call mode, a recording mode, and a speech understanding mode. The received audio instructions may be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio instructions.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the terminal 400. For example, the sensor assembly 414 may detect the on/off state of the terminal 400, the relative positioning of the components, such as the display and keypad of the terminal 400, the sensor assembly 414 may also detect the change in position of the device 400 or one of the components of the terminal 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the device 400 and other devices, either wired or wireless. The device 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 416 receives broadcast instructions or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital instruction processors (DSPs), digital instruction processing devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 404, including instructions executable by processor 420 of device 400 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. The instructions in the storage medium, when executed by the processor of the terminal, enable the terminal to perform the method in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. An image photographing method applied to a terminal, the image photographing method comprising:
Determining an original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit;
And adjusting the original preview image to determine a target preview image.
2. The image capturing method according to claim 1, wherein the determining an original preview image from the first preview image captured by the first image capturing unit and the second preview image captured by the second image capturing unit includes:
Determining a first sub-image from the first preview image according to first identification information;
and determining the original preview image according to the first sub-image and the second preview image.
3. The image capturing method according to claim 1, wherein after the original preview image is determined, the image capturing method comprises:
and displaying the original preview image on a preview interface.
4. The image photographing method as claimed in claim 3, wherein the terminal includes at least two display interfaces, the image photographing method comprising:
and determining the display interface facing the user in the at least two display interfaces as the preview interface.
5. The image capturing method according to claim 2, wherein said adjusting the original preview image includes:
and limiting the difference value of the brightness of at least the edges of the first sub-image and the second preview image within a preset threshold range by adjusting the light ray parameters.
6. The image capturing method of claim 5, wherein the light parameters include at least one of:
The flash lamp parameters corresponding to the first camera unit, the flash lamp parameters corresponding to the second camera unit and the brightness parameters of the display screen of the terminal.
7. The image capturing method according to claim 1, wherein said adjusting the original preview image includes:
receiving a control instruction corresponding to the simulated light source information;
determining target simulated light source information according to the control instruction;
And adjusting the original preview image according to the target simulated light source information.
8. The image capturing method according to claim 7, wherein the analog light source information includes at least one of:
The brightness information of the light source is simulated, and the position information of the light source is simulated.
9. The image capturing method according to any one of claims 1 to 8, wherein said adjusting the original preview image includes:
determining a second sub-image from the original preview image according to the second identification information;
the original preview image is adjusted by adjusting the second sub-image.
10. An image photographing device applied to a terminal, the image photographing device comprising:
the determining module is used for determining an original preview image according to the first preview image acquired by the first camera unit and the second preview image acquired by the second camera unit;
and the method is also used for adjusting the original preview image and determining a target preview image.
11. The image capturing apparatus according to claim 10, wherein the determining module is configured to:
Determining a first sub-image from the first preview image according to first identification information;
and determining the original preview image according to the first sub-image and the second preview image.
12. The image capturing apparatus according to claim 10, wherein the determining module is configured to:
and after the original preview image is determined, displaying the original preview image on a preview interface.
13. The image capturing apparatus according to claim 12, wherein the terminal includes at least two display interfaces, the determining module being configured to:
and determining the display interface facing the user in the at least two display interfaces as the preview interface.
14. The image capturing apparatus of claim 11, wherein the determining module comprises:
And the adjusting sub-module is used for limiting the difference value of the brightness of at least the edges of the first sub-image and the second preview image within a preset threshold range by adjusting the light parameters.
15. The image capture device of claim 14, wherein the light parameters comprise at least one of:
The flash lamp parameters corresponding to the first camera unit, the flash lamp parameters corresponding to the second camera unit and the brightness parameters of the display screen of the terminal.
16. The image capturing apparatus of claim 10, wherein the determining module comprises:
The receiving sub-module is used for receiving a control instruction corresponding to the analog light source information;
the determining submodule is used for determining target simulation light source information according to the control instruction;
and the adjustment sub-module is used for adjusting the original preview image according to the target simulated light source information.
17. The image capturing apparatus of claim 16, wherein the analog light source information includes at least one of:
The brightness information of the light source is simulated, and the position information of the light source is simulated.
18. The image capturing apparatus according to any one of claims 10 to 17, wherein the determining module includes:
The determining sub-module is used for determining a second sub-image from the original preview image according to the second identification information;
And the adjusting sub-module is used for adjusting the original preview image by adjusting the second sub-image.
19. A terminal, the terminal comprising:
A processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to perform the image capturing method according to any of claims 1-9.
20. A non-transitory computer readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the image capturing method according to any one of claims 1-9.
CN202211488775.9A 2022-11-25 2022-11-25 Image shooting method, device, terminal and storage medium Pending CN118102080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211488775.9A CN118102080A (en) 2022-11-25 2022-11-25 Image shooting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211488775.9A CN118102080A (en) 2022-11-25 2022-11-25 Image shooting method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN118102080A true CN118102080A (en) 2024-05-28

Family

ID=91150526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211488775.9A Pending CN118102080A (en) 2022-11-25 2022-11-25 Image shooting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN118102080A (en)

Similar Documents

Publication Publication Date Title
CN108986199B (en) Virtual model processing method and device, electronic equipment and storage medium
CN109345485B (en) Image enhancement method and device, electronic equipment and storage medium
CN109360261B (en) Image processing method, image processing device, electronic equipment and storage medium
CN106131441B (en) Photographing method and device and electronic equipment
CN104869308A (en) Picture taking method and device
CN110677734B (en) Video synthesis method and device, electronic equipment and storage medium
US11310443B2 (en) Video processing method, apparatus and storage medium
EP3905660A1 (en) Method and device for shooting image, and storage medium
CN105528765A (en) Method and device for processing image
CN111953904A (en) Shooting method, shooting device, electronic equipment and storage medium
CN111953903A (en) Shooting method, shooting device, electronic equipment and storage medium
CN110876014B (en) Image processing method and device, electronic device and storage medium
CN111355879B (en) Image acquisition method and device containing special effect pattern and electronic equipment
CN114070998B (en) Moon shooting method and device, electronic equipment and medium
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN110874829B (en) Image processing method and device, electronic device and storage medium
CN114697515A (en) Method and device for collecting image and readable storage medium
CN118102080A (en) Image shooting method, device, terminal and storage medium
CN111292393A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113315903A (en) Image acquisition method and device, electronic equipment and storage medium
CN112752010B (en) Shooting method, device and medium
CN111225158B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN110876013B (en) Method and device for determining image resolution, electronic equipment and storage medium
CN112217989A (en) Image display method and device
CN117369615A (en) Electronic equipment control method and device, storage medium and electronic equipment

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