# US 12,604,100 B2 · 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 12,604,100 B2
- Document ID: US12604100B2
- Status: Granted
- Kind: B2
- Application number: 18/839,960
- Filed: 2022-12-28
- Published: 2025-06-05
- Granted: 2026-04-14
- Earliest claimed: 2022-02-28
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Wenhong Zhang; Tao Shao
- Web page: https://patentgrep.com/patent/US12604100B2

## CPC

- G06T 5/00: Image enhancement or restoration
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- H04N 5/2628: {Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation}
- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/633: {for displaying additional information relating to control or operation of the camera}
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/67: Focus control based on electronic image sensor signals
- H04N 23/69: Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
- H04N 23/73: by influencing the exposure time
- H04N 23/76: by influencing the image signals
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/81: for suppressing or minimising disturbance in the image signal generation
- H04N 23/815: {for controlling the resolution by using a single image}
- H04N 25/42: by switching between different modes of operation using different resolutions or aspect ratios, e.g. switching between interlaced and non-interlaced mode
- H04N 25/443: by reading pixels from selected two-dimensional [2D] regions of the array, e.g. for windowing or digital zooming
- H04N 25/46: by combining or binning pixels
- H04N 25/59: by controlling the amount of charge storable in the pixel, e.g. modification of the charge conversion ratio of the floating node capacitance
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing method and an electronic device are provided, applied to the field of image processing technologies. The method is applied to an electronic device. The electronic device includes a camera. The method includes: turning on the camera; obtaining a zoom ratio and a dynamic range of a current shooting scene; determining an image output manner of the camera based on the zoom ratio and the dynamic range; performing, by the camera, image output in a first mode when the zoom ratio is greater than or equal to a first ratio and less than a second ratio and the dynamic range meets a first dynamic range (DR) constraint condition; and performing image processing based on image data outputted by the camera. Image quality in a high dynamic shooting scene can be improved, and a ghosting problem can be avoided, so that shooting experience of a user is improved.

## Claims

### Claim 1

An image processing method, wherein the method is applied to an electronic device, the electronic device comprises an image sensor, and the method comprises:
turning on the image sensor, wherein the image sensor is used for outputting image data;
obtaining a first parameter and a second parameter, wherein the first parameter is used for representing a dynamic range of an image, and the second parameter is used for representing a zoom ratio;
switching an outputting mode of the image sensor from a second mode to a first mode when the first parameter increases from a first value to a second value, wherein the second parameter is less than a third value; and
switching the outputting mode of the image sensor from the first mode to a third mode when the second parameter increases from a fourth value to a fifth value, wherein the first mode is a dual conversion gain mode, the fourth value is less than the third value, the fifth value is greater than or equal to the third value, and the first mode, the second mode, and the third mode are different from each other.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
obtaining a third parameter, wherein the third parameter is used for representing an environmental illuminance; and
switching the outputting mode of the image sensor from the third mode to the second mode when the third parameter increases from a sixth value to a seventh value, wherein the second parameter is greater than or equal to the third value.

### Claim 3 (depends on 2)

The method according to claim 2,
wherein the outputting mode of the image sensor is the second mode when the first parameter increases from an eighth value to the first value; and
wherein the outputting mode of the image sensor is the first mode when the first parameter increases from the second value to a ninth value.

### Claim 4 (depends on 3)

The method according to claim 3,
wherein the outputting mode of the image sensor is the third mode when the third parameter increases from a tenth value to the sixth value; and
wherein the mode of outputting image data by the image sensor is the second mode when the third parameter increases from an eleventh value to the seventh value.

### Claim 5 (depends on 2)

The method according to claim 2, further comprising:
switching the outputting mode of the image sensor from the second mode to the first mode based on the first value not meeting a first condition and the second value meeting the first condition when the first parameter increases from the first value to the second value; and
switching the outputting mode of the image sensor from the first mode to the third mode based on the fourth value being less than the third value and the fifth value being greater than or equal to the third value when the second parameter increases from the fourth value to the fifth value; and
switching the outputting mode of the image sensor from the third mode to the second mode based on the sixth value being less than a second threshold and the seventh value being greater than the second threshold when the third parameter increases from the sixth value to the seventh value.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the second value meets the first condition when the second value is within a first range or the second value is greater than a first threshold.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the third value is 2, the fourth value is 1, and the fifth value is 2.

### Claim 8 (depends on 2)

The method according to claim 2,
wherein the second parameter is 1 when the first parameter increases from the first value to the second value; and
wherein the second parameter is 2 when the third parameter increases from the sixth value to the seventh value.

### Claim 9 (depends on 1)

The method according to claim 1,
wherein the first mode comprises a high gain conversion path and a low gain conversion path; and
wherein the high gain conversion path outputs a long exposure frame, and the low gain conversion path outputs a short exposure frame.

### Claim 10 (depends on 1)

The method according to claim 1,
wherein the third parameter is an illuminance index value (luxindex), and a larger value of the luxindex represents that the environmental illuminance is lower.

### Claim 11 (depends on 1)

The method according to claim 1, wherein image data outputted by the image sensor in the first mode is an image frame obtained by fusing two frames.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the second mode is a binning mode.

### Claim 13 (depends on 1)

The method according to claim 1, wherein image data outputted by the image sensor in the second mode comprises image data read in a mode of one pixel after charges sensed by adjacent pixels are added together.

### Claim 14 (depends on 1)

The method according to claim 1, wherein a size of image data outputted by the image sensor in the third mode is less than a resolution of the image sensor.

### Claim 15

An electronic device, comprising:
an image sensor;
a memory storing a computer program; and
a processor is coupled to the memory, wherein when the computer program is executed by the processor, the electronic device is enabled to perform operations comprising:
turning on the image sensor;
obtaining a first parameter and a second parameter, wherein the first parameter is used for representing a dynamic range of an image, and the second parameter is used for representing a zoom ratio;
when the second parameter is 1, outputting image data in a first mode when the first parameter meets a first condition, wherein the first mode is a dual conversion gain mode; and
when the second parameter is 1, outputting image data in a second mode when the first parameter does not meet the first condition, wherein the second mode is different from the first mode.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the first parameter meeting the first condition comprises the first parameter being within a first range or the first parameter being greater than a first threshold.

### Claim 17 (depends on 15)

The electronic device according to claim 15, wherein when the computer program is executed by the processor, the electronic device is further enabled to perform operations comprising:
obtaining a third parameter, wherein the third parameter is used for representing an environmental illuminance;
when the second parameter is 2, outputting image data in a third mode when the third parameter is less than a second threshold, wherein the third mode is different from the first mode; and
when the second parameter is 2, outputting image data in the second mode when the third parameter is greater than the second threshold.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein when the computer program is executed by the processor, the electronic device is further enabled to perform operations comprising:
when the second parameter is 2, outputting image data in the first mode when the third parameter is greater than the second threshold and the first parameter is greater than a third threshold.

### Claim 19 (depends on 1)

An electronic device, comprising an image sensor, a processor, and a memory, wherein the processor is coupled to the memory, the memory is configured to store a computer program, and when the computer program is executed by the processor, the electronic device is enabled to perform the method according to claim 1.

### Claim 20

A chip system, comprising a processor, wherein when the processor executes instructions, the processor is enabled to perform operations comprising:
turning on an image sensor, wherein the image sensor is used for outputting image data;
obtaining a first parameter and a second parameter, wherein the first parameter is used for representing a dynamic range of an image, and the second parameter is used for representing a zoom ratio;
switching an outputting mode of the image sensor from a second mode to a first mode when the first parameter increases from a first value to a second value, wherein the second parameter is less than a third value; and
switching the outputting mode of the image sensor from the first mode to a third mode when the second parameter increases from a fourth value to a fifth value, wherein the first mode is a dual conversion gain mode, the fourth value is less than the third value, the fifth value is greater than or equal to the third value, and the first mode, the second mode, and the third mode are different from each other.
