# US 2021/0344845 A1 · Method for displaying image in photographing scenario and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0344845 A1
- Document ID: US20210344845A1
- Status: Published application
- Kind: A1
- Application number: 17/285,818
- Filed: 2018-10-15
- Published: 2021-11-04
- Earliest claimed: 2018-10-15
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yuanyou LI; Bin HU; Yongxing YANG; Wei LUO
- Web page: https://patentgrep.com/patent/US20210344845A1

## CPC

- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- H04N 5/76: Television signal recording
- H04N 23/611: where the recognised objects include parts of the human body
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/63: by using electronic viewfinders
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/633: {for displaying additional information relating to control or operation of the camera}
- H04N 23/635: {Region indicators; Field of view indicators}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/84: for processing colour signals
- H04N 9/75: Chroma key
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## 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 grayscale 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

### Claim at position 1

-27. (canceled)

### Claim 28

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 grayscale 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.

### Claim 29 (depends on 28)

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

### Claim 30 (depends on 28)

The method of claim 28, 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.

### Claim 31 (depends on 28)

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

### Claim 32 (depends on 31)

The method of claim 31, 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.

### Claim 33 (depends on 28)

The method of claim 28, 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.

### Claim 34 (depends on 28)

The method of claim 28, 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.

### Claim 35 (depends on 28)

The method of claim 28, 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.

### Claim 36 (depends on 28)

The method of claim 28, 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.

### Claim 37 (depends on 28)

The method of claim 28, 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.

### Claim 38 (depends on 28)

The method of claim 28, 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.

### Claim 39

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 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.

### Claim 40 (depends on 39)

The computer-readable medium of claim 39, 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.

### Claim 41 (depends on 39)

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

### Claim 42 (depends on 41)

The computer-readable medium of claim 41, 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.

### Claim 43 (depends on 39)

The computer-readable medium of claim 39, 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.

### Claim 44 (depends on 39)

The computer-readable medium of claim 39, 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.

### Claim 45 (depends on 39)

The computer-readable medium of claim 39, 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.

### Claim 46 (depends on 39)

The computer-readable medium of claim 39, 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.

### Claim 47 (depends on 39)

The computer-readable medium of claim 39, 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.
