KR20080045578A - Apparatus for sensing clicking of subject and method thereof - Google Patents

Apparatus for sensing clicking of subject and method thereof Download PDF

Info

Publication number
KR20080045578A
KR20080045578A KR1020060114830A KR20060114830A KR20080045578A KR 20080045578 A KR20080045578 A KR 20080045578A KR 1020060114830 A KR1020060114830 A KR 1020060114830A KR 20060114830 A KR20060114830 A KR 20060114830A KR 20080045578 A KR20080045578 A KR 20080045578A
Authority
KR
South Korea
Prior art keywords
information
subject
click
threshold value
image data
Prior art date
Application number
KR1020060114830A
Other languages
Korean (ko)
Inventor
김문수
Original Assignee
엠텍비젼 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엠텍비젼 주식회사 filed Critical 엠텍비젼 주식회사
Priority to KR1020060114830A priority Critical patent/KR20080045578A/en
Publication of KR20080045578A publication Critical patent/KR20080045578A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/269Analysis of motion using gradient-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10141Special mode during image acquisition
    • G06T2207/10152Varying illumination

Abstract

An apparatus and a method for sensing clicking of a subject are provided to extract a movement of a subject without the necessity of a light source for illuminating the subject. An image capturing unit(210) captures an image of a subject to generate the first image data sequentially. A clarity adjusting unit(231) adjusts clarity of the first image data to generate the second image data sequentially. An outline extracting unit(233) generates a difference value between the sequentially inputted first image data and second image data to extract outlines sequentially corresponding to one end of the subject. A subject determining unit(239-1) compares the mth subject size information calculated by using the mth outline with a pre-set first boundary value, compares the kth subject size information calculated by using the kth outline with a pre-set second boundary value, generates a function performing command corresponding to a particular position in a pre-set outline, and outputs the same.

Description

피사체 클릭 동작 감지 장치 및 방법{Apparatus for sensing clicking of subject and Method thereof}Apparatus for sensing clicking of subject and Method approximately}

도 1은 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치가 이동 통신 단말기에 마련된 경우를 도시한 도면.1 is a diagram illustrating a case in which a subject click motion detection apparatus for implementing the present invention is provided in a mobile communication terminal.

도 2a는 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 따른 블록 구성도.Figure 2a is a block diagram according to an embodiment of a subject click motion detection apparatus for implementing the present invention.

도 2b는 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 따른 포인터 이동 제어 시 사용되는 기준 휘도값에 대한 설정 방법을 도시한 도면.FIG. 2B is a diagram illustrating a method for setting a reference luminance value used in controlling a pointer movement according to an embodiment of an apparatus for detecting a subject click motion for implementing the present invention. FIG.

도 3은 본 발명의 바람직한 일 실시예에 따른 피사체 클릭 동작 감지 방법을 나타낸 도면.3 is a diagram illustrating a method for detecting a subject click motion according to an exemplary embodiment of the present invention.

도 4는 피사체 클릭 동작 감지 방법의 일 실시예에 따른 순서도.4 is a flowchart illustrating an example of a method of detecting a subject click motion.

도 5는 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면.5 is a diagram illustrating an image generated by an embodiment of an apparatus for detecting a subject click motion for implementing the present invention.

도 6은 배경의 명도가 큰 경우 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면.FIG. 6 is a diagram illustrating an image generated by an embodiment of a subject click motion detecting apparatus for implementing the present invention when the brightness of a background is large.

도 7은 배경의 명도가 작은 경우 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면.FIG. 7 is a diagram illustrating an image generated by an embodiment of a subject click motion detecting apparatus for implementing the present invention when the brightness of a background is small.

도 8은 본 발명의 바람직한 일 실시예에 따른 피사체의 클릭 동작 감지 방법에 대한 순서도.8 is a flowchart illustrating a method of detecting a click motion of a subject according to an exemplary embodiment of the present invention.

도 9는 본 발명의 바람직한 다른 실시예에 따른 피사체의 클릭 동작 감지 방법에 대한 순서도.9 is a flowchart illustrating a method of detecting a click motion of a subject according to another exemplary embodiment of the present invention.

도 10은 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 다른 실시예에 따른 블록 구성도.10 is a block diagram according to another embodiment of a subject click motion detection apparatus for implementing the present invention.

도 11은 피사체 클릭 동작 감지 방법의 다른 실시예에 따른 순서도.11 is a flowchart illustrating another method of detecting a subject click motion.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

210 : 촬상부 213 : 필터부210: imaging unit 213: filter unit

216 : 렌즈부 219 : 이미지 센서부216: lens unit 219: image sensor unit

230 : 이미지 처리부 231 : 선명도 조절부230: image processing unit 231: sharpness adjustment unit

233 : 외곽선 추출부 235 : 감마 보정부 233: outline extraction unit 235: gamma correction unit

237 : 중심 판단부 239 : 포인터 위치 설정부237: center determination unit 239: pointer position setting unit

239-1 : 피사체 판단부 240 : 저장부239-1: Subject determining unit 240: Storage unit

본 발명은 피사체 클릭 동작 감지 장치 및 방법에 관한 것으로 특히 피사체의 무접점 클릭 동작의 감지 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for detecting a subject click operation, and more particularly, to an apparatus and method for detecting a contactless click operation of a subject.

일반적으로 디스플레이 장치는 전기적 신호를 영상 신호로 변환하여 출력하는 장치이다. 이러한 디스플레이 장치의 종류에는 CRT(cathod ray tube), LCD(Liquid Crystal Display), PDP(Plasma Display Panel), 유기 발광 소자(OLED: Organic Light Emitting Diodes) 디스플레이 장치 등이 있다. 각각의 디스플레이 장치는 영상 신호에 상응하는 R, G, B의 광을 출사함으로써 이미지에 상응하는 컬러를 구현한다.In general, a display device is a device that converts an electrical signal into an image signal to output. Such display devices include a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display panel (PDP), and an organic light emitting diode (OLED) display device. Each display device emits light of R, G, and B corresponding to an image signal to implement colors corresponding to the image.

또한, 현재 전자공학 및 통신공학의 비약적인 발전에 따라 사용자는 컴퓨터, TV 등 디지털 가전기기 또는 이동 통신 단말기 등을 이용하여 인터넷 접속, 화상 통신 및 동영상 메시지 전송, 디지털 뮤직 청취 및 위성방송 시청 등의 다양한 기능을 향유할 수 있게 되었다. 이러한 다양한 기능을 향유하기 위해 선택을 위한 효율적인 키패드 입력이 요망되고 있다. In addition, with the rapid development of electronics and communication engineering, users can use various devices such as internet access, video communication and video message transmission, digital music listening and satellite broadcasting by using digital home appliances or mobile communication terminals such as computers and TVs. I can enjoy function. In order to enjoy these various functions, efficient keypad input for selection is desired.

여기서, 반도체 기술의 발전으로 저렴한 가격에 카메라 촬상 장치의 공급이 가능하게 되어 이를 장착한 컴퓨터, 이동 통신 단말기가 보급되어 카메라 촬상 장치가 구비된 전자기기를 쉽게 접할 수 있게 되었다.  Here, with the development of semiconductor technology, it is possible to supply a camera imaging device at a low price, so that a computer and a mobile communication terminal equipped with the same can be supplied to easily access electronic devices equipped with a camera imaging device.

또한, 컴퓨터를 이용한 영상 처리 기술 및 화상 인식 기술의 발달에 따라 이를 이용한 다양한 응용분야가 발전하고 있다. 이러한 다양한 응용분야 중 하나로 카메라 촬상장치를 입력수단으로 이용하여 정보를 전달하는 기술개발이 진행되고 있다. Also, with the development of computer image processing technology and image recognition technology, various application fields using the same have been developed. As one of various application fields, a technology for transferring information using a camera imaging device as an input means is being developed.

그러나, 기존의 키패드를 이용하여 메뉴 기능을 선택하여 방향키 및 선택키 등의 메뉴선택을 위한 부가적인 키(예를 들어, 이동통신 단말기의 경우 통화 버튼 및 무선 인터넷 접속 버튼, MP3 플레이어의 경우 파일 재생 버튼 및 파일 선택 버튼 등)가 포함되어 있다. 따라서, 디지털 가전기기나 이동 통신 단말기의 제조시 이에 대한 금형 작업이 필요하며, 이러한 이유로 전자 장비의 제조공정이 복잡해지고 그 제조 단가가 상승하게 되는 문제점이 있다.However, additional keys for menu selection such as direction keys and selection keys by selecting a menu function using an existing keypad (for example, call button and wireless internet access button for a mobile communication terminal and file playback for an MP3 player). Buttons and file selection buttons). Therefore, when manufacturing a digital home appliance or a mobile communication terminal, it is necessary to work on the mold, and for this reason, there is a problem in that the manufacturing process of the electronic equipment becomes complicated and the manufacturing cost thereof increases.

본 발명은 피사체 주위의 명도에 관계없이 피사체의 움직임을 추출하여 디스플레이 상의 포인터를 제어할 수 있는 피사체 클릭 동작 감지 장치를 제공하고자 한다. An object of the present invention is to provide a subject click motion detection apparatus capable of controlling a pointer on a display by extracting movement of a subject regardless of brightness around the subject.

또한, 본 발명은 피사체의 움직임을 추출하기 위해 피사체를 조명할 별도의 광원이 필요하지 않은 피사체 클릭 동작 감지 장치를 제공하고자 한다. In addition, the present invention is to provide a subject click motion detection device that does not need a separate light source to illuminate the subject in order to extract the movement of the subject.

또한, 본 발명은 카메라 촬상장치를 이용하여 디스플레이 상의 포인터를 제어할 수 있는 피사체 클릭 동작 감지 장치를 제공하고자 한다. In addition, the present invention is to provide a subject click motion detection device that can control the pointer on the display using a camera imaging device.

또한, 본 발명은 기존의 키패드의 일부를 생략할 수 있음으로써 전자 장치의 공간적인 활용도를 높일 수 있고, 전자 장치의 소형화가 가능한 피사체 클릭 동작 감지 장치를 제공하고자 한다. In addition, the present invention can omit a part of the existing keypad to increase the spatial utilization of the electronic device, to provide a subject click motion detection device capable of miniaturization of the electronic device.

또한, 본 발명은 전자장치 제조시 제조 공정이 간단해지고 그 제조 단가를 줄일 수 있는 피사체 클릭 동작 감지 장치를 제공하고자 한다. In addition, an object of the present invention is to provide a subject click motion detection device that can simplify the manufacturing process and reduce the manufacturing cost of the electronic device.

또한, 본 발명은 구비된 카메라를 범용적으로 이용할 수 있도록 하여 부품 활용도를 극대화할 수 있는 피사체 클릭 동작 감지 장치를 제공하고자 한다. In addition, the present invention is to provide a subject click motion detection device that can maximize the utilization of the components by making it possible to use the provided camera universally.

또한, 본 발명은 디스플레이 상에 표현되는 포인터뿐만 아니라, 디스플레이가 구비되지 않은 장치에서 메뉴간 이동 또는 볼륨의 수치와 같이 선택적 기능을 제어할 수 있는 포인터 이동 제어 방법 및 그 장치를 제공한다.The present invention also provides a pointer movement control method and apparatus capable of controlling an optional function such as a menu movement or a volume value in a device having no display, as well as a pointer represented on a display.

본 발명이 제시하는 이외의 기술적 과제들은 하기의 설명을 통해 쉽게 이해될 수 있을 것이다.Technical problems other than the present invention will be easily understood through the following description.

상기한 문제점을 해결하기 위한 본 발명의 일 측면에 따르면, (a) 피사체를 촬상하여 제1 영상 데이터를 생성하는 단계; (b) 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 생성하는 단계; (c) 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 추출하여 상기 피사체의 일단에 상응하는 제m 외곽선을 추출하는 단계; (d) 상기 제m 외곽선으로부터 제m 피사체 크기 정보를 산출하여 미리 설정된 제1 경계값과 비교하는 단계; (e) 상기 피사체의 일단에 상응하는 제k 외곽선으로부터 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하는 단계; 및 (f) 상기 제m 피사체 크기 정보와 상기 제1 경계값을 비교한 결과 및 상기 제k 피사체 크기 정보와 상기 제1 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하 는 피사체 클릭 동작 감지 방법이 제공된다. According to an aspect of the present invention for solving the above problems, (a) imaging the subject to generate the first image data; (b) generating second image data by adjusting the sharpness of the first image data; (c) extracting an m-th outline corresponding to one end of the subject by extracting a difference value between the first image data and the second image data; (d) calculating m-th subject size information from the m-th outline and comparing the m-th subject size information with a first threshold value; (e) calculating k-th subject size information from a k-th outline corresponding to one end of the subject and comparing it with the first boundary value; And (f) a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m-th subject size information with the first threshold and a result of comparing the k-th subject size information with the first threshold; And generating and outputting a performance command, wherein m is a natural number and k is a natural number greater than m.

여기서, 상기 피사체 클릭 동작 감지 방법은 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하는 단계; 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되, 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성될 수 있다. Here, the method for detecting a subject click operation may include: starting measurement of click information when the m-th subject size information is larger than the first threshold value; If the k-th object size information is smaller than the first threshold value, the method may further include terminating click information measurement. The command to perform a function may be generated corresponding to a specific position in the preset outline and the click information. have.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 대기 정보 측정을 개시하는 단계를 더 포함하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에는 상기 기능 수행 명령이 출력될 수 있다. The method for detecting a subject click operation may further include starting measurement of atmospheric information when the k-th subject size information is smaller than the first threshold, but when the atmospheric information passes a preset boundary time. The function execution command may be output.

또한, 상기 피사체 클릭 동작 감지 방법은 제l 피사체 크기 정보를 산출하여 미리 설정된 제2 경계값과 비교하는 단계를 더 포함하되, 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에 출력될 수 있다. The method of detecting a subject click motion may further include calculating first object size information and comparing the first object size information with a second threshold value, wherein l is a natural number greater than k, and the command to perform a function is the first. It may be output when the subject size information is smaller than the second boundary value.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에는 대기 정보 측정을 개시하는 단계를 더 포함하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령이 출력될 수 있다. The method for detecting a subject click operation may further include starting measurement of atmospheric information when the first subject size information is smaller than the second threshold value, but if the atmospheric information passes a preset boundary time, the function. The execution command may be output.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 단계 (f)는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 크고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계일 수 있다.In addition, the method of detecting a subject click operation may include the step (f) in the preset outline if the m-th subject size information is greater than the first threshold value and the k-th subject size information is smaller than the first threshold value. It may be a step of generating and outputting a function execution command corresponding to a specific position.

상기한 문제점을 해결하기 위한 본 발명의 다른 측면에 따르면, (a) 피사체를 촬상하여 제1 영상 데이터를 생성하는 단계; (b) 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 생성하는 단계; (c) 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 추출하여 상기 피사체의 일단에 상응하는 제m 외곽선을 추출하는 단계; (d) 상기 제m 외곽선에 상응하는 제m 피사체 크기 정보를 이용하여 제m 기울기 정보를 산출하는 단계; (e) 상기 제m 기울기 정보와 미리 설정된 제3 경계값을 비교하는 단계; (f) 상기 피사체의 일단으로부터 추출된 제k 외곽선에 상응하는 제k 피사체 크기 정보를 이용하여 제k 기울기 정보를 산출하는 단계; (g) 상기 제k 기울기 정보와 상기 제4 경계값과 비교하는 단계 및 (h) 상기 제m 기울기 정보와 상기 제3 경계값을 비교한 결과 및 상기 제k 기울기 정보와 상기 제3 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법이 제공된다.  According to another aspect of the present invention for solving the above problems, (a) imaging the subject to generate the first image data; (b) generating second image data by adjusting the sharpness of the first image data; (c) extracting an m-th outline corresponding to one end of the subject by extracting a difference value between the first image data and the second image data; calculating m-th slope information by using m-th subject size information corresponding to the m-th outline; (e) comparing the m-th slope information with a third threshold value preset; calculating kth slope information by using kth subject size information corresponding to a kth outline extracted from one end of the subject; (g) comparing the k-th slope information with the fourth boundary value; and (h) comparing the m-th slope information with the third boundary value and the k-th slope information with the third boundary value. And generating and outputting a function execution command corresponding to a specific position within a preset outline corresponding to the comparison result, wherein m is a natural number and k is a natural number greater than m. A sensing method is provided.

여기서, 상기 피사체 클릭 동작 감지 방법은 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인(Click in) 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하는 단계를 더 포함하되, 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출할 수 있다. The method for detecting a subject click operation may further include generating click-in information when the m-th tilt information is larger than the third threshold value and comparing the preset click-in threshold value with the preset click-in threshold value. If the click-in information is the same as the click-in threshold, the k-th slope information may be calculated.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃(Click-out) 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하는 단계를 더 포함하되, 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일하면 상기 기능 수행 명령을 생성할 수 있다. In addition, the method for detecting a subject click operation may further include generating click-out information when the k-th tilt information is smaller than the fourth threshold and comparing the preset click-out information with a preset click-out threshold. If the click-out information is the same as the click-out threshold, the function execution command may be generated.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하는 단계; 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되, 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성될 수 있다. The method of detecting a subject click motion may include: starting to measure click information when the m th tilt information is larger than the third threshold value; If the k-th subject size information is smaller than the fourth threshold value, the method may further include terminating click information measurement. The command to perform a function may be generated corresponding to a specific position within the preset outline and the click information. have.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 단계 (h)는, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계일 수 있다. The method of detecting a subject click motion may include the step (h), when the m-th slope information is larger than the third threshold value and the k-th slope information is smaller than the fourth threshold value, the specific position within the preset outline. It may be a step of generating and outputting a function execution command corresponding to the.

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, 피사체를 촬상하여 제1 영상 데이터를 순차적으로 생성하는 촬상부; 상기 촬상부에서 촬상한 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 순차적으로 생성하는 선명도 조절부; 순차적으로 입력되는 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 생성하여 상기 피사체의 일단에 상응하는 외곽선을 순차적으로 추출하는 외곽선 추출부; 제m 외곽선을 이용하여 산출된 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하고, 제k 외곽선을 이용하여 산출된 제k 피사체 크기 정보를 미리 설정된 제2 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치가 제공된다. According to another aspect of the present invention for solving the above problems, an imaging unit for sequentially photographing a subject to generate first image data; A sharpness controller configured to sequentially generate second image data by adjusting the sharpness of the first image data captured by the image pickup unit; An outline extracting unit configured to sequentially extract an outline corresponding to one end of the subject by generating a difference value between the first image data and the second image data that are sequentially input; The m-th subject size information calculated using the m-th outline is compared with the first threshold value preset, and the k-th subject size information calculated using the k-th outline is compared with the second preset threshold value, thereby pre-setting the outline. And a subject determining unit configured to generate and output a function execution command corresponding to a specific position in the apparatus, wherein m is a natural number and k is a natural number greater than m.

여기서, 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에만 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되, 상기 피사체 판단부는 상기 기능 수행 명령을 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성할 수 있다. Here, the subject determining unit starts the click information measurement only when the m-th subject size information is larger than the first threshold value, and when the k-th subject size information is smaller than the first threshold value, the click information measurement is terminated. The object determining unit may generate the command to perform the function corresponding to a specific position in the preset outline and the click information.

또한, 상기 피사체 판단부는 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우 대기 정보 측정을 개시하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력할 수 있다. The object determining unit may start the atmospheric information measurement when the k-th subject size information is smaller than the first threshold value, and output the command to perform the function when the atmospheric information passes a preset boundary time.

또한, 상기 피사체 판단부는 제l 피사체 크기 정보를 산출하여 미리 설정된 제2 경계값과 비교하여, 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에 상기 기능 수행 명령을 출력하되, 상기 l은 상기 k보다 큰 자연수일 수 있다.The subject determining unit may calculate first object size information and output the command to perform the function when the first subject size information is smaller than the second threshold value, and compares the preset second threshold value. May be a natural number greater than k.

또한, 상기 피사체 판단부는 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되, 상기 대기 정보가 미리 설정된 경 계 시간을 경과하면 상기 기능 수행 명령을 출력할 수 있다. In addition, the subject determination unit may start the standby information measurement only when the first subject size information is smaller than the second threshold value, and output the command to perform the function when the standby information passes a preset boundary time. .

또한, 상기 피사체 판단부는 상기 제1 피사체 크기 정보가 상기 제1 경계값 보다 크고 상기 제2 피사체 크기 정보가 상기 제2 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력할 수 있다. The object determining unit may generate a command to perform a function corresponding to a specific position within the preset outline when the first subject size information is larger than the first threshold and the second subject size information is smaller than the second threshold. Can be output.

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, 피사체를 촬상하여 제1 영상 데이터를 순차적으로 생성하는 촬상부; 상기 촬상부에서 촬상한 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 순차적으로 생성하는 선명도 조절부; 순차적으로 입력되는 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 생성하여 상기 피사체의 일단에 상응하는 외곽선을 순차적으로 추출하는 외곽선 추출부; 제m 외곽선에 상응하는 제m 피사체 크기 정보를 이용하여 산출된 제m 기울기 정보를 미리 설정된 제3 경계값과 비교하고, 제k 외곽선에 상응하는 제k 피사체 크기 정보를 이용하여 산출된 제k 기울기 정보를 미리 설정된 제4 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치가 제공된다. According to another aspect of the present invention for solving the above problems, an imaging unit for sequentially photographing a subject to generate first image data; A sharpness controller configured to sequentially generate second image data by adjusting the sharpness of the first image data captured by the image pickup unit; An outline extracting unit configured to sequentially extract an outline corresponding to one end of the subject by generating a difference value between the first image data and the second image data that are sequentially input; The m-th slope information calculated using the m-th subject size information corresponding to the m-th outline is compared with the third threshold value preset, and the k-th slope calculated using the k-th subject size information corresponding to the k-th outline And a subject determiner configured to generate and output a function execution command corresponding to a specific position within a preset outline by comparing the information with a fourth preset threshold value, wherein m is a natural number and k is a natural number greater than m. A subject click motion detection device is provided.

여기서, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하되, 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출할 수 있다. Here, when the m-th slope information is larger than the third threshold value, the subject determining unit generates click-in information and compares it with a preset click-in threshold value, wherein the click-in information is equal to the click-in threshold value. If the same, the k-th slope information may be calculated.

또한, 상기 피사체 판단부는 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하되, 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일하면 상기 기능 수행 명령을 생성할 수 있다. The object determining unit may generate click-out information when the k-th slope information is smaller than the fourth threshold value and compare the click-out threshold value with a preset click-out threshold value. If it is equal to, the function execution command can be generated.

또한, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제3 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되, 상기 기능 수행 명령을 상기 제m 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성할 수 있다. The subject determining unit may start measuring click information when the m-th slope information is larger than the third threshold value, and when the k-th subject size information is smaller than the third threshold value, the click information measurement is terminated. A function execution command may be generated corresponding to a specific position in the m-th outline and the click information.

또한, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력할 수 있다. The object determining unit may generate a command to perform a function corresponding to a specific position in the preset outline when the m th slope information is larger than the third threshold value and the k th slope information is smaller than the fourth threshold value. You can print

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, (a) 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하는 단계; (b) 상기 광원부가 비활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 단계; (c) 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 단계; (d) 상기 제3 영상 데이터를 분석하여 제m 피사체 크기 정보를 산출하는 단계; (e) 상기 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하는 단계; (f) 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하는 단계; 및 (g) 상기 제m 피사체 크기 정보와 상기 제1 경계값을 비교한 결과 및 상기 제k 피사체 크기 정보와 상기 제1 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법이 제공된다. According to another aspect of the present invention for solving the above problems, (a) generating a glossy image data by photographing a subject in a state in which the light source is activated; (b) photographing the subject while the light source unit is inactivated to generate matt image data; (c) generating third image data by comparing the glossy image data with the matte image data; (d) calculating m-th subject size information by analyzing the third image data; (e) comparing the m-th subject size information with a preset first threshold value; (f) calculating k-th subject size information and comparing it with the first boundary value; And (g) a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m-th subject size information with the first threshold and a result of comparing the k-th subject size information with the first threshold; And generating and outputting a performance command, wherein m is a natural number and k is a natural number greater than m.

여기서, 상기 피사체 클릭 동작 감지 방법은 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하는 단계; 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되, 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성될 수 있다. Here, the method for detecting a subject click operation may include: starting measurement of click information when the m-th subject size information is larger than the first threshold value; If the k-th object size information is smaller than the first threshold value, the method may further include terminating click information measurement. The command to perform a function may be generated corresponding to a specific position in the preset outline and the click information. have.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에만 대기 정보 측정을 개시하는 단계를 더 포함하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에만 상기 기능 수행 명령이 출력될 수 있다. The method for detecting a subject click operation may further include starting measurement of atmospheric information only when the k-th subject size information is smaller than the first threshold value, but only when the atmospheric information passes a preset boundary time. The function execution command may be output.

또한, 상기 피사체 클릭 동작 감지 방법은 제l 피사체 크기 정보를 산출하여 상기 제l 피사체 크기 정보와 미리 설정된 제2 경계값과 비교하는 단계를 더 포함하되, 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에만 출력될 수 있다. The method may further include calculating first object size information and comparing the first object size information with a second preset threshold value, wherein l is a natural number greater than k. The function performing command may be output only when the first subject size information is smaller than the second threshold.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제l 피사체 크기 정보가 상 기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하는 단계를 더 포함하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에만 상기 기능 수행 명령이 출력될 수 있다. In addition, the method for detecting a subject click operation may further include initiating measurement of atmospheric information only when the first subject size information is smaller than the second threshold, but when the atmospheric information passes a preset boundary time. Only the function execution command may be output.

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, (a) 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하는 단계; (b) 상기 광원부가 비활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 단계; (c) 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 단계; (d) 상기 제3 영상 데이터를 분석하여 제m 피사체 크기 정보를 산출하는 단계; (e) 상기 제m 피사체 크기 정보를 이용하여 산출한 제m 기울기 정보와 미리 설정된 제3 경계값을 비교하는 단계; (f) 제k 피사체 크기 정보를 산출하여 제k 기울기 정보를 산출하는 단계; (g) 상기 제k 기울기 정보와 미리 설정된 제4 경계값과 비교하는 단계 및 (h) 상기 제m 기울기 정보와 상기 제3 경계값을 비교한 결과 및 상기 제k 기울기 정보와 상기 제4 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법이 제공된다. According to another aspect of the present invention for solving the above problems, (a) generating a glossy image data by photographing a subject in a state in which the light source is activated; (b) photographing the subject while the light source unit is inactivated to generate matt image data; (c) generating third image data by comparing the glossy image data with the matte image data; (d) calculating m-th subject size information by analyzing the third image data; (e) comparing m-th slope information calculated using the m-th subject size information with a third threshold value preset; calculating kth tilt information by calculating kth subject size information; (g) comparing the k-th slope information with a preset fourth threshold value; and (h) a result of comparing the m-th slope information with the third boundary value and the k-th slope information with the fourth threshold value. Generating and outputting a command to perform a function corresponding to a specific position within a preset outline corresponding to a result of comparing the above, wherein m is a natural number and k is a natural number greater than m. A motion detection method is provided.

여기서, 상기 피사체 클릭 동작 감지 방법은 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하는 단계를 더 포함하되, 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출할 수 있다. The method for detecting a subject click operation may further include generating click-in information when the m-th slope information is greater than the third threshold value and comparing the preset click-in threshold value with the click-in information. When k is equal to the click-in threshold, the k-th slope information may be calculated.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하는 단계를 더 포함하되, 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일한 경우에만 상기 기능 수행 명령을 생성할 수 있다. The method for detecting a subject click operation may further include generating click-out information when the k-th tilt information is smaller than the fourth threshold value and comparing the preset click-out threshold value with the click-out threshold. The function execution command may be generated only when information is equal to the click-out threshold.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하는 단계; 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되, 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성될 수 있다. The method of detecting a subject click motion may include: starting to measure click information when the m th tilt information is larger than the third threshold value; If the k-th subject size information is smaller than the fourth threshold value, the method may further include terminating click information measurement. The command to perform a function may be generated corresponding to a specific position within the preset outline and the click information. have.

또한, 상기 피사체 클릭 동작 감지 방법은 상기 단계 (h)는, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계일 수 있다. The method of detecting a subject click motion may include the step (h), in which the m-th inclination information is greater than the third threshold value and the k-th inclination information is smaller than the fourth threshold value, the specific in the preset outline is determined. It may be a step of generating and outputting a function execution command corresponding to the position.

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, 미리 설정된 시간을 간격으로 점등되는 광원부; 상기 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하고, 상기 광원부가 불활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 이미지 센서부; 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 피사 체 추출부; 상기 제3 영상 데이터를 분석하여 산출한 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하고, 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치가 제공된다. According to another aspect of the present invention for solving the above problems, a light source unit which is turned on at a predetermined time interval; An image sensor unit for photographing a subject while the light source unit is activated to generate glossy image data, and generating matte image data by photographing the subject while the light source unit is deactivated; A subject extraction unit configured to generate third image data by comparing the polished image data and the matte image data; The m-th subject size information calculated by analyzing the third image data is compared with a preset first threshold value, and the k-th subject size information is calculated and compared with the first threshold value to correspond to a specific position within a preset outline. And a subject determining unit configured to generate and output a function performing command, wherein m is a natural number and k is a natural number greater than m.

여기서, 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되, 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성될 수 있다. Here, the subject determining unit starts clicking information measurement when the m-th subject size information is larger than the first threshold value, and ends measuring click information when the k-th subject size information is smaller than the first threshold value. However, the function execution command may be generated according to the specific position and the click information in the preset outline.

또한, 상기 피사체 판단부는 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력할 수 있다. The object determination unit may start the atmospheric information measurement only when the k-th subject size information is smaller than the first threshold value, and output the command to perform the function when the atmospheric information passes a preset boundary time.

또한, 상기 피사체 판단부는 제l 피사체 크기 정보를 산출하여 상기 제l 피사체 크기 정보와 미리 설정된 제2 경계값과 비교하되, 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우 출력될 수 있다.The object determining unit may calculate first object size information and compare the first object size information with a preset second boundary value, wherein l is a natural number greater than k, and the command to perform the function is the first subject. If the size information is smaller than the second boundary value, it may be output.

또한, 상기 피사체 판단부는 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되, 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력할 수 있다. The object determination unit may start the standby information measurement only when the first subject size information is smaller than the second threshold value, and output the command to perform the function when the standby information passes a preset boundary time.

또한, 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 크고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력할 수 있다. If the m-th subject size information is larger than the first threshold value and the k-th subject size information is smaller than the first threshold value, the subject determining unit may perform a function execution command corresponding to a specific position in the preset outline. Can be generated and printed.

상기한 문제점을 해결하기 위한 본 발명의 또 다른 측면에 따르면, 미리 설정된 시간을 간격으로 점등되는 광원부; 상기 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하고, 상기 광원부가 불활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 이미지 센서부; 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 피사체 추출부; 상기 제3 영상 데이터를 분석하여 피사체 크기 정보를 순차적으로 산출하며, 제m 피사체 크기 정보를 이용하여 산출한 제m 기울기 정보를 미리 설정된 제3 경계값과 비교하고, 제k 피사체 크기 정보를 이용하여 산출한 제k 기울기 정보를 미리 설정된 제4 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치가 제공된다. According to another aspect of the present invention for solving the above problems, a light source unit which is turned on at a predetermined time interval; An image sensor unit for photographing a subject while the light source unit is activated to generate glossy image data, and generating matte image data by photographing the subject while the light source unit is deactivated; A subject extractor configured to generate third image data by comparing the polished image data and the matte image data; By analyzing the third image data, the subject size information is sequentially calculated, and the m-th slope information calculated using the m-th subject size information is compared with a third threshold value previously set, and the k-th subject size information is used. And a subject determiner configured to generate and output a function execution command corresponding to a specific position within a preset outline by comparing the calculated k-th slope information with a fourth preset threshold value, wherein m is a natural number and k is the m. A subject click motion detection device is provided that is a larger natural number.

여기서, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하되, 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출할 수 있다. Here, when the m-th slope information is larger than the third threshold value, the subject determining unit generates click-in information and compares it with a preset click-in threshold value, wherein the click-in information is equal to the click-in threshold value. If the same, the k-th slope information may be calculated.

또한, 상기 피사체 판단부는 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하되, 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일한 경우에만 상기 기능 수행 명령을 생성할 수 있다. The object determining unit may generate click-out information when the k-th slope information is smaller than the fourth threshold value and compare the click-out threshold value with a preset click-out threshold value. The function execution command can be generated only when

또한, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되, 상기 기능 수행 명령을 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성할 수 있다. The subject determining unit may start measuring click information when the m-th slope information is larger than the third threshold value, and ends measuring click information when the k-th subject size information is smaller than the fourth threshold value. A function execution command may be generated corresponding to the specific position and the click information in the preset outline.

또한, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력할 수 있다. The object determining unit may generate a command to perform a function corresponding to a specific position in the preset outline when the m th slope information is larger than the third threshold value and the k th slope information is smaller than the fourth threshold value. You can print

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In the following description of the present invention, if it is determined that the detailed description of the related known technology may obscure the gist of the present invention, the detailed description thereof will be omitted.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.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. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 본 발명에 따른 피사체 클릭 동작 감지 장치 및 방법의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 본 발명에 기재된 포인터는 디스플레이 상에 표현되는 포인터뿐만 아니라, 디스플레이가 구비되지 않은 장치에서 메뉴간 이동 또는 볼륨의 수치와 같이 선택적 기능을 하는 모든 기능을 의미한다. 즉, 본 발명은 디스플레이 상에 포인터를 구비한 경우(예를 들면, 컴퓨터, 이동 통신 단말기, PDA 등)에서 디스플레이 상의 포인터를 제어하는 방법뿐만 아니라 및 디스플레이가 구비되지 않은 장치(예를 들면, 라디오, MP3 플레이어 등)에서 메뉴/기능 간 이동/선택을 제어하는 방법에 모두 적용가능하며, 이하에서는 설명의 편의상 이동 통신 단말기의 디스플레이를 중심으로 설명한다.Hereinafter, a preferred embodiment of an apparatus and method for detecting a subject click motion according to the present invention will be described in detail with reference to the accompanying drawings. In the following description with reference to the accompanying drawings, the same components are denoted by the same reference numerals. And duplicate description thereof will be omitted. In the following description of the present invention, if it is determined that the detailed description of the related known technology may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, the pointer described in the present invention means not only a pointer expressed on a display, but also all functions that perform an optional function such as moving between menus or numerical values of a volume in a device without a display. That is, the present invention is not only a method of controlling a pointer on a display in a case where a pointer is provided on the display (for example, a computer, a mobile terminal, a PDA, etc.) and an apparatus (eg, a radio) that is not equipped with a display. , MP3 player, etc.) may be applied to a method of controlling movement / selection between menus / functions. Hereinafter, for convenience of description, the display of the mobile communication terminal will be described.

도 1은 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치가 이동 통신 단말기에 마련된 경우를 도시한 도면이다. 도 1을 참조하면, 이동 통신 단말기(100)는 촬상부(110), 광원부(120-1, 120-2)(이하, '120'으로 통칭함), 키패드부(130)를 포함하며, 움직임 추출을 위한 피사체(예를 들어, 이동 통신 단말기(100) 사용자의 손가락)(140)가 도시된다. 1 is a diagram illustrating a case in which a subject click motion detection apparatus for implementing the present invention is provided in a mobile communication terminal. Referring to FIG. 1, the mobile communication terminal 100 includes an image capturing unit 110, light source units 120-1 and 120-2 (hereinafter collectively referred to as “120”), and a keypad unit 130. A subject (eg, a finger of the user of the mobile communication terminal 100) 140 for extraction is shown.

광원부(120)는 소정의 광을 피사체(140)에 조사하는 장치로서, 광원부(120)에서 출사된 광이 피사체(140)에서 반사되어 촬상부(110)에 입사될 수 있도록 광원부(120)의 개수 및 위치 등이 정해질 수 있다. 예를 들어, 광원부(120)는 촬상부(110)의 주변에 형성될 수 있으며, 그 개수는 도 1에 도시된 바와 같이 2개로 구현될 수 있으나, 본 발명이 광원부(120)의 개수 및 위치 등에 의하여 한정되는 것이 아님은 자명하다. 또한, 피사체(140)의 위치는 광원부(120)에서 출사된 광을 반사하는 위치가 될 수 있으며, 피사체(140)는 촬상부(110) 또는 이동 통신 단말기(100)에 접촉되거나 비접촉(또는 무접점)될 수 있다. 또한, 다른 실시예에 의하면, 별도의 광원부(120)가 구비되지 않고, 이동 통신 단말기(100)의 디스플레이에서 조사되어 피사체(140)에서 반사된 후 촬상부(110)에 입사되는 광을 이용하여 본 발명이 수행될 수도 있다. The light source unit 120 is a device for irradiating a predetermined light onto the subject 140, and the light emitted from the light source unit 120 is reflected from the subject 140 to be incident on the imaging unit 110. The number and location can be determined. For example, the light source unit 120 may be formed around the imaging unit 110, and the number thereof may be implemented as two as shown in FIG. 1, but the present invention may include the number and position of the light source unit 120. It is obvious that the present invention is not limited thereto. In addition, the position of the subject 140 may be a position at which the light emitted from the light source unit 120 is reflected, and the subject 140 is in contact with or is not in contact with the imaging unit 110 or the mobile communication terminal 100. Contacts). In addition, according to another embodiment, a separate light source unit 120 is not provided, and light is emitted from the display of the mobile communication terminal 100, reflected from the subject 140, and then incident on the imaging unit 110. The present invention may be carried out.

광원부(120)에서 조사된 광은 피사체(140)에서 반사되어 촬상부(110)에 계속적으로 입사되며, 촬상부(110)는 피사체(140)에 대한 이미지를 생성한다. 생성된 피사체(140)의 이미지는 이동 통신 단말기(100)에 포함된 피사체 클릭 동작 감지 장치(도시되지 않음)에 의하여 영상 데이터의 형태로 처리되어 피사체(140)의 움직임이 추출되며, 피사체 클릭 동작 감지 장치(도시되지 않음)는 추출된 피사체(140)의 움직임에 상응하여 이동 통신 단말기(100)의 디스플레이에 표시되는 포인터의 이동 제어 및/또는 추출된 피사체(140)의 움직임에 상응하는 기능 제어를 수행한다. 여기서, 디스플레이에 표시되는 포인터는 소정의 형상(예를 들어, 화살표 형상)을 가지는 포인터 또는 커서가 될 수도 있고, 별도로 표시는 되지 않지만 디스플레이 상에 표시되는 버튼, 숫자, 도형 등의 선택(음영을 포함함) 기능을 수행하기 위하여 디스플레이 상에서 이동하는 다양한 형태를 포함할 수 있다. The light irradiated from the light source unit 120 is reflected by the subject 140 and continuously enters the imaging unit 110, and the imaging unit 110 generates an image of the subject 140. The generated image of the subject 140 is processed in the form of image data by a subject click motion detection device (not shown) included in the mobile communication terminal 100 to extract the movement of the subject 140, and the subject click motion. The sensing device (not shown) controls the movement of the pointer displayed on the display of the mobile communication terminal 100 in response to the movement of the extracted subject 140 and / or the function control corresponding to the movement of the extracted subject 140. Perform Here, the pointer displayed on the display may be a pointer or a cursor having a predetermined shape (for example, an arrow shape), and the selection of buttons, numbers, figures, etc., which are not separately displayed but displayed on the display ( It may include a variety of forms to move on the display to perform the function.

또한, 다른 실시예에 의하면, 추출된 피사체(140)의 움직임에 상응하여 피사체 클릭 동작 감지 장치(도시되지 않음)에서 연속적으로 생성된 각 영상 데이터의 프레임에서 해당 포인터의 이동 궤적을 의미하는 특성 벡터가 해석될 수 있으며, 해석된 특성 벡터에 상응하도록 저장된 메뉴 기능이 실행될 수도 있다. 예를 들면, 추출된 피사체(140)의 움직임이 상하, 좌우로 파악되거나 특정 형태(예를 들면, 원형, 삼각형, 사각형 등)로 파악되는 경우 이러한 움직임에 상응하여 미리 설정된 기능이 실행될 수 있다. 즉, 본 발명의 실시예에 따라 추출된 피사체(140)의 움직임은 디스플레이에서 커서의 이동을 제어할 수도 있으며, 소정의 움직임 벡터를 추출하여 미리 지정된 메뉴를 실행할 수도 있다. In addition, according to another embodiment, the characteristic vector means the movement trajectory of the pointer in the frame of each image data continuously generated by the object click motion detection device (not shown) corresponding to the movement of the extracted object 140 May be interpreted, and a stored menu function may be executed to correspond to the interpreted characteristic vector. For example, when the movement of the extracted subject 140 is grasped up and down, left and right, or in a specific form (for example, a circle, a triangle, a square, etc.), a function preset in response to the movement may be executed. That is, according to an embodiment of the present invention, the movement of the extracted subject 140 may control the movement of the cursor on the display, or may extract a predetermined motion vector and execute a predetermined menu.

이 경우, 별도의 기능 버튼(또는 버튼 입력의 조합)에 의해 메뉴가 달리 지정될 수도 있다. 예를 들어, 피사체(140)의 움직임은 동일하지만 * 버튼이 눌려진 상태에서 추출된 피사체(140)의 움직임과 # 버튼이 눌려진 상태에서 추출된 피사 체(140)의 움직임은 서로 다른 기능이 수행되도록 설정될 수 있다.In this case, the menu may be differently designated by a separate function button (or a combination of button inputs). For example, the movement of the subject 140 is the same but the movement of the subject 140 extracted while the * button is pressed and the movement of the extracted subject 140 when the # button is pressed are performed so that different functions are performed. Can be set.

또한, 키패드부(130)는 버튼 방식 및/또는 터치 방식 등 다양한 방식으로 구현되어, 숫자, 문자, 특수 기호 등을 사용자가 입력할 수 있도록 할 수 있다. In addition, the keypad 130 may be implemented in various ways, such as a button method and / or a touch method, so that a user may input numbers, letters, special symbols, and the like.

이상에서 피사체 클릭 동작 감지 장치를 일반적으로 도시한 도면을 설명하였으며, 이하에서는 첨부 도면을 참조하여, 피사체 클릭 동작 감지 장치의 동작 및 피사체 클릭 동작 감지 장치에서 생성한 영상 데이터를 이용하여 피사체(140)의 움직임을 감지하는 방법에 대하여 설명한다. 본 발명에 따른 실시예는 크게 2가지로 구분되는데, 첫째는 피사체(140)를 촬상하여 생성된 영상 데이터의 선명도를 조절하여 선명도가 서로 다른 프레임으로부터 피사체(140)의 일단의 외곽선을 추출하여 피사체(140)의 움직임을 감지하는 방법 및 둘째는 피사체(140)를 미리 설정된 시간 간격으로 촬상한 복수의 서로 다른 영상 데이터를 비교하여 피사체(140) 이미지의 중심점을 추출하여 피사체(140)의 움직임을 감지하는 방법이다. 이하에서, 차례대로 설명한다. In the above description, the subject click motion detecting apparatus has been described in general. Hereinafter, referring to the accompanying drawings, the subject 140 using the operation of the subject click motion detecting apparatus and the image data generated by the subject click motion detecting apparatus is described. It will be described how to detect the movement of the. Embodiments according to the present invention can be broadly classified into two types. First, by adjusting the sharpness of the image data generated by photographing the subject 140, the outline of one end of the subject 140 is extracted from a frame having different sharpness, and the subject The method of detecting the movement of the 140 and the second method compares a plurality of different image data obtained by capturing the subject 140 at a predetermined time interval, and extracts the center point of the subject 140 image to perform the movement of the subject 140. How to detect. In the following, it is explained in order.

도 2a는 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 따른 블록 구성도이다. FIG. 2A is a block diagram of an apparatus for detecting a subject click motion according to an exemplary embodiment of the present invention.

도 2a를 참조하면, 피사체 클릭 동작 감지 장치(200)는 촬상부(210), 이미지 처리부(230) 및 저장부(240)를 포함할 수 있으며, 촬상부(210)는 광원부(211), 필터부(213), 렌즈부(216) 및 이미지 센서부(219)를 포함할 수 있으며, 이미지 처리 부(230)는 선명도 조절부(231) 외곽선 추출부(233), 감마 보정부(235), 중심 판단부(237), 포인터 위치 설정부(239) 및 피사체 판단부(239-1)를 포함할 수 있다.Referring to FIG. 2A, the subject click motion detecting apparatus 200 may include an imaging unit 210, an image processing unit 230, and a storage unit 240, and the imaging unit 210 may include a light source unit 211 and a filter. The unit 213, the lens unit 216, and the image sensor unit 219 may be included, and the image processor 230 may include a sharpness adjuster 231, an outline extractor 233, a gamma corrector 235, and the like. And a center determiner 237, a pointer position setter 239, and a subject determiner 239-1.

상술한 바와 같이, 광원부(211)로부터 조사된 광은 피사체(140)에 의하여 반사되어 필터부(213) 및 렌즈부(216)를 경유하여 이미지 센서부(219)로 조사될 수 있다. 필터부(213)는 특정 파장의 광만을 통과시킴으로써 피사체(140)의 움직임을 정확히 측정할 수 있도록 한다. 즉, 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치(200)가 광원부(211)를 포함하는 경우 광원부(211)는 특정의 파장을 가지는 광을 출력할 수 있고, 이러한 광은 피사체(140)에서 반사되어 필터부(213)를 통과함으로써 노이즈(noise)로 작용할 수 있는 다른 파장의 광을 차단할 수 있는 효과가 있다. 예를 들어, 광원부(211)는 적외선을 출사하고, 필터부(213)는 적외선만을 통과할 수 있도록 하는 기능을 수행할 수 있다. 여기서, 본 발명에 이용될 수 있는 적외선은 태양광에서 상대적으로 비율이 작은 광이 될 수 있다. 예를 들어, 적외선의 파장은 솔라 스펙트럼에서 상대적으로 광량이 작은 광의 파장인 900~980nm, 1080~1180nm, 1325~1425nm, 1800~2000nm 등이 될 수 있다.As described above, the light irradiated from the light source unit 211 may be reflected by the subject 140 and irradiated to the image sensor unit 219 via the filter unit 213 and the lens unit 216. The filter unit 213 allows only the light of a specific wavelength to pass so that the movement of the subject 140 can be accurately measured. That is, when the object click motion detecting apparatus 200 for implementing the present invention includes the light source unit 211, the light source unit 211 may output light having a specific wavelength, and the light may be output from the subject 140. By being reflected and passing through the filter unit 213, there is an effect that can block light of other wavelengths that may act as noise. For example, the light source unit 211 emits infrared rays, and the filter unit 213 may perform a function of allowing only infrared rays to pass therethrough. Here, the infrared rays which can be used in the present invention may be light having a relatively small ratio in sunlight. For example, the wavelength of the infrared light may be 900 to 980 nm, 1080 to 1180 nm, 1325 to 1425 nm, 1800 to 2000 nm, and the like, which are wavelengths of light having a relatively small amount of light in the solar spectrum.

여기에서는 필터부(213)가 포함된 촬상부(210)에 대해서 설명하고 있으나, 필터부(213)가 포함되지 않고 피사체(140)로부터 조사되는 모든 광을 이용하여 본 발명이 적용될 수도 있음은 자명하다. 렌즈부(216)는 필터부(213)를 통과한 광을 이미지 센서부(219)로 전달하는 기능을 수행할 수 있다.Although the image capturing unit 210 including the filter unit 213 has been described herein, it is apparent that the present invention may be applied using all the light emitted from the subject 140 without the filter unit 213. Do. The lens unit 216 may perform a function of transferring the light passing through the filter unit 213 to the image sensor unit 219.

이미지 센서부(219)는 CMOS(Complementary metal oxide semiconductor) 이미지 센서 또는 CCD(charge coupled device) 이미지 센서가 될 수 있다. CMOS(Complementary metal oxide semiconductor) 이미지 센서는 포토 다이오드(photo diode)를 포함하는 다수의 단위 픽셀로 구성되고, 센서에서 출력되는 신호는 디지털 전기 신호로서 이러한 단위 픽셀은 제어 회로 및 신호 처리에 의해 구동된다. CCD(charge coupled device) 이미지 센서는 다수개의 MOS 커패시터를 포함하며, 이러한 MOS 커패시터에 전하(캐리어)를 이동시킴으로써 아날로그 전기 신호를 출력하여 동작된다. The image sensor unit 219 may be a complementary metal oxide semiconductor (CMOS) image sensor or a charge coupled device (CCD) image sensor. A complementary metal oxide semiconductor (CMOS) image sensor is composed of a plurality of unit pixels including a photo diode, and the signal output from the sensor is a digital electrical signal, which unit pixel is driven by a control circuit and signal processing. . A charge coupled device (CCD) image sensor includes a plurality of MOS capacitors, and is operated by outputting an analog electric signal by moving charges (carriers) to the MOS capacitors.

이러한 이미지 센서부(219)는 광을 감지할 수 있는 복수의 픽셀들을 포함한다. 따라서, 이미지 센서부(219)는 이미지 처리부(230)가 피사체(140)가 위치한 좌표값에 대응되는 광이 입사되는 위치를 감지하여 디스플레이부(도시되지 않음)의 포인터를 이동시키기 위해 촬상된 피사체(140)의 이미지가 위치한 좌표값을 산출할 수 있도록 할 수 있다. The image sensor unit 219 includes a plurality of pixels capable of sensing light. Therefore, the image sensor 219 detects a position at which the light corresponding to the coordinate value at which the subject 140 is located is incident by the image processor 230 to move the pointer of the display unit (not shown). The coordinate value at which the image of 140 is located may be calculated.

이미지 처리부(230)는 이미지 센서부(219)에서 인식한 피사체의 영상 데이터로부터 피사체(140)의 움직임에 상응하는 좌표값을 추출한다. 이를 자세히 살펴보면, 선명도 조절부(231)는 촬상된 피사체(140)의 제1 영상데이터의 선명도를 조절하여 제1 영상 데이터와 다른 제2 영상 데이터를 생성한다. 즉, 선명도 조절부(231)는 촬상된 피사체(140)의 제1 영상 데이터의 픽셀의 색상 대비, 명도 대비 및 채도 대비 중 어느 하나 이상을 증가시킴으로써 선명도를 조절할 수 있다. The image processor 230 extracts coordinate values corresponding to the movement of the subject 140 from the image data of the subject recognized by the image sensor 219. In detail, the sharpness controller 231 generates second image data different from the first image data by adjusting the sharpness of the first image data of the photographed subject 140. That is, the sharpness controller 231 may adjust the sharpness by increasing at least one of color contrast, brightness contrast, and saturation contrast of pixels of the first image data of the photographed subject 140.

여기서, 이미지의 선명도(鮮明度, sharpness)는 이미지의 명암 경계 부분의 명확도를 나타내는 것으로서, 피사체(140)의 이미지의 선명도가 증가하면, 경계 부분의 명확도가 증가하기 때문에 피사체(140)를 촬상한 이미지에서 소정의 피사 체(140)만의 외곽선(또는 윤곽(edge))을 파악하기 용이한 장점이 있다. 즉, 선명도가 높은 픽셀에 대해서 색상 대비, 명도 대비 및 채도 대비 중 어느 하나를 증가시킴으로써 선명도를 증가시킬 수 있다. 여기서, 렌즈부(216)의 심도(depth of field)에 따라서 즉, 렌즈부(216)에 의하여 생성되는 피사체(140)의 상이 뚜렷하게 보일 수 있는 범위 안에서 피사체(140)의 이미지의 선명도가 달리 표현될 수 있다. 일반적으로, 렌즈부(216)의 초점 거리와 유사한 거리에 위치한 피사체(140)의 외곽선은 선명도가 크지만, 렌즈부(216)의 초점 거리와 먼 거리에 위치한 배경은 선명도가 작게 된다. Here, the sharpness of the image indicates the clarity of the contrast boundary portion of the image. When the sharpness of the image of the subject 140 increases, the clarity of the boundary portion increases, so that the subject 140 is moved. There is an advantage in that it is easy to grasp the outline (or edge) of only the predetermined subject 140 from the captured image. That is, the sharpness may be increased by increasing any one of color contrast, brightness contrast, and saturation contrast with respect to pixels having high sharpness. Here, the sharpness of the image of the subject 140 is expressed differently according to the depth of field of the lens unit 216, that is, within the range in which the image of the subject 140 generated by the lens unit 216 can be clearly seen. Can be. In general, the outline of the subject 140 positioned at a distance similar to the focal length of the lens unit 216 has a high sharpness, but the background located far from the focal length of the lens unit 216 has a low sharpness.

본 발명의 제1 실시예에 따른 선명도 조절부(231)를 이용하는 경우 렌즈부(216)의 초점 거리와 유사한 거리에 위치한 피사체(140)의 외곽선은 선명도가 더 증가할 것이나, 렌즈부(216)의 초점 거리와 먼 거리에 위치한 배경은 선명도가 더 작게 될 수 있다. 따라서, 선명도 조절부(231)에 의해 피사체(140)의 외곽선은 배경보다 선명도가 더 커지게 된다. In the case of using the sharpness adjusting unit 231 according to the first embodiment of the present invention, the outline of the subject 140 located at a distance similar to the focal length of the lens unit 216 will further increase the sharpness, but the lens unit 216 Backgrounds located far from the focal length of the image may have a smaller sharpness. Therefore, the sharpness controller 231 makes the outline of the subject 140 larger than the background.

외곽선 추출부(233)는 피사체(140)를 촬상하여 생성한 제1 영상 데이터와 이를 영상 처리한 제2 영상 데이터의 차분값을 추출하여 피사체(140)의 외곽선을 추출하여 저장부(240)에 순차적으로 저장한다. 즉, 선명도 조절부(231)에서 생성된 선명도가 높은 제2 영상 데이터와 촬상된 피사체(140)의 제1 영상 데이터의 차분값은 피사체(140)의 외곽선을 나타낼 수 있다. 추출되는 피사체(140)의 외곽선은 촬상부(210)에 인접한 피사체(140)의 일단의 외곽선이 될 수 있다. The outline extractor 233 extracts a difference value between the first image data generated by capturing the subject 140 and the second image data processed by the image, and extracts the outline of the subject 140 to the storage unit 240. Store sequentially. That is, the difference between the second image data having high sharpness generated by the sharpness controller 231 and the first image data of the photographed subject 140 may represent the outline of the subject 140. The outline of the extracted subject 140 may be an outline of one end of the subject 140 adjacent to the imaging unit 210.

여기서, 휘도값이 미리 설정된 기준 휘도값보다 큰 차분 값을 추출하여 피사 체(140)의 일단에 상응하는 외곽선을 추출할 수 있다. 기준 휘도값은 피사체(140) 외의 배경으로부터 촬상부(210)에 들어오는 광에 의해 발생하는 노이즈를 제거할 수 있게 한다. 즉, 선명도 조절부(231)에 의해 생성된 제2 영상 데이터의 선명도는 피사체(140)의 영상 데이터뿐만 아니라 배경 영상 데이터에 의해서도 조절될 수 있으므로, 차분값이 기준 휘도값 이상인 영상 데이터에 대해서만 외곽선으로 인식함으로써 피사체(140) 인식 효율성을 높일 수 있다. 여기서, 기준 휘도값은 고정될 수도 있고, 소정의 휘도값 이상을 가지는 픽셀의 개수에 따라서 변화할 수도 있으며, 이에 대한 상세한 설명은 도 2b를 참조하여 후술한다. Here, an outline corresponding to one end of the subject 140 may be extracted by extracting a difference value having a luminance value greater than a preset reference luminance value. The reference luminance value may remove noise generated by light entering the imaging unit 210 from a background other than the subject 140. That is, since the sharpness of the second image data generated by the sharpness adjuster 231 may be adjusted not only by the image data of the subject 140 but also by the background image data, only the image data whose difference is greater than or equal to the reference luminance value may be outlined. The recognition efficiency of the subject 140 may be improved by recognizing the image. Here, the reference luminance value may be fixed or may vary according to the number of pixels having a predetermined luminance value or more, which will be described later with reference to FIG. 2B.

감마 보정부(235)는 피사체(140)의 영상 데이터를 감마 보정한다. 여기서, 영상의 감마(Gamma)는 일반적으로 텔레비전, 카메라, 팩스 송수신기 등의 광전 변환계 또는 전광(電光) 변환계에서 입출력 특정을 양(兩) 대수축으로 표시하였을 때, 직선 부분의 경사이다. 즉, 텔레비전에서는 피사체(140) 휘도에 대한 카메라 출력 전압과 수상부 입력 전압에 대한 음극선관 휘도와의 대수비를 표시한다. 본 발명의 실시예에 따른 감마 보정에 의하여 각 픽셀의 휘도값을 달리할 수 있으므로, 피사체(140)의 선명도가 큰 부분만 표시되고, 나머지 선명도가 작은 부분은 흑색으로 남게 된다. 따라서, 피사체(140)를 촬상한 이미지에서 소정의 피사체(140)의 윤곽만 밝게 표시됨으로써 이를 이용하여 피사체(140)의 이동 여부를 판단할 수 있다. The gamma correction unit 235 gamma-corrects the image data of the subject 140. Here, gamma of an image is generally a slope of a straight line when input / output specification is indicated by positive and large contractions in a photoelectric conversion system or an all-optical conversion system such as a television, a camera, a fax transceiver, and the like. That is, the television displays the logarithmic ratio between the camera output voltage for the brightness of the subject 140 and the cathode ray tube brightness for the input voltage of the receiver. Since the luminance value of each pixel may be changed by gamma correction according to an exemplary embodiment of the present invention, only a portion of the sharpness of the subject 140 is displayed, and a portion of the remaining sharpness remains black. Therefore, only the outline of the predetermined subject 140 is brightly displayed in the image photographing the subject 140, so that it may be determined whether or not the subject 140 is moved.

중심 판단부(237)는 감마 보정된 이미지로부터 소정의 외곽선을 추적하고, 소정의 외곽선에 의해 정해지는 좌표값을 추출할 수 있다. 여기서, 소정의 외곽선 은 다양한 형태를 가질 수 있다. 예를 들면, 원형의 외곽선일 수 있고, 소정의 외곽선에 의해 정해지는 좌표값은 원형의 외곽선에 의해서 결정되는 중심점 즉, 원의 중심의 좌표값이 될 수 있다. 일반적으로 움직임 추출을 위해 사용되는 피사체(140)는 사용자의 손가락의 일단이 될 수 있으므로, 중심 판단부(237)는 손가락의 일단인 원형의 외곽선을 추출함으로써, 피사체(140)의 움직임을 산출할 수 있다. The center determiner 237 may track a predetermined outline from the gamma corrected image and extract a coordinate value determined by the predetermined outline. Here, the predetermined outline may have various shapes. For example, it may be a circular outline, and the coordinate value determined by the predetermined outline may be a center point determined by the circular outline, that is, a coordinate value of the center of the circle. In general, since the subject 140 used for the motion extraction may be one end of the user's finger, the center determination unit 237 may calculate the movement of the subject 140 by extracting a circular outline that is one end of the finger. Can be.

중심 판단부(237)는 감마 보정부(235)에 의해 추출되는 피사체의 외곽선이 형성하는 도형의 내부에 위치한 특정 좌표를 산출한다. 이러한 특정 좌표를 산출하는 방법은 여러 가지가 있을 수 있다. 예를 들어, 중심 판단부(237)는 피사체(140)의 외곽선이 형성하는 도형의 무게 중심 또는 중심점의 좌표값을 추출할 수 있다. The center determiner 237 calculates specific coordinates located inside the figure formed by the outline of the subject extracted by the gamma corrector 235. There may be a number of ways to calculate this particular coordinate. For example, the center determiner 237 may extract a coordinate value of the center of gravity or the center point of the figure formed by the outline of the subject 140.

피사체(140)의 외곽선이 형성하는 도형의 내부에 위치한 특정 좌표인 무게 중심은 다음과 같은 수학식에 의해 산출될 수 있다. The center of gravity, which is a specific coordinate located inside the figure formed by the outline of the subject 140, may be calculated by the following equation.

Figure 112006084964809-PAT00001
(1)
Figure 112006084964809-PAT00001
(One)

Figure 112006084964809-PAT00002
(2)
Figure 112006084964809-PAT00002
(2)

Figure 112006084964809-PAT00003
(3)
Figure 112006084964809-PAT00003
(3)

여기서, R은 무게 중심, M은 피사체(140)의 외곽선을 나타내는 픽셀(이하, '외곽선 픽셀'이라 칭함)의 휘도값을 모두 더한 값, mi는 피사체(140)의 외곽선 픽 셀의 휘도값, ri는 상기 외곽선 픽셀의 좌표값이다. 아래 첨자 x, y는 각각 X축과 Y축에 해당하는 값임을 나타내며, 식 (3)은 식 (1)과 식 (2)에 대한 벡터 표현이다. Where R is the center of gravity, M is the sum of luminance values of pixels representing the outline of the subject 140 (hereinafter referred to as 'outline pixels'), mi is the luminance value of the outline pixel of the subject 140, ri is a coordinate value of the outline pixel. The subscripts x and y indicate the values corresponding to the X and Y axes, respectively, and Equation (3) is a vector representation of Equation (1) and (2).

또한, 중심 판단부(237)가 상술한 수학식에 의하여 피사체(140) 이미지의 중심점을 판단하는 경우에는 외곽선 픽셀의 휘도값을 모두 반영하여야 하므로 연산량이 많아지게 되어 피사체(140)의 클릭 동작 감지 장치의 전반적인 기능을 저하시키는 문제점이 발생할 수 있다. 따라서, 다른 실시예에 따르면, 피사체(140)의 외곽선이 형성하는 도형의 내부에 위치한 특정 좌표인 무게 중심은 다음과 같은 수학식에 의해서도 산출될 수 있다.In addition, when the center determiner 237 determines the center point of the image of the subject 140 by the above-described equation, since the luminance values of the outline pixels must all be reflected, the amount of calculation increases, thereby detecting the click operation of the subject 140. Problems may occur that degrade the overall functionality of the device. Therefore, according to another embodiment, the center of gravity, which is a specific coordinate located inside the figure formed by the outline of the subject 140, may also be calculated by the following equation.

Figure 112006084964809-PAT00004
(4)
Figure 112006084964809-PAT00004
(4)

Figure 112006084964809-PAT00005
(5)
Figure 112006084964809-PAT00005
(5)

Figure 112006084964809-PAT00006
(6)
Figure 112006084964809-PAT00006
(6)

여기서, R은 무게 중심, ri는 상기 외곽선 픽셀의 좌표값, n은 상기 외곽선 픽셀의 개수이다. 아래 첨자 x, y는 각각 X축과 Y축에 해당하는 값임을 나타내고, 식 (6)은 식 (4)와 식 (5)에 대한 벡터 표현이다. 즉, 중심 판단부(237)는 픽셀의 휘도값을 반영하지 않고 피사체(140) 이미지의 중심점을 판단할 수 있다. 이는 각 픽셀의 휘도값은 큰 차이가 없을 것이므로 중심 판단부(237)는 이에 대한 반영을 하지 아니하고 외곽선 픽셀의 좌표값의 평균값을 피사체(140) 이미지의 중심점으로 산출할 수 있다.Where R is the center of gravity, ri is the coordinate value of the outline pixel, and n is the number of outline pixels. Subscripts x and y represent values corresponding to the X and Y axes, respectively, and Equation (6) is a vector representation of Equation (4) and (5). That is, the center determination unit 237 may determine the center point of the image of the subject 140 without reflecting the luminance value of the pixel. Since the luminance value of each pixel will not be significantly different, the center determination unit 237 may calculate the average value of the coordinate values of the outline pixel as the center point of the image of the subject 140 without reflecting the same.

또는, 피사체(140)의 외곽선이 곡선형인 경우 중심 판단부(237)는 그 곡률 반경을 산출하고, 해당 곡률 반경에 상응하는 중심점의 좌표값을 추출할 수 있다. 만일, 소정의 외곽선이 사각형인 경우 중심 판단부(237)는 사각형의 대각선이 만나는 좌표값을 소정의 외곽선에 의해 정해지는 좌표값으로 추출할 수도 있으며, 다른 다각형인 경우에는 서로 마주보는 꼭지점을 이은 둘 이상의 선을 만나는 좌표값으로 추출할 수도 있다. 예를 들어, 중심 판단부(237)는 곡선형의 외곽선을 나타내는 각 픽셀 간의 거리를 계산하여, 계산된 각 픽셀의 거리가 가장 큰 두 픽셀의 중간값을 상기 중심점의 좌표값으로 할 수 있다. 또한 다른 예를 들면, 이러한 중간값은 2차원 디스플레이의 경우 X축과 Y축에 대한 좌표값으로 나타내질 수 있으므로, 중심 판단부(237)는 X축 또는 Y축에 대한 좌표값의 차이가 가장 큰 두 픽셀 간의 중간값을 중심점의 좌표값으로 추출할 수도 있다.Alternatively, when the outline of the subject 140 is curved, the center determination unit 237 may calculate a radius of curvature and extract a coordinate value of a center point corresponding to the radius of curvature. If the predetermined outline is a quadrangle, the center judging unit 237 may extract a coordinate value where a diagonal line of the quad meets as a coordinate value determined by a predetermined outline. It can also be extracted as coordinates that meet two or more lines. For example, the center determination unit 237 may calculate a distance between each pixel representing a curved outline, and may use the intermediate value of two pixels having the largest calculated distance of each pixel as the coordinate value of the center point. In another example, since the intermediate value may be represented by coordinate values for the X and Y axes in the case of a two-dimensional display, the center determination unit 237 may have the largest difference in the coordinate values for the X or Y axes. The intermediate value between two large pixels may be extracted as the coordinate value of the center point.

또한, 중심 판단부(237)는 중심점의 좌표값(이하, '중심점'이라 칭함)을 산출하여 저장부(240)에 저장한다. 즉, 중심 판단부(237)는 상술한 방법으로 산출한 중심점에 대한 정보가 저장부(240)에 저장될 수 있도록 제어할 수 있다. In addition, the center determination unit 237 calculates a coordinate value of the center point (hereinafter, referred to as a “center point”) and stores the coordinate value in the storage unit 240. That is, the center determination unit 237 may control the information about the center point calculated by the above-described method to be stored in the storage unit 240.

포인터 위치 설정부(239)는 산출된 특정 좌표에 디스플레이부(도시되지 않음)의 포인터가 위치되도록 제어한다. 즉, 포인터 위치 설정부(239)는 포인터의 위치가 특정 좌표(예를 들면, 피사체(140)의 외곽선에 대한 무게 중심 또는 중심점의 좌표값)에 상응하도록 제어한다. 또한, 디스플레이부(도시되지 않음)가 구비되지 않은 장치에서는 메뉴를 선택하거나 볼륨을 높이는 등의 기능이 수행될 수 있다. 즉, 산출된 특정 좌표가 미리 설정된 픽셀보다 상부에 위치하는 경우 현재 선택된 메뉴의 이전 메뉴를 선택하거나, 산출된 특정 좌표가 미리 설정된 픽셀보다 우측에 위치하는 경우 볼륨을 높이는 등의 기능을 수행할 수 있다.The pointer position setting unit 239 controls the pointer of the display unit (not shown) to be positioned at the calculated specific coordinates. That is, the pointer position setting unit 239 controls the position of the pointer to correspond to a specific coordinate (for example, the center of gravity or the coordinate value of the center point of the outline of the subject 140). In addition, in a device without a display unit (not shown), a function such as selecting a menu or increasing a volume may be performed. That is, when the calculated specific coordinates are located above the preset pixels, the user may select a previous menu of the currently selected menu or, when the calculated specific coordinates are located to the right of the preset pixels, increase the volume. have.

피사체 판단부(239-1)는 외곽선 추출부(233)에서 판단한 외곽선(이하, '제m 외곽선' 이라 칭함(이때, m은 자연수))을 이용하여 피사체(140)의 움직임에 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력한다. 피사체 판단부(239-1)의 상세한 동작은 도 3을 참조하여 후술한다. The subject determining unit 239-1 performs a function corresponding to the movement of the subject 140 by using the outline determined by the outline extracting unit 233 (hereinafter, referred to as 'm-th outline' (m is a natural number)). A command is generated and output to a main controller (not shown). Detailed operations of the object determining unit 239-1 will be described later with reference to FIG. 3.

이하에서는, 피사체 판단부(239-1)의 동작을 설명하기에 앞서 도 2b를 참조하여 포인터 이동 제어 시 사용되는 기준 휘도값에 대한 설정 방법에 대하여 설명한다. Hereinafter, a method of setting a reference luminance value used for pointer movement control will be described with reference to FIG. 2B before describing the operation of the object determining unit 239-1.

도 2b는 본 발명의 바람직한 제1 실시예에 따른 포인터 이동 제어 시 사용되는 기준 휘도값에 대한 설정 방법을 도시한 도면이다. 제1 기준 휘도값(250), 제1 기준 픽셀 개수의 시점(253), 제1 휘도 하한값(255), 제1 기준 픽셀 개수 에 상응하는 휘도 범위(a), 제2 기준 휘도값(260), 제2 기준 픽셀 개수의 시점(263), 제2 휘도 하한값(265), 제2 기준 픽셀 개수 에 상응하는 휘도 범위(b)가 도시된다. 여기서, 제1 또는 제2는 기준 픽셀 개수가 다른 경우인 두 가지 실시예를 설명하기 위해서 사용되었으며, 이하에서는 이를 생략하고 통칭하여 설명하기로 한다. 2B is a diagram illustrating a method for setting a reference luminance value used in pointer movement control according to the first embodiment of the present invention. The first reference luminance value 250, the time point 253 of the first reference pixel number, the first luminance lower limit value 255, the luminance range a corresponding to the first reference pixel number, and the second reference luminance value 260. The luminance range b corresponding to the viewpoint 263 of the second reference pixel number, the second luminance lower limit 265, and the second reference pixel number is illustrated. Here, the first or the second is used to describe two embodiments in which the number of reference pixels is different, and will be omitted and collectively described below.

기준 휘도값(250 또는 260)은 피사체(140)의 외곽선을 추출하기 위해 각 픽 셀의 휘도값과 비교하기 위해 마련된다. 이하에서는, 이미지 센서부(219)의 해상도가 640*480(가로*세로)이고, 각 픽셀의 휘도값이 0부터 내지 255로 구분된 사이에 구성된 경우를 가정한다. 휘도값이 '0'인 경우는 가장 어두운 경우이므로 검정색일 것이고, 휘도값이 '255'인 경우는 가장 밝은 경우이므로 흰색으로 표현될 것이다. The reference luminance value 250 or 260 is provided to compare the luminance value of each pixel to extract the outline of the subject 140. In the following, it is assumed that the resolution of the image sensor unit 219 is 640 * 480 (horizontal * vertical), and the luminance value of each pixel is divided between 0 and 255. When the luminance value is '0', it will be black because it is the darkest case, and when the luminance value is '255', it will be expressed as white because it is the brightest case.

또한, 도 2b를 참조하면, 기준 휘도값(250 또는 260)은 소정의 휘도값 이상을 가지는 픽셀의 수에 따라서 변화할 수 있다. 외곽선 추출부(233)는 피사체(140)의 외곽선에 대응되는 픽셀을 추출하기 위하여 기준 픽셀 개수를 설정하고 휘도값이 큰 픽셀을 추출할 수 있다. 예를 들면, 연산량을 고려해서 설정된 기준 픽셀 개수가 10000개인 경우 미리 마련된 버퍼에 저장된 히스토그램에서 휘도값이 큰 순서로 10000개의 픽셀을 추출하고, 10000개째에 해당하는 픽셀(기준 픽셀 개수의 시점(253, 263))의 휘도값 또는 그 보다 작은 값이 기준 휘도값(250 또는 260)이 될 수 있다. 따라서, 기준 픽셀 개수 에 상응하는 휘도 범위(a, b)가 결정될 수 있다. 여기서, 각 픽셀의 휘도값은 버퍼에 저장되어 있으므로, 휘도값이 작은 순서로 픽셀 개수를 세어 기준 휘도값을 산출할 수도 있다. 즉, 전체 픽셀의 개수가 버퍼에 저장되어 있다면, 전체 픽셀 개수에서 기준 픽셀 개수를 뺀 값만큼 휘도값이 작은 순서대로 추출하여 기준 휘도값을 산출할 수도 있다. In addition, referring to FIG. 2B, the reference luminance value 250 or 260 may vary according to the number of pixels having a predetermined luminance value or more. The outline extractor 233 may set the number of reference pixels and extract a pixel having a high luminance value in order to extract pixels corresponding to the outline of the subject 140. For example, when the number of reference pixels is set in consideration of the amount of calculation, 10000 pixels are extracted from the histogram stored in the buffer prepared in advance in order of increasing luminance, and the pixels corresponding to the 10000th pixels (starting point of the reference pixel count 253). , 263) or a smaller value may be the reference luminance value 250 or 260. Therefore, luminance ranges a and b corresponding to the number of reference pixels may be determined. Here, since the luminance value of each pixel is stored in the buffer, the reference luminance value may be calculated by counting the number of pixels in order of decreasing luminance value. That is, if the total number of pixels is stored in the buffer, the reference luminance value may be calculated by extracting the luminance values in the order in which the luminance values are smaller by the total number of pixels minus the number of reference pixels.

여기서, 기준 픽셀 개수가 너무 큰 경우 대부분의 픽셀이 피사체(140)의 외곽선으로 추출될 것이고, 그 반대의 경우 극히 일부분의 픽셀이 피사체(140)의 외곽선으로 추출될 것이다. 기준 휘도값이 너무 작은 경우(즉, 기준 픽셀 개수가 너무 큰 경우)에는 피사체(140)의 외곽선과 관계없는 픽셀(예를 들면, 배경 부분에 대한 픽셀)이 추출될 수 있으므로, 휘도 하한값(255, 265)을 설정하여 기준 휘도값이 이보다 작은 값이 되는 경우 휘도 하한값(255, 265)을 기준 휘도값으로 설정할 수 있다. 또한, 기준 휘도값이 너무 큰 경우(즉, 기준 픽셀 개수가 너무 작은 경우)에는 피사체(140)의 외곽선을 구성하는 최소한의 픽셀 수가 추출되지 않을 수 있으므로, 이 경우에도 휘도 상한값(미도시)을 설정할 수 있다. 여기서, 휘도 하한값(255, 265)과 휘도 상한값은 일반적으로 각각 한 개씩 주어질 수 있으며, 도 2b를 참조하면, 휘도 하한값(255, 265)이 변화하는 경우 기준 휘도값(250, 260)이 변화하는 경우를 도시하였다. Here, if the number of reference pixels is too large, most of the pixels will be extracted to the outline of the subject 140 and vice versa, only a portion of the pixels will be extracted to the outline of the subject 140. If the reference luminance value is too small (i.e., the number of reference pixels is too large), pixels irrelevant to the outline of the subject 140 (for example, pixels for the background part) may be extracted, and thus the luminance lower limit value 255 If the reference luminance value is smaller than this, the lower limit values 255 and 265 may be set as the reference luminance value. In addition, when the reference luminance value is too large (that is, when the reference pixel number is too small), the minimum number of pixels constituting the outline of the subject 140 may not be extracted. Can be set. Here, the lower limit values 255 and 265 and the upper limit value of the luminance may be generally given one by one. Referring to FIG. 2B, when the luminance lower limit values 255 and 265 change, the reference luminance values 250 and 260 change. The case is shown.

예를 들어, 기준 픽셀 개수가 10000개이고, 휘도 하한값(255, 265)이 50인 경우 각 픽셀을 분석하여 휘도값이 큰 순서대로 10000개의 픽셀을 추출하여 10000번째 픽셀의 휘도값과 50 중 큰 값을 기준 휘도값으로 설정한다. 반대로, 기준 픽셀 개수가 10000개이고 휘도 상한값이 200인 경우를 가정하면, 휘도값이 큰 순서대로 10000개의 픽셀을 추출하여 10000번째 픽셀의 휘도값과 200 중 작은 값을 기준 휘도값으로 설정한다.For example, if the number of reference pixels is 10000 and the lower luminance limits (255, 265) are 50, each pixel is analyzed and 10000 pixels are extracted in the order of the higher luminance values, and the greater of the luminance value and the 50th pixel is 10000. Is set to the reference luminance value. On the contrary, assuming that the number of reference pixels is 10000 and the upper limit of luminance is 200, 10000 pixels are extracted in order of increasing luminance, and the luminance value of the 10000th pixel and the smaller of 200 are set as the reference luminance values.

또한, 다른 실시예에 의하면, 기준 휘도값은 특정 값으로 고정될 수도 있다. 예를 들면, 기준 휘도값이 100이고, 그 이상이 되는 픽셀에 대해서는 피사체(140)의 외곽선으로 인식할 수 있다. 상술한 휘도 하한 값과 휘도 상한값은 기준 휘도값이 고정된 경우에도 적용될 수 있음은 당연하다. Further, according to another embodiment, the reference luminance value may be fixed to a specific value. For example, a pixel having a reference luminance value of 100 and above may be recognized as an outline of the subject 140. It goes without saying that the above-mentioned lower limit of luminance and upper limit of luminance can be applied even when the reference luminance is fixed.

또한, 여기에서는 피사체 클릭 동작 감지 장치(200)의 동작을 제어하는 제어부를 별도로 구비하지 아니하였으나 피사체 클릭 동작 감지 장치(200)를 피사체 클 릭 동작 감지 장치(200)는 전반적인 동작을 제어하기 위한 제어부(도시되지 않음)를 별도로 구비할 수 있음은 당업자에 있어서 자명하다. 또한, 피사체 클릭 동작 감지 장치(200)는 별도의 제어부를 구비하지 않고 피사체 클릭 동작 감지 장치(200)를 포함하는 전자기기의 전반적인 동작을 제어하기 위한 메인 제어부(도시되지 않음)에 의하여 제어될 수도 있음은 자명하다.In addition, although the control unit for controlling the operation of the subject click motion detecting apparatus 200 is not provided separately, the subject click motion detecting apparatus 200 includes the control unit for controlling the overall operation. It will be apparent to those skilled in the art that the device (not shown) may be separately provided. In addition, the subject click motion detecting apparatus 200 may be controlled by a main controller (not shown) for controlling the overall operation of the electronic device including the subject click motion detecting apparatus 200 without providing a separate controller. It is self-evident.

다시 도 2a를 참조하면, 피사체 판단부(239-1)는 외곽선 추출부(233)에서 판단한 제m 외곽선을 이용하여 피사체(140)의 움직임에 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있음은 상술한 바와 같다. 이하 피사체 판단부(239-1)의 동작에 대한 일 실시예에 대하여 설명한다. 여기서, 기능 수행 명령은 버튼 클릭에 의해 수행될 수 있는 다양한 기능을 수행하는 명령이다. 예를 들면, 메뉴 실행, 이동 통신 단말기의 전화 걸기, 잠금 기능, 숫자/문자 버튼 입력 등이 기능 수행 명령에 의해 수행될 수 있다. Referring again to FIG. 2A, the subject determiner 239-1 generates a command to perform a function corresponding to the movement of the subject 140 using the m-th outline determined by the outline extractor 233 to display the main controller (not shown). Can be output as described above. Hereinafter, an embodiment of the operation of the subject determining unit 239-1 will be described. Here, the function execution command is a command for performing various functions that can be performed by a button click. For example, menu execution, dialing of a mobile communication terminal, a lock function, a numeric / character button input, and the like may be performed by a function execution command.

피사체 판단부(239-1)는 제m 외곽선을 이용하여 제m 피사체 크기 정보를 산출한다. 이때, 제m 피사체 크기 정보는 제m 외곽선의 지름(또는 반지름)에 상응하는 정보일 수 있다. 즉, 피사체(140)가 사용자의 손가락인 경우 피사체(140) 이미지의 제m 외곽선은 원형(또는 반원형)일 것이다. 따라서 제m 피사체 크기 정보는 제m 외곽선의 지름(또는 반지름)에 상응하는 정보일 수 있다. 또한, 제m 피사체 크기 정보는 제m 외곽선 픽셀이 구성하는 도형의 내부에 존재하는 픽셀의 개수에 상응하는 정보일 수 있다. 즉, 제m 외곽선이 원형의 도형이거나 사각형(또는 삼각형) 의 도형인 경우 제m 피사체 크기 정보는 당해 도형의 내부에 존재하는 픽셀의 개수일 수 있다. The subject determining unit 239-1 calculates m-th subject size information by using the m-th outline. In this case, the m-th subject size information may be information corresponding to the diameter (or radius) of the m-th outline. That is, when the subject 140 is a user's finger, the m-th outline of the image of the subject 140 may be circular (or semicircular). Therefore, the m-th subject size information may be information corresponding to the diameter (or radius) of the m-th outline. Also, the m-th subject size information may be information corresponding to the number of pixels existing in the figure of the m-th outline pixel. That is, when the m-th outline is a circular figure or a quadrangle (or triangle) figure, the m-th subject size information may be the number of pixels existing in the figure.

또한, 피사체 판단부(239-1)는 순차적으로 산출한 피사체 크기 정보를 미리 설정된 경계값과 비교하여 피사체(140)의 클릭(Click) 동작을 감지한다. 이하, 도 3을 참조하여 피사체 판단부(239-1)의 피사체 클릭 동작 감지 방법에 대하여 설명한다.In addition, the subject determining unit 239-1 detects the click operation of the subject 140 by comparing the subject size information sequentially calculated with a preset threshold value. Hereinafter, a method of detecting a subject click operation of the subject determiner 239-1 will be described with reference to FIG. 3.

도 3은 본 발명의 바람직한 일 실시예에 따른 피사체 클릭 동작 감지 방법을 나타낸 도면이다. 3 is a diagram illustrating a method of detecting a subject click motion according to an exemplary embodiment of the present invention.

도 3을 참조하면, 피사체 판단부(239-1)는 순차적으로 산출한 피사체 크기 정보와 미리 설정된 제1 경계값 및/또는 제2 경계값을 비교하여 상응하는 기능 수행 명령을 생성할 수 있다. 예를 들어, 피사체 판단부(239-1)는 제m 피사체 크기 정보가 제1 경계값 보다 크면 제k 피사체 크기 정보를 생성하여 제1 경계값과 비교할 수 있다. 이때, k는 m보다 큰 자연수일 수 있다. 즉, 제m 피사체 크기 정보를 생성한 후 소정의 시간이 지난 다음 피사체의 위치, 크기 등의 변화에 상응하여 제k 피사체 크기 정보가 생성된다. 또한, 피사체 판단부(239-1)는 제k 피사체 크기 정보가 제1 경계값 보다 작으면 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성할 수 있다. Referring to FIG. 3, the object determining unit 239-1 may generate a corresponding function execution command by comparing the subject size information sequentially calculated with a preset first boundary value and / or second boundary value. For example, if the m-th subject size information is greater than the first threshold value, the subject determiner 239-1 may generate k-th subject size information and compare it with the first threshold value. In this case, k may be a natural number larger than m. That is, after a predetermined time elapses after generating the m-th subject size information, the k-th subject size information is generated according to a change in the position, size, etc. of the subject. In addition, when the k-th subject size information is smaller than the first boundary value, the object determining unit 239-1 may generate a function execution command corresponding to a specific position within a preset outline.

예를 들어, 피사체 클릭 동작 감지 장치(200)가 이동 통신 단말기(100)에 마련되어 있는 경우를 가정한다. 이때, 제m 외곽선 내의 특정 위치는 제m 외곽선의 무게 중심일 수 있고, 당해 무게 중심에 상응하는 포인터의 위치가 '메뉴' 버튼에 해당되면 이동 통신 단말기(100)의 메인 제어부(도시되지 않음)는 피사체 판단부(239-1)로부터 기능 수행 명령을 입력 받아 '메뉴' 기능의 수행을 위하여 이동 통신 단말기(100)의 각 구성 요소를 제어할 수 있다. For example, it is assumed that the object click motion detecting apparatus 200 is provided in the mobile communication terminal 100. In this case, the specific position in the m-th outline may be the center of gravity of the m-th outline, and if the position of the pointer corresponding to the center of gravity corresponds to the 'menu' button, the main controller of the mobile communication terminal 100 (not shown) The controller may control each component of the mobile communication terminal 100 to receive a function execution command from the subject determining unit 239-1 to perform a 'menu' function.

이때, 산출된 피사체 크기 정보가 제1 경계값 및/또는 제2 경계값과 동일한 경우에도 기능 수행 명령이 생성되도록 미리 설정될 수 있음은 자명하다. 다만, 이하에서는 이해와 설명의 편의를 위하여 산출된 피사체 크기 정보가 제1 경계값 및/또는 제2 경계값과 동일한 경우에 대해서는 설명을 생략한다.In this case, it is obvious that the function execution command may be set in advance even if the calculated object size information is the same as the first threshold value and / or the second threshold value. However, hereinafter, the description of the case where the calculated subject size information is the same as the first boundary value and / or the second boundary value will be omitted.

그런데, 피사체 판단부(239-1)가 기능 수행 명령을 생성함에 있어서, 제m 외곽선 무게 중심의 좌표와 제k 외곽선 무게 중심의 좌표가 상이한 경우가 있을 수 있다. 이때 각 무게 중심의 좌표에 상응하는 기능이 동일한 경우(즉, 둘 다 '메뉴' 기능에 해당하는 좌표인 경우)에는 문제가 없으나, 각 무게 중심의 좌표에 상응하는 기능이 상이한 경우는 문제가 될 수 있다. 이러한 경우, 피사체 판단부(239-1)는 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성할 수도 있고, 에러(error)에 상응하는 기능 수행 명령을 생성할 수도 있으며, 사용자의 선택에 상응하는 기능 수행 명령을 생성할 수도 있다. However, when the object determining unit 239-1 generates a function execution command, the coordinates of the m th outline center and the k th outline center may be different. In this case, there is no problem when the functions corresponding to the coordinates of the centers of gravity are the same (that is, when the coordinates correspond to the 'menu' functions). Can be. In this case, the object determining unit 239-1 may generate a function execution command corresponding to a specific position within a preset outline, generate a function execution command corresponding to an error, or the user's selection. It is also possible to create a corresponding function command.

예를 들어, 피사체 판단부(239-1)는 제k 외곽선 무게 중심의 좌표에 상응하는 기능 수행 명령을 생성하도록 미리 설정된 경우를 가정한다. 이때, 제m 외곽선 무게 중심의 좌표는 '메뉴' 기능에 상응하고, 제k 외곽선 무게 중심의 좌표는 '통화' 기능에 상응하는 경우, 피사체 판단부(239-1)는 제k 외곽선 중심의 좌표에 상 응하는 '통화' 기능의 수행을 위한 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있다. For example, it is assumed that the object determiner 239-1 is set in advance to generate a function execution command corresponding to the coordinate of the kth outline center of gravity. In this case, when the coordinate of the m th outline center of gravity corresponds to the 'menu' function, and the coordinate of the k th outline center of gravity corresponds to the 'call' function, the object determining unit 239-1 may coordinate the k th outline center. A function execution command for performing a 'call' function corresponding thereto may be generated and output to a main controller (not shown).

또한, 피사체 판단부(239-1)는 제m 피사체 크기 정보가 제1 경계값 보다 크면 클릭 정보 측정을 시작할 수 있다. 클릭 정보의 측정은 피사체(140)의 클릭 동작이 계속된 시간에 따라 클릭 정보(t1)를 상이하게 생성하여 피사체 판단부(239-1)가 클릭 정보에 상응하는 기능 수행 명령을 생성하기 위함이다. 즉, 클릭 정보는 피사체(140)의 클릭 동작이 계속된 시간일 수 있다. 예를 들어, 클릭 정보가 미리 설정된 시간인 t2 보다 작으면 짧은 클릭(Short click), 클릭 정보가 상기 t2와 미리 설정된 시간인 t3 사이의 값(이때, t2<t3)이면 긴 클릭(Long click) 및 클릭 정보가 t3 보다 크면 취소 클릭(cancel click)으로 미리 설정된 경우를 가정한다. In addition, the subject determiner 239-1 may start measuring click information when the m-th subject size information is larger than the first boundary value. The measurement of the click information is to generate the click information t1 differently according to the time that the click operation of the subject 140 continues, and thereby the object determiner 239-1 generates a command to perform a function corresponding to the click information. . That is, the click information may be a time when the click operation of the subject 140 is continued. For example, a short click when the click information is less than t2, which is a preset time, and a long click when the click information is a value between the t2 and t3, which is the preset time (t2 <t3). If the click information is greater than t3, it is assumed that the click information is previously set as a cancel click.

이때, 피사체 판단부(239-1)는 측정한 클릭 정보에 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있다. 즉, 피사체 판단부(239-1)는 클릭 정보가 t2 보다 작은 경우에는 피사체(140)의 짧은 클릭 동작에 상응하는 기능 수행 명령을 생성하여 출력할 수 있다. 예를 들어, 짧은 클릭은 '데이터 선택', 긴 클릭은 '옵션 선택' 기능에 대응되도록 미리 설정된 경우를 가정하면, 피사체 판단부(239-1)는 클릭 정보가 짧은 클릭에 해당하면(즉, 클릭 정보가 t2 보다 작으면) 데이터 선택을 위한 기능 수행 명령을 생성할 수 있다. In this case, the object determining unit 239-1 may generate a function execution command corresponding to the measured click information and output the generated command to the main controller (not shown). That is, when the click information is less than t2, the subject determining unit 239-1 may generate and output a function execution command corresponding to a short click operation of the subject 140. For example, assuming that a short click is set in advance to correspond to a function of selecting data, and a long click corresponds to a function of selecting an option, the object determining unit 239-1 determines that the click information corresponds to a short click (that is, If the click information is less than t2), a command to perform a function for data selection may be generated.

그런데, 제m 피사체 크기 정보 및/또는 제k 피사체 크기 정보가 제1 경계값 부근의 값인 경우에는 피사체(140)의 클릭 동작 감지가 정확하지 않을 수 있다. 예를 들어, 제m 피사체 크기 정보가 제1 경계값 보다 큰 값이 입력되어 클릭 정보의 측정이 개시된 후에 순차적으로 입력되는 제k 피사체 크기 정보가 제1 경계값 보다 큰 값과 작은 값이 반복적으로 입력되는 경우가 있을 수 있다. 즉, 제1 경계값이 '100'으로 미리 설정된 경우 제m 피사체 크기 정보가 '110' 이어서 클릭 정보의 측정이 개시되었으나, 순차적으로 입력되는 제k 피사체 크기 정보가 '102', 제k+1 피사체 크기 정보가 '98', 제k+2 피사체 크기 정보가 '101'인 경우가 있을 수 있다. 이러한 경우는 클릭 정보의 측정의 정확도가 떨어지게 된다. However, when the m-th subject size information and / or the k-th subject size information is a value near the first boundary value, the detection of the click operation of the subject 140 may not be accurate. For example, the k-th subject size information sequentially input after the m-th subject size information is larger than the first threshold value and the measurement of the click information is started is repeated. It may be entered. That is, when the first threshold value is previously set to '100', the m-th subject size information is '110' and then measurement of the click information is started, but the k-th subject size information sequentially input is '102' and k + 1. The subject size information may be '98' and the k + 2th subject size information may be '101'. In such a case, the accuracy of the measurement of the click information is inferior.

이러한 현상을 방지하기 위하여 피사체 판단부(239-1)는 제m 피사체 크기 정보가 제1 경계값 보다 큰 경우에 클릭 정보 측정을 개시하고, 제1 경계값 보다 작은 값의 제k 피사체 크기 정보가 미리 설정된 횟수만큼 반복된 경우에 클릭 정보 측정을 종료하되, 제1 경계값 보다 작은 값의 제k 피사체 크기 정보가 최초로 반복 측정된 시점으로 소급하여 클릭 정보가 유효한 것으로 할 수 있다. To prevent such a phenomenon, the subject determining unit 239-1 starts measuring click information when the m-th subject size information is larger than the first threshold value, and k-th subject size information having a value smaller than the first threshold value is input. When repeating the predetermined number of times, the measurement of the click information is terminated, but the click information may be valid by retroactively to the time point at which the k-th subject size information having a value smaller than the first boundary value is repeatedly measured for the first time.

즉, 제1 경계값이 '100'이고, 클릭 정보 측정 종료 시점은 제1 경계값 보다 작은 피사체 크기 정보가 연속하여 3번 입력된 경우로 미리 설정된 경우를 가정한다. 이때, 순차적으로 생성되는 피사체 크기 정보 중에서 제k 피사체 크기 정보가 '102', 제k+1 피사체 크기 정보가 '98', 제k+2 피사체 크기 정보가 '101', 제k+3 피사체 크기 정보가 '99', 제k+4 피사체 크기 정보가 '98', 제k+5 피사체 크기 정보가 '98'로 입력되었다면, 피사체 판단부(239-1)는 제k 피사체 크기 정보가 생성된 시점부터 클릭 정보를 측정 개시하고, 제k+5 피사체 크기 정보가 생성된 시점까지 클릭 정보를 측정하되, 클릭 정보는 제k 피사체 크기 정보가 생성된 시점부터 제k+3 피사체 크기 정보가 생성된 시점까지 유효한 것으로 할 수 있다. That is, it is assumed that the first threshold value is '100' and the end point of the click information measurement is preset when the subject size information smaller than the first threshold value is input three times in succession. In this case, the k-th subject size information is '102', the k + 1th object size information is '98', and the k + 2th object size information is '101', and the k + 3th object size is sequentially selected. If the information is '99', the k + 4th object size information is '98', and the k + 5th object size information is '98', the object determining unit 239-1 generates the kth object size information. The click information is measured from the viewpoint, and the click information is measured from the time point at which the k + 5th object size information is generated, and the click information is generated from the time point at which the kth object size information is generated. It can be valid up to the point of time.

또한, 피사체 판단부(239-1)는 클릭 정보를 고려하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있음은 상술한 바와 같다. 그런데, 제1 경우(310)와 같이 순차적으로 생성되는 제k 피사체 크기 정보가 계속적으로 작아지는 경우와 달리 제k 피사체 크기 정보가 제1 경계값 보다 작은 값에서 큰 값으로 변경되는 경우가 있을 수 있다(제2 경우(320)). 이러한 경우에도 피사체(140)의 클릭 동작을 정확하게 감지할 수 없다. 즉, 사용자는 포인터의 위치에 상응하는 버튼 등을 클릭하기 위하여 피사체(140)를 촬상부(210)에 가까이 가져갔다가 망설이는 경우가 있을 수 있다.In addition, as described above, the object determining unit 239-1 may generate a function execution command corresponding to a specific position within a preset outline in consideration of the click information and output the command to the main controller (not shown). However, unlike the case where the k-th subject size information sequentially generated as in the first case 310 continuously decreases, the k-th subject size information may be changed from a value smaller than the first boundary value to a larger value. (Second case 320). Even in this case, the click operation of the subject 140 may not be accurately detected. That is, the user may move to the subject 140 near the imaging unit 210 in order to click a button or the like corresponding to the position of the pointer and hesitate.

이러한 경우, 피사체 판단부(239-1)는 클릭 정보 측정이 종료된 직후에 기능 수행 명령을 생성하되, 이후에 순차적으로 입력되는 피사체 크기 정보가 제2 경계값 보다 작은 경우에만 생성된 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다. 예를 들어, 제1 경계값이 '100'이고, 제2 경계값이 '50'인 경우 피사체 판단부(239-1)는 제k 피사체 크기 정보가 '50' 보다 작은 경우에 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다. 다만, 이 경우에도 피사체(140)가 촬상부(210)로부터 멀어진 것을 보다 명확하게 하기 위하여 피사체 판단부(239-1)는 제2 경계값 보다 작은 제l 피사체 크기 정보가 생성된 후 미리 설정된 시간 동안 제2 경계값 보다 큰 제k 피사체 크기 정보가 생성되지 아니하면 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다(이때, l은 k보다 큰 자연수일 수 있음). 즉, 피사체 판단부(239-1)는 제2 경계값 보다 작은 제l 피사체 크기 정보가 생성되면 대기 정보 측정을 개시할 수 있다. 여기에서 대기 정보는 제2 경계값 보다 큰 제l 피사체 크기 정보가 생성되지 아니한 시간일 수 있다. 이때, 피사체 판단부(239-1)는 대기 정보가 미리 설정된 시간인 경계 시간을 경과하면 생성된 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다.In this case, the object determination unit 239-1 generates a function execution command immediately after the measurement of the click information ends, but only when the subject size information sequentially input afterwards is smaller than the second boundary value. May be output to a main controller (not shown). For example, when the first threshold value is '100' and the second threshold value is '50', the subject determining unit 239-1 may perform a function command when the k-th subject size information is smaller than '50'. Output to the main control unit (not shown). However, even in this case, in order to clarify that the subject 140 is far from the image capturing unit 210, the subject determining unit 239-1 sets a predetermined time after the first subject size information smaller than the second boundary value is generated. If the k-th subject size information larger than the second threshold is not generated, the function execution command may be output to the main controller (not shown) (where l may be a natural number greater than k). That is, the subject determination unit 239-1 may start measuring atmospheric information when the first subject size information smaller than the second threshold is generated. The atmospheric information may be a time when the first subject size information larger than the second threshold is not generated. In this case, the subject determining unit 239-1 may output a generated function execution command to the main controller (not shown) when the waiting time elapses from the preset time.

상술한 예에서는 피사체 판단부(239-1)가 순차적으로 산출되는 피사체 크기 정보를 이용하여 피사체(140)의 클릭 동작을 감지하는 방법에 대하여 설명하였다. 이하에서는 피사체 판단부(239-1)가 순차적으로 추출되는 피사체(140)의 외곽선을 이용하여 기울기 정보를 산출하여 피사체(140)의 클릭 동작을 감지하는 방법에 대하여 설명한다. In the above-described example, the method of detecting the click operation of the subject 140 using the subject size information sequentially calculated by the subject determining unit 239-1 has been described. Hereinafter, a method of detecting the click operation of the subject 140 by calculating tilt information using the outline of the subject 140 sequentially extracted by the subject determiner 239-1 will be described.

즉, 피사체 판단부(239-1)는 제m 피사체 크기 정보 및 제m-1 피사체 크기 정보를 이용하여 제m 기울기 정보를 산출할 수 있다. 제m 기울기 정보는 제m 피사체 크기 정보와 제m-1 피사체 크기 정보가 기울어진 정도에 대한 정보로서 하기 식 (7)에 의하여 산출될 수 있다. That is, the subject determiner 239-1 may calculate the m-th slope information by using the m-th subject size information and the m-th subject size information. The m-th slope information may be calculated by Equation (7) as information on the degree of inclination of the m-th subject size information and the m-th subject size information.

Figure 112006084964809-PAT00007
(7)
Figure 112006084964809-PAT00007
(7)

여기서,

Figure 112006084964809-PAT00008
은 제m 피사체 크기 정보가 생성된 시간이고,
Figure 112006084964809-PAT00009
은 제m-1 피사체 크기 정보가 생성된 시간이다. 따라서, 식 (7)의 분모는 제m 피사체 크기 정보가 생성된 시점과 제m-1 피사체 크기 정보가 생성된 시점의 차이다. here,
Figure 112006084964809-PAT00008
Is the time at which the m-th subject size information was generated,
Figure 112006084964809-PAT00009
Is the time at which the m-1 subject size information was generated. Therefore, the denominator of equation (7) is the difference between the time point at which m-th subject size information is generated and the time point at which m-th subject size information is generated.

또한, 피사체 판단부(239-1)는 제m 기울기 정보와 미리 설정된 기울기 정보인 제3 경계값을 비교한다. 비교 결과, 제m 기울기 정보가 제3 경계값 보다 작으면 피사체 판단부(239-1)는 제m+1 피사체 크기 정보를 산출하여 기울기 정보를 산출한다. 반면, 제m 기울기 정보가 제3 경계값 보다 크면 피사체 판단부(239-1)는 피사체(140)의 움직임을 클릭을 위한 촬상부(210)에의 접근으로 인식할 수 있다. 이때, 제3 경계값은 기울기에 대한 값으로서 양(plus)의 값을 가지는 값일 수 있다. 즉, 제m 기울기 정보가 제3 경계값 보다 크면 피사체 크기 정보가 급격히 커지고 있는 것을 의미한다. 이는 피사체(140)가 클릭 동작을 위해 촬상부(210)가 근접하고 있음을 의미한다.In addition, the object determining unit 239-1 compares the m-th inclination information with a third threshold value which is preset inclination information. As a result of comparison, when the m th tilt information is smaller than the third threshold value, the object determining unit 239-1 calculates the m + 1 th subject size information to calculate the tilt information. On the other hand, when the m-th tilt information is larger than the third threshold value, the subject determining unit 239-1 may recognize the movement of the subject 140 as the approach to the image capturing unit 210 for clicking. In this case, the third boundary value may be a value having a positive value as a value for the slope. That is, when the m-th inclination information is larger than the third boundary value, it means that the subject size information is rapidly increased. This means that the imaging unit 210 is close to the subject 140 for the click operation.

이때, 산출된 제m 기울기 정보가 제3 경계값과 동일한 경우에도 피사체 크기 정보가 급격히 커지고 있는 것을 의미할 수 있으므로 제3 경계값 보다 큰 경우와 동일할 수 있음은 자명하다. 다만, 이하에서는 이해와 설명의 편의를 위하여 산출된 제m 기울기 정보가 제3 경계값과 동일한 경우에 대해서는 설명을 생략한다.In this case, even when the calculated m-th slope information is the same as the third threshold value, it may mean that the subject size information is rapidly increasing, and thus it may be the same as the case where the m-th slope information is larger than the third threshold value. However, hereinafter, the description of the case where the m-th slope information calculated for convenience of understanding and explanation is the same as the third boundary value will be omitted.

또한, 피사체 판단부(239-1)는 정확한 피사체(140)의 클릭 동작 감지를 위하여 클릭-인(Click-in) 카운터를 동작시켜 클릭-인 정보(

Figure 112006084964809-PAT00010
)를 생성하고, 생성된 클릭-인 정보가 미리 설정된 클릭-인 경계값(
Figure 112006084964809-PAT00011
)과 동일한 경우에만 피사체(140)의 움직임을 클릭을 위한 동작으로서 인식할 수 있다. 여기서, 클릭-인 카운터는 제3 경계값보다 큰 제m 기울기 정보가 산출된 회수를 순차적으로 측정하여 클릭-인 정보(
Figure 112006084964809-PAT00012
)를 생성할 수 있다. 예를 들어, 피사체 판단부(239-1)는 제m 기울기 정보가 제3 경계값 보다 크면 클릭-인 카운터를 동작시켜 클릭-인 정보를 생성할 수 있 다(즉,
Figure 112006084964809-PAT00013
, 이때 클릭-인 정보의 초기값은 '0'일 수 있음). In addition, the subject determiner 239-1 operates a click-in counter to detect the click operation of the subject 140 accurately.
Figure 112006084964809-PAT00010
), The generated click-in information is a preset click-in threshold (
Figure 112006084964809-PAT00011
), The movement of the subject 140 may be recognized as an operation for clicking. Here, the click-in counter sequentially measures the number of times the m-th slope information larger than the third threshold value is calculated, thereby determining click-in information (
Figure 112006084964809-PAT00012
) Can be created. For example, the subject determining unit 239-1 may generate the click-in information by operating the click-in counter when the m-th tilt information is larger than the third threshold value (ie
Figure 112006084964809-PAT00013
, Where the initial value of the click-in information may be '0'.

또한, 피사체 판단부(239-1)는 생성된 클릭-인 정보가 클릭-인 경계값 보다 작은 경우에는 다시 제m+1 피사체 크기 정보를 산출하여 제m+1 기울기 정보를 산출할 수 있으나, 클릭-인 정보가 클릭-인 경계값과 같거나 큰 경우에는 피사체(140)의 움직임을 클릭을 위한 동작으로서 인식하여 클릭 정보 측정을 개시할 수 있다. 이때, 클릭 정보 측정은 피사체(140)의 클릭 동작이 계속된 시간에 따라 클릭 정보를 상이하게 생성하여 피사체 판단부(239-1)가 클릭 정보에 상응하는 기능 수행 명령을 생성하기 위함임은 상술한 바와 같다. Also, when the generated click-in information is smaller than the click-in threshold, the object determining unit 239-1 may calculate m-th + 1 slope information by calculating m-th subject size information again. When the click-in information is equal to or larger than the click-in threshold, the movement of the subject 140 may be recognized as an operation for clicking and the measurement of the click information may be started. In this case, the measurement of the click information is to generate the click information differently according to the time that the click operation of the subject 140 continues, so that the object determination unit 239-1 generates a command to perform a function corresponding to the click information. As shown.

또한, 클릭-인 정보(

Figure 112006084964809-PAT00014
)는 시간과 피사체 크기 정보가 형성하는 평면에서 기울기의 평균값에 의해서 산출될 수도 있다. 예를 들면, 일정 시간 동안 피사체의 크기가 커지거나 작아지는 비율을 평균 기울기로 계산하여 클릭-인 정보(
Figure 112006084964809-PAT00015
)를 산출한다. 즉, 순차적으로 추출된 피사체 크기 정보에 대해 각각 시간에 대한 기울기들을 구하고 이를 평균값으로 산출하여 평균 기울기를 구한 후 이로부터 클릭-인 정보(
Figure 112006084964809-PAT00016
)를 산출할 수 있다. 여기서, 클릭-인 경계값(
Figure 112006084964809-PAT00017
)은 기울기가 된다. In addition, click-in information (
Figure 112006084964809-PAT00014
) May be calculated by the average value of the slope in the plane formed by the time and the subject size information. For example, you can calculate the rate at which the subject grows or shrinks over time, using the average slope to calculate click-in information (
Figure 112006084964809-PAT00015
) Is calculated. That is, the slopes of time are obtained for the sequentially extracted subject size information, and the average slopes are calculated by calculating the average slopes, and then the click-in information (
Figure 112006084964809-PAT00016
) Can be calculated. Where the click-in threshold (
Figure 112006084964809-PAT00017
) Becomes a slope.

또한, 피사체 판단부(239-1)는 클릭 정보 측정이 개시되면 제k 피사체 크기 정보 및 제k-1 피사체 크기 정보를 이용하여 제k 기울기 정보를 산출한다(이때, k는 m보다 큰 자연수일 수 있음). 제k 기울기 정보를 산출하는 방법은 상술한 제m 기울기 정보를 산출하는 방법과 동일한 바, 이에 대한 상세한 설명은 생략한다. In addition, when the measurement of the click information is started, the object determining unit 239-1 calculates k-th slope information using the k-th subject size information and the k-th subject size information (where k is a natural number greater than m). Can be). The method of calculating the k-th slope information is the same as the method of calculating the m-th slope information, and a detailed description thereof will be omitted.

또한, 피사체 판단부(239-1)는 제k 기울기 정보와 미리 설정된 제4 경계값을 비교한다. 비교 결과, 제m 기울기 정보가 제4 경계값 보다 크면 피사체 판단부(239-1)는 제k+1 피사체 크기 정보를 산출하여 제k+1 기울기 정보를 산출한다. 반면, 제k 기울기 정보가 제4 경계값 보다 작으면 피사체 판단부(239-1)는 피사체(140)의 움직임을 촬상부(210)로부터 멀어지는 동작으로 인식할 수 있다. 이때, 제4 경계값은 기울기에 대한 값으로서 음(minus)의 값을 가지는 값일 수 있다. 즉, 제k 기울기 정보가 제4 경계값 보다 작으면 피사체 크기 정보가 급격히 작아지고 있는 것을 의미한다. 이는 피사체(140)가 클릭 동작을 위해 촬상부(210)로부터 멀어지고 있음을 의미한다.In addition, the object determiner 239-1 compares the k-th tilt information with a fourth threshold value preset. As a result of comparison, when the m th slope information is larger than the fourth threshold value, the object determining unit 239-1 calculates k + 1 th size information and calculates k + 1 th slope information. On the other hand, if the k-th tilt information is smaller than the fourth threshold value, the subject determiner 239-1 may recognize the movement of the subject 140 as an operation away from the image capture unit 210. In this case, the fourth boundary value may be a value having a negative value as a value for the slope. That is, when the k-th tilt information is smaller than the fourth threshold value, it means that the subject size information is rapidly reduced. This means that the subject 140 is moving away from the imaging unit 210 for the click operation.

이때, 산출된 제k 기울기 정보가 제4 경계값과 동일한 경우에도 피사체 크기 정보가 급격히 작아지고 있는 것을 의미할 수 있으므로 제4 경계값 보다 큰 경우와 동일할 수 있음은 자명하다. 다만, 이하에서는 이해와 설명의 편의를 위하여 산출된 제k 기울기 정보가 제4 경계값과 동일한 경우에 대해서는 설명을 생략한다. In this case, even when the calculated k-th slope information is the same as the fourth threshold value, it may mean that the subject size information is rapidly decreasing, and thus it may be the same as the case where the k-th slope information is larger than the fourth threshold value. However, hereinafter, description will be omitted for the case where the kth slope information calculated for convenience of understanding and explanation is the same as the fourth boundary value.

또한, 피사체 판단부(239-1)는 정확한 피사체(140)의 클릭 동작 감지를 위하여 클릭-아웃(Click-out) 카운터를 동작시켜 클릭-아웃 정보(

Figure 112006084964809-PAT00018
)를 생성하고, 생성된 클릭-아웃 정보가 미리 설정된 클릭-아웃 경계값(
Figure 112006084964809-PAT00019
)과 동일한 경우에만 피사체(140)의 움직임을 클릭을 위하여 촬상부(210)로부터 멀어지는 동작으로서 인식할 수 있다. 여기서, 클릭-아웃 카운터는 제4 경계값보다 작은 제k 기울기 정보가 산출된 회수를 순차적으로 측정하여 클릭-아웃 정보(
Figure 112006084964809-PAT00020
)를 생성할 수 있다. 예를 들어, 피사체 판단부(239-1)는 생성된 기울기 정보가 제4 경계값 보다 작으면 클릭-아웃 카운터를 동작하여 클릭-아웃 정보를 생성할 수 있다(즉,
Figure 112006084964809-PAT00021
). In addition, the subject determiner 239-1 operates the click-out counter to detect the click operation of the subject 140 accurately, thereby performing click-out information (
Figure 112006084964809-PAT00018
), The generated click-out information is a preset click-out threshold (
Figure 112006084964809-PAT00019
), The movement of the subject 140 may be recognized as an operation away from the imaging unit 210 for clicking. Here, the click-out counter sequentially measures the number of times the k-th slope information smaller than the fourth threshold value is calculated, thereby determining the click-out information (
Figure 112006084964809-PAT00020
) Can be created. For example, the object determiner 239-1 may generate the click-out information by operating the click-out counter when the generated tilt information is smaller than the fourth threshold value (ie, the click-out counter).
Figure 112006084964809-PAT00021
).

또한, 피사체 판단부(239-1)는 생성된 클릭-아웃 정보가 클릭-아웃 경계값 보다 작은 경우에는 다시 제k+1 피사체 크기 정보를 산출하여 제k+1 기울기 정보를 산출할 수 있으나, 클릭-아웃 정보가 클릭-아웃 경계값과 같거나 큰 경우에는 피사체(140)의 움직임을 클릭을 위하여 촬상부(210)로부터 멀어지는 동작으로서 인식하여 클릭 정보 측정을 종료할 수 있다. In addition, when the generated click-out information is smaller than the click-out threshold value, the object determining unit 239-1 may calculate the k + 1th slope information by calculating the k + 1th subject size information again. When the click-out information is equal to or larger than the click-out threshold, the movement of the subject 140 may be recognized as an operation away from the image pickup unit 210 for the click, and the measurement of the click information may be terminated.

또한, 피사체 판단부(239-1)는 생성된 클릭 정보에 상응하여 미리 설정된 외곽선의 특정 위치에 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있음은 상술한 바와 같다. 즉, 제m 외곽선과 제k 외곽선의 무게 중심에 상응하는 기능이 서로 상이한 경우, 피사체 판단부(239-1)는 상술한 바와 같이 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성할 수도 있고, 에러(error)에 상응하는 기능 수행 명령을 생성할 수도 있으며, 사용자의 선택에 상응하는 기능 수행 명령을 생성할 수도 있다. In addition, as described above, the object determining unit 239-1 may generate a function execution command corresponding to a specific position of a preset outline corresponding to the generated click information and output the generated command to the main controller (not shown). . That is, when the functions corresponding to the centers of gravity of the m-th outline and the k-th outline are different from each other, the object determining unit 239-1 may generate a function execution command corresponding to a specific position within the preset outline as described above. In addition, a function execution command corresponding to an error may be generated, and a function execution command corresponding to a user's selection may be generated.

이때, 피사체(140)가 촬상부(210)로부터 멀어진 것을 보다 명확하게 하기 위하여 피사체 판단부(239-1)는 클릭 정보 측정이 종료되고 미리 설정된 시간 동안 제4 경계값 보다 큰 제l 기울기 정보가 생성되지 아니하면 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다(이때, l은 k보다 큰 자연수일 수 있음). 즉, 피사체 판단부(239-1)는 클릭 정보 측정이 종료되면 대기 정보 측정을 개시할 수 있다. 여기에서 대기 정보는 제4 경계값 보다 큰 제l 기울기 정보가 생성되지 아니한 시간일 수 있다. 이때, 피사체 판단부(239-1)는 대기 정보가 미리 설정된 시간인 경계 시간을 경과하면 생성된 기능 수행 명령을 메인 제어부(도시되지 않음)로 출력할 수 있다.At this time, in order to make it clear that the subject 140 is far from the image capturing unit 210, the subject determining unit 239-1 ends the measurement of the click information and the first slope information larger than the fourth threshold value is preset for a preset time. If not generated, the function execution command may be output to the main controller (not shown) (wherein l may be a natural number greater than k). That is, the subject determination unit 239-1 may start the atmospheric information measurement when the click information measurement is completed. The wait information may be a time when the first slope information larger than the fourth boundary value is not generated. In this case, the subject determining unit 239-1 may output a generated function execution command to the main controller (not shown) when the waiting time elapses from the preset time.

이상에서는 피사체 판단부(239-1)가 피사체(140)의 한 번의 클릭 동작 감지하는 방법에 대하여 설명하였으나, 이는 피사체(140)의 더블 클릭(Double click)에도 적용될 수 있다. 예를 들어, 피사체 판단부(239-1)가 상술한 방법에 의하여 피사체(140)의 한 번의 클릭 동작을 감지한 후, 대기 정보가 미리 설정된 경계 정보와 동일해지기 전에 피사체(140)의 클릭 동작이 한 번 더 감지되면 피사체 판단부(239-1)는 이를 피사체(140)의 더블 클릭 동작으로 감지하여 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시도지 않음)로 출력할 수 있다. 이때, 피사체(140)의 더블 클릭 동작의 각 클릭 동작은 상술한 방법과 동일 또는 유사한 방법에 의하여 감지될 수 있다. In the above, the method of detecting the single click operation of the subject 140 by the subject determiner 239-1 may be applied to the double click of the subject 140. For example, after the subject determining unit 239-1 detects the single click operation of the subject 140 by the method described above, the subject 140 clicks before the standby information becomes equal to the preset boundary information. When the motion is detected once more, the object determining unit 239-1 may detect the same as a double-click operation of the subject 140, generate a corresponding function execution command, and output the command to the main controller (not shown). In this case, each click operation of the double click operation of the subject 140 may be sensed by the same or similar method as described above.

도 4는 피사체 클릭 동작 감지 방법의 일 실시예에 따른 순서도이다. 4 is a flowchart illustrating an example of a method of detecting a subject click motion.

이하, 도 4를 참조하여 피사체 클릭 동작 감지 방법의 일 실시예에 대해 설명한다.Hereinafter, an embodiment of a method of detecting a subject click motion will be described with reference to FIG. 4.

단계 S410에서, 촬상부(210)는 피사체(140)를 포함하는 이미지를 촬상하여 제1 영상 데이터를 생성한다. In operation S410, the imaging unit 210 captures an image including the subject 140 to generate first image data.

단계 S420에서, 선명도 조절부(231)는 촬상된 피사체(140)의 이미지에 대해 선명도를 조절하여 제2 영상 데이터를 생성한다. 여기서, 이미지의 심도에 따라서 선명도 조절이 달라질 수 있다. 즉, 렌즈부(216)의 초점 거리에 가까운 위치에 있는 피사체(140) 외곽선의 경우 배경이 되는 이미지에 비해 선명도가 크게 증가할 수 있음은 상술한 바와 같다. In operation S420, the sharpness controller 231 generates second image data by adjusting sharpness of the image of the photographed subject 140. Here, the sharpness control may vary according to the depth of the image. That is, as described above, in the case of the outline of the subject 140 positioned near the focal length of the lens unit 216, the sharpness may be greatly increased as compared to the background image.

단계 S430에서, 외곽선 추출부(233)는 생성된 제1 영상 데이터와 제2 영상 데이터의 차분 값을 산출하고, 감마 보정부(235)는 산출된 차분 값에 대해서 감마 보정하여 피사체 외곽선에 대한 휘도값을 증가시킬 수 있다(단계 S440). 따라서 감마 보정된 차분 값으로부터 촬상된 피사체(140) 이미지의 외곽선이 명확하게 될 수 있다. 여기서 차분 값은 모든 픽셀에 대해서 산출되며, 이하 단계들은 각 픽셀마다 개별적으로 수행된다. In operation S430, the outline extractor 233 calculates a difference value between the generated first image data and the second image data, and the gamma correction unit 235 performs gamma correction on the calculated difference value, thereby providing luminance for the object outline. The value can be increased (step S440). Therefore, the outline of the image of the subject 140 photographed from the gamma-corrected difference value can be made clear. Here, the difference value is calculated for every pixel, and the following steps are performed individually for each pixel.

단계 S450에서, 외곽선 추출부(233)는 제1 영상 데이터와 제2 영상 데이터의 차분 값이 미리 설정된 기준 휘도값보다 큰지 여부를 체크한다. 차분 값이 미리 설정된 기준 휘도값 보다 큰 경우에는 이러한 픽셀은 피사체의 일단에 상응하는 외곽선으로 추출된다. 그러나 차분 값이 미리 설정된 기준 휘도값 보다 작은 경우에는 다음 픽셀에 대한 차분값에 대해서 미리 설정된 기준 휘도값보다 큰지 여부를 체크하며, 픽셀들에 대한 차분값이 미리 설정된 기준 휘도값보다 작은 경우 처음 단계로 돌아가서 전 단계가 다시 반복될 수 있다. 기준 휘도값은 상술한 바와 같이 고정적 또는 기준 픽셀 개수에 대응하여 설정될 수 있다. In operation S450, the outline extractor 233 checks whether a difference value between the first image data and the second image data is greater than a preset reference luminance value. When the difference value is larger than the preset reference luminance value, these pixels are extracted with an outline corresponding to one end of the subject. However, if the difference value is smaller than the preset reference luminance value, it is checked whether the difference value for the next pixel is larger than the preset reference luminance value. If the difference value for the pixels is smaller than the preset reference luminance value, the first step is performed. Return to the previous step can be repeated again. As described above, the reference luminance value may be set corresponding to the fixed or reference pixel number.

단계 S460에서, 외곽선 추출부(233)는 제1 영상 데이터와 상기 제2 영상 데 이터의 차분 값이 미리 설정된 기준 휘도값보다 큰 좌표값으로부터 피사체(140)의 일단에 상응하는 외곽선을 추출하여 저장부(240)에 저장한다. 외곽선 추출부(233)에서 제1 영상 데이터와 제2 영상 데이터의 차분 값이 미리 설정된 기준 휘도값보다 큰지 여부를 체크하여 외곽선을 추출하는 방법은 상술한 바, 여기에서는 이에 대한 상세한 설명은 생략한다. In operation S460, the outline extractor 233 extracts and stores an outline corresponding to one end of the subject 140 from a coordinate value in which a difference value between the first image data and the second image data is larger than a preset reference luminance value. Stored in the unit 240. The method of extracting the outline by checking whether the difference value between the first image data and the second image data is greater than the preset reference luminance value is described above, and the detailed description thereof will be omitted here. .

단계 S470에서, 중심 판단부(237)는 촬상된 피사체(140)의 외곽선을 이용해서 이미지 중심점을 산출하여 저장부(240)에 저장한다. 즉, 상술한 무게 중심을 구하거나, 추출된 피사체의 외곽선으로부터 곡률 반경을 산출하고 해당 곡률 반경에 상응하는 중심점의 좌표값을 추출할 수 있다. 또는 곡률 반경을 별도로 산출하지 않고, 피사체의 윤곽이 형성하는 원형의 외곽선을 나타내는 각 픽셀 간의 거리를 계산하고, 계산된 각 픽셀의 거리가 가장 큰 두 픽셀의 중간값을 이용하여 현재 중심점의 좌표값을 추출할 수도 있다. 이외에도 미리 설정된 다양한 방법에 의해 현재 중심점의 좌표값이 추출될 수 있다. In operation S470, the center determination unit 237 calculates an image center point by using the outline of the photographed subject 140 and stores the image center point in the storage unit 240. That is, the above-described center of gravity may be obtained or the radius of curvature may be calculated from the extracted outline of the subject and the coordinate value of the center point corresponding to the radius of curvature may be extracted. Alternatively, the distance between each pixel representing the circular outline formed by the outline of the subject is calculated without separately calculating the radius of curvature, and the coordinate value of the current center point is obtained by using the median value of the two pixels having the largest calculated distance of each pixel. You can also extract In addition, the coordinate values of the current center point may be extracted by various preset methods.

단계 S480에서, 피사체 판단부(239-1)는 추출된 외곽선을 이용하여 피사체(140)의 움직임을 판단하고, 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력할 수 있다. 피사체 판단부(239-1)에서 기능 수행 명령을 생성하는 방법에 대하서는 도 8 및 도 9를 참조하여 후술한다. 또한, 단계 S480과 무관하게 포인터 위치 설정부(239)는 산출된 중심점을 이용하여 포인터가 중심점의 좌표에 상응하도록 위치되도록 제어할 수 있음은 상술한 바와 같다. In operation S480, the subject determiner 239-1 may determine the movement of the subject 140 using the extracted outline, generate a corresponding function execution command, and output the command to a main controller (not shown). A method of generating a function execution command in the subject determining unit 239-1 will be described later with reference to FIGS. 8 and 9. In addition, as described above, the pointer position setting unit 239 may control the pointer to be positioned to correspond to the coordinates of the center point using the calculated center point irrespective of step S480.

도 5는 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면이다. 5 is a diagram illustrating an image generated by an embodiment of an apparatus for detecting a subject click motion for implementing the present invention.

도 5를 참조하면, 원본 이미지(510), 선명도 조절된 이미지(520), 차분 값에 대해 감마 보정된 이미지(530), 추출된 중심점(540) 및 원형 외곽선(550)이 도시된다. Referring to FIG. 5, an original image 510, a sharpness-adjusted image 520, a gamma corrected image 530 with respect to a difference value, an extracted center point 540, and a circular outline 550 are illustrated.

원본 이미지(510)에서 피사체(140)인 사용자의 손가락 일단은 둥근 형상을 가지고 있다. 이후 심도에 따라서 선명도를 조절하면, 선명도 조절된 이미지(520)에서 보이는 바와 같이 초점 거리에 유사한 위치에 있는 피사체(사용자 손가락)의 외곽선은 선명도가 커지며, 그렇지 않은 배경은 선명도가 상대적으로 작다. 이후 원본 이미지(510)와 선명도 조절된 이미지(520)의 차분 값을 구한 후 전체적으로 감마값을 높게 하면, 감마 보정된 이미지(530)에서 선명도가 큰 사용자의 손가락 일단의 윤곽만 보이게 된다. 따라서, 피사체의 윤곽인 원형 외곽선으로부터 상술한 중심점의 좌표값을 추출하고 디스플레이부의 포인터의 위치를 추출한 중심점의 좌표값으로 설정할 수 있다. One end of the user's finger, which is the subject 140, in the original image 510 has a round shape. Then, as the sharpness is adjusted according to the depth, the outline of the subject (user's finger) at a position similar to the focal length is increased as shown in the sharpened image 520, and the background that is not is relatively small. Thereafter, if the difference between the original image 510 and the sharpness-adjusted image 520 is obtained, and the gamma value is increased as a whole, only the outline of one end of the user's finger having high sharpness is visible in the gamma-corrected image 530. Therefore, the coordinate value of the center point described above can be extracted from the circular outline which is the outline of the subject, and the coordinate value of the center point from which the pointer of the display unit is extracted can be set.

도 6은 배경의 명도가 큰 경우 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면이며, 도 7은 배경의 명도가 작은 경우 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 일 실시예에 의해 생성된 이미지를 도시한 도면이다. 도 6 및 도 7을 참조하면, 원본 이미지(610, 710), 선명도 조절된 이미지(620, 120), 감마 보정된 이미지(630, 730), 추출된 중심점 및 원형 외곽선(640, 740)이 도시된다. 6 is a diagram illustrating an image generated by an embodiment of an object click motion detection apparatus for implementing the present invention when the brightness of the background is large, and FIG. 7 illustrates an embodiment of the present invention when the brightness of the background is small. FIG. 3 is a diagram illustrating an image generated by an embodiment of an apparatus for detecting a subject click motion. Referring to FIG. 6 and 7, original images 610 and 710, sharpened images 620 and 120, gamma corrected images 630 and 730, extracted center points and circular outlines 640 and 740 are shown. do.

도 6를 참조하면, 배경의 명도에 관계없이 피사체(140)의 윤곽이 추출될 수 있다. 즉, 선명도(sharpness)를 조절하는 경우 피사체(140)인 손가락의 윤곽뿐만 아니라 직선형으로 형성된 배경 광원이 문제될 수도 있으나, 실제 실험 결과 배경 영상이 미치는 영향이 작아서 손가락의 윤곽을 추출하는데 문제가 없는 것으로 나타났다.Referring to FIG. 6, the outline of the subject 140 may be extracted regardless of the brightness of the background. That is, when adjusting sharpness, not only the contour of the finger, which is the subject 140, but also a background light source formed in a straight line shape may be a problem. Appeared.

또한, 도 7을 참조하면, 손가락인 피사체(140)를 눕혀서 원형이 아닌, 즉, 외곽선이 반원인 경우에도 경계값인 피사체의 윤곽이 추출될 수 있다. 따라서, 본 발명의 실시예에 따르면, 하나의 영상 프레임만을 가지고도 이미지의 심도를 이용하여 피사체(140)의 이동 여부 및 이동 위치의 좌표값을 구할 수 있다. In addition, referring to FIG. 7, even when the subject 140, which is a finger, is lying down, the contour of the subject, which is a boundary value, may be extracted even when the object is not circular, that is, the outline is a semicircle. Therefore, according to an exemplary embodiment of the present invention, even if only one image frame is used, whether the subject 140 is moved or the coordinate value of the movement position may be obtained using the depth of the image.

도 8은 본 발명의 바람직한 일 실시예에 따른 피사체의 클릭 동작 감지 방법에 대한 순서도이다. 8 is a flowchart illustrating a method of detecting a click motion of a subject according to an exemplary embodiment of the present invention.

이하, 도 8을 참조하여 본 발명의 바람직한 일 실시예에 따른 피사체의 클릭 동작 감지 방법에 대하여 설명한다. 이때, 하기할 각 단계는 피사체 판단부(239-1)에서 수행되는 단계임을 전제하고 설명한다. 또한, 하기할 각 단계는 도 4를 참조하여 설명한 단계 S410 내지 단계 S470이 먼저 수행된 상태일 수 있다. Hereinafter, a method of detecting a click motion of a subject according to an exemplary embodiment of the present invention will be described with reference to FIG. 8. In this case, each step to be described below will be described under the assumption that the object determination unit 239-1 is performed. In addition, each step to be described below may be in a state where steps S410 to S470 described with reference to FIG. 4 are performed first.

단계 S810에서, 추출된 제m 외곽선을 이용하여 제m 피사체 크기 정보가 산출된다. 이때, m은 자연수일 수 있다.In operation S810, the m th subject size information is calculated using the extracted m th outline. In this case, m may be a natural number.

단계 S820에서, 제m 피사체 크기는 미리 설정된 제2 경계값과 비교된다. 이 때, 제2 경계값은 피사체(140)의 클릭 동작이 보다 정확하게 감지될 수 있도록 하기 위한 설정임은 상술한 바와 같다. 비교 결과, 제m 피사체 크기 정보가 제2 경계값 보다 작은 경우에는 제m+1 피사체 크기 정보를 산출한다. 즉, 이전 단계가 다시 수행된다. 즉, 도 8에서는 'm=m+1' 블록을 이용하여 피사체 크기 정보가 순차적으로 산출됨을 표현하였다. 또한, 이후에 표현될 'k=m+1' 및 'k=k+1' 또한 동일한 의미의 표현이다. 따라서, 이하 당해 블록에 대한 설명은 생략한다.In operation S820, the m th subject size is compared with a second preset threshold value. In this case, as described above, the second threshold value is a setting for more accurately detecting a click operation of the subject 140. As a result of the comparison, when the mth subject size information is smaller than the second boundary value, the m + 1th subject size information is calculated. In other words, the previous step is performed again. That is, in FIG. 8, the subject size information is sequentially calculated using the 'm = m + 1' block. In addition, 'k = m + 1' and 'k = k + 1' to be described later are expressions of the same meaning. Therefore, the description of the block will be omitted below.

그러나, 제m 피사체 크기 정보가 제2 경계값 보다 큰 경우, 클릭 동작 감지 모드가 개시된다. 이때, 클릭 동작 감지 모드란 피사체 판단부(239-1)가 피사체(140)의 클릭 동작을 감지하기 위한 모드로서 피사체 판단부(239-1)의 본격적인 클릭 동작 감지 개시를 의미한다. 이때, 제m 피사체 크기 정보가 제2 경계값과 동일한 경우는 미리 설정된 동작에 따를 수 있다. 즉, 제m 피사체 크기 정보가 제2 경계값과 동일하면 클릭 동작 감지 모드가 개시되도록 미리 설정될 수 있다. However, when the m th subject size information is larger than the second threshold value, the click motion detection mode is started. In this case, the click motion detection mode is a mode for the subject determining unit 239-1 to detect the click operation of the subject 140, and means the full-scale click motion detection of the subject determining unit 239-1. In this case, when the m-th subject size information is the same as the second threshold value, the operation may be set in advance. That is, when the m-th subject size information is the same as the second threshold value, the click motion detection mode may be preset.

여기서, 제2 경계값과 순차적으로 생성된 피사체 크기 정보를 비교하는 것은 피사체 판단부(239-1)의 정확한 클릭 동작 감지를 위한 단계로서 피사체(140)가 촬상부(210)로부터 확실하게 가까워졌음을 확인하기 위함이다. 따라서, 클릭 동작 감지 모드의 개시를 위하여 피사체(140)가 클릭 동작을 위하여 촬상부(210)로 근접하는 과정인 단계 S820 내지 단계 S825는 생략될 수도 있다.Here, comparing the second threshold value and the sequentially generated subject size information is a step for accurately detecting the click operation of the subject determining unit 239-1 and the subject 140 is surely close to the imaging unit 210. To check. Accordingly, steps S820 to S825, which are processes in which the subject 140 approaches the imaging unit 210 for the click operation, may be omitted to start the click motion detection mode.

단계 S830에서, 클릭 동작 감지 모드에서 제m 피사체 크기는 미리 설정된 제1 경계값과 비교된다. 이때, 제m 피사체 크기 정보가 제1 경계값보다 작은 경우에는 제m+1 피사체 크기 정보가 산출된다. 즉, 단계 S810부터 다시 수행된다. 물론, 제k 피사체 크기 정보가 제1 경계값과 동일한 경우에도 제m+1 피사체 크기 정보가 산출되도록 설정될 수도 있다. In operation S830, the m-th subject size is compared with a preset first boundary value in the click motion detection mode. In this case, when the m th subject size information is smaller than the first threshold value, the m th +1 th subject size information is calculated. That is, the process is performed again from step S810. Of course, even when the k-th subject size information is the same as the first threshold, the m-th subject size information may be set to be calculated.

그러나, 제m 피사체 크기 정보가 제1 경계값 보다 큰 경우, 클릭 정보 측정이 개시된다(단계 S840). 클릭 정보의 측정은 피사체(140)의 클릭 동작이 계속된 시간에 따라 클릭 정보(t1)를 상이하게 생성하여 피사체 판단부(239-1)가 클릭 정보에 상응하는 기능 수행 명령을 생성하기 위함이다. However, if the m-th subject size information is larger than the first threshold value, click information measurement is started (step S840). The measurement of the click information is to generate the click information t1 differently according to the time that the click operation of the subject 140 continues, and thereby the object determiner 239-1 generates a command to perform a function corresponding to the click information. .

단계 S850에서, 제k 외곽선 이용하여 제k 피사체 크기 정보가 산출된다. 이때, 제k 외곽선은 제m 외곽선이 추출된 이후에 순차적으로 추출된 피사체의 외곽선일 수 있으며, 따라서 k는 m보다 큰 자연수일 수 있다(즉, k=m+1). In operation S850, the k th subject size information is calculated using the k th outline. In this case, the k th outline may be an outline of a subject sequentially extracted after the m th outline is extracted, and thus k may be a natural number greater than m (that is, k = m + 1).

단계 S860에서, 제k 피사체 크기 정보는 제1 경계값과 비교된다. 이때, 제k 피사체 크기 정보가 제1 경계값 보다 큰 경우에는 제k+1 피사체 크기 정보가 산출된다. In step S860, the k-th subject size information is compared with the first boundary value. In this case, when the k-th subject size information is larger than the first threshold value, the k + 1th subject size information is calculated.

그러나, 제k 피사체 크기 정보가 제1 경계값 이하인 경우에는 클릭 정보 측정이 종료되고 (단계 S870), 클릭 정보에 대응하여 미리 설정된 외곽선의 특정 위치에 상응하는 기능 수행 명령이 생성되어 메인 제어부(도시되지 않음)로 출력된다(단계 S880). 물론, 제k 피사체 크기 정보가 제1 경계값과 같은 경우에 제k+1 피사체 크기 정보가 산출되도록 설정될 수도 있다. However, when the k-th subject size information is equal to or less than the first threshold value, the measurement of the click information is terminated (step S870), and a command for performing a function corresponding to a specific position of a preset outline corresponding to the click information is generated to generate a main controller (shown in FIG. Is not displayed) (step S880). Of course, when the k-th subject size information is the same as the first threshold value, the k + 1th subject size information may be set to be calculated.

이때, 보다 정확한 피사체(140)의 클릭 동작 감지를 위하여 상술한 바와 같이 제k 피사체 크기 정보가 제2 경계값 보다 작은 상태로 미리 설정된 시간이 경과된 경우에 기능 수행 명령이 출력될 수 있다. 즉, 제2 경계값 보다 큰 제l 피사체 크기 정보가 생성되지 아니한 시간인 대기 정보를 산출하여, 대기 정보가 미리 설정된 경계 정보와 동일하면 기능 수행 명령이 출력될 수 있다. 이때, l은 k보다 큰 자연수일 수 있으며, 대기 정보 측정 및 경계 정보와의 비교 방법은 상술한 바, 이에 대한 상세한 설명은 생략한다.In this case, as described above, a function execution command may be output when a preset time elapses with the k-th subject size information smaller than the second threshold value, as described above, to detect the click operation of the subject 140. That is, the standby information, which is the time when the first object size information larger than the second threshold value is not generated, is calculated, and if the standby information is the same as the preset boundary information, a function execution command may be output. In this case, l may be a natural number larger than k, and the method of measuring atmospheric information and comparing with boundary information are described above, and thus a detailed description thereof will be omitted.

도 9는 본 발명의 바람직한 다른 실시예에 따른 피사체의 클릭 동작 감지 방법에 대한 순서도이다. 9 is a flowchart illustrating a method of detecting a click motion of a subject according to another exemplary embodiment of the present invention.

이하, 도 9를 참조하여 본 발명의 바람직한 일 실시예에 따른 피사체의 클릭 동작 감지 방법에 대하여 설명한다. 이때, 하기할 각 단계는 피사체 판단부(239-1)에서 수행되는 단계임을 전제하고 설명한다. 또한, 하기할 각 단계는 도 4를 참조하여 설명한 단계 S410 내지 단계 S470이 먼저 수행된 상태일 수 있다. 또한, 도 8을 참조하여 상술한 바와 같이 m=m+1 및 k=k+1은 피사체 크기 정보가 순차적으로 산출됨을 의미할 수 있으므로, 이하에서는 이에 대한 설명은 생략한다. Hereinafter, a method of detecting a click motion of a subject according to an exemplary embodiment of the present invention will be described with reference to FIG. 9. In this case, each step to be described below will be described under the assumption that the object determination unit 239-1 is performed. In addition, each step to be described below may be in a state where steps S410 to S470 described with reference to FIG. 4 are performed first. In addition, as described above with reference to FIG. 8, m = m + 1 and k = k + 1 may mean that subject size information is sequentially calculated, and a description thereof will be omitted below.

단계 S905에서, 추출된 제m 외곽선을 이용하여 제m 피사체 크기 정보가 산출된다. 이때, m은 자연수일 수 있다. In step S905, the m th subject size information is calculated using the extracted m th outline. In this case, m may be a natural number.

단계 S910에서, 제m 피사체 크기 정보 및 제m-1 피사체 크기 정보를 이용하여 제m 기울기 정보가 산출된다. 이때, 제m 기울기 정보는 상술한 식 (7)에 의하여 산출될 수 있다.In operation S910, the m th slope information is calculated by using the m th subject size information and the m−1 th subject size information. In this case, the m th slope information may be calculated by Equation (7) described above.

단계 S920에서, 제m 기울기 정보는 미리 설정된 제3 경계값과 비교된다. 비교 결과, 제m 기울기 정보가 제3 경계값 보다 작으면 제m+1 피사체 크기 정보가 산 출된다. 즉, 다시 단계 S905가 수행된다. 물론, 제m 기울기 정보가 제3 경계값과 같은 경우에 제m+1 기울기 정보가 산출되도록 설정될 수도 있다. In operation S920, the m th slope information is compared with a third threshold value previously set. As a result of the comparison, when the m th slope information is smaller than the third threshold value, the m + 1 th size information is calculated. In other words, step S905 is performed again. Of course, when the mth slope information is the same as the third boundary value, the m + 1th slope information may be calculated.

반면, 제m 기울기 정보가 제3 경계값 보다 크면 클릭-인(in) 카운터가 동작되어 클릭-인 정보(

Figure 112006084964809-PAT00022
)가 생성된다(단계 S925). 클릭-인 정보는 정확한 클릭 동작 감지를 위한 것임은 상술한 바와 같다. On the other hand, if the m-th slope information is larger than the third threshold value, the click-in counter is operated so that the click-in information (
Figure 112006084964809-PAT00022
) Is generated (step S925). The click-in information is for accurate click motion detection as described above.

단계 S930에서, 생성된 클릭-인 정보와 미리 설정된 클릭-인 경계값(

Figure 112006084964809-PAT00023
)이 비교된다. 비교 결과, 클릭-인 정보가 클릭-인 경계값 보다 작은 경우에는 다시 제m+1 피사체 크기 정보가 산출되어 제m+1 기울기 정보가 산출된다. In operation S930, the generated click-in information and the preset click-in threshold value (
Figure 112006084964809-PAT00023
) Is compared. As a result of the comparison, when the click-in information is smaller than the click-in threshold, the m + 1th object size information is calculated again, and the m + 1th slope information is calculated.

반면, 클릭-인 정보(

Figure 112006084964809-PAT00024
)가 클릭-인 경계값(
Figure 112006084964809-PAT00025
)과 동일한 경우에는 클릭 정보 측정이 개시된다(단계 S935). 이때, 클릭 정보 측정은 피사체(140)의 클릭 동작이 계속된 시간에 따라 클릭 정보가 상이하게 생성되어 클릭 정보에 상응하는 기능 수행 명령이 생성되도록 하기 위함이다. 상술한 예와 같이 클릭 정보에 측정된 시간에 따라 짧은 클릭, 긴 클릭 및 취소 클릭에 상응하는 기능 수향 명령이 생성될 수 있다. On the other hand, click-in information (
Figure 112006084964809-PAT00024
) Is a click-through threshold (
Figure 112006084964809-PAT00025
), Click information measurement is started (step S935). In this case, the click information measurement is to cause the click information to be generated differently according to the time for which the click operation of the subject 140 is continued to generate a function execution command corresponding to the click information. As described above, a function directing command corresponding to a short click, a long click, and a cancel click may be generated according to the time measured in the click information.

단계 S940에서, 제k 피사체 크기 정보 및 제k-1 피사체 크기 정보를 이용하여 제k 기울기 정보가 산출된다. 이때, k는 m보다 큰 자연수일 수 있다. 제k 기울기 정보를 산출하는 방법은 상술한 제m 기울기 정보를 산출하는 방법과 동일할 수 있다.In operation S940, the k-th slope information is calculated by using the k-th subject size information and the k-th subject size information. In this case, k may be a natural number larger than m. The method of calculating the k-th slope information may be the same as the method of calculating the m-th slope information.

단계 S945에서, 제k 기울기 정보는 미리 설정된 제4 경계값과 비교된다. 비 교 결과, 제m 기울기 정보가 제4 경계값 보다 크면 제k+1 피사체 크기 정보가 산출되어 제k+1 기울기 정보를 산출한다. 즉, 단계 S940부터 다시 진행된다. 물론, 제k 기울기 정보가 제4 경계값과 같은 경우에 제k+1 기울기 정보가 산출되도록 설정될 수도 있다. In step S945, the kth slope information is compared with a fourth threshold value preset. As a result, when the m th slope information is larger than the fourth threshold value, the k + 1 th size information is calculated to calculate the k + 1 th slope information. In other words, the process proceeds again from step S940. Of course, when the kth slope information is the same as the fourth boundary value, the k + 1th slope information may be calculated.

반면, 제k 기울기 정보가 제4 경계값 보다 크면 클릭-아웃(out) 카운터가 동작되어 클릭-아웃 정보(

Figure 112006084964809-PAT00026
)가 생성된다(단계 S950). 클릭-인 정보도 정확한 클릭 동작 감지를 위한 것임은 상술한 바와 같다. On the other hand, if the k-th slope information is larger than the fourth threshold value, the click-out counter is operated so that the click-out information (
Figure 112006084964809-PAT00026
) Is generated (step S950). The click-in information is also for accurate click motion detection as described above.

단계 S955에서, 생성된 클릭-아웃 정보와 미리 설정된 클릭-아웃 경계값(

Figure 112006084964809-PAT00027
)이 비교된다. 비교 결과, 클릭-아웃 정보가 클릭-아웃 경계값 보다 작은 경우에는 다시 제k+1 피사체 크기 정보가 산출되어 제k+1 기울기 정보가 산출된다. 즉, 단계 S940부터 다시 진행된다. In step S955, the generated click-out information and the preset click-out threshold value (
Figure 112006084964809-PAT00027
) Is compared. As a result of comparison, when the click-out information is smaller than the click-out threshold value, the k + 1th object size information is calculated again, and the k + 1th slope information is calculated. In other words, the process proceeds again from step S940.

반면, 클릭-아웃 정보가 클릭-아웃 경계값과 동일한 경우에는 클릭 정보 측정이 종료된다(단계 S960). On the other hand, if the click-out information is the same as the click-out threshold, the click information measurement is terminated (step S960).

단계 S970에서, 클릭 정보에 대응하여 미리 설정된 외곽선의 특정 위치에 상응하는 기능 수행 명령이 생성되어 출력된다. 이때, 클릭 정보 특정이 종료되면 대기 정보 측정이 개시될 수 있고, 기능 수행 명령은 대기 정보가 미리 설정된 경계 정보와 동일해지면 출력될 수 있다. 대기 정보 측정 방법은 상술한 바, 이에 대한 상세한 설명은 생략한다. In operation S970, a function execution command corresponding to a specific position of a preset outline corresponding to the click information is generated and output. At this time, when the click information specification is completed, the standby information measurement may be started, and the function execution command may be output when the standby information becomes the same as the preset boundary information. Since the method for measuring atmospheric information has been described above, a detailed description thereof will be omitted.

도 10은 본 발명을 구현하기 위한 피사체 클릭 동작 감지 장치의 다른 실시예에 따른 블록 구성도이다. 10 is a block diagram according to another embodiment of a subject click motion detection apparatus for implementing the present invention.

도 10을 참조하면, 본 발명의 바람직한 제2 실시예에 따른 피사체 클릭 동작 감지 장치(1000)는 필터부(1012), 광원부(1014), 렌즈부(1016) 및 이미지 센서부(1018)를 포함하는 촬상부(1010)와 피사체 추출부(1031), 중심 판단부(1032), 포인터 위치 설정부(1034) 및 피사체 판단부(1036)를 포함하는 이미지 처리부(1030) 및 저장부(1040)를 포함할 수 있다.Referring to FIG. 10, the object click motion detecting apparatus 1000 according to the second exemplary embodiment of the present invention includes a filter unit 1012, a light source unit 1014, a lens unit 1016, and an image sensor unit 1018. The image processing unit 1030 and the storage unit 1040 including the imaging unit 1010, the subject extraction unit 1031, the center determination unit 1032, the pointer position setting unit 1034 and the subject determination unit 1036 It may include.

이하에서 상기한 각 구성 요소의 동작에 대하여 설명한다. 다만, 광원부(1014)를 제외한 촬상부(1010)의 구성 요소와 저장부(1040)의 동작에 대하여는 상술한 바, 이들의 동작에 대한 상세한 설명은 생략한다.The operation of each component described above will be described below. However, the operations of the components of the image capturing unit 1010 and the storage unit 1040 except for the light source unit 1014 are described above, and thus detailed descriptions of these operations will be omitted.

광원부(1014)는 특정의 파장을 가지는 광(light)을 출력할 수 있고, 이러한 광은 피사체에서 반사되어 필터부(1013)를 통과함으로써 주위의 노이즈(noise)로 작용할 수 있는 다른 파장의 광을 차단할 수 있는 효과가 있다. 특히, 광원부(1014)는 메인 제어부(도시되지 않음)의 제어를 받아 미리 설정된 시간을 간격으로 점등될 수 있다. 이때, 이미지 센서부(1018)는 광원부(1014)가 광을 출력하는 동안에 피사체(140)를 촬상하여 유광(有光) 영상 데이터를, 광원부(1014)가 광을 출력하지 아니하는 동안에 피사체(140)를 촬상하여 무광(無光) 영상 데이터를 각각 생성하여 이미지 처리부(1030)로 출력할 수 있다. The light source unit 1014 may output light having a specific wavelength, and the light is reflected from the subject and passes through the filter unit 1013 to emit light of another wavelength that may act as ambient noise. There is an effect that can be blocked. In particular, the light source unit 1014 may be turned on at a predetermined time interval under the control of the main controller (not shown). In this case, the image sensor unit 1018 captures the subject 140 while the light source unit 1014 outputs light, and outputs the shiny image data, and the subject 140 while the light source unit 1014 does not output the light. ), And generates matt image data, respectively, and outputs the image data to the image processor 1030.

이때, 광원부(1014)는 메인 제어부(도시되지 않음)의 제어를 받아 미리 설정된 시간을 간격으로 점등될 수 있으며, 이미지 센서부(1018)는 유광 영상 데이터를 생성한 직후에 광원부(1014)가 불활성화되면 무광 영상 데이터를 생성할 수 있다. 또한, 메인 제어부(도시되지 않음)는 본 발명의 바람직한 제3 실시예에 따른 피사체 클릭 동작 감지 장치(1000)를 포함하는 전자기기(예를 들어, 휴대용 단말기, 노트북 등)의 전반적인 동작을 제어하는 제어부일 수 있다. 또한, 광원부(1014)는 촬상부(1010) 내에 별도로 구비된 광원부(1014)만을 제어하기 위한 부가 제어부(도시되지 않음)의 제어를 받을 수도 있다.In this case, the light source unit 1014 may be turned on at a predetermined time interval under the control of the main control unit (not shown), and the image sensor unit 1018 may be turned off immediately after generating the glossy image data. When activated, matt image data can be generated. In addition, the main controller (not shown) controls the overall operation of the electronic device (eg, a portable terminal, a laptop, etc.) including the object click motion detecting apparatus 1000 according to the third exemplary embodiment of the present invention. It may be a control unit. In addition, the light source unit 1014 may be controlled by an additional control unit (not shown) for controlling only the light source unit 1014 separately provided in the imaging unit 1010.

피사체 추출부(1031)는 촬상부(1010)로부터 입력 받은 유광 영상 데이터 및 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성한다. 예를 들어, 제3 영상 데이터는 유광 영상 데이터의 휘도값에서 각 픽셀에 상응하는 무광 영상 데이터의 휘도값을 감산한 데이터일 수 있다. 즉, 유광 영상 데이터는 광원부(1014)가 활성화된 상태에서 촬상된 영상 데이터이므로 광원부(1014)에서 가까운 위치에서 촬상된 피사체(140)는 휘도값이 클 것이고, 광원부(1014)에서 먼 위치에서 촬상된 배경 부분의 휘도값은 상대적으로 적을 것이다. 또한, 무광 영상 데이터는 광원부(1014)가 불활성화된 상태에서 촬상된 영상 데이터이므로 피사체(140) 부분의 휘도값과 배경 부분의 휘도값은 유광 영상 데이터에 비하여 그 차이가 적을 것이다. The subject extracting unit 1031 generates third image data by comparing the matte image data and the matte image data received from the imaging unit 1010. For example, the third image data may be data obtained by subtracting the luminance value of the matte image data corresponding to each pixel from the luminance value of the glossy image data. That is, since the gloss image data is image data captured while the light source unit 1014 is activated, the subject 140 photographed at a position close to the light source unit 1014 will have a high luminance value, and is captured at a position far from the light source unit 1014. The luminance value of the background part will be relatively small. In addition, since the matte image data is image data captured while the light source unit 1014 is inactivated, the luminance value of the subject 140 and the luminance value of the background portion will be smaller than those of the glossy image data.

또한, 유광 영상 데이터와 무광 영상 데이터의 각 배경 부분은 모두 광원부(1014)와 피사체에 비하여 먼 거리에 위치할 것이므로 휘도값의 차이가 매우 적을 것이다. 따라서, 유광 영상 데이터의 휘도값에서 각 픽셀에 상응하는 무광 영상 데이터의 휘도값을 감산해주면 피사체(140)를 제외한 배경 부분의 휘도값은 거의 '0(zero)'에 가까운 값이 될 것이고, 피사체(140)에 상응하는 부분의 휘도값 만이 존재할 것이다. 이러한 방법에 의하여 피사체 추출부(1031)는 촬상된 영상 데이터에서 피사체(140)만을 추출한 제3 영상 데이터를 생성할 수 있다. In addition, since the background parts of the glossy image data and the matte image data are both located far from the light source unit 1014 and the subject, the difference in luminance value will be very small. Therefore, if the luminance value of the matte image data corresponding to each pixel is subtracted from the luminance value of the polished image data, the luminance value of the background portion except for the subject 140 will be almost 'zero'. Only the luminance value of the portion corresponding to 140 will be present. In this manner, the subject extracting unit 1031 may generate third image data obtained by extracting only the subject 140 from the captured image data.

중심 판단부(1032)는 피사체 추출부(1031)에서 생성한 제3 영상 데이터를 분석하여 피사체(140) 이미지의 중심점(제m 중심점)을 판단하기 위하여 피사체(140)가 촬상된 픽셀(이하, '기준 픽셀'이라 칭함)을 추출한다. 예를 들어, 이미지 센서부(1018)의 해상도가 640*480(가로*세로)이고, 각 픽셀의 휘도값이 0 내지 255로 구분된 경우를 가정한다. 휘도값이 '0'인 경우는 밝기가 '0'이므로 검정색일 것이고, 휘도값이 '255'인 경우는 가장 밝은 경우이므로 흰색으로 표현될 것이다. The center determiner 1032 analyzes the third image data generated by the subject extractor 1031 to determine the center point (m center point) of the image of the subject 140 (hereinafter, Extract the &quot; reference pixel &quot; For example, it is assumed that the resolution of the image sensor unit 1018 is 640 * 480 (horizontal * vertical), and luminance values of each pixel are divided by 0 to 255. If the luminance value is '0', the brightness is '0', so it will be black, and if the luminance value is '255', it will be represented as white because it is the brightest case.

만일 기준 픽셀을 추출하기 위하여 미리 설정된 기준 경계값이 '10,000'이라면 중심 판단부(1032)는 제3 영상 데이터에서 휘도값이 큰 픽셀 순서로 10,000개의 기준 픽셀을 추출할 수 있다. 이때, 기준 경계값이 너무 크면 제3 영상 데이터의 대부분의 픽셀이 기준 픽셀로 추출될 것이고, 기준 경계값이 너무 작으면 제3 영상 데이터의 극히 일부분만이 기준 픽셀로 추출될 것이다. 이러한 경우 기준 픽셀에는 피사체(140)가 촬상된 픽셀 외에 이와 무관한 배경 부분에 대한 픽셀(즉, 노이즈(noise) 픽셀)의 비율이 높아지게 될 것이다. 즉, 기준 경계값이 너무 크거나 너무 작으면 노이즈 픽셀의 비율이 높아지므로 중심 판단부(1032)는 촬상된 피사체(140)의 정확한 위치를 파악하기 힘들 것이다. If the preset reference boundary value is '10, 000 'for extracting the reference pixel, the center determination unit 1032 may extract 10,000 reference pixels from the third image data in the order of the pixel having the highest luminance value. In this case, if the reference boundary value is too large, most pixels of the third image data will be extracted as the reference pixel, and if the reference boundary value is too small, only a portion of the third image data will be extracted as the reference pixel. In this case, the ratio of pixels (ie, noise pixels) to the background part irrelevant to the reference pixel other than the imaged image of the object 140 will be increased. That is, if the reference boundary value is too large or too small, the ratio of the noise pixels is high, so the center determination unit 1032 may have difficulty in determining the exact position of the photographed subject 140.

따라서, 기준 경계값은 노이즈 픽셀의 비율을 무시할 수 있도록 상한값 및/또는 하한값이 설정될 수 있다. 예를 들어, 기준 경계값이'10,000'이고, 하한값이 '50'인 경우를 가정하자. 이 경우 중심 판단부(1032)는 제3 영상 데이터에서 휘도 값이 50보다 큰 픽셀만을 대상으로 하여 휘도값이 큰 픽셀 순서로 10,000개의 기준 픽셀을 추출할 수 있다. 즉, 중심 판단부(1032)는 제3 영상 데이터의 각 픽셀을 분석하여 휘도값이 큰 순서대로 10,000개의 기준 픽셀을 추출하되, 이들 중 휘도값이 50 미만(또는 이하)인 픽셀을 기준 픽셀에서 제외할 수 있다. Therefore, the upper limit value and / or the lower limit value may be set so that the reference boundary value can ignore the ratio of the noise pixel. For example, assume that the reference boundary value is '10, 000 'and the lower limit value is' 50'. In this case, the center determination unit 1032 may extract 10,000 reference pixels in the order of the pixels having the highest luminance from only the pixels having the luminance greater than 50 in the third image data. That is, the center determination unit 1032 analyzes each pixel of the third image data and extracts 10,000 reference pixels in order of increasing luminance value, and among them, a pixel having a luminance value of less than 50 (or less) is selected from the reference pixel. Can be excluded.

또한, 피사체(140)는 일반적으로 사용자의 손가락일 경우가 많을 것이므로 휘도값이 너무 큰 경우는 노이즈 픽셀에 해당할 가능성이 높다. 따라서, 기준 경계값이'10,000'이고 상한값이 '200'인 경우를 가정하면, 중심 판단부(1032)는 제3 영상 데이터에서 휘도값이 '200' 미만(또는 이하)인 픽셀만을 대상으로 하여 기준 픽셀을 추출할 수 있다.In addition, since the subject 140 will generally be a user's finger, if the luminance value is too large, it is likely to correspond to a noise pixel. Therefore, assuming that the reference boundary value is '10, 000 'and the upper limit value is' 200', the center determination unit 1032 targets only pixels whose luminance value is less than (or less than) 200 in the third image data. The reference pixel can be extracted.

또한, 기준 경계값은 휘도값이 큰 픽셀의 개수가 아닌 미리 설정된 휘도값일 수 있다. 즉, 중심 판단부(1032)는 제3 영상 데이터를 분석하여 기준 경계값을 넘는 픽셀을 모두 기준 픽셀로 추출할 수 있다. 예를 들어, 기준 경계값이'150'으로 설정되어 있는 경우, 중심 판단부(1032)는 제3 영상 데이터에서 휘도값이 '150'을 넘는 픽셀을 모두 기준 픽셀로 추출할 수도 있다. 이 경우에도 상술한 바와 같이 기준 경계값이 너무 크거나 너무 작은 경우에는 기준 픽셀에서의 노이즈 픽셀의 비율이 높을 것이므로 기준 경계값에 대한 상한값 및/또는 하한값이 설정될 수 있음은 자명하다.In addition, the reference boundary value may be a predetermined luminance value instead of the number of pixels having a large luminance value. That is, the center determiner 1032 may analyze the third image data and extract all pixels that exceed the reference boundary value as the reference pixels. For example, when the reference boundary value is set to '150', the center determination unit 1032 may extract all pixels whose luminance value exceeds '150' from the third image data as the reference pixel. In this case as well, as described above, if the reference boundary value is too large or too small, the ratio of the noise pixels in the reference pixel will be high, so it is obvious that the upper limit value and / or the lower limit value for the reference boundary value can be set.

또한, 중심 판단부(1032)는 기준 픽셀을 분석하여 피사체(140) 이미지의 중심점을 판단하여 저장부(1040)에 저장한다. 이때, 중심점은 피사체(140)의 무게 중심일 수 있다. 예를 들어, 피사체(140)의 내부에 위치한 특정 좌표인 무게 중심은 다음과 같은 수학식에 의해 산출될 수 있다.In addition, the center determiner 1032 analyzes the reference pixel to determine a center point of the image of the subject 140 and stores the center point in the storage 1040. In this case, the center point may be the center of gravity of the subject 140. For example, the center of gravity, which is a specific coordinate located inside the subject 140, may be calculated by the following equation.

Figure 112006084964809-PAT00028
(8)
Figure 112006084964809-PAT00028
(8)

Figure 112006084964809-PAT00029
(9)
Figure 112006084964809-PAT00029
(9)

Figure 112006084964809-PAT00030
(10)
Figure 112006084964809-PAT00030
10

여기서, R은 무게 중심, M은 피사체의 기준 픽셀의 휘도값을 모두 더한 값, mi는 피사체의 각 기준 픽셀의 휘도값, ri는 기준 픽셀의 좌표값이다. 아래 첨자 x, y는 각각 X축과 Y축에 해당하는 값임을 나타내며, 식 (10)은 식 (8)과 식 (9)에 대한 벡터 표현이다. Here, R is the center of gravity, M is the sum of the luminance values of the reference pixels of the subject, mi is the luminance value of each reference pixel of the subject, and ri is the coordinate value of the reference pixel. The subscripts x and y indicate the values corresponding to the X and Y axes, respectively, and Equation (10) is a vector representation of Equations (8) and (9).

다만, 중심 판단부(1032)가 상술한 수학식에 의하여 피사체(140) 이미지의 중심점을 판단하는 경우에는 기준 픽셀의 휘도값을 모두 반영하여야 하므로 연산량이 많아지게 되어 피사체 클릭 동작 감지 장치(1000)의 전반적인 기능을 저하시키는 문제점이 발생할 수 있다. 따라서, 피사체(140) 이미지의 중심점은 다음과 같은 수학식에 의하여 판단될 수도 있다. However, when the center determination unit 1032 determines the center point of the image of the subject 140 by the above-described equation, since the luminance values of the reference pixels must all be reflected, the calculation amount increases, and thus the subject click motion detection apparatus 1000 is performed. Problems may occur that degrade the overall functionality of. Therefore, the center point of the image of the subject 140 may be determined by the following equation.

Figure 112006084964809-PAT00031
(11)
Figure 112006084964809-PAT00031
(11)

Figure 112006084964809-PAT00032
(12)
Figure 112006084964809-PAT00032
(12)

Figure 112006084964809-PAT00033
(13)
Figure 112006084964809-PAT00033
(13)

여기서, R은 무게 중심, ri는 기준 픽셀의 좌표값, n은 기준 픽셀의 개수이다. 아래 첨자 x, y는 각각 X축과 Y축에 해당하는 값임을 나타내고, 식 (13)은 식 (11)와 식 (12)에 대한 벡터 표현이다.Where R is the center of gravity, ri is the coordinate value of the reference pixel, and n is the number of reference pixels. The subscripts x and y represent the values corresponding to the X and Y axes, respectively, and Equation (13) is a vector representation of Equations (11) and (12).

즉, 중심 판단부(1032)는 기준 픽셀의 휘도값을 반영하지 않고 피사체(140) 이미지의 중심점을 판단할 수 있다. 이는 각 기준 픽셀의 휘도값은 큰 차이가 없을 것이므로 중심 판단부(1032)는 이에 대한 반영을 하지 아니하고 기준 픽셀의 좌표값의 평균값을 피사체(140) 이미지의 중심점으로 산출할 수 있다. 예를 들어, 기준 픽셀의 휘도값을 '1', 나머지 픽셀의 휘도값을 '0'으로 구분할 경우, 제3 영상 데이터는 기준 픽셀(즉, 피사체(140)가 촬상된 부분)은 흰색으로 표시되고, 나머지 부분은 검은색으로 표시될 것이다. 따라서, 흰색으로 표시된 기준 픽셀(즉, 피사체(140))의 무게 중심은 상기한 수식 (18 내지 20)에 의하여 각 픽셀의 휘도값을 반영하지 아니하고 구할 수 있을 것이다. That is, the center determiner 1032 may determine the center point of the image of the subject 140 without reflecting the luminance value of the reference pixel. Since the luminance value of each reference pixel will not have a large difference, the center determination unit 1032 may calculate the average value of the coordinate values of the reference pixel as the center point of the image of the subject 140 without reflecting it. For example, when the luminance value of the reference pixel is divided into '1' and the luminance value of the remaining pixels are divided into '0', the third image data displays the reference pixel (that is, the portion where the subject 140 is captured) in white. And the rest will be black. Therefore, the center of gravity of the reference pixel (that is, the object 140) displayed in white may be obtained without reflecting the luminance value of each pixel by the above equations (18 to 20).

또한, 중심 판단부(1032)는 기준 픽셀의 외곽선이 곡선형인 경우 그 곡률 반경을 산출하고, 해당 곡률 반경에 상응하는 중심점의 좌표값을 추출할 수 있다. 이를 산출하는 방법은 도 2a를 참조하여 상술한 바, 여기에서는 이에 대한 상세한 설명은 생략한다.In addition, when the outline of the reference pixel is curved, the center determination unit 1032 may calculate a radius of curvature and extract a coordinate value of a center point corresponding to the radius of curvature. The method for calculating this is described above with reference to FIG. 2A, and a detailed description thereof will be omitted herein.

포인터 위치 설정부(1034)는 산출된 특정 좌표에 디스플레이부(도시되지 않음)의 포인터가 위치되도록 제어한다. 즉, 포인터의 위치가 특정 좌표, 예를 들면, 피사체(140) 이미지의 중심점(예를 들어, 무게 중심)의 좌표값에 특정된다.The pointer position setting unit 1034 controls the pointer of the display unit (not shown) to be positioned at the calculated specific coordinates. That is, the position of the pointer is specified to a specific coordinate, for example, a coordinate value of a center point (for example, a center of gravity) of the object 140 image.

피사체 판단부(1036)는 피사체 추출부(1031)에서 추출한 기준 픽셀을 이용하여(이하, '제m 기준 픽셀' 이라 칭함(이때, m은 자연수))을 이용하여 피사체(140)의 움직임에 상응하는 기능 수행 명령을 생성하고, 이를 메인 제어부(도시되지 않음)로 출력한다. The subject determining unit 1036 corresponds to the movement of the subject 140 by using the reference pixel extracted by the subject extracting unit 1031 (hereinafter, referred to as 'm th reference pixel' (m is a natural number)). Generates a function execution command, and outputs it to the main controller (not shown).

또한, 피사체 판단부(1036)은 제m 기준 픽셀을 이용하여 제m 피사체 크기 정보를 산출한다. 예를 들어, 이때, 제m 피사체 크기 정보는 제m 기준 픽셀의 크기에 상응하는 정보일 수 있다. 즉, 피사체(140)가 사용자의 손가락인 경우 피사체(140) 이미지의 제m 기준 픽셀은 원형(또는 반원형)일 것이다. 따라서 제m 피사체 크기 정보는 제m 기준 픽셀의 지름(또는 반지름)에 상응하는 정보일 수 있다. 또한, 제m 피사체 크기 정보는 제m 기준 픽셀이 구성하는 도형의 내부에 존재하는 픽셀의 개수에 상응하는 정보일 수 있다. 즉, 제m 기준 픽셀이 원형의 도형이거나 사각형(또는 삼각형)의 도형인 경우 제m 피사체 크기 정보는 당해 도형의 내부에 존재하는 픽셀의 개수일 수 있다.In addition, the subject determining unit 1036 calculates m-th subject size information by using the m-th reference pixel. For example, the m-th subject size information may be information corresponding to the size of the m-th reference pixel. That is, when the subject 140 is the user's finger, the m-th reference pixel of the subject 140 image may be circular (or semi-circular). Therefore, the m-th subject size information may be information corresponding to the diameter (or radius) of the m-th reference pixel. In addition, the m-th subject size information may be information corresponding to the number of pixels existing in the figure of the m-th reference pixel. That is, when the m th reference pixel is a circular figure or a quadrangle (or triangle) figure, the m-th subject size information may be the number of pixels existing in the figure.

또한, 피사체 판단부(1036)는 피사체(140)의 클릭 동작을 감지하여 상응하는 기능 수행 명령을 생성하여 메인 제어부(도시되지 않음)로 출력하는데, 이를 위한 피사체 판단부(1036)의 동작은 도 2a 및 도3을 참조하여 상술한 피사체 판단부(239-1)의 동작과 동일 또는 유사한 바, 여기에서는 이에 대한 상세한 설명은 생략한다. In addition, the subject determining unit 1036 detects a click operation of the subject 140 and generates a corresponding function execution command and outputs the command to a main controller (not shown). The operation of the subject determining unit 1036 is illustrated in FIG. The same or similar operation to that of the object determining unit 239-1 described above with reference to FIGS. 2A and 3 will not be described herein.

도 11은 피사체 클릭 동작 감지 방법의 다른 실시예에 따른 순서도이다. 11 is a flowchart illustrating another method of detecting a subject click motion.

이하, 도 11을 참조하여 피사체 클릭 동작 감지 방법의 다른 실시예에 대하여 설명한다.Hereinafter, another exemplary embodiment of a method for detecting a subject click operation will be described with reference to FIG. 11.

단계 S1110에서, 이미지 센서부(1018)는 광원부(1014)가 활성화된 상태 즉, 광을 출력하는 동안에 피사체(140)를 촬상하여 유광(有光) 영상 데이터를 생성하여 이미지 처리부(1030)로 출력한다.In operation S1110, the image sensor unit 1018 photographs the subject 140 while the light source unit 1014 is activated, that is, outputs light, generates glossy image data, and outputs the image data to the image processor 1030. do.

단계 S1120에서, 이미지 센서부(1018)는 광원부(1014)가 불활성화된 상태 즉, 광을 출력하지 않는 동안에 피사체(140)를 촬상하여 무광 영상 데이터를 생성하여 이미지 처리부(1030)로 출력한다. In operation S1120, the image sensor unit 1018 photographs the subject 140 while the light source unit 1014 is inactivated, that is, does not output light, generates matte image data, and outputs the image data to the image processor 1030.

이때, 광원부(1014)는 메인 제어부(도시되지 않음)의 제어를 받아 미리 설정된 시간을 간격으로 점등될 수 있으며, 이미지 센서부(1018)는 유광 영상 데이터를 생성한 직후에 광원부(1014)가 불활성화되면 무광 영상 데이터를 생성할 수 있다. In this case, the light source unit 1014 may be turned on at a predetermined time interval under the control of the main control unit (not shown), and the image sensor unit 1018 may be turned off immediately after generating the glossy image data. When activated, matt image data can be generated.

단계 S1130에서, 피사체 추출부(1031)는 촬상부(1010)로부터 입력 받은 유광 영상 데이터 및 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성한다. In operation S1130, the object extractor 1031 may generate third image data by comparing the matte image data and the matte image data received from the imaging unit 1010.

단계 S1140에서, 중심 판단부(1032)는 피사체 추출부(1031)에서 생성한 제3 영상 데이터를 분석하여 피사체(140) 이미지의 중심점을 판단하기 위하여 피사체(140)가 촬상된 픽셀(이하, '기준 픽셀'이라 칭함)을 추출한다. In operation S1140, the center determiner 1032 analyzes the third image data generated by the subject extractor 1031 to determine the center point of the image of the subject 140 (hereinafter, ' Reference pixel ').

단계 S1150에서, 중심 판단부(1032)는 기준 픽셀의 좌표값을 추출하고, 단계 S1160에서, 중심 판단부(1032)는 피사체(140) 이미지의 중심점을 산출한다. In operation S1150, the center determination unit 1032 extracts coordinate values of the reference pixel, and in operation S1160, the center determination unit 1032 calculates a center point of the image of the subject 140.

여기에서, 제3 영상 데이터를 생성하는 방법 및 피사체(140) 이미지의 중심 점을 산출하는 방법은 도 10을 참조하여 상술한 바, 여기에서는 이에 대한 상세한 설명은 생략한다. Here, the method of generating the third image data and the method of calculating the center point of the image of the subject 140 have been described above with reference to FIG. 10, and a detailed description thereof will be omitted herein.

단계 S1170에서, 피사체(140)의 클릭 동작을 감지하여 상응하는 기능 수행 명령이 생성되어 메인 제어부(도시되지 않음)로 출력된다. 즉, 추출된 기준 픽셀을 이용하여 피사체(140)의 움직임이 판단되고, 상응하는 기능 수행 명령이 생성되어 메인 제어부(도시되지 않음)로 출력된다. 여기에서, 기능 수행 명령이 생성되는 단계는 도 8 및 도 9를 참조하여 상술한 각 단계와 동일 또는 유사할 수 있다. 이때, 도 8 및 도 9에서는 제m 피사체 크기 정보가 제m 외곽선 정보를 이용하여 산출되지만, 여기에서는 제m 기준 픽셀을 이용하여 산출될 수 있다. In operation S1170, a command for performing a function is detected by detecting a click operation of the subject 140 and output to a main controller (not shown). That is, the movement of the subject 140 is determined using the extracted reference pixel, and a corresponding function execution command is generated and output to the main controller (not shown). Here, the step of generating the function execution command may be the same as or similar to each step described above with reference to FIGS. 8 and 9. 8 and 9, the m th subject size information is calculated using the m th outline information, but may be calculated using the m th reference pixel.

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention. Additions should be considered to be within the scope of the following claims.

상술한 바와 같이 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 피사체 주위의 명도에 관계없이 피사체의 움직임을 추출하여 디스플레이 상의 포인터를 제어할 수 있는 효과가 있다. As described above, the method and the apparatus for controlling the pointer movement according to the present invention have the effect of controlling the pointer on the display by extracting the movement of the subject regardless of the brightness around the subject.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 피사체의 움직임 을 추출하기 위해 피사체를 조명할 별도의 광원이 필요하지 않은 효과가 있다.In addition, the pointer movement control method and apparatus according to the present invention has an effect that does not require a separate light source to illuminate the subject in order to extract the movement of the subject.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 카메라 촬상장치를 이용하여 디스플레이 상의 포인터를 제어할 수 있는 효과가 있다. In addition, the pointer movement control method and the apparatus according to the present invention has the effect of controlling the pointer on the display using the camera imaging device.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 기존의 키패드의 일부를 생략할 수 있음으로써 전자 장치의 공간적인 활용도를 높일 수 있고, 전자 장치의 소형화가 가능한 효과가 있다.In addition, the pointer movement control method and apparatus according to the present invention can omit a part of an existing keypad, thereby increasing spatial utilization of the electronic device, and miniaturizing the electronic device.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 전자장치 제조시 제조 공정이 간단해지고 그 제조 단가를 줄일 수 있는 효과가 있다.In addition, the pointer movement control method and apparatus according to the present invention has the effect of simplifying the manufacturing process and manufacturing cost of the electronic device.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 구비된 카메라를 범용적으로 이용할 수 있도록 하여 부품 활용도를 극대화할 수 있는 효과가 있다.In addition, the pointer movement control method and apparatus according to the present invention has the effect of maximizing component utilization by making it possible to universally use the provided camera.

또한, 본 발명에 따른 포인터 이동 제어 방법 및 그 장치는 사용자의 사용 환경에 따라 피사체 클릭 동작 감지 장치의 위치를 조절할 수 있는 피사체 클릭 동작 감지 장치 및 방법을 제공할 수 있는 효과도 있다. In addition, the pointer movement control method and apparatus according to the present invention can provide an object click motion detection device and method that can adjust the position of the object click motion detection device according to a user's use environment.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술분야에서 통상의 지식을 가진 자라면 하기의 특허 청구 범위에 기재된 본 발명 및 그 균등물의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. Although the above has been described with reference to a preferred embodiment of the present invention, those of ordinary skill in the art to the present invention without departing from the spirit and scope of the present invention and equivalents thereof described in the claims below It will be understood that various modifications and changes can be made.

Claims (43)

(a) 피사체를 촬상하여 제1 영상 데이터를 생성하는 단계;(a) photographing a subject to generate first image data; (b) 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 생성하는 단계;(b) generating second image data by adjusting the sharpness of the first image data; (c) 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 추출하여 상기 피사체의 일단에 상응하는 제m 외곽선을 추출하는 단계; (c) extracting an m-th outline corresponding to one end of the subject by extracting a difference value between the first image data and the second image data; (d) 상기 제m 외곽선으로부터 제m 피사체 크기 정보를 산출하여 미리 설정된 제1 경계값과 비교하는 단계;(d) calculating m-th subject size information from the m-th outline and comparing the m-th subject size information with a first threshold value; (e) 상기 피사체의 일단에 상응하는 제k 외곽선으로부터 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하는 단계; 및(e) calculating k-th subject size information from a k-th outline corresponding to one end of the subject and comparing it with the first boundary value; And (f) 상기 제m 피사체 크기 정보와 상기 제1 경계값을 비교한 결과 및 상기 제k 피사체 크기 정보와 상기 제1 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되,(f) performing a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m-th subject size information with the first threshold and a result of comparing the k-th subject size information with the first threshold; Generating and outputting the command, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.M is a natural number, and k is a natural number greater than m. 제1항에 있어서,The method of claim 1, 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하는 단계;Starting click information measurement when the m-th subject size information is larger than the first threshold; 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되,If the k-th subject size information is smaller than the first threshold value, the method may further include terminating click information measurement. 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.The function performing command is generated in response to a specific position in the preset outline and the click information. 제2항에 있어서,The method of claim 2, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 대기 정보 측정을 개시하는 단계를 더 포함하되,Starting measurement of atmospheric information when the k-th subject size information is smaller than the first threshold value; 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에는 상기 기능 수행 명령이 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And if the waiting information passes a preset boundary time, outputting a command to perform a function. 제2항에 있어서,The method of claim 2, 제l 피사체 크기 정보를 산출하여 미리 설정된 제2 경계값과 비교하는 단계를 더 포함하되,Calculating first object size information and comparing the first object size information with a second threshold value; 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에 출력되는 것을 특징으로 하는 피 사체 클릭 동작 감지 방법.And l is a natural number greater than k, and the command to perform a function is output when the first subject size information is smaller than the second boundary value. 제4항에 있어서,The method of claim 4, wherein 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에는 대기 정보 측정을 개시하는 단계를 더 포함하되,Starting to measure atmospheric information when the first subject size information is smaller than the second threshold; 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령이 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And performing a function command when the waiting information passes a preset boundary time. 제1항에 있어서,The method of claim 1, 상기 단계 (f)는,Step (f) is, 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 크고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.Generating and outputting a function execution command corresponding to a specific position within the preset outline when the m-th subject size information is larger than the first threshold value and the k-th subject size information is smaller than the first threshold value; The method of detecting a subject click operation, characterized in that. (a) 피사체를 촬상하여 제1 영상 데이터를 생성하는 단계;(a) photographing a subject to generate first image data; (b) 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 생성하는 단계;(b) generating second image data by adjusting the sharpness of the first image data; (c) 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 추출하여 상기 피사체의 일단에 상응하는 제m 외곽선을 추출하는 단계; (c) extracting an m-th outline corresponding to one end of the subject by extracting a difference value between the first image data and the second image data; (d) 상기 제m 외곽선에 상응하는 제m 피사체 크기 정보를 이용하여 제m 기울기 정보를 산출하는 단계;calculating m-th slope information by using m-th subject size information corresponding to the m-th outline; (e) 상기 제m 기울기 정보와 미리 설정된 제3 경계값을 비교하는 단계;(e) comparing the m-th slope information with a third threshold value preset; (f) 상기 피사체의 일단으로부터 추출된 제k 외곽선에 상응하는 제k 피사체 크기 정보를 이용하여 제k 기울기 정보를 산출하는 단계; calculating kth slope information by using kth subject size information corresponding to a kth outline extracted from one end of the subject; (g) 상기 제k 기울기 정보와 상기 제4 경계값과 비교하는 단계 및 (g) comparing the kth slope information with the fourth threshold value; and (h) 상기 제m 기울기 정보와 상기 제3 경계값을 비교한 결과 및 상기 제k 기울기 정보와 상기 제3 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되,(h) a command to perform a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m th slope information with the third boundary value and a result of comparing the k th slope information with the third boundary value; Generating and outputting 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.M is a natural number, and k is a natural number greater than m. 제7항에 있어서,The method of claim 7, wherein 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인(Click in) 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하는 단계를 더 포함하되,If the m-th slope information is larger than the third threshold value, the method may further include generating click-in information and comparing it with a preset click-in threshold value. 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보 를 산출하는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And if the click-in information is the same as the click-in threshold value, calculating the k-th tilt information. 제7항에 있어서,The method of claim 7, wherein 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃(Click-out) 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하는 단계를 더 포함하되,If the k-th slope information is smaller than the fourth threshold value, the method may further include generating click-out information and comparing it with a preset click-out threshold value. 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일하면 상기 기능 수행 명령을 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And generating the function execution command if the click-out information is the same as the click-out threshold. 제7항에 있어서,The method of claim 7, wherein 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하는 단계;Initiating click information measurement when the m th slope information is larger than the third threshold value; 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되,If the k-th subject size information is smaller than the fourth threshold value, the method may further include terminating click information measurement. 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.The function performing command is generated in response to a specific position in the preset outline and the click information. 제7항에 있어서,The method of claim 7, wherein 상기 단계 (h)는,Step (h) is, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.Generating and outputting a function execution command corresponding to a specific position within the preset outline when the m th slope information is larger than the third boundary value and the k th slope information is smaller than the fourth boundary value. How to detect the subject click operation. 피사체를 촬상하여 제1 영상 데이터를 순차적으로 생성하는 촬상부;An imaging unit which sequentially photographs a subject to generate first image data; 상기 촬상부에서 촬상한 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 순차적으로 생성하는 선명도 조절부;A sharpness controller configured to sequentially generate second image data by adjusting the sharpness of the first image data captured by the image pickup unit; 순차적으로 입력되는 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 생성하여 상기 피사체의 일단에 상응하는 외곽선을 순차적으로 추출하는 외곽선 추출부;An outline extracting unit configured to sequentially extract an outline corresponding to one end of the subject by generating a difference value between the first image data and the second image data that are sequentially input; 제m 외곽선을 이용하여 산출된 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하고, 제k 외곽선을 이용하여 산출된 제k 피사체 크기 정보를 미리 설정된 제2 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되,The m-th subject size information calculated using the m-th outline is compared with the first threshold value preset, and the k-th subject size information calculated using the k-th outline is compared with the second preset threshold value, thereby pre-setting the outline. Including a subject determination unit for generating and outputting a command to perform a function corresponding to a specific position within, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치.M is a natural number, and k is a natural number greater than m. 제12항에 있어서,The method of claim 12, 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에만 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되,The subject determining unit starts the click information measurement only when the m-th subject size information is larger than the first threshold value, and when the k-th subject size information is smaller than the first threshold value, ends the click information measurement. 상기 피사체 판단부는 상기 기능 수행 명령을 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And the subject determining unit generates the command to perform the function corresponding to a specific position in the preset outline and the click information. 제13항에 있어서,The method of claim 13, 상기 피사체 판단부는 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우 대기 정보 측정을 개시하되,The subject determining unit starts measuring atmospheric information when the k-th subject size information is smaller than the first threshold value. 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And outputting the command to perform a function when the waiting information passes a preset boundary time. 제13항에 있어서,The method of claim 13, 상기 피사체 판단부는 제l 피사체 크기 정보를 산출하여 미리 설정된 제2 경계값과 비교하여, 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에 상기 기능 수행 명령을 출력하되, The subject determining unit calculates first subject size information and compares it with a second preset threshold value, and outputs the command to perform the function when the first subject size information is smaller than the second threshold value. 상기 l은 상기 k보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And l is a natural number greater than k. 제15항에 있어서,The method of claim 15, 상기 피사체 판단부는 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되,The subject determining unit starts measurement of atmospheric information only when the first subject size information is smaller than the second threshold value. 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And outputting the command to perform a function when the waiting information passes a preset boundary time. 제12항에 있어서,The method of claim 12, 상기 피사체 판단부는 상기 제1 피사체 크기 정보가 상기 제1 경계값 보다 크고 상기 제2 피사체 크기 정보가 상기 제2 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.If the first subject size information is greater than the first threshold value and the second subject size information is less than the second threshold value, the subject determining unit generates and outputs a function execution command corresponding to a specific position in the preset outline. The object click motion detection device, characterized in that. 피사체를 촬상하여 제1 영상 데이터를 순차적으로 생성하는 촬상부;An imaging unit which sequentially photographs a subject to generate first image data; 상기 촬상부에서 촬상한 상기 제1 영상 데이터의 선명도를 조절하여 제2 영상 데이터를 순차적으로 생성하는 선명도 조절부;A sharpness controller configured to sequentially generate second image data by adjusting the sharpness of the first image data captured by the image pickup unit; 순차적으로 입력되는 상기 제1 영상 데이터와 상기 제2 영상 데이터의 차분 값을 생성하여 상기 피사체의 일단에 상응하는 외곽선을 순차적으로 추출하는 외곽선 추출부;An outline extracting unit configured to sequentially extract an outline corresponding to one end of the subject by generating a difference value between the first image data and the second image data that are sequentially input; 제m 외곽선에 상응하는 제m 피사체 크기 정보를 이용하여 산출된 제m 기울기 정보를 미리 설정된 제3 경계값과 비교하고, 제k 외곽선에 상응하는 제k 피사체 크기 정보를 이용하여 산출된 제k 기울기 정보를 미리 설정된 제4 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되,The m-th slope information calculated using the m-th subject size information corresponding to the m-th outline is compared with the third threshold value preset, and the k-th slope calculated using the k-th subject size information corresponding to the k-th outline And a subject determination unit configured to generate and output a function execution command corresponding to a specific position within a preset outline by comparing the information with a fourth threshold value. 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치.M is a natural number, and k is a natural number greater than m. 제18항에 있어서,The method of claim 18, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하되,If the m-th slope information is greater than the third threshold value, the subject determining unit generates click-in information and compares it with a preset click-in threshold value. 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And the k-th tilt information is calculated when the click-in information is the same as the click-in threshold. 제18항에 있어서,The method of claim 18, 상기 피사체 판단부는 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하되,If the k-th slope information is smaller than the fourth threshold value, the subject determining unit generates click-out information and compares the preset click-out threshold value with 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일하면 상기 기능 수행 명령을 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And generating the function execution command if the click-out information is the same as the click-out threshold. 제18항에 있어서,The method of claim 18, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제3 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되,If the m-th inclination information is larger than the third threshold value, the subject determining unit starts clicking information measurement, and if the k-th subject size information is smaller than the third threshold value, the click information measurement is terminated. 상기 기능 수행 명령을 상기 제m 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And generating the function performing command corresponding to a specific position in the m-th outline and the click information. 제18항에 있어서,The method of claim 18, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.If the m-th slope information is greater than the third threshold value and the k-th slope information is smaller than the fourth threshold value, the subject determining unit generates and outputs a function execution command corresponding to a specific position within the preset outline. The object click motion detection device, characterized in that. (a) 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하는 단계;(a) photographing a subject while the light source unit is activated to generate the glossy image data; (b) 상기 광원부가 비활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 단계;(b) photographing the subject while the light source unit is inactivated to generate matt image data; (c) 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 단계;(c) generating third image data by comparing the glossy image data with the matte image data; (d) 상기 제3 영상 데이터를 분석하여 제m 피사체 크기 정보를 산출하는 단계;(d) calculating m-th subject size information by analyzing the third image data; (e) 상기 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하는 단계;(e) comparing the m-th subject size information with a preset first threshold value; (f) 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하는 단계; 및(f) calculating k-th subject size information and comparing it with the first boundary value; And (g) 상기 제m 피사체 크기 정보와 상기 제1 경계값을 비교한 결과 및 상기 제k 피사체 크기 정보와 상기 제1 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되,(g) performing a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m-th subject size information with the first threshold and a result of comparing the k-th subject size information with the first threshold; Generating and outputting the command, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.M is a natural number, and k is a natural number greater than m. 제23항에 있어서,The method of claim 23, wherein 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하는 단계;Starting click information measurement when the m-th subject size information is larger than the first threshold; 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되,If the k-th subject size information is smaller than the first threshold value, the method may further include terminating click information measurement. 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.The function performing command is generated in response to a specific position in the preset outline and the click information. 제24항에 있어서,The method of claim 24, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에만 대기 정보 측정을 개시하는 단계를 더 포함하되,Starting to measure atmospheric information only when the k-th subject size information is smaller than the first threshold value; 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에만 상기 기능 수행 명령이 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And the function performing command is output only when the waiting information passes a preset boundary time. 제24항에 있어서,The method of claim 24, 제l 피사체 크기 정보를 산출하여 상기 제l 피사체 크기 정보와 미리 설정된 제2 경계값과 비교하는 단계를 더 포함하되,Calculating first object size information and comparing the first object size information with a second preset threshold value; 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우에만 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And l is a natural number greater than k, and the command to perform a function is output only when the first subject size information is smaller than the second threshold. 제26항에 있어서,The method of claim 26, 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하는 단계를 더 포함하되,Starting to measure atmospheric information only when the first subject size information is smaller than the second threshold; 상기 대기 정보가 미리 설정된 경계 시간을 경과한 경우에만 상기 기능 수행 명령이 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And the function performing command is output only when the waiting information passes a preset boundary time. (a) 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하는 단계;(a) photographing a subject while the light source unit is activated to generate the glossy image data; (b) 상기 광원부가 비활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 단계;(b) photographing the subject while the light source unit is inactivated to generate matt image data; (c) 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 단계;(c) generating third image data by comparing the glossy image data with the matte image data; (d) 상기 제3 영상 데이터를 분석하여 제m 피사체 크기 정보를 산출하는 단계;(d) calculating m-th subject size information by analyzing the third image data; (e) 상기 제m 피사체 크기 정보를 이용하여 산출한 제m 기울기 정보와 미리 설정된 제3 경계값을 비교하는 단계;(e) comparing m-th slope information calculated using the m-th subject size information with a third threshold value preset; (f) 제k 피사체 크기 정보를 산출하여 제k 기울기 정보를 산출하는 단계; calculating kth tilt information by calculating kth subject size information; (g) 상기 제k 기울기 정보와 미리 설정된 제4 경계값과 비교하는 단계 및 (g) comparing the k-th slope information with a preset fourth threshold value; and (h) 상기 제m 기울기 정보와 상기 제3 경계값을 비교한 결과 및 상기 제k 기울기 정보와 상기 제4 경계값을 비교한 결과에 상응하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계를 포함하되,(h) a command to perform a function corresponding to a specific position within a preset outline corresponding to a result of comparing the m-th slope information with the third boundary value and a result of comparing the k-th slope information with the fourth boundary value; Generating and outputting 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.M is a natural number, and k is a natural number greater than m. 제28항에 있어서,The method of claim 28, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하는 단계를 더 포함하되,If the m-th slope information is larger than the third threshold value, the method may further include generating click-in information and comparing it with a preset click-in threshold value. 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출하는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And the k-th tilt information is calculated if the click-in information is equal to the click-in threshold. 제28항에 있어서,The method of claim 28, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생 성하여 미리 설정된 클릭-아웃 경계값과 비교하는 단계를 더 포함하되,If the k-th slope information is less than the fourth threshold value, the method may further include generating click-out information and comparing the preset click-out threshold value. 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일한 경우에만 상기 기능 수행 명령을 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.And generating the function execution command only when the click-out information is the same as the click-out threshold. 제28항에 있어서,The method of claim 28, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하는 단계;Initiating click information measurement when the m th slope information is larger than the third threshold value; 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하는 단계를 더 포함하되,If the k-th subject size information is smaller than the fourth threshold value, the method may further include terminating click information measurement. 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성되는 것을 특징으로 하는 피사체 클릭 동작 감지 방법.The function performing command is generated in response to a specific position in the preset outline and the click information. 제28항에 있어서,The method of claim 28, 상기 단계 (h)는,Step (h) is, 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 단계인 것을 특징으로 하는 피사체 클릭 동작 감지 방법.Generating and outputting a function execution command corresponding to a specific position within the preset outline when the m th slope information is greater than the third boundary value and the k th slope information is smaller than the fourth boundary value. To detect the subject click operation. 미리 설정된 시간을 간격으로 점등되는 광원부;A light source unit which is turned on at a predetermined time interval; 상기 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하고, 상기 광원부가 불활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 이미지 센서부;An image sensor unit for photographing a subject while the light source unit is activated to generate glossy image data, and generating matte image data by photographing the subject while the light source unit is deactivated; 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 피사체 추출부;A subject extractor configured to generate third image data by comparing the polished image data and the matte image data; 상기 제3 영상 데이터를 분석하여 산출한 제m 피사체 크기 정보를 미리 설정된 제1 경계값과 비교하고, 제k 피사체 크기 정보를 산출하여 상기 제1 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되,The m-th subject size information calculated by analyzing the third image data is compared with a preset first threshold value, and the k-th subject size information is calculated and compared with the first threshold value to correspond to a specific position within a preset outline. It includes a subject determination unit for generating and outputting a command to perform the function, 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치.M is a natural number, and k is a natural number greater than m. 제33항에 있어서,The method of claim 33, wherein 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 큰 경우에는 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되,The subject determining unit starts the click information measurement when the m-th subject size information is larger than the first threshold value, and terminates the click information measurement when the k-th subject size information is smaller than the first threshold value. 상기 기능 수행 명령은 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성되는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And the function performing command is generated according to a specific position in the preset outline and the click information. 제34항에 있어서,The method of claim 34, wherein 상기 피사체 판단부는 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되,The subject determining unit starts measuring atmospheric information only when the k-th subject size information is smaller than the first threshold value. 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And outputting the command to perform a function when the waiting information passes a preset boundary time. 제34항에 있어서,The method of claim 34, wherein 상기 피사체 판단부는 제l 피사체 크기 정보를 산출하여 상기 제l 피사체 크기 정보와 미리 설정된 제2 경계값과 비교하되,The subject determining unit calculates first subject size information and compares the first subject size information with a second preset threshold value, 상기 l은 상기 k보다 큰 자연수이고, 상기 기능 수행 명령은 상기 제l 피사체 크기 정보가 상기 제2 경계값보다 작은 경우 출력되는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And l is a natural number greater than k, and the command to perform a function is output when the first subject size information is smaller than the second threshold value. 제36항에 있어서,The method of claim 36, 상기 피사체 판단부는 상기 제l 피사체 크기 정보가 상기 제2 경계값 보다 작은 경우에만 대기 정보 측정을 개시하되,The subject determining unit starts measurement of atmospheric information only when the first subject size information is smaller than the second threshold value. 상기 대기 정보가 미리 설정된 경계 시간을 경과하면 상기 기능 수행 명령을 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And outputting the command to perform a function when the waiting information passes a preset boundary time. 제33항에 있어서,The method of claim 33, wherein 상기 피사체 판단부는 상기 제m 피사체 크기 정보가 상기 제1 경계값 보다 크고, 상기 제k 피사체 크기 정보가 상기 제1 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.If the m-th subject size information is larger than the first threshold value and the k-th subject size information is smaller than the first threshold value, the subject determining unit generates a function execution command corresponding to a specific position in the preset outline. The subject click motion detection device, characterized in that output. 미리 설정된 시간을 간격으로 점등되는 광원부;A light source unit which is turned on at a predetermined time interval; 상기 광원부가 활성화된 상태에서 피사체를 촬상하여 유광 영상 데이터를 생성하고, 상기 광원부가 불활성화된 상태에서 상기 피사체를 촬상하여 무광 영상 데이터를 생성하는 이미지 센서부;An image sensor unit for photographing a subject while the light source unit is activated to generate glossy image data, and generating matte image data by photographing the subject while the light source unit is deactivated; 상기 유광 영상 데이터와 상기 무광 영상 데이터를 비교하여 제3 영상 데이터를 생성하는 피사체 추출부;A subject extractor configured to generate third image data by comparing the polished image data and the matte image data; 상기 제3 영상 데이터를 분석하여 피사체 크기 정보를 순차적으로 산출하며, 제m 피사체 크기 정보를 이용하여 산출한 제m 기울기 정보를 미리 설정된 제3 경계값과 비교하고, 제k 피사체 크기 정보를 이용하여 산출한 제k 기울기 정보를 미리 설정된 제4 경계값과 비교하여 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 피사체 판단부를 포함하되,By analyzing the third image data, the subject size information is sequentially calculated, and the m-th slope information calculated using the m-th subject size information is compared with a third threshold value previously set, and the k-th subject size information is used. And a subject determination unit configured to compare the calculated k-th slope information with a fourth threshold value and generate and output a function execution command corresponding to a specific position within a preset outline. 상기 m은 자연수이고, 상기 k는 상기 m보다 큰 자연수인 것을 특징으로 하는 피사체 클릭 동작 감지 장치M is a natural number, k is a natural click object detection device, characterized in that greater than the m 제39항에 있어서,The method of claim 39, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭-인 정보를 생성하여 미리 설정된 클릭-인 경계값과 비교하되,If the m-th slope information is greater than the third threshold value, the subject determining unit generates click-in information and compares it with a preset click-in threshold value. 상기 클릭-인 정보가 상기 클릭-인 경계값과 동일하면 상기 제k 기울기 정보를 산출하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And the k-th tilt information is calculated when the click-in information is the same as the click-in threshold. 제39항에 있어서,The method of claim 39, 상기 피사체 판단부는 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 클릭-아웃 정보를 생성하여 미리 설정된 클릭-아웃 경계값과 비교하되,If the k-th slope information is smaller than the fourth threshold value, the subject determining unit generates click-out information and compares the preset click-out threshold value with 상기 클릭-아웃 정보가 상기 클릭-아웃 경계값과 동일한 경우에만 상기 기능 수행 명령을 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And generating the function execution command only when the click-out information is the same as the click-out threshold. 제39항에 있어서,The method of claim 39, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크면 클릭 정보 측정을 개시하고, 상기 제k 피사체 크기 정보가 상기 제4 경계값 보다 작은 경우에는 클릭 정보 측정을 종료하되,If the m-th slope information is larger than the third threshold value, the subject determining unit starts clicking information measurement, and if the k-th subject size information is smaller than the fourth threshold value, ends the click information measurement. 상기 기능 수행 명령을 상기 미리 설정된 외곽선 내의 특정 위치 및 상기 클릭 정보에 상응하여 생성하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.And generating the function performing command according to a specific position in the preset outline and the click information. 제39항에 있어서,The method of claim 39, 상기 피사체 판단부는 상기 제m 기울기 정보가 상기 제3 경계값 보다 크고, 상기 제k 기울기 정보가 상기 제4 경계값 보다 작으면 상기 미리 설정된 외곽선 내의 특정 위치에 상응하는 기능 수행 명령을 생성하여 출력하는 것을 특징으로 하는 피사체 클릭 동작 감지 장치.If the m-th slope information is greater than the third threshold value and the k-th slope information is smaller than the fourth threshold value, the subject determining unit generates and outputs a function execution command corresponding to a specific position within the preset outline. The object click motion detection device, characterized in that.
KR1020060114830A 2006-11-20 2006-11-20 Apparatus for sensing clicking of subject and method thereof KR20080045578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060114830A KR20080045578A (en) 2006-11-20 2006-11-20 Apparatus for sensing clicking of subject and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060114830A KR20080045578A (en) 2006-11-20 2006-11-20 Apparatus for sensing clicking of subject and method thereof

Publications (1)

Publication Number Publication Date
KR20080045578A true KR20080045578A (en) 2008-05-23

Family

ID=39662954

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060114830A KR20080045578A (en) 2006-11-20 2006-11-20 Apparatus for sensing clicking of subject and method thereof

Country Status (1)

Country Link
KR (1) KR20080045578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101068049B1 (en) * 2009-05-20 2011-09-28 크루셜텍 (주) A device and a method of detecting a click event using multiple surface qualities in optical pointing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101068049B1 (en) * 2009-05-20 2011-09-28 크루셜텍 (주) A device and a method of detecting a click event using multiple surface qualities in optical pointing device

Similar Documents

Publication Publication Date Title
US8237678B2 (en) Apparatus and method for detecting contact on or proximity to a touch screen
US9704028B2 (en) Image processing apparatus and program
US9207768B2 (en) Method and apparatus for controlling mobile terminal using user interaction
US20070041616A1 (en) Displacement and tilt detection method for a portable autonomous device having an integrated image sensor and a device therefor
US20160261788A1 (en) System, method, and apparatus for timer operations controlling camera
KR101503017B1 (en) Motion detecting method and apparatus
KR100860331B1 (en) Electronic device having apparatus for controlling moving of pointer
KR101432295B1 (en) Realizing apparatus and method of mouse for portable wireless terminal with camera
CN101459770B (en) Digital photographing apparatus and method of controlling the same
KR20080032746A (en) Device and method for motion recognition
US20150160743A1 (en) Displacement detection device with no hovering function and computer system including the same
KR20080045578A (en) Apparatus for sensing clicking of subject and method thereof
KR100799907B1 (en) Apparatus for sensing moving of subject and method thereof
KR100869144B1 (en) Apparatus for sensing scrolling of subject and Method thereof
KR100799766B1 (en) Apparatus for controlling moving of pointer
US20220155856A1 (en) Electronic Devices and Corresponding Methods for Initiating Electronic Communications with a Remote Electronic Device
KR20080079459A (en) Apparatus for sensing moving of subject and method thereof
US10957250B2 (en) Terminal device, sensing method and apparatus with sensor for fingerprint identification
KR100843586B1 (en) Device capable of non-contact function selection and method thereof
KR100864288B1 (en) Mouse for sensing moving of subject and Method thereof
KR20080045585A (en) Apparatus for sensing scrolling of subject and method thereof
KR20080045577A (en) Apparatus for sensing scrolling of subject and method thereof
KR100807625B1 (en) Apparatus for controlling moving of pointer and method thereof
KR20080045584A (en) Apparatus for sensing moving of subject and method thereof
KR100829142B1 (en) Apparatus for sensing moving of subject and method thereof

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination