# US 2023/0274389 A1 · Method for providing image and electronic device for supporting same

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

- Number: US 2023/0274389 A1
- Document ID: US20230274389A1
- Status: Published application
- Kind: A1
- Application number: 18/143,801
- Filed: 2023-05-05
- Published: 2023-08-31
- Earliest claimed: 2020-11-23
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Chansik PARK; Donghyun YEOM; Jaehun CHO
- Web page: https://patentgrep.com/patent/US20230274389A1

## CPC

- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/92: based on global image properties
- G06T 7/13: Edge detection
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Ann electronic device includes: a display; a memory storing instructions; and a processor operably coupled to the display and the memory, the processor being configured to execute the instructions to: obtain a first image to which high dynamic range (HDR) is applied and metadata corresponding to the first image, scale up or down, using a scaling ratio based on size information about a first size of the first image and a second size of a second image to be displayed on the display, the first image to a third image, obtain, based on the metadata, first information about a plurality of first areas of the first image, obtain second information about a plurality of second areas of the third image, based on the scaling ratio and the first information, and obtain the second image by performing tone mapping on the plurality of second areas using a tone mapping coefficient included in the metadata.

## Claims

### Claim 1

An electronic device comprising:
a display;
a memory storing instructions; and
a processor operably coupled to the display and the memory, the processor being configured to execute the instructions to:
obtain a first image to which high dynamic range (HDR) is applied and metadata corresponding to the first image,
scale up or down, using a scaling ratio based on size information about a first size of the first image and a second size of a second image to be displayed on the display, the first image to a third image,
obtain, based on the metadata, first information about a plurality of first areas of the first image,
obtain second information about a plurality of second areas of the third image, based on the scaling ratio and the first information, and
obtain the second image by performing tone mapping on the plurality of second areas using a tone mapping coefficient included in the metadata.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the first information comprises first position information about positions of the plurality of first areas,
wherein the second information comprises second position information about positions of the plurality of second areas, and
wherein the plurality of first areas and the plurality of second areas correspond to a plurality of tone mapping coefficients included in the metadata.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the processor is further configured to execute the instructions to change, based on the scaling ratio, the positions of the plurality of first areas to the positions of the plurality of second areas, respectively.

### Claim 4 (depends on 2)

The electronic device of claim 2, wherein the processor is further configured to execute the instructions to:
determine a boundary area comprising a boundary between the plurality of second areas, and
determine a boundary tone mapping coefficient to be applied to the boundary area, based on respective tone mapping coefficients corresponding to the plurality of second areas, wherein one or more second areas of the plurality of second areas comprise the boundary area.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the processor is further configured to execute the instructions to determine an average value of tone mapping coefficients corresponding to the one or more second areas as the boundary tone mapping coefficient.

### Claim 6 (depends on 2)

The electronic device of claim 2, wherein the processor is further configured to execute the instructions to:
adjust a tone mapping coefficient value of the plurality of tone mapping coefficients corresponding to a low gray scale to a smaller value corresponding to the low gray scale, and
adjust a tone mapping coefficient value of the plurality of tone mapping coefficients corresponding to a high gray scale to a larger value corresponding to the high gray scale.

### Claim 7 (depends on 2)

The electronic device of claim 2, wherein the processor is further configured to execute the instructions to:
detect at least one of a viewing distance, a viewing angle, or an external illuminance, and
adjust each of the plurality of tone mapping coefficients based on the at least one of the viewing distance, the viewing angle, or the external illuminance.

### Claim 8 (depends on 1)

The electronic device of claim 1, wherein the processor is further configured to execute the instructions to:
determine whether the second size of the second image is greater than or equal to the first size of the first image,
based on a determination that the second size is greater than or equal to the first size, obtain a fourth image by performing tone mapping on the first image, and
obtain the second image by scaling up the fourth image.

### Claim 9

A method of providing an image by an electronic device, the method comprising:
obtaining a first image to which high dynamic range (HDR) is applied and metadata corresponding to the first image;
scaling up or down, using a scaling ratio based on size information about a first size of the first image and a second size of a second image to be displayed on a display of the electronic device, the first image to a third image;
obtaining, based on the metadata, first information about a plurality of first areas of the first image;
obtaining second information about a plurality of second areas of the third image, based on the scaling ratio and the first information; and
obtaining the second image by performing tone mapping on the plurality of second areas using a tone mapping coefficient included in the metadata.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first information comprises first position information about positions of the plurality of first areas,
wherein the second information comprises second position information about positions of the plurality of second areas, and
wherein the plurality of first areas and the plurality of second areas correspond to a plurality of tone mapping coefficients included in the metadata.

### Claim 11 (depends on 10)

The method of claim 10, wherein the obtaining the second information comprises changing, based on the scaling ratio, the positions of the plurality of first areas to the positions of the plurality of second areas, respectively.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
determining a boundary area comprising a boundary between the plurality of second areas; and
determining a boundary tone mapping coefficient to be applied to the boundary area, based on respective tone mapping coefficients corresponding to the plurality of second areas.

### Claim 13 (depends on 12)

The method of claim 12, wherein one or more second areas of the plurality of second areas comprise the boundary area, and
wherein the determining the boundary tone mapping coefficient comprises determining an average value of tone mapping coefficients corresponding to the one or more second areas as the boundary tone mapping coefficient.

### Claim 14 (depends on 10)

The method of claim 10, wherein the scaling the first image comprises:
adjusting a tone mapping coefficient value of the plurality of tone mapping coefficients corresponding to a low gray scale to a smaller value corresponding to the low gray scale; and
adjusting a tone mapping coefficient value of the plurality of tone mapping coefficients corresponding to a high gray scale to a larger value corresponding to the high gray scale.

### Claim 15 (depends on 10)

The method of claim 10, further comprising:
detecting at least one of a viewing distance, a viewing angle, or an external illuminance; and
adjusting each of the plurality of tone mapping coefficients based on the at least one of the viewing distance, the viewing angle, or the external illuminance.

### Claim 16 (depends on 9)

The method of claim 9, further comprising:
determining whether the second size of the second image is greater than or equal to the first size of the first image;
based on determining that the second size is greater than or equal to the first size, obtaining a fourth image by performing tone mapping on the first image; and
obtaining the second image by scaling up the fourth image.

### Claim 17

An electronic device comprising:
a display;
a memory storing instructions; and
a processor operably coupled to the display and the memory, the processor being configured to execute the instructions to:
obtain a first image to which high dynamic range (HDR) is applied and metadata corresponding to the first image,
scale up or down, using a scaling ratio based on size information about a first size of the first image and a second size of a second image to be displayed on the display, the first image to a third image,
obtain, based on the metadata, first information about a plurality of first areas of the first image,
adjust at least one of a first value corresponding to a low gray scale or a second value corresponding to a high gray scale in a tone mapping coefficient included in the metadata, and
obtain the second image by performing tone mapping on an area of the third image using the tone mapping coefficient including the adjusted first value and second value.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the processor is further configured to execute the instructions to:
based on the first image being scaled down to the third image, adjust the first value to a value smaller than the first value and adjust the second value to a value greater the second value.

### Claim 19 (depends on 17)

The electronic device of claim 17, wherein the processor is further configured to execute the instructions to:
detect at least one of a viewing distance, a viewing angle, or an external illuminance, and
adjust each of the plurality of tone mapping coefficients based on the at least one of the viewing distance, the viewing angle, or the external illuminance.

### Claim 20 (depends on 17)

The electronic device of claim 17, wherein the processor is further configured to execute the instructions to:
determine whether the second size of the second image is greater than or equal to the first size of the first image,
based on a determination that the second size is greater than or equal to the first size, obtain a fourth image by performing tone mapping on the first image, and
obtain the second image by scaling up the fourth image.
