KR20160086671A - Electronic device and method for determining central of an eye in electronic device - Google Patents
Electronic device and method for determining central of an eye in electronic device Download PDFInfo
- Publication number
- KR20160086671A KR20160086671A KR1020150004335A KR20150004335A KR20160086671A KR 20160086671 A KR20160086671 A KR 20160086671A KR 1020150004335 A KR1020150004335 A KR 1020150004335A KR 20150004335 A KR20150004335 A KR 20150004335A KR 20160086671 A KR20160086671 A KR 20160086671A
- Authority
- KR
- South Korea
- Prior art keywords
- center
- reference point
- electronic device
- eye
- circle
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G06T7/004—
-
- 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/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30041—Eye; Retina; Ophthalmic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
Description
본 발명의 다양한 실시 예들은 전자 장치 및 전자 장치에서 눈의 중심을 판단하는 방법에 관한 것이다. Various embodiments of the present invention are directed to electronic devices and methods of determining the center of an eye in an electronic device.
최근 사용되는 다양한 전자 장치들에는 다양한 기능들이 사용되도록 개발되고 있다. 예컨대, 전자 장치(예, 스마트폰)에서는 이미지에서 눈을 인식할 뿐만 아니라 눈의 중심을 인식하는 기능까지도 제공할 수 있게 되었다.A variety of recently used electronic devices are being developed for use with various functions. For example, an electronic device (e.g., a smart phone) can provide a function of not only recognizing an eye in an image but also recognizing the center of the eye.
최근 사용되는 다양한 전자 장치들에는 다양한 기능들이 사용되도록 개발되고 있다. 이러한 전자 장치에는 다양한 기능들을 보다 효과적으로 이용할 수 있도록 표시부가 제공된다. 예컨대, 최근의 스마트폰의 경우 장치의 전면부가 터치에 의해 감응하는 표시부(예컨대, 터치 스크린)가 제공되고 있다.A variety of recently used electronic devices are being developed for use with various functions. Such an electronic device is provided with a display unit so as to more effectively utilize various functions. For example, in recent smartphones, a display unit (e.g., a touch screen) is provided in which the front surface of a device is sensitive by a touch.
또한, 전자 장치에서는 다양한 애플리케이션(예컨대, '앱(App)'이라고도 한다)들이 설치되어 실행될 수 있다. 상기 애플리케이션들을 전자 장치상에서 실행시키고 제어하기 위해서는 다양한 입력 수단들(예컨대, 터치 스크린, 버튼, 마우스, 키보드, 센서 등)이 사용될 수 있다. In addition, various applications (also referred to as 'apps') may be installed and executed in the electronic device. Various input means (e.g., a touch screen, a button, a mouse, a keyboard, a sensor, etc.) can be used to execute and control the above applications on an electronic device.
전자 장치에서는 눈을 판단하기 위하여, 눈의 형태적 특성들을 기록한 데이터 베이스(database)를 기반으로, 이미지에서 특정 영역이 눈의 형태와 유사한 것으로 판단할 수 있다. 또한, 이미지적 특성(예, 색깔)을 정의하여, 이미지의 특정 부분이 눈영역임을 판단할 수 있다. 이와 같이, 눈의 형태적 특성 혹은 이미지적 특성을 고려하여 눈을 판단하는 경우, 눈의 형태 혹은 이미지가 비슷한 이미지의 다른 영역이 눈 영역으로 판단될 수 있다. In an electronic device, it is possible to judge that a specific region in an image is similar to an eye shape, based on a database in which morphological characteristics of eyes are recorded to determine the eyes. In addition, image characteristics (e.g., color) may be defined to determine that a particular portion of the image is an eye region. In this way, when the eye is judged based on the morphological characteristic or the image characteristic of the eye, another region of the image similar to the eye shape or image can be judged as the eye region.
본 발명의 다양한 실시 예에 따른 전자 장치 및 전자 장치에서 눈의 중심을 판단하는 방법은, 이미지의 눈 영역에서 기준 점을 설정하고, 상기 설정된 기준 점을 재 설정하는 동작을 반복하여, 정확한 눈의 중심을 판단할 수 있다. A method for determining the center of an eye in an electronic device and an electronic device according to various embodiments of the present invention includes the steps of setting a reference point in the eye region of the image and resetting the set reference point, The center can be judged.
본 발명의 다양한 실시 예에 따른 전자 장치는, 이미지를 촬영하는 카메라 모듈과 이미지로부터 눈 영역을 검출하고, 상기 검출된 눈 영역에서 기준 점을 판단하고, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 제어부를 포함할 수 있다.An electronic device according to various embodiments of the present invention includes a camera module for capturing an image and a camera module for detecting an eye region from the image, determining a reference point in the detected eye region, And a control unit for determining the center of the eye by comparing the reference point with the reference point.
본 발명의 다양한 실시 예에 따른 전자 장치에서 눈의 중심을 판단하는 방법은, 이미지로부터 눈 영역을 검출하는 동작과, 상기 검출된 눈 영역에서 기준 점을 판단하는 동작과, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 동작을 포함할 수 있다.A method for determining the center of an eye in an electronic device in accordance with various embodiments of the present invention includes the steps of detecting an eye region from an image, determining a reference point in the detected eye region, And comparing the center of the generated circle with the reference point to determine the center of the eye.
본 발명의 다양한 실시 예에 따른 전자 장치 및 전자 장치에서 눈의 중심을 판단하는 방법은, 이미지에서 눈 영역에 대한 기준 점을 설정하고, 상기 기준 점을 눈의 중심에 인접하도록 재 설정함에 따라, 실제 눈의 중심에 인접한 중심 점을 판단할 수 있다. A method of determining the center of an eye in an electronic device and an electronic device according to various embodiments of the present invention includes setting a reference point for an eye region in an image and resetting the reference point to be adjacent to the center of the eye, The center point adjacent to the center of the actual eye can be determined.
본 발명의 다양한 실시 예에 따른 전자 장치 및 전자 장치에서 눈의 중심을 판단하는 방법은, 눈의 중심을 판단하기 위하여 픽셀 값 혹은 눈 영역 내 다른 점들을 더 고려함에 따라, 눈의 중심과 관련성 있는 영역을 판단할 수 있다. The method of determining the center of an eye in an electronic device and an electronic device according to various embodiments of the present invention may further include determining a center of the eye based on pixel values or other points within the eye region, The area can be judged.
도 1은 본 발명의 다양한 실시 예에 따른, 전자 장치 구성의 일 예를 도시한 블록도이다.
도 2는 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다.
도 3은 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다.
도 4는 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다.
도 5는 본 발명의 다양한 실시 예에 따라, 이미지에서 눈 영역을 검출하고 기준 점을 판단하는 동작의 일 예를 도시한 도면이다.
도 6a는 본 발명의 다양한 실시 예에 따라, 다양한 눈의 형태에 따라 이미지에서 눈 영역을 검출하는 동작의 일 예를 도시한 도면이다.
도 6b는 본 발명의 다양한 실시 예에 따라, 다양한 눈의 형태에 따라 이미지에서 눈 영역을 검출하는 동작의 일 예를 도시한 도면이다.
도 7은 본 발명의 다양한 실시 예에 따라, 이미지에서 눈의 중심을 판단하는 동작의 일 예를 도시한 도면이다.
도 8은 본 발명의 다양한 실시 예에 따라, 이미지에서 기준 점을 판단하는 동작의 일 예를 도시한 도면이다.
도 9는 본 발명의 다양한 실시 예에 따라, 눈 영역에서의 기준 점을 기준으로 특징 점을 선택하는 동작의 일 예를 도시한 도면이다.
도 10은 본 발명의 다양한 실시 예에 따라, 눈의 중심을 판단하는 동작의 일 예를 도시한 도면이다.
도 11은 본 발명의 다양한 실시 예에 따라, 눈의 중심을 판단하기 위한 눈의 일 예를 도시한 도면이다.
도 12는 본 발명의 다양한 실시 예에 따른 전자 장치 구성의 일 예를 도시한 블록도이다.
도 13은 본 발명의 다양한 실시 예에 따른 프로그램 구성의 일 예를 도시한 블록도이다. 1 is a block diagram illustrating an example of an electronic device configuration, in accordance with various embodiments of the present invention.
2 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention.
3 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention.
4 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention.
5 is a diagram illustrating an example of an operation of detecting an eye region in an image and determining a reference point, in accordance with various embodiments of the present invention.
6A is a diagram illustrating an example of an operation of detecting an eye region in an image according to various eye shapes, in accordance with various embodiments of the present invention.
6B is a diagram illustrating an example of an operation of detecting an eye region in an image according to various eye shapes, according to various embodiments of the present invention.
7 is a diagram illustrating an example of an operation of determining the center of an eye in an image, according to various embodiments of the present invention.
Figure 8 is an illustration of an example of an operation for determining a reference point in an image, in accordance with various embodiments of the present invention.
9 is a diagram illustrating an example of an operation for selecting a feature point based on a reference point in the eye region, according to various embodiments of the present invention.
10 is a diagram illustrating an example of an operation of determining the center of an eye according to various embodiments of the present invention.
11 is a diagram showing an example of an eye for determining the center of an eye according to various embodiments of the present invention.
12 is a block diagram illustrating an example of an electronic device configuration according to various embodiments of the present invention.
13 is a block diagram illustrating an example of a program configuration according to various embodiments of the present invention.
이하, 본 발명의 다양한 실시 예가 첨부된 도면과 연관되어 기재된다. 본 발명의 다양한 실시 예는 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들이 도면에 예시되고 관련된 상세한 설명이 기재되어 있다. 그러나, 이는 본 발명의 다양한 실시 예를 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 다양한 실시 예의 사상 및 기술 범위에 포함되는 모든 변경 및/또는 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용되었다.Best Mode for Carrying Out the Invention Various embodiments of the present invention will be described below with reference to the accompanying drawings. The various embodiments of the present invention are capable of various changes and may have various embodiments, and specific embodiments are illustrated in the drawings and the detailed description is described with reference to the drawings. It should be understood, however, that it is not intended to limit the various embodiments of the invention to the specific embodiments, but includes all changes and / or equivalents and alternatives falling within the spirit and scope of the various embodiments of the invention. In connection with the description of the drawings, like reference numerals have been used for like elements.
본 발명의 다양한 실시 예에서 사용될 수 있는“포함한다” 또는 “포함할 수 있다” 등의 표현은 개시(disclosure)된 해당 기능, 동작 또는 구성요소 등의 존재를 가리키며, 추가적인 하나 이상의 기능, 동작 또는 구성요소 등을 제한하지 않는다. 또한, 본 발명의 다양한 실시 예에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. The use of "including" or "including" in various embodiments of the present invention can be used to refer to the presence of a corresponding function, operation or component, etc., which is disclosed, Components and the like. Also, in various embodiments of the invention, the terms "comprise" or "having" are intended to specify the presence of stated features, integers, steps, operations, components, parts or combinations thereof, But do not preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
본 발명의 다양한 실시 예에서 “또는” 등의 표현은 함께 나열된 단어들의 어떠한, 그리고 모든 조합을 포함한다. 예를 들어, “A 또는 B”는, A를 포함할 수도, B를 포함할 수도, 또는 A 와 B 모두를 포함할 수도 있다. The " or " in various embodiments of the present invention includes any and all combinations of words listed together. For example, " A or B " may comprise A, comprise B, or both A and B.
본 발명의 다양한 실시 예에서 사용된 “제 1,”“제2,”“첫째,”또는“둘째,”등의 표현들은 다양한 실시 예들의 다양한 구성요소들을 수식할 수 있지만, 해당 구성요소들을 한정하지 않는다. 예를 들어, 상기 표현들은 해당 구성요소들의 순서 및/또는 중요도 등을 한정하지 않는다. 상기 표현들은 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 수 있다. 예를 들어, 제1 사용자 기기와 제 2 사용자 기기는 모두 사용자 기기이며, 서로 다른 사용자 기기를 나타낸다. 예를 들어, 본 발명의 다양한 실시 예의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.&Quot; first, " " second, " " first, " or " second, " etc. used in various embodiments of the present invention may modify various elements of various embodiments, I never do that. For example, the representations do not limit the order and / or importance of the components. The representations may be used to distinguish one component from another. For example, both the first user equipment and the second user equipment are user equipment and represent different user equipment. For example, without departing from the scope of the various embodiments of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재하지 않는 것으로 이해될 수 있어야 할 것이다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it is to be understood that the element may be directly connected or connected to the other element, It should be understood that there may be other new components between the different components. On the other hand, when it is mentioned that an element is "directly connected" or "directly connected" to another element, it is understood that there is no other element between the element and the other element It should be possible.
본 발명의 다양한 실시 예에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명의 다양한 실시 예를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. The terminology used in the various embodiments of the present invention is used only to describe a specific embodiment and is not intended to limit the various embodiments of the present invention. The singular expressions include plural expressions unless the context clearly dictates otherwise.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 다양한 실시 예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 다양한 실시 예에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present invention belong. Terms such as those defined in commonly used dictionaries should be interpreted to have the meanings consistent with the contextual meanings of the related art and, unless expressly defined in the various embodiments of the present invention, It is not interpreted as meaning.
본 발명의 다양한 실시 예에 따른 전자 장치는, 카메라 모듈이 포함된 장치일 수 있다. 예를 들면, 전자 장치는 스마트 폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device)(예: 전자 안경과 같은 head-mounted-device(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 문신, 또는 스마트 와치(smart watch)중 적어도 하나를 포함할 수 있다. An electronic device according to various embodiments of the present invention may be an apparatus including a camera module. For example, the electronic device can be a smartphone, a tablet personal computer, a mobile phone, a videophone, an e-book reader, a desktop personal computer, a laptop Such as a laptop personal computer (PC), a netbook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device And may include at least one of a head-mounted-device (HMD) such as electronic glasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic app apparel, an electronic tattoo, or a smart watch.
어떤 실시 예들에 따르면, 전자 장치는 카메라 모듈을 포함한 스마트 가전 제품(smart home appliance)일 수 있다. 스마트 가전 제품은, 예를 들자면, 전자 장치는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), TV 박스(예를 들면, 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(game consoles), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be a smart home appliance including a camera module. [0003] Smart household appliances, such as electronic devices, are widely used in the fields of television, digital video disk (DVD) player, audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air cleaner, set- And may include at least one of a box (e.g., Samsung HomeSync TM , Apple TV TM , or Google TV TM ), game consoles, electronic dictionary, electronic key, camcorder, or electronic frame.
어떤 실시 예들에 따르면, 전자 장치는 카메라 모듈을 포함하며, 각종 의료기기(예: MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 초음파기 등), 네비게이션(navigation) 장치, GPS 수신기(global positioning system receiver), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치 및 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛, 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller’s machine) 또는 상점의 POS(point of sales) 중 적어도 하나를 더 포함할 수 있다.According to some embodiments, the electronic device includes a camera module and may include various medical devices such as magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), a camera, an ultrasound device, ), A global positioning system receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, a marine electronic device (eg marine navigation device and gyro compass) The mobile terminal may further include at least one of an avionics, a security device, a head unit for an automobile, an industrial or home robot, an automatic teller's machine of a financial institution, or a point of sale of a shop.
어떤 실시 예들에 따르면, 전자 장치는 카메라 모듈을 포함한 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 입력장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 본 발명의 다양한 실시 예에 따른 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 또한, 본 발명의 다양한 실시 예에 따른 전자 장치는 플렉서블 장치일 수 있다. 또한, 본 발명의 다양한 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않음은 당업자에게 자명하다.According to some embodiments, the electronic device may be a piece of furniture or a building / structure including a camera module, an electronic board, an electronic signature receiving device, a projector, (E.g., water, electricity, gas, or radio wave measuring instruments, etc.). An electronic device according to various embodiments of the present invention may be one or more of the various devices described above. Further, the electronic device according to various embodiments of the present invention may be a flexible device. It should also be apparent to those skilled in the art that the electronic device according to various embodiments of the present invention is not limited to the above-described devices.
이하, 첨부된 도면을 참조하여 다양한 실시 예에 따른 전자 장치 및 전자 장치에서 눈의 중심을 판단하는 방법에 대해서 살펴본다. 다양한 실시 예에서 이용되는 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The term user as used in various embodiments may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
본 발명의 다양한 실시 예에 따라, 눈 영역(region of eye)은 눈과 관련된 영역(region of interest: ROI)을 나타내는 용어로써, 홍채(iris), 동공(pupil), 안구(eyeball), 속눈썹, 눈썹, 쌍커풀 등을 포함할 수 있으며, 그 외 다양한 눈 주위의 영역을 포함하는 용어로 사용될 수 있다. According to various embodiments of the present invention, the region of eye is a term that refers to a region of interest (ROI) associated with the eye, such as an iris, a pupil, an eyeball, an eyelash, Eyebrows, double skin, and the like, and may be used as a term including a region around various other eyes.
도 1은 본 발명의 다양한 실시 예에 따른, 전자 장치 구성의 일 예를 도시한 블록도이다. 도 1을 참조하면, 전자 장치(100)는 제어부(110), 카메라부(120) 및 저장부(130)를 포함할 수 있다. 1 is a block diagram illustrating an example of an electronic device configuration, in accordance with various embodiments of the present invention. Referring to FIG. 1, the
제어부(110)는 눈 영역 검출부(111), 기준 점 판단부(112), 눈 영역 분할부(113), 특징 점 판단부(114) 혹은 눈 중심 판단부(115) 중 적어도 하나를 포함할 수 있다. The
눈 영역 검출부(111)는 이미지에서 눈 영역을 검출할 수 있다. 예컨대, 상기 이미지는 전자 장치(100)에 저장되거나 상기 카메라부(120)를 통해 촬영될 수 있으며, 외부로부터 상기 전자 장치(100)로 전달될 수 있다. The eye
본 발명의 다양한 실시 예에 따라, 상기 눈 영역 검출부(111)는 이미지의 색을 모토 톤 혹은 반전시키고, 상기 이미지를 이진화시켜 획득된 이미지를 확인할 수 있다. According to various embodiments of the present invention, the eye
기준 점 판단부(112)는 상기 눈 영역 검출부(111)를 통해 검출된 눈 영역에서 기준 점을 설정할 수 있다. 예컨대, 상기 설정된 기준 점은, 상기 검출된 눈 영역에서 생성된 원의 중심과 상기 기준 점과의 비교 결과에 따라, 상기 생성된 원의 중심으로부터 재 설정된 것일 수 있다. The reference
본 발명의 다양한 실시 예에 따라, 상기 생성된 원의 중심이 상기 기준 점으로부터 오차 범위 내에 위치하지 않는 경우, 상기 기준 점 판단부(112)는 상기 생성된 원의 중심을 기준 점으로 재 설정할 수 있다. 예컨대, 상기 기준 점을 재 설정하는 동작은 미리 설정된 횟수에 따라 반복될 수 있다. According to various embodiments of the present invention, when the center of the generated circle is not located within the error range from the reference point, the reference
본 발명의 다양한 실시 예에 따라, 상기 기준 점 판단부(112)는 검출된 눈 영역에서, 픽셀 값, 해당 눈 영역의 반지름, 혹은 상기 반지름에 따른 가우시안 웨이트를 고려하여 기준 점을 설정할 수 있다. 예컨대, 상기 기준 점은 눈의 형태적 특성과 관련된 정보를 이용하여, 눈의 중심과 인접한 지점으로 설정된 것일 수 있다. According to various embodiments of the present invention, the reference
눈 영역 분할부(113)는 상기 기준 점 판단부(112)를 통해 설정된 기준 점을 기준으로, 상기 검출된 눈 영역을 분할할 수 있다. 예컨대, 상기 눈 영역 분할부(113)는 상기 검출된 눈 영역을 1도의 간격으로 360개의 영역으로 분할할 수 있다. The eye
특징 점 판단부(114)는 눈 영역 분할부(113)를 통해 분할된 눈 영역 각각에서 특징 점(feature point)을 판단할 수 있다. 예컨대, 상기 특징 점은 상기 눈 영역과 대응하는 기준 원의 가장 자리의 점들 중 상기 분할된 눈 영역 각각에 대해 선택된 것일 수 있다. The feature
본 발명의 다양한 실시 예에 따라, 상기 특징 점 판단부(114)는 특징 점들을 적어도 하나의 클러스터(cluster)로 구분할 수 있다. 예컨대, 상기 클러스터는 일정 거리 내에 위치한 특징 점들을 포함할 수 있다. According to various embodiments of the present invention, the feature
본 발명의 다양한 실시 예에 따라, 상기 특징 점 판단부(114)는 상기 클러스터들 각각의 조합으로 원을 생성하고, 상기 생성된 원들 중 원 내부의 평균 픽셀 값이 낮고 원의 가장 자리의 점들의 기울기 평균이 높은 원을 생성하는 최상의 클러스터의 조합을 선택할 수 있다. According to various embodiments of the present invention, the feature
눈 중심 판단부(115)는 상기 특징 점들을 이용하여 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단할 수 있다. 예컨대, 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위(예, 유클리드 거리(Euclidean distance)가 1) 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단할 수 있다. The center-of-
상기 카메라부(120)는 이미지를 촬영할 수 있다. The
본 발명의 다양한 실시 예에 따라, 상기 카메라부(120)를 통해 촬영된 이미지에서 눈 영역을 확인하여, 전자 장치(100)에서는 눈의 중심을 판단할 수 있다. According to various embodiments of the present invention, the eye area may be identified in an image photographed through the
상기 저장부(130)는 눈 영역 검출 정보(131), 기준 원 판단 정보(132). 눈 중심 판단 함수 정보(133) 혹은 이미지 정보(134)를 저장할 수 있다. The
상기 눈 영역 검출 정보(131)는 눈 영역을 검출하기 위한 정보를 포함할 수 있다. 예컨대, 상기 눈 영역을 검출하기 위한 정보는 눈의 형태적 특성 혹은 눈의 이미지적 특성을 포함할 수 있다. The eye
상기 기준 원 판단 정보(132)는 눈 영역에서 홍채에 해당하는 원을 판단하기 위한 정보를 포함할 수 있다. 예컨대, 상기 기준 원 판단 정보(132)는 상기 검출된 눈 영역에서 픽셀 값이 크고 상기 검출된 눈 영역의 가운데에 위치하는 영역을 홍채에 대응한 것으로 판단할 수 있다. The reference
상기 눈 중심 판단 함수 정보(133)는 검출된 눈 영역에서 눈의 중심을 판단하기 위하여 사용될 수 있는 함수들을 포함할 수 있다. The eye center
이미지 정보(134)는 상기 카메라부(120)를 통해 촬영된 이미지들을 포함할 수 있다. The
예컨대, 본 발명의 다양한 실시 예에 따른 상기 전자 장치(100)는, 이미지를 촬영하는 카메라 모듈(예, 카메라부(120)), 이미지로부터 눈 영역을 검출하고, 상기 검출된 눈 영역에서 기준 점을 판단하고, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 제어부(예, 제어부(110))를 포함할 수 있다. For example, the
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지 여부를 판단할 수 있다. The control unit according to various embodiments of the present invention may determine whether the center of the generated circle is located within a preset range from the reference point.
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단할 수 있다. According to various embodiments of the present invention, when the center of the generated circle is located within a certain range from the reference point, the center of the generated circle may be determined as the center of the eye.
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하지 않는 경우, 상기 생성된 원의 중심을 상기 기준 점으로 재 설정할 수 있다. The control unit according to various embodiments of the present invention can reset the center of the generated circle to the reference point when the center of the generated circle is not located within a certain range from the reference point.
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지를 판단하는 동작의 수행 횟수에 따라, 상기 기준 점을 재 설정할 지 여부를 결정할 수 있다. The control unit according to various embodiments of the present invention can determine whether to reset the reference point according to the number of times of performing the operation of determining whether the center of the generated circle is located within a predetermined range from the reference point .
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 기준 점을 기준으로 상기 검출된 눈 영역을 분할하고, 상기 검출된 눈 영역의 가장 자리에 포함된 점들 중 상기 분할된 영역 각각에 대한 특징 점을 선택할 수 있다. According to various embodiments of the present invention, the controller divides the detected eye region based on the reference point, and calculates a feature point of each of the divided regions among the points included in the edge of the detected eye region You can choose.
본 발명의 다양한 실시 예에 따른 상기 제어부는, 상기 선택된 특징 점들 중 상기 기준 점으로부터 미리 설정된 거리 내에 위치한 점들을 추출하고, 상기 추출된 점을 이용하여 원을 생성할 수 있다. 상기 생성된 원은, 상기 추출된 점들을 이용하여 생성된 원일 수 있다. 상기 기준 점은, 상기 검출된 눈 영역과 관련된 적어도 하나의 픽셀 값 혹은 상기 검출된 눈 영역의 반지름에 따라, 상기 검출된 눈 영역 내의 지점으로 선택될 수 있다. According to various embodiments of the present invention, the control unit may extract points located within a predetermined distance from the reference point among the selected feature points, and generate a circle using the extracted points. The generated circle may be a circle generated using the extracted points. The reference point may be selected as a point in the detected eye region according to at least one pixel value associated with the detected eye region or a radius of the detected eye region.
도 2는 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다. 도 2를 참조하면, 210 동작에서 전자 장치는 이미지에서 눈 영역을 검출할 수 있다. 2 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention. Referring to FIG. 2, at 210 operation, the electronic device may detect an eye region in an image.
220 동작에서 전자 장치는 상기 검출된 눈 영역에서 기준 점을 판단할 수 있다. In
230 동작에서 전자 장치는 상기 기준 점과, 상기 검출된 눈 영역으로부터 생성된 원의 중심을 비교하여 눈의 중심 판단할 수 있다. In
예컨대, 본 발명의 다양한 실시 예에 따른 전자 장치에서 눈의 중심을 판단하는 방법은, 이미지로부터 눈 영역을 검출하는 동작, 상기 검출된 눈 영역에서 기준 점을 판단하는 동작, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 동작을 포함할 수 있다. For example, a method for determining the center of an eye in an electronic device according to various embodiments of the present invention includes: detecting an eye region from an image; determining a reference point in the detected eye region; And comparing the center of the generated circle with the reference point to determine the center of the eye.
예컨대, 본 발명의 다양한 실시 예에 따른 전자 장치에서 눈의 중심을 판단하는 방법은, 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지 여부를 판단하는 동작; 상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단하는 동작; 상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하지 않는 경우, 상기 생성된 원의 중심을 상기 기준 점으로 재 설정하는 동작; 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지를 판단하는 동작의 수행 횟수에 따라, 상기 기준 점을 재 설정할 지 여부를 결정하는 동작; 상기 기준 점을 기준으로 상기 검출된 눈 영역을 분할하고, 상기 검출된 눈 영역의 가장 자리에 포함된 점들 중 상기 분할된 영역 각각에 대한 특징 점을 선택하는 동작; 상기 선택된 특징 점들 중 상기 기준 점으로부터 미리 설정된 거리 내에 위치한 점들을 추출하고, 상기 추출된 점을 이용하여 원을 생성하는 동작; 중 적어도 하나의 동작을 더 포함할 수 있다. For example, a method for determining the center of an eye in an electronic device according to various embodiments of the present invention includes: determining whether the center of the generated circle is located within a preset range from the reference point; Determining the center of the generated circle as the center of the eye when the center of the generated circle is located within a certain range from the reference point; Resetting the center of the generated circle to the reference point if the center of the generated circle is not located within a certain range from the reference point; Determining whether to reset the reference point according to the number of times of performing the operation of determining whether the center of the generated circle is located within a predetermined range from the reference point; Dividing the detected eye region based on the reference point and selecting a feature point for each of the divided regions among the points included in the edge of the detected eye region; Extracting a point located within a predetermined distance from the reference point among the selected feature points and generating a circle using the extracted point; Lt; RTI ID = 0.0 > 1, < / RTI >
예컨대, 본 발명의 다양한 실시 예에 따른 상기 생성된 원은, 상기 추출된 점들을 이용하여 생성될 수 있다. For example, the generated circle according to various embodiments of the present invention may be generated using the extracted points.
예컨대, 본 발명의 다양한 실시 예에 따른 상기 기준 점은, 상기 검출된 눈 영역과 관련된 적어도 하나의 픽셀 값 혹은 상기 검출된 눈 영역의 반지름에 따라, 상기 검출된 눈 영역 내의 지점으로 선택될 수 있다. For example, the reference point according to various embodiments of the present invention may be selected as a point in the detected eye region, depending on at least one pixel value associated with the detected eye region or a radius of the detected eye region .
도 3은 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다. 도 3을 참조하면, 220 동작에서 전자 장치는 기준 점을 판단할 수 있다. 3 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention. Referring to FIG. 3, in
310 동작에서 전자 장치는 눈 영역으로부터 생성된 원을 분할할 수 있다. In
320 동작에서 전자 장치는 상기 생성된 원의 가장 자리의 점들 중 각 분할된 영역에 대한 점들을 선택할 수 있다. 예컨대, 상기 선택된 점들은, 상기 각 분할된 영역에서, 상기 기준 점으로부터 가장 거리가 먼 상기 가장 자리의 점들 중 하나를 포함할 수 있다. In
330 동작에서 전자 장치는 상기 선택된 점들을 이용하여 원을 생성할 수 있다. In
340 동작에서 전자 장치는 상기 생성된 원의 중심과 상기 기준 점을 비교할 수 있다. In
350 동작에서 전자 장치는 상기 비교 결과에 근거하여 눈의 중심 판단할 수 있다. In
도 4는 본 발명의 다양한 실시 예에 따라, 전자 장치에서 눈의 중심을 판단하는 동작의 일 예를 도시한 흐름도이다. 도 4를 참조하면, 전자 장치는 전술한 340 동작을 수행하고, 410 동작에서 상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하는지를 확인할 수 있다. 4 is a flow chart illustrating an example of an operation of determining the center of an eye in an electronic device, in accordance with various embodiments of the present invention. Referring to FIG. 4, the electronic device performs the above-described
상기 410 동작의 수행 결과, 상기 생성된 원의 중심이 일정 범위 내에 위치하지 않는 것으로 확인되면, 430 동작에서 전자 장치는 상기 생성된 원의 중심을 상기 기준 점으로 재설정할 수 있다. 이후, 전자 장치는 전술한 310 동작을 수행할 수 있다. If, as a result of the
상기 410 동작의 수행 결과, 상기 생성된 원의 중심이 일정 범위 내에 위치하는 것으로 확인되면, 420 동작에서 전자 장치는 상기 생성된 원의 중심을 눈의 중심으로 확인할 수 있다. If it is determined that the center of the generated circle is located within a certain range as a result of the
도 5는 본 발명의 다양한 실시 예에 따라, 이미지에서 눈 영역을 검출하고 기준 점을 판단하는 동작의 일 예를 도시한 도면이다. 도 5를 참조하면, 전자 장치는 눈(501)이 촬영된 이미지를 확인할 수 있다. 5 is a diagram illustrating an example of an operation of detecting an eye region in an image and determining a reference point, in accordance with various embodiments of the present invention. Referring to FIG. 5, the electronic device can identify an image in which the
510 동작에서, 전자 장치는 이미지의 색을 모노 톤으로 변환시킬 수 있다. In 510 operation, the electronic device may convert the color of the image to monotone.
520 동작에서, 전자 장치는 상기 모노 톤으로 변환된 이미지의 색을 반전시킬 수 있다. In operation 520, the electronic device may invert the color of the image converted to the monotone.
530 동작에서, 전자 장치는 색이 반전된 영역(502)을 기반으로 눈의 중심을 판단할 수 있다. 예컨대, 전자 장치는 상기 흰색으로 처리된 영역(502) 내에서 눈 영역의 일부를 확인하고, 상기 눈 영역에서 기준 점(503)으로 설정할 수 있다. In operation 530, the electronic device may determine the center of the eye based on the
본 발명의 다양한 실시 예에 따라, 상기 기준 점은 대략적인 눈의 중심을 나타내는 지점일 수 있다. According to various embodiments of the present invention, the reference point may be a point representing the approximate center of the eye.
도 6a 및 도 6b는 본 발명의 다양한 실시 예에 따라, 다양한 눈의 형태에 따라 이미지에서 눈 영역을 검출하는 동작의 다양한 예를 도시한 도면들이다. Figures 6A and 6B are diagrams illustrating various examples of operations for detecting an eye region in an image according to various eye shapes, in accordance with various embodiments of the present invention.
본 발명의 다양한 실시 예에 따라, 전자 장치는 이미지를 색 반전시키고 이진화시켜 상기 이미지에서 눈 영역을 검출할 수 있다. 예컨대, 전자 장치는 형태학적 처리(morphological opening) 기법을 사용하여 눈 영역을 검출할 수 있다. 상기 형태학적 처리 기법은, 이미지에서 선택된 특징 점들이 서로 뭉쳐져서 하나의 영역으로 표시될 수 있도록 각 특징 점을 크게 처리하는 동작을 포함할 수 있다. According to various embodiments of the present invention, an electronic device can color invert and binarize an image to detect an eye region in the image. For example, an electronic device can detect an eye region using a morphological opening technique. The morphological processing technique may include processing each feature point largely so that the feature points selected in the image can be grouped together and displayed as a single area.
본 발명의 다양한 실시 예에 따라, 전자 장치는 검출된 눈 영역을 포함하는 이미지를 이진화시킬 수 있다. 예컨대, 상기 이진화된 이미지는, 특정 위치의 픽셀값이 미리 설정된 범위 내에 포함함에 따라, 해당 부분의 픽셀 값이 흰색 혹은 검은색과 관련된 픽셀 값으로 처리될 수 있다. According to various embodiments of the present invention, an electronic device may binarize an image that includes a detected eye region. For example, as the pixel value of the specific position is included in the predetermined range, the pixel value of the pixel may be processed as a pixel value related to white or black.
도 6a를 참조하면, 이미지에서 눈은 눈꺼풀이 덮여 반쯤만 보이는 형태일 수 있다. 610 동작에서, 전자 장치는 상기 눈꺼풀이 덮인 눈이 촬영된 이미지를 색을 반전시킬 수 있다. 620 동작에서, 전자 장치는 상기 색이 반전된 이미지를 이진화시켜 눈 영역(601)을 확인할 수 있다. 예컨대, 상기 눈 영역(601)은 눈이 눈꺼풀에 덮여 반원의 형태로 표시될 수 있다. Referring to FIG. 6A, in the image, the eye may be covered with an eyelid and half-looking. In operation 610, the electronic device may invert the color of the captured image of the eyelid-covered eye. In operation 620, the electronic device can identify the
도 6b를 참조하면, 이미지에서 눈은 안경이 씌어진 형태일 수 있다. 610 동작에서, 전자 장치는 안경이 쓰여진 눈이 촬영된 이미지의 색을 반전시킬 수 있다. 620 동작에서, 전자 장치는 상기 색이 반전된 이미지를 이진화시켜 눈 영역(602)을 확인할 수 있다. 예컨대, 안경의 테두리는 색이 반전됨에 따라 어둡게 출력되고, 이진화됨에 따라 검은색으로 처리될 수 있다. 예컨대, 상기 눈 영역(602)은 안경의 테두리가 제거된 눈의 홍채 영역을 형태일 수 있다. Referring to FIG. 6B, in the image, the eye may be in the form of glasses. In operation 610, the electronic device may reverse the color of the photographed image of the eyeglass-written eye. In operation 620, the electronic device can identify the
도 7은 본 발명의 다양한 실시 예에 따라, 이미지에서 눈의 중심을 판단하는 동작의 일 예를 도시한 도면이다. 도 7을 참조하면, 710 동작에서, 전자 장치는 이미지에서 눈 영역을 포함하는 부분 이미지를 획득할 수 있다. 7 is a diagram illustrating an example of an operation of determining the center of an eye in an image, according to various embodiments of the present invention. Referring to Fig. 7, in 710 operation, an electronic device may obtain a partial image including an eye region in an image.
720 동작에서, 전자 장치는 상기 이미지의 색을 모토 톤으로 변환시키고 상기 이미지에 포함된 눈 영역에서 기준 점(701)을 설정할 수 있다. In
730 동작에서, 전자 장치는 상기 톤이 변환된 이미지의 색을 반전시키고 눈 영역(702)을 확인할 수 있다. In
740 동작에서, 전자 장치는 상기 기준 점을 기준으로 상기 눈 영역을 적어도 두 개의 영역으로 분할할 수 있다. 예컨대, 상기 눈 영역은 여덟 개의 영역들로 분할될 수 있다. In
750 동작에서, 전자 장치는 상기 분할된 눈 영역(702) 각각에 대해서 특징 점을 선택할 수 있다. In
760 동작에서, 전자 장치는 상기 선택된 특징 점들을 확인할 수 있다. In
770 동작에서, 전자 장치는 상기 선택된 특징 점들을 이용하여 원(704)을 생성할 수 있다. In
780 동작에서, 전자 장치는 상기 생성된 원(704)의 중심(705)을 확인할 수 있다. In
790 동작에서, 전자 장치는 상기 생성된 원(704)의 중심(705)과 상기 기준 점(701)을 비교하여 눈의 중심을 판단할 수 있다. 예컨대, 상기 생성된 원(704)의 중심(705)이 상기 기준 점(701)으로부터의 미리 설정된 범위 내에 포함된 경우, 전자 장치는 상기 생성된 원(704)의 중심(705)을 눈의 중심으로 판단할 수 있다. In
본 발명의 다양한 실시 예에 따라, 상기 생성된 원(704)의 중심(705)이 상기 기준 점(701)으로부터의 미리 설정된 범위 내에 포함되지 않은 경우, 전자 장치는 상기 생성된 원(704)의 중심(705)을 기준 점으로 재 설정하고, 상기 740 동작을 수행할 수 있다. 상기 기준 점을 재 설정하는 동작은 미리 설정된 횟수만큼 반복될 수 있다. According to various embodiments of the present invention, when the
도 8은 본 발명의 다양한 실시 예에 따라, 이미지에서 기준 점을 판단하는 동작의 일 예를 도시한 도면이다. 도 8을 참조하면, 전자 장치는 이미지에서 검출된 눈 영역에서 홍채(810)를 확인할 수 있다. 예컨대, 상기 홍채(810)는 눈이 촬영된 이미지에서 가장 큰 픽셀 값을 포함하는 원 형태의 영역일 수 있다. Figure 8 is an illustration of an example of an operation for determining a reference point in an image, in accordance with various embodiments of the present invention. Referring to FIG. 8, the electronic device can identify the
본 발명의 다양한 실시 예에 따라, 전자 장치는 상기 홍채(810)에서의 임의의 픽셀의 위치(c)와 방향 성분(gradient)을 포함하는 점들(x i, i∈{1,…, N}) 간의 내적의 합을 확인할 수 있다. 예컨대, 전자 장치는 상기 임의의 픽셀의 위치(c)에서 상기 x i까지의 벡터((d i: normalized orientation vector)와 상기 모든 픽셀(x i) 각각에서의 법선 벡터(g i: normalized gradient vector)를 확인하여, 상기 벡터(normalized vector)들 간의 내적의 합을 계산할 수 있다. In accordance with various embodiments of the present invention, an electronic device may include a plurality of points ( xi , i? {1, ..., N}) including a position c and a gradient of any pixel in the iris 810 , ) Can be confirmed. For example, the electronic device is a vector ((up to the x i at the position (c) of the arbitrary pixel d i: normalized orientation vector) and all of the pixels (x i) the normal vector (g i in each: normalized gradient vector ), And calculate the sum of inner products between the vectors (normalized vectors).
본 발명의 다양한 실시 예에 따라, 전자 장치는 상기 계산된 내적의 합, 픽셀 값(pixel value), 홍채(810)의 반지름(radius: r) 및 상기 반지름(r)에 따른 가우시안 웨이트(gaussian weight)에 기반하여, 최댓값으로 계산되는 픽셀의 위치(c)를 기준 점(c *)으로 설정할 수 있다. 예컨대, 상기 기준 점(c *)은 아래의 수학식 1에 기반하여 계산될 수 있다. According to various embodiments of the present invention, the electronic device may calculate a gaussian weight (Gaussian weight) according to the sum of the calculated dot products, a pixel value, a radius r of the
수학식 1은 본 발명의 다양한 실시 예에 따라, 눈 영역에서 기준 점의 위치를 계산하기 위한 식이다. Equation 1 is an equation for calculating the position of a reference point in the eye region, according to various embodiments of the present invention.
여기서 , 이다. here , to be.
본 발명의 다양한 실시 예에 따라, 전자 장치가 픽셀 값뿐만 아니라 검출된 눈 영역의 반지름(r)에 따른 가우시안 웨이트를 더 고려하여, 높은 픽셀 값들로 표현되지만 눈 중심과 연관성이 적은 영역들(예, 눈 가장자리(eye corner), 머리카락(hair), 눈썹, 안경(spectacles) 등)을 노이즈(noise)로 판단할 수 있다. 이에 따라, 전자 장치는 상기 노이즈가 제외된 눈 중심과 연관성 있는 눈 영역에 대해서의 기준 점을 판단할 수 있다. In accordance with various embodiments of the present invention, electronic devices may be used in areas that are represented by high pixel values but are not related to the eye center (e.g., pixels with high pixel values), considering pixel values as well as Gaussian weights along the detected eye area radius r Eye corners, hair, eyebrows, spectacles, etc.) can be judged as noise. Thus, the electronic device can determine a reference point for an eye region that is associated with the eye center excluding the noise.
도 9는 본 발명의 다양한 실시 예에 따라, 눈 영역에서의 기준 점을 기준으로 특징 점을 선택하는 동작의 일 예를 도시한 도면이다. 도 9를 참조하면, 전자 장치는 이미지에서 눈 영역(902)을 확인하고, 상기 눈 영역(902)에서 기준 점(901)을 설정할 수 있다. 예컨대, 상기 기준 점(901)은 도 8의 기준 점(c *)과 유사하게 설정될 수 있다. 9 is a diagram illustrating an example of an operation for selecting a feature point based on a reference point in the eye region, according to various embodiments of the present invention. Referring to FIG. 9, the electronic device can identify the eye region 902 in the image and set the
본 발명의 다양한 실시 예에 따라, 910 동작에서 전자 장치는 상기 이미지의 색을 반전시킬 수 있다. According to various embodiments of the present invention, in 910 operation, the electronic device may invert the color of the image.
본 발명의 다양한 실시 예에 따라, 920 동작에서 전자 장치는 상기 기준 점(901)을 기준으로 상기 눈 영역(910)을 n개의 영역으로 분할할 수 있다. According to various embodiments of the present invention, in 920 operation, the electronic device may divide the
본 발명의 다양한 실시 예에 따라, 930 동작에서 전자 장치는 각 분할된 영역에 대한 특징 점을 선택할 수 있다. 예컨대, 전자 장치는 상기 제1 분할된 영역(911)에서, 임의의 픽셀의 위치(c)에서 x i까지의 벡터(d i)와 상기 x i에서의 법선 벡터(g i)의 내적의 합이 최댓값으로 계산되는 지점을 해당 분할된 영역에서의 특징 점으로 선택할 수 있다. 예컨대, 제n 분할된 영역에서의 특징 점(p n)은 아래의 수학식 2를 이용하여 계산될 수 있다. According to various embodiments of the present invention, in 930 operation, the electronic device can select feature points for each segmented region. For example, the electronic device may calculate the sum of the inner product of a vector d i from position c to x i and a normal vector g i at x i in the first divided
여기서, seed는 기준 점(c *)의 위치 좌표이다.here , and seed is the position coordinate of the reference point ( c * ).
도 9를 참조하여, 각 분할된 영역에서 선택된 특징 점들은, 눈 영역의 가장 자리에 포함되지만 눈꺼풀에 가려지거나 눈 영역 주위의 그림자에 의해 눈 영역과 관련이 없는 영역에서 선택된 것일 수 있다. Referring to Fig. 9, the feature points selected in each divided region may be selected at the edge of the eye region but selected in the area covered by the eyelid or not related to the eye region by a shadow around the eye region.
본 발명의 다양한 실시 예에 따라, 상기 선택된 특징 점들 중 눈 영역과 관련 없는 영역만을 추출(clustering)할 수 있다. 이에 대한 설명은 도 10을 참조하여 후술하도록 한다. According to various embodiments of the present invention, only the region of the selected feature point that is not related to the eye region may be clustered. This will be described later with reference to FIG.
도 10은 본 발명의 다양한 실시 예에 따라, 눈의 중심을 판단하는 동작의 일 예를 도시한 도면이다. 도 10을 참조하면, 전자 장치는 이미지의 색을 모노 톤으로 변환시키고, 상기 변환된 이미지에서 눈의 중심을 판단할 수 있다. 10 is a diagram illustrating an example of an operation of determining the center of an eye according to various embodiments of the present invention. Referring to FIG. 10, the electronic device may convert the color of the image to monotone and determine the center of the eye in the converted image.
1010 동작에서, 전자 장치는 눈 영역을 포함하는 이미지에서 기준 점(1001)을 설정하고, 상기 기준 점(1001)을 기준으로 특징 점들(예, 1002)을 선택할 수 있다. 예컨대, 상기 특징 점들(예, 1002)은 상기 기준 점(1001)을 기준으로 분할된 눈 영역들 각각에 대응하여 선택될 수 있다. In
본 발명의 다양한 실시 예에 따라, 눈꺼풀에 의해 홍채가 가려지는 등의 경우에서, 눈의 중심과 연관성이 낮은 특징 점들이 추출되는 것을 방지하기 위하여, 1020 동작에서 전자 장치는 특징 점을 추출할 수 있다. In accordance with various embodiments of the present invention, in an instance such as when the iris is occluded by the eyelid, in order to prevent the extraction of feature points that are not relevant to the center of the eye, the electronic device in 1020 operation can extract the feature points have.
1020 동작에서, 전자 장치는 상기 특징 점들(1002)을 일정 거리 내에 위치한 특징 점들 각각의 클러스터(예, 1021, 1022, 1023 혹은 1024)로 구분할 수 있다. 상기 클러스터들은 다시 내부(inlier) 클러스터와 외부(outlier) 클러스터로 구분될 수 있다. 예컨대, 상기 클러스터들은, 홍채의 가장 자리를 기준으로 하는 특정 클러스터의 위치 혹은 해당 클러스터에 포함된 특징 점들의 개수에 따라, 내부 혹은 외부 클러스터로 구분될 수 있다. In
본 발명의 다양한 실시 예에 따라, 전자 장치는 미리 설정된 개수보다 적은 특징 점들을 포함하는 1022 클러스터를 노이즈로 판단할 수 있다. According to various embodiments of the present invention, the electronic device may determine 1022 clusters that include less than a predetermined number of feature points as noise.
본 발명의 다양한 실시 예에 따라, 전자 장치는 전체 특징 점들의 반 이상을 포함하거나 클러스터들 중 가장 많은 개수의 특징 점들을 포함하는 클러스터를 내부 클러스터로 구분할 수 있다. According to various embodiments of the present invention, an electronic device may include more than half of all feature points, or may divide a cluster including the greatest number of feature points of clusters into inner clusters.
본 발명의 다양한 실시 예에 따라, 상기 클러스터들(예, 1021, 1022, 1023 혹은 1024) 중 전체 특징 점들의 반 이상을 포함하는 클러스터가 없는 경우, 전자 장치는 상기 클러스터들(예, 1021, 1022, 1023 혹은 1024)의 조합으로 생성될 수 있는 원들(예, 24-1=15가지) 각각의 중심을 확인할 수 있다. In accordance with various embodiments of the present invention, when there is no cluster that contains more than half of all the feature points of the clusters (e.g., 1021, 1022, 1023, or 1024) , 1023, or 1024) (e.g., 2 4 -1 = 15).
본 발명의 다양한 실시 예에 따라, 상기 클러스터들의 조합으로 생성된 원들 중 원 내부의 평균 픽셀 값이 낮고 원의 가장 자리의 점들의 기울기 평균이 높은 원을 생성하는 최상의 클러스터의 조합(Cbest)을 선택할 수 있다. 예컨대, 이와 같은 클러스터의 조합은 아래의 수학식 3을 이용하여 선택될 수 있다. According to various embodiments of the present invention, a combination of the best clusters (C best ) that produces circles with low average pixel values in the circle and high slope averages of the points of the circle out of the circles generated by the combination of the clusters You can choose. For example, such a combination of clusters can be selected using Equation (3) below.
1030 동작에서, 전자 장치는 상기 수학식 3을 통해 선택된 클러스터 조합(예, 1023)에 포함된 특징 점들을 이용하여 원(1031)을 생성(circle fitting)하고 상기 생성된 원(1031)의 중심(1032)을 확인할 수 있다. In
1040 동작에서, 전자 장치는 생성된 원(1031)의 중심(1032)이 기준 점(1001)으로부터의 미리 설정된 범위 내에 포함되는지를 확인할 수 있다. 상기 확인 결과에 따라, 전자 장치는 눈의 중심을 판단할 수 있다. In
본 발명의 다양한 실시 예에 따라, 상기 원(1031)의 중심(1032)이 기준 점(1001)으로부터 미리 설정된 범위 내에 위치하지 않는 것으로 확인되면, 전자 장치는 상기 원(1031)의 중심(1032)을 기준 점으로 재 설정할 수 있다. 예컨대, 상기 기준 점을 재 설정하는 동작은, 생성된 원의 중심이 기준 점으로부터의 미리 설정된 범위에 포함되거나 미리 설정된 횟수만큼 반복되어 수행될 수 있다. If the
1050 동작에서, 전자 장치는 상기 재 설정된 기준 점(1032)을 기준으로 눈 영역을 분할하고, 상기 분할된 영역들에 대한 특징 점들(1051)을 확인할 수 있다. In
1060 동작에서, 전자 장치는 상기 특징 점들(1051)에 대한 적어도 하나의 클러스터(예, 1061, 1062, 1063 혹은 1064)를 확인하고, 상기 재 설정된 기준 점(1032)로부터 미리 설정된 값 이상으로 떨어져 있는 점들의 클러스터(1062)를 노이즈로 확인할 수 있다. In
1070 동작에서, 전자 장치는 상기 노이즈로 확인된 클러스터(1062)를 제외한 나머지 특징 클러스터들(예, 1061, 1063 혹은 1064) 중 적어도 하나를 이용하여 원(1072)을 생성하고, 상기 생성된 원(1072)의 중심(1073)을 확인할 수 있다. In
본 발명의 다양한 실시 예에 따라, 전자 장치는 상기 클러스터들(예, 1061, 1063 혹은 1064)의 조합들 중, 원 내부의 평균 픽셀 값이 낮고 원의 가장 자리의 점들의 기울기 평균이 높은 최상의 클러스터의 조합(1071)을 선택할 수 있다. 예컨대, 상기 원(1071)은 상기 클러스터의 조합(1017)에 포함된 특징 점들로 생성될 수 있다. In accordance with various embodiments of the present invention, the electronic device may be configured to select one of the combinations of clusters (e.g., 1061, 1063, or 1064), a best cluster having a low average pixel value in the circle and a high slope average (1071) can be selected. For example, the
1080 동작에서, 전자 장치는 상기 생성된 원(1072)의 중심(1073)이 상기 재 설정된 기준 점(1032)으로부터 미리 설정된 범위 내에 위치하는 지를 확인할 수 있다. 예컨대, 상기 생성된 원(1072)의 중심(1073)이 상기 재 설정된 기준 점(1032)으로부터 미리 설정된 범위 내에 위치하는 것으로 판단되면, 전자 장치는 상기 생성된 원(1072)의 중심(1073)의 위치를 눈의 중심점으로 판단할 수 있다. In
예컨대, 도 10을 참조하면, 전자 장치는 이미지에서 눈 영역을 판단하고, 상기 눈 영역 내에 기준 점을 설정하고, 상기 설정된 기준 점에 대하여 생성된 원의 중심을 기준 점으로 재 설정하는 동작을 반복함으로써, 눈의 중심을 판단할 수 있다. For example, referring to FIG. 10, the electronic device determines an eye region in an image, sets a reference point in the eye region, and repeats the operation of resetting the center of the circle generated for the set reference point to a reference point , The center of the eye can be judged.
도 11은 본 발명의 다양한 실시 예에 따라, 눈의 중심을 판단하기 위한 눈의 일 예를 도시한 도면이다. 도 11을 참조하면, 전자 장치는 눈 영역에서 기준 점(1111)을 설정하고 특징 점들(1110)을 추출할 수 있다. 11 is a diagram showing an example of an eye for determining the center of an eye according to various embodiments of the present invention. Referring to FIG. 11, the electronic device can set a
전자 장치는 상기 특징 점들(1110)을 클러스터들로 구분하고, 전체 특징 점들의 반 이상을 포함하는 적어도 하나의 클러스터(1112)를 확인하고, 노이즈로 판단되는 적어도 하나의 특징 점들을 제거할 수 있다. The electronic device may identify the feature points 1110 into clusters, identify at least one
전자 장치는 상기 적어도 하나의 클러스터(1112)를 이용하여 최상의 클러스터 조합(1115)을 확인하고, 상기 클러스터 조합(1115)을 이용하여 원(1114)을 생성할 수 있다. The electronic device can identify the
본 발명의 다양한 실시 예에 따라, 상기 기준 점(111)과 상기 생성된 원의 중심을 비교하여 눈의 중심을 판단할 수 있다. According to various embodiments of the present invention, the center of the eye may be determined by comparing the
표 1은 본 발명의 다양한 실시 예에 따른 방법에 따라, 눈의 중심을 보정한 결과를 나타낸 것이다. Table 1 shows the results of correcting the center of the eye according to the method according to various embodiments of the present invention.
상기 표 1을 참고하면, 상기 e는 실제 눈의 중심과 본 발명의 다양한 실시 예에 따라 판단한 눈의 중심과의 오차이다. 상기 e는 아래의 수학식 4를 통해 계산될 수 있다. Referring to Table 1 above, e is an error between the center of the actual eye and the center of the eye determined according to various embodiments of the present invention. E can be calculated by the following equation (4).
상기 표 1을 참고하면, 상기 V 방법은 Valenti의 논문(R. Valenti, N. Sebe, and T. Gevers, “Combining head pose and eye location information for gaze estimation,” IEEE Trans. Image Process., vol. 21, no. 2, pp. 802-815, Feb. 2012)에 개시된 눈의 중심 보정 방법이며, 상기 C방법은 Choi의 논문(K. Choi, et al. "A novel iris center localization method based on the spherical eyeball rotation model for human-device interaction." Consumer Electronics (ICCE), 2013 IEEE International Conference on. IEEE, 2013)에 개시된 눈의 중심 보정 방법이며, 상기 T방법은 Timm의 논문(F. Timm and E. Barth, “Accurate Eye Centre Localisation by Means of Gradients,” Proc. Sixth Int’l Conf. Computer Vision Theory and Applications, 2011)에 개시된 눈의 중심 보정 방법이다. Referring to Table 1, the V method is described in Valenti, R. Valenti, N. Sebe, and T. Gevers, "Combining head pose and eye location information for gaze estimation," IEEE Trans. Image Process . 21, no. 2, pp. 802-815, Feb. 2012), and the C method is described in Choi's paper (K. Choi, et al., "A novel iris center localization method based on the (ICCE), 2013 IEEE International Conference on., IEEE, 2013, which is incorporated herein by reference in its entirety. Center of Eye Correction method disclosed in Barth, " Accurate Eye Center Localization by Means of Gradients, " Proc. Sixth Int'l Conf. Computer Vision Theory and Applications, 2011).
여기서 는 왼쪽 눈에 대해서, 실제 눈의 중심과 판단된 눈의 중심과의 차이, 는 오른쪽 눈에 대해서, 실제 눈의 중심과 판단된 눈의 중심과의 차이, 는 왼쪽과 오른쪽 눈의 실제 거리이다. here For the left eye, the difference between the center of the actual eye and the center of the determined eye, For the right eye, the difference between the center of the actual eye and the center of the determined eye, Is the actual distance between the left and right eyes.
실험적으로 e<0.1 은 홍채 내부 영역, e<0.05는 동공 내부 영역, e<0.03은 실제 눈의 중심에 거의 근접한 정확도를 나타낸다. Experimentally, e <0.1 represents the intra-iris region, e <0.05 represents the intra-pupillary region, and e <0.03 represents the accuracy close to the center of the actual eye.
본 발명의 다양한 실시 예에 따라, 대략적인 눈의 중심으로 설정한 기준 점(seed point)이 홍채 내부에 위치(e<0.1)하는 경우, 기준 점을 재 설정하는 동작을 수행함에 따라, 더 정확한 눈의 중심(<0.03)으로 보정해 줄 수 있음을 확인할 수 있다. According to various embodiments of the present invention, when the seed point set as the approximate center of the eye is positioned inside the iris (e < 0.1), by performing the operation of resetting the reference point, Center of the eye ( ≪ 0.03). ≪ / RTI >
도 12는 본 발명의 다양한 실시 예에 따른 전자 장치 구성의 일 예를 도시한 블록도이다. 상기 전자 장치(1201)는, 예를 들면, 도 1에 도시된 전자 장치(100)의 전체 또는 일부를 구성할 수 있다. 도 12를 참조하면, 상기 전자 장치(1201)는 하나 이상의 프로세서(예: 애플리케이션 프로세서(AP: application processor)(1210)), 통신 모듈(1220), SIM(subscriber identification module) 카드(1224), 메모리(1230), 센서 모듈(1240), 입력 장치(1250), 디스플레이(1260), 인터페이스(1270), 오디오 모듈(1280), 카메라 모듈(1291), 전력관리 모듈(1295), 배터리(1296), 인디케이터(1297) 및 모터(1298)를 포함할 수 있다. 12 is a block diagram illustrating an example of an electronic device configuration according to various embodiments of the present invention. The electronic device 1201 may constitute all or part of the
상기 AP(1210)는 운영체제 또는 응용 프로그램을 구동하여 상기 AP(1210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 멀티미디어 데이터를 포함한 각종 데이터 처리 및 연산을 수행할 수 있다. 상기 AP(1210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시 예에 따르면, 상기 AP(1210)는 GPU(graphic processing unit, 미도시)를 더 포함할 수 있다. The
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 이미지에서 눈 영역을 검출할 수 있다. 예컨대, 상기 이미지는 상기 전자 장치(1201)의 메모리(1230)에 저장되거나 상기 카메라 모듈(1291)을 통해 촬영될 수 있으며, 상기 통신 모듈(1220)을 통해 외부로부터 전달된 것일 수 있다. According to various embodiments of the present invention, the
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 획득한 이미지의 색을 모토 톤 혹은 반전시키고, 상기 이미지를 이진화시켜 획득된 이미지를 확인할 수 있다. In accordance with various embodiments of the present invention, the
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 검출된 눈 영역에서 기준 점을 설정할 수 있다. 예컨대, 상기 설정된 기준 점은, 상기 검출된 눈 영역에서 생성된 원의 중심과 상기 기준 점과의 비교 결과에 따라, 상기 생성된 원의 중심으로부터 재 설정된 것일 수 있다. 예컨대, 상기 생성된 원의 중심이 상기 기준 점으로부터 오차 범위 내에 위치하지 않는 경우, 상기 AP(1210)는, 상기 생성된 원의 중심을 기준 점으로 재 설정할 수 있다. 상기 기준 점을 재 설정하는 동작은 미리 설정된 횟수에 따라 반복될 수 있다. According to various embodiments of the present invention, the
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 검출된 눈 영역에서, 픽셀 값, 해당 눈 영역의 반지름, 혹은 상기 반지름에 따른 가우시안 웨이트를 고려하여 기준 점을 설정할 수 있다. 예컨대, 상기 AP(1210)는, 상기 설정된 기준 점을 기준으로, 상기 검출된 눈 영역을 분할할 수 있다. According to various embodiments of the present invention, the
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 분할된 눈 영역 각각에서 특징 점(feature point)을 판단할 수 있다. 예컨대, 상기 AP(1210)는, 상기 특징 점들을 적어도 하나의 클러스터(cluster)로 구분할 수 있다. 예컨대, 상기 AP(1210)는, 상기 클러스터들 각각의 조합으로 원을 생성하고, 상기 생성된 원들 중 원 내부의 평균 픽셀 값이 낮고 원의 가장 자리의 점들의 기울기 평균이 높은 원을 생성하는 최상의 클러스터의 조합을 선택할 수 있다. According to various embodiments of the present invention, the
본 발명의 다양한 실시 예에 따라, 상기 AP(1210)는, 상기 특징 점들을 이용하여 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단할 수 있다. 예컨대, 상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위(예, 유클리드 거리(Euclidean distance)가 1) 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단할 수 있다. According to various embodiments of the present invention, the
상기 통신 모듈(1220)는 상기 전자 장치(1201)(예: 상기 전자 장치(100))와 네트워크를 통해 연결된 다른 전자 장치들 간의 통신에서 데이터 송수신을 수행할 수 있다. 한 실시 예에 따르면, 상기 통신 모듈(1220)은 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227), NFC 모듈(1228) 및 RF(radio frequency) 모듈(1229)를 포함할 수 있다.The
상기 셀룰러 모듈(1221)은 통신망(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등)을 통해서 음성 통화, 영상 통화, 문자 서비스 또는 인터넷 서비스 등을 제공할 수 있다. 또한, 상기 셀룰러 모듈(1221)은, 예를 들면, 가입자 식별 모듈(예: SIM 카드(1224))을 이용하여 통신 네트워크 내에서 전자 장치의 구별 및 인증을 수행할 수 있다. 한 실시 예에 따르면, 상기 셀룰러 모듈(1221)은 상기 AP(1210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 예를 들면, 상기 셀룰러 모듈(1221)은 멀티 미디어 제어 기능의 적어도 일부를 수행할 수 있다. The
한 실시 예에 따르면, 상기 셀룰러 모듈(1221)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다. 또한, 상기 셀룰러 모듈(1221)은, 예를 들면, SoC로 구현될 수 있다. 도 12에서는 상기 셀룰러 모듈(1221)(예: 커뮤니케이션 프로세서), 상기 메모리(1230) 또는 상기 전력관리 모듈(1295) 등의 구성요소들이 상기 AP(1210)와 별개의 구성요소로 도시되어 있으나, 한 실시 예에 따르면, 상기 AP(1210)가 전술한 구성요소들의 적어도 일부(예: 셀룰러 모듈(1221))를 포함하도록 구현될 수 있다.According to one embodiment, the
한 실시 예에 따르면, 상기 AP(1210) 또는 상기 셀룰러 모듈(1221)(예: 커뮤니케이션 프로세서)은 각각에 연결된 비휘발성 메모리 또는 다른 구성요소 중 적어도 하나로부터 수신한 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리할 수 있다. 또한, 상기 AP(1210) 또는 상기 셀룰러 모듈(1221)은 다른 구성요소 중 적어도 하나로부터 수신하거나 다른 구성요소 중 적어도 하나에 의해 생성된 데이터를 비휘발성 메모리에 저장(store)할 수 있다.According to one embodiment, the
상기 Wifi 모듈(1223), 상기 BT 모듈(1225), 상기 GPS 모듈(1227) 또는 상기 NFC 모듈(1228) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 도 12에서는 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227) 또는 NFC 모듈(1228)이 각각 별개의 블록으로 도시되었으나, 한 실시 예에 따르면, 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227) 또는 NFC 모듈(1228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. 예를 들면, 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227) 또는 NFC 모듈(1228) 각각에 대응하는 프로세서들 중 적어도 일부(예: 셀룰러 모듈(1221))에 대응하는 커뮤니케이션 프로세서 및 Wifi 모듈(1223)에 대응하는 Wifi 프로세서)는 하나의 SoC로 구현될 수 있다. Each of the
상기 RF 모듈(1229)는 데이터의 송수신, 예를 들면, RF 신호의 송수신을 할 수 있다. 상기 RF 모듈(1229)는, 도시되지는 않았으나, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter) 또는 LNA(low noise amplifier) 등을 포함할 수 있다. 또한, 상기 RF 모듈(1229)는 무선 통신에서 자유 공간상의 전자파를 송수신하기 위한 부품, 예를 들면, 도체 또는 도선 등을 더 포함할 수 있다. 도 12에서는 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227) 및 NFC 모듈(1228)이 하나의 RF 모듈(1229)을 서로 공유하는 것으로 도시되어 있으나, 한 실시 예에 따르면, 셀룰러 모듈(1221), Wifi 모듈(1223), BT 모듈(1225), GPS 모듈(1227) 또는 NFC 모듈(1228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호의 송수신을 수행할 수 있다. The
상기 SIM 카드(1224)는 가입자 식별 모듈을 포함하는 카드일 수 있으며, 전자 장치의 특정 위치에 형성된 슬롯에 삽입될 수 있다. 상기 SIM 카드(1224)는 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The
상기 메모리(1230)(예: 상기 저장부(130))는 내장 메모리(1232)) 또는 외장 메모리(1234)를 포함할 수 있다. 상기 내장 메모리(1232)는, 예를 들면, 휘발성 메모리(예를 들면, DRAM(dynamic RAM), SRAM(static RAM), SDRAM(synchronous dynamic RAM) 등) 또는 비휘발성 메모리(non-volatile Memory, 예를 들면, OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory 등) 중 적어도 하나를 포함할 수 있다. The memory 1230 (e.g., the storage unit 130) may include an internal memory 1232) or an
한 실시 예에 따르면, 상기 내장 메모리(1232)는 Solid State Drive(SSD)일 수 있다. 상기 외장 메모리(1234)는 flash drive, 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital) 또는 Memory Stick 등을 더 포함할 수 있다. 상기 외장 메모리(1234)는 다양한 인터페이스를 통하여 상기 전자 장치(1201)과 기능적으로 연결될 수 있다. 한 실시 예에 따르면, 상기 전자 장치(1201)는 하드 드라이브와 같은 저장 장치(또는 저장 매체)를 더 포함할 수 있다.According to one embodiment, the internal memory 1232 may be a solid state drive (SSD). The
상기 센서 모듈(1240)은 물리량을 계측하거나 전자 장치(1201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 상기 센서 모듈(1240)은, 예를 들면, 제스처 센서(1240A), 자이로 센서(1240B), 기압 센서(1240C), 마그네틱 센서(1240D), 가속도 센서(1240E), 그립 센서(1240F), 근접 센서(1240G), color 센서(예: RGB(red, green, blue) 센서(1240H)), 생체 센서(1240I), 온/습도 센서(1240J), 조도 센서(1240K) 또는 UV(ultra violet) 센서(1240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 상기 센서 모듈(1240)은, 예를 들면, 후각 센서(E-nose sensor, 미도시), EMG 센서(electromyography sensor, 미도시), EEG 센서(electroencephalogram sensor, 미도시), ECG 센서(electrocardiogram sensor, 미도시), IR(infra red) 센서(미도시), 홍채 센서(미도시) 또는 지문 센서(미도시) 등을 포함할 수 있다. 상기 센서 모듈(1240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다.The
상기 입력 장치(1250)는 터치 패널(touch panel)(1252), (디지털) 펜 센서(pen sensor)(1254), 키(key)(1256) 또는 초음파(ultrasonic) 입력 장치(1258)를 포함할 수 있다. 상기 터치 패널(1252)은, 예를 들면, 정전식, 감압식, 적외선 방식 또는 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 또한, 상기 터치 패널(1252)은 제어 회로를 더 포함할 수도 있다. 정전식의 경우, 물리적 접촉 또는 근접 인식이 가능하다. 상기 터치 패널(1252)은 택타일 레이어(tactile layer)를 더 포함할 수도 있다. 이 경우, 상기 터치 패널(1252)은 사용자에게 촉각 반응을 제공할 수 있다. The
상기(디지털) 펜 센서(1254)는, 예를 들면, 사용자의 터치 입력을 받는 것과 동일 또는 유사한 방법 또는 별도의 인식용 쉬트(sheet)를 이용하여 구현될 수 있다. 상기 키(1256)는, 예를 들면, 물리적인 버튼, 광학식 키 또는 키패드를 포함할 수 있다. 상기 초음파(ultrasonic) 입력 장치(1258)는 초음파 신호를 발생하는 입력 도구를 통해, 전자 장치(1201)에서 마이크(예: 마이크(1288)로 음파를 감지하여 데이터를 확인할 수 있는 장치로서, 무선 인식이 가능하다. 한 실시 예에 따르면, 상기 전자 장치(1201)는 상기 통신 모듈(1220)를 이용하여 이와 연결된 외부 장치(예: 컴퓨터 또는 서버)로부터 사용자 입력을 수신할 수도 있다. The (digital)
상기 디스플레이(1260)(예: 상기 디스플레이(150)는 패널(1262), 홀로그램 장치(1264) 또는 프로젝터(1266)를 포함할 수 있다. 상기 패널(1262)은, 예를 들면, LCD(liquid-crystal display) 또는 AM-OLED(active-matrix organic light-emitting diode) 등일 수 있다. 상기 패널(1262)은, 예를 들면, 유연하게(flexible), 투명하게(transparent) 또는 착용할 수 있게(wearable) 구현될 수 있다. 상기 패널(1262)은 상기 터치 패널(1252)과 하나의 모듈로 구성될 수도 있다. 상기 홀로그램 장치(1264)은 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 상기 프로젝터(1266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 상기 스크린은, 예를 들면, 상기 전자 장치(1201)의 내부 또는 외부에 위치할 수 있다. 한 실시 예에 따르면, 상기 디스플레이(1260)은 상기 패널(1262), 상기 홀로그램 장치(1264), 또는 프로젝터(1266)를 제어하기 위한 제어 회로를 더 포함할 수 있다. The
상기 인터페이스(1270)는, 예를 들면, HDMI(high-definition multimedia interface)(1272), USB(universal serial bus)(1274), 광 인터페이스(optical interface)(1276) 또는 D-sub(D-subminiature)(1278)를 포함할 수 있다. 상기 인터페이스(1270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(160)에 포함될 수 있다. 추가적으로 또는 대체적으로, 상기 인터페이스(1270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure Digital) 카드/MMC(multi-media card) 인터페이스 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The
상기 오디오 모듈(1280)은 소리(sound)와 전기신호를 쌍방향으로 변환시킬 수 있다. 상기 오디오 모듈(1280)은, 예를 들면, 스피커(1282), 리시버(1284), 이어폰(1286) 또는 마이크(1288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The
상기 카메라 모듈(1291)은 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈(미도시), ISP(image signal processor, 미도시) 또는 플래쉬(flash, 미도시)(예: LED 또는 xenon lamp)를 포함할 수 있다.The
상기 전력 관리 모듈(1295)은 상기 전자 장치(1201)의 전력을 관리할 수 있다. 도시하지는 않았으나, 상기 전력 관리 모듈(1295)은, 예를 들면, PMIC(power management integrated circuit), 충전 IC(charger integrated circuit) 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. The
상기 PMIC는, 예를 들면, 집적회로 또는 SoC 반도체 내에 탑재될 수 있다. 충전 방식은 유선과 무선으로 구분될 수 있다. 상기 충전 IC는 배터리를 충전시킬 수 있으며, 충전기로부터의 과전압 또는 과전류 유입을 방지할 수 있다. 한 실시 예에 따르면, 상기 충전 IC는 유선 충전 방식 또는 무선 충전 방식 중 적어도 하나를 위한 충전 IC를 포함할 수 있다. 무선 충전 방식으로는, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등이 있으며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로 또는 정류기 등의 회로가 추가될 수 있다. The PMIC can be mounted, for example, in an integrated circuit or a SoC semiconductor. The charging method can be classified into wired and wireless. The charging IC can charge the battery, and can prevent an overvoltage or an overcurrent from the charger. According to one embodiment, the charging IC may comprise a charging IC for at least one of a wired charging scheme or a wireless charging scheme. The wireless charging system may be, for example, a magnetic resonance system, a magnetic induction system or an electromagnetic wave system, and additional circuits for wireless charging may be added, such as a coil loop, a resonant circuit or a rectifier have.
상기 배터리 게이지는, 예를 들면, 상기 배터리(1296)의 잔량, 충전 중 전압, 전류 또는 온도를 측정할 수 있다. 상기 배터리(1296)는 전기를 저장 또는 생성할 수 있고, 그 저장 또는 생성된 전기를 이용하여 상기 전자 장치(1201)에 전원을 공급할 수 있다. 상기 배터리(1296)는, 예를 들면, 충전식 전지(rechargeable battery) 또는 태양 전지(solar battery)를 포함할 수 있다. The battery gauge can measure, for example, the remaining amount of the
상기 인디케이터(1297)는 상기 전자 장치(1201) 혹은 그 일부(예: 상기 AP(1210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 상기 모터(1298)는 전기적 신호를 기계적 진동으로 변환할 수 있다. 도시되지는 않았으나, 상기 전자 장치(1201)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 상기 모바일 TV지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting) 또는 미디어플로우(media flow) 등의 규격에 따른 미디어 데이터를 처리할 수 있다. The
도 13은 본 발명의 다양한 실시 예에 따른 프로그램 모듈 구성의 일 예를 도시한 블록도이다. 한 실시 예에 따르면, 상기 프로그램 모듈(1310)은 전자 장치(예: 전자 장치(100))에 관련된 자원을 제어하는 운영 체제(operation system(OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(137))을 포함할 수 있다. 상기 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.13 is a block diagram illustrating an example of a program module configuration according to various embodiments of the present invention. According to one embodiment, the
도 13을 참조하면, 프로그램 모듈(1310)은 커널(1320), 미들웨어(1330), API(application programming interface)(1360), 및/또는 어플리케이션(1370)을 포함할 수 있다. 상기 프로그램 모듈(1310)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 서버로부터 다운로드(download) 가능하다.13, the
상기 커널(1320)은, 예를 들면, 시스템 리소스 매니저(1321) 또는 디바이스 드라이버(1323)를 포함할 수 있다. 상기 시스템 리소스 매니저(1321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시 예에 따르면, 상기 시스템 리소스 매니저(1321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 상기 디바이스 드라이버(1323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WIFI 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. The
상기 미들웨어(1330)는, 예를 들면, 상기 어플리케이션(1370)이 공통적으로 필요로 하는 기능을 제공하거나, 상기 어플리케이션(1370)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 상기 API(1360)를 통해 다양한 기능들을 상기 어플리케이션(1370)으로 제공할 수 있다. 한 실시 예에 따르면, 상기 미들웨어(1330)는 런타임 라이브러리(1335), 어플리케이션 매니저(application manager)(1341), 윈도우 매니저(window manager)(1342), 멀티미디어 매니저(multimedia manager)(1343), 리소스 매니저(resource manager)(1344), 파워 매니저(power manager)(1345), 데이터베이스 매니저(database manager)(1346), 패키지 매니저(package manager)(1347), 연결 매니저(connectivity manager)(1348), 통지 매니저(notification manager)(1349), 위치 매니저(location manager)(1350), 그래픽 매니저(graphic manager)(1351), 또는 보안 매니저(security manager)(1352) 중 적어도 하나를 포함할 수 있다.The
상기 런타임 라이브러리(1335)는, 예를 들면, 상기 어플리케이션(1370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 상기 런타임 라이브러리(1335)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다. The
상기 어플리케이션 매니저(1341)는, 예를 들면, 상기 어플리케이션(1370) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 상기 윈도우 매니저(1342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 상기 멀티미디어 매니저(1343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 상기 리소스 매니저(1344)는 상기 어플리케이션(1370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다. The
상기 파워 매니저(1345)는, 예를 들면, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 상기 데이터베이스 매니저(1346)는 상기 어플리케이션(1370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 상기 패키지 매니저(1347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다. The
상기 연결 매니저(1348)는, 예를 들면, WIFI 또는 블루투스 등의 무선 연결을 관리할 수 있다. 상기 통지 매니저(1349)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 표시 또는 통지할 수 있다. 상기 위치 매니저(1350)는 전자 장치의 위치 정보를 관리할 수 있다. 상기 그래픽 매니저(1351)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 상기 보안 매니저(1352)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시 예에 따르면, 전자 장치(예: 전자 장치(100))가 전화 기능을 포함한 경우, 상기 미들웨어(1330)는 상기 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다. The
상기 미들웨어(1330)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 상기 미들웨어(1330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 상기 미들웨어(1330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. The
상기 API(1360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다. The
상기 어플리케이션(1370)은, 예를 들면, 홈(1371), 다이얼러(1372), SMS/MMS(1373), IM(instant message)(1374), 브라우저(1375), 카메라(1376), 알람(1377), 컨택트(1378), 음성 다이얼(1379), 이메일(1380), 달력(1381), 미디어 플레이어(1382), 앨범(1383), 또는 시계(1384), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 제공할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다. The
한 실시 예에 따르면, 상기 어플리케이션(1370)은 상기 전자 장치(예: 전자 장치(100))와 외부 전자 장치 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의 상, “정보 교환 어플리케이션”)을 포함할 수 있다. 상기 정보 교환 어플리케이션은, 예를 들면, 상기 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 상기 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. According to one embodiment, the
예를 들면, 상기 알림 전달 어플리케이션은 상기 전자 장치의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션, 또는 환경 정보 어플리케이션 등)에서 발생된 알림 정보를 외부 전자 장치로 전달하는 기능을 포함할 수 있다. 또한, 상기 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 상기 장치 관리 어플리케이션은, 예를 들면, 상기 전자 장치와 통신하는 외부 전자 장치의 적어도 하나의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 상기 외부 전자 장치에서 동작하는 어플리케이션 또는 상기 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다. For example, the notification delivery application may transmit notification information generated by another application (e.g., an SMS / MMS application, an email application, a healthcare application, or an environment information application) of the electronic device to an external electronic device . Further, the notification delivery application can receive notification information from, for example, an external electronic device and provide the notification information to the user. The device management application may, for example, provide at least one function of the external electronic device in communication with the electronic device (e.g., turn-on / turn-off of the external electronic device itself (E.g., install, delete, or update) a service (e.g., a call service or a message service) provided by the external electronic device or an application running on the external electronic device.
한 실시 예에 따르면, 상기 어플리케이션(1370)은 상기 외부 전자 장치의 속성(예: 전자 장치의 속성으로서, 전자 장치의 종류가 모바일 의료 기기)에 따라 지정된 어플리케이션(예: 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시 예에 따르면, 상기 어플리케이션(1370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시 예에 따르면, 상기 어플리케이션(1370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시 예에 따른 프로그램 모듈(1310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다. According to one embodiment, the
본 발명의 다양한 실시 예에 따른 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 본 발명의 다양한 실시 예에 따른 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 본 발명의 다양한 실시 예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.Each of the above-described components of the electronic device according to various embodiments of the present invention may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. The electronic device according to various embodiments of the present invention may be configured to include at least one of the above-described components, and some components may be omitted or further include other additional components. In addition, some of the components of the electronic device according to various embodiments of the present invention may be combined into one entity, so that the functions of the components before being combined can be performed in the same manner.
본 발명의 다양한 실시 예에 사용된 용어 “모듈”은, 예를 들어, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. “모듈”은 예를 들어, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component) 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. “모듈”은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. “모듈”은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. “모듈”은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면, 본 발명의 다양한 실시 예에 따른 “모듈”은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term " module " as used in various embodiments of the present invention may mean a unit including, for example, one or a combination of two or more of hardware, software or firmware. A " module " may be interchangeably used with terms such as, for example, unit, logic, logical block, component or circuit. A " module " may be a minimum unit or a portion of an integrally constructed component. A " module " may be a minimum unit or a portion thereof that performs one or more functions. &Quot; Modules " may be implemented either mechanically or electronically. For example, a " module " in accordance with various embodiments of the present invention may be implemented as an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs) And a programmable-logic device.
다양한 실시 예에 따르면, 본 발명의 다양한 실시 예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그래밍 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어는, 하나 이상의 프로세서(예: 상기 제어부(110))에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 상기 저장부(130)가 될 수 있다. 상기 프로그래밍 모듈의 적어도 일부는, 예를 들면, 상기 제어부(110)에 의해 구현(implement)(예: 실행)될 수 있다. 상기 프로그래밍 모듈 의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to various embodiments of the present invention may be, for example, a computer readable And may be implemented with instructions stored on a computer-readable storage medium. When executed by one or more processors (e.g., the controller 110), the one or more processors may perform functions corresponding to the instructions. The computer-readable storage medium may be the
상기 컴퓨터로 판독 가능한 기록 매체에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 마그네틱 매체(Magnetic Media)와, CD-ROM(Compact Disc Read Only Memory), DVD(Digital Versatile Disc)와 같은 광기록 매체(Optical Media)와, 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media)와, 그리고 ROM(Read Only Memory), RAM(Random Access Memory), 플래시 메모리 등과 같은 프로그램 명령(예: 프로그래밍 모듈)을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함될 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 본 발명의 다양한 실시 예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.The computer-readable recording medium includes a magnetic medium such as a hard disk, a floppy disk and a magnetic tape, an optical recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc) A magneto-optical medium such as a floppy disk, and a program command such as a read only memory (ROM), a random access memory (RAM), a flash memory, Module) that is configured to store and perform the functions described herein. The program instructions may also include machine language code such as those generated by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the various embodiments of the present invention, and vice versa.
본 발명의 다양한 실시 예에 따른 모듈 또는 프로그래밍 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 본 발명의 다양한 실시 예에 따른 모듈, 프로그래밍 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Modules or programming modules according to various embodiments of the present invention may include at least one or more of the elements described above, some of which may be omitted, or may further include other additional elements. Operations performed by modules, programming modules, or other components in accordance with various embodiments of the invention may be performed in a sequential, parallel, iterative, or heuristic manner. Also, some operations may be performed in a different order, omitted, or other operations may be added.
본 발명의 다양한 실시 예에 따르면, 명령들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 이미지로부터 눈 영역을 검출하는 동작, 상기 검출된 눈 영역에서 기준 점을 판단하는 동작, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 동작을 포함할 수 있다. According to various embodiments of the present invention there is provided a storage medium having stored thereon instructions for causing the at least one processor to perform at least one operation when executed by at least one processor, Includes the steps of detecting an eye region from an image, determining a reference point in the detected eye region, comparing the center of the circle generated from the detected eye region with the reference point to determine the center of the eye Operation.
그리고 본 명세서와 도면에 개시된 본 발명의 실시 예들은 본 발명의 실시 예에 따른 발명의 기술 내용을 쉽게 설명하고 본 발명의 실시 예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시 예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시 예의 범위는 여기에 개시된 실시 예들 이외에도 본 발명의 다양한 실시 예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시 예의 범위에 포함되는 것으로 해석되어야 한다. It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed. It is not intended to limit the scope. Accordingly, the scope of various embodiments of the present invention should be construed as being included in the scope of various embodiments of the present invention in addition to the embodiments disclosed herein, all changes or modifications derived from the technical ideas of various embodiments of the present invention.
Claims (18)
이미지를 촬영하는 카메라 모듈; 및
이미지로부터 눈 영역을 검출하고, 상기 검출된 눈 영역에서 기준 점을 판단하고, 상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 제어부;를 포함하는 전자 장치. In an electronic device,
A camera module for photographing an image; And
And a controller for detecting an eye region from the image, determining a reference point in the detected eye region, and determining the center of the eye by comparing the center of the circle generated from the detected eye region with the reference point, Device.
상기 제어부는,
상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지 여부를 판단함을 특징으로 하는 전자 장치.The method according to claim 1,
Wherein,
And determines whether the center of the generated circle is located within a predetermined range from the reference point.
상기 제어부는,
상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단함을 특징으로 하는 전자 장치.3. The method of claim 2,
Wherein,
And when the center of the generated circle is located within a certain range from the reference point, the center of the generated circle is determined as the center of the eye.
상기 제어부는,
상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하지 않는 경우, 상기 생성된 원의 중심을 상기 기준 점으로 재 설정함을 특징으로 하는 전자 장치.3. The method of claim 2,
Wherein,
And resets the center of the generated circle to the reference point when the center of the generated circle is not located within a certain range from the reference point.
상기 제어부는,
상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지를 판단하는 동작의 수행 횟수에 따라, 상기 기준 점을 재 설정할 지 여부를 결정함을 특징으로 하는 전자 장치.5. The method of claim 4,
Wherein,
And determines whether to reset the reference point according to the number of times of performing the operation of determining whether the center of the generated circle is located within a predetermined range from the reference point.
상기 제어부는,
상기 기준 점을 기준으로 상기 검출된 눈 영역을 분할하고, 상기 검출된 눈 영역의 가장 자리에 포함된 점들 중 상기 분할된 영역 각각에 대한 특징 점을 선택함을 특징으로 하는 전자 장치.The method according to claim 1,
Wherein,
Dividing the detected eye region based on the reference point and selecting feature points for each of the divided regions among the points included in the edge of the detected eye region.
상기 제어부는,
상기 선택된 특징 점들 중 상기 기준 점으로부터 미리 설정된 거리 내에 위치한 점들을 추출하고, 상기 추출된 점을 이용하여 생성함을 특징으로 하는 전자 장치. The method according to claim 6,
Wherein,
Extracting points located within a predetermined distance from the reference point among the selected feature points, and generating the extracted points using the extracted points.
상기 생성된 원은, 상기 추출된 점들을 이용하여 생성된 원임을 특징으로 하는 전자 장치. 8. The method of claim 7,
Wherein the generated circle is generated using the extracted points.
상기 기준 점은,
상기 검출된 눈 영역과 관련된 적어도 하나의 픽셀 값 혹은 상기 검출된 눈 영역의 반지름에 따라, 상기 검출된 눈 영역 내의 지점으로 선택된 것임을 특징으로 하는 전자 장치. The method according to claim 1,
The reference point,
Is selected as a point in the detected eye region according to at least one pixel value associated with the detected eye region or a radius of the detected eye region.
이미지로부터 눈 영역을 검출하는 동작;
상기 검출된 눈 영역에서 기준 점을 판단하는 동작; 및
상기 검출된 눈 영역으로부터 생성된 원의 중심과 상기 기준 점을 비교하여 눈의 중심을 판단하는 동작;을 포함하는 전자 장치에서 눈의 중심을 판단하는 방법. A method for determining the center of an eye in an electronic device,
Detecting an eye region from the image;
Determining a reference point in the detected eye region; And
And determining the center of the eye by comparing the center of the circle generated from the detected eye region with the reference point.
상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지 여부를 판단하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법.11. The method of claim 10,
And determining whether the center of the generated circle is located within a predetermined range from the reference point.
상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하는 경우, 상기 생성된 원의 중심을 눈의 중심으로 판단하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법. 12. The method of claim 11,
And determining the center of the generated circle as the center of the eye when the center of the generated circle is located within a certain range from the reference point.
상기 생성된 원의 중심이 상기 기준 점으로부터 일정 범위 내에 위치하지 않는 경우, 상기 생성된 원의 중심을 상기 기준 점으로 재 설정하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법. 12. The method of claim 11,
And resetting the center of the generated circle to the reference point if the center of the generated circle is not located within a certain range from the reference point.
상기 생성된 원의 중심이 상기 기준 점으로부터 미리 설정된 범위 내에 위치하는지를 판단하는 동작의 수행 횟수에 따라, 상기 기준 점을 재 설정할 지 여부를 결정하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법.14. The method of claim 13,
Determining whether to reset the reference point according to the number of times of performing the operation of determining whether the center of the generated circle is within a predetermined range from the reference point; How to judge.
상기 기준 점을 기준으로 상기 검출된 눈 영역을 분할하는 동작;과
상기 검출된 눈 영역의 가장 자리에 포함된 점들 중 상기 분할된 영역 각각에 대한 특징 점을 선택하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법.11. The method of claim 10,
Dividing the detected eye region based on the reference point;
And selecting a feature point for each of the divided regions among the points included in the edge of the detected eye region.
상기 선택된 특징 점들 중 상기 기준 점으로부터 미리 설정된 거리 내에 위치한 점들을 추출하는 동작;과,
상기 추출된 점을 이용하여 원을 생성하는 동작;을 더 포함하는 전자 장치에서 눈의 중심을 판단하는 방법.16. The method of claim 15,
Extracting points among the selected feature points located within a predetermined distance from the reference point;
And generating a circle using the extracted points. ≪ Desc / Clms Page number 20 >
상기 생성된 원은, 상기 추출된 점들을 이용하여 생성된 원임을 특징으로 하는 전자 장치에서 눈의 중심을 판단하는 방법.17. The method of claim 16,
Wherein the generated circle is a circle generated using the extracted points.
상기 기준 점은,
상기 검출된 눈 영역과 관련된 적어도 하나의 픽셀 값 혹은 상기 검출된 눈 영역의 반지름에 따라, 상기 검출된 눈 영역 내의 지점으로 선택된 것임을 특징으로 하는 전자 장치에서 눈의 중심을 판단하는 방법.11. The method of claim 10,
The reference point,
Wherein the detected eye area is selected as a point in the detected eye area according to at least one pixel value associated with the detected eye area or a radius of the detected eye area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150004335A KR102348366B1 (en) | 2015-01-12 | 2015-01-12 | Electronic device and method for determining central of an eye in electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150004335A KR102348366B1 (en) | 2015-01-12 | 2015-01-12 | Electronic device and method for determining central of an eye in electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160086671A true KR20160086671A (en) | 2016-07-20 |
KR102348366B1 KR102348366B1 (en) | 2022-01-10 |
Family
ID=56680027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150004335A KR102348366B1 (en) | 2015-01-12 | 2015-01-12 | Electronic device and method for determining central of an eye in electronic device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102348366B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969120A (en) * | 2019-11-29 | 2020-04-07 | 北京达佳互联信息技术有限公司 | Image processing method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110054311A (en) * | 2009-11-17 | 2011-05-25 | 삼성전자주식회사 | Image processing method and apparatus |
KR20120043980A (en) * | 2010-10-27 | 2012-05-07 | 동국대학교 산학협력단 | System for tracking gaze and method thereof |
KR20140045873A (en) * | 2012-10-09 | 2014-04-17 | 한국전자통신연구원 | Apparatus and method for eye tracking |
KR20140132906A (en) * | 2013-05-09 | 2014-11-19 | 에스케이플래닛 주식회사 | Device and method for mobile tooltip using eye detecting |
-
2015
- 2015-01-12 KR KR1020150004335A patent/KR102348366B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110054311A (en) * | 2009-11-17 | 2011-05-25 | 삼성전자주식회사 | Image processing method and apparatus |
KR20120043980A (en) * | 2010-10-27 | 2012-05-07 | 동국대학교 산학협력단 | System for tracking gaze and method thereof |
KR20140045873A (en) * | 2012-10-09 | 2014-04-17 | 한국전자통신연구원 | Apparatus and method for eye tracking |
KR20140132906A (en) * | 2013-05-09 | 2014-11-19 | 에스케이플래닛 주식회사 | Device and method for mobile tooltip using eye detecting |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969120A (en) * | 2019-11-29 | 2020-04-07 | 北京达佳互联信息技术有限公司 | Image processing method and device, electronic equipment and readable storage medium |
CN110969120B (en) * | 2019-11-29 | 2024-01-12 | 北京达佳互联信息技术有限公司 | Image processing method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
KR102348366B1 (en) | 2022-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107665485B (en) | Electronic device and computer-readable recording medium for displaying graphic objects | |
US20150324004A1 (en) | Electronic device and method for recognizing gesture by electronic device | |
KR20150081707A (en) | Electronic glasses and operating method for correcting color blindness | |
US20150301609A1 (en) | Gesture recognition method and gesture recognition apparatus | |
KR20150106719A (en) | Method for informing shooting location of electronic device and electronic device implementing the same | |
CN110462617B (en) | Electronic device and method for authenticating biometric data with multiple cameras | |
US9767360B2 (en) | Image processing method and electronic device implementing the same | |
US10806356B2 (en) | Electronic device and method for measuring heart rate based on infrared rays sensor using the same | |
KR20150111632A (en) | Fingerprint identifying method and electronic device thereof | |
US20150243063A1 (en) | Method and apparatus for displaying biometric information | |
KR20170031656A (en) | Electronic apparatus and method for processing three-dimensional information usins image | |
KR20160030674A (en) | Method and apparatus for iris recognition | |
CN105371948A (en) | Method of detecting ultraviolet ray and electronic device thereof | |
US9942467B2 (en) | Electronic device and method for adjusting camera exposure | |
KR20150141426A (en) | Electronic device and method for processing an image in the electronic device | |
KR20170052984A (en) | Electronic apparatus for determining position of user and method for controlling thereof | |
KR20150113572A (en) | Electronic Apparatus and Method for Acquiring of Image Data | |
KR20150071244A (en) | Electronic device and operating method thereof | |
KR102209729B1 (en) | Apparatas and method for detecting contents of a recognition area in an electronic device | |
KR102305117B1 (en) | Method for control a text input and electronic device thereof | |
KR20160012583A (en) | Method for controlling function and electronic device thereof | |
KR102305909B1 (en) | Method for image processing and electronic device supporting thereof | |
KR20150105005A (en) | Method for processing data and an electronic device thereof | |
KR20180014586A (en) | Electronic Device and Method for Outputting Thumbnail Corresponding to User Input | |
KR102347359B1 (en) | Electronic device and method for tracking gaze in electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |