IP Library › Granted Patent US 12,413,867
Granted Patent B2
US 12,413,867 · App. 18/326,651 · Granted Sep 9, 2025

Photographing method and apparatus, electronic device, and storage medium

Inventor: Qihao Yang (Chang'an Dongguan, CN)
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
H04N23/959G06F3/04817G06T5/50H04N23/631G06T2207/20221
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,413,867
App. No.
18/326,651
Granted
Sep 9, 2025
Kind
B2
Abstract

This application discloses a photographing method and apparatus, an electronic device, and a storage medium, and pertains to the field of imaging technologies. The method includes: receiving a first input from a user on a target control in a camera preview screen, where the target control includes a first region and the first region corresponds to N depth-of-field values; displaying M camera icons in a second region of the target control in response to the first input, where each camera icon corresponds to one depth-of-field range; and controlling M cameras to photograph images and outputting a target image, where the target image is obtained by compositing the images photographed by the M cameras.

Claims (72)

1. A photographing method, comprising:

receiving a first input from a user on a target control in a camera preview screen, wherein the target control comprises a first region, the first region corresponds to N depth-of-field values, and N is a positive integer greater than 1;

displaying M camera icons in a second region of the target control in response to the first input, wherein M is a positive integer greater than 1, each camera icon corresponds to one depth-of-field range, and each depth-of-field range is determined based on a depth-of-field value corresponding to a target position of each camera icon in the second region; and

controlling M cameras to photograph images and outputting a target image, wherein the target image is obtained by compositing the images photographed by the M cameras, and the M cameras are cameras associated with the M camera icons;

wherein the target control comprises M camera icons before the first input is received, the first input comprises a fifth sub-input, and the fifth sub-input is an input on a third camera icon; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

updating the third camera icon to a fourth camera icon in response to the fifth sub-input, wherein the fourth camera icon is determined based on an input characteristic of the first input.

2. The photographing method according to claim 1 , wherein the controlling M cameras to photograph images and outputting a target image comprises:

controlling each of the cameras associated with the M camera icons to photograph one frame of depth-of-field image, so as to obtain M frames of depth-of-field images; and

compositing the M frames of depth-of-field images to output the target image.

3. The photographing method according to claim 1 , wherein the first input comprises a first sub-input, the first sub-input is an input from the user on K target positions of the target control, and T camera icons are comprised on the target control before the first sub-input is received; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

in response to the first sub-input, adding K camera icons to K target positions in the second region; and

updating depth-of-field ranges corresponding to the K camera icons and T camera icons based on the K target positions; wherein

a start depth-of-field value of the i-th depth-of-field range corresponding to the i-th camera icon in the updated K camera icons is a depth-of-field value corresponding to a target position at which the i-th camera icon is located; in a case that the i-th camera icon has adjacent camera icons on both sides, an end depth-of-field value of the i-th depth-of-field range is a depth-of-field value corresponding to a target position in which the (i+1)-th camera icon in a depth-of-field value increasing direction is located; and in a case that the i-th camera icon has no adjacent camera icon in the depth-of-field value increasing direction, the end depth-of-field value of the i-th depth-of-field range is infinite; wherein the i-th camera icon is any one of the K camera icons, the M cameras comprise the K cameras and the T cameras, and M=K+T.

4. The photographing method according to claim 1 , wherein the first input comprises a second sub-input and a third sub-input, the target control comprises T camera icons before the first input is received, and the displaying M camera icons in a second region of the target control in response to the first input comprises:

displaying Q candidate camera icons on the camera preview screen in response to the second sub-input;

receiving a third sub-input from the user on Z target camera icons in the Q candidate camera icons; and

in response to the third sub-input, adding the Z target camera icons to a target position in the second region, wherein the target position is determined based on an input position of the second sub-input, the M cameras comprise the Z cameras and the T cameras, and M=Z+T.

5. The photographing method according to claim 4 , wherein the displaying Q candidate camera icons on the camera preview screen in response to the second sub-input comprises:

obtaining a depth-of-field value corresponding to an input position of the second sub-input; and

displaying the Q candidate camera icons in a case that the depth-of-field value is within a nominal depth-of-field range of cameras corresponding to the Q candidate camera icons.

6. The photographing method according to claim 1 , wherein the target control comprises M camera icons before the first input is received, the first input comprises a fourth sub-input, and the fourth sub-input is an input on a first camera icon and a second camera icon; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

exchanging display positions of the first camera icon and second camera icon in response to the fourth sub-input.

7. The photographing method according to claim 1 , wherein the target control comprises M camera icons before the first input is received, and the first input comprises a sixth sub-input; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

adjusting, in response to the sixth sub-input, positions of all M camera icons in the second region to be system default positions, wherein the system default position is determined based on at least one of a current photographing scene characteristic and nominal depth-of-field ranges of M cameras corresponding to the M camera icons.

8. The photographing method according to claim 1 , wherein the target control comprises T camera icons before the first input is received, the first input comprises a seventh sub-input, and the seventh sub-input is an input from the user on P camera icons of the target control; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

deleting the P camera icons in the second region in response to the seventh sub-input, wherein the T cameras comprise the P cameras, M=T−P, and P is a positive integer.

9. The photographing method according to claim 1 , wherein the first input comprises an eighth sub-input, the eighth sub-input is an input from the user on E target camera icons on the target control, the M cameras comprise E cameras, and E is a positive integer greater than 2; and

before the controlling M cameras to photograph images and outputting a target image, the method further comprises:

updating the E target camera icons to a first combined display mode, and updating depth-of-field ranges corresponding to the E cameras to a first target union depth-of-field range, wherein the first target union depth-of-field range is a union of depth-of-field ranges corresponding to the E cameras, and photographed objects of E target cameras corresponding to the E target camera icons after updating of the depth-of-field range are photographed objects of a same depth-of-field range.

10. The photographing method according to claim 1 , wherein the first input comprises a ninth sub-input, and the ninth sub-input is an input from the user on two target camera icons on the target control; and

before the controlling M cameras to photograph images and outputting a target image, the method further comprises:

in response to the ninth sub-input, in a track direction of the ninth sub-input, updating the two target camera icons and respective adjacent camera icons to a second combined display mode and a third combined display mode respectively, and updating depth-of-field ranges corresponding to the two target camera icons and the respective adjacent camera icons to a second target union depth-of-field range and a third target union depth-of-field range respectively, wherein the second target union depth-of-field range and the third target union depth-of-field range each are a union of depth-of-field ranges corresponding to the target camera icon and the adjacent camera icons; wherein the two target camera icons are non-adjacent camera icons, and photographed objects of two target cameras corresponding to a target camera icon and an adjacent camera icon after updating of the depth-of-field range are photographed objects in a same depth-of-field range.

11. An electronic device, comprising a processor, a memory, and a program or instructions stored in the memory and capable of running on the processor, wherein when the program or the instructions are executed by the processor, implementing:

receiving a first input from a user on a target control in a camera preview screen, wherein the target control comprises a first region, the first region corresponds to N depth-of-field values, and N is a positive integer greater than 1;

displaying M camera icons in a second region of the target control in response to the first input, wherein M is a positive integer greater than 1, each camera icon corresponds to one depth-of-field range, and each depth-of-field range is determined based on a depth-of-field value corresponding to a target position of each camera icon in the second region; and

controlling M cameras to photograph images and outputting a target image, wherein the target image is obtained by compositing the images photographed by the M cameras, and the M cameras are cameras associated with the M camera icons;

wherein the target control comprises M camera icons before the first input is received, the first input comprises a fifth sub-input, and the fifth sub-input is an input on a third camera icon; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

updating the third camera icon to a fourth camera icon in response to the fifth sub-input, wherein the fourth camera icon is determined based on an input characteristic of the first input.

12. The electronic device according to claim 11 , wherein the controlling M cameras to photograph images and outputting a target image comprises:

controlling each of the cameras associated with the M camera icons to photograph one frame of depth-of-field image, so as to obtain M frames of depth-of-field images; and

compositing the M frames of depth-of-field images to output the target image.

13. The electronic device according to claim 11 , wherein the first input comprises a first sub-input, the first sub-input is an input from the user on K target positions of the target control, and T camera icons are comprised on the target control before the first sub-input is received; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

in response to the first sub-input, adding K camera icons to K target positions in the second region; and

updating depth-of-field ranges corresponding to the K camera icons and T camera icons based on the K target positions; wherein

a start depth-of-field value of the i-th depth-of-field range corresponding to the i-th camera icon in the updated K camera icons is a depth-of-field value corresponding to a target position at which the i-th camera icon is located; in a case that the i-th camera icon has adjacent camera icons on both sides, an end depth-of-field value of the i-th depth-of-field range is a depth-of-field value corresponding to a target position in which the (i+1)-th camera icon in a depth-of-field value increasing direction is located; and in a case that the i-th camera icon has no adjacent camera icon in the depth-of-field value increasing direction, the end depth-of-field value of the i-th depth-of-field range is infinite; wherein the i-th camera icon is any one of the K camera icons, the M cameras comprise the K cameras and the T cameras, and M=K+T.

14. The electronic device according to claim 11 , wherein the first input comprises a second sub-input and a third sub-input, the target control comprises T camera icons before the first input is received, and the displaying M camera icons in a second region of the target control in response to the first input comprises:

displaying Q candidate camera icons on the camera preview screen in response to the second sub-input;

receiving a third sub-input from the user on Z target camera icons in the Q candidate camera icons; and

in response to the third sub-input, adding the Z target camera icons to a target position in the second region, wherein the target position is determined based on an input position of the second sub-input, the M cameras comprise the Z cameras and the T cameras, and M=Z+T.

15. The electronic device according to claim 14 , wherein the displaying Q candidate camera icons on the camera preview screen in response to the second sub-input comprises:

obtaining a depth-of-field value corresponding to an input position of the second sub-input; and

displaying the Q candidate camera icons in a case that the depth-of-field value is within a nominal depth-of-field range of cameras corresponding to the Q candidate camera icons.

16. The electronic device according to claim 11 , wherein the target control comprises M camera icons before the first input is received, the first input comprises a fourth sub-input, and the fourth sub-input is an input on a first camera icon and a second camera icon; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

exchanging display positions of the first camera icon and second camera icon in response to the fourth sub-input.

17. The electronic device according to claim 11 , wherein the target control comprises M camera icons before the first input is received, and the first input comprises a sixth sub-input; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

adjusting, in response to the sixth sub-input, positions of all M camera icons in the second region to be system default positions, wherein the system default position is determined based on at least one of a current photographing scene characteristic and nominal depth-of-field ranges of M cameras corresponding to the M camera icons.

18. A non-transient readable storage medium, wherein the readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, implementing:

receiving a first input from a user on a target control in a camera preview screen, wherein the target control comprises a first region, the first region corresponds to N depth-of-field values, and N is a positive integer greater than 1;

displaying M camera icons in a second region of the target control in response to the first input, wherein M is a positive integer greater than 1, each camera icon corresponds to one depth-of-field range, and each depth-of-field range is determined based on a depth-of-field value corresponding to a target position of each camera icon in the second region; and

controlling M cameras to photograph images and outputting a target image, wherein the target image is obtained by compositing the images photographed by the M cameras, and the M cameras are cameras associated with the M camera icons;

wherein the target control comprises M camera icons before the first input is received, the first input comprises a fifth sub-input, and the fifth sub-input is an input on a third camera icon; and

the displaying M camera icons in a second region of the target control in response to the first input comprises:

updating the third camera icon to a fourth camera icon in response to the fifth sub-input, wherein the fourth camera icon is determined based on an input characteristic of the first input.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2023
From: YANG, QIHAO
To: VIVO MOBILE COMMUNICATION CO., LTD.
Reel/Frame 063872/0077 →
Priority Claims (1)
CN 202011401393.9 · Dec 2, 2020 · national
Continuity (2)
Continuation PCTCN2021132970 · Nov 25, 2021
Related Publication 20230308778A1 · Sep 28, 2023
References Cited (36)
US 10091411B2 · Ha · 2018 [cited by examiner]
US 11120528B1 · Seely · 2021 [cited by examiner]
US 20120329516A1 · Prentice · 2012 [cited by examiner]
US 20140267243A1 · Venkataraman et al. · 2014 [cited by applicant]
US 20150358542A1 · Sato · 2015 [cited by applicant]
US 20160028948A1 · Omori · 2016 [cited by examiner]
US 20160065832A1 · Kim · 2016 [cited by examiner]
US 20160127638A1 · Guo et al. · 2016 [cited by applicant]
US 20160309141A1 · Pulli · 2016 [cited by examiner]
US 20180088444A1 · Matsumoto et al. · 2018 [cited by applicant]
US 20190208176A1 · Ding et al. · 2019 [cited by applicant]
US 20200082599A1 · Manzari · 2020 [cited by examiner]
US 20210287343A1 · Kaida · 2021 [cited by examiner]
US 20220124241A1 · Manzari · 2022 [cited by examiner]
CN 104156149A · 2014 [cited by applicant]
CN 104333703A · 2015 [cited by applicant]
CN 104349063A · 2015 [cited by applicant]
CN 105138261A · 2015 [cited by applicant]
CN 106060386A · 2016 [cited by applicant]
CN 107995429A · 2018 [cited by applicant]
CN 108900763A · 2018 [cited by applicant]
CN 109688321A · 2019 [cited by applicant]
CN 110647277A · 2020 [cited by applicant]
CN 111654629A · 2020 [cited by applicant]
CN 111818263A · 2020 [cited by applicant]
CN 111866370A · 2020 [cited by applicant]
CN 112492212A · 2021 [cited by applicant]
CN 113497890A · 2021 [cited by examiner]
JP 2015231220A · 2015 [cited by applicant]
JP 2016134817A · 2016 [cited by applicant]
KR 20150144543A · 2015 [cited by applicant]
WO 2016203584A1 · 2016 [cited by applicant]
WO 2017161902A1 · 2017 [cited by applicant]
English translation of CN-113497890-A, Ding, 2021 (Year: 2021). [cited by examiner]
Chinese Office Action issued in corresponding application No. k202011401393.9, dated Oct. 9, 2021. [cited by applicant]
International Search Report issued in corresponding application No. PCT/CN2021/132970, dated Feb. 18, 2022. [cited by applicant]