KR102555276B1 - Image processing method and electronic device supporting the same - Google Patents

Image processing method and electronic device supporting the same Download PDF

Info

Publication number
KR102555276B1
KR102555276B1 KR1020160097076A KR20160097076A KR102555276B1 KR 102555276 B1 KR102555276 B1 KR 102555276B1 KR 1020160097076 A KR1020160097076 A KR 1020160097076A KR 20160097076 A KR20160097076 A KR 20160097076A KR 102555276 B1 KR102555276 B1 KR 102555276B1
Authority
KR
South Korea
Prior art keywords
gain value
image
gain
electronic device
value
Prior art date
Application number
KR1020160097076A
Other languages
Korean (ko)
Other versions
KR20180013400A (en
Inventor
박대근
박기현
이훈희
추성민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020160097076A priority Critical patent/KR102555276B1/en
Publication of KR20180013400A publication Critical patent/KR20180013400A/en
Application granted granted Critical
Publication of KR102555276B1 publication Critical patent/KR102555276B1/en

Links

Images

Classifications

    • G06T5/007
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

전자 장치에 있어서, 영상을 출력하기 위한 디스플레이, 상기 영상을 저장하기 위한 메모리, 및 상기 디스플레이 및 상기 메모리와 기능적으로 연결된 프로세서를 포함하고, 상기 프로세서는 상기 영상에서 조명 성분 및 반사 성분을 추출하고, 제1 계조 값 이하를 갖는 상기 영상의 제1 영역에서는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값으로 설정하고, 제2 계조 값 이상을 갖는 상기 영상의 제2 영역에서의 상기 조명 성분 및 상기 반사 성분에 대해 각각 제3 이득 값 및 제4 이득 값으로 설정하고, 상기 제1 이득 값 및 상기 제2 이득 값은 각각 상기 제3 이득 값과 상기 제4 이득 값과 다르게 설정되는 것을 특징으로 하는 전자 장치가 개시된다. 이 외에도 명세서를 통해 파악되는 다양한 실시 예가 가능하다.An electronic device comprising: a display for outputting an image, a memory for storing the image, and a processor functionally connected to the display and the memory, wherein the processor extracts an illumination component and a reflection component from the image; In the first region of the image having a first grayscale value or less, the illumination component and the reflection component are set to a first gain value and a second gain value, respectively, and in a second region of the image having a second grayscale value or more. Set the illumination component and the reflection component to a third gain value and a fourth gain value, respectively, and the first gain value and the second gain value are the third gain value and the fourth gain value, respectively. An electronic device characterized in that it is set differently is disclosed. In addition to this, various embodiments identified through the specification are possible.

Description

영상 처리 방법 및 이를 지원하는 전자 장치{Image processing method and electronic device supporting the same}Image processing method and electronic device supporting the same

본 문서에 개시되는 실시 예들은 영상 처리 방법 및 이를 지원하는 전자 장치와 관련된다.Embodiments disclosed in this document relate to an image processing method and an electronic device supporting the same.

스마트폰 등과 같은 전자 장치는 다양한 멀티미디어 기능을 지원할 수 있다. 예를 들어, 전자 장치는 카메라를 이용한 촬영, 사진 파일 표시, 또는 동영상 재생 등의 기능을 지원할 수 있다. 이러한 멀티미디어 기능을 지원하기 위해 전자 장치는 각종 컨텐츠를 표시할 수 있는 디스플레이를 포함할 수 있다.Electronic devices such as smartphones may support various multimedia functions. For example, the electronic device may support functions such as photographing using a camera, displaying a photo file, or playing a video. To support such a multimedia function, an electronic device may include a display capable of displaying various contents.

전자 장치는 외부의 다양한 영상 공급원으로부터 수신되거나 또는 자체적으로 저장되어 있는 영상을 다양한 영상 처리 프로세스에 따라서 처리할 수 있다. 또한, 전자 장치는 처리된 영상을 자체 구비한 디스플레이 상에 표시하거나 외부 디스플레이 장치에 전송하여 처리된 영상이 외부 디스플레이에 표시되도록 할 수 있다.The electronic device may process images received from various external image sources or stored therein according to various image processing processes. Also, the electronic device may display the processed image on its own display or transmit the processed image to an external display device so that the processed image is displayed on the external display.

한편, 전자 장치는 사용자가 실제로 보는 배경 또는 피사체와 이를 촬영한 영상과의 차이를 극복하기 위해 현실의 빛의 범위를 최대한 표현하기 위한 기술 예컨대, HDR(high dynamic range)을 적용할 수 있다. HDR은 디스플레이나 카메라가 촬영한 데이터의 표현 범위(예: 계조의 범위)가 SDR(standard dynamic range) 대비 넓기 때문에 HDR 영상은 SDR 영상 대비 영상의 밝은 영역은 더 밝게, 어두운 영역은 더 어둡게 표현될 수 있다.Meanwhile, the electronic device may apply a technology for maximally expressing a range of light in reality, such as high dynamic range (HDR), in order to overcome a difference between a background or subject actually viewed by a user and an image captured therefrom. In HDR, the range of expression of data captured by a display or camera (e.g., the range of gradation) is wider than that of SDR (standard dynamic range), so HDR images can express bright areas brighter and dark areas darker than SDR images. can

SDR 영상 등과 같이 HDR 영상보다 낮은 계조의 범위를 갖는 영상에서는, 영상의 암부(어두운 영역)가 잘 시인되지 않을 수 있다.In an image having a grayscale range lower than that of an HDR image, such as an SDR image, a dark portion (dark region) of the image may not be visually recognized.

본 문서에서 개시되는 실시 예들은 전술한 문제 및 본 문서에서 제기되는 과제들을 해결하기 위해, 영상의 계조별로 조명 성분 이득(illumination gain) 및 반사 성분 이득(reflectance gain) 중 적어도 하나를 다르게 적용하는 영상 처리 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Embodiments disclosed in this document are images in which at least one of an illumination gain and a reflection gain is differently applied for each gray level of an image in order to solve the above problems and the problems raised in this document. A processing method and an electronic device supporting the processing method may be provided.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 영상을 출력하기 위한 디스플레이, 상기 영상을 저장하기 위한 메모리, 및 상기 디스플레이 및 상기 메모리와 기능적으로 연결된 프로세서를 포함하고, 상기 프로세서는 상기 영상에서 조명 성분 및 반사 성분을 추출하고, 제1 계조 값 이하를 갖는 상기 영상의 제1 영역에서는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값으로 설정하고, 제2 계조 값 이상을 갖는 상기 영상의 제2 영역에서의 상기 조명 성분 및 상기 반사 성분에 대해 각각 제3 이득 값 및 제4 이득 값으로 설정하고, 상기 제1 이득 값 및 상기 제2 이득 값은 각각 상기 제3 이득 값과 상기 제4 이득 값과 다르게 설정될 수 있다.An electronic device according to an embodiment disclosed in this document includes a display for outputting an image, a memory for storing the image, and a processor functionally connected to the display and the memory. An illumination component and a reflection component are extracted, and in a first region of the image having a first grayscale value or less, the illumination component and the reflection component are set to a first gain value and a second gain value, respectively, and a second grayscale value The illumination component and the reflection component in the second region of the image having an anomaly are set to a third gain value and a fourth gain value, respectively, and the first gain value and the second gain value are respectively the third gain value. It may be set differently from the gain value and the fourth gain value.

본 문서에서 개시되는 일 실시 예에 따른 영상 처리 방법은, 영상을 획득하는 동작, 상기 영상에서 조명 성분 및 반사 성분을 추출하는 동작, 및 제1 계조 값 이하를 갖는 상기 영상의 제1 영역에서는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값으로 설정하고, 제2 계조 값 이상을 갖는 상기 영상의 제2 영역에서의 상기 조명 성분 및 상기 반사 성분에 대해 각각 제3 이득 값 및 제4 이득 값으로 설정하는 동작을 포함하고, 상기 제1 이득 값 및 상기 제2 이득 값은 각각 상기 제3 이득 값과 상기 제4 이득 값과 다르게 설정될 수 있다.An image processing method according to an embodiment disclosed in this document includes an operation of acquiring an image, an operation of extracting an illumination component and a reflection component from the image, and an operation of extracting an illumination component and a reflection component from the image, and in a first region of the image having a first grayscale value or less, A first gain value and a second gain value are set for the illumination component and the reflection component, respectively, and a third gain is set for each of the illumination component and the reflection component in the second region of the image having a second grayscale value or higher. value and a fourth gain value, wherein the first gain value and the second gain value may be set to be different from the third gain value and the fourth gain value, respectively.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 하우징, 상기 하우징의 일면을 통하여 노출된 터치스크린 디스플레이, 상기 디스플레이 내에 포함되거나, 상기 디스플레이와 전기적으로 연결된 디스플레이 드라이버 IC(DDI), 상기 DDI와 전기적으로 연결된 어플리케이션 프로세서, 및 상기 어플리케이션 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 DDI는, 실행시에, 상기 어플리케이션 프로세서에 의하여 프로세스된, 복수의 프레임들을 포함하는 영상 데이터를 상기 메모리로부터 수신하고, 상기 복수의 프레임들의 조명 성분들 및 반사 성분들을 획득하고, 상기 획득된 조명 성분들이 제1 기준 이상인지 여부를 결정하고, 상기 제1 기준 이상인지 여부의 결정에 기초하여, 복수의 이득 값들 중 선택된 하나의 이득 값을 이용하여 상기 조명 성분들을 처리하고, 상기 획득된 반사 성분들이 제2 기준 이상인지 여부를 결정하고, 상기 제2 기준 이상인지 여부의 결정에 기초하여, 복수의 이득 값들 중 선택된 하나의 이득 값을 이용하여 상기 반사 성분들을 처리하고, 상기 처리된 조명 성분들 및 반사 성분들을 포함하는 영상을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a housing, a touch screen display exposed through one surface of the housing, a display driver IC (DDI) included in the display or electrically connected to the display, and the DDI. An application processor electrically connected to the application processor, and a memory electrically connected to the application processor, wherein the DDI, when executed, receives image data including a plurality of frames processed by the application processor from the memory; Acquiring illumination components and reflection components of the plurality of frames, determining whether the acquired illumination components are equal to or greater than a first reference value, and selecting one of a plurality of gain values based on the determination of whether the obtained illumination components are greater than or equal to a first reference value. The illumination components are processed using one gain value, it is determined whether the acquired reflection components are equal to or greater than a second reference value, and one of a plurality of gain values is selected based on the determination of whether the obtained reflection components are greater than or equal to a second reference value. It may store instructions for processing the reflective components using a gain value of , and displaying an image including the processed lighting components and reflective components on the display.

본 문서에 개시되는 실시 예들에 따르면, 영상의 계조별로 조명 성분 이득 및 반사 성분 이득 중 적어도 하나를 조절함으로써, 영상의 암부(예: 낮은 계조 값을 갖는 영역)의 시인성을 높여 SDR 영상을 출력할 때 HDR 영상을 출력한 것과 유사한 효과를 줄 수 있다.According to the embodiments disclosed in this document, by adjusting at least one of the illumination component gain and the reflection component gain for each gradation of the image, the visibility of a dark part (eg, an area having a low gradation value) of the image is increased to output an SDR image. It can give an effect similar to that of outputting an HDR image when

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.

도 1a는 일 실시 예에 따른 전자 장치의 블록도이다.
도 1b는 일 실시 예에 따른 프로세서와 디스플레이의 장치 블록도이다.
도 2는 일 실시 예에 따른 영상 처리와 관련한 전자 장치의 운용 방법을 나타낸 도면이다.
도 3은 일 실시 예에 따른 영상의 조명 성분 및 반사 성분을 설명하기 위한 도면이다.
도 4는 일 실시 예에 따른 영상 처리 방법을 설명하기 위한 도면이다.
도 5는 일 실시 예에 따른 계조별 반사 성분 이득의 적용 방법을 설명하기 위한 도면이다.
도 6a는 일 실시 예에 따른 계조별 조명 성분 이득의 적용 방법을 설명하기 위한 도면이다.
도 6b는 일 실시 예에 따른 계조별 조명 성분 이득의 다른 적용 방법을 설명하기 위한 도면이다.
도 7은 일 실시 예에 따른 영상의 계조를 설명하기 위한 도면이다.
도 8은 일 실시 예에 따른 영상 처리에 따른 효과를 설명하기 위한 도면이다.
도 9는 일 실시 예에 따른 네트워크 환경 내의 전자 장치를 나타낸 도면이다.
도 10은 일 실시 예에 따른 전자 장치의 블록도이다.
도 11은 일 실시 예에 따른 프로그램 모듈의 블록도이다.
1A is a block diagram of an electronic device according to an exemplary embodiment.
Figure 1b is a device block diagram of a processor and a display according to an embodiment.
2 is a diagram illustrating a method of operating an electronic device related to image processing according to an exemplary embodiment.
3 is a diagram for explaining an illumination component and a reflection component of an image according to an exemplary embodiment.
4 is a diagram for explaining an image processing method according to an exemplary embodiment.
5 is a diagram for explaining a method of applying a reflection component gain for each gray level according to an exemplary embodiment.
6A is a diagram for explaining a method of applying an illumination component gain for each gray level according to an exemplary embodiment.
6B is a diagram for explaining another method of applying an illumination component gain for each gray level according to an exemplary embodiment.
7 is a diagram for explaining a gray level of an image according to an exemplary embodiment.
8 is a diagram for explaining an effect according to image processing according to an exemplary embodiment.
9 is a diagram illustrating an electronic device in a network environment according to an embodiment.
10 is a block diagram of an electronic device according to an exemplary embodiment.
11 is a block diagram of a program module according to an embodiment.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that this is not intended to limit the present invention to the specific embodiments, and includes various modifications, equivalents, and/or alternatives of the embodiments of the present invention. In connection with the description of the drawings, like reference numerals may be used for like elements.

본 문서에서, "가진다", "가질 수 있다", "포함한다", 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, expressions such as "has", "may have", "includes", or "may include" refer to the presence of a corresponding feature (eg, numerical value, function, operation, or component such as a part). , which does not preclude the existence of additional features.

본 문서에서, "A 또는 B", "A 또는/및 B 중 적어도 하나", 또는 "A 또는/및 B 중 하나 또는 그 이상" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B", "A 및 B 중 적어도 하나", 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this document, expressions such as "A or B", "at least one of A and/and B", or "one or more of A or/and B" may include all possible combinations of the items listed together. . For example, "A or B", "at least one of A and B", or "at least one of A or B" includes (1) at least one A, (2) at least one B, Or (3) may refer to all cases including at least one A and at least one B.

본 문서에서 사용된 "제1", "제2", "첫째", 또는 "둘째" 등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제1 사용자 기기와 제2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 바꾸어 명명될 수 있다.Expressions such as "first", "second", "first", or "second" as used herein may modify various elements, in any order and/or importance, and may refer to one element as another. It is used to distinguish from components, but does not limit the components. For example, a first user device and a second user device may represent different user devices regardless of order or importance. For example, without departing from the scope of rights described in this document, a first element may be called a second element, and similarly, the second element may also be renamed to the first element.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.A component (e.g., a first component) is "(operatively or communicatively) coupled with/to" another component (e.g., a second component); When referred to as "connected to", it should be understood that the certain component may be directly connected to the other component or connected through another component (eg, a third component). On the other hand, when an element (eg, a first element) is referred to as being “directly connected” or “directly connected” to another element (eg, a second element), the element and the above It may be understood that other components (eg, third components) do not exist between the other components.

본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)", "~하는 능력을 가지는(having the capacity to)", "~하도록 설계된(designed to)", "~하도록 변경된(adapted to)", "~하도록 만들어진(made to)", 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성(또는 설정)된"은 하드웨어적으로 "특별히 설계된(specifically designed to)"것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성(또는 설정)된 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.As used in this document, the expression "configured to" means "suitable for", "having the capacity to", depending on the situation. ", "designed to", "adapted to", "made to", or "capable of" can be used interchangeably. The term "configured (or set) to" may not necessarily mean only "specifically designed to" hardware. Instead, in some contexts, the phrase "device configured to" may mean that the device is "capable of" in conjunction with other devices or components. For example, the phrase "a processor configured (or set) to perform A, B, and C" may include a dedicated processor (eg, an embedded processor) to perform those operations, or one or more software programs stored in a memory device that executes By doing so, it may mean a general-purpose processor (eg, CPU or application processor) capable of performing corresponding operations.

본 문서에서 사용된 용어들은 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 다른 실시 예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은 관련 기술의 문맥 상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시 예들을 배제하도록 해석될 수 없다.Terms used in this document are only used to describe a specific embodiment, and may not be intended to limit the scope of other embodiments. Singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the technical field described in this document. Among the terms used in this document, the terms defined in general dictionaries may be interpreted as having the same or similar meaning to the meaning in the context of the related art, and unless explicitly defined in this document, in an ideal or excessively formal meaning. not interpreted In some cases, even terms defined in this document cannot be interpreted to exclude the embodiments of this document.

본 문서의 다양한 실시 예들에 따른 전자 장치는, 예를 들면, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC (desktop PC), 랩탑 PC(laptop PC), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라, 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에 따르면 웨어러블 장치는 엑세서리 형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체 형(예: 전자 의복), 신체 부착 형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식 형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다.An electronic device according to various embodiments of the present document may include, for example, a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, Desktop PC, laptop PC, netbook computer, workstation, server, personal digital assistant (PDA), portable multimedia player (PMP), MP3 player, mobile medical device, It may include at least one of a camera or a wearable device. According to various embodiments, the wearable device is an accessory type (eg, a watch, a ring, a bracelet, an anklet, a necklace, glasses, a contact lens, or a head-mounted-device (HMD)), a fabric or a clothing integral type ( For example, it may include at least one of an electronic clothing), a body attachment type (eg, a skin pad or tattoo), or a body implant type (eg, an implantable circuit).

어떤 실시 예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 가전 제품은, 예를 들면, 텔레비전, DVD 플레이어(Digital Video Disk player), 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSync™, 애플TV™, 또는 구글 TV™), 게임 콘솔(예: Xbox™, PlayStation™), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may be a home appliance. Home appliances include, for example, televisions, DVD players (Digital Video Disk players), audio systems, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air purifiers, set-top boxes, and home automation. Home automation control panel, security control panel, TV box (e.g. Samsung HomeSync™, Apple TV™, or Google TV™), game console (e.g. Xbox™, PlayStation™), electronics It may include at least one of a dictionary, an electronic key, a camcorder, or an electronic picture frame.

다른 실시 예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션(navigation) 장치, 위성 항법 시스템(GNSS(Global Navigation Satellite System)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may include various types of medical devices (e.g., various portable medical measuring devices (blood glucose meter, heart rate monitor, blood pressure monitor, body temperature monitor, etc.), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), CT (computed tomography), camera, or ultrasonicator, etc.), navigation device, satellite navigation system (GNSS (Global Navigation Satellite System)), EDR (event data recorder), FDR (flight data recorder), automotive infotainment ) devices, marine electronics (e.g. marine navigation systems, gyrocompasses, etc.), avionics, security devices, automotive head units, industrial or home robots, automatic teller's machines (ATMs) of financial institutions , point of sales (POS) in stores, or internet of things devices (e.g. light bulbs, sensors, electric or gas meters, sprinklers, smoke alarms, thermostats, street lights, toasters) , Exercise equipment, hot water tank, heater, boiler, etc.) may include at least one.

어떤 실시 예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시 예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.According to some embodiments, the electronic device may be a piece of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, Water, electricity, gas, radio wave measuring devices, etc.) may include at least one. In various embodiments, the electronic device may be one or a combination of more than one of the various devices described above. An electronic device according to some embodiments may be a flexible electronic device. In addition, the electronic device according to the embodiment of this document is not limited to the above-described devices, and may include new electronic devices according to technological development.

이하, 첨부 도면을 참조하여, 다양한 실시 예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치 (예: 인공지능 전자 장치)를 지칭할 수 있다.Hereinafter, an electronic device according to various embodiments will be described with reference to the accompanying drawings. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (eg, an artificial intelligence electronic device).

도 1a는 일 실시 예에 따른 전자 장치의 블록도이다.1A is a block diagram of an electronic device according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 1a를 참조하면, 전자 장치(100)는 프로세서(110), 영상 처리 모듈(130), 메모리(150), 및 디스플레이(170)를 포함할 수 있다. 그러나, 전자 장치(100)의 구성은 이에 한정되는 것은 아니다. 상술한 구성요소들 중 적어도 하나가 생략될 수 있으며, 적어도 하나의 다른 구성요소가 더 포함될 수도 있다. 한 예로, 전자 장치(100)는 입출력 인터페이스, 통신 인터페이스, 또는 카메라를 더 포함할 수 있다.Referring to FIG. 1A according to various embodiments of the present disclosure, an electronic device 100 may include a processor 110, an image processing module 130, a memory 150, and a display 170. However, the configuration of the electronic device 100 is not limited thereto. At least one of the above-described components may be omitted, and at least one other component may be further included. For example, the electronic device 100 may further include an input/output interface, a communication interface, or a camera.

다양한 실시 예에 따르면, 상기 입출력 인터페이스는 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(100)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 상기 입출력 인터페이스는 전자 장치(100)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.According to various embodiments, the input/output interface may serve as an interface capable of transferring commands or data input from a user or other external device to other component(s) of the electronic device 100 . Also, the input/output interface may output commands or data received from other element(s) of the electronic device 100 to a user or other external device.

다양한 실시 예에 따르면, 상기 통신 인터페이스는 전자 장치(100)와 외부 장치 간의 통신을 설정할 수 있다. 예를 들면, 상기 통신 인터페이스는 무선 통신 또는 유선 통신을 통해서 네트워크에 연결되어 상기 외부 장치와 통신할 수 있다.According to various embodiments, the communication interface may establish communication between the electronic device 100 and an external device. For example, the communication interface may be connected to a network through wireless communication or wired communication to communicate with the external device.

다양한 실시 예에 따르면, 상기 카메라는 정지 영상 및 동영상을 촬영할 수 있다. 상기 카메라는 예를 들어, 촬상 소자를 포함할 수 있다. 상기 촬상 소자는 예를 들어, 피사체의 영상 광을 받아들여 화상으로 결상시키는 렌즈, 상기 렌즈를 통과하는 광의 양을 조절하는 조리개, 상기 렌즈를 통과하는 광에 의해 이미지 센서가 일정 시간 동안 노출되도록 조래개를 여닫는 기능을 하는 셔터, 상기 렌즈에 결상된 화상을 광신호로서 수광하는 이미지 센서, 및 내부 메모리 중 적어도 하나를 포함할 수 있다. 상기 내부 메모리는 촬영된 영상을 저장할 수 있다. 한 실시 예에 따르면, 상기 내부 메모리는 상기 셔터를 조작하기 전, 상기 이미지 센서를 통해 촬상된 영상을 저장할 수 있다. 어떤 실시 예에서, 상기 내부 메모리에 저장된 영상은 프로세서(110)에 의해 프리뷰(preview) 영상으로 디스플레이(170)에 출력될 수 있다.According to various embodiments, the camera may capture still images and moving images. The camera may include, for example, an imaging device. The imaging device may include, for example, a lens that receives image light of a subject and forms an image, an aperture that controls the amount of light passing through the lens, and an image sensor exposed for a certain period of time by the light passing through the lens. It may include at least one of a shutter that opens and closes, an image sensor that receives an image formed by the lens as an optical signal, and an internal memory. The internal memory may store captured images. According to an embodiment, the internal memory may store an image captured through the image sensor before operating the shutter. In some embodiments, the image stored in the internal memory may be output to the display 170 as a preview image by the processor 110 .

다양한 실시 예에 따르면, 프로세서(110)는 전자 장치(100)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. 프로세서(110)는 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(110)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(110)는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.According to various embodiments, the processor 110 may execute calculations or data processing related to control and/or communication of at least one other component of the electronic device 100 . The processor 110 may control a plurality of hardware or software components connected to the processor 110 by driving, for example, an operating system or an application program, and may perform various data processing and calculations. The processor 110 loads and processes commands or data received from at least one of the other components (eg, non-volatile memory) into the volatile memory, and stores various data in the non-volatile memory. there is.

한 실시 예에 따르면, 프로세서(110)는 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(110)는 예를 들면, SoC(system on chip)로 구현될 수 있다. 한 실시 예에 따르면, 프로세서(100)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다.According to one embodiment, the processor 110 includes one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). can do. The processor 110 may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor 100 may further include a graphic processing unit (GPU) and/or an image signal processor.

다양한 실시 예에 따르면, 영상 처리 모듈(130)은 사용자의 눈에 의해 인식되는 실제 배경 또는 피사체와 이를 촬영한 영상과의 차이를 극복하기 위한 작업을 수행할 수 있다. 예를 들어, 영상 처리 모듈(130)은 SDR 영상을 출력할 때, SDR 영상이 HDR 영상처럼 사용자에 의해 인식될 수 있도록 영상 처리를 수행할 수 있다. According to various embodiments, the image processing module 130 may perform an operation to overcome a difference between a real background or subject recognized by the user's eyes and a captured image. For example, when outputting an SDR image, the image processing module 130 may perform image processing so that the SDR image can be recognized by a user as an HDR image.

한 실시 예에 따르면, 영상 처리 모듈(130)은 영상에서 조명 성분(illumination component) 및 반사 성분(reflectance component)을 추출하고, 상기 조명 성분에 대한 이득(이하 조명 성분 이득(illumination gain)이라 한다) 및 상기 반사 성분에 대한 이득(이하 반사 성분 이득(reflectance gain)이라 한다)을 각각 적용하여 영상의 계조 표현력을 향상시킬 수 있다. 이에 따라, 영상은 현실에서의 빛의 범위를 최대한 표현할 수 있게 된다.According to one embodiment, the image processing module 130 extracts an illumination component and a reflection component from an image, and a gain for the illumination component (hereinafter referred to as an illumination gain). And a gain for the reflection component (hereinafter referred to as a reflection component gain) may be applied to improve grayscale expression of the image. Accordingly, the image can express the range of light in reality to the maximum extent.

한 실시 예에 따르면, 영상 처리 모듈(130)은 저역 통과 필터(low pass filter)를 이용하여 영상에서 조명 성분을 추출할 수 있다. 또한, 영상 처리 모듈(130)은 영상에서 상기 조명 성분을 제거하여 반사 성분을 추출할 수 있다.According to one embodiment, the image processing module 130 may extract an illumination component from an image using a low pass filter. Also, the image processing module 130 may extract a reflection component by removing the illumination component from the image.

한 실시 예에 따르면, 영상 처리 모듈(130)은 영상에 포함된 특정 픽셀의 조명 성분 및 반사 성분을 추출함에 있어서, 영상을 지정된 크기(예: 64x64 픽셀, 128x128 픽셀, 또는 256x256 픽셀)의 복수 개의 영역(예: 블록(block))으로 나누고, 각 영역의 평균 밝기를 산출한 뒤, 상기 픽셀의 밝기, 상기 픽셀이 포함된 영역과 인접한 영역의 평균 밝기, 및 상기 픽셀과 상기 인접한 영역 간의 거리 정보 등을 이용해 상기 픽셀의 조명 성분을 산출할 수 있다. 예컨대, 영상 처리 모듈(130)은 보간법(interpolation)을 사용하여 영상에 포함된 각 픽셀의 조명 성분을 산출할 수 있다. 또한, 영상 처리 모듈(130)은 영상에서 상기 조명 성분을 제거하여 반사 성분을 추출할 수 있다. 이 경우, 영상 처리 모듈(130)은 인간 시각이 민감하게 반응하는 저계조 부분에서의 연산을 세밀하게 하기 위해 지정된 수학적 알고리즘을 사용할 수 있다. 한 예로, 영상 처리 모듈(130)은 영상의 데이터를 로그 스케일(logarithmic scale)로 변환한 값에서 상기 조명 성분의 데이터를 로그 스케일로 변환한 값을 차감 연산하고, 차감 연산된 결과 값을 다시 지수 형태(exponential form)로 변환함으로써 상기 반사 성분을 획득할 수 있다.According to an embodiment, the image processing module 130 extracts the illumination component and reflection component of a specific pixel included in the image, and converts the image into a plurality of pixels of a specified size (eg, 64x64 pixels, 128x128 pixels, or 256x256 pixels). After dividing into areas (eg, blocks) and calculating the average brightness of each area, the brightness of the pixel, the average brightness of the area including the pixel and the area adjacent to the area, and the distance information between the pixel and the adjacent area An illumination component of the pixel may be calculated using a light source, or the like. For example, the image processing module 130 may calculate an illumination component of each pixel included in the image using interpolation. Also, the image processing module 130 may extract a reflection component by removing the illumination component from the image. In this case, the image processing module 130 may use a designated mathematical algorithm to fine-tune an operation in a low grayscale portion to which human vision reacts sensitively. As an example, the image processing module 130 subtracts the value obtained by converting the data of the lighting component to the logarithmic scale from the value obtained by converting the data of the image to the logarithmic scale, and returns the result of the subtraction operation to an exponent. The reflection component can be obtained by converting to an exponential form.

한 실시 예에 따르면, 영상 처리 모듈(130)은 영상의 조명 성분 및 반사 성분에 각각 조명 성분 이득 및 반사 성분 이득을 적용하고, 이득이 적용된 조명 성분 및 반사 성분을 결합할 수 있다. 이을 통해 사용자는 HDR 영상보다 낮은 계조의 범위를 갖는 영상을 HDR 영상처럼 인식할 수 있다. 한 예로, 영상 처리 모듈(130)은 상기 조명 성분의 데이터를 로그 스케일로 변환한 값에 상기 조명 성분 이득을 곱한 값 및 상기 반사 성분의 데이터를 로그 스케일로 변환한 값에 상기 반사 성분 이득을 곱한 값을 합산하고, 합산된 값을 지수 형태로 변환함으로써 상기 출력 영상을 획득할 수 있다.According to an embodiment, the image processing module 130 may apply an illumination component gain and a reflection component gain to an illumination component and a reflection component of an image, respectively, and combine the illumination component and the reflection component to which the gain is applied. Through this, the user can recognize an image having a lower grayscale range than the HDR image as an HDR image. For example, the image processing module 130 multiplies a value obtained by multiplying the illumination component gain by a value obtained by converting the data of the illumination component into a log scale and multiplied by the reflection component gain by a value obtained by converting the data of the reflection component into a log scale. The output image may be obtained by summing the values and converting the summed values into an exponential form.

한 실시 예에 따르면, 영상 처리 모듈(130)이 영상의 암부(예: 저계조 영역)의 계조 표현력을 향상시키기 위해 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 지정된 값 이상으로 설정하는 경우, 저계조 영역에서는 계조 표현력이 향상될 수 있으나, 고계조 영역에서는 계조 값이 포화되는 현상(예: 인접한 영역들의 계조 값이 계조 최고치에 가까워져 영역들 간의 계조 표현력이 비슷해짐으로써 영상의 경계가 표현되지 못하는 현상, 이하 계조의 클리핑(clipping) 현상이라 한다.) 등이 발생할 수 있다.According to an embodiment, when the image processing module 130 sets at least one of the illumination component gain and the specular component gain to a specified value or more in order to improve the gradation expressiveness of a dark portion (eg, a low gradation region) of an image. , The expression of gray level can be improved in the low gray level area, but the gray level value is saturated in the high gray level area (e.g., the gray level value of adjacent areas approaches the maximum value of gray level, so the gray level expression power between the areas becomes similar, so the boundary of the image is expressed. (Hereinafter referred to as a grayscale clipping phenomenon) may occur.

한 실시 예에 따르면, 계조의 클리핑(clipping) 현상 등을 해결하기 위해, 영상 처리 모듈(130)은 영상의 계조별로 조명 성분 이득 및 반사 성분 이득 중 적어도 하나를 다르게 적용할 수 있다. 한 예로, 영상 처리 모듈(130)은 상기 반사 성분 이득을 고계조 영역보다 저계조 영역에서 더 크게 설정할 수 있다. 이에 따라, 고계조 영역에서 계조의 클리핑 현상이 발생하는 것을 방지하면서, 저계조 영역에서의 계조 표현력을 높여 영상의 시인성을 향상시킬 수 있다. 다른 예로, 영상 처리 모듈(130)은 상기 조명 성분 이득을 저계조 영역보다 고계조 영역에서 더 크게 설정할 수 있다. 이에 따라, 영상 전체적으로 콘트라스트(contrast)가 올라가는 효과를 얻을 수 있다. 또 다른 예로, 영상 처리 모듈(130)은 상기 조명 성분 이득을 고계조 영역보다 저계조 영역에서 더 크게 설정할 수도 있다. 이에 따라, 저계조 영역에서의 계조 표현력이 향상될 수 있다.According to an embodiment, in order to solve a grayscale clipping phenomenon, the image processing module 130 may differently apply at least one of an illumination component gain and a reflection component gain for each grayscale of an image. For example, the image processing module 130 may set the reflection component gain to be greater in a low grayscale area than in a high grayscale area. Accordingly, it is possible to improve the visibility of an image by preventing clipping of a gray level from occurring in a high gray level area and increasing gray level expression power in a low gray level area. As another example, the image processing module 130 may set the illumination component gain to be greater in a high grayscale area than in a low grayscale area. Accordingly, an effect of increasing the contrast of the entire image may be obtained. As another example, the image processing module 130 may set the illumination component gain to be greater in a low grayscale area than in a high grayscale area. Accordingly, grayscale expression in a low grayscale region may be improved.

한 실시 예에 따르면, 영상 처리 모듈(130)은 영상의 계조별로 조명 성분 이득 및 반사 성분 이득을 적용할 때, 설정에 대한 계조를 제1 계조, 또는 제2 계조 뿐만 아니라 그 이상 여러 계조에 대하여서도 각각 조명 성분 이득 및 반사 성분 이득을 다르게 설정할 수 있다.According to an embodiment, when the image processing module 130 applies the illumination component gain and the reflection component gain for each gray level of the image, the gray level for the setting is set not only for the first gray level or the second gray level, but also for several other gray levels. Also, the illumination component gain and reflection component gain can be set differently.

다양한 실시 예에 따르면, 영상 처리 모듈(130)은 디스플레이(170)로 비치는 조도가 낮을수록 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 더 작게 설정하고, 디스플레이(170)로 비치는 조도가 높을수록 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 더 크게 설정할 수 있다. 영상 처리 모듈(130)은 디스플레이(170)로 비치는 조도를 측정하기 위해 디스플레이(170)와 동일한 면에 배치된 센서(예: 조도 센서)를 이용할 수 있다. 그러나, 이에 한정되는 것은 아니다. 다양한 실시 예에 따르면, 영상 처리 모듈(130)은 전자 장치(100)에 포함된 카메라 또는 디스플레이(170)와 다른 면(예: 후면)에 배치된 센서를 이용할 수도 있다. 어떤 실시 예에서, 영상 처리 모듈(130)은 디스플레이(170) 패널 자체의 휘도를 증가시킬 수도 있다.According to various embodiments, the image processing module 130 sets at least one of the illumination component gain and the reflection component gain to be smaller as the illuminance of the display 170 is lower, and the image processing module 130 sets the lower the illuminance of the display 170 is. At least one of the illumination component gain and the reflection component gain may be set higher. The image processing module 130 may use a sensor (eg, an illuminance sensor) disposed on the same surface as the display 170 to measure the illuminance reflected on the display 170 . However, it is not limited thereto. According to various embodiments, the image processing module 130 may use a sensor disposed on a different surface (eg, a rear surface) than the camera included in the electronic device 100 or the display 170 . In some embodiments, the image processing module 130 may increase the luminance of the display 170 panel itself.

다양한 실시 예에 따르면, 영상 처리 모듈(130)은 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 설정함으로써 발생할 수 있는 암부 노이즈를 노이즈 저감 필터 등을 사용하여 제거할 수 있다. 또 다른 예로, 영상 처리 모듈(130)은 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 설정함으로써 발생할 수 있는 채도 저하 현상을 방지하기 위해 영상의 적어도 일부 영역에 대한 채도를 증가시킬 수 있다.According to various embodiments, the image processing module 130 may remove dark noise, which may be generated by setting at least one of the illumination component gain and the reflection component gain high, by using a noise reduction filter or the like. As another example, the image processing module 130 may increase the saturation of at least a part of the image in order to prevent a desaturation phenomenon that may occur by setting at least one of the illumination component gain and the reflection component gain high. .

한 실시 예에 따르면, 영상 처리 모듈(130)은 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 또는 작게 설정하면서, 색온도를 변경시킬 수도 있다. 예컨대, 영상 처리 모듈(130)은 색온도를 낮춰 영상에 편안한 효과를 가미하거나 색온도를 높여 영상에 시원한 효과를 가미할 수 있다.According to an embodiment, the image processing module 130 may change the color temperature while setting at least one of the illumination component gain and the reflection component gain to be large or small. For example, the image processing module 130 may lower the color temperature to add a comfortable effect to the image or increase the color temperature to add a cool effect to the image.

한 실시 예에 따르면, 영상 처리 모듈(130)은 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 또는 작게 설정하면서, 디테일 필터(또는 선명도 필터(sharpness filter))를 이용하여 영상의 선명도를 증가시킬 수 있다. 상기 디테일 필터는 예를 들면, 영상의 엣지(edge) 영역을 검출하고, 검출된 엣지 영역을 선명하게 처리할 수 있다.According to an embodiment, the image processing module 130 increases the sharpness of the image by using a detail filter (or sharpness filter) while setting at least one of the illumination component gain and the reflection component gain to be large or small. can increase The detail filter may, for example, detect an edge area of an image and sharpen the detected edge area.

한 실시 예에 따르면, 영상 처리 모듈(130)은 프로세서(110)에 포함된 형태로 마련되거나 또는 프로세서(110)와 독립된 형태로 마련될 수도 있다. 영상 처리 모듈(130)은 프로세서(110)와 독립된 형태로 마련되는 경우, 프로세서(110)와 통신을 수행하여 프로세서(110)로부터 영상 처리에 대한 명령이나 데이터를 수신할 수도 있다. 어떤 실시 예에서, 영상 처리 모듈(130)은 디스플레이(170)의 구동 회로 예컨대, DDI(display drive IC)에 포함될 수도 있다. 상기 DDI는 디스플레이(170) 내에 포함되거나 디스플레이(170)와 전기적으로 연결될 수 있다.According to one embodiment, the image processing module 130 may be provided in a form included in the processor 110 or may be provided in a form independent of the processor 110 . When provided in a form independent of the processor 110, the image processing module 130 may communicate with the processor 110 to receive an image processing command or data from the processor 110. In some embodiments, the image processing module 130 may be included in a driving circuit of the display 170, for example, a display drive IC (DDI). The DDI may be included in the display 170 or electrically connected to the display 170 .

다양한 실시 예에 따르면, 메모리(150) 전자 장치(100)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시 예에 따르면, 메모리(150)는 소프트웨어 및/또는 프로그램을 저장할 수 있다. 또한, 메모리(150)는 외부 장치로부터 수신된 영상 또는 전자 장치(100)에 설치된 카메라를 통해 촬영된 영상 등을 저장할 수 있다.According to various embodiments, the memory 150 may store commands or data related to at least one other component of the electronic device 100 . According to one embodiment, the memory 150 may store software and/or programs. Also, the memory 150 may store images received from an external device or images captured by a camera installed in the electronic device 100 .

다양한 실시 예에 따르면, 메모리(150)는 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(150)는 예를 들면, 내장 메모리 또는 외장 메모리를 포함할 수 있다. 내장 메모리는 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비-휘발성(non-volatile) 메모리(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), 마스크(mask) ROM, 플래시(flash) ROM, 플래시 메모리(예: 낸드플래시(NAND flash) 또는 노아플래시(NOR flash) 등), 하드 드라이브, 또는 SSD(solid state drive) 중 적어도 하나를 포함할 수 있다.According to various embodiments, the memory 150 may include volatile and/or non-volatile memory. The memory 150 may include, for example, an internal memory or an external memory. Built-in memory includes, for example, volatile memory (e.g. DRAM (dynamic RAM), SRAM (static RAM), SDRAM (synchronous dynamic RAM), etc.), non-volatile memory (e.g. OTPROM (one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, flash memory (e.g. NAND flash) Or it may include at least one of a NOR flash, etc.), a hard drive, or a solid state drive (SSD).

다양한 실시 예에 따르면, 디스플레이(170)는 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)를 표시할 수 있다. 한 예로, 디스플레이(170)는 메모리(150)에 저장된 영상 예컨대, 카메라를 통해 촬영된 영상 또는 외부 장치로부터 수신된 영상을 화면에 출력할 수 있다.According to various embodiments, the display 170 may display various contents (eg, text, image, video, icon, or symbol) to the user. For example, the display 170 may output an image stored in the memory 150, for example, an image captured by a camera or an image received from an external device, on a screen.

디스플레이(170)는 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic LED(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이를 포함할 수 있다.The display 170 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, or a microelectromechanical system. (microelectromechanical systems (MEMS)) displays, or electronic paper (electronic paper) displays.

한 실시 예에 따르면, 디스플레이(170)는 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스처, 근접, 또는 호버링(hovering) 입력을 수신할 수 있다. 어떤 실시 예에서, 디스플레이(170)는 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다.According to one embodiment, the display 170 may include a touch screen, and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body. . In some embodiments, the display 170 may be implemented as flexible, transparent, or wearable.

한 실시 예에 따르면, 전자 장치(100)는 전자 장치(100)의 외관을 형성하는 하우징을 포함할 수 있다. 상기 하우징은 예를 들어, 전면, 후면, 및 상기 전면과 상기 후면 사이의 공간을 일부 둘러싸는 측면을 포함할 수 있다. 상기 하우징은 전자 장치(100)의 적어도 일부 구성요소들이 고정 및 지지될 수 있도록 마련될 수 있다. 예를 들어, 프로세서(110), 영상 처리 모듈(130), 메모리(150), 또는 디스플레이(170) 등은 상기 하우징의 내측에 안착되어 고정될 수 있다. 또한, 상기 하우징은 적어도 일부 영역이 투명 물질(예: 글래스(glass))로 마련될 수 있으며, 디스플레이(170)에 출력된 화면이 상기 하우징의 투명 영역을 통해 외부로 표시될 수 있다. 예컨대, 상기 하우징의 일면을 통하여 디스플레이(170)의 적어도 일부가 노출될 수 있다.According to one embodiment, the electronic device 100 may include a housing forming an exterior of the electronic device 100 . The housing may include, for example, a front surface, a rear surface, and a side part partially surrounding a space between the front surface and the rear surface. The housing may be provided to fix and support at least some components of the electronic device 100 . For example, the processor 110, the image processing module 130, the memory 150, or the display 170 may be seated and fixed inside the housing. Also, at least a portion of the housing may be made of a transparent material (eg, glass), and a screen output on the display 170 may be displayed to the outside through the transparent area of the housing. For example, at least a portion of the display 170 may be exposed through one surface of the housing.

도 1b는 일 실시 예에 따른 프로세서와 디스플레이의 장치 블록도이다.Figure 1b is a device block diagram of a processor and a display according to an embodiment.

다양한 실시 예에 따르면, 도 1a의 영상 처리 모듈(130)은 표시부(170)(예: 디스플레이(170))에 포함된 디스플레이 구동 IC(DDI)(171)에 포함될 수 있다. 이 경우, 프로세서(110)에서 영상 정보를 디스플레이 구동 IC(171)에 전송하면 디스플레이 구동 IC(171)에 있는 영상 처리 모듈(130)이 영상 정보를 처리하여 패널(173)을 통해 영상을 출력할 수 있다.According to various embodiments, the image processing module 130 of FIG. 1A may be included in a display driving IC (DDI) 171 included in the display unit 170 (eg, the display 170). In this case, when the processor 110 transmits image information to the display driving IC 171, the image processing module 130 in the display driving IC 171 processes the image information and outputs an image through the panel 173. can

다양한 실시 예에 따르면, 영상 처리 모듈(130)은 디스플레이 구동 IC(171)가 아닌 프로세서(110)에 포함될 수 있다. 이 경우, 영상 처리 모듈(110)에서 실시간 처리된 영상은 디스플레이 구동 IC(171)로 전송될 수도 있다.According to various embodiments, the image processing module 130 may be included in the processor 110 instead of the display driving IC 171 . In this case, the image processed in real time by the image processing module 110 may be transmitted to the display driving IC 171 .

상술한 바와 같이, 다양한 실시 예에 따르면, 전자 장치(예: 전자 장치(100))는 영상을 출력하기 위한 디스플레이(예: 디스플레이(170)), 상기 영상을 저장하기 위한 메모리(예: 메모리(150)), 및 상기 디스플레이 및 상기 메모리와 기능적으로 연결된 프로세서(예: 프로세서(110))를 포함하고, 상기 프로세서는 상기 영상에서 조명 성분 및 반사 성분을 추출하고, 제1 계조 값 이하를 갖는 상기 영상의 제1 영역에서는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값으로 설정하고, 제2 계조 값 이상을 갖는 상기 영상의 제2 영역에서의 상기 조명 성분 및 상기 반사 성분에 대해 각각 제3 이득 값 및 제4 이득 값으로 설정하고, 상기 제1 이득 값 및 상기 제2 이득 값은 각각 상기 제3 이득 값과 상기 제4 이득 값과 다르게 설정될 수 있다.As described above, according to various embodiments, an electronic device (eg, the electronic device 100) includes a display (eg, the display 170) for outputting an image, and a memory (eg, a memory (eg, the memory (eg, the display 170)) for storing the image. 150)), and a processor (eg, the processor 110) functionally connected to the display and the memory, wherein the processor extracts an illumination component and a reflection component from the image, and displays the image having a first grayscale value or less. In the first region of the image, the illumination component and the reflection component are set to a first gain value and a second gain value, respectively, and the illumination component and the reflection component in the second region of the image having a second grayscale value or more are set. Each component may be set to a third gain value and a fourth gain value, and the first gain value and the second gain value may be set to be different from the third gain value and the fourth gain value, respectively.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값을 상기 제3 이득 값보다 크게 설정할 수 있다.According to various embodiments, the processor may set the first gain value to be greater than the third gain value.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값을 상기 제3 이득 값보다 작게 설정할 수 있다.According to various embodiments, the processor may set the first gain value to be smaller than the third gain value.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제2 이득 값을 상기 제4 이득 값보다 크게 설정할 수 있다.According to various embodiments, the processor may set the second gain value to be greater than the fourth gain value.

다양한 실시 예에 따르면, 상기 프로세서는 상기 디스플레이로 비치는 조도가 낮을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 작게 설정하고, 상기 디스플레이로 비치는 조도가 높을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 크게 설정할 수 있다.According to various embodiments, the processor sets at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value to be smaller as the illuminance reflected on the display decreases, and the At least one of the first gain value, the second gain value, the third gain value, and the fourth gain value may be set to increase as the illuminance reflected on the display increases.

다양한 실시 예에 따르면, 상기 프로세서는 상기 디스플레이의 패널의 휘도를 증가시킬 수 있다.According to various embodiments, the processor may increase the luminance of a panel of the display.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면, 상기 영상에 대해 노이즈 저감 필터를 적용할 수 있다.According to various embodiments, the processor performs noise reduction on the image when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more. Filters can be applied.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면, 상기 영상에 대한 채도를 증가시킬 수 있다.According to various embodiments of the present disclosure, when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more, the processor adjusts the saturation of the image. can increase

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상 또는 이하로 설정되면, 상기 영상에 대한 색온도를 변경할 수 있다.According to various embodiments, when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be greater than or equal to a specified size, the processor determines the size of the image for the image. You can change the color temperature.

다양한 실시 예에 따르면, 상기 프로세서는 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상 또는 이하로 설정되면, 상기 영상에 대해 선명도 필터를 적용할 수 있다.According to various embodiments, the processor may, for the image, when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be equal to or less than a specified size. A sharpness filter can be applied.

다양한 실시 예에 따르면, 전자 장치(예: 전자 장치(100))는 하우징, 상기 하우징의 일면을 통하여 노출된 터치스크린 디스플레이(예: 디스플레이(170)), 상기 디스플레이 내에 포함되거나, 상기 디스플레이와 전기적으로 연결된 디스플레이 드라이버 IC(DDI)(예: DDI(171)), 상기 DDI와 전기적으로 연결된 어플리케이션 프로세서(예: 프로세서(110)), 및 상기 어플리케이션 프로세서와 전기적으로 연결된 메모리(예: 메모리(150))를 포함하고, 상기 DDI는, 실행시에, 상기 어플리케이션 프로세서에 의하여 프로세스된, 복수의 프레임들을 포함하는 영상 데이터를 상기 메모리로부터 수신하고, 상기 복수의 프레임들의 조명 성분(illumination component)들 및 반사 성분(reflectance component)들을 획득하고, 상기 획득된 조명 성분의 계조가 제1 기준 이상인지 여부를 결정하고, 상기 제1 기준 이상인지 여부의 결정에 기초하여, 복수의 이득 값들 중 선택된 하나의 이득 값을 이용하여 상기 조명 성분들을 처리하고, 상기 획득된 반사 성분의 계조가 제2 기준 이상인지 여부를 결정하고, 상기 제2 기준 이상인지 여부의 결정에 기초하여, 복수의 이득 값들 중 선택된 하나의 이득 값을 이용하여 상기 반사 성분들을 처리하고, 상기 처리된 조명 성분들 및 반사 성분들을 포함하는 영상을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device (eg, the electronic device 100) may include a housing, a touch screen display (eg, the display 170) exposed through one surface of the housing, included in the display, or electrically connected to the display. A display driver IC (DDI) (eg, DDI 171) connected to the DDI, an application processor (eg, processor 110) electrically connected to the DDI, and a memory (eg, memory 150) electrically connected to the application processor ), wherein the DDI, upon execution, receives image data including a plurality of frames, processed by the application processor, from the memory, and determines illumination components and reflections of the plurality of frames. Acquiring reflection components, determining whether a gradation of the obtained illumination component is greater than or equal to a first reference value, and based on the determination whether or not the gradation of the obtained illumination component is greater than or equal to a first reference value, a gain value selected from among a plurality of gain values. The illumination components are processed using , it is determined whether the gray level of the obtained reflection component is greater than or equal to a second reference, and one gain selected from among a plurality of gain values is determined based on the determination of whether or not the gradation of the obtained reflection component is greater than or equal to a second criterion. Instructions for processing the reflective components using values and displaying an image including the processed lighting components and reflective components on the display may be stored.

다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 DDI가, 상기 획득된 조명 성분들이 상기 제1 기준 이상인 경우, 상기 제1 이득 값을 이용하여 상기 획득된 조명 성분을 처리하고, 상기 획득된 조명 성분들이 상기 제1 기준 미만인 경우, 상기 제1 이득 값보다 큰 제2 이득 값을 이용하여 상기 획득된 조명 성분을 처리하도록 할 수 있다.According to various embodiments of the present disclosure, the instructions may include processing the acquired illumination components using the first gain value when the obtained illumination components are equal to or greater than the first reference value, and When it is less than the first criterion, the obtained illumination component may be processed using a second gain value greater than the first gain value.

도 2는 일 실시 예에 따른 영상 처리와 관련한 전자 장치의 운용 방법을 나타낸 도면이다.2 is a diagram illustrating a method of operating an electronic device related to image processing according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 2를 참조하면, 동작 210에서, 전자 장치(예: 전자 장치(100))는 영상을 획득할 수 있다. 한 실시 예에 따르면, 전자 장치는 전자 장치에 포함된 카메라를 통해 촬영된 영상을 획득할 수 있다. 또 다른 예로, 전자 장치는 전자 장치와 통신 인터페이스를 통해 연결된 외부 장치로부터 영상을 획득할 수 있다. 어떤 실시 예에서, 전자 장치는 메모리에 저장된 영상을 획득할 수도 있다.Referring to FIG. 2 according to various embodiments of the present disclosure, in operation 210, an electronic device (eg, the electronic device 100) may obtain an image. According to one embodiment, the electronic device may obtain an image captured through a camera included in the electronic device. As another example, the electronic device may obtain an image from an external device connected to the electronic device through a communication interface. In some embodiments, the electronic device may obtain an image stored in memory.

다양한 실시 예 따르면, 동작 230에서, 전자 장치는 영상에서 조명 성분 및 반사 성분을 추출할 수 있다. 한 실시 예에 따르면, 전자 장치는 저역 통과 필터를 이용하여 영상에서 상기 조명 성분을 추출할 수 있다. 또한, 전자 장치는 영상에서 상기 조명 성분을 제거하여 상기 반사 성분을 추출할 수 있다.According to various embodiments, in operation 230, the electronic device may extract an illumination component and a reflection component from the image. According to one embodiment, the electronic device may extract the illumination component from an image using a low-pass filter. Also, the electronic device may extract the reflection component by removing the illumination component from the image.

다양한 실시 예에 따르면, 동작 250에서, 전자 장치는 상기 조명 성분에 대한 이득값(예: 조명 성분 이득) 및 상기 반사 성분에 대한 이득값(예: 반사 성분 이득)을 설정할 수 있다. 한 실시 예에 따르면, 전자 장치는 영상의 계조별로 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 다르게 설정할 수 있다. 예를 들어, 전자 장치는 상기 반사 성분 이득을 영상의 고계조 영역보다 저계조 영역에서 더 크게 설정할 수 있다. 다른 예로, 전자 장치는 상기 조명 성분 이득을 영상의 저계조 영역보다 고계조 영역에서 더 크게 설정할 수 있다. 또 다른 예로, 전자 장치는 상기 조명 성분 이득을 영상의 고계조 영역보다 저계조 영역에서 더 크게 설정할 수도 있다. 어떤 실시 예에서, 전자 장치는 영상을 지정된 크기(예: 64x64 픽셀, 128x128 픽셀, 또는 256x256 픽셀)의 복수 개의 블록으로 나누고, 각 블록별로 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 다르게 설정할 수도 있다.According to various embodiments of the present disclosure, in operation 250, the electronic device may set a gain value for the illumination component (eg, an illumination component gain) and a gain value for the reflection component (eg, a reflection component gain). According to an embodiment, the electronic device may differently set at least one of the illumination component gain and the reflection component gain for each gray level of the image. For example, the electronic device may set the reflection component gain to be greater in a low grayscale region of an image than in a high grayscale region of an image. As another example, the electronic device may set the gain of the illumination component to be greater in the high grayscale region of the image than in the low grayscale region of the image. As another example, the electronic device may set the gain of the illumination component to be greater in the low grayscale region of the image than in the high grayscale region of the image. In some embodiments, the electronic device divides an image into a plurality of blocks having a specified size (eg, 64x64 pixels, 128x128 pixels, or 256x256 pixels), and sets at least one of the illumination component gain and the specular component gain to be different for each block. may be

다양한 실시 예에 따르면, 전자 장치는 디스플레이(예: 디스플레이(170))로 비치는 조도가 낮을수록 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 더 작게 설정하고, 상기 디스플레이로 비치는 조도가 높을수록 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 더 크게 설정할 수 있다. 또 다른 예로, 전자 장치는 상기 디스플레이 패널 자체의 휘도를 증가시킬 수도 있다.According to various embodiments, the electronic device sets at least one of the illumination component gain and the reflection component gain to be smaller as the illuminance of the display (eg, the display 170) is lower, and as the illuminance of the display is higher At least one of the illumination component gain and the reflection component gain may be set higher. As another example, the electronic device may increase the luminance of the display panel itself.

다양한 실시 예에 따르면, 전자 장치는 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 설정함으로써 발생할 수 있는 암부 노이즈를 노이즈 저감 필터 등을 사용하여 제거할 수 있다. 또 다른 예로, 전자 장치는 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 설정함으로써 발생할 수 있는 채도 저하 현상을 방지하기 위해 영상의 적어도 일부 영역에 대한 채도를 향상시킬 수 있다.According to various embodiments of the present disclosure, the electronic device may remove dark noise, which may be generated by setting at least one of the illumination component gain and the reflection component gain high, by using a noise reduction filter or the like. As another example, the electronic device may improve the saturation of at least a partial region of the image in order to prevent a desaturation phenomenon that may occur by setting at least one of the illumination component gain and the reflection component gain high.

다양한 실시 예에 따르면, 전자 장치는 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 또는 작게 설정하면서, 색온도를 변경시킬 수도 있다. 어떤 실시 예에서, 전자 장치는 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 크게 또는 작게 설정하면서, 영상 필터 처리를 통해 영상의 화질을 개선시킬 수 있다. 예를 들어, 디테일 필터를 이용하여 영상의 선명도를 증가시키거나 노이즈 저감 필터 등을 통해 이득(예: 조명 성분 이득 또는 반사 성분 이득) 증가로 인한 노이즈 두드러짐 효과를 줄일수 도 있다.According to various embodiments of the present disclosure, the electronic device may change the color temperature while setting at least one of the illumination component gain and the reflection component gain to be large or small. In some embodiments, the electronic device may improve image quality through image filter processing while setting at least one of the illumination component gain and the reflection component gain to be large or small. For example, a sharpness of an image may be increased using a detail filter, or a noise prominence effect due to an increase in gain (eg, illumination component gain or reflection component gain) may be reduced through a noise reduction filter or the like.

다양한 실시 예에 따르면, 동작 270에서, 전자 장치는 영상을 출력할 수 있다. 예컨대, 전자 장치는 영상의 조명 성분에 상기 조명 성분 이득이 적용되고, 영상의 반사 성분에 상기 반사 성분 이득이 적용된 출력 영상을 상기 디스플레이에 출력할 수 있다.According to various embodiments, in operation 270, the electronic device may output an image. For example, the electronic device may output an output image to the display in which the illumination component gain is applied to the illumination component of the image and the reflection component gain is applied to the reflection component of the image.

상술한 바와 같이, 다양한 실시 예에 따르면, 디스플레이를 포함하는 전자 장치의 영상 처리 방법은 영상을 획득하는 동작, 상기 영상에서 조명 성분 및 반사 성분을 추출하는 동작, 및 제1 계조 값 이하를 갖는 상기 영상의 제1 영역에서는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값으로 설정하고, 제2 계조 값 이상을 갖는 상기 영상의 제2 영역에서의 상기 조명 성분 및 상기 반사 성분에 대해 각각 제3 이득 값 및 제4 이득 값으로 설정하는 동작을 포함하고, 상기 제1 이득 값 및 상기 제2 이득 값은 각각 상기 제3 이득 값과 상기 제4 이득 값과 다르게 설정될 수 있다.As described above, according to various embodiments, an image processing method of an electronic device including a display includes an operation of obtaining an image, an operation of extracting an illumination component and a reflection component from the image, and the operation of extracting a first grayscale value or less. In the first region of the image, the illumination component and the reflection component are set to a first gain value and a second gain value, respectively, and the illumination component and the reflection component in the second region of the image having a second grayscale value or more are set. and setting the components to a third gain value and a fourth gain value, respectively, wherein the first gain value and the second gain value may be set to be different from the third gain value and the fourth gain value, respectively. there is.

다양한 실시 예에 따르면, 상기 설정하는 동작은 상기 제1 이득 값을 상기 제3 이득 값보다 크게 설정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the setting operation may include setting the first gain value to be greater than the third gain value.

다양한 실시 예에 따르면, 상기 설정하는 동작은 상기 제1 이득 값을 상기 제3 이득 값보다 작게 설정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the setting operation may include setting the first gain value to be smaller than the third gain value.

다양한 실시 예에 따르면, 상기 설정하는 동작은 상기 제2 이득 값을 상기 제4 이득 값보다 크게 설정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the setting operation may include setting the second gain value to be greater than the fourth gain value.

다양한 실시 예에 따르면, 상기 설정하는 동작은 상기 디스플레이로 비치는 조도가 낮을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 작게 설정하고, 상기 디스플레이로 비치는 조도가 높을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 크게 설정하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the setting operation may include setting at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value to be smaller as the illuminance reflected on the display decreases. , setting at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value to increase as the illuminance reflected on the display increases.

다양한 실시 예에 따르면, 상기 영상 처리 방법은 상기 디스플레이의 패널의 휘도를 증가시키는 동작을 더 포함할 수 있다.According to various embodiments, the image processing method may further include an operation of increasing luminance of a panel of the display.

다양한 실시 예에 따르면, 상기 영상 처리 방법은 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면, 상기 영상에 대해 노이즈 저감 필터를 적용하는 동작을 더 포함할 수 있다.According to various embodiments, the image processing method may be performed on the image when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more. An operation of applying a noise reduction filter may be further included.

다양한 실시 예에 따르면, 상기 영상 처리 방법은 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면, 상기 영상에 대한 채도를 증가시키는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the image processing method may perform processing of the image when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more. An operation of increasing saturation may be further included.

다양한 실시 예에 따르면, 상기 영상 처리 방법은 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상 또는 이하로 설정되면, 상기 영상에 대한 색온도를 변경하는 동작을 더 포함할 수 있다.According to various embodiments, the image processing method may perform the image processing method when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be equal to or greater than or equal to a specified size. An operation of changing a color temperature for may be further included.

다양한 실시 예에 따르면, 상기 영상 처리 방법은 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상 또는 이하로 설정되면, 상기 영상에 대해 선명도 필터를 적용하는 동작을 더 포함할 수 있다.According to various embodiments, the image processing method may perform the image processing method when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be equal to or greater than or equal to a specified size. An operation of applying a sharpness filter to may be further included.

도 3은 일 실시 예에 따른 영상의 조명 성분 및 반사 성분을 설명하기 위한 도면이다.3 is a diagram for explaining an illumination component and a reflection component of an image according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 3을 참조하면, 전자 장치(예: 전자 장치(100))는 영상(310)에서 조명 성분 및 반사 성분을 추출할 수 있다. 한 예로, 전자 장치는 저역 통과 필터를 이용하여 영상에서 상기 조명 성분을 추출하고, 영상에서 상기 조명 성분을 제거하여 상기 반사 성분을 추출할 수 있다. 도시된 도면은, 입력 영상(310)에서 조명 성분을 추출한 영상(330) 및 반사 성분을 추출한 영상(350)을 나타낸다. 도시된 도면은 입력 영상(310)에서 조명 성분 및 반사 성분을 추출한 결과의 일례를 나타낸 것이며, 입력 영상(310)에 따라 결과로 추출되는 조명 성분의 영상(330) 및 반사 성분의 영상(350)이 다를 수 있음을 당업자는 용이하게 이해할 수 있을 것이다.Referring to FIG. 3 according to various embodiments of the present disclosure, an electronic device (eg, the electronic device 100) may extract an illumination component and a reflection component from an image 310. For example, the electronic device may extract the illumination component from an image using a low-pass filter, and extract the reflection component by removing the illumination component from the image. The illustrated figure shows an image 330 from which an illumination component is extracted from an input image 310 and an image 350 from which a reflection component is extracted. The illustrated figure shows an example of the result of extracting the illumination component and the reflection component from the input image 310, and the image 330 of the illumination component and the image 350 of the reflection component extracted as a result according to the input image 310 Those skilled in the art will readily understand that this may vary.

도 4는 일 실시 예에 따른 영상 처리 방법을 설명하기 위한 도면이다.4 is a diagram for explaining an image processing method according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 4를 참조하면, 전자 장치(예: 전자 장치(100))는 입력 영상(410)에서 조명 성분(411) 및 반사 성분(413)을 추출할 수 있다. 한 실시 예에 따르면, 전자 장치는 입력 영상(410)에 포함된 특정 픽셀의 조명 성분(411) 및 반사 성분(413)을 추출함에 있어서, 입력 영상(410)을 복수 개의 영역으로 나누고, 각 영역의 평균 밝기를 산출한 뒤, 상기 픽셀의 밝기, 상기 픽셀이 포함된 영역과 인접한 영역의 평균 밝기, 및 상기 픽셀과 상기 인접한 영역 간의 거리 정보 등을 이용하여 상기 픽셀의 조명 성분(411)을 산출할 수 있다. 전자 장치는 입력 영상(410)의 데이터를 로그 스케일로 변환한 값에서 조명 성분(411)의 데이터를 로그 스케일로 변환한 값을 차감 연산하고, 차감 연산된 결과 값을 다시 지수 형태로 변환함으로써 상기 픽셀의 반사 성분(413)을 획득할 수 있다. 전자 장치는 조명 성분(411)의 데이터를 로그 스케일로 변환한 값을 또 다른 조명 성분으로(411)로 지정하고, 입력 영상(410)의 데이터를 로그 스케일로 변환한 값에서 로그 스케일로 변환된 조명 성분(411)의 값을 차감 연산한 값을 상기 픽셀의 또 다른 반사 성분(413)으로 지정할 수도 있다.Referring to FIG. 4 according to various embodiments of the present disclosure, an electronic device (eg, the electronic device 100 ) may extract an illumination component 411 and a reflection component 413 from an input image 410 . According to an embodiment, in extracting the illumination component 411 and reflection component 413 of a specific pixel included in the input image 410, the electronic device divides the input image 410 into a plurality of regions, and each region After calculating the average brightness of the pixel, the lighting component 411 of the pixel is calculated using the brightness of the pixel, the average brightness of the area including the pixel and the area adjacent to the area, and distance information between the pixel and the area adjacent to the pixel. can do. The electronic device subtracts the value obtained by converting the data of the lighting component 411 into a log scale from the value obtained by converting the data of the input image 410 into a log scale, and converts the result of the subtraction operation back into an exponential form. The reflection component 413 of the pixel can be obtained. The electronic device designates a value obtained by converting the data of the lighting component 411 to a log scale as another lighting component 411, and converts the data of the input image 410 into a log scale to a value converted into a log scale. A value obtained by subtracting the value of the illumination component 411 may be designated as another reflection component 413 of the pixel.

한 실시 예에 따르면, 전자 장치는 추출된 조명 성분(411) 및 반사 성분(413)에 각각 제1 이득값(예: 조명 성분 이득)(431) 및 제2 이득값(예: 반사 성분 이득)(433)을 적용할 수 있다. 예컨대, 전자 장치는 조명 성분(411)에 제1 이득값(431)을 곱하고, 반사 성분(413)에 제2 이득값(433)을 곱할 수 있다. 전자 장치는 조명 성분(411)에 제1 이득값(431)을 곱한 값 및 반사 성분(413)에 제2 이득값(433)을 곱한 값을 합산하고, 합산된 값을 지수 형태로 변환함으로써 출력 영상(450)을 획득할 수 있다.According to an embodiment, the electronic device provides a first gain value (eg, illumination component gain) 431 and a second gain value (eg, reflection component gain) to the extracted illumination component 411 and reflection component 413, respectively. (433) can be applied. For example, the electronic device may multiply the illumination component 411 by the first gain value 431 and the reflection component 413 by the second gain value 433 . The electronic device sums a value obtained by multiplying the illumination component 411 by the first gain value 431 and a value obtained by multiplying the reflection component 413 by the second gain value 433, and converts the summed value into an exponential form, thereby outputting the result. An image 450 may be acquired.

도 5는 일 실시 예에 따른 계조별 반사 성분 이득의 적용 방법을 설명하기 위한 도면이다.5 is a diagram for explaining a method of applying a reflection component gain for each gray level according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 5를 참조하면, 전자 장치(예: 전자 장치(100))는 영상의 계조별로 반사 성분 이득을 다르게 적용할 수 있다. 도시된 그래프(500)에서와 같이, 전자 장치는 영상의 고계조 영역보다 저계조 영역에서 반사 성분 이득을 더 크게 설정할 수 있다. 그래프(500)에서 제1 반사 성분 이득(510)은 종래 기술에 의한 전자 장치에서 적용한 값이고, 제2 반사 성분 이득(530)은 본 발명에 의한 전자 장치에서 적용한 값이다. 그러나, 그래프(500)에 포함된 제1 반사 성분 이득(510) 및 제2 반사 성분 이득(530)은 계조별로 반사 성분 이득을 다르게 설정할 수 있음을 보여주는 하나의 예시로서 이해되어야 할 것이다. 그래프(500)에 포함된 제1 반사 성분 이득(510)이 계조에 상관없이 일정한 값을 가지는 것은 예시에 불과한 것임은 당업자는 용이하게 이해할 수 있을 것이다.Referring to FIG. 5 according to various embodiments of the present disclosure, an electronic device (eg, the electronic device 100) may apply a reflection component gain differently for each gray level of an image. As shown in the illustrated graph 500, the electronic device may set a reflection component gain greater in the low grayscale region of the image than in the high grayscale region of the image. In the graph 500, the first reflection component gain 510 is a value applied in the electronic device according to the prior art, and the second reflection component gain 530 is a value applied in the electronic device according to the present invention. However, the first reflection component gain 510 and the second reflection component gain 530 included in the graph 500 should be understood as an example showing that the reflection component gain can be set differently for each gray level. Those skilled in the art will easily understand that the fact that the first reflection component gain 510 included in the graph 500 has a constant value regardless of the gray level is only an example.

도시된 그래프(500)에서와 같이, 전자 장치는 영상의 저계조 영역에서는 시인성이 낮은 미세한 밝기 정보의 명암비를 고계조 영역과 대비해 더 크게 증폭함으로써, 저계조 영역에서의 밝기 및 계조 표현력이 고계조 영역에서보다 더 향상시킬 수 있다.As shown in the graph 500, the electronic device amplifies the contrast ratio of fine brightness information with low visibility in the low gradation area of the image compared to the high gradation area, so that the brightness and gradation expression in the low gradation area is high. You can improve more than in the area.

도 6a는 일 실시 예에 따른 계조별 조명 성분 이득의 적용 방법을 설명하기 위한 도면이고, 도 6b는 일 실시 예에 따른 계조별 조명 성분 이득의 다른 적용 방법을 설명하기 위한 도면이다.6A is a diagram for explaining a method of applying a lighting component gain for each gradation according to an exemplary embodiment, and FIG. 6B is a diagram for explaining another method of applying a lighting component gain for each gradation according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 6a 및 도 6b를 참조하면, 전자 장치(예: 전자 장치(100))는 영상의 계조별로 조명 성분 이득을 다르게 적용할 수 있다. 전자 장치는 1 그래프(610)에서와 같이, 영상의 고계조 영역보다 저계조 영역에서 조명 성분 이득을 더 크게 설정할 수도 있다. 전자 장치는 제2 그래프(630)에서와 같이, 영상의 저계조 영역보다 고계조 영역에서 조명 성분 이득을 더 크게 설정할 수도 있다. 제1 그래프(610)에서 제1 조명 성분 이득(611)은 종래 기술에 의한 전자 장치에서 적용한 값이고, 제2 조명 성분 이득(613)은 본 발명에 의한 전자 장치에서 적용한 값이다. 제2 그래프(630)에서 제3 조명 성분 이득(631)은 종래 기술에 의한 전자 장치에서 적용한 값이고, 제4 조명 성분 이득(633)은 본 발명에 의한 전자 장치에서 적용한 값이다. 그러나, 제1 그래프(610)에 포함된 제1 조명 성분 이득(611) 및 제2 조명 성분 이득(613), 및 제2 그래프(630)에 포함된 제3 조명 성분 이득(631) 및 제4 조명 성분 이득(633)은 계조별로 조명 성분 이득을 다르게 설정할 수 있음을 보여주는 하나의 예시로서 이해되어야 할 것이다. 제1 그래프(610)에 포함된 제1 조명 성분 이득(611) 및 제2 그래프(630)에 포함된 제2 조명 성분 이득(631)이 계조에 상관없이 일정한 값을 가지는 것은 예시에 불과한 것임은 당업자는 용이하게 이해할 수 있을 것이다.Referring to FIGS. 6A and 6B according to various embodiments of the present disclosure, an electronic device (eg, the electronic device 100) may apply different lighting component gains for each gray level of an image. As in graph 1 610, the electronic device may set the gain of the lighting component to be greater in the low grayscale region of the image than in the high grayscale region of the image. As in the second graph 630, the electronic device may set the gain of the lighting component to be greater in the high grayscale region of the image than in the low grayscale region of the image. In the first graph 610, the first illumination component gain 611 is a value applied in the electronic device according to the prior art, and the second illumination component gain 613 is a value applied in the electronic device according to the present invention. In the second graph 630, the third illumination component gain 631 is a value applied in the electronic device according to the prior art, and the fourth illumination component gain 633 is a value applied in the electronic device according to the present invention. However, the first illumination component gain 611 and the second illumination component gain 613 included in the first graph 610, and the third illumination component gain 631 and the fourth illumination component gain 631 included in the second graph 630. The lighting component gain 633 should be understood as an example showing that the lighting component gain can be set differently for each gray level. It is only an example that the first illumination component gain 611 included in the first graph 610 and the second illumination component gain 631 included in the second graph 630 have a constant value regardless of the gray level. A person skilled in the art will readily understand.

다양한 실시 예에 따르면, 전자 장치는 제1 그래프(610)에서와 같이, 영상의 저계조 영역에서의 계조 표현력을 향상시키기 위해 저계조 영역에서의 조명 성분 이득(예: 제2 조명 성분 이득(613))을 고계조 영역과 대비해 더 크게 설정할 수 있다. 또는, 전자 장치는 도 5의 그래프(500)에서와 같이 반사 성분 이득(예: 제2 반사 성분 이득(530))이 적용되어 영상의 저계조 영역에서의 밝기 및 계조 표현력이 고계조 영역에서보다 더 향상된 경우에는, 제2 그래프(630)에서와 같이, 영상 전체의 전반적인 명암비를 높이기 위해 저계조 영역에서의 조명 성분 이득(예: 제4 조명 성분 이득(633))을 고계조 영역과 대비해 더 작게 설정할 수도 있다.According to various embodiments, as shown in the first graph 610, the electronic device provides an illumination component gain (eg, a second illumination component gain 613 in the low grayscale region) to improve grayscale expression in the low grayscale region of the image. )) can be set larger than the high gradation area. Alternatively, as shown in the graph 500 of FIG. 5, the electronic device applies a reflection component gain (eg, the second reflection component gain 530) so that the brightness and grayscale expressive power in the low grayscale region of the image are higher than those in the high grayscale region. In the case of further improvement, as in the second graph 630, the light component gain (eg, the fourth light component gain 633) in the low grayscale area is compared with the high grayscale area to increase the overall contrast ratio of the entire image. You can also set it small.

도 7은 일 실시 예에 따른 영상의 계조를 설명하기 위한 도면이다.7 is a diagram for explaining a gray level of an image according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 7을 참조하면, 전자 장치(예: 전자 장치(100))는 영상(700)의 고계조 영역에서는 계조의 클리핑 현상으로 인해 영상이 뭉개지는 것을 방지하기 위해 조명 성분 이득 및 반사 성분 이득 중 적어도 하나를 조정할 수 있다. 예를 들어, 전자 장치는 태양(sun)(710), 구름(cloud)(730) 등과 같이 계조가 높은 영역에서는 계조가 클리핑되지 않도록 조명 성분 및 반사 성분의 변경율을 작게 설정(예: 이득값을 1에 가깝게 설정)할 수 있다. 전자 장치는 산(mountain)(750) 등과 같이 중간 계조 영역에서는 중간 계조 사이에서 국부적인 계조 표현력을 살리기 위해, 지정된 계조 값(예: 96 계조) 미만에서는 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 조정(예: 이득값을 1보다 크게 또는 1보다 작게 설정)하고, 상기 지정된 계조 값 이상에서는 이득값을 1에 가깝게 설정할 수 있다. 전자 장치는 그늘(shadow)(770) 등과 같이 저계조 영역에서는 미세한 밝기 정보를 갖고 있는 계조의 표현력을 향상시키기 위해 상기 조명 성분 이득 및 상기 반사 성분 이득 중 적어도 하나를 고계조 영역과 대비하여 크게 설정할 수 있다.Referring to FIG. 7 according to various embodiments of the present disclosure, an electronic device (eg, the electronic device 100) may prevent an image from being crushed due to clipping of a grayscale in a high grayscale region of an image 700. At least one of the illumination component gain and the specular component gain may be adjusted. For example, the electronic device sets the change rate of the illumination component and the reflection component to be small (e.g., a gain value) so that the gray level is not clipped in an area with a high gray level, such as the sun 710 or the cloud 730. can be set close to 1). In an intermediate grayscale region, such as a mountain 750, the electronic device may use at least one of the illumination component gain and the reflection component gain below a designated grayscale value (eg, 96 grayscale) to preserve local grayscale expressiveness between intermediate grayscales. One is adjusted (eg, the gain value is set greater than or less than 1), and the gain value may be set close to 1 above the designated grayscale value. The electronic device sets at least one of the illumination component gain and the reflection component gain larger than that of the high grayscale region in order to improve the expressiveness of the grayscale having minute brightness information in the low grayscale region, such as the shadow 770. can

도 8은 일 실시 예에 따른 영상 처리에 따른 효과를 설명하기 위한 도면이다.8 is a diagram for explaining an effect according to image processing according to an exemplary embodiment.

본 발명의 다양한 실시 예에 따른, 도 8을 참조하면, 영상 처리 전 제1 영상(810)에 비해 영상 처리 후 제2 영상(830)은 암부(예: 저계조 영역)에서 계조 표현력이 향상됨으로써 시인성이 증가하는 것을 확인할 수 있다. 예컨대, 제1 영상(810)의 왼쪽 영역 및 오른쪽 영역에 존재하는 어두운 영역에서는 잘 보이지 않던 나무 및 꽃 등이 제2 영상(830)에서는 잘 보이는 것을 확인할 수 있다.According to various embodiments of the present disclosure, referring to FIG. 8 , compared to the first image 810 before image processing, the second image 830 after image processing has improved gradation expression in dark areas (eg, low gradation areas). It can be seen that the visibility increases. For example, it can be confirmed that trees and flowers, which are difficult to see in dark areas in the left and right areas of the first image 810, are clearly visible in the second image 830.

도 9는 일 실시 예에 따른 네트워크 환경 내의 전자 장치를 나타낸 도면이다.9 is a diagram illustrating an electronic device in a network environment according to an embodiment.

도 9를 참조하면, 다양한 실시 예에서의 전자 장치(901)는 외부 장치(예: 제1 외부 전자 장치(902), 제2 외부 전자 장치(904), 또는 서버(906))와 네트워크(962) 또는 근거리 통신(964)을 통하여 서로 연결될 수 있다. 전자 장치(901)는 버스(910), 프로세서(920), 메모리(930), 입출력 인터페이스(950), 디스플레이(960), 및 통신 인터페이스(970)를 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(901)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성 요소를 추가적으로 구비할 수 있다.Referring to FIG. 9 , an electronic device 901 according to various embodiments is an external device (eg, a first external electronic device 902 , a second external electronic device 904 , or a server 906 ) and a network 962 ) or may be connected to each other through short-range communication 964. The electronic device 901 may include a bus 910, a processor 920, a memory 930, an input/output interface 950, a display 960, and a communication interface 970. In some embodiments, the electronic device 901 may omit at least one of the components or may additionally include other components.

버스(910)는, 예를 들면, 구성요소들(910-970)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.Bus 910 may include, for example, circuitry that connects components 910 - 970 to each other and carries communications (eg, control messages and/or data) between components.

프로세서(920)는, 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(920)는, 예를 들면, 전자 장치(901)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.The processor 920 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 920 may, for example, execute calculations or data processing related to control and/or communication of at least one other component of the electronic device 901 .

메모리(930)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(930)는, 예를 들면, 전자 장치(901)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시 예에 따르면, 메모리(930)는 소프트웨어 및/또는 프로그램(940)을 저장할 수 있다. 프로그램(940)은, 예를 들면, 커널(941), 미들웨어(943), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(945), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(947) 등을 포함할 수 있다. 커널(941), 미들웨어(943), 또는 API(945)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.Memory 930 may include volatile and/or non-volatile memory. The memory 930 may store, for example, commands or data related to at least one other component of the electronic device 901 . According to one embodiment, the memory 930 may store software and/or programs 940 . The program 940 includes, for example, a kernel 941, middleware 943, an application programming interface (API) 945, and/or an application program (or "application") 947, etc. can include At least a part of the kernel 941, middleware 943, or API 945 may be referred to as an operating system (OS).

커널(941)은, 예를 들면, 다른 프로그램들(예: 미들웨어(943), API(945), 또는 어플리케이션 프로그램(947))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(910), 프로세서(920), 또는 메모리(930) 등)을 제어 또는 관리할 수 있다. 또한, 커널(941)은 미들웨어(943), API(945), 또는 어플리케이션 프로그램(947)에서 전자 장치(901)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.Kernel 941, for example, provides system resources (eg, middleware 943, API 945, or application program 947) used to execute operations or functions implemented in other programs (eg, middleware 943). : The bus 910, the processor 920, or the memory 930, etc.) may be controlled or managed. In addition, the kernel 941 may provide an interface capable of controlling or managing system resources by accessing individual components of the electronic device 901 from the middleware 943, API 945, or application program 947. can

미들웨어(943)는, 예를 들면, API(945) 또는 어플리케이션 프로그램(947)이 커널(941)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(943)는 어플리케이션 프로그램(947)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(943)는 어플리케이션 프로그램(947) 중 적어도 하나에 전자 장치(901)의 시스템 리소스(예: 버스(910), 프로세서(920), 또는 메모리(930) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다.The middleware 943 may perform an intermediary role so that, for example, the API 945 or the application program 947 communicates with the kernel 941 to exchange data. Also, the middleware 943 may process one or more task requests received from the application program 947 according to priority. For example, the middleware 943 may use system resources (eg, the bus 910, the processor 920, or the memory 930, etc.) of the electronic device 901 for at least one of the application programs 947. Prioritize and process the one or more work requests.

API(945)는, 예를 들면, 어플리케이션(947)이 커널(941) 또는 미들웨어(943)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다.The API 945 is an interface for the application 947 to control functions provided by the kernel 941 or the middleware 943, for example, file control, window control, image processing, or text. It may include at least one interface or function (eg, command) for control.

입출력 인터페이스(950)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(901)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(950)는 전자 장치(901)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.The input/output interface 950 may serve as an interface capable of transferring commands or data input from a user or other external device to other component(s) of the electronic device 901 . Also, the input/output interface 950 may output commands or data received from other component(s) of the electronic device 901 to a user or other external device.

디스플레이(960)는, 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic LED(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(960)는, 예를 들면, 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 디스플레이(960)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스처, 근접, 또는 호버링(hovering) 입력을 수신할 수 있다.The display 960 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, or a microelectromechanical device. systems (microelectromechanical systems (MEMS)) displays, or electronic paper (electronic paper) displays. The display 960 may display, for example, various contents (eg, text, image, video, icon, symbol, etc.) to the user. The display 960 may include a touch screen, and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body.

통신 인터페이스(970)는, 예를 들면, 전자 장치(901)와 외부 장치(예: 제1 외부 전자 장치(902), 제2 외부 전자 장치(904), 또는 서버(906)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(970)는 무선 통신 또는 유선 통신을 통해서 네트워크(962)에 연결되어 상기 외부 장치(예: 제2 외부 전자 장치(904) 또는 서버(906))와 통신할 수 있다.The communication interface 970 establishes communication between the electronic device 901 and an external device (eg, the first external electronic device 902 , the second external electronic device 904 , or the server 906 ). can For example, the communication interface 970 may be connected to the network 962 through wireless or wired communication to communicate with the external device (eg, the second external electronic device 904 or the server 906).

무선 통신은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시 예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), 블루투스, 블루투스 저전력(BLE), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한 실시 예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.Wireless communication is, for example, LTE, LTE-A (LTE Advance), CDMA (code division multiple access), WCDMA (wideband CDMA), UMTS (universal mobile telecommunications system), WiBro (Wireless Broadband), or GSM (Global System for Mobile Communications) may include cellular communication using at least one of the like. According to one embodiment, wireless communication, for example, WiFi (wireless fidelity), Bluetooth, Bluetooth Low Energy (BLE), Zigbee (Zigbee), NFC (near field communication), magnetic secure transmission (Magnetic Secure Transmission), radio It may include at least one of a frequency (RF) and a body area network (BAN). According to one embodiment, wireless communication may include GNSS. The GNSS may be, for example, a Global Positioning System (GPS), a Global Navigation Satellite System (Glonass), a Beidou Navigation Satellite System (hereinafter “Beidou”) or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, "GPS" may be used interchangeably with "GNSS". Wired communication may include, for example, at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), power line communication, or plain old telephone service (POTS). there is. Network 162 may include at least one of a telecommunication network, for example, a computer network (eg, LAN or WAN), the Internet, or a telephone network.

제1 및 제2 외부 전자 장치(902, 904) 각각은 전자 장치(901)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시 예에 따르면, 서버(906)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시 예에 따르면, 전자 장치(901)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(902, 904), 또는 서버(906))에서 실행될 수 있다. 한 실시 예에 따르면, 전자 장치(901)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(901)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(902, 904), 또는 서버(906))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(902, 904), 또는 서버(906))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(901)로 전달할 수 있다. 전자 장치(901)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first and second external electronic devices 902 and 904 may be the same as or different from the electronic device 901 . According to one embodiment, server 906 may include a group of one or more servers. According to various embodiments, all or some of the operations executed in the electronic device 901 may be executed in one or more electronic devices (eg, the electronic devices 902 and 904 or the server 906). According to one embodiment, when the electronic device 901 needs to perform a certain function or service automatically or upon request, the electronic device 901 instead of or in addition to executing the function or service by itself, At least some related functions may be requested from another device (eg, the electronic device 902 or 904 or the server 906). Another electronic device (eg, the electronic device 902 or 904 or the server 906 ) may execute the requested function or additional function and deliver the result to the electronic device 901 . The electronic device 901 may provide the requested function or service by directly or additionally processing the received result. To this end, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 10은 일 실시 예에 따른 전자 장치의 블록도이다.10 is a block diagram of an electronic device according to an exemplary embodiment.

도 10을 참조하면, 전자 장치(1001)는, 예를 들면, 도 9에 도시된 전자 장치(901)의 전체 또는 일부를 포함할 수 있다. 전자 장치(1001)는 하나 이상의 프로세서(예: AP)(1010), 통신 모듈(1020), 가입자 식별 모듈(1024), 메모리(1030), 센서 모듈(1040), 입력 장치(1050), 디스플레이(1060), 인터페이스(1070), 오디오 모듈(1080), 카메라 모듈(1091), 전력 관리 모듈(1095), 배터리(1096), 인디케이터(1097), 및 모터(1098)를 포함할 수 있다.Referring to FIG. 10 , the electronic device 1001 may include, for example, all or part of the electronic device 901 shown in FIG. 9 . The electronic device 1001 includes one or more processors (eg, AP) 1010, a communication module 1020, a subscriber identification module 1024, a memory 1030, a sensor module 1040, an input device 1050, a display ( 1060), an interface 1070, an audio module 1080, a camera module 1091, a power management module 1095, a battery 1096, an indicator 1097, and a motor 1098.

프로세서(1010)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(1010)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(1010)는, 예를 들면, SoC(system on chip)로 구현될 수 있다. 한 실시 예에 따르면, 프로세서(1010)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(1010)는 도 10에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(1021))를 포함할 수도 있다. 프로세서(1010)는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor 1010 may control a plurality of hardware or software components connected to the processor 1010 by driving, for example, an operating system or an application program, and may perform various data processing and operations. The processor 1010 may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor 1010 may further include a graphic processing unit (GPU) and/or an image signal processor. The processor 1010 may include at least some of the components shown in FIG. 10 (eg, the cellular module 1021). The processor 1010 loads and processes commands or data received from at least one of the other components (eg, non-volatile memory) into the volatile memory, and stores various data in the non-volatile memory. there is.

통신 모듈(1020)은, 도 9의 통신 인터페이스(970)와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(1020)은, 예를 들면, 셀룰러 모듈(1021), Wi-Fi 모듈(1023), 블루투스(BT) 모듈(1025), GNSS 모듈(1027)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(1028), 및 RF(radio frequency) 모듈(1029)을 포함할 수 있다.The communication module 1020 may have the same or similar configuration as the communication interface 970 of FIG. 9 . The communication module 1020 includes, for example, a cellular module 1021, a Wi-Fi module 1023, a Bluetooth (BT) module 1025, a GNSS module 1027 (eg, a GPS module, a Glonass module, a Beidou module) , or Galileo module), an NFC module 1028, and a radio frequency (RF) module 1029.

셀룰러 모듈(1021)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1021)은 가입자 식별 모듈(예: SIM 카드)(1024)을 이용하여 통신 네트워크 내에서 전자 장치(1001)의 구별 및 인증을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1021)은 프로세서(1010)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(1021)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시 예에 따르면, 셀룰러 모듈(1021), Wi-Fi 모듈(1023), 블루투스 모듈(1025), GNSS 모듈(1027), 또는 NFC 모듈(1028) 중 적어도 일부(예: 두 개 이상)는 하나의 IC(integrated chip) 또는 IC 패키지 내에 포함될 수 있다.The cellular module 1021 may provide, for example, a voice call, a video call, a text service, or an Internet service through a communication network. According to one embodiment, the cellular module 1021 may identify and authenticate the electronic device 1001 within a communication network using the subscriber identification module (eg, SIM card) 1024 . According to one embodiment, the cellular module 1021 may perform at least some of the functions that the processor 1010 may provide. According to one embodiment, the cellular module 1021 may include a communication processor (CP). According to some embodiments, at least some (eg, two or more) of the cellular module 1021, the Wi-Fi module 1023, the Bluetooth module 1025, the GNSS module 1027, or the NFC module 1028 are one may be included in an IC (integrated chip) or an IC package.

RF 모듈(1029)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(1029)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시 예에 따르면, 셀룰러 모듈(1021), Wi-Fi 모듈(1023), 블루투스 모듈(1025), GNSS 모듈(1027), 또는 NFC 모듈(1028) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다.The RF module 1029 may transmit and receive communication signals (eg, RF signals), for example. The RF module 1029 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module 1021, the Wi-Fi module 1023, the Bluetooth module 1025, the GNSS module 1027, or the NFC module 1028 transmits an RF signal through a separate RF module. can send and receive.

가입자 식별 모듈(1024)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다.The subscriber identification module 1024 may include, for example, a card including the subscriber identification module and/or an embedded SIM, and unique identification information (eg, integrated circuit card identifier (ICCID)) or Subscriber information (eg, international mobile subscriber identity (IMSI)) may be included.

메모리(1030)(예: 메모리(930))는, 예를 들면, 내장 메모리(1032) 또는 외장 메모리(1034)를 포함할 수 있다. 내장 메모리(1032)는, 예를 들면, 휘발성 메모리(예: DRAM, SRAM, 또는 SDRAM 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브(SSD) 중 적어도 하나를 포함할 수 있다.The memory 1030 (eg, the memory 930) may include, for example, an internal memory 1032 or an external memory 1034. The built-in memory 1032 includes, for example, volatile memory (eg, DRAM, SRAM, or SDRAM, etc.), non-volatile memory (eg, OTPROM (one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM). , a flash memory, a hard drive, or a solid state drive (SSD).

외장 메모리(1034)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card), 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(1034)는 다양한 인터페이스를 통하여 전자 장치(1001)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory 1034 is a flash drive, for example, compact flash (CF), secure digital (SD), Micro-SD, Mini-SD, extreme digital (xD), multi-media card (MMC) , or a memory stick. The external memory 1034 may be functionally and/or physically connected to the electronic device 1001 through various interfaces.

센서 모듈(1040)은, 예를 들면, 물리량을 계측하거나 전자 장치(1001)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(1040)은, 예를 들면, 제스처 센서(1040A), 자이로 센서(1040B), 기압 센서(1040C), 마그네틱 센서(1040D), 가속도 센서(1040E), 그립 센서(1040F), 근접 센서(1040G), 컬러(color) 센서(1040H)(예: RGB(red, green, blue) 센서), 생체 센서(1040I), 온/습도 센서(1040J), 조도 센서(1040K), 또는 UV(ultra violet) 센서(1040M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(1040)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG) 센서, 일렉트로엔씨팔로그램(EEG) 센서, 일렉트로카디오그램(ECG) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(1040)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(1001)는 프로세서(1010)의 일부로서 또는 별도로, 센서 모듈(1040)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(1010)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(1040)을 제어할 수 있다.The sensor module 1040 may, for example, measure a physical quantity or detect an operating state of the electronic device 1001 and convert the measured or sensed information into an electrical signal. The sensor module 1040 includes, for example, a gesture sensor 1040A, a gyro sensor 1040B, an air pressure sensor 1040C, a magnetic sensor 1040D, an acceleration sensor 1040E, a grip sensor 1040F, and a proximity sensor ( 1040G), color sensor (1040H) (e.g. RGB (red, green, blue) sensor), bio sensor (1040I), temperature/humidity sensor (1040J), light sensor (1040K), or UV (ultra violet) ) may include at least one of the sensors 1040M. Additionally or alternatively, the sensor module 1040 may include, for example, an e-nose sensor, an electromyography (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, It may include an IR (infrared) sensor, an iris sensor, and/or a fingerprint sensor. The sensor module 1040 may further include a control circuit for controlling one or more sensors included therein. In some embodiments, the electronic device 1001 further includes a processor configured to control the sensor module 1040 as part of the processor 1010 or separately, while the processor 1010 is in a sleep state, The sensor module 1040 may be controlled.

입력 장치(1050)는, 예를 들면, 터치 패널(1052), (디지털) 펜 센서(1054), 키(1056), 또는 초음파 입력 장치(1058)를 포함할 수 있다. 터치 패널(1052)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(1052)은 제어 회로를 더 포함할 수도 있다. 터치 패널(1052)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다.The input device 1050 may include, for example, a touch panel 1052, a (digital) pen sensor 1054, a key 1056, or an ultrasonic input device 1058. The touch panel 1052 may use, for example, at least one of a capacitive type, a pressure-sensitive type, an infrared type, or an ultrasonic type. Also, the touch panel 1052 may further include a control circuit. The touch panel 1052 may further include a tactile layer to provide a tactile response to the user.

(디지털) 펜 센서(1054)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 시트(sheet)를 포함할 수 있다. 키(1056)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(1058)는 마이크(예: 마이크(1088))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다. The (digital) pen sensor 1054 may be, for example, part of a touch panel or may include a separate sheet for recognition. Keys 1056 may include, for example, physical buttons, optical keys, or keypads. The ultrasonic input device 1058 may detect ultrasonic waves generated from an input tool through a microphone (eg, the microphone 1088) and check data corresponding to the detected ultrasonic waves.

디스플레이(1060)(예: 디스플레이(960))는 패널(1062), 홀로그램 장치(1064), 프로젝터(1066), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. 패널(1062)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(1062)은 터치 패널(1052)과 하나 이상의 모듈로 구성될 수도 있다. 한 실시 예에 따르면, 패널(1062)은 사용자의 터치에 대한 압력의 세기를 측정할 수 있는 압력 센서(또는 포스 센서)를 포함할 수 있다. 상기 압력 센서는 터치 패널(1052)과 일체형으로 구현되거나, 또는 터치 패널(1052)과는 별도의 하나 이상의 센서로 구현될 수 있다. 홀로그램 장치(1064)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(1066)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(1001)의 내부 또는 외부에 위치할 수 있다.The display 1060 (eg, the display 960) may include a panel 1062, a hologram device 1064, a projector 1066, and/or a control circuit for controlling them. Panel 1062 may be implemented to be flexible, transparent, or wearable, for example. The panel 1062 may include the touch panel 1052 and one or more modules. According to one embodiment, the panel 1062 may include a pressure sensor (or force sensor) capable of measuring the strength of a user's touch pressure. The pressure sensor may be implemented integrally with the touch panel 1052 or may be implemented as one or more sensors separate from the touch panel 1052 . The hologram device 1064 may display a 3D image in the air using interference of light. The projector 1066 may display an image by projecting light onto a screen. The screen may be located inside or outside the electronic device 1001, for example.

인터페이스(1070)는, 예를 들면, HDMI(1072), USB(1074), 광 인터페이스(optical interface)(1076), 또는 D-sub(D-subminiature)(1078)를 포함할 수 있다. 인터페이스(1070)는, 예를 들면, 도 9에 도시된 통신 인터페이스(970)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(1070)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.Interface 1070 may include, for example, HDMI 1072, USB 1074, optical interface 1076, or D-sub (D-subminiature) 1078. Interface 1070 may be included in, for example, communication interface 970 shown in FIG. 9 . Additionally or alternatively, the interface 1070 may include, for example, a mobile high-definition link (MHL) interface, an SD card/multi-media card (MMC) interface, or an infrared data association (IrDA) compliant interface. there is.

오디오 모듈(1080)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(1080)의 적어도 일부 구성요소는, 예를 들면, 도 9에 도시된 입출력 인터페이스(950)에 포함될 수 있다. 오디오 모듈(1080)은, 예를 들면, 스피커(1082), 리시버(1084), 이어폰(1086), 또는 마이크(1088) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.The audio module 1080 may, for example, convert a sound and an electrical signal in both directions. At least some components of the audio module 1080 may be included in the input/output interface 950 shown in FIG. 9 , for example. The audio module 1080 may process sound information input or output through, for example, the speaker 1082, the receiver 1084, the earphone 1086, or the microphone 1088.

카메라 모듈(1091)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다.The camera module 1091 is, for example, a device capable of capturing still images and moving images. According to one embodiment, the camera module 1091 includes one or more image sensors (eg, a front sensor or a rear sensor), a lens, and an image signal processor (ISP). , or a flash (eg, LED or xenon lamp, etc.).

전력 관리 모듈(1095)은, 예를 들면, 전자 장치(1001)의 전력을 관리할 수 있다. 한 실시 예에 따르면, 전력 관리 모듈(1095)은 PMIC(power management integrated circuit), 충전 IC, 또는 배터리 또는 연료 게이지를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(1096)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(1096)는, 예를 들면, 충전식 전지 및/또는 태양 전지를 포함할 수 있다.The power management module 1095 may manage power of the electronic device 1001 , for example. According to one embodiment, the power management module 1095 may include a power management integrated circuit (PMIC), a charger IC, or a battery or fuel gauge. A PMIC may have a wired and/or wireless charging method. The wireless charging method includes, for example, a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonance circuit, or a rectifier. there is. The battery gauge may measure, for example, remaining capacity of the battery 1096, voltage, current, or temperature during charging. Battery 1096 may include, for example, a rechargeable battery and/or a solar cell.

인디케이터(1097)는 전자 장치(1001) 또는 그 일부(예: 프로세서(1010))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(1098)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(1001)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다.The indicator 1097 may indicate a specific state of the electronic device 1001 or a part thereof (eg, the processor 1010), for example, a booting state, a message state, or a charging state. The motor 1098 may convert electrical signals into mechanical vibrations and generate vibrations or haptic effects. The electronic device 1001 is, for example, a mobile TV supporting device capable of processing media data according to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo TM (e.g., : GPU) may be included.

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시 예에서, 전자 장치(예: 전자 장치(1001))는 일부 구성요소가 생략되거나 또는 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.Each of the components described in this document may be composed of one or more components, and the name of the corresponding component may vary depending on the type of electronic device. In various embodiments, an electronic device (eg, the electronic device 1001) is configured as a single entity by omitting some components, further including additional components, or combining some of the components. The functions of the previous corresponding components may be performed identically.

도 11은 일 실시 예에 따른 프로그램 모듈의 블록도이다.11 is a block diagram of a program module according to an embodiment.

한 실시 예에 따르면, 프로그램 모듈(1110)(예: 프로그램(940))은 전자 장치(예: 전자 장치(901))에 관련된 자원을 제어하는 운영 체제(OS) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(947))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다.According to one embodiment, the program module 1110 (eg, the program 940) is an operating system (OS) that controls resources related to an electronic device (eg, the electronic device 901) and/or is driven on the operating system. It may include various applications (eg, the application program 947). The operating system may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .

도 11을 참조하면, 프로그램 모듈(1110)은 커널(1120)(예: 커널(941)), 미들웨어(1130)(예: 미들웨어(943)), API(1160)(예: API(945)), 및/또는 어플리케이션(1170)(예: 어플리케이션 프로그램(947))을 포함할 수 있다. 프로그램 모듈(1110)의 적어도 일부는 전자 장치 상에 프리로드 되거나, 외부 전자 장치(예: 전자 장치(902, 904), 서버(906) 등)로부터 다운로드 가능하다.Referring to FIG. 11 , the program module 1110 includes a kernel 1120 (eg kernel 941), middleware 1130 (eg middleware 943), API 1160 (eg API 945) , and/or the application 1170 (eg, the application program 947). At least a part of the program module 1110 may be preloaded on the electronic device or may be downloaded from an external electronic device (eg, the electronic device 902 or 904, the server 906, etc.).

커널(1120)은, 예를 들면, 시스템 리소스 매니저(1121) 및/또는 디바이스 드라이버(1123)를 포함할 수 있다. 시스템 리소스 매니저(1121)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시 예에 따르면, 시스템 리소스 매니저(1121)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 디바이스 드라이버(1123)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, Wi-Fi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다.Kernel 1120 may include, for example, system resource manager 1121 and/or device driver 1123 . The system resource manager 1121 may control, allocate, or recover system resources. According to one embodiment, the system resource manager 1121 may include a process management unit, a memory management unit, or a file system management unit. The device driver 1123 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a Wi-Fi driver, an audio driver, or an inter-process communication (IPC) driver. can

미들웨어(1130)는, 예를 들면, 어플리케이션(1170)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(1170)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(1160)를 통해 다양한 기능들을 어플리케이션(1170)으로 제공할 수 있다. 한 실시 예에 따르면, 미들웨어(1130)는 런타임 라이브러리(1135), 어플리케이션 매니저(1141), 윈도우 매니저(1142), 멀티미디어 매니저(1143), 리소스 매니저(1144), 파워 매니저(1145), 데이터베이스 매니저(1146), 패키지 매니저(1147), 커넥티비티 매니저(1148), 노티피케이션 매니저(1149), 로케이션 매니저(1150), 그래픽 매니저(graphic manager)(1151), 시큐리티 매니저(1152), 또는 확장 스크린 매니저(1153) 중 적어도 하나를 포함할 수 있다.The middleware 1130, for example, provides functions commonly required by the application 1170 or provides various functions through the API 1160 so that the application 1170 can efficiently use limited system resources inside the electronic device. Functions may be provided to the application 1170 . According to one embodiment, the middleware 1130 includes a runtime library 1135, an application manager 1141, a window manager 1142, a multimedia manager 1143, a resource manager 1144, a power manager 1145, a database manager ( 1146), package manager 1147, connectivity manager 1148, notification manager 1149, location manager 1150, graphic manager 1151, security manager 1152, or extended screen manager ( 1153) may include at least one.

런타임 라이브러리(1135)는, 예를 들면, 어플리케이션(1170)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(1135)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다.The runtime library 1135 may include, for example, a library module used by a compiler to add new functions through a programming language while the application 1170 is being executed. The runtime library 1135 may perform input/output management, memory management, or arithmetic function processing.

어플리케이션 매니저(1141)는, 예를 들면, 어플리케이션(1170)의 생명 주기를 관리할 수 있다. 윈도우 매니저(1142)는 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(1143)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(1144)는 어플리케이션(1170)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(1145)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시 예에 따르면, 파워 매니저(1145)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다. 데이터베이스 매니저(1146)는, 예를 들면, 어플리케이션(1170)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(1147)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다.The application manager 1141 may manage the life cycle of the application 1170 , for example. The window manager 1142 may manage GUI resources used in the screen. The multimedia manager 1143 may determine a format necessary for reproducing media files, and encode or decode the media files using a codec suitable for the format. The resource manager 1144 may manage a source code of the application 1170 or a memory space. The power manager 1145 may manage, for example, battery capacity or power, and provide power information necessary for the operation of the electronic device. According to one embodiment, the power manager 1145 may interoperate with a basic input/output system (BIOS). The database manager 1146 may create, search, or change a database to be used in the application 1170 , for example. The package manager 1147 may manage installation or update of applications distributed in the form of package files.

커넥티비티 매니저(1148)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(1149)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(1150)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(1151)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 시큐리티 매니저(1152)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 확장 스크린 매니저(1153)는, 예를 들면, 그래픽이 표시될 디스플레이의 영역을 결정할 수 있다. 한 실시 예에 따르면, 확장 스크린 매니저(1153)는 그래픽이 표시되도록 결정된 디스플레이의 영역을 통하여 제공될 정보, 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.The connectivity manager 1148 may manage wireless connections, for example. The notification manager 1149 may provide a user with an event such as an arrival message, an appointment, or proximity notification. The location manager 1150 may manage location information of an electronic device, for example. The graphic manager 1151 may manage, for example, graphic effects to be provided to users or user interfaces related thereto. Security manager 1152 may provide system security or user authentication, for example. The extended screen manager 1153 may, for example, determine an area of the display in which graphics are to be displayed. According to one embodiment, the extended screen manager 1153 may manage information to be provided through the area of the display in which graphics are determined to be displayed, graphic effects, or user interfaces related thereto.

한 실시 예에 따르면, 미들웨어(1130)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 하는 미들웨어 모듈을 포함할 수 있다. 한 실시 예에 따르면, 미들웨어(1130)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(1130)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.According to one embodiment, the middleware 1130 may include a telephony manager for managing voice or video call functions of an electronic device or a middleware module capable of forming a combination of functions of the aforementioned components. . According to one embodiment, the middleware 1130 may provide modules specialized for each type of operating system. The middleware 1130 may dynamically delete some existing components or add new components.

API(1160)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 1160 is, for example, a set of API programming functions, and may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set can be provided for each platform, and in the case of Tizen, two or more API sets can be provided for each platform.

어플리케이션(1170)은, 예를 들면, 홈(1171), 다이얼러(1172), SMS/MMS(1173), IM(instant message)(1174), 브라우저(1175), 카메라(1176), 알람(1177), 컨택트(1178), 음성 다이얼(1179), 이메일(1180), 달력(1181), 미디어 플레이어(1182), 앨범(1183), 와치(1184), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보) 제공 어플리케이션을 포함할 수 있다.The application 1170 includes, for example, a home 1171, a dialer 1172, an SMS/MMS 1173, an instant message (IM) 1174, a browser 1175, a camera 1176, and an alarm 1177. , Contacts (1178), Voice Dial (1179), Email (1180), Calendar (1181), Media Player (1182), Album (1183), Watch (1184), Health Care (e.g. measuring exercise or blood sugar, etc.) , or environmental information (eg, air pressure, humidity, or temperature information) providing applications.

한 실시 예에 따르면, 어플리케이션(1170)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 예를 들면, 노티피케이션 릴레이 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다.According to one embodiment, the application 1170 may include an information exchange application capable of supporting information exchange between an electronic device and an external electronic device. The information exchange application may include, for example, a notification relay application for delivering specific information to an external electronic device or a device management application for managing an external electronic device. For example, the notification relay application may transmit notification information generated by another application of the electronic device to an external electronic device or may receive notification information from the external electronic device and provide the notification information to the user. The device management application is, for example, a function of an external electronic device communicating with the electronic device (eg, turn-on/turn-off of the external electronic device itself (or some component parts) or display brightness (or resolution)). adjustment), or an application operating in an external electronic device may be installed, deleted, or updated.

한 실시 예에 따르면, 어플리케이션(1170)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시 예에 따르면, 어플리케이션(1170)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다.According to one embodiment, the application 1170 may include an application designated according to the attributes of an external electronic device (eg, a health management application of a mobile medical device). According to one embodiment, the application 1170 may include an application received from an external electronic device.

프로그램 모듈(1110)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(1010)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.At least part of the program module 1110 may be implemented (eg, executed) in software, firmware, hardware (eg, the processor 1010), or a combination of at least two of them, and a module for performing one or more functions; It can include a program, routine, set of instructions, or process.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다.The term "module" used in this document includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A “module” may be an integrally constructed component or a minimal unit or part thereof that performs one or more functions. A "module" may be implemented mechanically or electronically, for example, a known or future developed application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs), or A programmable logic device may be included.

다양한 실시 예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(930))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(920))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다.At least some of the devices (eg, modules or functions thereof) or methods (eg, operations) according to various embodiments are instructions stored in a computer-readable storage medium (eg, the memory 930) in the form of program modules. can be implemented as When the command is executed by a processor (eg, the processor 920), the processor may perform a function corresponding to the command.

컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다.Computer-readable recording media include hard disks, floppy disks, magnetic media (e.g. magnetic tape), optical recording media (e.g. CD-ROM, DVD, magneto-optical media (e.g. floptical disks), built-in memory, etc.) The instruction may include code generated by a compiler or code executable by an interpreter.

다양한 실시 예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시 예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.A module or program module according to various embodiments may include at least one or more of the aforementioned components, some may be omitted, or other components may be further included. According to various embodiments, operations performed by modules, program modules, or other components are sequentially, parallelly, repetitively, or heuristically executed, or at least some operations are executed in a different order, are omitted, or other operations are added. It can be.

그리고 본 문서에 개시된 실시 예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 발명의 범위를 한정하는 것은 아니다. 따라서, 본 문서의 범위는, 본 발명의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시 예를 포함하는 것으로 해석되어야 한다.And the embodiments disclosed in this document are presented for explanation and understanding of the disclosed technical content, and do not limit the scope of the present invention. Therefore, the scope of this document should be construed to include all changes or various other embodiments based on the technical spirit of the present invention.

Claims (22)

전자 장치에 있어서,
영상을 출력하기 위한 디스플레이;
상기 영상을 저장하기 위한 메모리; 및,
상기 영상에서 조명 성분 및 반사 성분을 추출하고, 상기 추출한 조명 성분 및 반사 성분에 이득 값을 설정하고, 상기 이득 값이 설정된 조명 성분 및 반사 성분을 포함하는 상기 영상을 출력하도록 설정된 프로세서를 포함하며,
상기 프로세서는,
상기 영상이, HDR (high dynamic range) 영상이 가지는 제1 계조 범위 보다 적은 제2 계조 범위를 가지는 비 HDR 영상이면, 상기 비 HDR 영상이 상기 HDR 영상처럼 출력되도록,
제1 계조 값에 대응하는 상기 비 HDR 영상의 제1 영역에는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값을 설정하고,
상기 제1 계조 값보다 낮은 제2 계조 값에 대응하는 상기 비 HDR 영상의 제2 영역에는, 상기 조명 성분에 상기 제1 이득 값보다 큰 값을 가지거나 또는 작은 값을 가지는 제3 이득 값을 설정하고, 상기 반사 성분에는 상기 제2 이득 값 보다 큰 값을 가지는 제4 이득 값을 설정하는 전자 장치.
In electronic devices,
a display for outputting an image;
a memory for storing the image; and,
A processor configured to extract illumination components and reflection components from the image, set gain values to the extracted illumination components and reflection components, and output the image including the illumination components and reflection components with set gain values;
the processor,
If the image is a non-HDR image having a second grayscale range smaller than the first grayscale range of a high dynamic range (HDR) image, the non-HDR image is output like the HDR image,
In a first region of the non-HDR image corresponding to a first grayscale value, a first gain value and a second gain value are set for the illumination component and the reflection component, respectively;
In the second region of the non-HDR image corresponding to a second grayscale value lower than the first grayscale value, a third gain value having a value greater than or less than the first gain value is set for the illumination component. and setting a fourth gain value having a value greater than the second gain value for the reflection component.
청구항 1에 있어서,
상기 디스플레이 내에 포함되거나, 상기 디스플레이와 전기적으로 연결된 디스플레이 드라이버 IC(DDI)를 더 포함하며,
상기 프로세서는,
상기 DDI에 의해 상기 조명 성분 및 반사 성분에 이득 값이 설정되도록 하는 전자 장치.
The method of claim 1,
Further comprising a display driver IC (DDI) included in the display or electrically connected to the display,
the processor,
An electronic device configured to set gain values to the illumination component and the reflection component by the DDI.
삭제delete 삭제delete 청구항 1에 있어서,
상기 프로세서는,
상기 디스플레이로 비치는 조도가 낮을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 작게 설정하고,
상기 디스플레이로 비치는 조도가 높을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 크게 설정하는 것을 특징으로 하는 전자 장치.
The method of claim 1,
the processor,
At least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be smaller as the illuminance reflected on the display decreases;
The electronic device of claim 1 , wherein at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set larger as the illuminance reflected on the display increases.
청구항 1에 있어서,
상기 프로세서는,
상기 디스플레이의 패널의 휘도를 증가시키는 것을 특징으로 하는 전자 장치.
The method of claim 1,
the processor,
An electronic device characterized by increasing the luminance of a panel of the display.
청구항 1에 있어서,
상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면,
상기 프로세서는,
상기 비 HDR 영상에 대해 노이즈 저감 필터 적용, 상기 비 HDR 영상에 대한 채도 증가, 상기 비 HDR 영상에 대한 색온도 변경 또는 상기 비 HDR 영상에 대해 선명도 필터 적용 중 적어도 하나를 처리하는 전자 장치.
The method of claim 1,
When at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more,
the processor,
An electronic device that processes at least one of applying a noise reduction filter to the non-HDR image, increasing saturation of the non-HDR image, changing a color temperature of the non-HDR image, or applying a sharpness filter to the non-HDR image.
삭제delete 삭제delete 삭제delete 디스플레이를 포함하는 전자 장치의 영상 처리 방법에 있어서,
영상을 획득하는 동작;
상기 영상에서 조명 성분 및 반사 성분을 추출하는 동작; 및
상기 추출된 조명 성분 및 반사 성분에 이득 값을 설정하고, 상기 이득 값이 설정된 조명 성분 및 반사 성분을 포함하는 상기 영상을 출력하는 동작을 포함하며,
상기 영상이, HDR(high dynamic range) 영상이 가지는 제1 계조 범위 보다 적은 제2 계조 범위를 가지는 비 HDR 영상이면, 상기 비 HDR 영상이 상기 HDR 영상처럼 출력되도록;
제1 계조 값에 대응하는 상기 비 HDR 영상의 제1 영역에는 상기 조명 성분 및 상기 반사 성분에 대해 각각 제1 이득 값 및 제2 이득 값을 설정하고,
상기 제1 계조 값 보다 낮은 제2 계조 값에 대응하는 상기 비 HDR 영상의 제2 영역에는, 상기 조명 성분에 상기 제1 이득 값보다 큰 값을 가지거나 또는 작은 값을 가지는 제3 이득 값을 설정하고, 상기 반사 성분에는 상기 제2 이득 값 보다 큰 값을 가지는 제4 이득 값을 설정하는 영상 처리 방법.
In the image processing method of an electronic device including a display,
Obtaining an image;
extracting an illumination component and a reflection component from the image; and
Setting gain values to the extracted illumination component and reflection component, and outputting the image including the illumination component and reflection component with set gain values;
If the image is a non-HDR image having a second grayscale range smaller than the first grayscale range of a high dynamic range (HDR) image, the non-HDR image is output like the HDR image;
In a first region of the non-HDR image corresponding to a first grayscale value, a first gain value and a second gain value are set for the illumination component and the reflection component, respectively;
In the second region of the non-HDR image corresponding to a second grayscale value lower than the first grayscale value, a third gain value having a value greater than or less than the first gain value is set for the lighting component. and setting a fourth gain value having a greater value than the second gain value for the reflection component.
삭제delete 삭제delete 삭제delete 청구항 11에 있어서,
상기 설정하는 동작은,
상기 디스플레이로 비치는 조도가 낮을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 작게 설정하고, 상기 디스플레이로 비치는 조도가 높을수록 상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나를 크게 설정하는 동작을 포함하는 것을 특징으로 하는 영상 처리 방법.
The method of claim 11,
The setting operation is
At least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to be smaller as the illumination intensity through the display decreases, and as the illumination intensity through the display increases, the first gain value increases. and setting at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value to a large value.
청구항 11에 있어서,
상기 디스플레이의 패널의 휘도를 증가시키는 동작을 더 포함하는 것을 특징으로 하는 영상 처리 방법.
The method of claim 11,
Image processing method characterized in that it further comprises an operation of increasing the luminance of the panel of the display.
청구항 11에 있어서,
상기 제1 이득 값, 상기 제2 이득 값, 상기 제3 이득 값, 및 상기 제4 이득 값 중 적어도 하나가 지정된 크기 이상으로 설정되면, 상기 비 HDR 영상에 대해 노이즈 저감 필터를 적용하는 동작, 상기 비 HDR 영상에 대한 채도를 증가시키는 동작, 또는 상기 비 HDR 영상에 대한 색온도를 변경하는 동작 또는 상기 비 HDR 영상에 대해 선명도 필터를 적용하는 동작 중 적어도 하나를 더 포함하는 것을 특징으로 하는 영상 처리 방법.
The method of claim 11,
Applying a noise reduction filter to the non-HDR image when at least one of the first gain value, the second gain value, the third gain value, and the fourth gain value is set to a specified size or more; The image processing method further comprising at least one of increasing saturation of the non-HDR image, changing a color temperature of the non-HDR image, or applying a sharpness filter to the non-HDR image. .
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020160097076A 2016-07-29 2016-07-29 Image processing method and electronic device supporting the same KR102555276B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160097076A KR102555276B1 (en) 2016-07-29 2016-07-29 Image processing method and electronic device supporting the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160097076A KR102555276B1 (en) 2016-07-29 2016-07-29 Image processing method and electronic device supporting the same

Publications (2)

Publication Number Publication Date
KR20180013400A KR20180013400A (en) 2018-02-07
KR102555276B1 true KR102555276B1 (en) 2023-07-14

Family

ID=61203978

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160097076A KR102555276B1 (en) 2016-07-29 2016-07-29 Image processing method and electronic device supporting the same

Country Status (1)

Country Link
KR (1) KR102555276B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012247873A (en) * 2011-05-25 2012-12-13 Sony Corp Image processing apparatus and method
JP2016076069A (en) * 2014-10-06 2016-05-12 キヤノン株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101689867B1 (en) * 2010-09-15 2016-12-27 삼성전자주식회사 Method for processing image, image processing apparatus and medical image system for performing the same
KR20150007492A (en) * 2013-07-11 2015-01-21 삼성디스플레이 주식회사 Display device and electronic device having the same
KR102105102B1 (en) * 2013-10-10 2020-04-27 삼성전자주식회사 Display device and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012247873A (en) * 2011-05-25 2012-12-13 Sony Corp Image processing apparatus and method
JP2016076069A (en) * 2014-10-06 2016-05-12 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
KR20180013400A (en) 2018-02-07

Similar Documents

Publication Publication Date Title
KR102565847B1 (en) Electronic device and method of controlling display in the electronic device
KR102570305B1 (en) Electronic apparatus and controlling method thereof
US11039062B2 (en) Electronic device, and method for processing image according to camera photographing environment and scene by using same
KR102399049B1 (en) Electronic device and image processing method of electronic device
KR102344045B1 (en) Electronic apparatus for displaying screen and method for controlling thereof
KR102581945B1 (en) Method for providing skin information and electronic device supporting the same
KR102521805B1 (en) Camera switching method and electronic device supporting the same
KR102399764B1 (en) Method and apparatus for capturing image
KR102232544B1 (en) Electronic apparatus and method for reducing burn-in
US9792878B2 (en) Method for content adaptation based on ambient environment of electronic device and electronic device thereof
KR102272108B1 (en) Image processing apparatus and method
KR102329821B1 (en) Electronic Device for Performing Personal Authentication and Method Thereof
KR102523988B1 (en) A driving method for a display including a curved display area and a display driving circuit and an electronic device supporting the same
KR102359276B1 (en) Method and apparatus for controlling white balance function of electronic device
US10467471B2 (en) Electronic device and method for authenticating biometric data through plural cameras
KR20170055811A (en) Electronic device including display and method for controlling operation of display in the electronic device
KR20220038038A (en) Electronic device and notification processing method of electronic device
KR102437698B1 (en) Apparatus and method for encoding image thereof
KR102358849B1 (en) Electronic device for providing information related to a smart watch and method for operating the same
KR20170098119A (en) Electronic device and method for controlling brightness of display thereof
US20180033164A1 (en) Electronic device for improving text visibility and method of operating same
KR102379898B1 (en) Electronic device for providing a graphic indicator related to a focus and method of operating the same
KR20170105863A (en) Electronic device and method for controlling display thereof
KR102457247B1 (en) Electronic device for processing image and method for controlling thereof
CN108124054B (en) Apparatus for displaying user interface based on sensing signal of grip sensor

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant