KR101336235B1 - Method and apparatus of detecting attitude of digital image processing device using automatic focusing - Google Patents

Method and apparatus of detecting attitude of digital image processing device using automatic focusing Download PDF

Info

Publication number
KR101336235B1
KR101336235B1 KR1020070011805A KR20070011805A KR101336235B1 KR 101336235 B1 KR101336235 B1 KR 101336235B1 KR 1020070011805 A KR1020070011805 A KR 1020070011805A KR 20070011805 A KR20070011805 A KR 20070011805A KR 101336235 B1 KR101336235 B1 KR 101336235B1
Authority
KR
South Korea
Prior art keywords
partial regions
image processing
digital image
processing apparatus
focus position
Prior art date
Application number
KR1020070011805A
Other languages
Korean (ko)
Other versions
KR20080073148A (en
Inventor
홍순학
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020070011805A priority Critical patent/KR101336235B1/en
Publication of KR20080073148A publication Critical patent/KR20080073148A/en
Application granted granted Critical
Publication of KR101336235B1 publication Critical patent/KR101336235B1/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
    • G02B7/38Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals measured at different points on the optical axis, e.g. focussing on two or more planes and comparing image data

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

본 발명은 자이로 센서와 같은 고가의 장비를 사용하지 않고도 디지털 영상 처리 장치의 자세를 자동으로 판단할 수 있는 디지털 영상 처리 장치의 자세 감지 방법 및 장치를 제공하는 것을 목적으로 한다. 이를 위하여, 본 발명에 따른 디지털 영상 처리 장치의 자세 감지 방법 및 장치는 자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커스 위치 값을 측정하고, 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하고, 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단한다. An object of the present invention is to provide a method and apparatus for detecting a posture of a digital image processing apparatus capable of automatically determining a posture of a digital image processing apparatus without using expensive equipment such as a gyro sensor. To this end, the posture detecting method and apparatus of the digital image processing apparatus according to the present invention performs automatic focusing to measure the maximum focus position value in each of the plurality of partial regions, and the maximum focus of the partial regions belonging to the vertically arranged columns. When the average of the difference between the position values is smaller than the first setting value, the attitude of the digital image processing apparatus is determined horizontally, and the average of the difference between the maximum focus position values of the partial regions belonging to the horizontally arranged lines is greater than the first setting value. In a small case, the posture of the digital image processing apparatus is determined vertically.

Description

자동 포커싱을 이용한 디지털 영상 처리 장치의 자세 감지 방법 및 장치{Method and apparatus of detecting attitude of digital image processing device using automatic focusing}Method and apparatus for detecting attitude of digital image processing device using automatic focusing

도 1은 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도이다. 1 is a perspective view illustrating a front side and an upper side of a digital image processing apparatus according to an exemplary embodiment of the present invention.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도이다.FIG. 2 is a rear view illustrating a rear shape of the digital image processing apparatus illustrated in FIG. 1.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 도시하는 블록도이다.FIG. 3 is a block diagram showing the configuration of the digital image processing apparatus shown in FIGS. 1 and 2.

도 4는 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 자세 감지 방법의 동작을 설명하기 위한 흐름도이다. 4 is a flowchart illustrating an operation of a posture detection method of a digital image processing apparatus according to an embodiment of the present invention.

도 5는 복수의 부분 영역들에서 칼럼 및 라인의 예를 설명하기 위한 도면이다. 5 is a diagram for describing an example of a column and a line in a plurality of partial regions.

도 6은 복수의 부분 영역들에서 상부, 하부, 좌부 및 우부 부분 영역들의 예를 설명하기 위한 도면이다.6 is a view for explaining an example of upper, lower, left and right partial regions in a plurality of partial regions.

도 7은 도 4의 수직 및 수평 판단 단계의 상세한 동작을 설명하기 위한 흐름도이다. 7 is a flowchart for describing a detailed operation of the vertical and horizontal determination steps of FIG. 4.

도 8은 도 4의 0도 및 180도 판단 단계의 상세한 동작을 설명하기 위한 흐름도이다.8 is a flowchart illustrating a detailed operation of the 0 degree and 180 degree determination steps of FIG. 4.

도 9는 도 4의 90도 및 270도 판단 단계의 상세한 동작을 설명하기 위한 흐름도이다.FIG. 9 is a flowchart for describing a detailed operation of the determining 90 and 270 degrees of FIG. 4.

도 10은 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 자세 감지 장치의 구성을 도시하는 블록도이다. FIG. 10 is a block diagram illustrating a configuration of a posture detecting apparatus of a digital image processing apparatus according to an exemplary embodiment.

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

81: 자동 포커싱 제어부 82: 수평 및 수직 판단부81: automatic focusing control unit 82: horizontal and vertical determination unit

821: 수평 판단부 822: 수직 판단부821: horizontal judging unit 822: vertical judging unit

83: 0도 및 180도 판단부 84: 90도 및 270도 판단부83: 0 degree and 180 degree judgment part 84: 90 degree and 270 degree judgment part

본 발명은 디지털 영상 처리 장치의 전원 제어 장치 및 방법에 관한 것으로, 보다 상세하게는 자이로 센서와 같은 고가의 장비를 사용하지 않고도 디지털 영상 처리 장치의 자세를 자동으로 판단할 수 있는 디지털 영상 처리 장치의 자세 감지 방법 및 장치에 관한 것이다. The present invention relates to a power supply control apparatus and method for a digital image processing apparatus, and more particularly, to a digital image processing apparatus capable of automatically determining a posture of a digital image processing apparatus without using expensive equipment such as a gyro sensor. It relates to a posture detection method and apparatus.

통상적인 디지털 영상 처리 장치, 예컨대 디지털 카메라는 CCD 등의 촬상 소자를 이용하여 피사체에 대한 전기적인 영상 신호를 디지털 신호로 변환하여 디지털 신호의 압축/복원 동작에 의해 촬영된 피사체에 대한 디지털 신호를 메모리에 저장하거나 또는 출력 장치를 통하여 해당 데이터를 출력한다. Conventional digital image processing apparatuses, such as digital cameras, convert an electrical image signal of a subject into a digital signal using an imaging device such as a CCD to store a digital signal of a subject photographed by a compression / restore operation of the digital signal. Store the data in or output the data through the output device.

따라서, 이와 같은 원리에 따라 피사체의 촬영 동작을 실행하는 디지털 카메라는 기존의 일반 카메라처럼 별도의 필름을 이용할 필요 없이 데이터를 저장하는 메모리 카드 등에 촬영된 피사체의 영상 데이터를 저장한다.Accordingly, a digital camera that performs a photographing operation of a subject according to the above principle stores image data of a photographed subject on a memory card or the like which stores data without using a separate film as in a conventional general camera.

일부 디지털 카메라는 카메라 자세 감지 기능을 제공한다. 카메라 자세 감지 기능을 갖는 디지털 카메라는 사진 촬영시 카메라의 자세를 감지하고 상기 촬영된 사진을 저장시 상기 자세 정보를 오리엔테이션 태그에 기록한다. 이후 사진을 재생할 때 상기 저장된 자세 정보를 기초로 하여 사진을 자동으로 90도, 180도 또는 270도 회전시켜 항상 피사체가 직립되도록 사진을 디스플레이한다. 따라서, 사용자는 촬영된 사진을 확인할 때 수동으로 사진을 회전하는 번거로움을 피할 수 있다. Some digital cameras provide camera posture detection. A digital camera having a camera posture detection function detects a posture of the camera when taking a picture and records the posture information in an orientation tag when storing the taken picture. Thereafter, when the picture is played back, the picture is automatically rotated by 90 degrees, 180 degrees, or 270 degrees based on the stored posture information to display the picture so that the subject is always upright. Therefore, the user can avoid the trouble of manually rotating the picture when checking the taken picture.

자세 감지 기능을 갖는 종래의 디지털 카메라는 자이로 센서를 주로 이용한다. 하지만, 자이로 센서는 부품 자체의 크기 및 가격 때문에 소형 디지털 카메라에 사용하기에는 어려운 실정이다. Conventional digital cameras having a posture detection function mainly use a gyro sensor. However, gyro sensors are difficult to use in small digital cameras due to the size and cost of the components themselves.

본 발명이 이루고자 하는 기술적인 과제는 자이로 센서와 같은 고가의 장비를 사용하지 않고도 디지털 영상 처리 장치의 자세를 자동으로 판단할 수 있는 디지털 영상 처리 장치의 자세 감지 방법 및 장치를 제공하는 것이다. The technical problem to be achieved by the present invention is to provide a posture detecting method and apparatus of the digital image processing apparatus that can automatically determine the posture of the digital image processing apparatus without using expensive equipment such as a gyro sensor.

본 발명은 자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커 스 위치 값을 측정하는 단계; 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 단계; 및 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 단계를 포함하는 디지털 영상 처리 장치의 자세 감지 방법을 제공한다. The present invention provides a method for performing automatic focusing, the method comprising: measuring a maximum focus value in each of a plurality of partial regions; Judging the attitude of the digital image processing apparatus horizontally when the average of the differences between the maximum focus position values of the partial regions belonging to the vertically arranged columns is smaller than the first set value; And judging the attitude of the digital image processing apparatus vertically when the average of the difference between the maximum focus position values of the partial regions belonging to the horizontally arranged lines is smaller than the first setting value. To provide.

상기 최대 포커스 위치 값은 자동 포커싱에 의해 측정되는 각 부분 영역의 최대 포커스 값에 대응할 수 있다. The maximum focus position value may correspond to the maximum focus value of each partial region measured by auto focusing.

상기 칼럼 및 라인 각각은 중앙의 칼럼 및 라인일 수 있다. Each of the columns and lines may be a central column and line.

상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균은 서로 인접하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균일 수 있다. The average of the differences between the maximum focus position values of the partial regions belonging to the column or line may be the average of the differences between the maximum focus position values of the partial regions adjacent to each other.

상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균은 조합 가능한 모든 부분 영역들의 최대 포커스 위치 값들의 차이의 평균일 수 있다. The average of the differences between the maximum focus position values of the partial regions belonging to the column or the line may be the average of the differences between the maximum focus position values of all combinable partial regions.

상기 디지털 영상 처리 장치의 자세 감지 방법은 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 단계; 및 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 단계를 더 포함할 수 있다. The posture detection method of the digital image processing apparatus may include determining that the posture of the digital image processing apparatus is horizontal, when the average of the difference between the maximum focus position values of the partial regions belonging to the line is greater than or equal to a second set value. Determining the posture horizontally; And when the posture of the digital image processing apparatus is determined to be vertical, determining the posture of the digital image processing apparatus vertically when the average of the difference between the maximum focus position values of the partial regions belonging to the column is greater than or equal to the second set value. It may include.

상기 디지털 영상 처리 장치의 자세 감지 방법은 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분하는 단계; 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단하는 단계; 및 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단하는 단계를 더 포함할 수 있다. The posture detecting method of the digital image processing apparatus may include: dividing partial regions belonging to a column into upper partial regions and lower partial regions based on a central partial region when the posture of the digital image processing apparatus is determined to be horizontal; When the average of the difference between the maximum focus position values of the upper partial regions is smaller than a third setting value and the average of the difference between the maximum focus position values of the lower partial regions is greater than or equal to a fourth setting value, the attitude of the digital image processing apparatus is determined to be 180 degrees. step; And the posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the upper partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the lower partial regions is smaller than a third set value. The method may further include determining.

상기 디지털 영상 처리 장치의 자세 감지 방법은 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부분 영역들 및 우부 영역들로 구분하는 단계; 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단하는 단계; 및 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단하는 단계를 더 포함할 수 있다. The posture detecting method of the digital image processing apparatus may include: dividing partial regions belonging to a line into left partial regions and right region based on a central partial region when the posture of the digital image processing apparatus is determined to be vertical; When the average of the difference between the maximum focus position values of the right partial regions is smaller than a third setting value and the average of the difference between the maximum focus position values of the left partial regions is greater than or equal to a fourth setting value, the posture of the digital image processing apparatus is determined to be 90 degrees. step; And 270 degrees when the average of the difference between the maximum focus position values of the right partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the left partial regions is less than a third set value. The method may further include determining.

본 발명은 자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커스 값을 측정하고, 상기 최대 포커스 값에 대응하는 최대 포커스 위치 값을 측정하는 자동 포커싱 제어부; 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 수평 판단부; 및 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 수직 판단부를 포함하는 디지털 영상 처리 장치의 자세 감지 장치를 제공한다. According to an aspect of the present invention, there is provided an automatic focusing controller configured to perform auto focusing to measure a maximum focus value in each of a plurality of partial regions, and to measure a maximum focus position value corresponding to the maximum focus value; A horizontal determination unit configured to horizontally determine a posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the vertically arranged columns is smaller than the first set value; And a vertical determination unit configured to vertically determine a posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the horizontally arranged lines is smaller than the first setting value. Provide a device.

상기 수평 판단부는 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 추가로 판단하고, 상기 수직 판단부는 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 추가로 판단할 수 있다. When the posture of the digital image processing apparatus is determined to be horizontal, the horizontal determiner further horizontally postures the posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the line is greater than or equal to the second set value. When the attitude of the digital image processing apparatus is determined to be vertical, when the average of the difference between the maximum focus position values of the partial regions belonging to the column is greater than or equal to the second set value, the vertical determination unit vertically adjusts the attitude of the digital image processing apparatus. It can be further judged.

상기 디지털 영상 처리 장치의 자세 감지 장치는 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분하고, 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단하고, 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단하는 0도 및 180도 판단부를 더 포함할 수 있다. When the posture detection apparatus of the digital image processing apparatus determines that the posture of the digital image processing apparatus is horizontal, the partial regions belonging to the column are divided into upper partial regions and lower partial regions based on the central partial region. When the average of the difference between the maximum focus position values of the upper partial regions is smaller than the third setting value and the average of the difference between the maximum focus position values of the lower partial regions is greater than or equal to the fourth setting value, the attitude of the digital image processing apparatus is determined to be 180 degrees. When the average of the difference between the maximum focus position values of the upper partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the lower partial regions is smaller than a third set value, the attitude of the digital image processing apparatus is determined to be 0 degrees. It may further include a 0 degree and 180 degrees determiner.

상기 디지털 영상 처리 장치의 자세 감지 장치는 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부분 영역들 및 우부 영역들로 구분하고, 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단하고, 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단하는 90도 및 270도 판단부를 더 포함할 수 있다. When the posture detection apparatus of the digital image processing apparatus determines that the posture of the digital image processing apparatus is vertical, the partial regions belonging to the line are divided into left partial regions and right region based on a central partial region, and the right portion When the average of the difference between the maximum focus position values of the partial regions is smaller than the third setting value and the average of the difference between the maximum focus position values of the left partial regions is greater than or equal to the fourth set value, the attitude of the digital image processing apparatus is determined to be 90 degrees. When the average of the difference between the maximum focus position values of the right partial regions is greater than or equal to the fourth setting value and the average of the difference between the maximum focus position values of the left partial regions is smaller than the third set value, the attitude of the digital image processing apparatus is determined to be 270 degrees. The apparatus may further include a 90 degree and 270 degree determination unit.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도이다. 1 is a perspective view illustrating a front side and an upper side of a digital image processing apparatus according to an exemplary embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 디지털 영상 처리 장치의 앞쪽에는 셔터 릴리즈 버튼(11), 플래시(13), 뷰 파인더의 대물렌즈(15a), 전원 스위치(17) 및 렌즈부(19)가 구비된다.Referring to FIG. 1, the shutter release button 11, the flash 13, the objective lens 15a of the viewfinder, the power switch 17, and the lens unit 19 are provided at the front of the digital image processing apparatus according to the present invention. It is provided.

셔터 릴리즈 버튼(11)은 정해진 시간 동안 CCD나 필름을 빛에 노출시키기 위해 열리고 닫히며, 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 CCD에 영상을 기록한다. The shutter release button 11 opens and closes to expose the CCD or film to light for a predetermined time, and records the image on the CCD by properly exposing the subject in conjunction with an aperture (not shown).

플래시(13)는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 것으로 플래시 모드에는 자동플래시, 강제발광, 발광금지, 적목감소 및 슬로우 싱크로 등이 있다. The flash 13 brightens the bright light instantly when shooting in a dark place. The flash mode includes auto flash, forced light emission, flash off, red-eye reduction, and slow synchro.

뷰 파인더의 대물렌즈부(15a)는 촬영할 피사체를 보고 구도를 설정하기 위한 카메라의 작은 창이다. The objective lens unit 15a of the view finder is a small window of the camera for setting a composition by looking at a subject to be photographed.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도이다.FIG. 2 is a rear view illustrating a rear shape of the digital image processing apparatus illustrated in FIG. 1.

도 2를 참조하면, 디지털 영상 처리 장치의 뒤쪽에는 뷰파인더의 접안렌즈부(15b), 방향 버튼(21), 광각-줌 버튼(wide angle zoom button)(23w), 망원-줌 버튼(telephoto zoom button)(23t), 기능 버튼(function button)(23), 디스플레이 패널(25) 및 스피커(SP)가 구비된다. Referring to FIG. 2, the rear of the digital image processing apparatus includes the eyepiece unit 15b of the viewfinder, the direction button 21, the wide angle zoom button 23w, and the telephoto zoom button. A button 23t, a function button 23, a display panel 25, and a speaker SP are provided.

방향 버튼(21)은 상향 버튼(↑)(21-1), 하향 버튼(↓)(21-2), 좌향 버튼(←)(21-3), 우향 버튼(→)(21-4) 및 OK버튼(21-5)을 포함하여 총 5개의 버튼을 포함한다. 이 방향 버튼(21)은 디지털 카메라 동작에 관한 각종 메뉴를 실행시키기 위해 입력하는 키로 특히, 노출을 제어할 수 있는 노출영역을 활성화 또는 선택하거나 노출영역을 이동시킬 때 입력하는 키이다. The direction button 21 is an up button ↑ 21-1, a down button ↓ 21-2, a left button ← 21-3, a right button 21-4, and Including the OK button 21-5, a total of five buttons are included. The direction button 21 is a key input for executing various menus related to the operation of the digital camera. In particular, the direction button 21 is a key for activating or selecting an exposure area for controlling exposure or moving the exposure area.

기능 버튼(23)은 사용자가 디지털 카메라의 동작 모드를 선택하는데 사용되는 버튼으로서, 예컨대, 정지영상 촬영 모드, 동영상 촬영 모드, 재생 모드, 트리밍 모드, 컴퓨터 연결 모드 및 시스템 설정 모드를 사용자가 선택하여 설정하는데 사용될 수 있다. The function button 23 is a button used for the user to select an operation mode of the digital camera. For example, the user can select a still image shooting mode, a movie shooting mode, a playback mode, a trimming mode, a computer connection mode, and a system setting mode. Can be used to set.

광각-줌 버튼(23w) 또는 망원-줌 버튼(23t)은 실행 모드에 따라 그 기능을 달리한다. 촬영 모드에서 광각-줌 버튼(23w) 및 망원-줌 버튼(23t)은 렌즈의 화각을 변경하기 위해 입력된다. 즉, 광각-줌 버튼(23w)을 입력하면 촬영하고자 하는 피사체가 멀리 떨어져 보이고, 망원-줌 버튼(23t)을 입력하면 촬영하고자 하는 피사체가 가깝게 보인다. 재생 모드에서 광각-줌 버튼(23w)을 입력하면 이미지가 축소되어 디스플레이 되며, 망원-줌 버튼(23t)을 입력하면 이미지가 확대되어 디스플레이 된다. The wide-zoom button 23w or the tele-zoom button 23t varies its function depending on the execution mode. In the shooting mode, the wide-angle zoom button 23w and the tele-zoom button 23t are input to change the angle of view of the lens. That is, when the wide-zoom button 23w is inputted, the subject to be photographed is far away, and when the telephoto-zoom button 23t is inputted, the subject to be photographed is closer. In the playback mode, when the wide-zoom button 23w is pressed, the image is reduced and displayed. When the tele-zoom button 23t is pressed, the image is enlarged and displayed.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 도시하는 블록도이다. FIG. 3 is a block diagram showing the configuration of the digital image processing apparatus shown in FIGS. 1 and 2.

렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈 및 보상 렌즈를 포함한다.An optical system (OPS) including a lens unit and a filter unit optically processes light from a subject. The lens unit of the optical system OPS includes a zoom lens, a focus lens, and a compensation lens.

사용자가 사용자 입력부(INP)에 포함된 광각-줌 버튼(23w) 또는 망원-줌 버튼(23t)을 누르면, 이에 상응하는 신호가 마이크로제어기(312)에 입력된다. 이에 따라, 마이크로제어기(312)가 렌즈 구동부(310)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. 즉, 광각-줌 버튼(25w)이 눌려지면 줌 렌즈의 초점 길이(focal length)가 짧아져서 화각이 넓어지고, 망원-줌 버튼(25t)이 눌려지면 줌 렌즈의 초점 길이가 길어져서 화각이 좁아진다. 여기서, 줌 렌즈의 위치가 설 정된 상태에서 포커스 렌즈의 위치가 조정되므로, 화각은 포커스 렌즈의 위치에 대하여 거의 영향을 받지 않는다. When the user presses the wide-angle zoom button 23w or the tele-zoom button 23t included in the user input unit INP, a signal corresponding thereto is input to the microcontroller 312. Accordingly, as the microcontroller 312 controls the lens driver 310, the zoom motor M Z is driven to move the zoom lens. That is, when the wide-zoom button 25w is pressed, the focal length of the zoom lens is shortened to widen the angle of view, and when the tele-zoom button 25t is pressed, the focal length of the zoom lens is long and the angle of view is narrowed. Lose. Here, since the position of the focus lens is adjusted while the position of the zoom lens is set, the angle of view is hardly influenced by the position of the focus lens.

한편, 자동 초점 모드에 있어서, 디지털 신호 처리기(307) 안에 내장된 주 제어기가 마이크로제어기(312)를 통하여 렌즈 구동부(310)를 제어함에 의하여 포커스 모터(MF)가 구동된다. 이에 따라 포커스 렌즈가 맨 앞쪽에서 맨 뒤쪽으로 이동되며, 이 과정에서 화상 신호의 고주파 성분이 가장 많아지는 포커스 렌즈의 위치 예를 들어, 포커스 모터(MF)의 구동 스텝 수가 설정된다. Meanwhile, in the auto focus mode, the focus motor M F is driven by the main controller embedded in the digital signal processor 307 controlling the lens driver 310 through the microcontroller 312. As a result, the focus lens is moved from the front to the rear, and in this process, the position of the focus lens where the high frequency component of the image signal is the largest, for example, the number of driving steps of the focus motor M F is set.

보상 렌즈는 전체적인 굴절률을 보상하는 역할을 하므로 별도로 구동되지 않는다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다.The compensation lens compensates for the overall refractive index and is not driven separately. Reference symbol M A denotes a motor for driving an aperture (not shown).

광학계(OPS)의 필터부에 있어서, 광학적 저역통과필터(Optical Low Pass Filter)는 고주파 성분의 광학적 노이즈를 제거한다. 적외선 차단 필터(Infra-Red cut Filter)는 입사되는 빛의 적외선 성분을 차단한다.In the filter section of the optical system (OPS), an optical low pass filter removes optical noise of a high frequency component. Infra-red cut filter blocks the infrared component of incident light.

CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide- Semiconductor)의 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 아날로그 신호로 변환시킨다. 여기서, 디지털 신호 처리기(307)는 타이밍 회로(302)를 제어하여 광전 변환부(OEC)와 아날로그-디지털 변환부(301)의 동작을 제어한다. 아날로그-디지털 변환부로서의 CDS-ADC(Correlation Double Sampler and Analog-to-Digital Converter) 소자(301)는, 광전 변환부(OEC)로부터의 아날로그 신호를 처리 하여, 그 고주파 노이즈를 제거하고 진폭을 조정한 후, 디지털 신호로 변환시킨다. A photoelectric conversion unit (OEC) of a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) converts light from an optical system (OPS) into an electrical analog signal. Here, the digital signal processor 307 controls the timing circuit 302 to control the operations of the photoelectric converter OEC and the analog-digital converter 301. The CDS-ADC (Correlation Double Sampler and Analog-to-Digital Converter) element 301 as an analog-to-digital converter processes the analog signal from the photoelectric converter (OEC), removes the high frequency noise, and adjusts the amplitude. After that, it is converted into a digital signal.

실시간 클럭(303)은 디지털 신호 처리기(307)에 시간 정보를 제공한다. 디지털 신호 처리기(307)는 CDS-ADC 소자(301)로부터의 디지털 신호를 처리하여 휘도 및 색도 신호로 분류된 디지털 화상 신호를 발생시킨다. The real time clock 303 provides time information to the digital signal processor 307. The digital signal processor 307 processes the digital signal from the CDS-ADC element 301 to generate a digital image signal classified into luminance and chroma signals.

디지털 신호 처리기(307)에 내장된 제어기의 제어에 따라 마이크로 제어기(312)에 의하여 구동되는 발광부(LAMP)에는, 도시되지는 않았으나 셀프-타이머 램프, 자동-초점 램프, 모드 지시 램프 및 플래시 대기 램프가 포함된다. 사용자 입력부(INP)는 셔터 릴리즈 버튼(11), 방향 버튼(21), 광각-줌 버튼(23w) 및 망원-줌 버튼(23t) 등을 포함한다.Although not shown, the light-emitting portion LAMP driven by the microcontroller 312 under the control of a controller embedded in the digital signal processor 307, a self-timer lamp, an auto-focus lamp, a mode indicating lamp and a flash standby A lamp is included. The user input unit INP includes a shutter release button 11, a direction button 21, a wide-angle zoom button 23w, a telephoto-zoom button 23t, and the like.

DRAM(Dynamic Random Access Memory, 304)에는 디지털 신호 처리기(307)로부터의 디지털 화상 신호가 일시 저장된다. EEPROM(Electrically Erasable and Programmable Read Only Memory, 305)에는 디지털 신호 처리기(307)의 동작에 필요한 부팅 프로그램 및 키 입력 프로그램 등과 같은 알고리즘 및 설정 데이터가 저장된다. 메모리 카드 인터페이스(306)에서는 사용자의 메모리 카드가 착탈된다.A digital image signal from the digital signal processor 307 is temporarily stored in a DRAM (Dynamic Random Access Memory) 304. The EEPROM (Electrically Erasable and Programmable Read Only Memory) 305 stores algorithms and setting data such as a boot program and a key input program required for the operation of the digital signal processor 307. In the memory card interface 306, the user's memory card is detached.

디지털 신호 처리기(307)로부터의 디지털 화상 신호는 디스플레이 패널 구동부(314)에 입력되고, 이로 인하여 디스플레이 패널(25)에 화상이 디스플레이 된다.The digital image signal from the digital signal processor 307 is input to the display panel driver 314, thereby displaying the image on the display panel 25.

한편, 디지털 신호 처리기(307)로부터의 디지털 화상 신호는, USB(Universal Serial Bus) 접속부(31a) 또는 RS232C 인터페이스(308)와 그 접속부(31b)를 통하여 직렬 통신으로써 전송될 수 있고, 비데오 필터(309) 및 비데오 출력부(31c)를 통하여 비데오 신호로서 전송될 수 있다. 여기서, 디지털 신호 처리기(307)는 그 내부 에 마이크로제어기를 내장하고 있다.On the other hand, the digital image signal from the digital signal processor 307 can be transmitted by serial communication via the Universal Serial Bus (USB) connection 31a or the RS232C interface 308 and its connection 31b, and the video filter ( 309 and the video output unit 31c may be transmitted as a video signal. Here, the digital signal processor 307 has a microcontroller therein.

오디오 처리기(313)는, 마이크로폰(MIC)으로부터의 음성 신호를 디지털 신호 처리기(307) 또는 스피커(SP)로 출력하고, 디지털 신호 처리기(307)로부터의 오디오 신호를 스피커(SP)로 출력한다. The audio processor 313 outputs the audio signal from the microphone MIC to the digital signal processor 307 or the speaker SP, and outputs the audio signal from the digital signal processor 307 to the speaker SP.

도 4는 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 자세 감지 방법의 동작을 설명하기 위한 흐름도이다. 4 is a flowchart illustrating an operation of a posture detection method of a digital image processing apparatus according to an embodiment of the present invention.

먼저, 디지털 카메라에 동작 전원이 인가되면, 디지털 카메라는 초기화를 실행한다(41). 초기화 단계(41)가 실행되면, 디지털 카메라는 프리뷰 모드를 수행할 수 있다. 상기 프리뷰 모드에서 입력 영상이 디스플레이 패널(25)에 디스플레이된다. First, when operating power is applied to the digital camera, the digital camera executes initialization (41). When the initialization step 41 is executed, the digital camera may perform the preview mode. In the preview mode, the input image is displayed on the display panel 25.

다음으로, 셔터 릴리즈 버튼으로부터 1단 신호인 SH1 신호가 온 상태로 되면(42), 디지털 카메라는 자동 포커싱 모드를 수행한다. Next, when the SH1 signal, which is the first stage signal, is turned on from the shutter release button (42), the digital camera performs an auto focusing mode.

다음으로, 도 3의 광전 변환부(OEC)의 전체 영역을 복수의 부분 영역들로 나누고, 상기 각 부분 영역에서 최대 포커스 값(FVmax)을 측정하고(43), 상기 최대 포커스 값(FVmax)에 대응하는 최대 포커스 위치 값(FPmax)을 구한다(44). Next, the entire region of the photoelectric conversion unit OEC of FIG. 3 is divided into a plurality of partial regions, and the maximum focus value FVmax is measured 43 in each of the partial regions, and the maximum focus value FVmax is determined. The corresponding maximum focus position value FPmax is obtained (44).

도 5는 복수의 부분 영역들에서 칼럼 및 라인의 예를 설명하기 위한 도면이고, 도 6은 복수의 부분 영역들에서 상부, 하부, 좌부 및 우부 부분 영역들의 예를 설명하기 위한 도면이다.5 is a diagram for describing an example of a column and a line in a plurality of partial regions, and FIG. 6 is a diagram for describing an example of upper, lower, left, and right partial regions in the plurality of partial regions.

도 5 및 도 6을 참조하면, 전체 영역을 5×5의 부분 영역들로 나누었다. 하지만, 이에 한정되지 않고 당업자에 의해 용이하게 변형될 수 있을 것이다. 예컨 대, 전체 영역을 3×3 이상의 부분 영역들로 나눌 수 있다. 5 and 6, the entire area is divided into 5 × 5 partial areas. However, the present invention is not limited thereto and may be easily modified by those skilled in the art. For example, the whole area may be divided into 3 × 3 or more partial areas.

다음으로, 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균 및 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 이용하여 디지털 영상 처리 장치의 자세가 수직 및 수평 중 어느 것인지를 판단한다(45). Next, using the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the vertically arranged columns and the average of the difference of the maximum focus position values FPmax of the partial regions belonging to the horizontally arranged lines, It is determined whether the attitude of the image processing apparatus is vertical or horizontal (45).

다음으로, 상기 단계(45)에서 디지털 영상 처리 장치의 자세를 수평으로 판단한 경우, 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 이용하여 디지털 영상 처리 장치의 자세가 0도 및 180도 중 어느 것인지를 판단한다(46). Next, when the attitude of the digital image processing apparatus is horizontally determined in the step 45, the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the vertically arranged columns may be used. It is determined whether the posture is 0 degrees or 180 degrees (46).

다음으로, 상기 단계(45)에서 디지털 영상 처리 장치의 자세를 수직으로 판단한 경우, 수평으로 배열된 라인럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 이용하여 디지털 영상 처리 장치의 자세가 90도 및 270도 중 어느 것인지를 판단한다(47).Next, when the attitude of the digital image processing apparatus is vertically determined in the step 45, the digital image processing apparatus is obtained by using an average of the difference between the maximum focus position values FPmax of the partial regions belonging to the horizontally arranged line rum. It is determined whether the posture is 90 degrees or 270 degrees (47).

다음으로, 상기 단계들에서 판단된 디지털 영상 처리 장치의 자세 값들, 즉, 수평, 수직, 0도, 90도 180도 또는 270도의 정보를 태그에 기록한다(48). Next, the posture values of the digital image processing apparatus determined in the above steps, that is, horizontal, vertical, 0 degrees, 90 degrees, 180 degrees, or 270 degrees, are recorded in the tag (48).

도 7은 도 4의 수직 및 수평 판단 단계(45)의 상세한 동작을 설명하기 위한 흐름도이다. 7 is a flowchart for explaining a detailed operation of the vertical and horizontal determination step 45 of FIG.

도 7을 참조하면, 본 발명에 따른 디지털 영상 처리 장치의 자세 감지 방법은 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 1 설정 값(C1)보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 단계(451), 및 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 1 설정 값(C1)보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 단계(456)를 포함한다. Referring to FIG. 7, in the attitude sensing method of the digital image processing apparatus according to the present invention, the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the vertically arranged columns is smaller than the first setting value C1. In a case of determining the posture of the digital image processing apparatus horizontally (451), and the average of the difference between the maximum focus position values (FPmax) of the partial regions belonging to the horizontally arranged line is smaller than the first set value (C1) In operation 456, the attitude of the digital image processing apparatus may be vertically determined.

도 7을 보다 상세하게 설명하면, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 제 1 설정 값(C1)과 비교하고(451), 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 제 1 설정 값(C1)과 비교한다(452, 456). Referring to FIG. 7 in detail, the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the column is compared with the first setting value C1 (451), and the maximum focus position of the partial regions belonging to the line. The average of the difference between the values FPmax is compared with the first set value C1 (452, 456).

상기 칼럼은 도 5의 각 칼럼들, 즉 A11-A51, A12-A52, A13-A53, A14-A54 및 A15-A55의 칼럼들 중 하나일 수 있지만, 중앙 칼럼, 즉 A13-A53인 것이 바람직하다. 마찬가지로, 상기 라인은 도 5의 각 라인들, 즉 A11-A15, A21-A25, A31-A35, A41-A45 및 A51-A55의 라인들 중 하나일 수 있지만, 중앙 라인, 즉 A31-A35인 것이 바람직하다.The column may be one of the respective columns of FIG. 5, namely A11-A51, A12-A52, A13-A53, A14-A54 and A15-A55, but is preferably a central column, A13-A53. . Similarly, the line may be one of the respective lines of FIG. 5, that is, the lines of A11-A15, A21-A25, A31-A35, A41-A45 and A51-A55, but the center line is A31-A35. desirable.

상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균은 서로 인접하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균일 수 있다. The average of the difference between the maximum focus position values FPmax of the partial regions belonging to the column or line may be the average of the difference between the maximum focus position values FPmax of the partial regions adjacent to each other.

다르게는, 상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균은 조합 가능한 모든 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균일 수 있다. Alternatively, the average of the differences of the maximum focus position values FPmax of the partial regions belonging to the column or line may be the average of the differences of the maximum focus position values FPmax of all the combinable partial regions.

칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균 및 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 각각 제 1 설정 값(C1)과 비교하면(451, 452, 456), 4가지의 경우의 수가 생긴다. When the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the column and the difference of the maximum focus position values FPmax of the partial regions belonging to the line are compared with the first set value C1, respectively (451, 452, 456) and four cases.

칼럼의 차이의 평균이 제 1 설정 값(C1)보다 작고 라인의 차이의 평균이 제 1 설정 값(C1) 이상인 경우 수평으로 1차 판단한다(453). 칼럼의 차이의 평균이 제 1 설정 값(C1) 이상이고 라인의 차이의 평균이 제 1 설정 값(C1)보다 작은 경우 수직으로 1차 판단한다(457). 한편, 칼럼의 차이의 평균이 제 1 설정 값(C1)보다 작고 라인의 차이의 평균도 제 1 설정 값(C1)보다 작은 경우이거나, 칼럼의 차이의 평균이 제 1 설정 값(C1) 이상이고 라인의 차이의 평균도 제 1 설정 값(C1) 이상인 경우에는 자세에 대한 판단을 유보한다. When the mean of the difference between the columns is smaller than the first set value C1 and the mean of the difference between the lines is equal to or greater than the first set value C1, the first determination is performed horizontally (453). If the mean of the difference between the columns is greater than or equal to the first set value C1 and the mean of the difference between the lines is less than the first set value C1, the first determination is vertically performed (457). On the other hand, the mean of the difference between the columns is smaller than the first setting value C1 and the mean of the difference between the lines is also smaller than the first setting value C1, or the mean of the difference between the columns is equal to or greater than the first setting value C1. When the average of the difference between the lines is also equal to or greater than the first set value C1, the judgment on the posture is reserved.

본 발명에 따른 디지털 영상 처리 장치의 자세 감지 방법은 수직으로 긴 형태의 피사체, 예컨대, 인물, 건물 및 나무 등을 촬영할 때 우수한 효과를 발휘할 수 있다. 수직으로 긴 형태의 피사체의 경우 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들은 서로 유사한 반면, 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들은 서로 상이할 것이기 때문이다. The posture detection method of the digital image processing apparatus according to the present invention may exhibit an excellent effect when photographing a vertically long subject, for example, a person, a building, a tree, and the like. This is because the maximum focus position values FPmax of the partial regions belonging to the column are similar to each other in the case of a vertically long subject, while the maximum focus position values FPmax of the partial regions belonging to the line will be different from each other.

디지털 영상 처리 장치의 자세를 보다 강건하게 판단하기 위하여, 상기에서 수평으로 1차 판단한 경우(453) 및 수직으로 1차 판단한 경우(457)에 대해 추가적인 판단을 수행한다. In order to more robustly determine the posture of the digital image processing apparatus, an additional determination is performed on the case where the horizontal primary first determination 453 and the vertical primary determination 457 are performed.

즉, 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우(453), 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 2 설정 값(C2) 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 2차 판단한다(455). That is, when the posture of the digital image processing apparatus is determined to be horizontal (453), when the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the line is greater than or equal to the second set value C2, the digital image processing apparatus. The second posture of the posture is determined horizontally (455).

또한, 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우(457), 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 2 설정 값(C2) 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 2차 판단한다. In addition, when the posture of the digital image processing apparatus is determined to be vertical (457), the digital image processing apparatus when the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the column is greater than or equal to the second set value C2. Determine the posture of the second vertically.

도 8은 도 4의 0도 및 180도 판단 단계의 상세한 동작을 설명하기 위한 흐름도이다.8 is a flowchart illustrating a detailed operation of the 0 degree and 180 degree determination steps of FIG. 4.

도 8의 각 단계는 이전 단계에서 디지털 영상 처리 장치의 자세를 수평으로 판단한 경우에 수행한다. Each step of FIG. 8 is performed when the posture of the digital image processing apparatus is horizontally determined in the previous step.

먼저, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분한다. 예컨대, 도 6의 중앙 칼럼(A13-A53)에 속하는 부분 영역들을 중앙 부분 영역(A33)을 기준으로 상부 부분 영역들(A13-A33) 및 하부 부분 영역들(A33-A53)로 구분할 수 있다. First, the partial regions belonging to the column are divided into upper partial regions and lower partial regions based on the central partial region. For example, the partial regions belonging to the central columns A13-A53 of FIG. 6 may be divided into upper partial regions A13-A33 and lower partial regions A33-A53 based on the central partial region A33.

다음으로, 상부 부분 영역들(A13-A33)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작고 하부 부분 영역들(A33-A53)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단한다. Next, the average of the difference between the maximum focus position values FPmax of the upper partial regions A13-A33 is smaller than the third set value C3 and the maximum focus position value FPmax of the lower partial regions A33-A53. If the average of the differences is greater than or equal to the fourth set value C4, the posture of the digital image processing apparatus is determined to be 180 degrees.

다음으로, 상부 부분 영역들(A13-A33)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상이고 하부 부분 영역들(A33-A53)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단한다. Next, the average of the differences between the maximum focus position values FPmax of the upper partial regions A13-A33 is greater than or equal to the fourth set value C4 and the maximum focus position value FPmax of the lower partial regions A33-A53. If the average of the differences between the?) Is smaller than the third set value C3, the posture of the digital image processing apparatus is determined as 0 degrees.

도 9는 도 4의 90도 및 270도 판단 단계의 상세한 동작을 설명하기 위한 흐 름도이다.FIG. 9 is a flowchart for describing detailed operations of the 90 and 270 degree determination steps of FIG. 4.

도 9의 각 단계는 이전 단계에서 디지털 영상 처리 장치의 자세를 수직으로 판단한 경우에 수행한다. Each step of FIG. 9 is performed when the posture of the digital image processing apparatus is vertically determined in the previous step.

먼저, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부분 영역들 및 우부 부분 영역들로 구분한다. 예컨대, 도 6의 중앙 라인(A31-A35)에 속하는 부분 영역들을 중앙 부분 영역(A33)을 기준으로 좌부 부분 영역들(A31-A33) 및 우부 부분 영역들(A33-A35)로 구분할 수 있다.First, partial regions belonging to a line are divided into left partial regions and right partial regions based on the central partial region. For example, the partial regions belonging to the center lines A31-A35 of FIG. 6 may be divided into the left partial regions A31-A33 and the right partial regions A33-A35 based on the central partial region A33.

다음으로, 우부 부분 영역들(A33-A35)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작고 좌부 부분 영역들(A31-A33)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단한다.Next, the average of the difference between the maximum focus position values FPmax of the right partial regions A33-A35 is smaller than the third set value C3 and the maximum focus position value FPmax of the left partial regions A31-A33. If the average of the differences of the?) Is greater than or equal to the fourth set value C4, the posture of the digital image processing apparatus is determined to be 90 degrees.

다음으로, 우부 부분 영역들(A33-A35)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상이고 좌부 부분 영역들(A31-A33)의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단한다.Next, the average of the difference between the maximum focus position values FPmax of the right partial regions A33-A35 is equal to or greater than the fourth set value C4 and the maximum focus position value FPmax of the left partial regions A31-A33. If the average of the differences between the two values is smaller than the third set value C3, the posture of the digital image processing apparatus is determined to be 270 degrees.

도 8 및 도 9의 각 단계는 수직으로 긴 형태의 피사체, 예컨대, 인물, 건물 및 나무 등을 통상적으로 촬영하는 경우를 가정한 것으로, 즉, 예컨대 인물을 촬영할 때 인물의 상부에 여백을 많이 두고, 하부에는 여백을 적게 두는 것을 가정한 것이다.8 and 9 assume a case where a user normally photographs a vertically long subject, for example, a person, a building, and a tree. That is, when photographing a person, for example, the user places a lot of blank space on the upper part of the person. In this case, it is assumed that there is less space in the lower part.

본 발명에 있어서, 제 1 내지 제 4 설정 값(C1, C2, C3, C4)은 특별한 값에 한정되지 않으며, 당업자라면 본 명세서를 기초로 반복 실험을 통해 최적의 값을 선택할 수 있을 것이다. In the present invention, the first to fourth set values C1, C2, C3, and C4 are not limited to particular values, and those skilled in the art will be able to select an optimal value through repeated experiments based on the present specification.

도 10은 본 발명의 일 실시예에 따른 디지털 영상 처리 장치의 자세 감지 장치의 구성을 도시하는 블록도이다. FIG. 10 is a block diagram illustrating a configuration of a posture detecting apparatus of a digital image processing apparatus according to an exemplary embodiment.

도 10을 참조하면, 본 발명의 디지털 영상 처리 장치의 자세 감지 장치는 자동 포커싱 제어부(101), 수평 및 수직 판단부(102), 0도 및 180도 판단부(103) 및 90도 270도 판단부(104)를 포함한다. Referring to FIG. 10, the posture detection apparatus of the digital image processing apparatus of the present invention may determine the automatic focusing controller 101, the horizontal and vertical determination unit 102, the 0 degree and 180 degree determination unit 103, and the 90 degree 270 degree determination. Part 104 is included.

자동 포커싱 제어부(101)는 자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커스 값(FVmax)을 측정하고, 상기 최대 포커스 값(FVmax)에 대응하는 최대 포커스 위치 값(FPmax)을 측정한다. The auto focusing control unit 101 performs auto focusing to measure the maximum focus value FVmax in each of the plurality of partial regions and to measure the maximum focus position value FPmax corresponding to the maximum focus value FVmax.

수평 및 수직 판단부(102)는 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균 및 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균을 이용하여 디지털 영상 처리 장치의 자세가 수직 및 수평 중 어느 것인지를 판단한다. 수평 및 수직 판단부(102)는 수평 판단부(1021) 및 수직 판단부(1022)를 포함한다. The horizontal and vertical determination unit 102 determines the average of the differences between the maximum focus position values FPmax of the partial regions belonging to the vertically arranged columns and the difference between the maximum focus position values FPmax of the partial regions belonging to the horizontally arranged lines. The attitude of the digital image processing apparatus is determined to be either vertical or horizontal using an average of. The horizontal and vertical determination unit 102 includes a horizontal determination unit 1021 and a vertical determination unit 1022.

수평 판단부(1021)는 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 1 설정 값(C1)보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단한다. The horizontal determiner 1021 horizontally determines the posture of the digital image processing apparatus when the average of the differences between the maximum focus position values FPmax of the partial regions belonging to the vertically arranged columns is smaller than the first set value C1. .

수평 판단부(1021)는 보다 강건한 판단을 위하여, 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 라인에 속하는 부분 영역들의 최대 포커스 위 치 값(FPmax)들의 차이의 평균이 제 2 설정 값(C2) 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 추가로 판단할 수 있다. When the posture of the digital image processing apparatus is determined to be horizontal, the horizontal determiner 1021 determines that the average of the differences between the maximum focus position values FPmax of the partial regions belonging to the line is the second set value. In the case of (C2) or higher, the posture of the digital image processing apparatus may be further horizontally determined.

수직 판단부(1022)는 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 1 설정 값(C1)보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단한다. The vertical determiner 1022 vertically determines the posture of the digital image processing apparatus when the average of the differences between the maximum focus position values FPmax of the partial regions belonging to the horizontally arranged lines is smaller than the first set value C1. .

수직 판단부(1022)는 보다 강건한 판단을 위하여, 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 2 설정 값(C2) 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 추가로 판단할 수 있다. For a more robust determination, the vertical determiner 1022 determines that the average of the difference between the maximum focus position values FPmax of the partial regions belonging to the column is equal to the second set value when the posture of the digital image processing apparatus is determined vertically. C2) In case of abnormality, the posture of the digital image processing apparatus may be further vertically determined.

0도 및 180도 판단부(103)는 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분하고, 상기 상부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작고 하부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단하고, 상기 상부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상이고 하부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단한다. When the attitude of the digital image processing apparatus is determined to be horizontal, the 0 degree and 180 degree determination units 103 classify the partial regions belonging to the column into upper partial regions and lower partial regions based on the central partial region. The average of the difference between the maximum focus position values FPmax of the upper partial regions is smaller than the third set value C3 and the average of the difference between the maximum focus position values FPmax of the lower partial regions is greater than or equal to the fourth set value C4. In this case, the attitude of the digital image processing apparatus is determined to be 180 degrees, and the average of the difference between the maximum focus position values FPmax of the upper partial regions is greater than or equal to a fourth set value C4 and the maximum focus position values FPmax of the lower partial regions. If the average of the difference is smaller than the third set value C3, the posture of the digital image processing apparatus is determined as 0 degrees.

90도 및 270도 판단부(104)는 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부 분 영역들 및 우부 영역들로 구분하고, 상기 우부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작고 좌부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단하고, 상기 우부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 4 설정 값(C4) 이상이고 좌부 부분 영역들의 최대 포커스 위치 값(FPmax)들의 차이의 평균이 제 3 설정 값(C3)보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단한다. When the posture of the digital image processing apparatus is determined to be vertical, the 90 degree and 270 degree determination units 104 classify the partial regions belonging to the line into the left partial regions and the right region based on the central partial region. The average of the difference between the maximum focus position values FPmax of the right partial regions is smaller than the third set value C3 and the average of the difference between the maximum focus position values FPmax of the left partial regions is equal to or greater than a fourth set value C4. In this case, the attitude of the digital image processing apparatus is determined to be 90 degrees, and the average of the difference between the maximum focus position values FPmax of the right partial regions is equal to or greater than a fourth set value C4 and the maximum focus position values FPmax of the left partial regions. If the average of the difference is smaller than the third set value C3, the posture of the digital image processing apparatus is determined to be 270 degrees.

본 발명에 따른 디지털 영상 처리 장치의 전원 제어 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 정보가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플라피디스크, 광정보 저장장치 등이 있으며, 또한 캐리어 웨이브의 형태로 구현되는 것도 포함한다. The power control method of the digital image processing apparatus according to the present invention may be embodied as computer readable codes on a computer readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which information that can be read by a computer system is stored. Examples of the computer-readable recording medium include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical information storage device, and the like, and also include a carrier wave.

상기에서 상술한 바와 같이, 본 발명의 디지털 영상 처리 장치의 자세 감지 방법 및 장치에 따르면 자이로 센서와 같은 고가의 장비를 사용하지 않고도 디지털 영상 처리 장치의 자세를 자동으로 판단할 수 있다. As described above, according to the posture detecting method and apparatus of the digital image processing apparatus of the present invention, the posture of the digital image processing apparatus may be automatically determined without using expensive equipment such as a gyro sensor.

이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다. The present invention has been described with reference to the preferred embodiments. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

Claims (13)

자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커스 위치 값을 측정하는 단계; Performing auto focusing to measure a maximum focus position value in each of the plurality of partial regions; 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 단계; 및 Judging the attitude of the digital image processing apparatus horizontally when the average of the differences between the maximum focus position values of the partial regions belonging to the vertically arranged columns is smaller than the first set value; And 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 단계를 포함하는 디지털 영상 처리 장치의 자세 감지 방법. And vertically determining a posture of the digital image processing apparatus when the average of the differences between the maximum focus position values of the partial regions belonging to the horizontally arranged lines is smaller than the first set value. 제 1항에 있어서, The method according to claim 1, 상기 최대 포커스 위치 값은 자동 포커싱에 의해 측정되는 각 부분 영역의 최대 포커스 값에 대응하는 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법. And the maximum focus position value corresponds to a maximum focus value of each partial region measured by auto focusing. 제 1항에 있어서, The method according to claim 1, 상기 칼럼 및 라인 각각은 중앙의 칼럼 및 라인인 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법. Wherein each of the columns and lines is a center column and line. 제 1항에 있어서, The method according to claim 1, 상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균은 서로 인접하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균인 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법.And the average of the difference between the maximum focus position values of the partial regions belonging to the column or the line is the average of the difference between the maximum focus position values of the partial regions adjacent to each other. 제 1항에 있어서, The method according to claim 1, 상기 칼럼 또는 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균은 조합 가능한 모든 부분 영역들의 최대 포커스 위치 값들의 차이의 평균인 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법.And the average of the difference between the maximum focus position values of the partial regions belonging to the column or the line is the average of the difference between the maximum focus position values of all the combinable partial regions. 제 1항에 있어서, The method according to claim 1, 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 단계; 및 When the posture of the digital image processing apparatus is determined to be horizontal, determining the posture of the digital image processing apparatus horizontally when an average of the difference between the maximum focus position values of the partial regions belonging to the line is greater than or equal to a second set value; And 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 단계를 더 포함하는 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법. If the posture of the digital image processing apparatus is determined to be vertical, determining the posture of the digital image processing apparatus vertically when the average of the difference between the maximum focus position values of the partial regions belonging to the column is greater than or equal to a second set value. Posture detection method of a digital image processing apparatus, characterized in that. 제 1항에 있어서, The method according to claim 1, 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, If the posture of the digital image processing apparatus is determined to be horizontal, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분하는 단계;Dividing the partial regions belonging to the column into upper partial regions and lower partial regions based on the central partial region; 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단하는 단계; 및 When the average of the difference between the maximum focus position values of the upper partial regions is smaller than a third setting value and the average of the difference between the maximum focus position values of the lower partial regions is greater than or equal to a fourth setting value, the attitude of the digital image processing apparatus is determined to be 180 degrees. step; And 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단하는 단계를 더 포함하고When the average of the difference between the maximum focus position values of the upper partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the lower partial regions is smaller than a third set value, the attitude of the digital image processing apparatus is determined to be 0 degrees. More steps 상기 제 3 설정 값은 상기 제4 설정 값보다 작은 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법.The third setting value is smaller than the fourth setting value, the posture detecting method of the digital image processing apparatus. 제 1항에 있어서, The method according to claim 1, 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, If the posture of the digital image processing apparatus is determined to be vertical, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부분 영역들 및 우부 영역들로 구분하는 단계; Dividing the partial regions belonging to the line into the left partial regions and the right region based on the central partial region; 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단하는 단계; 및 When the average of the difference between the maximum focus position values of the right partial regions is smaller than a third setting value and the average of the difference between the maximum focus position values of the left partial regions is greater than or equal to a fourth setting value, the posture of the digital image processing apparatus is determined to be 90 degrees. step; And 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단하는 단계를 더 포함하고When the average of the difference between the maximum focus position values of the right partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the left partial regions is smaller than a third set value, the posture of the digital image processing apparatus is determined to be 270 degrees. More steps 상기 제 3 설정 값은 상기 제4 설정 값보다 작은 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 방법.The third setting value is smaller than the fourth setting value, the posture detecting method of the digital image processing apparatus. 자동 포커싱을 수행하여 복수의 부분 영역들 각각에서 최대 포커스 값을 측정하고, 상기 최대 포커스 값에 대응하는 최대 포커스 위치 값을 측정하는 자동 포커싱 제어부; An auto focusing controller configured to perform auto focusing to measure a maximum focus value in each of the plurality of partial regions, and to measure a maximum focus position value corresponding to the maximum focus value; 수직으로 배열된 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수평으로 판단하는 수평 판단부; 및 A horizontal determination unit configured to horizontally determine a posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the vertically arranged columns is smaller than the first set value; And 수평으로 배열된 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 1 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 수직으로 판단하는 수직 판단부를 포함하는 디지털 영상 처리 장치의 자세 감지 장치. A posture sensing device of a digital image processing apparatus including a vertical determination unit which vertically determines a posture of a digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the horizontally arranged lines is smaller than the first setting value. . 제 9항에 있어서, 10. The method of claim 9, 상기 수평 판단부는 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, 라인에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수평으로 추가로 판단하고, When the posture of the digital image processing apparatus is determined to be horizontal, the horizontal determiner further horizontally postures the posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the line is greater than or equal to the second set value. Judge, 상기 수직 판단부는 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, 칼럼에 속하는 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 2 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 수직으로 추가로 판단하는 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 장치. When the posture of the digital image processing apparatus is determined to be vertical, the vertical judging unit further vertically postures the posture of the digital image processing apparatus when the average of the difference between the maximum focus position values of the partial regions belonging to the column is greater than or equal to the second set value. The posture detection device of the digital image processing device, characterized in that determining. 제 9항에 있어서, 10. The method of claim 9, 상기 디지털 영상 처리 장치의 자세가 수평으로 판단된 경우, If the posture of the digital image processing apparatus is determined to be horizontal, 칼럼에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 상부 부분 영역들 및 하부 부분 영역들로 구분하고, Subregions belonging to the column are divided into upper subregions and lower subregions based on the central subregion, 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 180도로 판단하고, When the average of the difference between the maximum focus position values of the upper partial regions is smaller than the third setting value and the average of the difference between the maximum focus position values of the lower partial regions is greater than or equal to the fourth setting value, the attitude of the digital image processing apparatus is determined to be 180 degrees. , 상기 상부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 하부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 0도로 판단하는 0도 및 180도 판단부를 더 포함하고When the average of the difference between the maximum focus position values of the upper partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the lower partial regions is smaller than a third set value, the attitude of the digital image processing apparatus is determined to be 0 degrees. Further comprises a 0 degree and a 180 degree determining unit 상기 제 3 설정 값은 상기 제4 설정 값보다 작은 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 장치.And the third setting value is smaller than the fourth setting value. 제 9항에 있어서, 10. The method of claim 9, 상기 디지털 영상 처리 장치의 자세가 수직으로 판단된 경우, If the posture of the digital image processing apparatus is determined to be vertical, 라인에 속하는 부분 영역들을 중앙 부분 영역을 기준으로 좌부 부분 영역들 및 우부 영역들로 구분하고, Sub-regions belonging to the line are divided into the left sub-regions and the right region based on the center sub-region, 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상인 경우 디지털 영상 처리 장치의 자세를 90도로 판단하고, When the average of the difference between the maximum focus position values of the right partial regions is smaller than a third setting value and the average of the difference between the maximum focus position values of the left partial regions is greater than or equal to a fourth setting value, the posture of the digital image processing apparatus is determined to be 90 degrees. , 상기 우부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 4 설정 값 이상이고 좌부 부분 영역들의 최대 포커스 위치 값들의 차이의 평균이 제 3 설정 값보다 작은 경우 디지털 영상 처리 장치의 자세를 270도로 판단하는 90도 및 270도 판단부를 더 포함하고When the average of the difference between the maximum focus position values of the right partial regions is greater than or equal to a fourth setting value and the average of the difference between the maximum focus position values of the left partial regions is smaller than a third set value, the posture of the digital image processing apparatus is determined to be 270 degrees. Further includes a 90 degree and a 270 degree judgment unit 상기 제 3 설정 값은 상기 제4 설정 값보다 작은 것을 특징으로 하는 디지털 영상 처리 장치의 자세 감지 장치.And the third setting value is smaller than the fourth setting value. 제 1항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체. A computer-readable recording medium having recorded thereon a program for executing the method according to claim 1 on a computer.
KR1020070011805A 2007-02-05 2007-02-05 Method and apparatus of detecting attitude of digital image processing device using automatic focusing KR101336235B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070011805A KR101336235B1 (en) 2007-02-05 2007-02-05 Method and apparatus of detecting attitude of digital image processing device using automatic focusing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070011805A KR101336235B1 (en) 2007-02-05 2007-02-05 Method and apparatus of detecting attitude of digital image processing device using automatic focusing

Publications (2)

Publication Number Publication Date
KR20080073148A KR20080073148A (en) 2008-08-08
KR101336235B1 true KR101336235B1 (en) 2013-12-03

Family

ID=39883069

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070011805A KR101336235B1 (en) 2007-02-05 2007-02-05 Method and apparatus of detecting attitude of digital image processing device using automatic focusing

Country Status (1)

Country Link
KR (1) KR101336235B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06313837A (en) * 1993-04-28 1994-11-08 Asahi Optical Co Ltd Automatic focus adjusting device for camera
JP2002131624A (en) 2000-10-25 2002-05-09 Olympus Optical Co Ltd Multipoint automatic focusing camera
JP2004246160A (en) 2003-02-14 2004-09-02 Sanyo Electric Co Ltd Autofocus camera
KR20060063554A (en) * 2004-12-03 2006-06-12 한국전자통신연구원 Terminal apparatus that provides data broadcasting service and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06313837A (en) * 1993-04-28 1994-11-08 Asahi Optical Co Ltd Automatic focus adjusting device for camera
JP2002131624A (en) 2000-10-25 2002-05-09 Olympus Optical Co Ltd Multipoint automatic focusing camera
JP2004246160A (en) 2003-02-14 2004-09-02 Sanyo Electric Co Ltd Autofocus camera
KR20060063554A (en) * 2004-12-03 2006-06-12 한국전자통신연구원 Terminal apparatus that provides data broadcasting service and method thereof

Also Published As

Publication number Publication date
KR20080073148A (en) 2008-08-08

Similar Documents

Publication Publication Date Title
US8427430B2 (en) Apparatus for and method of controlling digital image processing apparatus
KR20100056280A (en) Apparatus for processing digital image and method for controlling thereof
KR101594291B1 (en) Apparatus for processing digital image and method for controlling thereof
US7710492B2 (en) Imaging device and imaging method for performing automatic focus detection
KR101510101B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101336235B1 (en) Method and apparatus of detecting attitude of digital image processing device using automatic focusing
JP5293769B2 (en) Imaging apparatus and program thereof
KR101369752B1 (en) Digital image processing apparatus and method for controlling the same
JP2007335954A (en) Imaging apparatus and control method thereof
KR20080055028A (en) Digital image processing device capable of controlling attitude thereof and method of photographing self-image using the same
KR101564417B1 (en) Apparatus for processing digital image and method for controlling thereof
JP4915264B2 (en) Imaging apparatus and program thereof
JP2010032669A (en) Digital still camera, and control method therefor
KR101582085B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101385959B1 (en) Portable photographing apparatus for performing the function corresponding to determined direction when power is ON or OFF, and the controlling method of the same
KR20050045206A (en) Digital camera and controlling method thereof
KR101599883B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101364535B1 (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101510106B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101436834B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20110056102A (en) Apparatus for processing digital image and method for controlling thereof
KR20090077486A (en) Apparatus for processing digital image and method for controlling thereof
KR101288914B1 (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101284038B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20100070053A (en) Apparatus for processing digital image and method for controlling thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee