KR20220014764A - Electronic device and method for generating training data of artificial intelligence learning model thereof - Google Patents
Electronic device and method for generating training data of artificial intelligence learning model thereof Download PDFInfo
- Publication number
- KR20220014764A KR20220014764A KR1020200094808A KR20200094808A KR20220014764A KR 20220014764 A KR20220014764 A KR 20220014764A KR 1020200094808 A KR1020200094808 A KR 1020200094808A KR 20200094808 A KR20200094808 A KR 20200094808A KR 20220014764 A KR20220014764 A KR 20220014764A
- Authority
- KR
- South Korea
- Prior art keywords
- image
- electronic device
- light source
- virtual light
- learning model
- Prior art date
Links
- 238000012549 training Methods 0.000 title claims abstract description 120
- 238000013473 artificial intelligence Methods 0.000 title claims abstract description 99
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000004891 communication Methods 0.000 claims abstract description 69
- 230000008569 process Effects 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 16
- 238000013528 artificial neural network Methods 0.000 claims description 13
- 238000012706 support-vector machine Methods 0.000 claims description 10
- 238000010801 machine learning Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 7
- 238000003909 pattern recognition Methods 0.000 claims description 5
- 230000007480 spreading Effects 0.000 claims description 5
- 230000000694 effects Effects 0.000 abstract description 16
- 239000010410 layer Substances 0.000 description 55
- 238000010586 diagram Methods 0.000 description 13
- 239000000758 substrate Substances 0.000 description 10
- 238000005538 encapsulation Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 230000000903 blocking effect Effects 0.000 description 5
- 230000009193 crawling Effects 0.000 description 5
- 239000002131 composite material Substances 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000002347 injection Methods 0.000 description 3
- 239000007924 injection Substances 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 239000004642 Polyimide Substances 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 2
- 230000000740 bleeding effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000011368 organic material Substances 0.000 description 2
- 229910052760 oxygen Inorganic materials 0.000 description 2
- 239000001301 oxygen Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 229920000139 polyethylene terephthalate Polymers 0.000 description 2
- 239000005020 polyethylene terephthalate Substances 0.000 description 2
- 229920001721 polyimide Polymers 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- GKWLILHTTGWKLQ-UHFFFAOYSA-N 2,3-dihydrothieno[3,4-b][1,4]dioxine Chemical compound O1CCOC2=CSC=C21 GKWLILHTTGWKLQ-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000012790 adhesive layer Substances 0.000 description 1
- 238000000149 argon plasma sintering Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000011247 coating layer Substances 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000000593 degrading effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 229920005570 flexible polymer Polymers 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011229 interlayer Substances 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 239000012044 organic layer Substances 0.000 description 1
- -1 polyethylene terephthalate Polymers 0.000 description 1
- 239000002861 polymer material Substances 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000011241 protective layer Substances 0.000 description 1
- 239000002990 reinforced plastic Substances 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000005341 toughened glass Substances 0.000 description 1
- 239000012780 transparent material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
- G06T3/4015—Demosaicing, e.g. colour filter array [CFA], Bayer pattern
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/001—Image restoration
-
- G06T5/60—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H04N5/2257—
-
- H04N5/23229—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
Abstract
Description
본 문서에서 개시되는 실시 예들은, 인공 지능 학습 모델을 훈련시키는 기술과 관련된다.Embodiments disclosed in this document relate to a technique for training an artificial intelligence learning model.
최근의 다양한 전자 장치들은 디스플레이 및 카메라를 포함하고 있다. 디스플레이는 표시 영역에 위치하는 복수의 화소를 이용하여 이미지를 표시할 수 있다. 디스플레이는 화소를 구동하기 위한 구동부들 및 신호 배선들을 포함할 수 있다. 전자 장치가 카메라를 통하여 밝은 광원을 촬영하는 경우 이미지 내의 광원 주변의 픽셀들은 포화되어 원하는 이미지를 촬영하지 못하는 문제점이 발생할 수 있다. 또한, 카메라와 디스플레이가 서로 영향을 미치도록 배치된 경우, 디스플레이의 픽셀 또는 배선이 카메라로 들어오는 광을 회절시켜서 이미지의 해상도가 열화됨과 함께 광원 주변에 빛 갈라짐 또는 빛 번짐 현상이 발생할 수 있다.Recently, various electronic devices include a display and a camera. The display may display an image using a plurality of pixels located in the display area. The display may include drivers and signal wires for driving the pixels. When the electronic device captures a bright light source through a camera, pixels around the light source in the image are saturated and a desired image cannot be captured. In addition, when the camera and the display are arranged to affect each other, pixels or wires of the display may diffract light entering the camera, thereby degrading image resolution and causing light splitting or light bleeding around the light source.
본 발명의 다양한 실시예들은, 디스플레이 하부에 배치된 카메라를 이용하여 촬영한 이미지를 보상하기 위한 인공지능 학습 모델의 훈련 데이터를 생성하는 전자 장치 및 방법을 제공하고자 한다.Various embodiments of the present disclosure provide an electronic device and method for generating training data of an artificial intelligence learning model for compensating for an image captured using a camera disposed under a display.
본 발명의 다양한 실시예들은, 광원을 포함하는 이미지를 보상하기 위한 인공지능 학습 모델의 훈련 데이터 셋을 생성하는 전자 장치 및 전자 장치의 인공지능 학습 모델 훈련 데이터 생성 방법을 제공하고자 한다.Various embodiments of the present disclosure provide an electronic device for generating a training data set of an AI learning model for compensating an image including a light source, and a method for generating training data for an AI learning model of the electronic device.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있다.The technical problems to be achieved in the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. have.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 통신 회로, 메모리 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함할 수 있다. 일 실시예에 따르면, 상기 메모리는, 실행 시, 상기 프로세서가, 제1 이미지를 획득하고, 가상 광원 이미지를 생성하고, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하고, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성하고, 상기 제1 입력 이미지 및 상기 제1 출력 이미지를 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document may include a communication circuit, a memory, and a processor operatively connected to the memory. According to an embodiment, the memory, when executed, causes the processor to acquire a first image, generate a virtual light source image, insert the virtual light source image into the first image to generate a first output image, , After inserting the virtual light source image into the first image, a first filter process is performed to generate a first input image, and an artificial intelligence learning model for compensating an image for the first input image and the first output image. Instructions for generating the first training data set may be stored.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치의 인공지능 학습 모델의 훈련 데이터 생성 방법은, 제1 이미지를 획득하는 동작, 가상 광원 이미지를 생성하는 동작, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하는 동작, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후 제1 필터 처리하여 제1 입력 이미지를 생성하는 동작, 및 상기 제1 입력 이미지 및 상기 제1 출력 이미지를 상기 카메라를 통해 촬영된 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하는 동작을 포함할 수 있다.In addition, the method for generating training data for an artificial intelligence learning model of an electronic device according to an embodiment disclosed in this document includes the operation of acquiring a first image, the operation of generating a virtual light source image, and the operation of generating the virtual light source image as the first generating a first output image by inserting it into an image, inserting the virtual light source image into the first image and performing a first filter process to generate a first input image, and the first input image and the first image and generating an output image as a first training data set of an artificial intelligence learning model for compensating for an image captured by the camera.
본 문서에 개시되는 실시 예들에 따르면, 디스플레이 하부에 배치된 카메라를 이용하여 촬영한 이미지를 보상하기 위한 인공지능 학습 모델을 훈련시킬 수 있다.According to the embodiments disclosed in this document, it is possible to train an artificial intelligence learning model for compensating for an image captured by using a camera disposed under the display.
본 문서에 개시되는 실시 예들에 따르면, 광원을 포함한 이미지를 보상하기 위한 인공지능 학습 모델을 훈련시키기 위한 가상의 훈련 데이터 세트를 생성 및 제공할 수 있다.According to the embodiments disclosed in this document, it is possible to generate and provide a virtual training data set for training an artificial intelligence learning model for compensating an image including a light source.
본 문서에 개시되는 실시 예들에 따르면, 인공지능 학습 모델의 훈련 데이터 셋을 생성하는 경우, 가상 광원 이미지를 포함시킴으로써 이미지 촬영 시의 빛 갈라짐 및 빛 번짐 현상을 해결하고, 이미지의 화질을 개선할 수 있도록 인공지능 학습 모델을 훈련시킬 수 있다.According to the embodiments disclosed in this document, when generating the training data set of the artificial intelligence learning model, by including the virtual light source image, it is possible to solve the light splitting and light spreading phenomenon during image shooting, and improve the image quality An artificial intelligence learning model can be trained to
본 문서에 개시되는 실시 예들에 따르면, 보다 적은 수의 촬영 데이터에 기반하여 무한정의 훈련 데이터 셋을 생성하고, 이를 기반으로 인공지능 학습 모델을 훈련시킴으로써, 훈련 효과를 최대화하고 더 정교하고 정확한 인공지능 학습 모델을 구현할 수 있다.According to the embodiments disclosed in this document, by generating an infinite training data set based on a smaller number of shooting data and training an artificial intelligence learning model based on this, the training effect is maximized and more sophisticated and accurate artificial intelligence A learning model can be implemented.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치를 나타낸다.
도 2a는 일 실시예에 따른 전자 장치의 블록도이다.
도 2b는 일 실시예에 따른 전자 장치의 블록도이다.
도 3a 및 3b는 다양한 실시예에 따른 광원 이미지들의 예시이다.
도 4는 일 실시예에 따른 전자 장치의 이미지 보상 동작을 설명하기 위한 도면이다.
도 5는 일 실시예에 따른 전자 장치의 인공지능 학습 모델을 훈련시키는 동작을 설명하기 위한 도면이다.
도 6은 일 실시예에 따른 전자 장치의 가상 광원 이미지 생성 동작을 설명하기 위한 도면이다.
도 7은 일 실시예에 따른 전자 장치의 훈련 이미지 셋을 생성하는 동작을 설명하기 위한 도면이다.
도 8은 일 실시예에 따른 전자 장치의 인공지능 학습 모델 훈련 방법의 흐름도이다.
도 9는 일 실시예에 따른 전자 장치의 가상 광원 이미지 생성 동작의 흐름도이다.
도 10은 일 실시예에 따른 전자 장치의 이미지 보상 동작의 흐름도이다.
도 11은 일 실시예에 따른 전자 장치의 디스플레이의 평면도이다.
도 12는 일 실시예에 따른 전자 장치의 제1 표시 영역의 단면도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.1 illustrates an electronic device in a network environment according to various embodiments of the present disclosure.
2A is a block diagram of an electronic device according to an exemplary embodiment.
2B is a block diagram of an electronic device according to an exemplary embodiment.
3A and 3B are examples of light source images according to various embodiments.
4 is a diagram for explaining an image compensation operation of an electronic device according to an exemplary embodiment.
5 is a diagram for explaining an operation of training an artificial intelligence learning model of an electronic device according to an exemplary embodiment.
6 is a diagram for explaining an operation of generating a virtual light source image of an electronic device according to an exemplary embodiment.
7 is a diagram for describing an operation of generating a training image set of an electronic device according to an exemplary embodiment.
8 is a flowchart of a method for training an artificial intelligence learning model of an electronic device according to an exemplary embodiment.
9 is a flowchart of an operation of generating a virtual light source image of an electronic device according to an exemplary embodiment.
10 is a flowchart of an image compensation operation of an electronic device according to an exemplary embodiment.
11 is a plan view of a display of an electronic device according to an exemplary embodiment.
12 is a cross-sectional view of a first display area of an electronic device according to an exemplary embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be chosen. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external
도 2a는 일 실시예에 따른 전자 장치의 블록도이다.2A is a block diagram of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 전자 장치(200a)(예: 도 1의 전자 장치(101))(예: PC, 또는 서버)는 통신 회로(210a) (예: 도 1의 통신 모듈(190)), 메모리(220a) (예: 도 1의 메모리(130)), 및 프로세서(230a) (예: 도 1의 프로세서(120))를 포함할 수 있다. 다양한 실시예에 따르면, 전자 장치(200a)는 독립적으로 또는 외부 전자 장치(예: (예: 도 1의 전자 장치(102, 104), 서버(106), 또는 도 2b의 전자 장치(200b))와 통합되어 인공지능 학습 모델을 훈련시킬 수 있다. 예를 들어, 인공지능 학습 시스템은 전자 장치(200a), 외부 전자 장치, 또는 전자 장치(200a)와 외부 전자 장치의 조합으로 구성될 수 있다.According to an embodiment, the
일 실시예에 따르면, 통신 회로(210a)는 외부 전자 장치(예: (예: 도 1의 전자 장치(102, 104), 서버(106), 또는 도 2b의 전자 장치(200b))와 데이터를 송수신할 수 있다. 예를 들어, 통신 회로(210a)는 이미지 및/또는 영상을 외부 전자 장치에 전송하거나, 또는 수신할 수 있다. 예를 들어, 통신 회로(210a)는 프로세서(230a)에 의해 생성된 인공지능 학습 모델의 훈련 데이터 셋(예: 입력 이미지 및 출력 이미지)을 외부 전자 장치에 전송할 수 있다. 예를 들어, 통신 회로(210a)는 인공지능 학습 모델을 외부 전자 장치에 제공할 수 있다. 예를 들어, 통신 회로(210a)는 훈련된 이미지 보상을 위한 학습 모델을 외부 전자 장치에 제공할 수 있다.According to an embodiment, the
일 실시예에 따르면, 메모리(220a)는 프로세서(230a)에 의해 실행되는 인스트럭션들을 포함할 수 있다. 일 실시예에 따르면, 메모리(220a)는 외부 전자 장치 또는 네트워크로부터 수신한 이미지 및/또는 영상을 적어도 적어도 일시적으로 저장할 수 있다. 일 실시예에 따르면, 메모리(220a)는 인공지능 학습 모델의 훈련 데이터 셋(예: 입력 이미지 및 출력 이미지 쌍(pair))을 저장할 수 있다.According to an embodiment, the
일 실시예에 따르면, 일 실시예에 따르면, 프로세서(230a)는 전자 장치(200a)의 전반적인 동작을 제어할 수 있다. 일 실시예에 따르면, 프로세서(230a)는 인공지능 학습 모델을 훈련시킬 수 있다. 다양한 실시예에 따르며, 인공지능 학습 모델을 훈련시키는 시스템을 전자 장치(200a) (예: 프로세서(230a)(250)) 내부적으로 구현되거나, 전자 장치(200a)의 외부에 구현되거나, 또는 전자 장치(200a)와 외부의 조합으로 구현될 수도 있다. 예를 들어, 인공지능 학습 모델은 전자 장치(200a) 및 외부 장치 적어도 하나에 의해 훈련될 수 있다. 예를 들어, 인공지능 학습 시스템은 연합학습(federated learning)을 이용하여 훈련될 수 있다. 일 실시예에 따르면, 인공지능 학습 모델은 이미지를 보상하기 위한 이미지 보상 모델을 포함할 수 있다. 일 실시예에 따르면, 인공지능 학습 모델은, 뉴럴 네트워크(neural network), 지지 벡터 머신(support vector machine, SVN), 은닉 마르코프 모델(hidden Markov model, HMM), 및 베이시안(Baysian) 중 적어도 하나를 포함하는 머신 러닝(machine learning) 중 적어도 하나를 기반으로 훈련될 수 있다. 다양한 실시예에 따르면, 인공지능 학습 모델은 상기 언급한 머신 러닝 이외에도 학습 데이터로부터 패턴을 찾고, 패턴을 이용하여 실제 데이터에 적용할 수 있는 다양한 패턴 인식 알고리즘 중 적어도 하나를 기반으로 훈련될 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 인공지능 학습 모델을 훈련시키기 위한 훈련 데이터 셋을 생성할 수 있다. 예를 들어, 훈련 데이터 셋은 한 쌍(pair)의 입력 이미지 및 출력 이미지를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 훈련 데이터 셋을 생성하기 위한 제1 이미지를 획득할 수 있다. 예를 들어, 제1 이미지는 전자 장치(200a) (예: 메모리(220a))에 기 저장된 이미지, 외부 전자 장치로부터 수신한 이미지, 및/또는 크롤링(crawling)을 통하여 획득한 이미지를 포함할 수 있다. 예를 들어, 제1 이미지는 훈련 데이터 셋(예: 입력 이미지 및 출력 이미지)를 생성하기 위한 임의의 이미지를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 가상 광원 이미지를 생성할 수 있다. 예를 들어, 프로세서(230a)는 가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 가상 광원 이미지를 생성할 수 있다. 일 실시예에 따르면, 상기 적어도 하나의 파라미터는 사용자의 입력에 따라 지정되거나, 프로세서(230a)에 의해 자동으로 지정될 수도 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 가상 광원의 로우 이미지를 생성하고, 상기 로우 이미지를 지정된 대역 이하의 저역 통과 필터 처리하고, 상기 저역 통과 필터 처리한 이미지를 리사이징하고, 상기 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)하고, 상기 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)하는 동작을 통하여 가상 광원 이미지를 생성할 수 있다. 일 실시예에 따르면, 프로세서(230a)는 베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성할 수 있다. 다양한 실시에에 따르면, 프로세서(230a)는 베이어(Bayer) 도메인이 아닌 다른 도메인(예: RGB 도메인)에서 다른 방식으로 가상 광원의 로우 이미지는 생성할 수도 있다. 다양한 실시예에 따르면, 상기 가상 광원 이미지를 생성하는 동작들 중 적어도 일부는 생략될 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 가상 광원 이미지를 제1 이미지에 삽입하여 제1 출력 이미지를 생성할 수 있다. 예를 들어, 제1 출력 이미지는 인공지능 학습 모델을 훈련시키기 위한 출력 데이터일 수 있다. 예를 들어, 제1 출력 이미지는 제1 입력 이미지가 입력된 경우 훈련된 인공지능 학습 모델을 통하여 획득하고자 하는 타겟 이미지일 수 있다. According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 가상 광원 이미지를 제2 필터 처리하고, 제2 필터 처리한 가상 광원 이미지를 제1 이미지에 삽입하여 제1 출력 이미지를 생성할 수 있다. 예를 들어, 제2 필터는 실제 카메라를 통하여 광원을 촬영하는 경우와 유사하게 가상 광원 이미지를 보정하기 위한 필터일 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 가상 광원 이미지를 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성할 수 있다. 일 실시예에 따르면, 제1 필터는 가상 광원 이미지를 삽입한 제1 이미지를 실제의 촬영 이미지와 대응되도록 보정하기 위한 필터일 수 있다. 예를 들어, 제1 필터는 실제 카메라를 통한 이미지 촬영 시 나타나는 효과(예: 회절 효과)를 가상 광원 이미지를 삽입한 제1 이미지에 적용하기 위한 필터일 수 있다. 예를 들어, 제1 입력 이미지는 인공지능 학습 모델을 훈련시키기 위한 입력 데이터일 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 제1 입력 이미지 및 제1 출력 이미지를, 이미지를 보상하기 위한 인공지능 학습 모델의 훈련 데이터 셋으로 생성할 수 있다. 예를 들어, 인공지능 학습 모델은 제1 입력 이미지가 입력된 경우 제1 출력 이미지 또는 제1 출력 이미지와 유사한 결과 이미지가 도출되도록 훈련될 수 있다. According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 훈련 데이터 셋을 생성하기 위한 제2 이미지를 획득할 수 있다. 예를 들어, 제2 이미지는 제1 이미지와 동일하거나, 또는 상이할 수 있다. 예를 들어, 제2 이미지는 전자 장치(200a)(예: 메모리(220a))에 기 저장된 이미지, 외부 전자 장치로부터 수신한 이미지, 및/또는 크롤링(crawling)을 통하여 획득한 이미지를 포함할 수 있다. 예를 들어, 제2 이미지는 훈련 데이터 셋(예: 입력 이미지 및 출력 이미지)를 생성하기 위한 임의의 이미지를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 프로세서(230a)는 제2 이미지를 제2 출력 이미지로 생성하고, 제2 이미지를 제1 필터 처리하여 제2 입력 이미지를 생성할 수 있다. 일 실시예에 따르면, 프로세서(230a)는 제2 입력 이미지 및 제2 출력 이미지를 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성할 수 있다.According to an embodiment, the
일 실시예에 따르면, 제1 훈련 데이터 셋은 가상 광원 이미지를 포함하는 훈련 데이터 셋일 수 있고, 제2 훈련 데이터 셋은 가상 광원 이미지를 포함하지 않는 훈련 데이터 셋일 수 있다.According to an embodiment, the first training data set may be a training data set including a virtual light source image, and the second training data set may be a training data set not including a virtual light source image.
다양한 실시예에 따르면, 프로세서(230a)는 훈련 데이터 셋(예: 제1 훈련 데이터 셋 및/또는 제2 훈련 데이터 셋)을 이용하여 자체적으로 인공지능 학습 모델을 훈련 시키거나, 전자 장치(200a) 외부의 인공지능 학습 시스템을 통하여 인공지능 학습 모델을 훈련시킬 수 있다. 예를 들어, 프로세서(230a)는 통신 회로(210a)를 통하여 외부의 인공지능 학습 시스템에 생성한 훈련 데이터 셋을 제공할 수 있다. 예를 들어, 전자 장치(200a)(200a) 및 외부 전자 장치가 함께 인공지능 학습 시스템을 구성하는 경우, 전자 장치(200a)(200a) 및 외부 전자 장치가 함께 인공지능 학습 모델을 훈련시킬 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 전자 장치(200a)는 일부 구성이 생략되거나, 도 1에 도시된 전자 장치(101) 또는 도 2b에 도시된 전자 장치(200b)의 구성 중 적어도 일부를 더 포함할 수 있다.According to various embodiments, some components of the
본 개시의 다양한 실시예들에 따르면, 가상 광원을 포함하는 훈련 데이터 셋(예: 제1 입력 이미지 및 제1 출력 이미지)을 통하여 이미지 보상을 위한 인공지능 학습 모델을 훈련시킴으로써, 빛의 회절에 따른 이미지의 손상 또는 변형을 보상할 수 있으며, 이미지 내의 빛의 포화, 빛 번짐 또는 빛 갈라짐 현상을 보상할 수 있는 인공지능 학습 모델을 제공할 수 있다. 본 개시의 다양한 실시예들에 따르면, 이미지 보상을 위한 인공지능 학습 모델을 훈련시킴에 있어서, 실제의 측정 데이터(예: 촬영된 이미지)가 아닌 합성 데이터(예: 합성 이미지)를 생성하여 훈련 데이터로 사용함으로써, 학습에 필요한 파라미터 값을 원하는 대로 설정하거나, 변경할 수 있기 때문에 인공지능 학습 모델의 훈련 효과를 증가시킬 수 있다. 본 개시의 다양한 실시예들에 따르면, 인공지능 학습 모델에 필요한 훈련 데이터 셋(예: 제1 입력 이미지 및 제1 출력 이미지)를 동일한 소스(예: 제1 이미지)로부터 생성함으로써, 실제 촬영 이미지를 인공지능 학습 모델의 훈련 데이터로 이용할 때 발생할 수 있는 시차(disparity), 주변 환경에 따른 노이즈(노이즈 변화), 실 촬영 시의 움직임, 및/또는 카메라(이미지 센서)의 한계(예: 광의 포화 값)로 인한 오차 및 문제점을 최소화할 수 있다.According to various embodiments of the present disclosure, by training an artificial intelligence learning model for image compensation through a training data set (eg, a first input image and a first output image) including a virtual light source, It can compensate for damage or deformation of an image, and can provide an artificial intelligence learning model that can compensate for light saturation, light blurring, or light splitting within an image. According to various embodiments of the present disclosure, in training an artificial intelligence learning model for image compensation, synthetic data (eg, a composite image) is generated instead of actual measurement data (eg, a photographed image) to train the training data By using it, the training effect of the artificial intelligence learning model can be increased because the parameter values required for learning can be set or changed as desired. According to various embodiments of the present disclosure, by generating a training data set (eg, a first input image and a first output image) required for an artificial intelligence learning model from the same source (eg, a first image), an actual photographed image is generated Disparity that may occur when used as training data for an artificial intelligence learning model, noise (noise change) depending on the surrounding environment, motion during actual shooting, and/or limitations of the camera (image sensor) (eg, light saturation value) ), errors and problems can be minimized.
도 2b는 일 실시예에 따른 전자 장치의 블록도이다.2B is a block diagram of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 전자 장치(200b)(예: 도 1의 전자 장치(101))(예: 모바일 장치)는 디스플레이(210b)(예: 도 1의 디스플레이 모듈(160)), 카메라(220b)(예: 도 1의 카메라 모듈 (180)), 통신 회로(230b)(예: 도 1의 통신 모듈(190)), 메모리(240b)(예: 도 1의 메모리(130)), 및 프로세서(250b)(예: 도 1의 프로세서(120))를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 디스플레이(210b)는 이미지 및/또는 영상을 표시할 수 있다. 일 실시예에 따르면, 디스플레이(210b)는 복수 개의 픽셀들을 포함할 수 있다. 일 실시예에 따르면, 디스플레이(210b)는 상이한 픽셀 밀도를 가지는 복수 개의 영역을 포함할 수 있다. 일 실시예에 따르면, 디스플레이(210b)는 각 픽셀들을 구동시키기 위한 배선을 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 카메라(220b)는 디스플레이(210b)의 적어도 일부 영역의 하부에 배치될 수 있다. 예를 들어, 카메라(220b)는 UDC(under display camera)를 포함할 수 있다. 일 실시예에 따르면, 카메라(220b)는 디스플레이(210b)를 투과하여 입사되는 광을 기반으로 이미지를 생성할 수 있다. 예를 들어, 카메라(220b)가 디스플레이(210b) 아래에 배치되는 경우, 전자 장치(200b)의 전면(디스플레이(210b)가 배치된 면)에서 카메라(220b)(예: 카메라(220b) 홀)이 없이 디스플레이(210b)의 면적을 최대화할 수 있다. 다른 실시예에 따르면, 디스플레이(210b)의 화상 표시 영역은 적어도 2개 이상의 부 영역을 포함할 수 있다. 예를 들어, 적어도 2개 이상의 부 영역은 픽셀 밀도가 상대적으로 높은 제1 영역 및 픽셀 밀도가 상대적으로 낮은 제2 영역을 포함할 수 있다. 일 실시예에 따르면, 카메라(220b)의 적어도 일부는 상기 제2 영역 아래에 배치될 수 있다.According to an embodiment, the
일 실시예에 따르면, 통신 회로(230b)는 외부 전자 장치(예: 도 1의 전자 장치(102, 104), 서버(106), 또는 도 2a의 전자 장치(200a))와 데이터를 송수신할 수 있다. 예를 들어, 통신 회로(230b)는 이미지 및/또는 영상을 외부 전자 장치에 전송하거나, 또는 수신할 수 있다. 예를 들어, 통신 회로(230b)는 외부 전자 장치로부터 인공지능 학습 모델을 수신할 수 있다. According to an embodiment, the
일 실시예에 따르면, 메모리(240b)는 프로세서(250b)에 의해 실행되는 인스트럭션들을 포함할 수 있다. 일 실시예에 따르면, 메모리(240b)는 카메라(220b)를 통해 촬영한 이미지 및/또는 영상을 저장하거나, 외부 전자 장치로부터 수신한 이미지 및/또는 영상을 저장할 수 있다. According to an embodiment, the
일 실시예에 따르면, 프로세서(250b)는 전자 장치(200b)의 전반적인 동작을 제어할 수 있다. According to an embodiment, the
일 실시예에 따르면, 프로세서(250b)는 카메라(220b)를 통하여 이미지를 캡쳐할 수 있다. 일 실시예에 따르면, 프로세서(250b)는 캡쳐한 이미지를 인공지능 학습 모델을 기반으로 보상할 수 있다. 예를 들어, 프로세서(250b)는 통신 회로(230b)를 통하여 외부 전자 장치(예: 도 2a의 전자 장치(200a)로부터 인공지능 학습 모델을 제공 받고, 제공 받은 인공지능 학습 모델을 기반으로 캡쳐한 이미지를 보상할 수 있다.According to an embodiment, the
예를 들어, 카메라(220b)가 디스플레이(210b) 아래 배치된 경우, 디스플레이(210b)의 픽셀 및 배선으로 인하여 디스플레이(210b)를 통하여 카메라(220b)로 입사되는 광이 회절을 일으킬 수 있다. 예를 들어, 광원을 촬영 시, 광이 강한 회절을 일으켜 이미지의 광원 주변부에 빛 갈라짐 및 빛 번짐 현상이 발생할 수 있다. 또는, 카메라(220b)를 통하여 광원 촬영 시, 이미지 내 픽셀이 포화되어 정보의 손실이 발생할 수 있다. 일 실시예에 따르면, 프로세서(250b)는 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련된 인공지능 학습 모델을 기반으로 이미지를 보상하여 캡처한 이미지 내의 빛 갈라짐, 및 빛 번짐 현상을 보상하고, 이미지의 품질을 향상시킬 수 있다.For example, when the
다양한 실시예에 따르면, 전자 장치(200b)는 일부 구성이 생략되거나, 도 1에 도시된 전자 장치(101)의 구성 중 적어도 일부를 더 포함할 수 있다. 다양한 실시예에 따르면, 전자 장치(200b)는 도 2의 전자 장치(200a)의 구성 중 적어도 일부를 포함하거나, 또는 도 2의 전자 장치(200a)의 동작 중 적어도 일부를 수행할 수 있다.According to various embodiments, some components of the
도 3a 및 3b는 다양한 실시예에 따른 광원 이미지들의 예시이다. 3A and 3B are examples of light source images according to various embodiments.
도 3a를 참조하면, 제1 이미지(310)는 카메라(예: 외부 전자 장치(예: 도 2b의 전자 장치(200b)의 카메라(220b))를 이용하여 실제 광원을 촬영한 경우의 이미지를 나타내며, 제2 이미지(320)는 일 실시예에 따른 전자 장치(예: 도 2a의 전자 장치(200a))가 생성한 가상 광원 이미지를 포함하는 제1 입력 이미지를 나타내고, 제3 이미지(330)는 일 실시예에 따른 전자 장치(예: 도 2a의 전자 장치(200a))가 생성한 제1 출력 이미지를 나타낸다.Referring to FIG. 3A , the
도 3b를 참조하면, 제4 이미지(340)는 카메라(예: 외부 전자 장치(예: 도 2b의 전자 장치(200b))의 카메라(220b))를 이용하여 실제 광원을 촬영한 경우의 이미지를 나타내며, 제5 이미지(350)는 일 실시예에 따른 전자 장치(예: 도 2a의 전자 장치(200a))가 생성한 가상 광원 이미지를 포함하는 제1 입력 이미지를 나타내고, 제6 이미지(360)는 일 실시예에 따른 전자 장치(예: 도 2a의 전자 장치(200a))가 생성한 제1 출력 이미지를 나타낸다.Referring to FIG. 3B , the
일 실시예에 따르면, 전자 장치(예: 도 2a의 전자 장치(200a))는 제1 이미지(310) 및 제4 이미지(340)와 같이 실제 광원을 촬영한 사진에서 발생할 수 있는 빛의 회절, 빛 번짐 및/또는 빛 갈라짐 현상을 보상하기 위하여 인공지능 학습 모델의 훈련 데이터 셋을 생성할 수 있다.According to an embodiment, the electronic device (eg, the
예를 들어, 전자 장치는 가상 광원 이미지를 생성하고, 가상 광원 이미지에 실제 광원을 촬영한 이미지와 유사한 효과를 적용하기 위하여 제1 필터 처리하여 제2 이미지(320) 및 제5 이미지(350)와 같은 입력 이미지를 생성할 수 있다. 예를 들어, 전자 장치는 가상 광원 이미지를 생성하고, 이를 기반으로 제3 이미지(330) 및 제6 이미지(360)와 같은 제1 출력 이미지(즉, 타겟 이미지)를 생성할 수 있다.For example, the electronic device generates a virtual light source image, performs a first filter process to apply an effect similar to an image obtained by photographing a real light source to the virtual light source image, thereby generating the
일 실시예에 따르면, 전자 장치는 제1 입력 이미지와 제1 출력 이미지 쌍(pair)를 인공지능 학습 모델의 훈련 데이터로 생성 및 제공할 수 있다. 일 실시예에 따르면, 외부 전자 장치(예: 도 2b의 전자 장치(200b))는 전자 장치(예: 도 2a의 전자 장치(200a))에 의해 훈련된 인공지능 학습 모델에 기반하여 외부 전자 장치의 카메라를 통하여 촬영한 이미지(예: 제1 이미지(310) 또는 제4 이미지(340))를 보정할 수 있다. 예를 들어, 외부 전자 장치는 인공지능 학습 모델에 기반하여 촬영된 이미지를 보상하여 타겟 이미지와 같이 빛 번짐, 빛 갈라짐 및/또는 빛의 포화로 인한 정보 손실을 보상한 이미지(예: 제3 이미지(330) 또는 제6 이미지(360))를 획득할 수 있다.According to an embodiment, the electronic device may generate and provide a pair of a first input image and a first output image as training data of the AI learning model. According to an embodiment, the external electronic device (eg, the
다양한 실시예에 따르면, 도 3a 및 도 3b에 도시된 실제 광원 이미지(310, 340), 제1 입력 이미지(320, 350), 및 제1 출력 이미지(330, 360)은 일 예시로서, 전자 장치가 보상할 수 있는 광원(예: 광원을 포함하는 이미지)의 형태는 이에 한정되지 않으며, 다양한 형태 및/또는 모양의 광원을 보상할 수 있다.According to various embodiments, the actual
도 4는 일 실시예에 따른 전자 장치의 이미지 보상 동작을 설명하기 위한 도면이다.4 is a diagram for explaining an image compensation operation of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 410 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2b의 전자 장치(200b))는 카메라(예: 도 1의 카메라 모듈(180) 또는 도 2의 카메라(220b))를 통하여 이미지를 획득할 수 있다. 일 실시예에 따르면, 전자 장치의 카메라는 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 2b의 디스플레이(210b))의 일 영역의 하부에 배치될 수 있다. 예를 들어, 디스플레이 하부에 배치된 카메라를 이용하여 이미지 촬영 시, 디스플레이의 픽셀 및/또는 배선으로 인한 빛의 회절로 인하여 이미지 내에 빛의 포화, 빛 번짐, 및/또는 빛 갈라짐이 발생할 수 있다.According to an embodiment, in
일 실시예에 따르면, 420 동작에서, 전자 장치는 획득한 이미지를 전처리할 수 있다. 예를 들어, 전자 장치는 획득한 이미지의 적어도 일부에 대하여, 상기 획득한 이미지의 특성 또는 디스플레이의 특성에 적어도 기반하여 전처리(예: 해상도, 밝기, 또는 크기 조정)를 수행할 수 있다.According to an embodiment, in
일 실시예에 따르면, 430 동작에서, 전자 장치는 인공지능 학습 모델을 기반으로 이미지를 보상할 수 있다. 일 실시예에 따르면, 인공지능 학습 모델은 카메라(예: UDC(under display camera))를 통하여 획득한 이미지를 보상하기 위한 학습 모델일 수 있다. According to an embodiment, in
일 실시예에 따르면, 인공지능 학습 모델은 외부 전자 장치(미도시)(예: 도 2a의 전자 장치(200a))에 의해 생성된 학습 데이터 셋(예: 입력 이미지 및 출력 이미지 쌍(pair))을 이용하여 훈련될 수 있다. 예를 들어, 학습 데이터 셋은 전자 장치에 의해 생성된 가상 광원 이미지를 포함하는 입력 이미지 및 출력 이미지를 포함할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치로부터, 훈련된 인공지능 학습 모델을 제공 받고, 제공 받은 인공지능 학습 모델을 기반으로 이미지를 보상하여, 이미지에 포함된 빛의 포화로 인한 손실, 빛 번짐, 및/또는 빛 갈라짐 현상을 보상한 이미지를 생성할 수 있다.According to an embodiment, the AI learning model is a training data set (eg, an input image and an output image pair) generated by an external electronic device (not shown) (eg, the
일 실시예에 따르면, 440 동작에서, 전자 장치는 이미지를 후처리할 수 있다. 예를 들어, 전자 장치는 보상한 이미지의 적어도 일부에 대하여, 상기 보상한 이미지의 특성 또는 디스플레이의 특성에 적어도 기반하여 후처리(예: 해상도, 밝기, 또는 색상 조정)를 수행할 수 있다.According to an embodiment, in
일 실시예에 따르면, 450 동작에서, 전자 장치는 처리된 이미지를 획득할 수 있다. 예를 들어, 최종 획득한 이미지는 이미지 내에 포함된 광원으로 인한 빛 번짐, 빛 갈라짐, 및/또는 광의 포화 현상이 보상된 이미지일 수 있다.According to an embodiment, in
도 5는 일 실시예에 따른 전자 장치의 인공지능 학습 모델을 훈련시키는 동작을 설명하기 위한 도면이다.5 is a diagram for explaining an operation of training an artificial intelligence learning model of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2a의 전자 장치(200a))는 이미지 보상을 위한 인공지능 학습 모델을 훈련시키기 위한 훈련 데이터 셋(517)을 생성할 수 있다. 예를 들어, 훈련 데이터 셋(517)은 한 쌍(pair)의 입력 이미지 및 출력 이미지를 포함할 수 있다.According to an embodiment, the electronic device (eg, the electronic device 101 of FIG. 1 or the
일 실시예에 따르면, 전자 장치는 제1 이미지(501)를 획득할 수 있다. 예를 들어, 제1 이미지(501)는 전자 장치에 기 저장된 이미지, 외부 전자 장치로부터 수신한 이미지, 및/또는 크롤링(crawling)을 통하여 획득한 이미지를 포함할 수 있다. 예를 들어, 제1 이미지(501)는 훈련 데이터 셋(517)(예: 입력 이미지 및 출력 이미지)를 생성하기 위한 임의의 이미지를 포함할 수 있다.According to an embodiment, the electronic device may acquire the
일 실시예에 따르면, 503 동작에서, 전자 장치는 가상 광원 이미지를 생성할 수 있다. 일 실시예에 따르면, 가상 광원 이미지는 전자 장치에 의해 생성된 합성 이미지, 또는 전자 장치 또는 외부 전자 장치에 의해 실제의 조명이 촬영된 이미지를 포함할 수 있다. 예를 들어, 전자 장치는 가상 광원 생성 파라미터를 기반으로 가상 광원 이미지를 생성할 수 있다. 예를 들어, 가상 광원 생성 파라미터는 가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나를 포함할 수 있다. 일 실시예에 따르면, 가상 광원 생성 파라미터는 사용자의 입력에 따라 지정되거나, 전자 장치에 의해 자동으로 지정될 수도 있다. 일 실시예에 따르면, 전자 장치는 복수 개의 가상 광원 생성 파라미터를 적용하여 하나의 이미지(예: 제1 이미지)에 대해 복수 개의 가상 광원 이미지를 생성할 수 있다.According to an embodiment, in
일 실시예에 따르면, 503의 가상 광원 이미지 생성 동작의 적어도 일부는, 507 동작 또는 511 동작의 가상 광원 이미지 삽입 동작의 적어도 일부로서 같이 수행될 수 있다. 예를 들어, 가상 광원 이미지 생성 동작의 적어도 일부(예: 위치 파라미터에 따라 가상 광원을 이미지 내에 특정 위치에 배치하는 동작)은 503 동작, 507 동작, 또는 511 동작에서 수행될 수 있다.According to an embodiment, at least a part of the operation of generating the virtual light source image in
일 실시예에 따르면, 전자 장치는 505 동작에서, 가상 광원 이미지를 제2 필터 처리할 수 있다. 예를 들어, 제2 필터는 실제 카메라(220)를 통하여 광원을 촬영하는 경우와 유사하게 가상 광원 이미지를 보정하기 위한 필터일 수 있다. 예를 들어, 제2 필터는 광원 디자인 파라미터를 기반으로 설정될 수 있다. 예를 들어, 광원 디자인 파라미터는 가상 광원 이미지에 포함된 가상 광원의 경계부 추가, 광원 형태(패턴) 처리, 빛 번짐, 빛 갈라짐을 인공지능 학습 모델의 훈련에 적합한 형태로 조정하기 위한 다양한 값들을 포함할 수 있다. 일 실시예에 따르면, 505 동작은 선택적인(optional) 동작으로서 생략될 수 있다.According to an embodiment, in
일 실시예에 따르면, 507 동작에서, 전자 장치는 가상 광원 이미지를 제1 이미지(501)에 삽입하여 제1 출력 이미지(509)를 생성할 수 있다.According to an embodiment, in
일 실시예에 따르면, 511 동작에서, 전자 장치는 가상 광원 이미지를 제1 이미지(501)에 삽입할 수 있다. 일 실시예에 따르면, 511 동작과 507 동작은 동일한 동작일 수 있다. 예를 들어, 505 동작이 생략되는 경우, 507 동작과 511 동작은 단일 동작으로 수행될 수 있다.According to an embodiment, in
일 실시예에 따르면, 513 동작에서, 전자 장치는 가상 광원 이미지를 삽입한 제1 이미지(501)를 제1 필터 처리하여 제1 입력 이미지(515)를 생성할 수 있다. 일 실시예에 따르면, 제1 필터는 가상 광원 이미지를 삽입한 제1 이미지(501)를 실제의 촬영 이미지와 대응되도록 보정하기 위한 필터일 수 있다. 예를 들어, 제1 필터는 실제 카메라(220)를 통한 이미지 촬영 시 나타나는 효과(예: 회절 효과)를 가상 광원 이미지를 삽입한 제1 이미지(501)에 적용하기 위한 필터일 수 있다. 일 실시예에 따르면, 전자 장치는 상기 가상 광원 이미지를 상기 제1 이미지(501)에 삽입한 이후, 점 확산 함수(point spread function, PSF)를 이용하여(예: convolution 연산 사용) 상기 제1 필터 처리할 수 있다. 예를 들어, 전자 장치는 측정 데이터 또는 시뮬레이션을 기반으로 제1 필터를 처리할 PSF를 획득할 수 있다. According to an embodiment, in
일 실시예에 따르면, 전자 장치는 복수 개의 가상 광원 생성 파라미터를 적용하여 다양한 가상 광원 이미지를 생성함으로써, 하나의 이미지(예: 제1 이미지)에 대해 입력 이미지(예: 제1 입력 이미지) 또는 출력 이미지(예: 제1 출력 이미지)를 생성할 수 있다.According to an embodiment, the electronic device generates various virtual light source images by applying a plurality of virtual light source generation parameters, thereby generating an input image (eg, a first image) or an output for one image (eg, a first image). An image (eg, a first output image) may be generated.
일 실시예에 따르면, 전자 장치는 제1 입력 이미지(515) 및 제1 출력 이미지(509)를 인공지능 학습 모델의 제1 훈련 데이터 셋(517)으로 생성할 수 있다.According to an embodiment, the electronic device may generate the
일 실시예에 따르면, 전자 장치는 제2 이미지(519)를 획득할 수 있다. 예를 들어, 제2 이미지(519)는 전자 장치에 기 저장된 이미지, 외부 전자 장치로부터 수신한 이미지, 및/또는 크롤링(crawling)을 통하여 획득한 이미지를 포함할 수 있다. 예를 들어, 제2 이미지(519)는 제1 이미지(501)와 동일하거나, 또는 상이할 수 있다.According to an embodiment, the electronic device may acquire the
일 실시예에 따르면, 전자 장치는 제2 이미지(519)를 제2 출력 이미지(521)로 생성할 수 있다.According to an embodiment, the electronic device may generate the
일 실시예에 따르면, 523 동작에서, 전자 장치는 제2 이미지(519)를 제1 필터 처리하여 제2 입력 이미지(525)를 생성할 수 있다. 일 실시예에 따르면, 제1 필터는 제2 이미지(519)를 실제의 촬영 이미지와 대응되도록 보정하기 위한 필터일 수 있다. 예를 들어, 제1 필터는 실제 카메라를 통한 이미지 촬영 시 나타나는 효과(예: 회절 효과)를 제2 이미지(519)에 적용하기 위한 필터일 수 있다. 다양한 실시예에 따르면, 513 동작에서 적용하는 제1 필터와 523 동작에서 적용하는 제1 필터는 동일한 필터일 수도 있고, 상이한 필터일 수도 있다.According to an embodiment, in
일 실시예에 따르면, 전자 장치는 제2 입력 이미지(525) 및 제2 출력 이미지(521)를 인공지능 학습 모델의 제2 훈련 데이터 셋(517)으로 생성할 수 있다.According to an embodiment, the electronic device may generate the
일 실시예에 따르면, 전자 장치는 527 동작에서, 생성한 훈련 데이터 셋(517)을 인공지능 학습 모델에 제공할 수 있다. 다양한 실시예에 따르면, 전자 장치는 훈련 데이터 셋(517)(예: 제1 훈련 데이터 셋(제1 입력 이미지 및 제1 출력 이미지) 및/또는 제2 훈련 데이터 셋(제2 입력 이미지 및 제2 출력 이미지))을 이용하여 자체적으로 인공지능 학습 모델을 훈련 시키거나, 전자 장치 외부의 인공지능 학습 시스템을 통하여 인공지능 학습 모델을 훈련시킬 수 있다. 예를 들어, 전자 장치는 외부의 인공지능 학습 시스템에 생성한 훈련 데이터 셋(517)을 제공할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 전자 장치로부터 외부 전자 장치가 생성한 훈련 데이터 셋을 수신하고, 수신한 훈련 데이터 셋에 기반하여 인공지능 학습 모델을 훈련시킬 수도 있다. 일 실시예에 따르면, 전자 장치는 외부 전자 장치와 연동하여 인공지능 학습 모델을 훈련시킬 수도 있다. 예를 들어, 전자 장치가 외부 전자 장치와 인공지능 학습 시스템을 형성하는 경우, 전자 장치와 외부 전자 장치가 연동하여 인공지능 학습 모델을 훈련시킬 수 있다.According to an embodiment, in
일 실시예에 따르면, 전자 장치가 생성한 훈련 데이터 셋(517)을 기반으로 인공지능 학습 모델을 훈련하여 이미지 보상 모델(529)이 생성될 수 있다. 예를 들어, 전자 장치는 이미지 보상 모델(529)을 기반으로 카메라를 통하여 촬영한 이미지를 보상할 수 있다. 예를 들어, 전자 장치는 촬영한 이미지에서 빛의 회절에 따른 이미지의 손상 또는 변형을 보상할 수 있으며, 촬영한 이미지 내의 빛의 포화, 빛 번짐 또는 빛 갈라짐 현상을 보상할 수 있다.According to an embodiment, the
도 6은 일 실시예에 따른 전자 장치의 가상 광원 이미지 생성 동작을 설명하기 위한 도면이다. 일 실시예에 따르면, 도 6의 동작들은 도 5의 가상 광원 이미지 생성(503)을 수행하는 일 예시일 수 있다.6 is a diagram for explaining an operation of generating a virtual light source image of an electronic device according to an exemplary embodiment. According to an embodiment, the operations of FIG. 6 may be an example of generating the virtual
일 실시예에 따르면, 610 동작에서 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2a의 전자 장치(200a))는 가상 광원의 로우 이미지를 생성할 수 있다. 예를 들어, 전자 장치는 가상 광원을 포함하는 로우 이미지(660)를 생성할 수 있다. 이하의 설명에서는 편의를 위하여 이미지 내의 가상 광원의 일 영역(670)을 기준으로 설명한다.According to an embodiment, in
일 실시예에 따르면, 전자 장치는 베이어 도메인(Bayer domain)에서 상기 가상 광원의 로우 이미지를 생성할 수 있다. 예를 들어, 전자 장치는 실제 카메라(예: CMOS(complementary metal-oxide-semiconductor) / CCD(charge coupled device) 센서)를 이용하여 촬영하는 이미지와 유사하게 베이어 도메인에서 가상 광원의 초기 이미지를 생성할 수 있다. 예를 들어, 671과 같이 이미지 내에서 가상 광원의 경계가 형성될 수 있다.According to an embodiment, the electronic device may generate a raw image of the virtual light source in a Bayer domain. For example, an electronic device may generate an initial image of a virtual light source in the Bayer domain similar to an image captured using a real camera (eg, complementary metal-oxide-semiconductor (CMOS) / charge coupled device (CCD) sensor). can For example, a boundary of a virtual light source may be formed in the image as 671 .
일 실시예에 따르면, 620 동작에서, 전자 장치는 가상 광원의 로우 이미지를 지정된 대역 이하의 저역 통과 필터(low pass filter, LPF) 처리할 수 있다. 예를 들어, 672를 참고하면, 전자 장치는 LPF를 통하여 로우 이미지의 가상 광원에 실제의 카메라 촬영 시 렌즈 및/또는 광학적 구조에 따라 발생할 수 있는 블러링(blurring) 효과를 반영할 수 있다. According to an embodiment, in
일 실시예에 따르면, 630 동작에서, 전자 장치는 저역 통과 필터 처리한 이미지를 리사이징(resizing)할 수 있다. 예를 들어, 전자 장치는 가상 광원을 원하는 광원 사이즈에 대응되도록 리사이징할 수 있다. 예를 들어, 전자 장치는 지정된 거리에 대응하도록 가상 광원을 리사이징할 수 있다. 예를 들어, 전자 장치는 특정 거리에 있는 실제의 광원에 대응하도록 가상 광원을 리사이징할 수 있다. 예를 들어, 전자 장치는 가상 광원의 이미지 중 적어도 일부를 다운샘플링(downsampling)하여 가상 광원의 가장자리를 실제의 광원과 유사하게 처리할 수 있다. 예를 들어, 673과 유사하게, 전자 장치는 가상 광원의 가장자리 부분을 처리하여 직선에 가까운 형태로 형성하였던 가상 광원의 가장자리를 실제 촬영된 광원의 가장자리의 형태에 더 유사해지도록 변형할 수 있다.According to an embodiment, in
일 실시예에 따르면, 640 동작에서, 전자 장치는 리사이징한 이미지를 채색화(colorization), 베이어화(bayerization)할 수 있다. 예를 들어, 전자 장치는 그레이스케일(grayscale)을 가지는 이미지를 R, G, B 3채널로 변환하고 색상을 설정할 수 있다. 예를 들어, 전자 장치는 리상이징한 이미지를 RGB 색상을 가지는 이미지(674)로 변환할 수 있다.According to an embodiment, in
일 실시예에 따르면, 650 동작에서, 전자 장치는 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)할 수 있다. 예를 들어, 전자 장치는 디모자이싱을 수행하여 R, G, B 3-채널(channel)을 가지는 가상 광원 이미지(675)를 생성할 수 있다.According to an embodiment, in
일 실시예에 따르면, 전자 장치가 생성한 가상 광원 이미지에 포함된 가상 광원의 밝기는 지정된 밝기 기준보다 크게 설정될 수 있다. 예를 들어, 실제의 카메라를 통한 이미지 촬영 시에는 카메라의 성능 한계로 인하여 픽셀들의 밝기 포화 값이 존재할 수 있다. 예를 들어, 일 실시예에 따른 전자 장치는 가상의 광원을 포함하는 이미지를 생성하기 때문에, 가상 광원 이미지에 포함된 광원은 카메라의 성능과 무관하게 더 높은 밝기 값을 가질 수 있다. 일 실시예에 따르면, 가상 광원 이미지를 인공지능 학습 모델의 훈련 데이터로 활용함으로써, 실제의 이미지만을 훈련 데이터로 활용하는 경우보다 정교한 학습 모델의 생성이 가능할 수 있다.According to an embodiment, the brightness of the virtual light source included in the virtual light source image generated by the electronic device may be set to be greater than a specified brightness reference. For example, when an image is actually captured by a camera, brightness saturation values of pixels may exist due to a performance limitation of the camera. For example, since the electronic device according to an embodiment generates an image including a virtual light source, the light source included in the virtual light source image may have a higher brightness value regardless of camera performance. According to an embodiment, by using the virtual light source image as training data of the artificial intelligence learning model, it may be possible to generate a more sophisticated learning model than when only real images are used as training data.
다양한 실시예에 따르면, 전자 장치는 베이어 도메인뿐만 아니라 다른 도메인에서 다른 방식으로 학습을 위한 가상 조명을 생성할 수도 있다.According to various embodiments, the electronic device may generate virtual lighting for learning in a different manner in other domains as well as in the Bayer domain.
도 7은 일 실시예에 따른 전자 장치의 훈련 이미지 셋을 생성하는 동작을 설명하기 위한 도면이다.7 is a diagram for explaining an operation of generating a training image set of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2a의 전자 장치(200a))는 가상 광원 생성 알고리즘에 기반하여 인공지능 학습 모델의 훈련 데이터 셋(예: 입력 이미지(715)와 출력 이미지(735) 셋, 또는 입력 이미지(725)와 출력 이미지(745) 셋)을 생성할 수 있다. According to an embodiment, the electronic device (eg, the electronic device 101 of FIG. 1 or the
일 실시예에 따르면, 전자 장치는 가상 광원을 생성(711, 721)하고, 가상 광원을 임의의 이미지에 삽입(713, 723)하고, 가상 광원이 삽입된 이미지를 제1 필터 처리하여 입력 이미지(715, 725)를 생성할 수 있다. 일 실시예에 따르면, 제1 필터는 가상 광원 이미지에 실제의 광원을 촬영할 때 발생할 수 있는 빛의 회절로 인한 현상을 적용하기 위한 필터일 수 있다.According to an embodiment, the electronic device generates a virtual light source (711, 721), inserts the virtual light source into an arbitrary image (713, 723), and performs a first filter process on the image into which the virtual light source is inserted to obtain an input image ( 715, 725) can be created. According to an embodiment, the first filter may be a filter for applying a phenomenon due to diffraction of light that may occur when photographing an actual light source to the virtual light source image.
일 실시예에 따르면, 전자 장치는 가상 광원을 생성(731, 741)하고, 가상 광원을 제2 필터 처리(733, 743)하고, 제2 필터 처리한 가상 광원을 임의의 이미지에 삽입하여 출력 이미지(735, 745)를 생성할 수 있다.According to an embodiment, the electronic device generates a virtual light source (731, 741), performs a second filter process on the virtual light source (733, 743), and inserts the second filter-processed virtual light source into an arbitrary image to produce an output image (735, 745) can be created.
일 실시예에 따르면, 전자 장치는 생성한 입력 이미지 및 출력 이미지 쌍(pair) (예: 입력 이미지(715)와 출력 이미지(735) 셋, 또는 입력 이미지(725)와 출력 이미지(745) 셋)을 이미지 보상을 위한 인공지능 학습 모델의 훈련 데이터로 제공할 수 있다. 예를 들어, 전자 장치는 제1 형태의 가상 광원에 대한 제1 훈련 데이터 셋(입력 이미지(715) 및 출력 이미지(735))를 생성하거나, 또는 제2 형태의 가상 광원에 대한 제2 훈련 데이터 셋(입력 이미지(725) 및 출력 이미지(745))를 생성할 수 있다.According to an embodiment, the electronic device generates a pair of an input image and an output image (eg, three
일 실시예에 따르면, 전자 장치는 가상의 광원 이미지를 포함하는 훈련 데이터 셋(입력 이미지 및 출력 이미지)를 생성할 수 있기 때문에, 다양한 광원 및 다양한 파라미터에 대한 훈련 데이터 셋을 생성할 수 있다. 예를 들어, 전자 장치는 보다 적은 수의 촬영 데이터에 기반하여 무한정의 훈련 데이터 셋을 생성하고, 이를 기반으로 인공지능 학습 모델을 훈련시킴으로써, 훈련 효과를 최대화하고 더 정교하고 정확한 인공지능 학습 모델을 구현할 수 있다. 예를 들어, 전자 장치는 다양한 파라미터에 기반하여 복수 개의 가상 광원 이미지 및/또는 훈련 데이터 셋을 생성함으로써, 적은 수의 소스 이미지로부터 다량의 훈련 데이터를 생성할 수 있다. 일 실시예에 따르면, 전자 장치는 동일한 소스 이미지를 기반으로 가상의 광원을 포함하는 입력 이미지 및 출력 이미지 셋을 생성함으로써, 실제 촬영 이미지를 인공지능 학습 모델의 훈련 데이터로 이용할 때 발생할 수 있는 시차(disparity), 주변 환경에 따른 노이즈(노이즈 변화), 실 촬영 시의 움직임, 및/또는 카메라(220)(이미지 센서)의 한계(예: 광의 포화 값)로 인한 오차 및 문제점을 최소화할 수 있다.According to an embodiment, since the electronic device may generate a training data set (an input image and an output image) including a virtual light source image, it may generate a training data set for various light sources and various parameters. For example, an electronic device generates an infinite training data set based on a smaller number of shooting data and trains an AI learning model based on it, thereby maximizing the training effect and developing a more sophisticated and accurate AI learning model. can be implemented For example, the electronic device may generate a large amount of training data from a small number of source images by generating a plurality of virtual light source images and/or training data sets based on various parameters. According to an embodiment, by generating an input image and an output image set including a virtual light source based on the same source image, the electronic device generates a parallax ( disparity), noise (noise change) according to the surrounding environment, movement during actual shooting, and/or errors and problems caused by limitations (eg, light saturation value) of the camera 220 (image sensor) may be minimized.
일 실시예에 따른 전자 장치는, 통신 회로; 메모리; 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함할 수 있다.An electronic device according to an embodiment includes a communication circuit; Memory; and a processor operatively coupled to the memory.
일 실시예에 따르면, 상기 메모리는, 실행 시, 상기 프로세서가, 제1 이미지를 획득하고, 가상 광원 이미지를 생성하고, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하고, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성하고, 상기 제1 입력 이미지 및 상기 제1 출력 이미지를 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.According to an embodiment, the memory, when executed, causes the processor to acquire a first image, generate a virtual light source image, insert the virtual light source image into the first image to generate a first output image, , After inserting the virtual light source image into the first image, a first filter process is performed to generate a first input image, and an artificial intelligence learning model for compensating for an image with the first input image and the first output image. Instructions for generating the first training data set may be stored.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 가상 광원의 로우 이미지를 생성하고, 상기 로우 이미지를 지정된 대역 이하의 저역 통과 필터 처리하고, 상기 저역 통과 필터 처리한 이미지를 리사이징하고, 상기 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)하고, 상기 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)하여 상기 가상 광원 이미지를 생성하도록 할 수 있다.According to an embodiment, the instructions include, by the processor, generating a raw image of a virtual light source, low-pass filtering the raw image below a specified band, resizing the low-pass filter-processed image, and the resizing One image may be colorized and Bayerized, and the colored and Bayerized image may be demosaiced to generate the virtual light source image.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성하도록 할 수 있다.According to an embodiment, the instructions may cause the processor to generate a raw image of the virtual light source in a Bayer domain.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 제2 이미지를 획득하고, 상기 제2 이미지를 제2 출력 이미지로 생성하고, 상기 제2 이미지를 상기 제1 필터 처리하여 제2 입력 이미지를 생성하고, 상기 제2 입력 이미지 및 상기 제2 출력 이미지를 상기 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성하도록 할 수 있다.According to an embodiment, the instructions include, by the processor, obtaining a second image, generating the second image as a second output image, and processing the second image with the first filter to obtain a second input image and generate the second input image and the second output image as a second training data set of the artificial intelligence learning model.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 가상 광원 이미지를 제2 필터 처리하고, 상기 제2 필터 처리한 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하도록 할 수 있다.According to an embodiment, the instructions cause the processor to generate a first output image by second filtering the virtual light source image and inserting the second filtered virtual light source image into the first image. can
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 상기 가상 광원 이미지를 생성하도록 할 수 있다.According to an embodiment, the instructions may be configured by the processor based on at least one parameter of a size, color, intensity, shape, brightness, location, light spread, and degree of light splitting of the virtual light source. You can create a light source image.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 이후, 점 확산 함수(point spread function, PSF)를 이용하여 상기 제1 필터 처리하도록 할 수 있다.According to an embodiment, the instructions may cause the processor to process the first filter using a point spread function (PSF) after inserting the virtual light source image into the first image. .
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 훈련 데이터 셋으로부터 패턴을 인식하여 실제의 데이터에 적용할 수 있는 패턴 인식 알고리즘 중 적어도 하나를 기반으로 상기 인공지능 학습 모델을 훈련하도록 할 수 있다.According to an embodiment, the instructions may cause the processor to recognize a pattern from the training data set and train the AI learning model based on at least one of pattern recognition algorithms that can be applied to actual data. have.
일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 뉴럴 네트워크(neural network), 지지 벡터 머신(support vector machine, SVN), 은닉 마르코프 모델(hidden Markov model, HMM), 및 베이시안(Baysian) 중 적어도 하나를 포함하는 머신 러닝(machine learning) 중 적어도 하나를 기반으로 상기 인공지능 학습 모델을 훈련하도록 할 수 있다.According to an embodiment, the instructions include, by the processor, a neural network, a support vector machine (SVN), a hidden Markov model (HMM), and a Baysian. The artificial intelligence learning model may be trained based on at least one of machine learning including at least one.
일 실시에에 따른 전자 장치는, 디스플레이; 상기 디스플레이의 적어도 일부 영역의 아래에 배치되는 카메라; 통신 회로; 메모리; 및 상기 디스플레이, 상기 카메라, 상기 통신 회로, 및 상기 메모리와 작동적으로(opertavely) 연결되는 프로세서를 포함할 수 있다. 일 실시예에 따르면, 상기 메모리는, 실행 시, 상기 프로세서가, 상기 카메라를 이용하여 이미지를 캡쳐하고, 상기 캡쳐한 이미지를 인공지능 학습 모델을 기반으로 보상하도록 할 수 있다. 일 실시예에 따르면, 상기 인공지능 학습 모델은 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련될 수 있다.An electronic device according to an embodiment includes a display; a camera disposed under at least a partial area of the display; communication circuit; Memory; and a processor operatively coupled to the display, the camera, the communication circuitry, and the memory. According to an embodiment, when the memory is executed, the processor may capture an image using the camera and compensate the captured image based on an artificial intelligence learning model. According to an embodiment, the AI learning model may be trained based on a training data set including an input image and an output image generated using a virtual light source image.
도 8은 일 실시예에 따른 전자 장치의 인공지능 학습 모델 훈련 방법의 흐름도이다.8 is a flowchart of a method for training an artificial intelligence learning model of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 810 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2a의 전자 장치(200a))는 제1 이미지를 획득할 수 있다. 예를 들어, 제1 이미지는 전자 장치에 기 저장된 이미지, 외부 전자 장치로부터 수신한 이미지, 및/또는 크롤링(crawling)을 통하여 획득한 이미지를 포함할 수 있다. 예를 들어, 제1 이미지는 훈련 데이터 셋(예: 입력 이미지 및 출력 이미지)를 생성하기 위한 임의의 이미지를 포함할 수 있다.According to an embodiment, in
일 실시예에 따르면, 820 동작에서, 전자 장치는 가상 광원 이미지를 생성할 수 있다. 예를 들어, 프로세서는 가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 가상 광원 이미지를 생성할 수 있다. 일 실시예에 따르면, 상기 적어도 하나의 파라미터는 사용자의 입력에 따라 지정되거나, 프로세서에 의해 자동으로 지정될 수도 있다.According to an embodiment, in
일 실시예에 따르면, 830 동작에서, 전자 장치는 가상 광원 이미지를 제1 이미지에 삽입하여 제1 출력 이미지를 생성할 수 있다. 예를 들어, 제1 출력 이미지는 인공지능 학습 모델을 훈련시키기 위한 출력 데이터일 수 있다. 예를 들어, 제1 출력 이미지는 제1 입력 이미지가 입력된 경우 훈련된 인공지능 학습 모델을 통하여 획득하고자 하는 타겟 이미지일 수 있다. 일 실시예에 따르면, 전자 장치는 가상 광원 이미지를 제2 필터 처리하고, 제2 필터 처리한 가상 광원 이미지를 제1 이미지에 삽입하여 제1 출력 이미지를 생성할 수 있다. 예를 들어, 제2 필터는 실제 카메라를 통하여 광원을 촬영하는 경우와 유사하게 가상 광원 이미지를 보정하기 위한 필터일 수 있다.According to an embodiment, in
일 실시예에 따르면, 840 동작에서, 전자 장치는 가상 광원 이미지를 제1 이미지에 삽입하고 제1 필터 처리하여 제1 입력 이미지를 생성할 수 있다. 일 실시예에 따르면, 제1 필터는 가상 광원 이미지를 삽입한 제1 이미지를 실제의 촬영 이미지와 대응되도록 보정하기 위한 필터일 수 있다. 예를 들어, 제1 필터는 실제 카메라를 통한 이미지 촬영 시 나타나는 회절 효과를 가상 광원 이미지를 삽입한 제1 이미지에 적용하기 위한 필터일 수 있다. 예를 들어, 제1 입력 이미지는 인공지능 학습 모델을 훈련시키기 위한 입력 데이터일 수 있다.According to an embodiment, in
일 실시예에 따르면, 850 동작에서, 전자 장치는 제1 입력 이미지 및 제1 출력 이미지를 카메라를 통해 촬영된 이미지를 보상하기 위한 인공지능 학습 모델의 훈련 데이터 셋으로 생성 및/또는 제공할 수 있다. 예를 들어, 인공지능 학습 모델은 제1 입력 이미지가 입력된 경우 제1 출력 이미지가 도출되도록 훈련될 수 있다. 예를 들어, 인공지능 학습 모델은 제1 입력 이미지가 입력된 경우, 제1 출력 이미지와 유사한 결과 이미지가 도출되도록 훈련될 수 있다. 다양한 실시예에 따르면, 전자 장치는 훈련 데이터 셋(예: 제1 훈련 데이터 셋 및/또는 제2 훈련 데이터 셋)을 이용하여 자체적으로 인공지능 학습 모델을 훈련 시키거나, 전자 장치 외부의 인공지능 학습 시스템을 통하여 인공지능 학습 모델을 훈련시킬 수 있다. 예를 들어, 전자 장치는 통신 회로를 통하여 외부의 인공지능 학습 시스템에 생성한 훈련 데이터 셋을 제공할 수 있다.According to an embodiment, in
일 실시예에 따르면, 전자 장치는 상기 동작들과 별도로 가상 광원 이미지를 포함하지 않는 훈련 데이터 셋을 생성할 수 있다. 예를 들어, 전자 장치는 제2 이미지를 획득하고, 제2 이미지를 제2 출력 이미지로 생성하고, 제2 이미지를 제1 필터 처리하여 제2 입력 이미지를 생성할 수 있다. 예를 들어, 전자 장치는 제2 입력 이미지 및 제2 출력 이미지를 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성할 수 있다.According to an embodiment, the electronic device may generate a training data set that does not include a virtual light source image separately from the above operations. For example, the electronic device may acquire the second image, generate the second image as a second output image, and process the second image with a first filter to generate a second input image. For example, the electronic device may generate the second input image and the second output image as the second training data set of the AI learning model.
본 개시의 다양한 실시예들에 따르면, 이미지 보상을 위한 인공지능 학습 모델을 훈련시킴에 있어서, 실제의 측정 데이터(예: 카메라(220)를 통한 촬영 이미지)뿐만 아니라 합성 데이터(예: 합성 이미지)를 생성하여 훈련 데이터로 사용함으로써, 학습에 필요한 파라미터 값을 원하는 대로 설정하거나, 변경할 수 있기 때문에 인공지능 학습 모델의 훈련 효과를 증가시킬 수 있다. 본 개시의 다양한 실시예들에 따르면, 인공지능 학습 모델에 필요한 훈련 데이터 셋(예: 제1 입력 이미지 및 제1 출력 이미지)를 동일한 소스(예: 제1 이미지)로부터 생성함으로써, 실제 촬영 이미지를 인공지능 학습 모델의 훈련 데이터로 이용할 때 발생할 수 있는 시차(disparity), 주변 환경에 따른 노이즈(노이즈 변화), 실 촬영 시의 움직임, 및/또는 카메라(220)(이미지 센서)의 한계(예: 광의 포화 값)로 인한 오차 및 문제점을 최소화할 수 있다.According to various embodiments of the present disclosure, in training an artificial intelligence learning model for image compensation, not only actual measurement data (eg, an image captured by the camera 220 ) but also synthetic data (eg, a composite image) By generating and using as training data, the training effect of the AI learning model can be increased because the parameter values required for learning can be set or changed as desired. According to various embodiments of the present disclosure, by generating a training data set (eg, a first input image and a first output image) required for an artificial intelligence learning model from the same source (eg, a first image), an actual photographed image is generated Disparity that may occur when used as training data for an artificial intelligence learning model, noise (noise change) depending on the surrounding environment, movement during actual shooting, and/or limitations of the camera 220 (image sensor) (eg: It is possible to minimize errors and problems due to the saturation value of light).
도 9는 일 실시예에 따른 전자 장치의 가상 광원 이미지 생성 동작의 흐름도이다.9 is a flowchart of an operation of generating a virtual light source image of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 910 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2a의 전자 장치(200a))는 가상 광원의 로우 이미지를 생성할 수 있다. 일 실시예에 따르면, 프로세서는 베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성할 수 있다. According to an embodiment, in
일 실시예에 따르면, 920 동작에서, 전자 장치는 로우 이미지를 저역 통과 필터 처리할 수 있다. 예를 들어, 전자 장치는 LPF를 통하여 로우 이미지의 가상 광원에 실제의 카메라 촬영 시 렌즈 및/또는 광학적 구조에 따라 발생할 수 있는 블러링(blurring) 효과를 반영할 수 있다.According to an embodiment, in
일 실시예에 따르면, 930 동작에서, 전자 장치는 저역 통과 필터 처리한 이미지를 리사이징(resizing)할 수 있다. 예를 들어, 전자 장치는 특정 거리에 있는 실제의 광원에 대응하도록 가상 광원을 리사이징할 수 있다. 예를 들어, 전자 장치는 가상 광원의 이미지 중 적어도 일부를 다운샘플링(downsampling)하여 가상 광원의 가장자리를 실제의 광원과 유사하게 처리할 수 있다.According to an embodiment, in
일 실시예에 따르면, 940 동작에서, 전자 장치는 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)할 수 있다. . 예를 들어, 전자 장치는 그레이스케일(grayscale)을 가지는 이미지를 R, G, B 3채널로 변환하고 색상을 설정할 수 있다.According to an embodiment, in
일 실시예에 따르면, 950 동작에서, 전자 장치는 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)할 수 있다. 예를 들어, 전자 장치는 디모자이싱을 수행하여 최종적으로 R, G, B 3-채널(channel)을 가지는 가상 광원 이미지를 생성할 수 있다.According to an embodiment, in
다양한 실시예에 따르면, 상기 가상 광원 이미지를 생성하는 동작들 중 적어도 일부는 생략될 수 있다.According to various embodiments, at least some of the operations of generating the virtual light source image may be omitted.
도 10은 일 실시예에 따른 전자 장치의 이미지 보상 동작의 흐름도이다.10 is a flowchart of an image compensation operation of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 1010 동작에서, 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2b의 전자 장치(200b))는 카메라를 이용하여 이미지를 캡쳐할 수 있다. 일 실시예에 따르면, 전자 장치의 카메라는 전자 장치의 디스플레이의 적어도 일부 영역의 하부에 배치될 수 있다. 예를 들어, 카메라는 UDC(under display camera)일 수 있다.According to an embodiment, in
일 실시예에 따르면, 1020 동작에서, 전자 장치는 인공지능 학습 모델을 기반으로 이미지를 보상할 수 있다. 예를 들어, 인공지능 학습 모델은 이미지를 보상하기 위한 학습 모델일 수 있다. 일 실시예에 따르면, 인공지능 학습 모델은 외부 전자 장치(예: 도 2a의 전자 장치(200a))에 의해 도 8 내지 도 9에서 설명한 방식으로 훈련될 수 있다. 예를 들어, 전자 장치는 외부 전자 장치로부터 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련된 인공지능 학습 모델을 수신할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치로부터 수신한 인공지능 학습 모델에 기반하여 이미지를 보상할 수 있다.According to an embodiment, in operation 1020 , the electronic device may compensate an image based on the artificial intelligence learning model. For example, the AI learning model may be a learning model for rewarding an image. According to an embodiment, the AI learning model may be trained by an external electronic device (eg, the
본 개시의 다양한 실시예들에 따르면, 가상 광원을 포함하는 훈련 데이터 셋(예: 제1 입력 이미지 및 제1 출력 이미지)를 통하여 훈련된 이미지 보상을 위한 인공지능 학습 모델을 이용하여 이미지를 보상함으로써, 빛의 회절에 따른 이미지의 손상 또는 변형을 보상하고, 이미지의 퀄리티를 향상시킬 수 있다.According to various embodiments of the present disclosure, by compensating an image using an artificial intelligence learning model for image compensation trained through a training data set (eg, a first input image and a first output image) including a virtual light source, , it is possible to compensate for damage or deformation of an image due to diffraction of light, and to improve image quality.
일 실시예에 따른 전자 장치의 인공지능 학습 모델의 훈련 데이터 생성 방법은, 제1 이미지를 획득하는 동작; 가상 광원 이미지를 생성하는 동작; 상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하는 동작; 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성하는 동작; 및 상기 제1 입력 이미지 및 상기 제1 출력 이미지를 상기 카메라를 통해 촬영된 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하는 동작을 포함할 수 있다.According to an embodiment, a method for generating training data for an artificial intelligence learning model of an electronic device includes: acquiring a first image; generating a virtual light source image; inserting the virtual light source image into the first image to generate a first output image; inserting the virtual light source image into the first image and performing a first filter process to generate a first input image; and generating the first input image and the first output image as a first training data set of an artificial intelligence learning model for compensating for an image captured by the camera.
일 실시예에 따르면, 상기 가상 광원 이미지를 생성하는 동작은, 가상 광원의 로우(raw) 이미지를 생성하는 동작; 상기 로우 이미지를 지정된 대역 이하의 저역 통과 필터 처리하는 동작; 상기 저역 통과 필터 처리한 이미지를 리사이징하는 동작; 상기 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)하는 동작; 및 상기 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)하여 상기 가상 광원 이미지를 생성하는 동작을 포함할 수 있다.According to an embodiment, the generating of the virtual light source image may include generating a raw image of the virtual light source; processing the raw image with a low-pass filter of less than or equal to a specified band; resizing the low-pass filter-processed image; Colorization and Bayerization of the resized image; and demosaicing the colored and Bayer-ized images to generate the virtual light source image.
일 실시예에 따르면, 상기 가상 광원의 로우 이미지를 생성하는 동작은, 베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성하는 동작을 포함할 수 있다. According to an embodiment, the generating of the raw image of the virtual light source may include generating the raw image of the virtual light source in a Bayer domain.
일 실시예에 따르면, 상기 방법은, 제2 이미지를 획득하는 동작; 상기 제2 이미지를 제2 출력 이미지로 생성하는 동작; 상기 제2 이미지를 제1 필터 처리하여 제2 입력 이미지를 생성하는 동작; 및 상기 제2 입력 이미지 및 상기 제2 출력 이미지를 상기 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성하는 동작을 더 포함할 수 있다.According to an embodiment, the method includes: acquiring a second image; generating the second image as a second output image; generating a second input image by processing the second image with a first filter; and generating the second input image and the second output image as a second training data set of the artificial intelligence learning model.
일 실시예에 따르면, 상기 제1 출력 이미지를 생성하는 동작은, 상기 가상 광원 이미지를 제2 필터 처리하는 동작; 및 상기 제2 필터 처리한 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하는 동작을 포함할 수 있다.According to an embodiment, the generating of the first output image may include: second filtering the virtual light source image; and inserting the second filter-processed virtual light source image into the first image to generate a first output image.
일 실시예에 따르면, 상기 가상 광원 이미지를 생성하는 동작은, 가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 상기 가상 광원 이미지를 생성하는 동작을 포함할 수 있다.According to an embodiment, the generating of the virtual light source image is based on at least one parameter among the size, color, intensity, shape, brightness, location, light spread, and degree of light splitting of the virtual light source. and generating the virtual light source image.
일 실시예에 따르면, 상기 제1 입력 이미지를 생성하는 동작은, 상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 이후, 점 확산 함수(point spread function, PSF)를 이용하여 상기 제1 필터 처리하는 동작을 포함할 수 있다.According to an embodiment, the generating of the first input image includes inserting the virtual light source image into the first image and then processing the first filter using a point spread function (PSF). It can include actions.
일 실시예에 따르면, 상기 인공지능 학습 모델은, 상기 훈련 데이터 셋으로부터 패턴을 인식하여 실제의 데이터에 적용할 수 있는 패턴 인식 알고리즘 중 적어도 하나를 기반으로 훈련될 수 있다.According to an embodiment, the AI learning model may be trained based on at least one of pattern recognition algorithms that can recognize a pattern from the training data set and apply it to actual data.
일 실시예에 따르면, 상기 인공지능 학습 모델은, 뉴럴 네트워크(neural network), 지지 벡터 머신(support vector machine, SVN), 은닉 마르코프 모델(hidden Markov model, HMM), 및 베이시안(Baysian) 중 적어도 하나를 포함하는 머신 러닝(machine learning) 중 적어도 하나를 기반으로 훈련될 수 있다.According to an embodiment, the AI learning model is at least one of a neural network, a support vector machine (SVN), a hidden Markov model (HMM), and a Baysian. It may be trained based on at least one of machine learning including one.
일 실시예에 따른, 전자 장치의 이미지 보상 방법은, 상기 전자 장치의 카메라를 이용하여 이미지를 캡쳐하는 동작; 및 상기 캡쳐한 이미지를 인공지능 학습 모델을 기반으로 보상하는 동작을 포함할 수 있다. 일 실시예에 따르면, 상기 인공지능 학습 모델은 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련될 수 있다.According to an embodiment, an image compensation method of an electronic device includes: capturing an image using a camera of the electronic device; and compensating for the captured image based on an artificial intelligence learning model. According to an embodiment, the AI learning model may be trained based on a training data set including an input image and an output image generated using a virtual light source image.
도 11은 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2b의 전자 장치(200b))의 디스플레이(1200)의 평면도이다.11 is a plan view of a
일 실시예에 따르면, 디스플레이(1200)(예: 디스플레이 패널)는 가요성 기판을 포함할 수 있다. 일 실시예에 따른 전자 장치는 폴더블(foldable) 디스플레이, 롤러블(rollable) 디스플레이, 확장 가능한(extendable) 디스플레이, 플렉서블(flexible) 디스플레이와 같은 변형 가능한(deformable) 디스플레이를 포함할 수 있다.According to an embodiment, the display 1200 (eg, a display panel) may include a flexible substrate. The electronic device according to an embodiment may include a deformable display such as a foldable display, a rollable display, an extendable display, and a flexible display.
일 실시예에 따른 전자 장치의 디스플레이(1200)는 복수의 화소(PX)가 위치하는 표시 영역(DA) 및 이미지를 표시하지 않는 비표시 영역(NA)을 포함할 수 있다. 예를 들어, 비표시 영역(NA)은 표시 영역(DA)을 둘러싸며 위치할 수 있다. 다양한 실시예에 따르면, 도 11에 도시된 바와 달리, 비표시 영역(NA)은 표시 영역(DA)의 가장자리의 적어도 일부와 접하지 않을 수도 있다.The
일 실시예에 따르면, 표시 영역(DA)은 제1 표시 영역(DA1) 및 제2 표시 영역(DA2)을 포함할 수 있다. 일 실시예에 따르면, 제1 표시 영역(DA1) 아래에는 카메라 모듈이 배치될 수 있다. 일 실시예에 따르면, 디스플레이(1200)의 제1 표시 영역(DA1)의 적어도 일부는 카메라 모듈과 제1 방향(Dr1)으로 중첩할 수 있다. 예를 들어, 제1 표시 영역(DA1)은 카메라 모듈(미도시)의 화각 및/또는 디스플레이(1200)과 카메라 모듈 사이의 거리에 의해 결정될 수 있다. 제1 표시 영역(DA1)은 카메라 모듈로 입사하는 광이 투과하는 표시 영역(DA)의 일부 영역일 수 있다.According to an embodiment, the display area DA may include a first display area DA1 and a second display area DA2. According to an embodiment, a camera module may be disposed under the first display area DA1. According to an embodiment, at least a portion of the first display area DA1 of the
예를 들어, 카메라 모듈은 컬러 이미지를 획득하는 컬러 카메라일 수 있다. 예를 들어, 카메라 모듈은 제1 이미지 센서를 포함할 수 있다. 일 실시 예에서, 카메라 모듈의 제1 이미지 센서는 제1 색을 나타내는 파장대의 광만 투과시키는 제1 컬러 필터, 제2 색을 나타내는 파장대의 광만 투과시키는 제2 컬러 필터 및/또는 제3 색을 나타내는 파장대의 광만 투과시키는 제3 컬러 필터를 포함할 수 있다. 카메라 모듈의 제1 이미지 센서는 3원색으로 분해한 색도 신호를 추출할 수 있다. 예를 들어, 제1 색은 적색이고, 제2 색은 녹색이고, 제3 색은 청색일 수 있다. 다양한 실시예에 따르면, 전자 장치는 카메라를 추가로 더 포함할 수도 있다. 예를 들어, 일 실시예에 따른 전자 장치는 흑백 카메라, 및/또는 TOF(time of flight) 센서를 포함하는 카메라를 더 포함할 수도 있다.For example, the camera module may be a color camera that acquires a color image. For example, the camera module may include a first image sensor. In an embodiment, the first image sensor of the camera module may include a first color filter that transmits only light in a wavelength band representing the first color, a second color filter that transmits only light in a wavelength band representing the second color, and/or a third color A third color filter that transmits only light in a wavelength band may be included. The first image sensor of the camera module may extract a chromaticity signal decomposed into three primary colors. For example, the first color may be red, the second color may be green, and the third color may be blue. According to various embodiments, the electronic device may further include a camera. For example, the electronic device according to an embodiment may further include a black-and-white camera and/or a camera including a time of flight (TOF) sensor.
일 실시 예에 따르면, 제2 표시 영역(DA2)은 표시 영역(DA)에서 제1 표시 영역(DA1)을 제외한 나머지 영역일 수 있다. 예를 들어, 제1 표시 영역(DA1)은 제2 표시 영역(DA2)에 의해 둘러싸일 수 있다. 일 실시예에 따른 전자 장치에서, 제1 방향(Dr1)에서 볼 때, 카메라 모듈과 중첩하는 제1 표시 영역(DA1)에 적어도 하나의 화소(PX)가 위치할 수 있다. According to an embodiment, the second display area DA2 may be the remaining area of the display area DA except for the first display area DA1. For example, the first display area DA1 may be surrounded by the second display area DA2 . In the electronic device according to an embodiment, when viewed in the first direction Dr1 , at least one pixel PX may be located in the first display area DA1 overlapping the camera module.
일 실시 예에 따르면, 화소(PX)는 이미지를 표시하는 최소 단위일 수 있다. 예를 들어, 화소(PX)는 적색 부화소(미도시), 녹색 부화소(미도시) 또는 청색 부화소(미도시) 중 적어도 하나를 포함하여 컬러 화상을 표시할 수 있다. 또 다른 예로, 복수의 화소(PX)는 적색 부화소 및 청색 부화소가 동일 열에 교번하여 위치하고, 인접 열에 녹색 부화소가 위치하는 RGBG 펜타일(pentile) 구조를 포함할 수 있다. 그러나, 이에 한정되지 않고, 복수의 화소(PX)는 RGB 스트라이프 구조를 포함할 수도 있다.According to an embodiment, the pixel PX may be a minimum unit for displaying an image. For example, the pixel PX may display a color image including at least one of a red sub-pixel (not shown), a green sub-pixel (not shown), or a blue sub-pixel (not shown). As another example, the plurality of pixels PX may include an RGBG pentile structure in which red subpixels and blue subpixels are alternately positioned in the same column and green subpixels are positioned in adjacent columns. However, the present invention is not limited thereto, and the plurality of pixels PX may include an RGB stripe structure.
다양한 실시예에 따르면, 전자 장치의 구조는 도 11에 도시된 것에 한정되는 것은 아니며, 전자 장치의 구조 및 구성 요소들의 배치는 변경될 수 있다.According to various embodiments, the structure of the electronic device is not limited to that illustrated in FIG. 11 , and the structure and arrangement of components of the electronic device may be changed.
도 12는 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2b의 전자 장치(200b))의 제1 표시 영역(DA1)의 단면도이다. 12 is a cross-sectional view of a first display area DA1 of an electronic device (eg, the electronic device 101 of FIG. 1 or the
일 실시예에 따른 전자 장치는 윈도우(1250), 디스플레이(1200) (예: 디스플레이 패널) 및/또는 디스플레이(1200)의 아래에 위치하는 카메라 모듈(1260)을 포함할 수 있다. 디스플레이(1200)은 기판(1210), 제1 차광 부재(1290), 화소 회로층(1220), 유기 발광층(1230) 및/또는 봉지층(1240)을 포함할 수 있다. The electronic device according to an embodiment may include a
기판(1210)은 표시 영역(DA)의 전면에 위치할 수 있다. 예를 들어, 기판(1210)은 제1 표시 영역(DA1) 및 제2 표시 영역(DA2)에 위치할 수 있다. 기판(1210)은 투명한 물질을 포함하여 광이 투과할 수 있다. 예를 들어, 기판(1210)은 PET(polyethylene terephthalate)를 포함할 수 있다. 다른 예를 들어, 기판(1210)은 PI(polyimide) 또는 유리를 포함할 수도 있다.The
기판(1210) 위에는 화소 회로층(1220)이 위치할 수 있다. 화소 회로층(1220)은 화소 구동을 위한 신호를 전달하는 배선들(미도시), 복수의 트랜지스터들(미도시) 및/또는 층간 절연막(미도시)을 포함할 수 있다. 화소 회로층(1220)은 제1 표시 영역(DA1)에서 투과 영역(TA)에는 위치하지 않을 수 있다. 화소 회로층(1220)은 제1 방향(Dr1)에서 볼 때, 제1 표시 영역(DA1)의 투과 영역(TA)과 중첩되는 위치에는 배치되지 않을 수 있다. 화소 회로층(1220)은, 제2 표시 영역(DA2)에 위치할 수 있고, 투과 영역(TA)을 제외한 제1 표시 영역(DA1)에 위치할 수 있다. 화소 회로층(1220)은 제1 방향(Dr1)에서 볼 때, 제1 표시 영역(DA1)의 투과 영역(TA)과 중첩되지 않는 제1 표시 영역(DA1)에 위치할 수 있다. 그러나, 실시예에 따라서는, 디스플레이(1200)의 투과 영역(TA)에 화소 회로층(1220)의 일부 구성이 위치할 수도 있다. A
일 실시예에 따르면, 제1 표시 영역(DA1)에는, 기판(1210) 및 화소 회로층(1220) 사이에 위치하는 제1 차광 부재(1290)가 위치할 수 있다. 예를 들어, 제1 차광 부재(1290)는 플로팅(floating)되어 화소 회로층(1220)과 전기적으로 연결되지 않을 수 있다. 제1 차광 부재(1290)는 제1 차광 부재(1290)를 제1 방향(Dr1)으로 관통하는 복수의 제1 오프닝들(OP1)을 포함할 수 있다. According to an embodiment, a first
화소 회로층(1220) 위에는 유기 발광층(1230)이 위치할 수 있다. 예를 들어, 유기 발광층(1230)은 저분자 유기물 또는 PEDOT(Poly 3,4-ethylenedioxythiophene)와 같은 고분자 유기물을 포함할 수 있다. 또 다른 예로, 유기 발광층(1230)은 정공 주입층(hole injection layer, HIL), 정공 수송층(hole transporting layer, HTL), 전자 수송층(electron transporting layer, ETL), 또는 전자 주입층(electron injection layer, EIL) 중 하나 이상을 더 포함하는 다중막일 수 있다. 유기 발광층(1230)은 제1 색을 발광하는 제1 유기 발광층(1231), 제2 색을 발광하는 제2 유기 발광층(1232) 및/또는 제3 색을 발광하는 제3 유기 발광층(1233)을 포함할 수 있다. 유기 발광층(1230)은 제1 표시 영역(DA1)의 투과 영역(TA)에는 위치하지 않을 수 있다. 유기 발광층(1230)은 제1 방향(Dr1)에서 볼 때, 제1 표시 영역(DA1)의 투과 영역(TA)과 중첩되는 위치에는 배치되지 않을 수 있다. 유기 발광층(1230)은 제1 방향(Dr1)에서 볼 때, 제1 표시 영역(DA1)의 투과 영역(TA)과 중첩되지 않는 제1 표시 영역(DA1)에 위치할 수 있다. 유기 발광층(1230)은, 제2 표시 영역(DA2)에 위치할 수 있고, 투과 영역(TA)을 제외한 제1 표시 영역(DA1)에 위치할 수 있다. 제1 표시 영역(DA1)의 유기 발광층(1030)의 밀도(단위 면적 내에 유기 발광층이 차지하는 면적)는 제2 표시 영역(DA2)의 유기 발광층의 밀도와 다를 수 있다. 하나 실시예로, 제1 표시 영역(DA1)의 유기 발광층(1030)의 밀도는 제2 표시 영역(DA2)의 유기 발광층의 밀도보다 낮을 수 있다.An
유기 발광층(1230) 위에는 봉지층(1240)이 위치할 수 있다. 봉지층(1240)은 화소 회로층(1220) 및 유기 발광층(1230)을 덮어 밀봉할 수 있다. 예를 들어, 유기 발광 다이오드(OLED)는 수분과 산소에 매우 취약하므로, 봉지층(1240)이 화소 회로층(1220) 및 유기 발광층(1230)을 밀봉하여 외부의 수분 및 산소의 유입을 차단할 수 있다. 일 실시 예에서, 봉지층(1240)은 복수의 층을 포함할 수 있다. 예를 들어, 봉지층(1240)은 무기막과 유기막을 모두 포함하는 복합막을 포함할 수 있다. 또 다른 예로, 봉지층(1240)은 무기막, 유기막, 무기막이 순차적으로 배치된 3중층을 포함할 수 있다. An
봉지층(1240) 위에는 윈도우(1250)가 위치할 수 있다. 윈도우(1250)는 투명할 수 있고, 광을 투과 시킬 수 있다. 예를 들어, 윈도우(1250)는 강화 유리, 또는 강화 플라스틱 또는 구부러질 수 있는(flexible) 고분자 소재를 포함할 수 있다. 윈도우(1250)는 투명 접착층(미도시)에 의해 디스플레이(1200)에 부착될 수 있다. 실시예에 따라서는, 윈도우(1250)는 복수의 층을 포함할 수 있다. 일 실시예에 따른 전자 장치는 윈도우(1250)의 일 면에 위치하는 코팅층(또는, 보호층)을 더 포함할 수도 있다. 실시예에 따라서는, 디스플레이(1200)은 봉지층(1240) 위에 위치하는 컬러 필터층(미도시)을 더 포함할 수도 있다. A
카메라 모듈(1260)은 디스플레이(1200) 아래에 위치할 수 있다. 제1 방향(Dr1)에서 볼 때(또는, 디스플레이(1200)의 위에서 볼 때), 카메라 모듈(1260)은 디스플레이(1200)의 제1 표시 영역(DA1)과 중첩할 수 있다. 카메라 모듈(1260)은 디스플레이(1200)의 제1 표시 영역(DA1)을 투과하는 광을 이용하여 이미지를 획득할 수 있다. 일 실시 예에서, 카메라 모듈(1260)은 컬러 이미지를 획득하는 컬러 카메라일 수 있다. 예를 들어, 카메라 모듈(1260)은 제1 이미지 센서를 포함할 수 있고, 제1 이미지 센서는 컬러 필터를 포함할 수 있다.The
다양한 실시예에 따르면, 전자 장치의 구조는 도 12에 도시된 것에 한정되는 것은 아니며, 전자 장치(예: 디스플레이)의 구조 및 구성 요소들의 배치는 변경될 수 있다.According to various embodiments, the structure of the electronic device is not limited to that illustrated in FIG. 12 , and the structure and arrangement of components of the electronic device (eg, display) may be changed.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.
Claims (20)
통신 회로;
메모리; 및
상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
상기 메모리는, 실행 시, 상기 프로세서가,
제1 이미지를 획득하고,
가상 광원 이미지를 생성하고,
상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하고,
상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성하고,
상기 제1 입력 이미지 및 상기 제1 출력 이미지를 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하도록 하는 인스트럭션들(instructions)을 저장하는 전자 장치.
In an electronic device,
communication circuit;
Memory; and
a processor operatively coupled to the memory;
The memory, when executed, the processor,
acquiring a first image,
create a virtual light image,
inserting the virtual light source image into the first image to generate a first output image,
After inserting the virtual light source image into the first image, a first filter process is performed to generate a first input image,
An electronic device for storing the instructions for generating the first input image and the first output image as a first training data set of an artificial intelligence learning model for compensating an image.
상기 인스트럭션들은, 상기 프로세서가,
가상 광원의 로우 이미지를 생성하고,
상기 로우 이미지를 지정된 대역 이하의 저역 통과 필터 처리하고,
상기 저역 통과 필터 처리한 이미지를 리사이징하고,
상기 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)하고,
상기 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)하여 상기 가상 광원 이미지를 생성하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
create a raw image of the virtual light source,
Low-pass filter processing for the raw image below a specified band,
Resizing the low-pass filter-processed image,
Colorization and Bayerization of the resized image,
An electronic device for generating the virtual light source image by demosaicing the colored and Bayer-ized images.
상기 인스트럭션들은, 상기 프로세서가,
베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성하도록 하는 전자 장치.
3. The method according to claim 2,
The instructions, the processor,
An electronic device for generating a raw image of the virtual light source in a Bayer domain.
상기 인스트럭션들은, 상기 프로세서가,
제2 이미지를 획득하고,
상기 제2 이미지를 제2 출력 이미지로 생성하고,
상기 제2 이미지를 상기 제1 필터 처리하여 제2 입력 이미지를 생성하고,
상기 제2 입력 이미지 및 상기 제2 출력 이미지를 상기 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
acquiring a second image;
generating the second image as a second output image;
generating a second input image by processing the second image with the first filter;
An electronic device configured to generate the second input image and the second output image as a second training data set of the artificial intelligence learning model.
상기 인스트럭션들은, 상기 프로세서가,
상기 가상 광원 이미지를 제2 필터 처리하고,
상기 제2 필터 처리한 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
processing the virtual light source image with a second filter,
An electronic device for generating a first output image by inserting the virtual light source image processed by the second filter into the first image.
상기 인스트럭션들은, 상기 프로세서가,
가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 상기 가상 광원 이미지를 생성하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
An electronic device configured to generate the virtual light source image based on at least one parameter of a size, color, intensity, shape, brightness, position, light spread, and degree of light splitting of the virtual light source.
상기 인스트럭션들은, 상기 프로세서가,
상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 이후, 점 확산 함수(point spread function, PSF)를 이용하여 상기 제1 필터 처리하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
After inserting the virtual light source image into the first image, the electronic device performs the first filter process using a point spread function (PSF).
상기 인스트럭션들은, 상기 프로세서가,
상기 훈련 데이터 셋으로부터 패턴을 인식하여 실제의 데이터에 적용할 수 있는 패턴 인식 알고리즘 중 적어도 하나를 기반으로 상기 인공지능 학습 모델을 훈련하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
An electronic device that recognizes a pattern from the training data set and trains the AI learning model based on at least one of pattern recognition algorithms that can be applied to actual data.
상기 인스트럭션들은, 상기 프로세서가,
뉴럴 네트워크(neural network), 지지 벡터 머신(support vector machine, SVN), 은닉 마르코프 모델(hidden Markov model, HMM), 및 베이시안(Baysian) 중 적어도 하나를 포함하는 머신 러닝(machine learning) 중 적어도 하나를 기반으로 상기 인공지능 학습 모델을 훈련하도록 하는 전자 장치.
The method according to claim 1,
The instructions, the processor,
At least one of a neural network, a support vector machine (SVN), a hidden Markov model (HMM), and a machine learning comprising at least one of a Baysian. An electronic device for training the artificial intelligence learning model based on
제1 이미지를 획득하는 동작;
가상 광원 이미지를 생성하는 동작;
상기 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하는 동작;
상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 후, 제1 필터 처리하여 제1 입력 이미지를 생성하는 동작; 및
상기 제1 입력 이미지 및 상기 제1 출력 이미지를 상기 카메라를 통해 촬영된 이미지를 보상하기 위한 인공지능 학습 모델의 제1 훈련 데이터 셋으로 생성하는 동작을 포함하는 방법.
A method for generating training data for an artificial intelligence learning model of an electronic device, the method comprising:
acquiring a first image;
generating a virtual light source image;
inserting the virtual light source image into the first image to generate a first output image;
inserting the virtual light source image into the first image and then performing a first filter process to generate a first input image; and
and generating the first input image and the first output image as a first training data set of an artificial intelligence learning model for compensating for an image captured by the camera.
상기 가상 광원 이미지를 생성하는 동작은,
가상 광원의 로우(raw) 이미지를 생성하는 동작;
상기 로우 이미지를 지정된 대역 이하의 저역 통과 필터 처리하는 동작;
상기 저역 통과 필터 처리한 이미지를 리사이징하는 동작;
상기 리사이징한 이미지를 채색화(colorization) 및 베이어화(bayerization)하는 동작; 및
상기 채색화 및 베이어화한 이미지를 디모자이싱(demosaicing)하여 상기 가상 광원 이미지를 생성하는 동작을 포함하는 방법.
11. The method of claim 10,
The operation of generating the virtual light source image includes:
generating a raw image of the virtual light source;
processing the raw image with a low-pass filter of less than or equal to a specified band;
resizing the low-pass filter-processed image;
Colorization and Bayerization of the resized image; and
and demosaicing the colored and Bayer-ized images to generate the virtual light source image.
상기 가상 광원의 로우 이미지를 생성하는 동작은, 베이어(Bayer) 도메인(domain)에서 상기 가상 광원의 로우 이미지를 생성하는 동작을 포함하는 방법.
12. The method of claim 11,
The generating of the raw image of the virtual light source includes generating a raw image of the virtual light source in a Bayer domain.
제2 이미지를 획득하는 동작;
상기 제2 이미지를 제2 출력 이미지로 생성하는 동작;
상기 제2 이미지를 제1 필터 처리하여 제2 입력 이미지를 생성하는 동작; 및
상기 제2 입력 이미지 및 상기 제2 출력 이미지를 상기 인공지능 학습 모델의 제2 훈련 데이터 셋으로 생성하는 동작을 더 포함하는 방법.
11. The method of claim 10,
acquiring a second image;
generating the second image as a second output image;
generating a second input image by processing the second image with a first filter; and
The method further comprising generating the second input image and the second output image as a second training data set of the artificial intelligence learning model.
상기 제1 출력 이미지를 생성하는 동작은,
상기 가상 광원 이미지를 제2 필터 처리하는 동작; 및
상기 제2 필터 처리한 가상 광원 이미지를 상기 제1 이미지에 삽입하여 제1 출력 이미지를 생성하는 동작을 포함하는 방법.
11. The method of claim 10,
The operation of generating the first output image includes:
processing the virtual light source image with a second filter; and
and inserting the second filter-processed virtual light source image into the first image to generate a first output image.
상기 가상 광원 이미지를 생성하는 동작은,
가상 광원의 크기, 색상, 강도(intensity), 모양, 밝기, 위치, 빛 번짐, 및 빛 갈라짐의 정도 중 적어도 하나의 파라미터에 기반하여 상기 가상 광원 이미지를 생성하는 동작을 포함하는 방법.
11. The method of claim 10,
The operation of generating the virtual light source image includes:
and generating the virtual light source image based on at least one parameter selected from the group consisting of size, color, intensity, shape, brightness, location, light spreading, and light splitting of the virtual light source.
상기 제1 입력 이미지를 생성하는 동작은,
상기 가상 광원 이미지를 상기 제1 이미지에 삽입한 이후, 점 확산 함수(point spread function, PSF)를 이용하여 상기 제1 필터 처리하는 동작을 포함하는 방법.
11. The method of claim 10,
The operation of generating the first input image includes:
and inserting the virtual light source image into the first image and then performing the first filter processing using a point spread function (PSF).
상기 인공지능 학습 모델은, 상기 훈련 데이터 셋으로부터 패턴을 인식하여 실제의 데이터에 적용할 수 있는 패턴 인식 알고리즘 중 적어도 하나를 기반으로 훈련되는 방법.
11. The method of claim 10,
The artificial intelligence learning model is trained based on at least one of pattern recognition algorithms that can be applied to actual data by recognizing a pattern from the training data set.
상기 인공지능 학습 모델은, 뉴럴 네트워크(neural network), 지지 벡터 머신(support vector machine, SVN), 은닉 마르코프 모델(hidden Markov model, HMM), 및 베이시안(Baysian) 중 적어도 하나를 포함하는 머신 러닝(machine learning) 중 적어도 하나를 기반으로 훈련되는 방법.
11. The method of claim 10,
The artificial intelligence learning model is machine learning including at least one of a neural network, a support vector machine (SVN), a hidden Markov model (HMM), and a Baysian. A method that is trained based on at least one of (machine learning).
디스플레이;
상기 디스플레이의 적어도 일부 영역의 아래에 배치되는 카메라;
통신 회로;
메모리; 및
상기 디스플레이, 상기 카메라, 상기 통신 회로, 및 상기 메모리와 작동적으로(opertavely) 연결되는 프로세서를 포함하고,
상기 메모리는, 실행 시, 상기 프로세서가,
상기 카메라를 이용하여 이미지를 캡쳐하고,
상기 캡쳐한 이미지를 인공지능 학습 모델을 기반으로 보상하도록 하고,
상기 인공지능 학습 모델은 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련된 전자 장치.
In an electronic device,
display;
a camera disposed under at least a partial area of the display;
communication circuit;
Memory; and
a processor operatively coupled with the display, the camera, the communication circuitry, and the memory;
The memory, when executed, the processor,
Capture an image using the camera,
to compensate the captured image based on an artificial intelligence learning model,
The artificial intelligence learning model is an electronic device trained based on a training data set including an input image and an output image generated using a virtual light source image.
상기 전자 장치의 카메라를 이용하여 이미지를 캡쳐하는 동작; 및
상기 캡쳐한 이미지를 인공지능 학습 모델을 기반으로 보상하는 동작을 포함하고,
상기 인공지능 학습 모델은 가상 광원 이미지를 이용하여 생성된 입력 이미지 및 출력 이미지를 포함하는 훈련 데이터 셋을 기반으로 훈련된 방법.A method for compensating an image of an electronic device, the method comprising:
capturing an image using a camera of the electronic device; and
Compensating the captured image based on an artificial intelligence learning model,
The artificial intelligence learning model is trained based on a training data set including an input image and an output image generated using a virtual light source image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200094808A KR20220014764A (en) | 2020-07-29 | 2020-07-29 | Electronic device and method for generating training data of artificial intelligence learning model thereof |
PCT/KR2021/007194 WO2022025413A1 (en) | 2020-07-29 | 2021-06-09 | Electronic device and method for generating training data of artificial intelligence learning model by electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200094808A KR20220014764A (en) | 2020-07-29 | 2020-07-29 | Electronic device and method for generating training data of artificial intelligence learning model thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20220014764A true KR20220014764A (en) | 2022-02-07 |
Family
ID=80036495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200094808A KR20220014764A (en) | 2020-07-29 | 2020-07-29 | Electronic device and method for generating training data of artificial intelligence learning model thereof |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20220014764A (en) |
WO (1) | WO2022025413A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102388581B1 (en) | 2022-02-25 | 2022-04-21 | 지성산업 주식회사 | Artificial Intelligence deep learning applied NFT-based image processing method and its chapter |
KR102519094B1 (en) * | 2022-10-18 | 2023-04-14 | 주식회사 페블러스 | An electronic device for providing a virtual environment for generating synthetic data, a method of operating the electronic device, and a system including the electronic device |
US11722796B2 (en) | 2021-02-26 | 2023-08-08 | Samsung Electronics Co., Ltd. | Self-regularizing inverse filter for image deblurring |
US11721001B2 (en) | 2021-02-16 | 2023-08-08 | Samsung Electronics Co., Ltd. | Multiple point spread function based image reconstruction for a camera behind a display |
US11954833B2 (en) | 2021-04-02 | 2024-04-09 | Samsung Electronics Co., Ltd | Electronic device for supporting machine learning-based image processing |
WO2024085414A1 (en) * | 2022-10-17 | 2024-04-25 | 삼성전자주식회사 | Electronic device and control method thereof |
WO2024085422A1 (en) * | 2022-10-18 | 2024-04-25 | 삼성전자 주식회사 | Electronic device, method for operating electronic device, and image editing system |
WO2024085552A1 (en) * | 2022-10-18 | 2024-04-25 | 주식회사 페블러스 | Electronic device for providing virtual environment for generating synthetic data, operation method of electronic device, and system comprising electronic device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117082359B (en) * | 2023-10-16 | 2024-04-19 | 荣耀终端有限公司 | Image processing method and related equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6742231B2 (en) * | 2016-12-09 | 2020-08-19 | キヤノン株式会社 | Image processing apparatus and method, and imaging apparatus |
US10430978B2 (en) * | 2017-03-02 | 2019-10-01 | Adobe Inc. | Editing digital images utilizing a neural network with an in-network rendering layer |
KR102166547B1 (en) * | 2018-10-31 | 2020-10-16 | 한국전력공사 | System and method for predicting information based on images |
JP6696095B1 (en) * | 2018-11-07 | 2020-05-20 | エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd | Image processing device, imaging device, image processing method, and program |
US11295514B2 (en) * | 2018-11-16 | 2022-04-05 | Nvidia Corporation | Inverse rendering of a scene from a single image |
-
2020
- 2020-07-29 KR KR1020200094808A patent/KR20220014764A/en unknown
-
2021
- 2021-06-09 WO PCT/KR2021/007194 patent/WO2022025413A1/en active Application Filing
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11721001B2 (en) | 2021-02-16 | 2023-08-08 | Samsung Electronics Co., Ltd. | Multiple point spread function based image reconstruction for a camera behind a display |
US11722796B2 (en) | 2021-02-26 | 2023-08-08 | Samsung Electronics Co., Ltd. | Self-regularizing inverse filter for image deblurring |
US11954833B2 (en) | 2021-04-02 | 2024-04-09 | Samsung Electronics Co., Ltd | Electronic device for supporting machine learning-based image processing |
KR102388581B1 (en) | 2022-02-25 | 2022-04-21 | 지성산업 주식회사 | Artificial Intelligence deep learning applied NFT-based image processing method and its chapter |
WO2024085414A1 (en) * | 2022-10-17 | 2024-04-25 | 삼성전자주식회사 | Electronic device and control method thereof |
KR102519094B1 (en) * | 2022-10-18 | 2023-04-14 | 주식회사 페블러스 | An electronic device for providing a virtual environment for generating synthetic data, a method of operating the electronic device, and a system including the electronic device |
WO2024085422A1 (en) * | 2022-10-18 | 2024-04-25 | 삼성전자 주식회사 | Electronic device, method for operating electronic device, and image editing system |
WO2024085552A1 (en) * | 2022-10-18 | 2024-04-25 | 주식회사 페블러스 | Electronic device for providing virtual environment for generating synthetic data, operation method of electronic device, and system comprising electronic device |
Also Published As
Publication number | Publication date |
---|---|
WO2022025413A1 (en) | 2022-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20220014764A (en) | Electronic device and method for generating training data of artificial intelligence learning model thereof | |
KR20220080663A (en) | Method, electronic apparatus and storage medium for controlling optical sensor based on strain information of stretchable display | |
US20230260439A1 (en) | Method, electronic device, and storage medium for controlling optical sensor on basis of tensile information of stretchable display | |
US11706532B2 (en) | Method for providing image and electronic device supporting the same | |
EP4325590A1 (en) | Electronic device comprising display having diffuse reflection structure | |
US20230214632A1 (en) | Method for processing image through neural network and electronic device thereof | |
US20230082406A1 (en) | Electronic device including camera and method for operating the same | |
US20230217793A1 (en) | Display panel for under display camera and electronic device including the same | |
US20230121758A1 (en) | Method for providing image and electronic device supporting the same | |
US20230154131A1 (en) | Electronic device for generating image and method thereof | |
KR20230026921A (en) | Method for providing image and electronic device supporting the same | |
KR20230050617A (en) | Method for providing image and electronic devcie supporting the same | |
KR20230018957A (en) | An electronic device for improving image quality deterioration due to diffraction and control method thereof | |
KR20240035277A (en) | Display panel and electronic device including light control material | |
KR20240043025A (en) | Method for displaying augmented reality object and electronic device supporting the same | |
KR20230069759A (en) | Electronic device for generating an image and method thereof | |
KR20240014403A (en) | Method for processing image throuth neural network and electronic device thereof | |
KR20230052041A (en) | Method for providing image and electronic device supporting the same | |
KR20230052777A (en) | Display device and electronic device for controlling viewing angle | |
KR20230141403A (en) | A wearable device with transparent display and operating method thereof | |
KR20240035270A (en) | Camera module and electronic device comprisng same | |
KR20230081212A (en) | Electronic device including touch sensor integrated display | |
KR20230092424A (en) | Electronic device including under display camera and operating method thereof | |
KR20230055311A (en) | Electronic device and method for identifying content | |
KR20230068114A (en) | Camera module and electronic device including the same |