IP Library › Granted Patent US 12,192,616
Granted Patent B2
US 12,192,616 · App. 18/184,773 · Granted Jan 7, 2025

Photographing method and apparatus

Inventors: Feilong Ma (Beijing, CN); Cong Zhao (Beijing, CN); Rui Chen (Shenzhen, CN); Yuanqiang Wang (Shenzhen, CN); Yu Li (Shenzhen, CN); Xingguang Song (Tokyo, JP)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N23/632G06T7/194G06T7/70H04N5/265H04N23/64G06T2207/20021G06T2207/30196
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,192,616
App. No.
18/184,773
Granted
Jan 7, 2025
Kind
B2
Abstract

The present disclosure discloses a photographing method and an apparatus in, relates to the photographing field and the field of image processing technologies. When multiple people take a group photo, no help from a third party is required. Therefore, implementation is convenient, and user satisfaction with a group photo result can be improved, thereby improving user experience. The method includes: obtaining a first image including an image of a first photographing background and a first to-be-photographed subject; then displaying a first preview interface, the first preview image includes an image of a second photographing background and an image of a second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a preset degree of coincidence; obtaining a target image based on the first image and the first preview image.

Claims (63)

1. A photographing method, applied to a terminal, wherein the terminal is configured to photograph a plurality of to-be-photographed subjects including a first to-be-photographed subject and a second to-be-photographed subject, and the method comprises:

obtaining a first image including an image of a first photographing background and an image of the first to-be-photographed subject;

displaying a first preview interface including a first preview image, wherein the first preview image comprises an image of a second photographing background and an image of the second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a threshold degree of coincidence; and

obtaining a target image based on the first image and the first preview image, wherein the target image comprises the image of the first to-be-photographed subject and the image of the second to-be-photographed subject.

2. The method according to claim 1 , wherein before the displaying a first preview interface, the method further comprises:

displaying a second preview interface, wherein the second preview interface comprises a second preview image and first information, the second preview image comprises an image of a third photographing background and the image of the second to-be-photographed subject, and the first information indicates adjusting an image of a photographing background in a current preview image of the terminal.

3. The method according to claim 2 , wherein the first information indicates at least one of the following:

a degree of coincidence between the image of the third photographing background and the image of the first photographing background is less than the threshold degree of coincidence; or

a target position of the terminal.

4. The method according to claim 1 , wherein the first preview interface further comprises:

second information, wherein the second information indicates at least one of a position, a pose, or a size of the image of the first to-be-photographed subject in the image of the second photographing background.

5. The method according to claim 4 , wherein the second information comprises:

a contour of the image of the first to-be-photographed subject; or

a translucent image of the image of the first to-be-photographed subject.

6. The method according to claim 1 , wherein the obtaining a first image comprises:

outputting third information indicating that the second to-be-photographed subject is a user who photographs the first image;

displaying a third preview image after outputting the third information, wherein the third preview image comprises the image of the first photographing background and the image of the first to-be-photographed subject; and

determining the third preview image as the first image, or determining, as the first image, an image obtained by processing the third preview image.

7. The method according to claim 6 , wherein the outputting third information comprises:

displaying a target photographing template indicating the third information and a position relationship between the plurality of to-be-photographed subjects.

8. The method according to claim 6 , further comprising:

displaying a target photographing template indicating a position relationship between the plurality of to-be-photographed subjects; and

the outputting third information comprises:

outputting the third information based on the target photographing template.

9. The method according to claim 1 , wherein

a user who photographs the first image is a to-be-photographed subject, in the plurality of to-be-photographed subjects, whose range of coincidence with another to-be-photographed subject is less than or equal to a threshold range of coincidence;

a user who photographs the first image is a to-be-photographed subject closest to the terminal in the plurality of to-be-photographed subjects; or

a user who photographs the first image is a to-be-photographed subject, in the plurality of to-be-photographed subjects, whose distance from another to-be-photographed subject is greater than a distance threshold.

10. The method according to claim 1 , wherein the obtaining a target image based on the first image and the first preview image comprises:

performing image segmentation on the first image based on the image of the second photographing background to obtain the image of the first to-be-photographed subject, and obtaining the target image based on the image of the first to-be-photographed subject and the first preview image; or

performing image segmentation on the first preview image based on the image of the first photographing background to obtain the image of the second to-be-photographed subject, and obtaining the target image based on the image of the second to-be-photographed subject and the first preview image.

11. A terminal, configured to photograph a plurality of to-be-photographed subjects including a first to-be-photographed subject and a second to-be-photographed subject, and the terminal comprises:

at least one processor, configured to obtain a first image including an image of a first photographing background and an image of the first to-be-photographed subject; and

a display, configured to display a first preview interface including a first preview image, wherein the first preview image comprises an image of a second photographing background and an image of the second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a threshold degree of coincidence; and

the at least one processor is further configured to obtain a target image based on the first image and the first preview image, wherein the target image comprises the image of the first to-be-photographed subject and the image of the second to-be-photographed subject.

12. The terminal according to claim 11 , wherein

the display is further configured to display a second preview interface before the first preview interface is displayed, the second preview interface comprises a second preview image and first information, the second preview image comprises an image of a third photographing background and the image of the second to-be-photographed subject, and the first information indicates adjusting an image of a photographing background in a current preview image of the terminal.

13. The terminal according to claim 12 , wherein the first information indicates at least one of the following:

a degree of coincidence between the image of the third photographing background and the image of the first photographing background is less than the threshold degree of coincidence; or

a target position of the terminal.

14. The terminal according to claim 11 , wherein the first preview interface further comprises:

second information indicating at least one of a position, a pose, or a size of the image of the first to-be-photographed subject in the image of the second photographing background.

15. The terminal according to claim 14 , wherein the second information comprises:

a contour of the image of the first to-be-photographed subject; or

a translucent image of the image of the first to-be-photographed subject.

16. The terminal according to claim 11 , wherein the terminal further comprises:

an outputter, configured to output third information indicating that the second to-be-photographed subject is a user who photographs the first image; and

the display is further configured to display a third preview image after the output outputs the third information, wherein the third preview image comprises the image of the first photographing background and the image of the first to-be-photographed subject,

the third preview image is determined as the first image, or an image obtained by processing the third preview image is determined as the first image.

17. The terminal according to claim 16 , wherein

the display is further configured to display a target photographing template indicating a position relationship between the plurality of to-be-photographed subjects; and

the third information is output based on the target photographing template.

18. The terminal according to claim 11 , wherein

a user who photographs the first image is a to-be-photographed subject, in the plurality of to-be-photographed subjects, whose range of coincidence with another to-be-photographed subject is less than or equal to a threshold range of coincidence;

a user who photographs the first image is a to-be-photographed subject closest to the terminal in the plurality of to-be-photographed subjects; or

a user who photographs the first image is a to-be-photographed subject, in the plurality of to-be-photographed subjects, whose distance from another to-be-photographed subject is greater than a threshold distance.

19. The terminal according to claim 11 , wherein the obtaining of the target image based on the first image and the first preview image comprises:

performing image segmentation on the first image based on the image of the second photographing background to obtain the image of the first to-be-photographed subject, and obtaining the target image based on the image of the first to-be-photographed subject and the first preview image; or

performing image segmentation on the first preview image based on the image of the first photographing background to obtain the image of the second to-be-photographed subject, and obtaining the target image based on the image of the second to-be-photographed subject and the first preview image.

20. A terminal, comprising at least one processor, at least one memory, and a display, wherein the display is configured to display an image, the at least one memory is configured to store a computer program, including instructions that, when executed by the at least one processor, cause the terminal to perform operations comprising:

obtaining a first image including an image of a first photographing background and an image of a first to-be-photographed subject;

displaying a first preview interface including a first preview image, wherein the first preview image comprises an image of a second photographing background and an image of a second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a threshold degree of coincidence; and

obtaining a target image based on the first image and the first preview image, wherein the target image comprises the image of the first to-be-photographed subject and the image of the second to-be-photographed subject.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 25, 2024
From: MA, FEILONG; ZHAO, CONG; CHEN, RUI; WANG, YUANQIANG; LI, YU; SONG, XINGGUANG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 068686/0304 →
Priority Claims (1)
CN 202010981549.9 · Sep 17, 2020 · national
Continuity (2)
Continuation PCTCN2021103777 · Jun 30, 2021
Related Publication 20230224574A1 · Jul 13, 2023
References Cited (19)
US 7623733B2 · Hirosawa · 2009 [cited by examiner]
US 7652693B2 · Miyashita · 2010 [cited by examiner]
US 7855737B2 · Petrescu · 2010 [cited by examiner]
US 7991285B2 · Tan · 2011 [cited by examiner]
US 8243182B2 · Petrescu · 2012 [cited by examiner]
US 9357117B2 · Woo · 2016 [cited by examiner]
US 9479693B2 · Kang · 2016 [cited by examiner]
US 9953220B2 · Agarwal · 2018 [cited by examiner]
US 10021431B2 · Tan · 2018 [cited by examiner]
US 10032068B2 · Petrescu · 2018 [cited by examiner]
US 10917552B2 · Jin · 2021 [cited by examiner]
US 20090175609A1 · Tan · 2009 [cited by examiner]
US 20090244296A1 · Petrescu · 2009 [cited by examiner]
US 20110053654A1 · Petrescu · 2011 [cited by examiner]
US 20120092529A1 · Choi · 2012 [cited by examiner]
US 20120268552A1 · Choi · 2012 [cited by examiner]
US 20140184841A1 · Woo · 2014 [cited by examiner]
US 20140232906A1 · Ha · 2014 [cited by examiner]
US 20190355172A1 · Dsouza · 2019 [cited by examiner]
Cited By (1)
US 12,737,945