IP Library › Granted Patent US 11,223,772
Granted Patent B2
US 11,223,772 · App. 17/285,818 · Granted Jan 11, 2022

Method for displaying image in photographing scenario and electronic device

Inventors: Yuanyou Li (Derlikon, CH); Bin Hu (Shanghai, CN); Yongxing Yang (Beijing, CN); Wei Luo (Shanghai, CN)
Assignee: Huawei Technologies Co., Ltd.
H04N5/232935H04N5/23219H04N5/23245H04N5/76H04N9/0451
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 11,223,772
App. No.
17/285,818
Granted
Jan 11, 2022
Kind
B2
Abstract

Disclosed herein is a method for generating an image using an electronic device having a color camera, comprising: activating the color camera and a camera application on the electronic device; displaying, through the camera application, a preview image generated by the color camera; determining, automatically, whether the preview image includes an image of a first object; displaying, through the camera application in response to a determination that the preview image includes the image of the first object, a first image generated by the color camera, the first image including a color region corresponding to the first object and a gray scale region corresponding to objects that are not the first object; and displaying, through the camera application in response to a determine that the preview image does not include any image of the first object, a second image generated by the color camera, the second image is a grayscale image.

Claims (71)

1. A method for generating an image using an electronic device having a color camera, comprising:

activating the color camera and a camera application on the electronic device;

displaying, through the camera application, a preview image generated by the color camera;

determining, automatically, whether the preview image includes an image of a first object;

displaying, through the camera application in response to a determination that the preview image include the image of the first object, a first image generated by the color camera, the first image including a color region corresponding to the first object and a grayscale region corresponding to objects that are not the first object; and

displaying, through the camera application in response to a determination that the preview image does not include the image of the first object, a second image generated by the color camera, the second image is a grayscale image.

2. The method of claim 1 , wherein the first object is a human.

3. The method of claim 1 , further comprising:

receiving a user input through the electronic device for activating a video recording function; and

generating, in response to the user input, a video including at least one of the first image or the second image.

4. The method of claim 1 , further comprising activing a color retention mode of the camera application.

5. The method of claim 4 , further comprising:

receiving a user input for capturing a third image generated by the color camera;

storing, in response to the user input, the third image as a target image; and

displaying the target image in the color retention mode of the camera application, the target image including a color region corresponding to the first object and a grayscale region corresponding to objects that are not the first object.

6. The method of claim 1 , further comprising:

activating a first mode of the camera application;

recording a video in the first mode based on color images generated by the color camera;

switching the camera application from the first mode to a second mode while the video is being recorded; and

continuing the recording of the video in the second mode, a portion of the video recorded in the second mode including at least one of the first image or the second image.

7. The method of claim 1 , further comprising:

determining, in the preview image, a selected object based on a user input; and

displaying, through the camera application, a fourth image generated by the color camera, the fourth image including a color region corresponding to the selected object and a grayscale region corresponding to objects that are not the selected object.

8. The method of claim 1 , further comprising:

receiving an original color image from the color camera, the original color image including the image of the first object;

dividing the original color image based on the image of the first object into a first region corresponding to the first object and a second region corresponding to objects that are not the first object; and

generating the first image based on the original color image by keeping color pixels of the first region and converting color pixels of the second region to grayscale pixels.

9. The method of claim 1 , further comprising:

determining the preview image includes images of the first object and a second object;

determining a preset priority of the first object is greater than a preset priority of the second object; and

displaying a fifth image generated by the color camera, the fifth image including a color region corresponding to the first object and a grayscale region corresponding to the second object.

10. The method of claim 1 , further comprising:

determining the image of the first object is at a center of the preview image; and

displaying, through the camera application, a sixth image generated by the color camera, the sixth image including a first region at the center of the preview image corresponding to the first object and a second region corresponding to objects that are not the first object, the first region being color, and the second region being grayscale.

11. The method of claim 1 , further comprising:

receiving a target image from the color camera;

displaying, through the camera application, the target image and a first control for editing the target image; and

activating a color retention mode of the camera application in response to an activation of the first control, the target image in the color retention mode including at least one of the first image or the second image.

12. A computer-readable medium including computer-executable instructions, which, when executed by a processor, cause the processor to carry out:

activating a color camera and a camera application on an electronic device;

displaying, through the camera application, a preview image generated by the color camera;

determining, automatically, whether the preview image includes an image of a first object;

displaying, through the camera application in response to a determination that the preview image includes the image of the first object, a first image generated by the color camera, the first image including a color region corresponding to the first object and a grayscale region corresponding to objects that are not the first object; and

displaying, through the camera application in response to a determination that the preview image does not include the image of the first object, a second image generated by the color camera, the second image is a grayscale image.

13. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

receiving a user input through the electronic device for activating a video recording function; and

generating, in response to the user input, a video including at least one of the first image or the second image.

14. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out activing a color retention mode of the camera application.

15. The computer-readable medium of claim 14 , wherein the computer-executable instructions further cause the processor to carry out:

receiving a user input for capturing a third image generated by the color camera;

storing, in response to the user input, the third image as a target image; and

displaying the target image in the color retention model of the camera application, the target image including a color region corresponding to the first object and a grayscale region corresponding to objects that are not the first object.

16. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

activating a first mode of the camera application;

recording a video in the first mode based on color images generated by the color camera;

switching the camera application from the first mode to a second mode while the video is being recorded; and

continuing the recording of the video in the second mode, a portion of the video recorded in the second mode including at least one of the first image or the second image.

17. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

determining, in the preview image, a selected object based on a user input; and

displaying, through the camera application, a fourth image generated by the color camera, the fourth image including a color region corresponding to the selected object and a grayscale region corresponding to objects that are not the selected object.

18. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

receiving an original color image from the color camera, the original color image including the image of the first object;

dividing the original color image based on the image of the first object into a first region corresponding to the first object and a second region corresponding to objects that are not the first object; and

generating the first image based on the original color image by keeping color pixels of the first region and converting color pixels of the second region to grayscale pixels.

19. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

determining the preview image includes images of the first object and a second object;

determining a preset priority of the first object is greater than a preset priority of the second object; and

displaying a fifth image generated by the color camera, the fifth image including a color region corresponding to the first object and a grayscale region corresponding to the second object.

20. The computer-readable medium of claim 12 , wherein the computer-executable instructions further cause the processor to carry out:

determining the image of the first object is at a center of the preview image; and

displaying, through the camera application, a sixth image generated by the color camera, the sixth image including a first region at the center of the preview image corresponding to the first object and a second region corresponding to objects that are not the first object, the first region being color, and the second region being grayscale.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 22, 2021
From: LI, YUANYOU; HU, BIN; YANG, YONGXING; LUO, WEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 057565/0030 →
Continuity (1)
Related Publication 20210344845A1 · Nov 4, 2021
Cited By (1)
US 12,604,081