# US 2025/0168292 A1 · Image Processing Method 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 2025/0168292 A1
- Document ID: US20250168292A1
- Status: Published application
- Kind: A1
- Application number: 18/832,604
- Filed: 2023-09-08
- Published: 2025-05-22
- Earliest claimed: 2022-10-21
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Hantao Cui
- Web page: https://patentgrep.com/patent/US20250168292A1

## CPC

- H04N 5/2621: {Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability}
- G06T 5/70: Denoising; Smoothing
- G06V 10/60: relating to illumination properties, e.g. using a reflectance or lighting model
- H04N 5/272: Means for inserting a foreground image in a background image, i.e. inlay, outlay
- H04N 5/772: {the recording apparatus and the television camera being placed in the same enclosure}
- H04N 5/91: Television signal processing therefor
- H04N 9/79: Processing of colour television signals in connection with recording
- H04N 9/7921: {for more than one processing mode}
- H04N 23/611: where the recognised objects include parts of the human body
- H04N 23/62: Control of parameters via user interfaces
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/84: for processing colour signals
- H04N 23/85: for matrixing
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An image processing method and an electronic device. The method includes obtaining one or more film materials, where the one or more film materials include a first film material. When the electronic device receives and responds to a camera activated operation, the electronic device may capture an image in real time through a camera. When the electronic device receives and responds to a selection operation for the first film material, the electronic device may process the image captured in real time based on the first film material, so that a first film display effect is presented on an image processed by the first film material. The first film display effect may include a grain effect, and/or a scratch effect, and/or a light leak effect.

## Claims

### Claim 1

A method, comprising:
obtaining one or more film materials, wherein the one or more film materials comprise a first film material, and the one or more film materials are configured to process an image captured in real time through a camera, to enable a corresponding film display effect to be presented on a processed image;
capturing, in response to a camera-activated operation, an image in real time through the camera, and displaying a photographing interface that comprises a preview window;
processing, in response to a selection operation for the first film material and based on the first film material, the image captured in real time, to generate a preview stream; and
displaying screen content of the preview stream in the preview window, wherein a first film display effect is presented on the screen content of the preview stream.

### Claim 2 (depends on 1)

The method according to of claim 1, wherein processing the image captured in real time to generate the preview stream comprises:
demarcating a skin area and a non-skin area of the image captured in real time when the image captured in real time comprises a portrait;
processing the non-skin area based on the first film material, and processing the skin area based on a second film material generated from the first film material; and
generating the preview stream based on the image captured in real time and processed by the first film material and the second film material.

### Claim 3 (depends on 2)

The method of claim 2, further comprising denoising and softening the first film material to generate the second film material.

### Claim 4 (depends on 2)

The method of claim 2, further comprising processing, based on the first film material, the image captured in real time when the image captured in real time does not comprise the portrait.

### Claim 5 (depends on 2)

The method of claim 2, wherein a second film display effect is further presented on the screen content of the preview stream.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more film materials are film materials obtained after developing and scanning an 18% grey card photographed based on one or more films having different light sensitivity, wherein an average value of brightness of each film material of the one or more film materials is a first average value, wherein a duration of each film material is 15 seconds, and wherein each second comprises 30 frames of film images.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first film material comprises a first pixel, the image captured in real time comprises a second pixel, and the first pixel corresponds to the second pixel, and wherein processing the image captured in real time to generate the preview stream comprises processing, in response to the selection operation for the first film material and based on a superposition formula and the first film material, the image captured in real time, wherein when a brightness value of the first pixel is less than or equal to the first average value, the superposition formula is a new RGB value of the second pixel=the brightness value of the first pixel×an original RGB value of the second pixel÷the first average value, wherein when the brightness value of the first pixel is greater than the first average value, the superposition formula is a new RGB value of the second pixel=1−(1−an original RGB value of the second pixel)×(1−the brightness value of the first pixel)÷the first average value, and wherein the method further comprises generating the preview stream based on the image captured in real time and processed by the first film material.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first average value is 0.5.

### Claim 9 (depends on 1)

The method of claim 1, wherein before processing the image captured in real time to generate the preview stream, the method further comprises:
receiving a selection operation for a first filter material, wherein the first filter material corresponds to a first look-up table (LUT);
mapping, in response to the selection operation for the first film material and based on the first LUT, an RGB value of a pixel of the image captured in real time to a new RGB value; and
processing, based on the first film material, the image captured in real time and processed by the first LUT, to generate the preview stream.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first LUT is a two-dimensional (2D) LUT or a three-dimensional (3D) LUT.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first film display effect comprises one or more of a grain effect, a scratch effect, and a light leak effect.

### Claim 12 (depends on 1)

The method of claim 1, wherein processing the image captured in real time to generate the preview stream is in response to a touch operation on a first option of the first film material in the photographing interface.

### Claim 13

An electronic device, comprising:
one or more processors;
a display coupled to the one or more processors;
a camera coupled to the one or more processors; and
a memory coupled to the one or more processors and configured to store instructions that, when executed by the one or more processors, cause the electronic device to be configured to;
obtain one or more film materials, wherein the one or more film materials comprise a first film material, and the one or more film materials are configured to process an image captured in real time through the camera, to enable a corresponding film display effect to be presented on a processed image;
capture, in response to a camera-activated operation, an image in real time through the camera, and displaying a photographing interface that comprises a preview window;
process, in response to a selection operation for the first film material and based on the first film material, the image captured in real time, to generate a preview stream; and
display screen content of the preview stream in the preview window, wherein a first film display effect is presented on the screen content of the preview stream.

### Claim at position 14

-15. (canceled)

### Claim 16

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of an electronic device, cause the electronic device to be configured to:
obtain one or more film materials, wherein the one or more film materials comprise a first film material, and the one or more film materials are configured to process an image captured in real time through a camera, to enable a corresponding film display effect to be presented on a processed image;
capture, in response to a camera-activated operation, an image in real time through the camera, and displaying a photographing interface that comprises a preview window;
process, in response to a selection operation for the first film material and based on the first film material, the image captured in real time, to generate a preview stream; and
display screen content of the preview stream in the preview window, wherein a first film display effect is presented on the screen content of the preview stream.

### Claim 17 (depends on 13)

The electronic device of claim 13, wherein processing the image captured in real time to generate the preview stream comprises:
demarcating a skin area and a non-skin area of the image captured in real time when the image captured in real time comprises a portrait;
processing the non-skin area based on the first film material, and processing the skin area based on a second film material generated from the first film material; and
generating the preview stream based on the image captured in real time and processed by the first film material and the second film material.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the instructions, when executed by the one or more processors, further cause the electronic device to be configured to denoise and soften the first film material to generate the second film material.

### Claim 19 (depends on 13)

The electronic device of claim 13, wherein the one or more film materials are film materials obtained after developing and scanning an 18% grey card photographed based on one or more films having different light sensitivity, wherein an average value of brightness of each film material of the one or more film materials is a first average value, wherein a duration of each film material is 15 seconds, and wherein each second comprises 30 frames of film images.

### Claim 20 (depends on 19)

The electronic device of claim 19, wherein the first film material comprises a first pixel, the image captured in real time comprises a second pixel, and the first pixel corresponds to the second pixel, and wherein processing the image captured in real time to generate the preview stream comprises:
processing, in response to the selection operation for the first film material and based on a superposition formula and the first film material, the image captured in real time,
wherein when a brightness value of the first pixel is less than or equal to the first average value, the superposition formula is a new RGB value of the second pixel=the brightness value of the first pixel×an original RGB value of the second pixel÷the first average value,
wherein when the brightness value of the first pixel is greater than the first average value, the superposition formula is a new RGB value of the second pixel=1−(1−an original RGB value of the second pixel)×(1−the brightness value of the first pixel)÷the first average value, and
wherein the electronic device is further configured to generate the preview stream based on the image captured in real time and processed by the first film material.

### Claim 21 (depends on 13)

The electronic device of claim 13, wherein before processing the image captured in real time to generate the preview stream, the electronic device is further configured to:
receiving a selection operation for a first filter material, wherein the first filter material corresponds to a first look-up table (LUT);
mapping, in response to the selection operation for the first film material and based on the first LUT, an RGB value of a pixel of the image captured in real time to a new RGB value; and
processing, based on the first film material, the image captured in real time and processed by the first LUT, to generate the preview stream.

### Claim 22 (depends on 13)

The electronic device of claim 13, wherein the first film display effect comprises one or more of a grain effect, a scratch effect, and a light leak effect.
