KR20090028159A - Portable electronic device capable of sensing of brightness - Google Patents

Portable electronic device capable of sensing of brightness Download PDF

Info

Publication number
KR20090028159A
KR20090028159A KR1020070093518A KR20070093518A KR20090028159A KR 20090028159 A KR20090028159 A KR 20090028159A KR 1020070093518 A KR1020070093518 A KR 1020070093518A KR 20070093518 A KR20070093518 A KR 20070093518A KR 20090028159 A KR20090028159 A KR 20090028159A
Authority
KR
South Korea
Prior art keywords
image data
filter
light
portable electronic
luminance value
Prior art date
Application number
KR1020070093518A
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 KR1020070093518A priority Critical patent/KR20090028159A/en
Publication of KR20090028159A publication Critical patent/KR20090028159A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Image Input (AREA)

Abstract

A portable apparatus which measures brightness while including a module capable of illuminance sensing and near sensing is provided to reduce the size including a module capable of illuminance sensing and near sensing. An image analysis part(110) analyzes and generates video data. According to the analyzed result of the image analysis part, a terminal control part(230) performs the control operation. A filter(214) includes a first filter domain passing through only the light of the predefined first wave length and a second filter zone passing through only the light of the predefined second wave length. An image sensor(218) converts the light which becomes through the filter applied into the electric signal. An image analysis unit(220) analyzes video data.

Description

밝기 측정이 가능한 휴대용 전자기기{Portable electronic device capable of sensing of brightness}Portable electronic device capable of sensing of brightness

본 발명은 휴대용 전자기기에 관한 것으로, 보다 상세하게는 구비된 이미지센서에 의하여 생성되는 영상데이터를 이용하여 주변 밝기의 측정이 가능한 휴대용 전자기기에 관한 것이다. The present invention relates to a portable electronic device, and more particularly, to a portable electronic device capable of measuring the ambient brightness by using the image data generated by the provided image sensor.

최근 전자공학 및 통신 공학의 비약적인 발전에 따라 촬상부(예를 들어, 디지털 카메라 모듈 등), 음원 재생부(예를 들어, MP3 파일 재생 모듈 등) 등이 장착된 컴퓨터휴대용 전자기기가 제공되고 있다. 따라서, 사용자는 다양한 기능이 구비된 휴대용 전자기기를 이용하여 인터넷 접속, 화상 통신 및 동영상 메시지 출력(MMS, Multimedia Message Service), 디지털 음악 청취 및 위성방송 시청 등의 다양한 기능을 향유할 수 있게 되었다. 이에 보다 큰 화면이 구비된 휴대용 전자기기가 출시되고 있다. 나아가, 터치 패드가 구비된 휴대용 전자기기가 출시되고 있다.  Recently, with the rapid development of electronics and communication engineering, computer portable electronic devices equipped with an imaging unit (for example, a digital camera module, etc.), a sound source playback unit (for example, an MP3 file playback module, etc.) are provided. . Accordingly, the user can enjoy various functions such as Internet access, video communication and multimedia message service (MMS), digital music listening, and satellite broadcasting using a portable electronic device equipped with various functions. Accordingly, portable electronic devices with larger screens have been released. Furthermore, portable electronic devices equipped with touch pads have been released.

따라서, 사용자는 보다 큰 화면으로 다양한 멀티미디어 기능을 이용할 수 있게 되었다. 그러나, 큰 화면이 구비됨으로 인하여 전력 소모의 최소화가 요구되고 있고, 이를 위한 다양한 기술이 개발되고 있다. 예를 들어, 센서가 구비된 휴대용 전자기기가 개발되었다. 구비된 근접 센서를 이용하여 사용자가 전화 통화를 하기 위하여 전화기를 귀(Ear)에 가져가면 화면의 전원을 오프(Off)시킬 수 있는 휴대용 전자기기가 개발되었다. 또 다른 예를 들면, 조도 센서가 구비된 휴대용 전자기기도 개발되었다. 즉, 어두운 실내에서는 화면의 밝기를 자동으로 낮출 수 있고, 밝은 실내에서는 화면의 밝기를 자동으로 높일 수 있는 휴대용 전자기기도 개발되었다. Therefore, the user can use various multimedia functions on a larger screen. However, since a large screen is provided, minimization of power consumption is required, and various technologies have been developed for this purpose. For example, portable electronic devices with sensors have been developed. Portable electronic devices that can turn off the power of the screen when the user takes the telephone to the ear to make a phone call using the proximity sensor provided have been developed. In another example, a portable electronic device equipped with an illuminance sensor has also been developed. In other words, portable electronic devices have been developed that can automatically reduce the brightness of a screen in a dark room and automatically increase the brightness of a screen in a bright room.

그런데, 상술한 두 가지 기능이 모두 구비되기 위해서는 두 개의 센서(즉, 근접 센서 및 조도 센서)가 모두 구비될 수 밖에 없다. 따라서, 휴대용 전자기기의 크기가 커질 수 밖에 없는 문제점이 있다. However, in order to have both of the above-described functions, two sensors (that is, a proximity sensor and an illuminance sensor) may be provided. Therefore, there is a problem that the size of the portable electronic device will be large.

본 발명은 근접 센싱(Distant sensing)과 조도 센싱(이 모두 가능한 하나의 모듈이 포함되는 휴대용 전자기기를 제공하고자 한다.An object of the present invention is to provide a portable electronic device including one module capable of both proximity sensing and illumination sensing.

또한, 본 발명은 근접 센싱과 조도 센싱이 모두 가능한 하나의 모듈이 포함되어 크기가 작아질 수 있는 휴대용 전자기기를 제공하고자 한다. In addition, the present invention is to provide a portable electronic device that can be reduced in size by including a module capable of both proximity sensing and illumination sensing.

본 발명의 일 측면에 따르면, 영상데이터를 생성하고 분석하는 영상분석부; 및 상기 영상분석부의 분석 결과에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어하는 단말기제어부를 포함하되, 상기 영상분석부는 미리 지정된 제1 파장의 광만을 통과시키는 제1 필터영역 및 미리 지정된 제2 파장의 광만을 통과시키는 제2 필터영역을 포함하는 필터-단, 상기 제1 파장과 상기 제2 파장은 서로 다른 파장임; 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 상기 영상데이터를 생성하는 이미지센서; 및 상기 영상데이터를 분석하는 영상분석유닛을 포함하는 것을 특징으로 하는 휴대용 전자기기가 제공된다. According to an aspect of the invention, the image analysis unit for generating and analyzing the image data; And a terminal controller configured to control the portable electronic device to be operated in a preset operation mode according to an analysis result of the image analyzer, wherein the image analyzer includes a first filter region and a predetermined filter configured to pass only light having a predetermined first wavelength; A filter comprising a second filter region for passing only light of a second wavelength, wherein the first wavelength and the second wavelength are different wavelengths; An image sensor converting light incident through the filter into an electrical signal to generate the image data; And an image analysis unit analyzing the image data.

여기서, 상기 영상분석부는 상기 제1 파장의 광을 조사하는 광원을 더 포함하되, 상기 이미지센서는 상기 광원이 활성화된 상태에서 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 유광영상데이터를 생성하고, 상기 영상분석유닛은 상기 유광영상데이터에서 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하고, 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하며, 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하며, 상기 단말기제어부는 상기 피사체근접신호에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어할 수 있다. The image analyzer may further include a light source for irradiating light of the first wavelength, wherein the image sensor generates light image data by converting light incident through the filter into an electrical signal while the light source is activated. The image analysis unit extracts a first pixel corresponding to the first filter region from the glossy image data, calculates an average value of luminance values of each of the first pixels, and generates a first average luminance value. When the first average luminance value is greater than or equal to a preset first threshold value, a subject proximity signal is generated and output, and the terminal controller may control the portable electronic device to operate in a preset operation mode according to the subject proximity signal. .

또한, 상기 영상분석부는 상기 제1 파장의 광을 조사하고, 미리 설정된 시간을 간격으로 점등되는 광원을 더 포함하되, 상기 이미지센서는 상기 광원이 활성화된 동안에 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 유광영상데 이터를 생성하고, 상기 광원이 불활성화된 동안에 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 무광영상데이터를 생성하며, 상기 영상분석유닛은 상기 유광영상데이터 및 상기 무광영상데이터를 비교하여 피사체영상데이터를 생성하고, 상기 피사체영상데이터에서 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하고, 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하고, 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하며, 상기 단말기제어부는 상기 피사체근접신호에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어할 수 있다. The image analyzer may further include a light source that emits light of the first wavelength and is turned on at a predetermined time interval, wherein the image sensor is configured to electrically transmit light incident through the filter while the light source is activated. To produce glossy image data, and convert the light incident through the filter into an electrical signal while the light source is deactivated to generate matt image data. The image analysis unit is configured to generate the matt image data and the matt image. Comparing image data to generate subject image data, extracting a first pixel corresponding to the first filter region from the subject image data, calculating an average value of luminance values of each of the first pixels, and calculating a first average luminance. Generate a value, and generate and output a subject proximity signal when the first average luminance value is equal to or greater than a first threshold value. The terminal controller may control the portable electronic device to operate in a preset operation mode according to the subject proximity signal.

또한, 상기 휴대용 전자기기는 입력되는 영상데이터를 표시하는 디스플레이부; 및 사용자의 조작에 따른 신호를 생성하는 입력부를 더 포함하되, 상기 단말기제어부는 상기 피사체근접신호가 입력되면 상기 디스플레이부 또는 상기 입력부 중 어느 하나 이상에 포함된 백-라이트(Back-light)의 광량을 미리 설정된 방법에 따라 조절할 수 있다. The portable electronic device may further include a display unit configured to display input image data; And an input unit configured to generate a signal according to a user's operation, wherein the terminal controller outputs a light amount of a back-light included in at least one of the display unit and the input unit when the subject proximity signal is input. Can be adjusted according to a preset method.

또한, 상기 영상분석유닛은 상기 영상데이터에서 상기 제2 필터영역에 대응되는 제2 픽셀을 추출하며, 각각의 상기 제2 픽셀의 휘도값의 평균값을 산출하여 제2 평균휘도값을 생성하고, 상기 제2 평균휘도값을 분석한 결과에 따라 조도정보를 생성하여 출력하되, 상기 단말기제어부는 상기 휴대용 전자기기가 상기 조도정보에 상응하는 동작 모드로 동작되도록 제어할 수 있다. The image analyzing unit extracts a second pixel corresponding to the second filter region from the image data, calculates an average value of luminance values of each of the second pixels, and generates a second average luminance value. The illuminance information may be generated and output according to a result of analyzing the second average luminance value, and the terminal controller may control the portable electronic device to be operated in an operation mode corresponding to the illuminance information.

또한, 상기 영상분석유닛은 상기 제2 평균휘도값과 미리 설정된 조도테이블을 비교하여 상기 조도정보를 생성하되, 상기 조도테이블은 상기 제2 평균휘도값의 범위에 따라 1단계 내지 n단계로 미리 구분되어 있고, 상기 영상분석부는 상기 제2 평균휘도값을 상기 조도테이블과 비교하여 1단계 내지 n단계 중 어느 하나의 단계에 상응하는 조도정보를 생성할 수 있다(단, n은 2 이상의 자연수임).The image analysis unit may generate the illumination information by comparing the second average luminance value with a preset illuminance table, wherein the illuminance table is previously divided into 1 to n steps according to the range of the second average luminance value. The image analyzer may generate illuminance information corresponding to any one of steps 1 to n by comparing the second average luminance value with the illuminance table (where n is a natural number of 2 or more). .

또한, 상기 휴대용 전자기기는 입력되는 영상데이터를 표시하는 디스플레이부; 및 사용자의 조작에 따른 신호를 생성하는 입력부를 더 포함하되, 상기 단말기제어부는 상기 조도정보에 상응하여 상기 디스플레이부 또는 상기 입력부 중 어느 하나에 포함된 백-라이트(Back-light)의 밝기를 제어할 수 있다. The portable electronic device may further include a display unit configured to display input image data; And an input unit generating a signal according to a user's operation, wherein the terminal controller controls the brightness of a back-light included in any one of the display unit and the input unit in response to the illumination information. can do.

또한, 상기 제1 파장의 광은 적외선에 상응할 수 있다. In addition, the light of the first wavelength may correspond to infrared light.

또한, 상기 제2 파장의 광은 가시광선에 상응할 수 있다. In addition, the light of the second wavelength may correspond to visible light.

본 발명의 또 다른 측면에 따르면, 영상데이터를 생성하는 단계; 상기 영상데이터를 분석하는 단계; 및 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계를 포함하되, 상기 영상데이터는 미리 지정된 제1 파장의 광만을 통과시키는 제1 필터영역 및 미리 지정된 제2 파장의 광만을 통과시키는 제2 필터영역을 포함하는 필터를 통하여 입사된 광이 전기적 신호로 변환되어 생성된 것을 특징으로 하는 휴대용 전자기기에서의 밝기 측정 방법이 제공된다. According to another aspect of the invention, generating the image data; Analyzing the image data; And operating in a preset operation mode according to an analysis result of the image data, wherein the image data passes only a first filter region through which only light of a first predetermined wavelength passes and light of a second predetermined wavelength. Provided is a method for measuring brightness in a portable electronic device, characterized in that light incident through a filter including a second filter region is converted into an electrical signal.

여기서, 상기 영상데이터를 분석하는 단계는 상기 영상데이터를 분석하여 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하는 단계; 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하는 단계; 및 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하는 단 계를 포함하되, 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 상기 피사체근접신호에 따라 미리 설정된 동작 모드로 동작되는 단계이고, 상기 영상데이터는 구비된 성기 제1 파장의 광을 조사하는 광원이 활성화된 상태에서 생성된 유광영상데이터일 수 있다. The analyzing of the image data may include extracting a first pixel corresponding to the first filter area by analyzing the image data; Generating a first average luminance value by calculating an average value of luminance values of each of the first pixels; And generating and outputting a subject proximity signal when the first average luminance value is greater than or equal to a preset first threshold value, wherein the step of operating in a preset operation mode according to an analysis result of the image data includes: The image data may be operated in a preset operation mode according to a signal, and the image data may be glossy image data generated when a light source for irradiating light having the first genital wavelength is activated.

또한, 상기 영상데이터를 생성하는 단계는 구비된 성기 제1 파장의 광을 조사하는 광원이 활성화된 상태에서 유광영상데이터를 생성하는 단계; 상기 광원이 불활성화된 상태에서 무광영상데이터를 생성하는 단계; 및 상기 유광영상데이터 및 상기 무광영상데이터를 비교하여 피사체영상데이터를 생성하는 단계를 포함하고, 상기 영상데이터를 분석하는 단계는 상기 피사체영상데이터를 분석하는 단계일 수 있다. The generating of the image data may include generating gloss image data in a state in which a light source for irradiating light having the first genital wavelength is activated; Generating matt image data when the light source is inactivated; And generating subject image data by comparing the gloss image data and the matt image data, and analyzing the image data may include analyzing the subject image data.

또한, 상기 피사체영상데이터를 분석하는 단계는 상기 피사체영상데이터에서 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하는 단계; 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하는 단계; 및 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하는 단계를 포함하되, 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 상기 피사체근접신호에 따라 미리 설정된 동작 모드로 동작되는 단계이고, 상기 광원은 미리 설정된 시간을 간격으로 점등될 수 있다. The analyzing of the subject image data may include extracting a first pixel corresponding to the first filter area from the subject image data; Generating a first average luminance value by calculating an average value of luminance values of each of the first pixels; And generating and outputting a subject proximity signal when the first average luminance value is greater than or equal to a preset first threshold value, wherein the step of operating in a preset operation mode according to an analysis result of the image data includes: The operation may be performed in a preset operation mode, and the light source may be turned on at a predetermined time interval.

또한, 상기 영상데이터의 분석결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 구비된 백-라이트(Back-light)의 광량을 미리 설정된 방법에 따라 조절하는 단계를 포함하되, 상기 백-라이트는 상기 휴대용 전자기기에 구비된 디스플레 이부 또는 입력부 중 어느 하나 이상에 포함될 수 있다. In addition, the step of operating in a predetermined operation mode according to the analysis result of the image data includes the step of adjusting the amount of light of the provided back-light (Back-light) according to a predetermined method, the back-light is It may be included in any one or more of the display unit or input unit provided in the portable electronic device.

또한, 상기 영상데이터를 분석하는 단계는 상기 영상데이터에서 상기 제2 필터영역에 대응되는 제2 픽셀을 추출하는 단계; 각각의 상기 제2 픽셀의 휘도값의 평균값을 산출하여 제2 평균휘도값을 생성하는 단계; 및 상기 제2 평균휘도값을 분석한 결과에 따라 조도정보를 생성하여 출력하는 단계를 포함하되, 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 상기 조도정보에 따라 미리 설정된 동작 모드로 동작되는 단계일 수 있다. The analyzing of the image data may include extracting a second pixel corresponding to the second filter area from the image data; Calculating a mean value of luminance values of each of the second pixels to generate a second average luminance value; And generating and outputting illuminance information according to a result of analyzing the second average luminance value, wherein the step of operating in a preset operation mode according to the analysis result of the image data is a preset operation according to the illuminance information. It may be a step of operating in the mode.

또한, 상기 조도정보를 생성하여 출력하는 단계는 상기 제2 평균휘도값과 미리 설정된 조도테이블을 비교하여 상기 조도정보를 생성하는 단계를 포함하되, 상기 조도테이블은 상기 제2 평균휘도값의 범위에 따라 1단계 내지 n단계로 미리 구분되어 있고, 상기 조도정보는 상기 제2 평균휘도값이 상기 조도테이블과 비교되어 1단계 내지 n단계 중 어느 하나의 단계에 상응하는 값으로 생성될 수 있다(단, 상기 n은 2 이상의 자연수임).The generating and outputting the illuminance information may include generating the illuminance information by comparing the second average luminance value with a preset illuminance table, wherein the illuminance table is within a range of the second average luminance value. Accordingly, the illumination information may be previously divided into steps 1 to n, and the illumination information may be generated as a value corresponding to any one of steps 1 to n by comparing the second average luminance value with the illumination table. N is two or more natural numbers).

또한, 상기 영상데이터의 분석결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 상기 조도정보에 상응하여 구비된 백-라이트(Back-light)의 백-라이트(Back-light)의 밝기를 제어하는 단계를 포함하되, 상기 백-라이트는 상기 휴대용 전자기기에 구비된 디스플레이부 또는 입력부 중 어느 하나 이상에 포함될 수 있다. In addition, the step of operating in a predetermined operation mode according to the analysis result of the image data is controlling the brightness of the back-light of the back-light (Back-light) provided corresponding to the illumination information Including, the back-light may be included in any one or more of the display unit or the input unit provided in the portable electronic device.

또한, 상기 제1 파장의 광은 적외선에 상응할 수 있다. In addition, the light of the first wavelength may correspond to infrared light.

또한, 상기 제2 파장의 광은 가시광선에 상응할 수 있다. In addition, the light of the second wavelength may correspond to visible light.

본 발명의 또 다른 측면에 따르면, 상술한 휴대용 전자기기에서의 밝기 측정 방법이 수행되기 위하여 상기 휴대용 전자기기에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 휴대용 전자기기에 의하여 판독될 수 있는 프로그램이 기록된 기록 매체가 제공된다. According to another aspect of the present invention, a program of instructions that can be executed by the portable electronic device is tangibly embodied in order to perform the above-described method of measuring brightness in the portable electronic device, and is to be read by the portable electronic device. A recording medium on which a program can be recorded is provided.

본 발명에 따르면, 근접 센싱과 조도 센싱이 모두 가능한 하나의 모듈이 포함되는 휴대용 전자기기가 제공될 수 있다. According to the present invention, a portable electronic device including one module capable of both proximity sensing and illumination sensing may be provided.

또한, 본 발명에 따르면, 근접 센싱과 조도 센싱이 모두 가능한 하나의 모듈이 포함되어 크기가 작아질 수 있는 휴대용 전자기기가 제공될 수도 있다. In addition, according to the present invention, a portable electronic device that can be reduced in size can be provided by including one module capable of both proximity sensing and illumination sensing.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.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 transformations, 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 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 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.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. 이하, 본 발명의 실시예를 첨부한 도면들을 참조하여 상세히 설명하기로 한다. 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. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 휴대용 전자기기의 외관이 예시된 도면이다.1 is a view illustrating the appearance of a portable electronic device according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 영상분석부(110)가 구비된 휴대용 전자기기(100)의 외관이 예시된다. 여기서, 본 발명의 일 실시예에 따른 영상분석부(110)는 전자 기기에 부착될 수 있으며, 특히, 이동통신 단말기(110), PDA(Personal Digital Assistant), MP3 플레이어 등과 같이 소형이며 휴대 가능한 전자 기기에 부착될 수 있다. 다만, 이해와 설명의 편의를 위하여 영상분석부(110)가 이동통신 단말기(100)에 구비된 경우를 가정하고 설명한다. 이때, 이동통신 단 말기(100)는 그 형태가 폴더형, 슬라이드형 도는 스윙형인 경우를 불문하고 모두 적용될 수 있다. Referring to FIG. 1, an appearance of a portable electronic device 100 equipped with an image analyzer 110 according to an embodiment of the present invention is illustrated. Here, the image analyzer 110 according to an embodiment of the present invention may be attached to an electronic device, and in particular, a small and portable electronic device such as a mobile communication terminal 110, a personal digital assistant (PDA), an MP3 player, or the like. It can be attached to the device. However, it will be described on the assumption that the image analyzer 110 is provided in the mobile communication terminal 100 for the convenience of understanding and explanation. In this case, the mobile communication terminal 100 may be applied regardless of the case of the folding type, the slide type or the swing type.

여기서, 이동통신 단말기(100)는 사용자의 선택에 의한 각종 신호를 생성할 수 있는 입력부(120)를 포함할 수 있다. 또한, 영상분석부(110)는 구비된 이미지센서(미도시)를 이용하여 영상데이터를 생성할 수 있고, 촬상된 영상데이터를 분석하여 주변의 밝기 측정이 가능하다. 예를 들어, 영상분석부(110)는 촬상된 영상데이터를 분석하여 근접 센싱 및/또는 조도 센싱을 수행할 수 있다. 여기서, 근접 센싱이란 휴대용 전자기기(특히, 영상분석부(110))에 임의의 피사체(예를 들어, 사용자의 손가락, 사용자의 얼굴 등)가 근접했는지 여부를 감지하는 것을 의미할 수 있다. 또한, 조도(照度) 센싱이란 주변의 조명도를 감지하는 것을 의미할 수 있다. 이에 대한 상세한 설명은 후술한다. Here, the mobile communication terminal 100 may include an input unit 120 that can generate various signals by the user's selection. In addition, the image analyzer 110 may generate image data by using the provided image sensor (not shown), and may analyze the image data captured and measure the brightness of the surroundings. For example, the image analyzer 110 may perform proximity sensing and / or illumination sensing by analyzing the captured image data. Here, proximity sensing may refer to detecting whether a subject (eg, a user's finger, a user's face, etc.) is close to the portable electronic device (particularly, the image analyzer 110). In addition, illuminance sensing may mean sensing ambient illumination. Detailed description thereof will be described later.

여기서는 하나의 영상분석부(110)가 입력부(120)의 좌측 상단에 구비된 경우를 가정하고 설명하였으나, 이는 예시에 불과할 뿐 영상분석부(110)는 복수개 구비될 수도 있고, 다양한 위치에 구비될 수도 있다. 예를 들어, 영상분석부(110)가 휴대용 전자기기(100)에 4개 구비된 경우를 가정한다. 이때, 영상분석부(110)는 입력부(120)의 우측 상단에 한 개, 좌측 하단에 한 개, 휴대용 전자기기(100)의 좌측면에 2개 구비될 수도 있다. 따라서, 영상분석부(110)의 개수 및/또는 구비된 위치 등은 본 발명의 권리 범위를 제한하지 아니한다. Herein, a case in which one image analyzer 110 is provided on the upper left side of the input unit 120 is assumed and described. However, this is only an example and the image analyzer 110 may be provided in plural and may be provided at various positions. It may be. For example, suppose that four image analyzers 110 are provided in the portable electronic device 100. In this case, one image analyzer 110 may be provided at the upper right side of the input unit 120, one at the lower left side of the input unit 120, and two at the left side of the portable electronic device 100. Therefore, the number and / or location of the image analyzer 110 does not limit the scope of the present invention.

또한, 입력부(120)는 버튼 방식 및/또는 터치 방식 등 다양한 방식으로 구현되어 숫자, 문자 및/또는 특수 기호 등이 사용자의 선택에 의하여 입력될 수 있 도록 할 수 있다. In addition, the input unit 120 may be implemented in various ways such as a button method and / or a touch method so that numbers, letters, and / or special symbols may be input by a user's selection.

이상에서 본 발명의 일 실시예에 따른 휴대용 전자기기(100)의 일반적인 외관에 대하여 설명하였다. 이하에서는 첨부된 도면을 참조하여 휴대용 전자기기(100)의 동작, 특히, 영상분석부(110)의 동작 및 이에 따른 휴대용 전자기기(100)의 기능 수행에 대하여 설명한다.The general appearance of the portable electronic device 100 according to an embodiment of the present invention has been described above. Hereinafter, with reference to the accompanying drawings will be described the operation of the portable electronic device 100, in particular, the operation of the image analysis unit 110 and the performance of the portable electronic device 100 according to it.

도 2는 본 발명의 일 실시예에 따른 휴대용 전자기기의 구성을 나타낸 도면이다.2 is a view showing the configuration of a portable electronic device according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 휴대용 전자기기(100)는 영상분석부(110), 단말기제어부(230), 메인입력부(240), 저장부(250) 및 디스플레이부(260)를 포함할 수 있다. 또한, 영상분석부(110)는 피사체촬상유닛(210) 및 영상분석유닛(220)을 포함할 수 있으며, 피사체촬상유닛(210)은 광원(212), 필터(214), 렌즈(216), 이미지센서(218)를 포함할 수 있다. 또한, 비록 도시되지는 않았지만 본 발명의 일 실시예에 따른 휴대용 전자기기(100)는 통신부, 전원부, 스피커부 등을 더 포함할 수 있음은 자명하다. 먼저, 도 3을 참조하여 본 발명의 일 실시예에 따른 영상분석부(110)의 단면 구성에 대하여 설명한다. Referring to FIG. 2, the portable electronic device 100 according to an embodiment of the present invention includes an image analyzer 110, a terminal controller 230, a main input unit 240, a storage unit 250, and a display unit 260. ) May be included. In addition, the image analyzer 110 may include a subject imaging unit 210 and an image analysis unit 220. The subject imaging unit 210 may include a light source 212, a filter 214, a lens 216, The image sensor 218 may be included. In addition, although not shown, it is apparent that the portable electronic device 100 according to an embodiment of the present invention may further include a communication unit, a power unit, a speaker unit, and the like. First, a cross-sectional configuration of the image analyzer 110 according to an embodiment of the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 일 실시예에 따른 영상분석부에 대한 단면도이다.3 is a cross-sectional view of an image analyzer according to an exemplary embodiment of the present invention.

도 3을 참조하면, 영상분석부(110)는 빛이 통과될 수 있는 투광부(310) 밑에 2개 이상의 광원(212), 필터(214) 및 이미지센서(218)가 기판(320) 위에 적층되 어 휴대용 전자기기(100) 내에 실장될 수 있다. 이때, 투광부(310)는 외부 물질로부터 영상분석부(110)를 보호할 수 있는 외에 광원(212)에서 조사된 광(光)이 피사체에 의하여 반사되어 다시 필터(214) 및/또는 이미지센서(218)로 입사되도록 할 수도 있다. 이때, 투광부(310)는 투명한 플라스틱(Plastic)으로 형성될 수 있다. 이하, 다시 도 2를 참조하여 영상분석부(110)의 각 구성 요소들의 동작에 대하여 상세히 설명한다. Referring to FIG. 3, the image analyzer 110 includes two or more light sources 212, a filter 214, and an image sensor 218 stacked on a substrate 320 under a light transmitting unit 310 through which light may pass. It may be mounted in the portable electronic device 100. In this case, the light projector 310 may protect the image analyzer 110 from an external material, and the light irradiated from the light source 212 may be reflected by the subject to filter 214 and / or the image sensor. It may be made to enter into 218. In this case, the light transmitting part 310 may be formed of a transparent plastic. Hereinafter, the operation of each component of the image analyzer 110 will be described in detail with reference to FIG. 2.

다시 도 2를 참조하면, 광원(212)은 소정의 광(光)을 조사하는 장치로서, 광원(212)에서 출사된 광은 피사체에 의하여 반사되어 피사체촬상유닛(210)에 입사될 수 있다. 이때, 광원(212)은 미리 설정된 제1 파장의 광을 조사할 수 있고, 예를 들어, 적외선 LED(luminescent diode)일 수 있다. 또한, 광원(212)에서 조사되는 광은 적외선일 수 있고, 이는 태양광에서 상대적으로 비율이 작은 광이 될 수 있다. 이 때의 적외선 파장은 솔라 스펙트럼에서 상대적으로 광량이 작은 광의 파장인 900~980nm, 1080~1180nm, 1325~1425nm, 1800~2000nm 등이 될 수 있다. Referring back to FIG. 2, the light source 212 is a device for irradiating predetermined light, and the light emitted from the light source 212 may be reflected by the subject and incident on the subject imaging unit 210. In this case, the light source 212 may irradiate light having a predetermined first wavelength, and may be, for example, an infrared light emitting diode (LED). In addition, the light irradiated from the light source 212 may be infrared rays, which may be light having a relatively small proportion in sunlight. In this case, the infrared wavelength may be 900 to 980 nm, 1080 to 1180 nm, 1325 to 1425 nm, 1800 to 2000 nm, and the like.

또한, 광원(212)에서 조사된 제1 파장의 광은 피사체에 의하여 반사되어 피사체촬상유닛(210)에 계속적으로 입사될 수 있다. 또한, 광원(212)은 단말기제어부(230)의 제어에 의하여 미리 설정된 시간을 간격으로 점등될 수 있다. 이때, 이미지센서(218)는 광원(212)이 광을 출력하는 동안에 피사체를 촬상하여 유광(有光) 영상 데이터를, 광원(212)이 광을 출력하지 아니하는 동안에 피사체를 촬상하여 무광(無光) 영상 데이터를 각각 생성하여 영상분석유닛(220)으로 출력할 수 있다. 여 기서는 하나의 광원(212)의 동작에 대해서만 설명하였으나, 광원(212)은 도 3에 예시된 바와 같이 하나 이상 구비될 수도 있음은 자명하다. In addition, the light of the first wavelength irradiated from the light source 212 may be reflected by the subject to be incident on the subject imaging unit 210 continuously. In addition, the light source 212 may be turned on at a predetermined time interval under the control of the terminal controller 230. At this time, the image sensor 218 photographs the subject while the light source 212 is outputting light, and the glossy image data, and the subject is photographed while the light source 212 is not outputting light. Optical image data may be generated and output to the image analysis unit 220. Although only the operation of one light source 212 has been described herein, it is obvious that one or more light sources 212 may be provided as illustrated in FIG. 3.

피사체(130)에 의하여 반사되어 입사된 광은 필터(214)에 의하여 특정 파장의 광만이 통과되어 렌즈(216)로 도달될 수 있다. 즉, 필터(214)는 특정 파장을 가지는 광만을 통과시킴으로써 노이즈(Noise)로 작용될 수 있는 다른 파장의 광이 차단되도록 할 수 있다. 예를 들어, 광원(212)은 적외선 LED으로서 적외선(즉, 제1 파장의 광)을 조사하는 경우를 가정한다. 이때, 필터(214)는 광원(212)에 상응하는 적외선만을 통과시킬 수 있는 필터일 수 있다. 따라서, 이 경우의 필터(214)를 통과한 적외선만이 렌즈(216) 및/또는 이미지센서(218)에 도달될 수 있다. 또 다른 예를 들면, 광원(212)이 포함되어 있지 않거나 광원(212)이 포함되어 있으나 활성화되지 않는 경우를 가정한다. 이때, 필터(214)는 가시광선만 통과시킬 수 있는 필터일 수 있다. 따라서, 이 경우의 필터(214)를 통화한 가시광선만이 렌즈(216) 및/또는 이미지센서(218)에 도달될 수 있다.The light reflected and incident by the subject 130 may pass through only the light having a specific wavelength by the filter 214 and reach the lens 216. That is, the filter 214 may pass only light having a specific wavelength to block light of other wavelengths that may act as noise. For example, assume that the light source 212 emits infrared light (ie, light of a first wavelength) as an infrared LED. In this case, the filter 214 may be a filter capable of passing only infrared rays corresponding to the light source 212. Thus, only the infrared light passing through the filter 214 in this case can reach the lens 216 and / or the image sensor 218. As another example, assume that the light source 212 is not included or the light source 212 is included but is not activated. At this time, the filter 214 may be a filter that can pass only visible light. Thus, only visible light passing through the filter 214 in this case can reach the lens 216 and / or the image sensor 218.

또한, 필터(214)는 광원(212)에 상응하는 적외선만을 통과시킬 수 있는 제1 필터영역과 가시광선만을 통과시킬 수 있는 제2 필터영역이 미리 설정된 배열로 디자인되어 있을 수 있다. 즉, 필터(214)는 광원(212)에 상응하는 적외선만을 통과시킬 수 있는 제1 필터영역(이하, '적외선필터영역'이라 칭함) 및 가시광선만을 통과시킬 수 있는 제1 필터영역(이하, '가시광선필터영역'이라 칭함)을 포함할 수 있고, 적외선필터영역과 가시광선필터영역은 미리 설정된 방식에 의하여 배열될 수 있다(이하, '복합필터'라 칭함). 이하, 도 4a 및 도 4b를 참조하여 적외선필터영역 과 가시광선필터영역이 미리 설정된 방식에 의하여 배열된 필터(214)의 실시예들에 대하여 설명한다. In addition, the filter 214 may be designed in an arrangement in which a first filter area capable of passing only infrared rays corresponding to the light source 212 and a second filter area capable of passing only visible light are preset. That is, the filter 214 may include a first filter region (hereinafter, referred to as an “infrared filter region”) capable of passing only infrared rays corresponding to the light source 212 and a first filter region (hereinafter, referred to as “infrared filter regions”). The infrared light filter area and the visible light filter area may be arranged in a predetermined manner (hereinafter, referred to as a 'compound filter'). Hereinafter, embodiments of the filter 214 in which the infrared filter area and the visible light filter area are arranged in a predetermined manner will be described with reference to FIGS. 4A and 4B.

도 4a는 본 발명의 일 실시예에 따른 영상분석부에 포함된 필터의 일 실시예를 나타낸 도면이고, 도 4b는 본 발명의 일 실시예에 따른 영상분석부에 포함된 필터의 다른 실시예를 나타낸 도면이다. 4A is a view showing an embodiment of a filter included in an image analyzer according to an embodiment of the present invention, and FIG. 4B is another embodiment of a filter included in an image analyzer according to an embodiment of the present invention. The figure shown.

도 4a를 참조하면, 본 발명의 일 실시예에 따른 영상분석부(110)에 포함된 복합필터(214-1)의 일 실시예가 예시된다. 설명의 편의를 위하여 도 4a에 예시된 복합필터(214-1)를 제1 필터(214-1)라 칭한다. 여기서, 제1 필터(214-1)는 직사각형 모양으로 형성되어 있으며, 도 4a에 도시된 바와 같이 적외선필터영역(410-1, 410-2) 및 가시광선필터영역(420-1, 420-2)이 포함될 수 있다. 이때, 적외선필터영역(410-1, 410-2) 각각은 대각선 방향으로 대칭되어 위치될 수 있고, 가시광선필터영역(420-1, 420-2) 각각도 대각선 방향으로 대칭되어 위치될 수 있다. Referring to FIG. 4A, an embodiment of the composite filter 214-1 included in the image analyzer 110 according to an embodiment of the present invention is illustrated. For convenience of description, the composite filter 214-1 illustrated in FIG. 4A is called a first filter 214-1. Here, the first filter 214-1 is formed in a rectangular shape, and as shown in FIG. 4A, the infrared filter regions 410-1 and 410-2 and the visible light filter regions 420-1 and 420-2. ) May be included. In this case, each of the infrared filter regions 410-1 and 410-2 may be symmetrically positioned in the diagonal direction, and each of the visible light filter regions 420-1 and 420-2 may also be symmetrically positioned in the diagonal direction. .

도 4b를 참조하면, 본 발명의 일 실시예에 따른 영상분석부(110)에 포함된 복합필터(214-2)의 다른 실시예가 예시된다. 설명의 편의를 위하여 도 4b에 예시된 복합필터(214-2)를 제2 필터(214-2)라 칭한다. 여기서, 제2 필터(214-2)는 직사각형 모양으로 형성되어 있으며, 도 4b에 도시된 바와 같이 적외선필터영역(440-1, 440-2) 및 가시광선필터영역(450-1, 450-2)이 포함될 수 있다. 이때, 적외선필터영역(440-1, 440-2) 각각은 상하 방향으로 대칭되어 위치될 수 있고, 가시광선필터영역(450-1, 450-2) 각각은 좌우 방향으로 대칭되어 위치될 수 있다. 4B, another embodiment of the composite filter 214-2 included in the image analyzer 110 according to an embodiment of the present invention is illustrated. For convenience of description, the composite filter 214-2 illustrated in FIG. 4B is referred to as a second filter 214-2. Here, the second filter 214-2 is formed in a rectangular shape, and as shown in FIG. 4B, the infrared filter areas 440-1 and 440-2 and the visible light filter areas 450-1 and 450-2. ) May be included. In this case, each of the infrared filter regions 440-1 and 440-2 may be symmetrically positioned in the vertical direction, and each of the visible light filter regions 450-1 and 450-2 may be symmetrically positioned in the left and right directions. .

여기에서는 필터(214)가 직사각형으로 형성된 경우를 가정하고 설명하였으나, 필터의 형상은 원형, 삼각형, 오각형 등 다양한 형상으로 형성될 수 있다. 또한, 필터(214)에 포함되는 적외선필터영역 및 가시광선필터영역은 각각 2개씩 포함된 경우를 가정하고 설명하였으나, 각각의 필터영역은 2개 이상 포함될 수도 있다. 즉, n개의 적외선필터영역 및/또는 m개의 가시광선필터영역이 필터(214)에 포함될 수 있고, 필터(214)는 다양한 형태로 형성될 수 있다(단, n 및 m은 자연수). 따라서, 각 필터영역의 개수 및 필터(214)의 형상은 본 발명의 권리 범위를 제한하지 않는다.Herein, the filter 214 is assumed to have a rectangular shape, but the shape of the filter may be formed in various shapes such as a circle, a triangle, and a pentagon. In addition, although it was assumed that two infrared filter areas and two visible light filter areas included in the filter 214 are included, two or more filter areas may be included. That is, n infrared filter regions and / or m visible light filter regions may be included in the filter 214, and the filter 214 may be formed in various forms (where n and m are natural numbers). Accordingly, the number of each filter region and the shape of the filter 214 do not limit the scope of the present invention.

또한, n개의 적외선필터영역 및/또는 m개의 가시광선필터영역은 미리 설정된 방법에 의하여 배치될 수 있다. 예를 들어, 필터(214)를 상하로 나누어 상부에는 1개의 적외선필터영역이 배치될 수 있고, 하부에는 1개의 가시광선필터영역이 배치될 수 있다. 또는 n개의 적외선필터영역 및/또는 m개의 가시광선필터영역은 도 4a 또는 도 4b에 예시된 방법에 의하여 배치될 수도 있다. 따라서, 적외선필터영역 및/또는 가시광선필터영역이 배치되는 방법 또한 본 발명의 권리범위를 제한하지 않음은 자명하다. In addition, the n infrared filter areas and / or the m visible light filter areas may be arranged by a preset method. For example, one infrared filter area may be disposed above the filter 214, and one visible light filter area may be disposed below the filter 214. Alternatively, the n infrared filter areas and / or the m visible light filter areas may be disposed by the method illustrated in FIG. 4A or 4B. Therefore, it is apparent that the method of arranging the infrared filter area and / or the visible light filter area also does not limit the scope of the present invention.

다시 도 2를 참조하면, 필터(214)를 통화한 광은 렌즈(216)를 통하여 이미지센서(218)로 입사될 수 있다. 이미지센서(218)는 CMOS(Complementary metal oxide semiconductor) 이미지센서 또는 CCD(charge coupled device) 이미지센서일 수 있다. CMOS(Complementary metal oxide semiconductor) 이미지센서는 포토 다이오드(photo diode)를 포함하는 다수의 단위 픽셀로 구성되고, 센서에서 출력되는 신호는 디지털 전기 신호로서 이러한 단위 픽셀은 제어 회로 및 신호 처리에 의해 구동된다. CCD(charge coupled device) 이미지센서는 다수개의 MOS 커패시터를 포함하며, 이러한 MOS 커패시터에 전하(캐리어)를 이동시킴으로써 아날로그 전기 신호를 출력하여 동작된다. Referring back to FIG. 2, light passing through the filter 214 may be incident to the image sensor 218 through the lens 216. The image sensor 218 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 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.

이러한 이미지 센서(218)는 광을 감지할 수 있는 복수의 픽셀들을 포함한다. 따라서, 이미지 센서(218)는 영상분석유닛(220)이 피사체가 영상분석부(110)에 근접하고 있는지 여부 및/또는 주위의 조도를 판단할 수 있도록 유광영상데이터 및/또는 무광영상데이터를 생성하여 영상분석유닛(220)으로 출력할 수 있다. The image sensor 218 includes a plurality of pixels capable of sensing light. Accordingly, the image sensor 218 generates the gloss image data and / or the matte image data so that the image analysis unit 220 can determine whether the subject is close to the image analyzer 110 and / or the illuminance of the surroundings. It can be output to the image analysis unit 220.

영상분석유닛(220)은 피사체(예를 들어, 사용자의 손가락 또는 얼굴 등)가 영상분석부(110)에 근접하고 있는지 여부 및/또는 주위의 조도를 판단할 수 있다. 이하, 영상분석유닛(220)이 피사체의 근접 여부 및/또는 주위의 조도를 판단하는 방법에 대하여 상세히 설명한다. The image analyzing unit 220 may determine whether a subject (eg, a user's finger or face) is close to the image analyzing unit 110 and / or the illumination of the surroundings. Hereinafter, a method of determining whether the image analysis unit 220 is close to the subject and / or the illuminance of the surrounding will be described in detail.

먼저, 영상분석유닛(220)이 피사체의 근접 여부를 판단하는 방법에 대하여 설명한 후, 영상분석유닛이 주위의 조도를 판단하는 방법에 대하여 설명한다. First, the method of determining whether the image analyzing unit 220 is close to the subject will be described, and then the method of determining the illuminance of the surroundings will be described.

영상분석유닛(220)은 유광영상데이터의 각 픽셀 중 적외선에 의하여 촬상된 픽셀인 제1 픽셀(이하, '적외선픽셀'이라 칭함)을 추출할 수 있다. 물론, 필터(214)가 적외선 필터라면 모든 픽셀이 적외선픽셀일 것이나, 도 4a 및/또는 도 4b에 도시된 제1 필터(214-1) 및/또는 제2 필터(214-2)와 같이 적외선필터영역과 가시광선필터영역이 모두 포함된 복합필터인 경우에는 영상분석유닛(220)은 적외선필터영역에 상응하는 적외선픽셀을 추출할 수 있다. The image analysis unit 220 may extract a first pixel (hereinafter, referred to as an “infrared pixel”) that is a pixel photographed by infrared rays among the pixels of the glossy image data. Of course, if the filter 214 is an infrared filter, all pixels will be infrared pixels, but infrared light, such as the first filter 214-1 and / or the second filter 214-2 shown in FIGS. 4A and / or 4B In the case of the composite filter including both the filter area and the visible light filter area, the image analysis unit 220 may extract an infrared pixel corresponding to the infrared filter area.

예를 들어, 필터(214)에 포함되는 적외선필터영역 및 가시광선필터영역은 미리 설정된 방법에 의하여 배열될 수 있고, 이에 의하여 유광영상데이터에 포함되는 적외선픽셀 및 가시광선픽셀(즉, 가시광선필터영역에 대응되는 제2 픽셀)도 미리 설정된 방법에 의하여 배열될 수 있다. 즉, 유광영상데이터와 필터(214)가 일대일 매칭되면, 유광영상데이터 중 적외선필터영역과 겹치는 부분은 적외선픽셀일 수 있고, 가시광선필터영역과 겹치는 부분은 가시광선픽셀일 수 있다. 도 4a에 도시된 제1 필터(214-1)를 예로 들면, 유광영상데이터를 제1 필터(214-1)와 같이 4등분하여 좌측 상단 영역의 픽셀(즉, 410-1에 상응하는 영역의 픽셀) 및 우측 하단 영역의 픽셀(즉, 410-2)은 적외선픽셀로 미리 설정될 수 있고, 우측 상단 영역의 픽셀(즉, 420-1에 상응하는 영역의 픽셀) 및 좌측 하단 영역의 픽셀(즉, 420-2)은 가시광선픽셀로 미리 설정될 수 있다. For example, the infrared filter area and the visible light filter area included in the filter 214 may be arranged by a predetermined method, whereby the infrared pixel and the visible light pixel (ie, the visible light filter) included in the glossy image data. The second pixel corresponding to the region may also be arranged by a preset method. That is, when the glossy image data and the filter 214 are matched one-to-one, a portion overlapping the infrared filter region of the glossy image data may be an infrared pixel, and a portion overlapping the visible ray filter region may be a visible ray pixel. Taking the first filter 214-1 shown in FIG. 4A as an example, the gloss image data is divided into four equal parts with the first filter 214-1, so that the pixels of the upper left area (that is, the area corresponding to 410-1) Pixels) and pixels in the lower right region (i.e., 410-2) may be preset as infrared pixels, and pixels in the upper right region (i.e., pixels in the region corresponding to 420-1) and pixels in the lower left region ( That is, 420-2 may be preset to a visible light pixel.

또한, 도 4b에 예시된 제2 필터(214-2)의 경우에도 상술한 방법과 유사한 방법에 의하여 적외선픽셀과 가시광선픽셀이 미리 설정될 수 있다. 즉, 미리 설정된 필터(214)의 배열에 따라 적외선픽셀과 가시광선픽셀도 미리 설정될 수 있다.In addition, in the case of the second filter 214-2 illustrated in FIG. 4B, the infrared pixel and the visible light pixel may be preset by a method similar to the above-described method. That is, the infrared pixel and the visible light pixel may also be preset according to the arrangement of the preset filter 214.

이후, 영상분석유닛(220)은 각각의 적외선픽셀의 휘도값의 평균값인 제1 평균휘도값(이하, '적외선평균휘도값'이라 칭함)을 산출할 수 있고, 산출된 적외선평균휘도값과 미리 설정된 적외선임계값을 비교할 수 있다. 여기서, 평균값의 소수점 이하의 값은 반올림할 수 있다. 이때, 영상분석유닛(220)은 적외선평균휘도값이 적외선임계값 이상이면 피사체근접신호를 생성하여 단말기제어부(230)로 출력할 수 있다. 즉, 적외선평균휘도값이 높다는 의미는 임의의 물체(즉, 피사체)가 휴대용 전자기기(100)(특히, 영상분석부(110))에 근접하여 광원(212)에서 조사되는 적외선을 많이 반사시켰다는 의미일 수 있기 때문이다. 이후, 단말기제어부(230)는 피사체근접신호에 상응하여 미리 설정된 기능이 수행되도록 할 수 있다(이에 대해서는 후술함). Thereafter, the image analysis unit 220 may calculate a first average luminance value (hereinafter, referred to as an 'infrared average luminance value'), which is an average value of luminance values of the respective infrared pixels, and calculates an infrared ray average luminance value and a predetermined value. You can compare the set IR threshold. Here, the value below the decimal point of an average value can be rounded. At this time, the image analysis unit 220 may generate a proximity signal to the subject and output to the terminal controller 230 if the infrared average luminance value is greater than the infrared threshold value. That is, the high infrared mean luminance value means that an arbitrary object (ie, a subject) reflects a lot of infrared rays emitted from the light source 212 in proximity to the portable electronic device 100 (particularly, the image analyzer 110). Because it can mean. Thereafter, the terminal controller 230 may perform a preset function corresponding to the subject proximity signal (to be described later).

이상에서는 영상분석유닛(220)이 유광영상데이터를 분석하여 피사체의 근접 여부를 판단하는 경우를 가정하여 설명하였으나, 영상분석유닛(220)은 유광영상데이터 및 순차적으로 입력되는 무광영상데이터를 이용하여 피사체영상데이터를 생성할 수 있고, 피사체영상데이터를 분석하여 피사체의 근접 여부를 판단할 수도 있다. 즉, 이미지센서(218)는 광원(212)이 활성화된 동안에 유광영상데이터를 생성할 수 있고, 광원(212)이 불활성화된 동안에 무광영상데이터를 생성할 수 있다. 따라서, 영상분석유닛(220) 입력된 유광영상데이터 및 순차적으로 입력된 무광영상데이터를 비교하여 피사체영상데이터를 생성할 수 있다. In the above description, it is assumed that the image analyzing unit 220 analyzes the glossy image data to determine the proximity of the subject. However, the image analysis unit 220 uses the glossy image data and the sequentially input matte image data. Subject image data may be generated, and the subject image data may be analyzed to determine whether the subject is close. That is, the image sensor 218 may generate the glossy image data while the light source 212 is activated, and generate the matt image data while the light source 212 is inactivated. Therefore, the image analysis unit 220 may generate the subject image data by comparing the input glossy image data and the sequentially input matt image data.

예를 들어, 피사체영상데이터는 유광영상데이터의 각 픽셀의 휘도값에서 대응되는 무광영상데이터의 각 픽셀의 휘도값을 감산한 값을 각 픽셀의 휘도값으로 하는 영상데이터일 수 있다. 즉, 유광영상데이터는 광원(212)이 활성화된 상태에서 촬상된 영상데이터이므로 광원(212)에서 가까운 위치에서 촬상된 피사체의 이미지는 휘도값이 클 것이고, 광원(212)에서 먼 위치에서 촬상된 배경 부분 이미지의 휘도값은 상대적으로 작을 것이다. 또한, 무광영상데이터는 광원(212)이 불활성화된 상태에서 촬상된 영상데이터이므로 피사체 이미지의 휘도값과 배경 이미지의 휘도값은 유광영상데이터에 비하여 그 차이가 적을 것이다. For example, the subject image data may be image data obtained by subtracting the luminance value of each pixel of the matte image data from the luminance value of each pixel of the glossy image data as the luminance value of each pixel. That is, since the gloss image data is image data photographed while the light source 212 is activated, an image of a subject photographed at a position close to the light source 212 may have a high luminance value, and is captured at a position far from the light source 212. The luminance value of the background partial image will be relatively small. In addition, since the matte image data is image data captured while the light source 212 is inactivated, the luminance value of the subject image and the luminance value of the background image will be smaller than those of the glossy image data.

또한, 유광영상데이터와 무광영상데이터의 각 배경은 모두 광원(212)과 피사체에 비하여 광원(212)과 먼 거리에 위치할 것이므로 휘도값의 차이가 매우 적을 것이다. 따라서, 유광영상데이터의 휘도값에서 각 픽셀에 상응하는 무광영상데이터의 휘도값을 감산해주면 피사체를 제외한 배경 부분의 휘도값은 거의 '0(zero)'에 가까운 값이 될 것이고, 피사체(130)에 상응하는 부분의 휘도값 만이 존재할 것이다. 이러한 방법에 의하여 영상분석유닛(220)은 촬상된 영상데이터에서 피사체에 상응하는 부분만이 추출된 피사체영상데이터를 생성할 수 있다. In addition, since the background of the glossy image data and the matte image data are both located far from the light source 212 relative to the light source 212 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 glossy image data, the luminance value of the background portion excluding the subject will be almost 'zero', and the subject 130 Only the luminance value of the part corresponding to will be present. By this method, the image analysis unit 220 may generate the subject image data in which only a portion corresponding to the subject is extracted from the captured image data.

여기서, 유광영상데이터가 먼저 입력되고 무광영상데이터가 나중에 입력되는 것으로 가정하고 설명하였으나, 무광영상데이터가 먼저 입력되고 유광영상데이터가 나중에 입력될 수도 있음은 자명하다. 이때, 피사체영상데이터의 각 픽셀의 휘도값은 무광영상데이터의 각 픽셀의 휘도값과 유광영상데이터의 각 픽셀의 휘도값이 감산된 값의 절대값에 상응할 수 있음은 자명하다. Here, it is assumed that the gloss image data is input first and the matte image data is input later, but it is obvious that the matte image data is input first and the gloss image data may be input later. In this case, it is apparent that the luminance value of each pixel of the subject image data may correspond to the absolute value of the subtracted value of the luminance value of each pixel of the matte image data and the luminance value of each pixel of the glossy image data.

또한, 영상분석유닛(220)은 피사체영상데이터를 분석하여 피사체에 상응하는 이미지 픽셀(이하, '기준픽셀'이라 칭함)을 추출할 수 있다. 예를 들어, 이미지센서(218)의 해상도가 640*480(가로*세로)이고, 각 픽셀의 휘도값이 0 내지 255로 구분된 경우를 가정한다. 휘도값이 '0'인 경우는 밝기가 '0'이므로 검정색일 것이고, 휘도값이 '255'인 경우는 가장 밝은 경우이므로 흰색으로 표현될 것이다. 이때, 기준픽셀을 추출하기 위하여 미리 설정된 기준 휘도값이 '150'이라면, 영상분석유닛(220)는 피사체영상데이터에 포함된 모든 픽셀 중 휘도값이 '150'이상인 픽셀을 기준픽셀로서 추출할 수 있다. 이때, 휘도값이 너무 높거나 너무 낮은 픽셀은 노이즈(Noise) 픽셀일 가능성이 높으므로, 기준 휘도값 외에, 휘도 상한값 및/또는 휘도 하한값이 설정될 수도 있다. 예를 들어, 기준 휘도값이 '150'이고, 휘도 상한값이 '220'으로 미리 설정되어 있다면, 피사체감지유닛(220)은 피사체영상데이터에 포함된 모든 픽셀 중 휘도값이 '150'이상이고, '220'미만인 픽셀을 기준픽셀로 추출할 수 있을 것이다. In addition, the image analysis unit 220 may analyze the subject image data to extract an image pixel (hereinafter referred to as a reference pixel) corresponding to the subject. For example, it is assumed that the resolution of the image sensor 218 is 640 * 480 (horizontal * vertical), and the luminance value of each pixel is divided into 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. In this case, if the reference luminance value set in advance to extract the reference pixel is '150', the image analysis unit 220 may extract, as the reference pixel, a pixel having a luminance value of '150' or more among all pixels included in the subject image data. have. At this time, since the pixel whose luminance value is too high or too low is likely to be a noise pixel, the upper and lower luminance values may be set in addition to the reference luminance value. For example, if the reference luminance value is '150' and the luminance upper limit value is set to '220' in advance, the subject detecting unit 220 has a luminance value of '150' or more among all pixels included in the subject image data. A pixel less than '220' may be extracted as a reference pixel.

또한, 영상분석유닛(220)은 기준픽셀의 개수를 산출하여 기준픽셀의 개수와 미리 설정된 기준임계값과 비교할 수 있다. 예를 들어, 미리 설정된 기준임계값이 '10,000'인 경우를 가정한다. 이때, 기준픽셀의 개수가 '10,000'이상이라면 영상분석유닛(220)은 피사체근접신호를 생성하여 단말기제어부(230)로 출력할 수 있다. 즉, 기준픽셀의 개수가 많다는 것은 광원(212)이 피사체에 의하여 가려진 부분이 많다는 것을 의미할 수 있으므로(즉, 피사체에 의하여 반사되어 입사된 광(즉, 적외선)이 많다는 의미일 수 있으므로), 영상분석유닛(220)은 피사체근접신호를 생성하여 단말기제어부(230)로 출력할 수 있다. 이후, 단말기제어부(230)는 입력된 피사체근접신호에 따라 휴대용 전자기기(100)가 미리 설정된 동작 모드로 동작 개시되도록 할 수 있다(이에 대해서는 후술함). In addition, the image analysis unit 220 may calculate the number of reference pixels and compare the number of reference pixels with a preset reference threshold. For example, it is assumed that the preset reference threshold value is '10, 000 '. In this case, if the number of reference pixels is '10, 000 'or more, the image analysis unit 220 may generate a proximity signal to the subject and output the same to the terminal controller 230. That is, the large number of reference pixels may mean that the light source 212 has a lot of portions covered by the subject (that is, it may mean that there is a lot of light reflected by the subject (ie, infrared rays)). The image analyzing unit 220 may generate a subject proximity signal and output the subject proximity signal to the terminal controller 230. Thereafter, the terminal controller 230 may cause the portable electronic device 100 to start operation in a preset operation mode according to the input subject proximity signal (to be described later).

이상에서는 영상분석유닛(220)이 피사체의 근접 여부를 판단하는 방법에 대하여 설명하였다. 이하에서는 영상분석유닛(220)에서 주위의 조도를 판단하는 방법에 대하여 설명한다. In the above, the method of determining whether the image analyzing unit 220 is close to the subject has been described. Hereinafter, a method of determining the ambient illumination in the image analysis unit 220 will be described.

영상분석유닛(220)은 입력된 무광영상데이터를 분석하여 생성한 주위의 조도에 대한 조도정보를 단말기제어부(230)로 출력할 수 있다. 먼저, 영상분석유 닛(220)은 입력된 무광영상데이터를 분석하여 가시광선픽셀을 추출할 수 있다. 예를 들어, 필터(214)가 가시광선만을 통과시킬 수 있는 가시광선필터인 경우에는 무광영상데이터의 모든 픽셀이 가시광선픽셀로 추출될 수 있다. 그러나, 필터(214)가 가시광선필터영역과 적외선필터영역이 동시에 포함된 복합필터인 경우에는 무광영상데이터에도 가시광선픽셀과 적외선픽셀이 동시에 포함되어 있을 수 있으므로, 영상분석유닛(220)은 무광영상데이터에서 가시광선픽셀만을 추출하여야 한다. 여기서, 적외선픽셀과 가시광선픽셀은 필터(214)에 포함된 적외선필터영역 및 가시광선픽셀영역의 배열 방법에 따라 미리 설정되어 있을 수 있음은 상술한 바와 같고, 따라서 영상분석유닛(220)은 상술한 적외선픽셀을 추출하는 방법과 유사한 방법에 의하여 가시광선픽셀을 추출할 수 있다. The image analysis unit 220 may output the illuminance information on the ambient illuminance generated by analyzing the input matte image data to the terminal controller 230. First, the image analysis unit 220 may extract the visible light pixel by analyzing the input matte image data. For example, when the filter 214 is a visible light filter capable of passing only visible light, all pixels of the matte image data may be extracted as visible light pixels. However, when the filter 214 is a composite filter including both the visible light filter area and the infrared filter area at the same time, the image analysis unit 220 is matted because the visible light data and the infrared pixel may also be included at the same time. Only visible light pixels should be extracted from the image data. Here, the infrared pixel and the visible light pixel may be set in advance according to the arrangement method of the infrared filter area and the visible light pixel area included in the filter 214, and thus the image analysis unit 220 is described above. Visible light pixels can be extracted by a method similar to a method of extracting an infrared pixel.

또한, 영상분석유닛(220)은 모든 가시광선픽셀들의 휘도값의 평균치인 제2 평균휘도값(이하, '가시광선평균휘도값'이라 칭함)를 산출할 수 있다. 이때, 평균값의 소수점 이하 값은 반올림할 수 있다. 또한, 영상분석유닛(220)은 가시광선평균휘도값을 분석하여 조도정보를 생성할 수 있다. 예를 들어, 영상분석유닛(220)은 가시광선평균휘도값을 미리 설정된 조도테이블과 비교하여 조도정보를 생성할 수 있다. 예를 들어, 평균휘도값은 '0' 내지 '255'중 어느 하나의 데이터일 수 있고, 조도테이블은 평균휘도값이 '0' 내지 '100'인 경우가 1단계, 평균휘도값이 '101' 내지 '200'인 경우가 2단계 및 평균휘도값이 '201' 내지 '255'인 경우가 3단계인 것으로 미리 설정된 경우를 가정한다. In addition, the image analysis unit 220 may calculate a second average luminance value (hereinafter, referred to as a 'visible ray average luminance value'), which is an average value of luminance values of all visible light pixels. At this time, the value below the decimal point of the average value may be rounded up. In addition, the image analysis unit 220 may generate illuminance information by analyzing the visible ray average luminance value. For example, the image analysis unit 220 may generate the illumination information by comparing the visible light average luminance value with a preset illumination table. For example, the average luminance value may be any one of data '0' to '255', and the illuminance table has one stage when the average luminance value is '0' to '100', and the average luminance value is '101'. It is assumed that the case where 'to' 200 'is preset is set to two stages and the case where the average luminance value is' 201' to '255' is three stages.

이때, 영상분석유닛(220)은 평균휘도값과 조도테이블을 비교하여 조도정보 를 생성할 수 있다. 즉, 영상분석유닛(220)은 평균휘도값이 '0' 내지 '100'의 값 중 어느 하나인 경우에는 1단계에 상응하는 조도정보를, 평균휘도값이 '101' 내지 '200'의 값 중 어느 하나인 경우에는 2단계에 상응하는 조도정보를, 그리고 평균휘도값이 '201' 내지 '255'의 값 중 어느 하나인 경우에는 3단계에 상응하는 조도정보를 생성할 수 있다. 또한, 영상분석유닛(220)은 생성된 조도정보를 단말기제어부(230)로 출력할 수 있다. At this time, the image analysis unit 220 may generate the illumination information by comparing the average luminance value and the illumination table. That is, when the average luminance value is one of the values of '0' to '100', the image analysis unit 220 uses the luminance information corresponding to the first stage, and the average luminance value is '101' to '200'. In the case of any one of the illumination information corresponding to the second stage, and if the average luminance value is any one of the values of '201' to '255' can be generated the illumination information corresponding to the third stage. In addition, the image analysis unit 220 may output the generated illuminance information to the terminal controller 230.

여기서, 조도정보는 3단계로 분류되어 미리 설정된 경우를 가정하고 설명하였으나, 이는 예시에 불과할 뿐 본 발명의 권리범위를 제한하지 않는다. 즉, 조도정보는 n단계로 분류될 수 있고, 각각의 조도정보에 상응하는 평균휘도값의 범위도 상이하게 설정될 수 있다(단, n은 자연수). 또한, 여기에서는 조도정보가 영상분석유닛(220)에서 생성되는 것으로 가정하고 설명하였으나, 조도정보는 단말기제어부(230)에서 생성될 수도 있다. 즉, 영상분석유닛(220)은 가시광선평균휘도값을 생성하여 단말기제어부(230)로 출력할 수 있고, 단말기제어부(230)는 입력된 가시광선평균휘도값을 미리 설정된 조도테이블과 비교하여 조도정보를 생성할 수도 있다. 따라서, 조도정보가 생성되는 구성 요소는 본 발명의 권리 범위를 제한하지 않는다. Here, the illuminance information has been classified in three stages and assumed to be set in advance, but this is only an example and does not limit the scope of the present invention. That is, the illuminance information may be classified into n levels, and the range of average luminance values corresponding to the illuminance information may also be set differently (where n is a natural number). In addition, although it is assumed here that illuminance information is generated by the image analysis unit 220, the illuminance information may be generated by the terminal controller 230. That is, the image analysis unit 220 may generate a visible light average luminance value and output the same to the terminal controller 230, and the terminal controller 230 compares the input visible light average luminance value with a preset illuminance table to illuminate the light. You can also generate information. Therefore, the component in which the illuminance information is generated does not limit the scope of the present invention.

단말기제어부(230)는 본 발명의 일 실시예에 따른 휴대용 전자기기(100)의 전반적인 동작을 제어할 수 있다. 특히, 단말기제어부(230)는 영상분석부(110)(특히, 영상분석유닛(220))로부터 피사체근접신호가 입력되면 휴대용 전자기기(100)가 상응하는 동작을 수행하도록 제어할 수 있다. 예를 들어, 단말기제어부(230)는 영 상분석부(110)(특히, 영상분석유닛(220))로부터 피사체근접신호가 입력되면 휴대용 전자기기(100)가 전원절약모드로 동작되도록 제어할 수 있다. 여기서, 전원절약모드는 휴대용 전자기기(100)의 전원을 절약하기 위하여 디스플레이부(260)가 불활성화되거나 입력부(240)에 포함된 백-라이트가 불활성화된 상태로 동작되는 동작모드를 의미할 수 있다. 즉, 단말기제어부(230)는 피사체근접신호가 입력되면 디스플레이부(260) 및/또는 입력부(240) 등에 포함되는 각종 백-라이트(미도시)(이하, '백-라이트'라 통칭함) 등의 광량을 미리 설정된 방법에 따라 조절할 수 있다. 예를 들어, 단말기제어부(230)는 피사체근접신호가 입력되면 디스플레이부(260) 및/또는 입력부(240) 중 어느 하나 이상에 포함된 백-라이트(Back-light)의 전원을 오프(Off)시킬 수 있다. 여기서, 백-라이트는 디스플레이부(260) 및/또는 입력부(240) 등에 포함되는 각종 백-라이트를 통칭하는 명칭일 수 있다. The terminal controller 230 may control the overall operation of the portable electronic device 100 according to an embodiment of the present invention. In particular, the terminal controller 230 may control the portable electronic device 100 to perform a corresponding operation when a subject proximity signal is input from the image analyzer 110 (in particular, the image analysis unit 220). For example, the terminal controller 230 may control the portable electronic device 100 to operate in a power saving mode when a subject proximity signal is input from the image analyzer 110 (in particular, the image analysis unit 220). have. Here, the power saving mode may mean an operation mode in which the display unit 260 is deactivated or the back-light included in the input unit 240 is operated to save power of the portable electronic device 100. Can be. That is, the terminal controller 230 may include various back-lights (not shown) included in the display unit 260 and / or the input unit 240 (hereinafter, referred to as a “back-light”) when a subject proximity signal is input. The amount of light can be adjusted according to a preset method. For example, the terminal controller 230 turns off the power of the back-light included in any one or more of the display unit 260 and / or the input unit 240 when the subject proximity signal is input. You can. Here, the back-light may be a name for various back-lights included in the display unit 260 and / or the input unit 240.

또 다른 예를 들면, 휴대용 전자기기(100)가 이동통신 단말기이고 스피커폰통화모드(즉, 구비된 스피커부(미도시)를 통하여 상대방 단말기로부터 수신된 음성데이터를 출력하여 사용자가 휴대용 전자기기(100)를 귀에 밀착하지 않은 상태로 음성통화를 할 수 있는 통화 모드)로 동작되는 경우를 가정한다(단, 휴대용 전자기기(100)는 상대방 단말기와는 이동통신망을 통하여 무선으로 연결되어 음성통화 및/또는 영상통화를 수행 중일 수 있음). 이때, 단말기제어부(230)는 영상분석부(110)로부터 피사체근접신호가 입력되면 휴대용 전자기기(100)의 스피커폰모드 동작을 종료시키고, 일반통화모드(즉, 사용자가 휴대용 전자기기(100)를 귀에 밀착시킨 상태로 음성통화를 수행할 수 있는 통화 모드)동작 개시시킬 수 있다. For another example, the portable electronic device 100 is a mobile communication terminal and the user outputs the voice data received from the counterpart terminal through a speaker phone call mode (that is, a speaker unit (not shown)). ) Is assumed to be operated in a call mode capable of making a voice call without being in close contact with the ear. However, the portable electronic device 100 is wirelessly connected to the other terminal through a mobile communication network. Or a video call). At this time, the terminal controller 230 terminates the speakerphone mode operation of the portable electronic device 100 when the subject proximity signal is input from the image analyzer 110, and the general call mode (that is, the user opens the portable electronic device 100). Call mode) to initiate a voice call while being in close contact with the ear.

여기서, 휴대용 전자기기(100)의 스피커폰모드 동작이 종료되고 일반통화모드가 개시되는 방법은 당업자에 있어서 자명한 사항인 바, 이에 대한 상세한 설명은 생략될 수 있다. 또한, 휴대용 전자기기(100)는 이동통신망을 통하여 연결된 상대방 단말기와 음성통화 및/또는 영상통화를 수행하기 위한 통신부(미도시) 및/또는 상대방 단말기로부터 수신된 음성데이터를 외부로 출력하기 위한 스피커부(미도시) 등을 더 포함할 수 있음은 자명하다. Here, the method in which the speakerphone mode operation of the portable electronic device 100 is terminated and the general call mode is started is obvious to those skilled in the art, and a detailed description thereof may be omitted. In addition, the portable electronic apparatus 100 may include a communication unit (not shown) for performing a voice call and / or a video call with a counterpart terminal connected through a mobile communication network and / or a speaker for outputting voice data received from the counterpart terminal to the outside. Obviously, it may further include a part (not shown).

상술한 바와 같이, 단말기제어부(230)가 피사체근접신호에 상응하여 수행할 수 있는 동작은 사용자의 설정 및/또는 제조자의 설정에 따라 다양할 수 있다. 따라서, 단말기제어부(230)가 피사체근접신호에 상응하여 수행하는 동작은 예시에 불과할 뿐이므로 본 발명의 권리 범위를 제한하지 아니한다. As described above, an operation that the terminal controller 230 may perform in response to the subject proximity signal may vary according to a user's setting and / or a manufacturer's setting. Therefore, the operation performed by the terminal controller 230 in correspondence to the subject proximity signal is only an example and thus does not limit the scope of the present invention.

또한, 단말기제어부(230)는 영상분석부(110)(특히, 영상분석유닛(220))로부터 조도정보가 입력되면, 휴대용 전자기기(100)가 조도정보에 상응하는 전원모드로 동작되도록 제어할 수 있다. 예를 들어, 단말기제어부(230)는 조도정보가 1단계에 상응하면 백-라이트의 밝기가 최대가 되도록 제어할 수 있다. 또한, 단말기제어부(230)는 조도정보가 2단계에 상응하면 백-라이트의 밝기가 중간이 되도록 제어할 수 있다. 또한, 단말기제어부(230)는 조도정보가 3단계에 상응하면 백-라이트의 밝기가 최소(또는 백-라이트의 전원을 오프)가 되도록 제어할 수 있다. 여기서, 조도정보는 1단계 내지 3단계인 경우를 가정하고 설명하였으나, 상술한 바와 같이 조도정보의 단계는 n단계로 분류될 수 있고, 이에 따라 단말기제어부(230)는 백-라이트의 밝기도 조도정보에 상응하여 n단계로 조절되도록 제어할 수 있다(단, n은 자연 수). In addition, when the illumination information is input from the image analyzer 110 (in particular, the image analysis unit 220), the terminal controller 230 may control the portable electronic device 100 to operate in a power mode corresponding to the illumination information. Can be. For example, the terminal controller 230 may control the brightness of the back light to be maximum when the illumination information corresponds to the first stage. In addition, the terminal controller 230 may control the brightness of the back light to be medium when the illumination information corresponds to the second stage. In addition, the terminal controller 230 may control the brightness of the backlight to be minimum (or to turn off the backlight) when the illumination information corresponds to three levels. Here, the illuminance information has been described on the assumption that the first to third stages, but as described above, the stage of the illuminance information may be classified into n stages, and thus, the terminal controller 230 may illuminate the brightness of the back light. It can be controlled to adjust in n steps according to the information (where n is a natural number).

입력부(240)는 사용자의 조작에 따른 각종 신호를 생성하여 단말기제어부(230)로 출력할 수 있다. 여기서, 입력부(240)는 다양한 방식으로 구현될 수 있으며, 예를 들어, 버튼 방식 및/또는 터치 방식으로 구현될 수 있다. 특히, 입력부(240)는 어두운 장소에서도 사용자가 원하는 버튼을 조작할 수 있도록 하기 위한 백-라이트를 포함할 수 있다. The input unit 240 may generate various signals according to a user's manipulation and output them to the terminal controller 230. Here, the input unit 240 may be implemented in various ways, for example, may be implemented in a button method and / or a touch method. In particular, the input unit 240 may include a back-light for allowing a user to operate a desired button even in a dark place.

저장부(250)는 각종 데이터가 저장될 수 있는 저장 공간으로서, 본 발명의 일 실시예에 따른 휴대용 전자기기(100)의 동작을 위한 각종 소프트웨어가 저장될 수 있다. 특히, 저장부(250)에는 적외선평균휘도값과 비교되기 위하여 미리 설정된 적외선임계값, 가시광선평균휘도값과 비교되기 위하여 미리 설정된 조도테이블 등이 저장될 수 있다. 여기서, 저장부(250)는 낸드(NAND)형 반도체 메모리 소자일 수 있다. The storage unit 250 is a storage space in which various data can be stored, and various software for operating the portable electronic device 100 according to an embodiment of the present invention may be stored. In particular, the storage unit 250 may store an infrared threshold value preset for comparison with an infrared ray average luminance value, an illumination table preset for comparison with a visible ray average luminance value, and the like. The storage unit 250 may be a NAND semiconductor memory device.

디스플레이부(260)는 단말기제어부(230)의 제어에 의하여 각종 데이터를 디스플레이할 수 있다. 이에 의하여 사용자는 디스플레이되는 데이터를 시작적으로 인식할 수 있다. 여기서, 디스플레이부(260)는 LCD(Liquid Crystal display)를 포함할 수 있다. 특히, 디스플레이부(260)는 어두운 장소에서도 사용자가 디스플레이되는 데이터를 용이하게 식별할 수 있도록 하기 위한 백-라이트를 포함할 수 있다. The display unit 260 may display various data under the control of the terminal controller 230. This allows the user to initially recognize the displayed data. The display unit 260 may include a liquid crystal display (LCD). In particular, the display unit 260 may include a back-light to allow the user to easily identify the displayed data even in a dark place.

도 5는 본 발명의 일 실시예에 따른 휴대용 전자기기에서의 근접 센싱 방법에 대한 순서도이다. 5 is a flowchart illustrating a proximity sensing method in a portable electronic device according to an embodiment of the present invention.

이하, 도 5를 참조하여 본 발명의 일 실시예에 따른 휴대용 전자기기(100)에서의 근접 센싱 방법에 대하여 설명한다. 이하에서 설명될 각 단계들은 휴대용 전자기기(100)에 포함된 각 구성 요소에서 수행되는 단계일 수 있으나, 이해와 설명의 편의를 위하여 휴대용 전자기기(100)에서 수행되는 것으로 가정하고 설명한다. 따라서, 하기할 각 단계들을 수행하는 주체는 생략될 수도 있다. Hereinafter, a proximity sensing method in the portable electronic device 100 according to an embodiment of the present invention will be described with reference to FIG. 5. Each step to be described below may be steps performed on each component included in the portable electronic device 100, but it is assumed that the steps are performed on the portable electronic device 100 for convenience of understanding and description. Therefore, the subject performing the steps to be described below may be omitted.

단계 510에서, 광원(212)이 활성화된 상태 즉, 광을 출력하는 동안에 피사체(130)를 촬상하여 유광영상데이터를 생성할 수 있다.In operation 510, the image 130 may be generated by capturing the subject 130 while the light source 212 is activated, that is, while outputting light.

단계 520에서, 광원(212)이 불활성화된 상태 즉, 광을 출력하지 않는 동안에 피사체(130)를 촬상하여 무광영상데이터를 생성할 수 있다. In operation 520, the matte image data may be generated by capturing the subject 130 while the light source 212 is inactivated, that is, not outputting light.

이때, 광원(212)은 단말기제어부(230)의 제어를 받아 미리 설정된 시간을 간격으로 점등될 수 있으며, 이미지센서(218)는 유광영상데이터를 생성한 직후에 광원(212)이 불활성화되면 무광영상데이터를 생성할 수 있다. 또한, 여기에서는 유광영상데이터가 생성된 후 무광영상데이터가 생성되는 것을 가정하고 설명하였으나, 무광영상데이터가 생성될 후 유광영상데이터가 생성될 수도 있다. 즉, 단계 510이 수행된 후 단계 520이 생성될 수도 있다.In this case, the light source 212 may be turned on at a predetermined time interval under the control of the terminal controller 230, and the image sensor 218 may be matted when the light source 212 is inactivated immediately after generating the glossy image data. Image data can be generated. In addition, although the description has been made on the assumption that the matte image data is generated after the matte image data is generated, the matte image data may be generated after the matte image data is generated. That is, after step 510 is performed, step 520 may be generated.

단계 530에서, 생성된 유광영상데이터 및 무광영상데이터를 비교하여 피사체영상데이터를 생성할 수 있다. 피사체영상데이터가 생성되는 방법은 상술한 방법과 동일 또는 유사한 방법일 수 있으므로, 여기에서는 이에 대한 상세한 설명은 생략될 수 있다.  In operation 530, the object image data may be generated by comparing the generated glossy image data and the matte image data. Since the method of generating the subject image data may be the same as or similar to the method described above, a detailed description thereof may be omitted here.

단계 540에서, 생성된 피사체영상데이터를 분석하여 적외선픽셀을 추출할 수 있다. 휴대용 전자기기(100)포함된 필터(214)가 적외선 필터인 경우에는 피사체영상데이터의 모든 픽셀이 적외선픽셀일 수 있다. 그러나, 필터(214)가 적외선필터영역과 가시광선필터영역이 모두 포함된 복합필터인 경우에는 피사체영상데이터의 픽셀 중 적외선필터영역에 대응하는 픽셀이 적외선픽셀로 추출될 수 있다. In operation 540, the generated infrared image may be extracted by analyzing the generated subject image data. When the filter 214 included in the portable electronic device 100 is an infrared filter, all pixels of the subject image data may be infrared pixels. However, when the filter 214 is a complex filter including both an infrared filter area and a visible light filter area, pixels corresponding to the infrared filter area among the pixels of the subject image data may be extracted as infrared pixels.

단계 550에서, 각각의 적외선픽셀의 휘도값의 평균값인 적외선평균휘도값을 산출하여 미리 설정된 적외선임계값과 비교할 수 있다. 이때, 적외선평균휘도값이 적외선임계값 이상이면 임의의 피사체(예를 들어, 사용자의 얼굴, 손가락 등)가 휴대용 전자기기(100)에 근접하였음을 의미할 수 있으므로 휴대용 전자기기(100)는 전원절약모드로 동작 개시될 수 있다(단계 560). In operation 550, an infrared average luminance value, which is an average value of luminance values of each infrared pixel, may be calculated and compared with a preset infrared threshold value. In this case, when the infrared mean luminance value is greater than or equal to the infrared threshold value, it may mean that an arbitrary subject (for example, a user's face, a finger, etc.) is close to the portable electronic device 100. Operation may be initiated in a saving mode (step 560).

여기서, 적외선픽셀은 피사체영상데이터에서 추출되는 것으로 가정하고 설명하였으나, 적외선픽셀은 유광영상데이터에서 추출될 수도 있음은 상술한 바와 같다. 따라서, 이 경우에는 상술한 단계 520 및 단계 530은 생략될 수 있고, 단계 540은 유광영상데이터에서 적외선픽셀을 추출하는 단계로 대체될 수 있을 것이다. Herein, the infrared pixel is assumed to be extracted from the subject image data, but the infrared pixel may be extracted from the glossy image data as described above. Therefore, in this case, steps 520 and 530 described above may be omitted, and step 540 may be replaced by extracting an infrared pixel from the glossy image data.

또한, 여기에서는 임의의 피사체가 휴대용 전자기기(100)에 근접하면 휴대용 전자기기(100)가 전원절약모드로 동작 개시되도록 미리 설정된 경우를 가정하고 설명하였으나, 이는 예시에 불과할 뿐이므로, 본 발명의 권리 범위를 제한하지 아니한다. 따라서, 단계 560은 스피커폰모드로 동작 중인 휴대용 전자기기가 일반통화모드로 동작 개시되는 단계로 치환될 수도 있다. In addition, it is assumed herein that the portable electronic device 100 is set to be operated in a power saving mode when any subject is close to the portable electronic device 100. However, this is only an example. It does not limit the scope of rights. Accordingly, step 560 may be replaced with a step in which the portable electronic device operating in the speakerphone mode is started in the general call mode.

도 6은 본 발명의 일 실시예에 따른 휴대용 전자기기에서의 조도 센싱 방법 에 대한 순서도이다. 6 is a flowchart illustrating a roughness sensing method in a portable electronic device according to an embodiment of the present invention.

이하, 도 6를 참조하여 본 발명의 일 실시예에 따른 휴대용 전자기기(100)에서의 조도 센싱 방법에 대하여 설명한다. 이하에서 설명될 각 단계들은 휴대용 전자기기(100)에 포함된 각 구성 요소에서 수행되는 단계일 수 있으나, 이해와 설명의 편의를 위하여 휴대용 전자기기(100)에서 수행되는 것으로 가정하고 설명한다. 따라서, 하기할 각 단계들을 수행하는 주체는 생략될 수도 있다. Hereinafter, a method of sensing illuminance in the portable electronic device 100 according to an embodiment of the present invention will be described with reference to FIG. 6. Each step to be described below may be steps performed on each component included in the portable electronic device 100, but it is assumed that the steps are performed on the portable electronic device 100 for convenience of understanding and description. Therefore, the subject performing the steps to be described below may be omitted.

단계 610에서, 무광영상데이터를 생성할 수 있고, 생성된 무광영상데이터를 분석하여 가시광선픽셀을 추출할 수 있다(단계 620). 여기서, 휴대용 전자기기(100)포함된 필터(214)가 가시광선 필터인 경우에는 피사체영상데이터의 모든 픽셀이 가시광선픽셀일 수 있다. 그러나, 필터(214)가 적외선필터영역과 가시광선필터영역이 모두 포함된 복합필터인 경우에는 피사체영상데이터의 픽셀 중 가시광선필터영역에 대응하는 픽셀만이 가시광선픽셀로 추출될 수 있다. In operation 610, the image data may be generated, and the visible pixel may be extracted by analyzing the generated image data (operation 620). Here, when the filter 214 included in the portable electronic device 100 is a visible light filter, all pixels of the subject image data may be visible light pixels. However, when the filter 214 is a composite filter including both an infrared filter area and a visible light filter area, only pixels corresponding to the visible light filter area among the pixels of the subject image data may be extracted as the visible light pixels.

단계 630에서, 각각의 가시광선픽셀 휘도값의 평균값을 산출하여 가시광선평균휘도값을 생성할 수 있고, 산출된 가시광선평균휘도값을 분석하여 조도정보를 생성할 수 있다(단계 640). 이때, 가시광선평균휘도값과 미리 설정된 조도테이블과 비교하여 조도정보를 생성할 수 있음은 상술한 바와 같다. In operation 630, an average value of each visible pixel luminance value may be calculated to generate a visible average luminance value, and the calculated luminance average luminance value may be analyzed to generate illumination information (operation 640). In this case, as described above, illuminance information may be generated by comparing the visible light average luminance value with a preset illuminance table.

단계 650에서, 생성된 조도정보에 상응하는 전원모드로 동작이 개시될 수 있다. 예를 들어, 단말기제어부(230)는 조도정보가 1단계에 상응하면 백-라이트의 밝기가 최대가 되도록 제어할 수 있다. 또한, 단말기제어부(230)는 조도정보가 2단계에 상응하면 백-라이트의 밝기가 중간이 되도록 제어할 수 있다. 또한, 단말기제 어부(230)는 조도정보가 3단계에 상응하면 백-라이트의 밝기가 최소(또는 백-라이트의 전원을 오프)가 되도록 제어할 수 있다.In operation 650, the operation may be started in a power mode corresponding to the generated illuminance information. For example, the terminal controller 230 may control the brightness of the back light to be maximum when the illumination information corresponds to the first stage. In addition, the terminal controller 230 may control the brightness of the back light to be medium when the illumination information corresponds to the second stage. In addition, the terminal controller 230 may control the brightness of the backlight to be minimum (or to turn off the backlight) when the illumination information corresponds to three levels.

여기서, 조도정보가 1단계 내지 3단계로 분류된 경우를 가정하고 설명하였으나. 조도정보는 n단계로 분류될 수 있음은 상술한 바와 같다(단, n은 자연수). 따라서, 전원모드도 조도정보에 상응하여 n단계로 분류되어 동작될 수 있다. Herein, it is assumed that the illumination information is classified into 1 to 3 levels. As described above, the illuminance information may be classified into n levels (where n is a natural number). Therefore, the power mode may be classified and operated in n steps according to the illumination information.

또한, 여기에서는 휴대용 전자기기(100)가 조도정보에 따라 상응하는 전원모드로 동작 개시되도록 미리 설정된 경우를 가정하고 설명하였으나, 이는 예시에 불과할 뿐이므로, 본 발명의 권리 범위를 제한하지 아니한다. In addition, it is assumed here that the portable electronic device 100 is set in advance to start operation in a corresponding power mode according to illuminance information. However, this is only an example, and thus the scope of the present invention is not limited.

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

도 1은 본 발명의 일 실시예에 따른 휴대용 전자기기의 외관이 예시된 도면.1 is a view illustrating the appearance of a portable electronic device according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 휴대용 전자기기의 구성을 나타낸 도면.2 is a view showing the configuration of a portable electronic device according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 영상분석부에 대한 단면도.3 is a cross-sectional view of an image analyzer according to an embodiment of the present invention.

도 4a는 본 발명의 일 실시예에 따른 영상분석부에 포함된 필터의 일 실시예를 나타낸 도면.4A is a diagram illustrating an embodiment of a filter included in an image analyzer according to an embodiment of the present invention.

도 4b는 본 발명의 일 실시예에 따른 영상분석부에 포함된 필터의 다른 실시예를 나타낸 도면.4B is a view showing another embodiment of a filter included in an image analyzer according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 휴대용 전자기기에서의 근접 센싱 방법에 대한 순서도.5 is a flowchart illustrating a proximity sensing method in a portable electronic device according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 휴대용 전자기기에서의 조도 센싱 방법에 대한 순서도.Figure 6 is a flow chart for the illumination sensing method in a portable electronic device according to an embodiment of the present invention.

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

110 : 영상분석부110: image analysis unit

210 : 피사체촬상유닛210: subject recording unit

212 : 광원212 light source

214 : 필터214: filter

216 : 렌즈216 lens

218 : 이미지센서218: image sensor

220 : 영상분석유닛220: image analysis unit

230 : 단말기제어부230: terminal control unit

240 : 입력부240: input unit

250 : 저장부250: storage unit

260 : 디스플레이부260: display unit

Claims (12)

휴대용 전자기기에 있어서,In portable electronic devices, 영상데이터를 생성하고 분석하는 영상분석부; 및An image analyzer for generating and analyzing image data; And 상기 영상분석부의 분석 결과에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어하는 단말기제어부를 포함하되,According to an analysis result of the image analysis unit includes a terminal control unit for controlling the portable electronic device to operate in a predetermined operation mode, 상기 영상분석부는,The image analyzer, 미리 지정된 제1 파장의 광만을 통과시키는 제1 필터영역 및 미리 지정된 제2 파장의 광만을 통과시키는 제2 필터영역을 포함하는 필터-단, 상기 제1 파장과 상기 제2 파장은 서로 다른 파장임;A filter comprising a first filter region passing only light of a first predetermined wavelength and a second filter region passing only light of a second predetermined wavelength, wherein the first wavelength and the second wavelength are different wavelengths ; 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 상기 영상데이터를 생성하는 이미지센서; 및 An image sensor converting light incident through the filter into an electrical signal to generate the image data; And 상기 영상데이터를 분석하는 영상분석유닛을 포함하는 것을 특징으로 하는 휴대용 전자기기.And a video analysis unit for analyzing the video data. 제1항에 있어서,The method of claim 1, 상기 영상분석부는 상기 제1 파장의 광을 조사하는 광원을 더 포함하되,The image analyzer further includes a light source for irradiating light of the first wavelength, 상기 이미지센서는 상기 광원이 활성화된 상태에서 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 유광영상데이터를 생성하고,The image sensor generates a glossy image data by converting light incident through the filter into an electrical signal when the light source is activated, 상기 영상분석유닛은 상기 유광영상데이터에서 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하고, 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하며, 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하며,The image analysis unit extracts a first pixel corresponding to the first filter region from the gloss image data, calculates an average value of luminance values of each of the first pixels, and generates a first average luminance value. 1 If the average luminance value is greater than or equal to a preset first threshold value, a proximity signal of the subject is generated and output. 상기 단말기제어부는 상기 피사체근접신호에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어하는 것을 특징으로 하는 휴대용 전자기기.And the terminal controller controls the portable electronic device to operate in a preset operation mode according to the subject proximity signal. 제1항에 있어서,The method of claim 1, 상기 영상분석부는,The image analyzer, 상기 제1 파장의 광을 조사하고, 미리 설정된 시간을 간격으로 점등되는 광원을 더 포함하되,Irradiating light of the first wavelength, and further comprises a light source that is turned on at a predetermined time interval, 상기 이미지센서는 상기 광원이 활성화된 동안에 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 유광영상데이터를 생성하고, 상기 광원이 불활성화된 동안에 상기 필터를 통하여 입사된 광을 전기적 신호로 변환하여 무광영상데이터를 생성하며,The image sensor converts light incident through the filter into an electrical signal while the light source is activated to generate gloss image data, and converts light incident through the filter into an electrical signal while the light source is deactivated. Creates matte image data, 상기 영상분석유닛은 상기 유광영상데이터 및 상기 무광영상데이터를 비교하여 피사체영상데이터를 생성하고, 상기 피사체영상데이터에서 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하고, 각각의 상기 제1 픽셀의 휘도값의 평균값을 산 출하여 제1 평균휘도값을 생성하고, 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하며,The image analysis unit generates subject image data by comparing the glossy image data and the matt image data, extracts a first pixel corresponding to the first filter region from the subject image data, and each of the first pixels. A first average luminance value is generated by calculating an average value of the luminance values of the generated values, and generates and outputs a subject proximity signal when the first average luminance value is greater than or equal to a preset first threshold value; 상기 단말기제어부는 상기 피사체근접신호에 따라 상기 휴대용 전자기기가 미리 설정된 동작 모드로 동작되도록 제어하는 것을 특징으로 하는 휴대용 전자기기.And the terminal controller controls the portable electronic device to operate in a preset operation mode according to the subject proximity signal. 제2항 또는 제3항 중 어느 한 항에 있어서,The method according to claim 2 or 3, 입력되는 영상데이터를 표시하는 디스플레이부; 및 A display unit displaying input image data; And 사용자의 조작에 따른 신호를 생성하는 입력부를 더 포함하되,Further comprising an input unit for generating a signal according to the user's operation, 상기 단말기제어부는 상기 피사체근접신호가 입력되면 상기 디스플레이부 또는 상기 입력부 중 어느 하나 이상에 포함된 백-라이트(Back-light)의 광량을 미리 설정된 방법에 따라 조절하는 것을 특징으로 하는 휴대용 전자기기.And the terminal controller adjusts a light amount of a back-light included in any one or more of the display unit or the input unit according to a preset method when the subject proximity signal is input. 제1항에 있어서,The method of claim 1, 상기 영상분석유닛은 상기 영상데이터에서 상기 제2 필터영역에 대응되는 제2 픽셀을 추출하며, 각각의 상기 제2 픽셀의 휘도값의 평균값을 산출하여 제2 평균휘도값을 생성하고, 상기 제2 평균휘도값을 분석한 결과에 따라 조도정보를 생성하여 출력하되,The image analysis unit extracts a second pixel corresponding to the second filter area from the image data, calculates an average value of luminance values of each of the second pixels, and generates a second average luminance value, wherein the second pixel is generated. Generate and output roughness information according to the result of analyzing the average luminance value, 상기 단말기제어부는 상기 휴대용 전자기기가 상기 조도정보에 상응하는 동작 모드로 동작되도록 제어하는 것을 특징으로 하는 휴대용 전자기기.And the terminal controller controls the portable electronic device to operate in an operation mode corresponding to the illuminance information. 제5항에 있어서,The method of claim 5, 상기 영상분석유닛은 상기 제2 평균휘도값과 미리 설정된 조도테이블을 비교하여 상기 조도정보를 생성하되,The image analysis unit compares the second average luminance value with a preset illuminance table to generate the illuminance information, 상기 조도테이블은 상기 제2 평균휘도값의 범위에 따라 1단계 내지 n단계로 미리 구분되어 있고, 상기 영상분석부는 상기 제2 평균휘도값을 상기 조도테이블과 비교하여 1단계 내지 n단계 중 어느 하나의 단계에 상응하는 조도정보를 생성하는 것을 특징으로 하는 휴대용 전자기기(단, n은 2 이상의 자연수임).The illuminance table is previously divided into 1 to n steps according to the range of the second average luminance value, and the image analyzer compares the second average luminance value with the illuminance table to any one of steps 1 to n. Portable electronic device, characterized in that for generating the illumination information corresponding to the step of (where n is a natural number of 2 or more). 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 입력되는 영상데이터를 표시하는 디스플레이부; 및 A display unit displaying input image data; And 사용자의 조작에 따른 신호를 생성하는 입력부를 더 포함하되,Further comprising an input unit for generating a signal according to the user's operation, 상기 단말기제어부는 상기 조도정보에 상응하여 상기 디스플레이부 또는 상기 입력부 중 어느 하나에 포함된 백-라이트(Back-light)의 밝기를 제어하는 것을 특징으로 하는 휴대용 전자기기.The terminal controller controls the brightness of the back-light included in any one of the display unit or the input unit in accordance with the illuminance information. 영상데이터를 생성하는 단계;Generating image data; 상기 영상데이터를 분석하는 단계; 및 Analyzing the image data; And 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계를 포함하되,And operating in a preset operation mode according to the analysis result of the image data. 상기 영상데이터는 미리 지정된 제1 파장의 광만을 통과시키는 제1 필터영역 및 미리 지정된 제2 파장의 광만을 통과시키는 제2 필터영역을 포함하는 필터를 통하여 입사된 광이 전기적 신호로 변환되어 생성된 것을 특징으로 하는 휴대용 전자기기에서의 밝기 측정 방법.The image data may be generated by converting light incident through a filter including a first filter region through which only light of a first predetermined wavelength and a second filter region through only light having a second predetermined wavelength are converted into an electrical signal. Brightness measurement method in a portable electronic device, characterized in that. 제8항에 있어서,The method of claim 8, 상기 영상데이터를 분석하는 단계는,Analyzing the image data, 상기 영상데이터를 분석하여 상기 제1 필터영역에 대응되는 제1 픽셀을 추출하는 단계;Analyzing the image data to extract a first pixel corresponding to the first filter area; 각각의 상기 제1 픽셀의 휘도값의 평균값을 산출하여 제1 평균휘도값을 생성하는 단계; 및 Generating a first average luminance value by calculating an average value of luminance values of each of the first pixels; And 상기 제1 평균휘도값이 미리 설정된 제1 임계값 이상이면 피사체근접신호를 생성하여 출력하는 단계를 포함하되,Generating and outputting a subject proximity signal when the first average luminance value is greater than or equal to a preset first threshold value; 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단 계는 상기 피사체근접신호에 따라 미리 설정된 동작 모드로 동작되는 단계이고, 상기 영상데이터는 구비된 성기 제1 파장의 광을 조사하는 광원이 활성화된 상태에서 생성된 유광영상데이터인 것을 특징으로 하는 휴대용 전자기기에서의 밝기 측정 방법.The step of operating in a preset operation mode according to the analysis result of the image data is a step of operating in a preset operation mode according to the subject proximity signal, the image data is a light source for irradiating light of the first genital wavelength provided The brightness measurement method in a portable electronic device, characterized in that the glossy image data generated in the activated state. 제8항에 있어서,The method of claim 8, 상기 영상데이터를 분석하는 단계는,Analyzing the image data, 상기 영상데이터에서 상기 제2 필터영역에 대응되는 제2 픽셀을 추출하는 단계;Extracting a second pixel corresponding to the second filter area from the image data; 각각의 상기 제2 픽셀의 휘도값의 평균값을 산출하여 제2 평균휘도값을 생성하는 단계; 및 Calculating a mean value of luminance values of each of the second pixels to generate a second average luminance value; And 상기 제2 평균휘도값을 분석한 결과에 따라 조도정보를 생성하여 출력하는 단계를 포함하되,Generating and outputting illuminance information according to a result of analyzing the second average luminance value; 상기 영상데이터의 분석 결과에 따라 미리 설정된 동작 모드로 동작되는 단계는 상기 조도정보에 따라 미리 설정된 동작 모드로 동작되는 단계인 것을 특징으로 하는 휴대용 전자기기에서의 밝기 측정 방법.And operating in a preset operation mode according to the analysis result of the image data is operating in a preset operation mode according to the illuminance information. 제10항에 있어서,The method of claim 10, 상기 조도정보를 생성하여 출력하는 단계는,Generating and outputting the illumination information, 상기 제2 평균휘도값과 미리 설정된 조도테이블을 비교하여 상기 조도정보를 생성하는 단계를 포함하되,Comparing the second average luminance value and a predetermined illuminance table to generate the illuminance information, 상기 조도테이블은 상기 제2 평균휘도값의 범위에 따라 1단계 내지 n단계로 미리 구분되어 있고, 상기 조도정보는 상기 제2 평균휘도값이 상기 조도테이블과 비교되어 1단계 내지 n단계 중 어느 하나의 단계에 상응하는 값으로 생성되는 것을 특징으로 하는 휴대용 전자기기에서의 밝기 측정 방법(단, 상기 n은 2 이상의 자연수임).The illuminance table is previously divided into 1 to n steps according to the range of the second average luminance value, and the illuminance information is any one of steps 1 to n when the second average luminance value is compared with the illuminance table. Method for measuring the brightness in a portable electronic device, characterized in that it is generated with a value corresponding to the step of (wherein n is a natural number of 2 or more). 제8항 내지 제11항 중 어느 한 항에 기재된 휴대용 전자기기에서의 밝기 측정 방법이 수행되기 위하여 상기 휴대용 전자기기에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 상기 휴대용 전자기기에 의하여 판독될 수 있는 프로그램이 기록된 기록 매체.A program of instructions that can be executed by the portable electronic device is tangibly embodied in order to perform the brightness measuring method of the portable electronic device according to any one of claims 8 to 11, A recording medium on which a program that can be read is recorded.
KR1020070093518A 2007-09-14 2007-09-14 Portable electronic device capable of sensing of brightness KR20090028159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070093518A KR20090028159A (en) 2007-09-14 2007-09-14 Portable electronic device capable of sensing of brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070093518A KR20090028159A (en) 2007-09-14 2007-09-14 Portable electronic device capable of sensing of brightness

Publications (1)

Publication Number Publication Date
KR20090028159A true KR20090028159A (en) 2009-03-18

Family

ID=40695499

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070093518A KR20090028159A (en) 2007-09-14 2007-09-14 Portable electronic device capable of sensing of brightness

Country Status (1)

Country Link
KR (1) KR20090028159A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101420055B1 (en) * 2013-04-29 2014-08-13 제주대학교 산학협력단 Illuminance simulation system for indoor environment and illuminance simulating method
US9257461B2 (en) 2013-09-10 2016-02-09 Samsung Electronics Co., Ltd. Image device including dynamic vision sensor, ambient light sensor and proximity sensor function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101420055B1 (en) * 2013-04-29 2014-08-13 제주대학교 산학협력단 Illuminance simulation system for indoor environment and illuminance simulating method
US9257461B2 (en) 2013-09-10 2016-02-09 Samsung Electronics Co., Ltd. Image device including dynamic vision sensor, ambient light sensor and proximity sensor function

Similar Documents

Publication Publication Date Title
US20080303922A1 (en) Image capture
US20130050233A1 (en) Device and method for adjusting object illumination
US20130155253A1 (en) Apparatus and method for controlling a camera and infrared illuminator in an electronic device
CN104700816A (en) Method and device for setting screen brightness
EP2565602B1 (en) Device and method for adjusting object illumination
WO2011137731A2 (en) Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
US8931907B2 (en) Projecting device for detecting brightness regions of a projecting surface and projecting method therefor
US9398221B2 (en) Camera control using ambient light sensors
JP6350285B2 (en) Mobile device
US9854217B2 (en) Mobile terminal equipped with a camera and controlling method thereof
CN105517222B (en) Light adjusting method and device
CN105468157A (en) Optical detection device and terminal equipment
JP6285160B2 (en) Device having camera function, photographing control method and program
US20200053273A1 (en) Apparatus and method for generating moving image data including multiple section images in electronic device
KR101696383B1 (en) Lobby Phone
CN112764659B (en) Information processing method and device, electronic device and storage medium
KR20090028159A (en) Portable electronic device capable of sensing of brightness
KR100613063B1 (en) Apparatus for sensing illumination by using image sensor and method thereof
KR100581144B1 (en) Mobile communication terminal and method for controlling camera
CN112312034B (en) Exposure method and device of image acquisition module, terminal equipment and storage medium
KR100393805B1 (en) Lcd backlight controlling method for mobile communication device
CA2794067C (en) Apparatus and method for controlling a camera and infrared illuminator in an electronic device
KR100600991B1 (en) Wireless communication terminal and method for controlling flash automatically
KR100793295B1 (en) Method of controlling a camera mode using a and mobile communication terminal thereof
KR100845494B1 (en) Portable terminal having functional keypad

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee