KR101799600B1 - Imaging device and method for taking image - Google Patents

Imaging device and method for taking image Download PDF

Info

Publication number
KR101799600B1
KR101799600B1 KR1020110127520A KR20110127520A KR101799600B1 KR 101799600 B1 KR101799600 B1 KR 101799600B1 KR 1020110127520 A KR1020110127520 A KR 1020110127520A KR 20110127520 A KR20110127520 A KR 20110127520A KR 101799600 B1 KR101799600 B1 KR 101799600B1
Authority
KR
South Korea
Prior art keywords
evaluation frame
evaluation
image
straight line
frame
Prior art date
Application number
KR1020110127520A
Other languages
Korean (ko)
Other versions
KR20120069558A (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 US13/324,392 priority Critical patent/US8643730B2/en
Publication of KR20120069558A publication Critical patent/KR20120069558A/en
Application granted granted Critical
Publication of KR101799600B1 publication Critical patent/KR101799600B1/en

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Abstract

본 발명은 피사체 앞에 차폐물이 존재하는 상황에서 사용자가 보조적인 조작을 하는 일 없이 높은 정도로 피사체에 포커스를 맞출 수 있다.
이를 위해 본 발명은 포커스 렌즈를 통과하는 빛을 화상신호로 변환함으로써 화상을 얻는 촬상부, 상기 촬상부에 의해 얻어지는 상기 화상에 평가틀을 배치하는 배치부, 상기 배치부에 의해 배치되는 상기 평가틀 내의 화소값 평가를 바탕으로, 상기 포커스 렌즈의 포커싱 위치를 결정하는 결정부, 및 상기 결정부에 의해 결정되는 상기 포커싱 위치로 상기 포커스 렌즈를 이동시키는 구동부를 구비하며, 상기 배치부는 상기 화상에 나타나는 직선성분과 상기 평가틀이 겹치는 경우에 상기 평가틀을 축소, 이동 또는 변형시킴으로써 상기 평가틀을 재배치하는 촬상장치를 제공한다.
The present invention can focus on a subject to a high degree without requiring a user to perform an auxiliary operation in a situation where a shield is present in front of the subject.
To this end, the present invention provides an imaging apparatus including an imaging section for obtaining an image by converting light passing through a focus lens into an image signal, a placement section for placing an evaluation frame on the image obtained by the imaging section, And a drive unit for moving the focus lens to the focusing position determined by the determination unit, wherein the arrangement unit includes a linear component appearing in the image And repositioning the evaluation frame by reducing, moving, or deforming the evaluation frame when the evaluation frame overlaps with the evaluation frame.

Figure R1020110127520
Figure R1020110127520

Description

촬상장치 및 촬영을 위한 방법{IMAGING DEVICE AND METHOD FOR TAKING IMAGE}IMAGE DEVICE AND METHOD FOR FORMING IMAGE

본 발명은 촬상장치 및 촬영을 위한 방법에 관한 것이다.The present invention relates to an imaging apparatus and a method for photographing.

일반적으로 오토 포커스 기능을 갖는 촬상장치를 사용하여 피사체를 촬상할 때, 피사체와 촬상장치 사이에 금망, 선반, 펜스 또는 창틀 등과 같은 차폐물이 존재하면 앞에 있는 차폐물에 초점이 맞춰지는 문제가 있었다.In general, when a subject is photographed using an image capturing apparatus having an autofocus function, there is a problem that a shielding object such as a net, a shelf, a fence, or a window frame exists between the subject and the image capturing device to focus on the shield in front.

이런 문제를 해결하기 위해, 종래에는 피사체 상의 한 점과 비(非)피사체 상의 한 점을 사용자가 지정하게 함으로써, 오토 포커스의 정도(精度)를 향상시키는 방법을 제안했다. 또한, 종래에는 포커스 렌즈 위치의 스캔 범위를 제한하는 모드를 설정함으로써, 전후에 위치하는 피사체와 비피사체의 분리를 쉽게 하는 방법을 제안했다. In order to solve such a problem, conventionally, a method has been proposed in which the user specifies a point on a subject and a point on a non-subject, thereby improving the accuracy (accuracy) of the autofocus. Further, conventionally, a method of easily separating a subject located in front and rear and a non-subject is set by setting a mode limiting the scan range of the focus lens position.

하지만 상기와 같은 종래에는 사용자가 피사체 및 비피사체 상의 점을 지정하는 사이에, 셔터 찬스를 놓쳐버릴 위험이 크다. 또한, 차폐물이 가는 막대 형태 또는 선 형태의 요소로 구성되는 구조체인 경우에는 화상 내에서 차폐물 상의 한 점을 지정하기는 쉽지 않다. 더욱이, 종래에는 다점 포커스에서 초점 거리에 연속적인 패턴이 존재하는 경우에는 금망에 초점을 맞추고 있다고 인식할 수 있지만, 이러한 방법은 촬상면과 금망이 평행한 위치 관계에 있다는 한정적인 상황에서만 유효하다라는 번거로움이 있다.However, in the related art as described above, there is a great risk that the user misses the shutter chance while designating the point on the subject and the non-subject. Also, in the case of a structure in which the shield is composed of thin rod-like or line-shaped elements, it is not easy to specify a point on the shield in the image. Further, although it can be recognized that focus is focused on a network when there is a continuous pattern at a focal length in a multi-view focus in the past, this method is effective only in a limited situation where the image sensing plane and the network are in a parallel positional relationship There is.

또한, 종래에는 피사체와 차폐물 간의 거리가 가까운 경우, 포커스 렌즈 위치의 스캔 범위를 제한했더라도 제한된 스캔 범위 내에서 피사체 및 차폐물의 양쪽에 포커싱이 가능해 지고, 결과로서 피사체와 차폐물을 분리시킬 수 없었다는 문제점이 있었다.Conventionally, when the distance between the subject and the shield is close to each other, even if the scan range of the focus lens is limited, it is possible to focus on both the subject and the shield within a limited scan range, and as a result, the subject and the shield can not be separated .

따라서, 본 발명은 피사체 앞에 차폐물이 존재하는 상황에서 사용자가 보조적인 조작을 할 필요 없이 피사체에 포커스를 맞출 수 있는 촬상장치 및 촬영 방법을 제공하는 것이다.Accordingly, it is an object of the present invention to provide an imaging device and a photographing method which enable a user to focus on a subject without having to perform an auxiliary operation in a situation where a shield exists in front of the subject.

본 발명의 한 실시 형태에 따르면, 포커스 렌즈를 통과하는 빛을 화상신호로 변환함으로써 화상을 얻는 촬상부, 이 촬상부에 의해 얻어지는 상기 화상에 평가틀을 배치하는 배치부, 이 배치부에 의해 배치되는 상기 평가틀 내의 화소값 평가에 준하여 상기 포커스 렌즈의 포커싱 위치를 결정하는 결정부, 및 이 결정부에 의해 결정되는 상기 포커싱 위치에 상기 포커스 렌즈를 이동시키는 구동부를 구비하고, 상기 배치부는 상기 화상에 나타나는 직선성분과 상기 평가틀이 겹치는 경우에, 상기 평가틀을 축소, 이동 또는 변형시킴으로써 상기 평가틀을 재배치하는 촬상장치가 제공된다.According to one embodiment of the present invention, there is provided an image pickup apparatus including an image pickup section for obtaining an image by converting light passing through a focus lens into an image signal, a placement section for placing an evaluation frame on the image obtained by the image pickup section, A determination section that determines a focusing position of the focus lens in accordance with the evaluation of a pixel value in the evaluation frame; and a driving section that moves the focus lens to the focusing position determined by the determination section, There is provided an image pickup apparatus for rearranging the evaluation frame by reducing, moving or deforming the evaluation frame when the linear component and the evaluation frame overlap.

이러한 구성에 의하면, 오토 포커스를 위한 평가값 산출에 사용되는 평가틀이 축소, 이동 또는 변형되어, 화상에 나타나는 직선성분과 겹치지 않도록 자동적으로 재배치된다. 따라서, 사용자가 보조적인 조작을 할 필요 없이 직선성분에 의해 구성되는 차폐물을 피하여 피사체에 포커스를 맞출 수 있다.According to this configuration, the evaluation frame used for calculating the evaluation value for autofocus is reduced, moved, or deformed, and automatically rearranged so as not to overlap with the linear component appearing in the image. Therefore, the user can focus on the subject by avoiding the shield constituted by the linear component without having to perform auxiliary operation.

또한, 상기 배치부는 상기 평가틀의 한 점(예를 들면, 직사각형의 정점)을 고정한 다음, 상기 평가틀의 각 변이 상기 화상에 나타나는 직선성분과 겹치지 않도록 상기 평가틀을 축소할 수도 있다. 이러한 구성에 의하면, 평가틀을 크게 움직이지 않고 간단히 차폐물을 피하여 평가틀을 재배치할 수 있다.Further, the arrangement section may reduce the evaluation frame so that each side of the evaluation frame does not overlap with a linear component appearing in the image, after fixing a point (for example, a vertex of a rectangle) of the evaluation frame. With this configuration, it is possible to relocate the evaluation frame by avoiding the shield easily without moving the evaluation frame greatly.

또한, 상기 배치부는 상기 직선성분이 다각형을 형성하는 경우에, 상기 평가틀의 중심과 상기 직선성분에 의해 형성되는 하나의 다각형 중심이 일치하도록 상기 평가틀을 이동시킬 수 있다. 이러한 구성에 의하면, 평가틀과 직선성분이 겹치는 범위를 감소시키고, 게다가 평가틀을 축소하거나 변형시킬 수 있다.Further, in the case where the linear component forms a polygon, the arrangement section may move the evaluation frame so that the center of the evaluation frame and the center of one polygon formed by the linear component coincide with each other. With this configuration, it is possible to reduce the range in which the evaluation frame and the linear component overlap each other, and further, the evaluation frame can be reduced or deformed.

또한, 상기 배치부는 추가로 상기 평가틀의 중심을 고정한 다음에, 상기 평가틀의 각 변이 상기 화상에 나타나는 직선성분과 겹치지 않도록 상기 평가틀을 축소할 수도 있다. 이렇게 직선성분에 의해 형성되는 다각형의 중심에 평가틀의 중심을 이동시킨 다음에 평가틀을 축소시킴으로써, 평가틀의 면적이 지나치게 작아질 가능성이 줄어들어, 포커싱 위치 결정을 위한 적절한 평가를 유지할 수 있다.The arrangement unit may further reduce the evaluation frame so that each side of the evaluation frame does not overlap with a straight line component appearing in the image after fixing the center of the evaluation frame. By moving the center of the evaluation frame to the center of the polygon formed by the linear components and reducing the evaluation frame, the possibility of the area of the evaluation frame becoming too small is reduced, and an appropriate evaluation for focusing position determination can be maintained.

상기 설명한 바와 같이, 본 발명은 피사체 앞에 차폐물이 존재하는 상황에서 사용자가 보조적인 조작을 할 필요 없이 피사체에 포커스를 맞출 수 있다는 이점이 있다.As described above, the present invention has an advantage in that a user can focus on a subject without having to perform an auxiliary operation in a situation where a shield exists in front of the subject.

도 1은 본 발명의 실시 예에 따른 촬상장치의 구성도,
도 2는 본 발명의 실시 예에 따른 화상에 배치되는 평가틀을 설명하기 위한 예시도,
도 3은 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제1 예를 나타내는 예시도,
도 4는 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제2 예를 나타내는 예시도,
도 5는 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제3 예를 나타내는 예시도,
도 6은 본 발명의 실시 예에 따른 피사체와 차폐물이 겹쳐 있는 상황의 일례를 나타내는 예시도,
도 7은 본 발명의 실시 예에 따라 촬상 처리 과정을 나타내기 위한 흐름도,
도 8은 본 발명의 실시 예에 따른 직선성분에 대한 검출 결과의 일례를 나타내는 예시도,
도 9는 본 발명의 실시 예에 따른 직선성분과 평가틀의 겹침 판정에 대해 설명하기 위한 제1 예시도,
도 10은 본 발명의 실시 예에 따른 직선성분과 평가틀의 겹침 판정에 대해 설명하기 위한 제2 예시도,
도 11은 본 발명의 제1 실시예에 관한 평가틀 재배치 처리 과정을 나타내는 흐름도,
도 12는 본 발명의 제1 실시예에 관한 평가틀 재배치 처리 결과를 나타내는 예시도,
도 13은 본 발명의 제2 실시예에 관한 평가틀 재배치 처리 과정을 나타내는 흐름도,
도 14는 본 발명의 제2 실시예에 관한 평가틀 재배치 처리에 의한 평가틀의 이동 상태를 나타내는 예시도,
도 15는 본 발명의 실시 예에 따른 평가틀의 중심에서 정점으로 이어지는 선분과 직선성분의 교점 산출에 대해 설명하기 위한 예시도,
도 16은 본 발명의 제2 실시예에 관한 평가틀 재배치 처리에 의한 평가틀의 축소 상태를 나타내는 예시도.
1 is a configuration diagram of an image pickup apparatus according to an embodiment of the present invention,
2 is an exemplary view for explaining an evaluation frame placed in an image according to an embodiment of the present invention,
3 is an exemplary view showing a first example of AF evaluation values according to a focus lens position according to an embodiment of the present invention,
4 is an exemplary view showing a second example of the AF evaluation value according to the focus lens position according to the embodiment of the present invention,
5 is an exemplary view showing a third example of the AF evaluation value according to the focus lens position according to the embodiment of the present invention,
6 is an exemplary view showing an example of a situation where a subject and a shield overlap with each other according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating an imaging process according to an embodiment of the present invention;
8 is an exemplary diagram showing an example of a detection result for a linear component according to an embodiment of the present invention;
Fig. 9 is a first example for explaining the overlap determination of a linear component and an evaluation frame according to the embodiment of the present invention, Fig.
10 is a second exemplary diagram for explaining the overlap determination of a linear component and an evaluation frame according to an embodiment of the present invention,
11 is a flowchart showing a valet replacement process according to the first embodiment of the present invention,
12 is an exemplary view showing a result of a valet relocation process according to the first embodiment of the present invention,
FIG. 13 is a flowchart showing an evaluation valet relocation process according to the second embodiment of the present invention;
14 is an exemplary view showing a moving state of an evaluation frame by the evaluation frame rearrangement process according to the second embodiment of the present invention,
15 is an exemplary diagram for explaining the calculation of an intersection point between a line segment and a line segment leading from a center to an apex of an evaluation frame according to an embodiment of the present invention;
16 is an exemplary view showing a reduced state of an evaluation frame by an evaluation frame rearrangement process according to the second embodiment of the present invention;

이하에서는 첨부된 도면을 참고하여 본 발명의 바람직한 실시 형태에 대해 상세히 설명한다. 또한, 본 명세서 및 도면에서 실질적으로 동일한 기능 구성을 갖는 구성 요소에 대해서는 동일 부호를 사용함으로써 중복 설명을 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the description and drawings, constituent elements having substantially the same functional configuration are denoted by the same reference numerals, and redundant description will be omitted.

<1. 촬상장치의 구성 예><1. Configuration example of imaging device>

도 1은 본 발명의 실시 예에 따른 촬상장치(1)의 구성도이다. 도 1을 참조하면, 촬상장치(1)는 렌즈부(10), 촬상부(20), 화상입력 제어부(30), VRAM(Video Random Access Memory)(32), SDRAM(Synchronous Random Access Memory)(34), 미디어 콘트롤러(36), 기록 미디어(38), LCD(Liquid Crystal Display)(42), LCD 드라이버(40), 압축부(44), 버스(Bus)(46), 평가값 산출부(50), 포커싱 위치 결정부(52), 렌즈 제어부(54), 구동부(56), 직선성분 검출부(60) 및 평가틀 배치부 (62)를 구비한다.1 is a configuration diagram of an image pickup apparatus 1 according to an embodiment of the present invention. 1, the image pickup apparatus 1 includes a lens unit 10, an image pickup unit 20, an image input control unit 30, a VRAM (Video Random Access Memory) 32, an SDRAM (Synchronous Random Access Memory) 34, a media controller 36, a recording medium 38, an LCD (Liquid Crystal Display) 42, an LCD driver 40, a compression unit 44, a bus 46, 50, a focusing position determination unit 52, a lens control unit 54, a driving unit 56, a linear component detection unit 60, and an evaluation frame arrangement unit 62.

렌즈부(10)는 촬상장치(1)가 실세계의 빛을 촬상하기 위한 광학적인 렌즈 그룹 및 관련된 구성 요소를 포함한다. 본 실시 형태에 있어서, 렌즈부(10)의 렌즈 그룹에는 포커스 렌즈(11)가 포함된다. 포커스 렌즈(11)를 통과하는 빛은 다음에 설명하는 촬상부(20)의 촬상소자에 입사한다. 예를 들면, 렌즈부(10)는 줌렌즈 및 조리개 기구 등을 포함할 수 있다.The lens unit 10 includes an optical lens group and associated components for imaging the light of the real world by the imaging apparatus 1. [ In the present embodiment, the focus lens 11 is included in the lens group of the lens unit 10. [ Light passing through the focus lens 11 is incident on an image pickup element of the image pickup section 20 to be described below. For example, the lens unit 10 may include a zoom lens, an aperture mechanism, and the like.

촬상부(20)는 렌즈부(10)의 렌즈 그룹을 통과하는 빛을 전기적인 화상신호로 변환함으로써, 화상을 얻는다. 촬상부(20)는 전형적으로 CCD (Charge Coupled Device) 또는 CMOS(Complementary Metal Oxide Semiconductor) 등의 촬상소자, CDS(Correlated Double Sampling)회로 및 증폭회로(AMP) 등의 신호처리회로, 및 A/D(Analog-to-Digital) 변환회로를 포함한다. 촬상부(20)에 있어서, 촬상소자에 입사한 빛은 광전 변환에 의해 전기 신호로 변환된다. 그리하여, 전기 신호는 신호처리회로에서 정형 및 증폭된 후, 디지털 형식의 화상신호로 변환된다.The image pickup section 20 obtains an image by converting light passing through the lens group of the lens section 10 into an electrical image signal. The image pickup section 20 typically includes an image pickup element such as a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor), a signal processing circuit such as a CDS (Correlated Double Sampling) circuit and an amplifier circuit (AMP) (Analog-to-Digital) conversion circuit. In the image pickup section 20, the light incident on the image pickup device is converted into an electric signal by photoelectric conversion. Thus, the electrical signal is shaped and amplified in the signal processing circuit, and then converted into a digital image signal.

화상입력 제어부(30)는 촬상부(20)로부터의 화상 입력을 제어한다. 예를 들면, 화상입력 제어부(30)는 라이브뷰 모드에서 촬상부(20)로부터 입력되는 화상을 LCD(42)에 표시한다. 또한, 화상입력 제어부(30)는 예를 들면, 셔터 버튼을 누르거나 셀프 타이머의 실효 등의 트리거에 따라 촬상부(20)에서 입력되는 화상을 기록 미디어(38)에 기록시킨다.The image input control unit (30) controls the image input from the image pickup unit (20). For example, the image input control unit 30 displays the image input from the image pickup unit 20 on the LCD 42 in the live view mode. The image input control unit 30 records an image input from the image pickup unit 20 on the recording medium 38 in accordance with, for example, a shutter button or a trigger such as the self timer expiration.

VRAM(32)은 촬상부(20)에서 입력되는 화상을 일시적으로 기억하기 위한 메모리이다. VRAM(32)에 의해 기억되는 화상은 다음에 설명하는 평가값 산출부(50) 및 직선성분 검출부(60)에 의한 처리 시에 참조된다.The VRAM 32 is a memory for temporarily storing an image input by the imaging unit 20. [ The image stored by the VRAM 32 is referred to in the processing by the evaluation value calculating section 50 and the straight line component detecting section 60, which will be described later.

SDRAM(34)은 촬상장치(1)에 의한 여러 가지 처리를 위한 일시적인 기억 영역으로서 이용된다. 촬상장치(1)에 의한 처리를 실현하는 소프트웨어는 SDRAM(34)에 격납된 다음에, 촬상장치(1)의 각 부분에 의해 실행된다.The SDRAM 34 is used as a temporary storage area for various processes by the image pickup device 1. [ The software for realizing the processing by the imaging apparatus 1 is stored in the SDRAM 34 and then executed by each part of the imaging apparatus 1. [

미디어 콘트롤러(36)는 기록 미디어(38)에 대한 데이터의 읽고 쓰기를 제어하는 콘트롤러이다. 기록 미디어(38)는 촬상장치(1)에 의해 촬상되는 화상, 영상 및 그 밖의 여러 가지 데이터를 기록한다. 기록 미디어(38)는 촬상장치(1)에 내장되는 미디어일 수 있고, 탈착 가능한 미디어일 수 있다. 촬상장치(1)는 복수의 기록 미디어(38)를 가질 수 있다.The media controller 36 is a controller that controls reading and writing of data to and from the recording medium 38. The recording medium 38 records an image, an image, and various other data captured by the image pickup apparatus 1. [ The recording medium 38 may be a medium embedded in the image pickup apparatus 1, and may be a removable medium. The image pickup apparatus 1 may have a plurality of recording media 38. [

LCD 드라이버(40)는 LCD(42)에 의한 화상 표시를 제어하는 드라이버이다. LCD(42)는 촬상부(20)에서 입력되는 촬상 전의 화상, 셔터 버튼이 눌려짐으로써 촬상되는 화상, 및 촬상에 관한 설정을 사용자가 변경하기 위한 사용자 인터페이스 화상 등, 여러 가지 화상을 화면 상에 표시한다. LCD(42)에 의해 표시되는 사용자 인터페이스 화상은 예를 들면, 나중에 설명하는 차폐물 제외 모드의 온/오프를 사용자가 바꾸기 위한 사용자 인터페이스에 관한 화상을 포함할 수 있다.The LCD driver 40 is a driver for controlling image display by the LCD 42. The LCD 42 displays various images on the screen such as an image before picking up the image picked up by the image pick-up unit 20, an image picked up by depressing the shutter button, and a user interface image for changing settings relating to picking up by the user Display. The user interface image displayed by the LCD 42 may include, for example, an image relating to a user interface for switching the on / off state of the shield exclusion mode, which will be described later, by the user.

압축부(44)는 촬상장치(1)에 의해 촬상되는 화상을 소정의 화상 압축 포맷에 따라 압축하여 화상 데이터량을 삭감한다. 소정의 화상 압축 포맷이란, 예를 들어 JPEG, JPEG200 또는 TIFF 등, 임의의 포맷일 수 있다.The compression section 44 compresses an image picked up by the image pickup apparatus 1 according to a predetermined image compression format to reduce the amount of image data. The predetermined image compression format may be any format such as JPEG, JPEG 200, or TIFF.

버스(46)는 화상입력 제어부(30), VRAM(32), SDRAM(34), 미디어 콘트롤러 (36), LCD 드라이버(40), 압축부(44), 평가값 산출부(50), 포커싱 위치 결정부(52), 렌즈 제어부(54), 직선성분 검출부(60) 및 평가틀 배치부 (62)를 상호 접속한다.The bus 46 is connected to the image input control unit 30, the VRAM 32, the SDRAM 34, the media controller 36, the LCD driver 40, the compression unit 44, the evaluation value calculation unit 50, The determination unit 52, the lens control unit 54, the linear component detection unit 60, and the evaluation frame arrangement unit 62 are interconnected.

평가값 산출부(50)는 평가틀 배치부(62)에 의해 화상 내에 배치되는 평가틀 내의 화소값을 평가하여 AF(Auto Focus) 평가값을 산출한다. The evaluation value calculating unit 50 evaluates pixel values in the evaluation frame placed in the image by the evaluation frame arrangement unit 62 and calculates an AF (Auto Focus) evaluation value.

도 2는 본 발명의 실시 예에 따른 화상에 배치되는 평가틀을 설명하기 위한 예시도이다. 2 is an exemplary view for explaining an evaluation frame placed in an image according to an embodiment of the present invention.

평가값 산출부(50)에 의해 산출되는 AF 평가값은 전형적으로 화상 콘트라스트값(contrast value)이다. 예를 들면, 평가값 산출부(50)는 평가틀 범위 내의 화상신호를 밴드 패스 필터(band pass filter)로 필터링(filtering)함으로써 고주파 성분을 추출하고, 추출된 고주파 성분의 적산값(즉, 콘트라스트값)을 산출한다. 평가값 산출부(50)에 의한 AF 평가값 산출은 예를 들면, 셔터 버튼의 반 누름 등의 오토 포커스 개시 트리거에 따라 스캔 범위 내에 있는 복수의 포커스 렌즈 위치 각각에 대해서 행해진다. 또한, 평가값 산출부(50)에 의해 산출되는 AF 평가값은 콘트라스트값과는 다른 종류의 값일 수 있다.The AF evaluation value calculated by the evaluation value calculating unit 50 is typically an image contrast value. For example, the evaluation value calculating unit 50 extracts a high frequency component by filtering an image signal within the evaluation frame range with a band pass filter, and outputs the integrated value of the extracted high frequency components (i.e., the contrast value ). The AF evaluation value calculation by the evaluation value calculation unit 50 is performed for each of a plurality of focus lens positions within the scan range in accordance with, for example, an autofocus start trigger such as half-pressing of the shutter button. The AF evaluation value calculated by the evaluation value calculating unit 50 may be a value different from the contrast value.

포커싱 위치 결정부(52)는 평가값 산출부(50)에 의해 산출되는 AF 평가값을 바탕으로 포커스 렌즈의 포커싱 위치를 결정한다. 본 발명의 실시 예에서 포커싱 위치란, 피사체에 포커스가 맞는 것으로 촬상장치(1)에 의해 판정된 포커스 렌즈의 위치를 의미한다. 포커싱 위치 결정부(52)는 예를 들면, 스캔 범위 내에 있는 복수의 포커스 렌즈 위치 중, AF 평가값의 가장 높은(콘트라스트가 극대가 되는) 위치를 포커싱 위치로서 결정할 수 있다.The focusing position determination unit 52 determines the focusing position of the focus lens based on the AF evaluation value calculated by the evaluation value calculation unit 50. [ In the embodiment of the present invention, the focusing position means the position of the focus lens judged by the image pickup apparatus 1 to be focused on the subject. The focusing position determination unit 52 can determine, as a focusing position, a position at which the AF evaluation value is the highest (i.e., the maximum contrast) among the plurality of focus lens positions within the scan range.

렌즈 제어부(54)는 렌즈부(10)의 설정을 제어하는 콘트롤러이다. 렌즈부 (10)의 설정은 예를 들면, 포커스 렌즈 위치, 조리개값, 셔터 스피드 및 줌 량 등을 포함할 수 있다. 본 실시 예에서, 렌즈 제어부(54)는 포커싱 위치 결정부(52)에 의해 포커싱 위치가 결정되면, 구동부(56)를 구동하고, 결정된 포커싱 위치로 포커스 렌즈를 이동시킨다.The lens control unit 54 is a controller for controlling the setting of the lens unit 10. The setting of the lens unit 10 may include, for example, a focus lens position, an aperture value, a shutter speed, and a zoom amount. In this embodiment, when the focusing position is determined by the focusing position determination unit 52, the lens control unit 54 drives the driving unit 56 and moves the focus lens to the determined focusing position.

구동부(56)는 드라이버 및 모터를 포함하고, 렌즈 제어부(54)에 의한 제어에 따라 렌즈부(10)의 렌즈 그룹 및 관련된 구성요소의 물리적 구성을 변화시킨다. 예를 들면, 구동부(56)는 포커싱 위치 결정부(52)에 의해 포커싱 위치가 결정되면, 결정된 포커싱 위치로 포커스 렌즈를 이동시킨다. 그렇게 하여, 피사체에 포커스가 맞은 상태로 화상을 촬상할 수 있게 된다.The driving unit 56 includes a driver and a motor and changes the physical configuration of the lens group and related components of the lens unit 10 under the control of the lens control unit 54. [ For example, when the focusing position is determined by the focusing position determination unit 52, the driving unit 56 moves the focus lens to the determined focusing position. Thus, it becomes possible to capture an image in a state in which the subject is in focus.

도 3 ~ 도 6을 사용하여, 콘트라스트 방식에서의 오토 포커스 제어에 대해 더욱 상세히 설명한다. 콘트라스트 방식에서의 오토 포커스 제어는 렌즈를 개재하여 얻어지는 화상신호의 콘트라스트 높낮이를 바탕으로 포커싱 위치를 결정하는 방법이다. 전술한 바와 같이, 화상의 콘트라스트는 AF 평가값에 대응해 있고, AF 평가값은 평가틀(AF 평가틀) 내 화상신호의 고주파 성분을 추출함으로써 생성된다. 초점 거리가 일정한 경우, 즉 줌 량이 일정한 경우에는 포커스 렌즈 위치와 피사체 거리는 의미적으로 등가이다.3 to 6, the autofocus control in the contrast method will be described in more detail. The autofocus control in the contrast method is a method for determining the focusing position on the basis of the contrast level of the image signal obtained through the lens. As described above, the contrast of the image corresponds to the AF evaluation value, and the AF evaluation value is generated by extracting the high-frequency component of the image signal in the evaluation frame (AF evaluation frame). When the focal length is constant, that is, when the zoom amount is constant, the focus lens position and the object distance are equivalent to each other.

도 3은 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제1 예를 나타내는 예시도이다. 3 is an exemplary diagram showing a first example of AF evaluation values according to a focus lens position according to an embodiment of the present invention.

포커스 렌즈 위치를 복수개의 위치로 변화시키면서, 각각의 위치에서 AF 평가값을 산출하면, AF 평가값이 극대값을 취하는 포커스 렌즈 위치(위치P01)에서, 피사체에 포커스가 맞는다(화상 Im01 참조). 이에 대해서, AF 평가값이 극대값에서 벗어난 포커스 렌즈 위치(예를 들면, 위치 P02 및 P03)에서는 피사체에 포커스가 맞지 않고, 피사체가 흐려진 화상이 얻어진다(화상 Im02 및 Im03 참조). 도 3에 도시한 예의 경우, 위치 P01이 포커싱 위치이다.When the AF evaluation value is calculated at each position while changing the focus lens position to a plurality of positions, the subject is focused on the focus lens position (position P01) at which the AF evaluation value takes the maximum value (see image Im01). On the other hand, at the focus lens positions (for example, positions P02 and P03) where the AF evaluation value deviates from the maximum value, an image in which the subject is out of focus is blurred (see images Im02 and Im03). In the example shown in Fig. 3, the position P01 is the focusing position.

도 4는 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제2 예를 나타내는 예시도이다. 4 is an exemplary view showing a second example of an AF evaluation value according to a focus lens position according to an embodiment of the present invention.

도 4의 예에서는 AF 평가값이 극대값을 갖는 포커스 렌즈 위치가 2개 존재한다(위치 P11, P12). 이 경우, 한쪽의 포커스 렌즈 위치는 피사체에 포커스가 맞는 위치이며, 다른 쪽의 포커스 렌즈 위치는 차폐물에 포커스가 맞는 위치일 가능성이 있다.In the example of FIG. 4, there are two focus lens positions (positions P11 and P12) in which the AF evaluation value has the maximum value. In this case, one focus lens position may be a position where the focus is on the subject, and the other focus lens position may be a focus position on the shield.

도 5는 본 발명의 실시 예에 따라 포커스 렌즈 위치에 따른 AF평가값의 제3 예를 나타내는 예시도이다. 5 is an exemplary view showing a third example of the AF evaluation value according to the focus lens position according to the embodiment of the present invention.

피사체와 촬상장치(1) 사이에 금망 등의 차폐물이 있고, 피사체와 차폐물이 비교적 가깝게 존재하는 경우에는 도 5의 예와 같은 AF 평가값의 곡선이 얻어진다. 또한, 초점 거리(줌 량)가 광각 측에 설정되어 피사계 심도가 깊은 경우에도, 피사체와 차폐물과의 피크 위치 분리가 적절히 이루어지지 않고, 도 5의 예와 같은 AF 평가값의 곡선이 얻어지는 경우가 많다. 여기서, 피사계 심도는 포커싱 위치 주변에서 포커스가 맞는 것처럼 보이는 범위를 의미한다. 일반적으로, 광학 줌의 광각 측에서는 피사계 심도가 깊고, 망원 측에서는 피사계 심도가 얕다. 단, 실제로 하나의 물체에 포커스가 맞는 위치는 피사계 심도 내의 한 점이다. 도 4 및 도 5와 같은 경우에는 종래의 오토 포커스 기능에서는 사용자가 보조적인 조작을 하지 않고 포커싱 위치를 적절히 결정하기가 어려웠다.When there is a shield such as a mesh net between the subject and the image pickup device 1 and the subject and the shield are relatively close to each other, a curve of the AF evaluation value is obtained as in the example of Fig. In addition, even when the focal length (zoom amount) is set on the wide-angle side and the depth of field is deep, the peak position separation between the subject and the shield is not appropriately performed and a curve of the AF evaluation value as in the example of Fig. many. Here, the depth of field means a range in which the focus appears to be fitted around the focusing position. Generally, the depth of field is deep on the wide angle side of the optical zoom, and the depth of field is shallow on the telephoto side. However, the point at which an object actually focuses is a point within the depth of field. 4 and 5, it is difficult for the user to appropriately determine the focusing position without performing the auxiliary operation in the conventional autofocus function.

도 6은 본 발명의 실시 예에 따른 피사체와 차폐물이 겹쳐 있는 상황의 일례를 나타내는 예시도이다. 6 is an exemplary view showing an example of a situation where a subject and a shield overlap with each other according to an embodiment of the present invention.

도 6에 도시한 화상 Im10에서는 피사체 TGT 앞에 차폐물 OBS가 존재한다. 이 경우, 평가틀 EF 내에 피사체 TGT 및 차폐물 OBS 양쪽이 비추기 때문에, AF 평가값의 곡선은 도 4 및 도 5의 예와 같이 된다. 그러나 평가틀 EF를 단순하게 이동시켜도 평가틀 EF 내에 차폐물 OBS가 비추어지는 상황을 해소할 수 없기 때문에, 포커싱 위치를 적절히 결정하기는 어렵다.In the image Im10 shown in Fig. 6, a shield OBS exists before the subject TGT. In this case, since both the subject TGT and the shield OBS are illuminated in the evaluation frame EF, the curve of the AF evaluation value becomes as shown in the example of FIG. 4 and FIG. However, even if the evaluation frame EF is simply moved, it is difficult to appropriately determine the focusing position because the situation in which the shield OBS is reflected in the evaluation frame EF can not be solved.

본 실시 형태에 관한 촬상장치(1)는 본 명세서에서 설명하는 평가틀 재배치의 구조를 갖춤으로써, 자동적으로 적절한 포커싱 위치를 결정하는 것이 가능하다.The imaging apparatus 1 according to the present embodiment can automatically determine an appropriate focusing position by having the structure of the evaluation frame rearrangement described in this specification.

도 1로 돌아가서, 촬상장치(1)의 구성을 나타내는 일례의 설명을 계속한다.Returning to Fig. 1, the description of an example showing the configuration of the image pickup apparatus 1 will be continued.

직선성분 검출부(60)는 촬상부(20)에 의해 얻어지는 화상에 나타나는 직선성분을 검출한다. 직선성분 검출부(60)는 화상 내에서 검출되는 엣지를 반(half) 변환하고, 반 변환된 함수값으로 히스토그램(histogram)을 생성하여 피크점을 식별함으로써 직선성분을 검출한다. 그 대신에, 직선성분 검출부(60)는 예를 들면, 화상 내의 엣지에 의해 분할되는 영역에 Hilditch법 또는 Zhang Suen법 등의 세선화(細線化, Thinning) 알고리즘(algorithm)을 적용함으로써, 직선성분을 검출할 수도 있다.The straight line component detection unit 60 detects a straight line component appearing in the image obtained by the imaging unit 20. The linear component detection unit 60 detects the linear component by half-converting the edge detected in the image, generating a histogram with the semi-transformed function value, and identifying the peak point. Instead, the straight line component detecting unit 60 may detect the straight line component by applying a thinning algorithm such as the Hilditch method or the Zhang Suen method to the area divided by the edge in the image, for example, May be detected.

평가틀 배치부(62)는 촬상부(20)에 의해 얻어지는 화상에, 전술한 AF 평가값을 산출하기 위한 평가틀을 배치한다. 평가틀의 초기 배치는 미리 설정되는 화상의 중앙 등의 고정적인 위치일 수 있다. 평가틀의 초기 사이즈 및 형상은 미리 설정되는 고정적인 사이즈 및 형상일 수 있다. 본 실시 형태에 있어서, 평가틀 배치부(62)는 직선성분 검출부(60)에 의해 검출되는 하나 이상의 직선성분과 평가틀이 겹치는 경우에 평가틀을 축소, 이동 또는 변형함으로써, 평가틀을 재배치한다. 본 발명에서는 이러한 평가틀의 재배치를 자동적으로 행하는 모드를 차폐물 제외 모드라고 한다.The evaluation frame arrangement section 62 arranges an evaluation frame for calculating the above-described AF evaluation value on the image obtained by the imaging section 20. [ The initial placement of the evaluation frame may be a fixed position such as the center of a preset image. The initial size and shape of the evaluation frame may be a predetermined fixed size and shape. In the present embodiment, the evaluation frame arrangement section 62 rearranges the evaluation frame by reducing, moving or deforming the evaluation frame when one or more linear components detected by the linear component detection section 60 overlap with the evaluation frame. In the present invention, a mode in which relocation of such a valuation frame is automatically performed is referred to as a "shielded material exclusion mode".

예를 들면, 평가틀 배치부(62)는 평가틀의 1점(예를 들면, 직사각형의 정점 4개 중 1점)을 고정한 다음에, 평가틀의 각 변이 어느 직선성분과도 겹치지 않도록 평가틀을 축소할 수 있다. 그 대신에, 평가틀 배치부(62)는 직선성분이 다각형을 형성할 경우에, 평가틀 중심과 직선성분에 의해 형성되는 하나의 다각형 중심이 일치하도록, 평가틀을 이동시킬 수 있다. 후자의 경우, 이동 후에 다시 하나 이상의 직선성분과 평가틀이 겹칠 경우에, 평가틀 배치부(62)는 다시 평가틀 중심을 고정시킨 후에 평가틀의 각 변이 어느 직선성분과도 겹치지 않도록 평가틀을 축소할 수 있다. 이러한 평가틀 배치부(62)에 의한 평가틀 재배치 처리에 관한 2개의 실시 예에 대해서는 나중에 더욱 구체적으로 설명한다.For example, the evaluation frame arrangement section 62 can fix the evaluation frame so that each side of the evaluation frame does not overlap with any linear component after fixing one point (for example, one point among four vertexes of the rectangle) of the evaluation frame have. Instead, the evaluation frame arranging unit 62 can move the evaluation frame so that the center of the evaluation frame and the center of one polygon formed by the linear component coincide with each other when the linear component forms a polygon. In the latter case, when one or more straight line components and the evaluation frame overlap each other after the movement, the evaluation frame arrangement unit 62 can reduce the evaluation frame so that each side of the evaluation frame does not overlap any straight line component after fixing the evaluation frame center again. The two embodiments relating to the evaluation frame rearrangement processing by the evaluation frame arranging unit 62 will be described later in more detail.

<2. 촬상 처리 흐름><2. Image Processing Process Flow>

도 7은 본 발명의 실시 예에 따라 촬상 처리 과정을 나타내기 위한 흐름도이다. FIG. 7 is a flowchart illustrating an imaging process according to an embodiment of the present invention.

도 7에 도시한 촬상 처리는 예를 들면, 촬상장치(1)가 정지화상 촬영 모드에 있는 동안 반복하여 이루어질 수 있다.The imaging process shown in Fig. 7 can be repeated, for example, while the imaging device 1 is in the still image shooting mode.

우선, 직선성분 검출부(60)는 S102단계에서 현재의 오토 포커스 기능 모드가 차폐물 제외 모드인지 아닌지를 판정한다. 여기서, 현재의 오토 포커스 기능 모드가 차폐물 제외 모드가 아닌 경우에는 S104 ~ S108 단계의 처리는 스킵(skip)된다. 한편, 현재의 오토 포커스 기능 모드가 차폐물 제외 모드인 경우에, 직선성분 검출부(60)는 S104단계에서 촬상부(20)에 의해 얻어지는 화상에 나타나는 직선성분을 검출한다. First, in step S102, the linear component detector 60 determines whether the current autofocus function mode is the shield-exclusive mode. Here, when the current autofocus function mode is not the shield-exclusive mode, the processing in steps S104 to S108 is skipped. On the other hand, in the case where the current autofocus function mode is the shield-excluding mode, the linear component detector 60 detects a linear component appearing in the image obtained by the imaging unit 20 in step S104.

도 8은 본 발명의 실시 예에 따른 직선성분에 대한 검출 결과의 일례를 나타내는 예시도이다. 8 is an exemplary diagram showing an example of detection results for a linear component according to an embodiment of the present invention.

도 8의 예에서는 화상 Im11에 비추어지는 차폐물(사선의 빗금 친 부분)에 대응하는 직선성분(L1 ~ L13)이 직선성분의 검출 결과로서 나타나 있다.In the example of Fig. 8, straight line components (L1 to L13) corresponding to the shields (shaded portions of oblique lines) projected on the image Im11 are shown as detection results of linear components.

다음에, 평가틀 배치부(62)는 S106단계에서 직선성분 검출부(60)에 의해 검출된 직선성분이 현재의 평가틀에 겹쳐있는지 아닌지를 판정한다. 직선성분과 평가틀의 겹침 유무는 예를 들면, 다음과 같이 평가틀의 한 변과 직선성분과의 교점 유무를 검증함으로써 판정할 수 있다.Next, the evaluation frame arrangement unit 62 determines whether or not the straight line component detected by the straight line component detection unit 60 in step S106 overlaps the current evaluation frame. Whether or not the straight line component and the evaluation frame overlap can be determined by verifying whether there is an intersection between one side of the evaluation frame and the straight line component as follows, for example.

이에 대해서 도 9 및 도 10을 참조하여 구체적으로 설명하도록 한다.This will be described in detail with reference to Figs. 9 and 10. Fig.

도 9는 본 발명의 실시 예에 따른 직선성분과 평가틀의 겹침 판정에 대해 설명하기 위한 제1 예시도이고, 도 10은 본 발명의 실시 예에 따른 직선성분과 평가틀의 겹침 판정에 대해 설명하기 위한 제2 예시도이다.Fig. 9 is a first exemplary view for explaining an overlapping judgment of a straight line component and an evaluation frame according to an embodiment of the present invention, and Fig. 10 is a diagram for explaining an overlapping judgment of a straight line component and an evaluation frame according to an embodiment of the present invention Fig.

도 9에 따르면, 직선성분(L1)을 촬상면에 대응하는 x-y 평면에서 y=ax+b와 같이 표시되는 것으로 한다. 또한, 평가틀에서 어느 한 변의 양 끝에 있는 정점을 V1(x1,y1)및 V2(x2,y2)라 한다. V1 및 V2 둘다 직선성분 L1로 분할되는 영역의 한쪽에 있다면, 직선성분 L1과 정점 V1 및 V2 간의 변과는 교점을 갖지 않는다. V1 및 V2가 각기 직선성분 L1의 양측에 있다면, 직선성분(L1)과 정점 V1 및 V2 간의 변과는 교점을 갖는다. 각 정점이 직선성분(L1)의 어느 측에 있는지는 z=y-ax-b라는 판정식에 정점 좌표를 대입하여 z 값의 부호를 검증함으로써 판정 가능하다. 예를 들면, 정점 V1의 좌표를 대입한 결과 및 정점 V2의 좌표를 대입한 결과의 부호가 다르다면, 정점 V1 및 정점 V2는 각기 다른 영역에 있다. 이들 부호가 같다면, 정점 V1 및 정점 V2는 같은 영역에 있다. According to Fig. 9, it is assumed that the linear component L1 is displayed as y = ax + b in the x-y plane corresponding to the imaging plane. In addition, vertexes at both ends of one side of the evaluation frame are referred to as V1 (x1, y1) and V2 (x2, y2). If both V1 and V2 are in one of the regions divided by the straight line component L1, the straight line component L1 and the edges between the vertices V1 and V2 have no intersection. If V1 and V2 are on both sides of the straight line component L1, the straight line component L1 and the edge between the vertices V1 and V2 intersect each other. Whether or not each vertex is located on the straight line component L1 can be judged by verifying the sign of the z value by substituting the vertex coordinates into a formula of z = y-ax-b. For example, if the sign of the result of substituting the coordinates of the vertex V1 and the sign of the result of substituting the coordinates of the vertex V2 are different, the vertex V1 and the vertex V2 are in different areas. If these codes are the same, vertex V1 and vertex V2 are in the same area.

또한, 도 10에 따르면, 직선성분 L1이 선분일 경우에는 정점 V1과 V2 간의 변을 직선성분이라 가정하여 직선성분 L1의 두 끝점에 대해서 같은 검증을 행함으로써, 정점 V1과 V2 간의 변과 직선성분 L1과의 교점 유무를 판정할 수 있다. 예를 들면, 두 검증 결과가 모두 교점 있음을 나타내는 경우에는 정점 V1과 V2 간의 변과 직선성분 L1과는 교점을 갖는다. 그렇지 않다면, 정점 V1과 V2 간의 변과 직선성분 L1과는 교점을 갖지 않는다. 평가틀 배치부(62)는 이러한 판정을 직선성분 검출부(60)에 의해 검출된 직선성분과 평가틀의 변과의 모든 조합에 대해 행한다. 또한, 여기서 설명한 직선성분과 평가틀과의 겹침 유무 판정 방법은 일례에 불과하며, 다른 방법을 사용할 수도 있다.10, when the straight line component L1 is a line segment, assuming that the side between the vertices V1 and V2 is a straight line component, the two end points of the straight line component L1 are subjected to the same verification, It is possible to determine whether there is an intersection with L1. For example, if the two test results indicate that there is an intersection point, the intersection between the line between the vertexes V1 and V2 and the straight line component L1. Otherwise, the edge between vertex V1 and V2 and the straight line component L1 do not intersect. The evaluation frame arrangement section 62 makes this determination for all combinations of the linear component detected by the linear component detection section 60 and the sides of the evaluation frame. The method of determining whether or not there is a superimposition of the straight line component and the evaluation frame described above is merely an example, and other methods may be used.

S106 단계에서, 어느 직선성분도 현재의 평가틀에 겹쳐있지 않다고 판정 받은 경우에는 S108 단계의 평가틀 재배치 처리는 스킵된다. 한편, 어느 직선성분이 현재의 평가틀에 겹쳐있다고 판정 받은 경우에, 평가틀 배치부(62)는 S108 단계에서 평가틀 재배치 처리를 실행하여 직선성분과 평가틀이 겹치지 않도록 평가틀을 재배치한다.If it is determined in step S106 that any linear component does not overlap the current evaluation frame, the evaluation frame rearrangement process in step S108 is skipped. On the other hand, when it is determined that the straight line component overlaps the current evaluation frame, the evaluation frame arrangement unit 62 executes the evaluation frame rearrangement process in step S108 to rearrange the evaluation frame so that the straight line component and the evaluation frame do not overlap.

다음에, 화상입력 제어부(30)는 S110단계에서 예를 들면, 셔터 버튼의 누름 등과 같은 오토 포커스 개시 트리거를 판정한다. 여기서, 오토 포커스가 개시되지 않을 경우에 처리는 S102단계로 돌아간다. 또한, 이 경우에도 LCD(42)의 화면 상에 대한 화상 표시는 하지 않을 수 있다. 한편, 오토 포커스 개시 트리거가 있는 경우에는 처리를 S112 단계로 진행한다.Next, in step S110, the image input control unit 30 determines an autofocus start trigger such as pressing of a shutter button or the like. Here, if autofocus is not started, the process returns to step S102. Also in this case, the image on the screen of the LCD 42 may not be displayed. On the other hand, if there is an autofocus start trigger, the process proceeds to step S112.

S112 및 S114 단계의 처리는 복수의 포커스 렌즈 위치에 대해서 반복하여 행해진다. 우선, S112 단계에서 평가값 산출부(50)는 그 시점에서 배치되어 있는 평가틀 내의 콘트라스트값, 즉 AF 평가값을 산출한다. 또한, 렌즈 제어부(54) 및 구동부(56)는 S114단계에서 다음 포커스 렌즈 위치로 포커스 렌즈를 이동시킨다. 이러한 루프 처리 결과, 복수의 포커스 렌즈 위치의 각각에 대해서 AF 평가값이 산출된다.Steps S112 and S114 are repeated for a plurality of focus lens positions. First, in step S112, the evaluation value calculating unit 50 calculates the contrast value in the evaluation frame disposed at that point, that is, the AF evaluation value. In addition, the lens control unit 54 and the driving unit 56 move the focus lens to the next focus lens position in step S114. As a result of this loop processing, an AF evaluation value is calculated for each of a plurality of focus lens positions.

다음에, 포커싱 위치결정부(52)는 S116단계에서 평가값 산출부(50)에 의해 산출된 AF 평가값이 극대값이 되는 포커스 렌즈 위치를 포커싱 위치로서 결정한다. 다음에, 렌즈 제어부(54) 및 구동부(56)는 S118단계에서 포커싱 위치결정부(52)에 의해 결정된 포커싱 위치로 포커스 렌즈를 이동시킨다. 그리고, 화상입력부(30)는 S120에서 피사체에 포커스가 맞은 상태에서 화상을 촬상한다. 또한, 스텝 S110에서 셔터 버튼이 반 누름 상태에 있는 경우에는 화상입력부(30)가 셔터 버튼의 완전 누름 검출을 기다려 화상을 촬상할 수도 있다.Next, the focusing position determination unit 52 determines the focus lens position at which the AF evaluation value calculated by the evaluation value calculation unit 50 becomes the maximum value as the focusing position in step S116. Next, the lens control unit 54 and the driving unit 56 move the focus lens to the focusing position determined by the focusing position determining unit 52 in step S118. Then, the image input unit 30 captures an image in a state in which the subject is in focus at S120. If the shutter button is in the half-depressed state in step S110, the image input unit 30 may wait for the detection of the full depression of the shutter button to pick up an image.

<3. 평가틀 재배치 처리의 제1 실시예><3. First Embodiment of Evaluation Frame Relocation Processing>

본 절에서는 도 7에 예시한 촬상 처리 S108 단계의 평가틀 재배치 처리의 제1 실시예에 대해서 설명한다.In this section, the first embodiment of the evaluation frame rearrangement process of the imaging process S108 shown in Fig. 7 will be described.

[3-1. 처리 흐름][3-1. Processing flow]

도 11은 본 발명의 제1 실시예에 관한 평가틀 재배치 처리 과정을 나타내는 흐름도이다. FIG. 11 is a flowchart showing a process for relocating a valuation object according to the first embodiment of the present invention.

도 11을 참조하면, 평가틀 배치부(62)는 S132단계에서 우선 그 시점에 있는 평가틀의 정점 4개 중, 고정해야 할(즉, 이동시키지 않는) 하나의 정점 V1을 선택한다. 정점 V1은 예를 들면, 화상의 중앙에 가장 가까운 정점 또는 미리 설정되는 특정 정점 등일 수 있다. 여기서는 직사각형 평가틀의 왼쪽 위에 있는 정점을 정점 V1이라 하고, 왼쪽 아래, 오른쪽 아래 및 오른쪽 위의 정점을 각각 정점 V2, V3 및 V4라 한다.Referring to FIG. 11, in step S132, the evaluation frame arrangement unit 62 selects one vertex V1 to be fixed (that is, not to be shifted) out of the four vertexes of the evaluation frame at that point. The vertex V1 may be, for example, a vertex nearest to the center of the image or a predetermined vertex preset. Here, the vertex at the upper left corner of the rectangular valuation frame is referred to as a vertex V1, and the vertices at the lower left corner, lower right corner, and upper right corner are referred to as vertices V2, V3, and V4, respectively.

다음에, 평가틀 배치부(62)는 S134 단계에서 선택한 정점 V1과 정점 V2를 잇는 변과 직선성분과의 교점 P12를 산출한다. 또한, 정점 V1과 정점 V2를 잇는 변이 어느 직선성분과도 교차하지 않는 경우에는 S134 단계의 처리는 스킵할 수 있다. 또한, 정점 V1과 정점 V2를 잇는 변이 복수의 직선성분과 교차하는 경우에는 정점 V1에 가까운 교점이 교점 P12로서 산출 된다. 마찬가지로, 평가틀 배치부(62)는 S136단계에서 선택한 정점 V1과 정점 V3을 잇는 대각선과 직선성분과의 교점 P13을 산출한다. 또한, 평가틀 배치부(62)는 S138단계에서 선택한 정점 V1과 정점 V4를 잇는 변과 직선성분 과의 교점 P14를 산출한다.Next, the evaluation-value placement unit 62 calculates an intersection P12 between the straight line component connecting the vertex V1 and the vertex V2 selected in step S134. If the line connecting the vertex V1 and the vertex V2 does not intersect with any straight line component, the process in step S134 can be skipped. When the line connecting the vertex V1 and the vertex V2 intersects a plurality of straight line components, an intersection point near the vertex V1 is calculated as the intersection P12. Similarly, the evaluation frame arrangement unit 62 calculates an intersection P13 between the diagonal line and the straight line component connecting the vertex V1 and the vertex V3 selected in step S136. In addition, the evaluation frame arrangement unit 62 calculates an intersection P14 between the straight line component connecting the vertex V1 and the vertex V4 selected in step S138.

다음에, S140단계에서 평가틀 배치부(62)는 S134, S136 및 S138 단계에서 산출한 교점 P12, P13 및 P14의 위치에 따라 정점 V2, V3 및 V4의 새로운 위치를 결정한다. 예를 들면, 교점 P12, P13 및 P14 중 어느 하나라도 존재할 경우에는 고정되는 정점 V1의 대각에 있는 정점 V3의 새로운 위치 V3'(V3'x, V3'y)는 다음과 같이 결정될 수 있다. 또한, 아래 첨자 x 및 y는 장식되는 기호가 표시하는 위치의 x좌표 및 y좌표를 각각 나타낸다.Next, in step S140, the evaluation frame arrangement unit 62 determines new positions of the vertexes V2, V3, and V4 according to the positions of the intersections P12, P13, and P14 calculated in steps S134, S136, and S138. For example, if any of the intersections P12, P13 and P14 is present, the new position V3 '(V3'x, V3'y) of the vertex V3 at the diagonal of the fixed vertex V1 can be determined as follows. The subscripts x and y represent the x-coordinate and the y-coordinate of the position indicated by the decorated symbol, respectively.

Figure 112011095544081-pat00001
Figure 112011095544081-pat00001

교점 P12 및 P13이 존재하고, 교점 P14가 존재하지 않는 경우에는 정점 V3의 새로운 위치 V3'는 다음과 같이 결정될 수 있다.If there are intersections P12 and P13, and there is no intersection P14, the new position V3 'of the vertex V3 can be determined as follows.

Figure 112011095544081-pat00002
Figure 112011095544081-pat00002

교점 P13 및 P14가 존재하고, 교점 P12가 존재하지 않는 경우에는 정점 V3의 새로운 위치 V3'는 다음과 같이 결정될 수 있다.If there are intersections P13 and P14, and there is no intersection P12, the new position V3 'of vertex V3 can be determined as follows.

Figure 112011095544081-pat00003
Figure 112011095544081-pat00003

교점 P13만이 존재하는 경우에는 정점 V3의 새로운 위치 V3'는 다음과 같이 결정될 수 있다.If only the intersection P13 is present, the new position V3 'of the vertex V3 can be determined as follows.

Figure 112011095544081-pat00004
Figure 112011095544081-pat00004

그밖의 경우에도 정점 V3의 새로운 위치 V3'는 같은 사고 방식에 따라 결정될 수 있다.In other cases, the new position V3 'of the vertex V3 may be determined according to the same thinking method.

또한, 정점 V2 및 V4의 새로운 위치 V2' 및 V4'는 정점 V3의 새로운 위치 V3'에 따라 다음과 같이 결정될 수 있다.In addition, the new positions V2 'and V4' of the vertices V2 and V4 can be determined as follows according to the new position V3 'of the vertex V3.

Figure 112011095544081-pat00005
Figure 112011095544081-pat00005

그리하여, S142단계에서 평가틀 배치부(62)는 결정한 새로운 위치로 정점 V2, V3 및 V4를 이동시킨다. Thus, in step S142, the evaluation-box placing unit 62 moves vertices V2, V3, and V4 to the determined new position.

[3-2. 처리 결과의 일례] [3-2. Example of processing result]

도 12는 본 발명의 제1 실시예에 관한 평가틀 재배치 처리 결과를 나타내는 예시도이다. 12 is an exemplary diagram showing the evaluation-value relocation processing result according to the first embodiment of the present invention.

도 12를 참조하면 평가틀이 재배치되기 전의 화상 Im11a(도면 중 왼쪽)에서 평가틀 EF의 정점 V1과 정점 V2를 잇는 변은 직선성분 L1과 교차해 있다. 또한, 정점 V1과 정점 V3을 잇는 대각선은 직선성분 L2에 교차해 있다. 정점 V1과 정점 V4를 잇는 변은 직선성분 L4와 교차해 있다. 이에 대해, 평가틀이 재배치된 후의 화상 Im11b(도면 중 오른쪽)에서 평가틀 EF는 정점 V2, V3 및 V4가 새로운 위치로 이동함으로써 축소되고, 어느 직선성분과도 겹쳐있지 않다. Referring to Fig. 12, the side connecting the vertex V1 and the vertex V2 of the evaluation frame EF intersects the straight line component L1 on the image Im11a (left side in the drawing) before the evaluation frame is relocated. The diagonal line connecting the vertex V1 and the vertex V3 intersects the straight line component L2. The edge connecting vertex V1 and vertex V4 intersects the straight line component L4. On the other hand, in the image Im11b (on the right side in the figure) after the evaluation frame is rearranged, the evaluation frame EF is reduced by moving vertices V2, V3 and V4 to a new position, and does not overlap with any linear component.

<4. 평가틀 재배치 처리의 제2 실시예> <4. Second Embodiment of Evaluation Frame Relocation Processing>

다음으로 도 7에 예시한 촬상처리의 스텝 S108의 평가틀 재배치 처리의 제2 실시예에 대해 설명한다. Next, a second embodiment of the evaluation frame rearrangement processing in step S108 of the imaging processing shown in Fig. 7 will be described.

[4-1. 처리의 흐름] [4-1. Flow of processing]

도 13은 본 발명의 제2 실시예에 관한 평가틀 재배치 처리 과정을 나타내는 흐름도이다. 도 13을 참조하면, 평가틀 배치부(62)는 S152단계에서 우선 직선성분 검출부(60)에 의해 검출된 직선성분으로 형성되는 모든 다각형 중심을 산출한다. 또한, 평가틀 배치부(62)는 S154단계에서 그 시점의 평가틀 중심을 산출한다. 여기서, 평가틀 중심은 대상으로 하는 다각형 또는 평가틀의 정점 위치 벡터로부터 다음과 같이 산출할 수 있다.FIG. 13 is a flowchart showing a procedure of a valet relocation process according to the second embodiment of the present invention. Referring to FIG. 13, in step S152, the evaluation frame arrangement unit 62 calculates all the polygonal centers formed by the straight line component detected by the straight line component detection unit 60. FIG. Further, the evaluation frame arrangement unit 62 calculates the evaluation center of the evaluation point at that point in step S154. Here, the evaluation frame center can be calculated from the vertex position vector of the target polygon or the evaluation frame as follows.

Figure 112011095544081-pat00006
Figure 112011095544081-pat00006

다음 S156 단계의 처리는 S154 단계에서 산출된 모든 다각형 중심에 대해서 반복

Figure 112011095544081-pat00007
한다. 평가틀 배치부(62)는 S156단계에서 평가틀의 중심과 주목되는 다각형의 중심 간의 거리를 산출한다. 또한, 평가틀의 중심 G0 (G0x, G0y)와 하나의 다각형 중심G1(G1x,G1y)간의 거리 D1은 일례로서 다음과 같이 유클리드(Euclid) 거리로서 산출할 수 있다.The process of step S156 is repeated for all polygonal centers calculated in step S154
Figure 112011095544081-pat00007
do. The evaluation frame arrangement unit 62 calculates the distance between the center of the evaluation frame and the center of the polygon to be noticed in step S156. Further, the distance D1 between the center G0 (G0x, G0y) of the evaluation frame and the center G1 (G1x, G1y) of one polygon can be calculated as an Euclidean distance as an example.

Figure 112011095544081-pat00008
Figure 112011095544081-pat00008

다음에, 평가틀 배치부(62)는 S158단계에서 평가틀의 중심이 가장 가까운 다각형의 중심에 일치하도록, 평가틀을 이동시킨다. 평가틀의 중심 및 각 정점을 이동시키기 위한 이동 벡터(ΔGx,ΔGy)는 다음과 같이 산출될 수 있다.Next, in step S158, the evaluation frame arrangement unit 62 moves the evaluation frame so that the center of the evaluation frame coincides with the center of the polygon closest to the evaluation frame. The center of gravity of the evaluation frame and the motion vector (? Gx,? Gy) for moving each vertex can be calculated as follows.

Figure 112011095544081-pat00009
Figure 112011095544081-pat00009

도 14는 본 발명의 제2 실시예에 관한 평가틀 재배치 처리에 의한 평가틀의 이동 상태를 나타내는 예시도이다. 14 is an exemplary view showing a moving state of an evaluation frame by an evaluation frame rearrangement process according to the second embodiment of the present invention.

또한, 평가틀의 이동처인 다각형은 가장 가까운 다각형이 아니라, 면적이 더 넓은 다각형일 수도 있다. Further, the polygon which is the moving destination of the evaluation frame may not be the nearest polygon but may be a polygon having a wider area.

다음 S160 단계의 처리는 S158 단계에서 선택된 다각형의 각 변에 대해서 반복된다. 평가틀 배치부(62)는 S160단계에서 새로운 중심에서 평가틀 정점으로 이어지는 선분과 대상 다각형의 각 변의 교점까지의, 대응하는 정점으로부터의 거리를 산출한다. The process of step S160 is repeated for each side of the polygon selected in step S158. The evaluation frame arrangement unit 62 calculates the distance from the corresponding vertex to the intersection of the line segment extending from the new center to the evaluation frame vertex and each side of the target polygon in step S160.

다음에, 평가틀 배치부(62)는 S162단계에서 산출된 거리의 가장 짧은 변에 대응하는 교점을 선택한다. S164단계에서 평가틀 배치부(62)는 대응하는 정점을 선택된 교점의 위치로 이동시킨다. Next, the evaluation frame arrangement unit 62 selects an intersection corresponding to the shortest side of the distance calculated in step S162. In step S164, the evaluation frame arrangement unit 62 moves the corresponding vertex to the position of the selected intersection.

도 15는 본 발명의 실시 예에 따른 평가틀의 중심에서 정점으로 이어지는 선분과 직선성분의 교점 산출에 대해 설명하기 위한 예시도이다.15 is an exemplary diagram for explaining the calculation of an intersection point of a line segment and a line segment leading from a center to an apex of an evaluation frame according to an embodiment of the present invention.

도 15를 참조하면 평가틀의 중심에서 하나의 정점으로 이어지는 선분을 ax+by+c=0, 차폐물의 일부에 상당하는 하나의 직선성분을 ax+by+c=0이라 하면, 이들의 교점(Px,Py)은 다음과 같이 산출할 수 있다.15, if a line segment extending from the center of the evaluation frame to one vertex is represented by a 1 x + b 1 y + c 1 = 0 and one straight line component corresponding to a part of the shield is represented by a 2 x + b 2 y + c 2 = 0, (Px, Py) can be calculated as follows.

Figure 112011095544081-pat00010
Figure 112011095544081-pat00010

S166 단계에서 평가틀 배치부(62)는 S164 단계에서 이동한 정점의 대각을 이루는 정점과 중심을 잇는 선분이 어느 직선성분과 교점을 갖는지 아닌지를 판정한다. 여기서, 해당 선분이 교점을 갖지 않는 것으로 판정된 경우에는 S168 단계의 처리는 스킵된다. 한편, 해당 선분이 교점을 갖는다고 판정된 경우, 평가틀 배치부(62)는 S168단계에서 대각 정점을 해당 교점의 위치로 이동시킨다.In step S166, the evaluation-box placing unit 62 determines which straight line component intersects the line segment connecting the vertex and the center of the diagonal line of the vertex moved in step S164. Here, if it is determined that the line segment does not have an intersection, the process of step S168 is skipped. On the other hand, if it is determined that the line segment has an intersection, the evaluation frame arrangement unit 62 moves the diagonal vertices to the position of the intersection in step S168.

S170 단계에서 평가틀 배치부(62)는 평가틀과 교차하는 직선성분이 남아있는지 아닌지를 판정한다. 여기서, 평가틀과 교차하는 직선성분이 남아있다고 판정된 경우에는 처리는 S160 단계로 돌아간다. 한편, 평가틀과 교차하는 직선성분이 남아있지 않는 것으로 판정된 경우에는 평가틀 배치부(62)에 의한 평가틀 재배치 처리는 종료한다.In step S170, the evaluation frame arrangement unit 62 determines whether or not there remains a straight line component intersecting the evaluation frame. Here, if it is determined that a straight line component intersecting the evaluation frame remains, the process returns to step S160. On the other hand, when it is determined that there is no straight line component that intersects the evaluation frame, the evaluation frame arrangement unit 62 ends the evaluation frame rearrangement process.

[4-2. 처리 결과의 일례][4-2. Example of processing result]

도 16은 본 발명의 제2 실시예에 관한 평가틀 재배치 처리에 의한 평가틀의 축소 상태를 나타내는 예시도이다. 16 is an exemplary view showing a reduced state of an evaluation frame by the evaluation frame rearrangement process according to the second embodiment of the present invention.

도 16의 왼쪽 상단에는 도 13의 S158 단계에서 평가틀 EF의 중심 GO이 다각형의 중심에 일치하도록 이동된 후의 평가틀 EF를 포함하는 화상 Im21a가 도시되어 있다. 화상 Im21a에서, 평가틀 EF는 직선성분 L1, L2, L4 및 L5와 교차해 있다. 그 후, 도 13의 S164 단계에 의해, 정점 V1이 새로운 위치 V1'로 이동된다(도 16의 중앙 위쪽 참조). 16 shows an image Im21a including the evaluation frame EF after the center GO of the evaluation frame EF is shifted to coincide with the center of the polygon in the step S158 of FIG. In the image Im21a, the evaluation frame EF intersects the straight line components L1, L2, L4 and L5. Thereafter, the vertex V1 is moved to the new position V1 'by the step S164 of FIG. 13 (see the upper center of FIG. 16).

또한, 도 13의 S168 단계에 의해, 정점 V1의 대각 정점 V3이 새로운 위치 V3'로 이동된다(도 13의 오른쪽 상단 참조). 또한, S170 단계의 판정 결과로서 반복되는, 도 13의 S164 단계에 의해 정점 V2'가 새로운 위치 V2''로 이동된다(도 16의 왼쪽 하단 참조). 13, the diagonal vertex V3 of the vertex V1 is moved to the new position V3 '(see the upper right corner of FIG. 13). In addition, the vertex V2 'is moved to the new position V2' 'by the step S164 of FIG. 13, which is repeated as a result of the judgment in the step S170 (see the lower left part of FIG. 16).

도 13의 S168 단계에 의해, 정점 V4'가 새로운 위치 V4''로 이동된다(도 16의 중앙 아래 참조). 이러한 처리 결과로서, 도 16의 오른쪽 하단에 있는 화상 Im21f에서 어느 직선성분과도 겹치지 않도록 재배치된 평가틀 EF가 도시되어 있다.By the step S168 of Fig. 13, the vertex V4 'is moved to the new position V4 &quot; (see the center bottom of Fig. 16). As a result of this processing, the evaluation frame EF rearranged so as not to overlap any straight line component is shown in the image Im21f in the lower right end of Fig.

<5. 정리><5. Theorem>

여기까지, 도 1 ~ 도 16을 참조하여 본 발명의 일 실시 형태에 관한 촬상장치(1)의 구성을 갖는 일례와 평가틀 재배치 처리에 관한 2개의 실시 예를 설명했다. Up to this point, with reference to Figs. 1 to 16, an example having the configuration of the image pickup apparatus 1 according to the embodiment of the present invention and two embodiments relating to the evaluation frame rearrangement process have been described.

본 발명의 실시 예에 의하면, 오토 포커스를 위한 평가값 산출에 사용되는 평가틀이 화상 내에서 검출되는 직선성분과 겹치지 않도록 자동적으로 재배치된다. 그리하여, 피사체 앞에 차폐물이 존재하는 상황에서도 사용자가 보조적인 조작을 할 필요 없이 높은 정도로 피사체에 포커스를 맞출 수 있다. According to the embodiment of the present invention, the evaluation frame used for calculating the evaluation value for autofocus is automatically relocated so as not to overlap with the linear component detected in the image. Thus, even in the presence of a shield in front of a subject, the user can focus on the subject to a high degree without needing auxiliary operation.

따라서, 사용자가 셔터 찬스를 놓치는 일 없이 적절히 포커스가 맞는 화상을 촬상할 수 있는 가능성을 높일 수 있다. 또한, 피사체와 차폐물 간의 거리가 가까운 경우에도, 차폐물을 피해서 평가틀이 재배치되므로, 잘못하여 차폐물에 포커스가 맞는 것을 방지할 수 있다.Therefore, it is possible to increase the possibility that the user can properly pick up an image that is in focus without missing the shutter chance. Further, even if the distance between the subject and the shield is close to each other, the evaluation frame is relocated without the shield, so that it is possible to prevent the shield from being in focus by mistake.

제1 실시 예에서는 평가틀을 크게 움직이지 않고, 적은 계산 비용으로, 간편하게 차폐물을 피해 평가틀을 재배치할 수 있다. 제2 실시 예에서는 검출되는 직선성분에 의해 형성되는 다각형의 중심으로 평가틀의 중심을 이동시킨 다음에 평가틀이 축소되므로, 평가틀의 면적이 지나치게 작아질 가능성이 줄어들어 포커싱 위치 결정을 위한 적절한 평가를 유지할 수 있다.In the first embodiment, it is possible to easily rearrange the evaluation frame by avoiding the shielding with a small calculation cost without moving the evaluation frame largely. In the second embodiment, since the evaluation frame is reduced after the center of the evaluation frame is moved to the center of the polygon formed by the linear component to be detected, the possibility that the area of the evaluation frame is too small is reduced, have.

또한, 전술한 두 실시 예에서는 주로 평가틀이 이동 또는 축소되는 예에 대해서 설명했다. 그러나 예를 들어, 직선성분에 의해 형성되는 다각형과 평가틀과의 위치 관계에서 평가틀을 넓히는 방향으로 평가틀의 정점을 이동 가능한 경우에는 해당 방향으로 정점이 이동될 수 있다.Further, in the above-described two embodiments, an example in which the evaluation frame is moved or reduced is mainly described. However, for example, when the apex of the evaluation frame can be moved in the direction of widening the evaluation frame in the positional relationship between the polygon formed by the linear component and the evaluation frame, the vertex can be moved in the corresponding direction.

이상, 첨부한 도면을 참조하면서 본 발명의 바람직한 실시 형태에 대해 상세히 설명했지만, 본 발명은 이러한 예로 한정되지 않는다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 특허청구범위에 기재된 기술적 사상의 범주 내에서 각종 변경 예 또는 수정 예에 도달할 수 있음은 명백하며, 이들 예도 본 발명의 기술적 범위에 속하는 것으로 이해됨은 물론이다.While the preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, the present invention is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims. Of course it is understandable.

1: 촬상장치
10: 렌즈부
20: 촬상부
30: 화상입력 제어부
32: VRAM(Video Random Access Memory)
34: SDRAM(Synchronous Random Access Memory)
36: 미디어 콘트롤러
38: 기록 미디어
42: LCD(Liquid Crystal Display)
40: LCD 드라이버
44: 압축부
46: 버스(Bus)
50: 평가값 산출부
52: 포커싱 위치 결정부
54: 렌즈 제어부
56: 구동부
60: 직선성분 검출부
62: 평가틀 배치부
1: Imaging device
10:
20:
30: Image input control unit
32: VRAM (Video Random Access Memory)
34: Synchronous Random Access Memory (SDRAM)
36: Media controller
38: Recording media
42: LCD (Liquid Crystal Display)
40: LCD driver
44:
46: Bus
50: Evaluation value calculating section
52: Focusing Position Determination Unit
54:
56:
60: Linear component detector
62:

Claims (10)

촬상 장치에 있어서,
포커스 렌즈를 통과하는 빛을 화상신호로 변환함으로써 화상을 얻는 촬상부,
상기 촬상부에 의해 얻어지는 상기 화상에 평가틀을 배치하는 배치부,
상기 배치부에 의해 배치되는 상기 평가틀 내의 화소값 평가를 바탕으로 상기 포커스 렌즈의 포커싱 위치를 결정하는 결정부, 및
상기 결정부에 의해 결정되는 상기 포커싱 위치로 상기 포커스 렌즈를 이동하는 구동부를 구비하며,
상기 배치부는 상기 화상에 나타나는 직선성분과 상기 평가틀이 겹치지 않도록 상기 평가틀을 축소 또는 변형시킴으로써 상기 평가틀을 재배치하는 촬상 장치.
In the image pickup apparatus,
An imaging unit for obtaining an image by converting light passing through the focus lens into an image signal,
An arrangement section for arranging an evaluation frame on the image obtained by the imaging section,
A determination unit that determines a focusing position of the focus lens on the basis of evaluation of a pixel value in the evaluation frame disposed by the arrangement unit;
And a driving unit for moving the focus lens to the focusing position determined by the determining unit,
Wherein the arranging unit relocates the evaluation frame by reducing or deforming the evaluation frame so that the evaluation frame does not overlap with a linear component appearing in the image.
제1항에 있어서,
상기 촬상부에 의해 얻어지는 상기 직선성분을 검출하는 직선성분 검출부를 더 포함하고,
상기 배치부는 상기 직선성분 검출부를 통해서 검출된 직선성분이 상기 평가틀에 겹쳐 있는지 여부를 판단하고, 판단 결과 상기 직선성분이 상기 평가틀에 겹쳐 있으면 상기 평가틀을 재배치하는 것을 특징으로 하는 촬상 장치.
The method according to claim 1,
Further comprising: a straight line component detection section for detecting the straight line component obtained by the imaging section,
Wherein the placement unit determines whether or not a straight line component detected through the straight line component detection unit overlaps the evaluation frame, and relocates the evaluation frame if the straight line component overlaps the evaluation frame as a determination result.
제2항에 있어서, 상기 배치부는,
상기 평가틀의 1점을 고정한 다음에, 상기 평가틀의 각 변이 상기 직선성분과 겹치지 않도록 상기 평가틀을 축소시키는 촬상 장치.
3. The apparatus according to claim 2,
The evaluation frame is reduced so that each side of the evaluation frame does not overlap with the straight line component after one point of the evaluation frame is fixed.
제2항에 있어서, 상기 배치부는,
상기 직선성분이 다각형을 형성하는 경우에, 상기 평가틀의 중심과 상기 직선성분에 의해 형성되는 하나의 다각형 중심이 일치하도록 상기 평가틀을 이동시키는 촬상 장치.
3. The apparatus according to claim 2,
Wherein when the linear component forms a polygon, the evaluation frame is moved so that the center of the evaluation frame and the center of one polygon formed by the linear component coincide with each other.
제4항에 있어서, 상기 배치부는,
추가로 상기 평가틀의 중심을 고정한 다음에, 상기 평가틀의 각 변이 상기 화상에 나타나는 직선성분과 겹치지 않도록 상기 평가틀을 축소시키는 촬상 장치.
The apparatus according to claim 4,
Further comprising fixing the center of the evaluation frame and then reducing the evaluation frame so that each side of the evaluation frame does not overlap with a straight line component appearing in the image.
촬상장치에서 촬영을 위한 방법에 있어서,
포커스 렌즈를 통과하는 빛을 화상신호로 변환함으로써 화상을 얻는 과정과,
상기 화상에 평가틀을 배치하는 과정과,
상기 평가틀 내의 화소값 평가를 바탕으로 상기 포커스 렌즈의 포커싱 위치를 결정하는 과정과,
상기 결정된 포커싱 위치로 상기 포커스 렌즈를 이동하는 과정과,
상기 화상에 나타나는 직선성분과 상기 평가틀이 겹치지 않도록 상기 평가틀을 축소 또는 변형시킴으로써 상기 평가틀을 재배치하는 과정을 포함하는 것을 특징으로 하는 촬영 방법.
A method for shooting in an imaging device,
Obtaining an image by converting light passing through the focus lens into an image signal,
Placing an evaluation frame on the image;
Determining a focusing position of the focus lens based on evaluation of a pixel value in the evaluation frame;
Moving the focus lens to the determined focusing position;
And rearranging the evaluation frame by reducing or deforming the evaluation frame so that the evaluation frame does not overlap the linear component appearing in the image.
제6항에 있어서, 상기 재배치하는 과정은,
상기 직선성분이 상기 평가틀에 겹쳐 있는지 여부를 판단하는 과정과,
판단 결과 상기 직선성분이 상기 평가틀에 겹쳐 있으면 상기 평가틀을 재배치하는 과정을 포함함을 특징으로 하는 촬영 방법.
7. The method of claim 6, wherein the relocating comprises:
Determining whether the straight line component overlaps the evaluation frame,
And rearranging the evaluation frame if the straight line component overlaps the evaluation frame as a result of the determination.
제7항에 있어서, 상기 재배치하는 과정은,
상기 평가틀의 1점을 고정한 다음에, 상기 평가틀의 각 변이 상기 직선성분과 겹치지 않도록 상기 평가틀을 축소시키는 과정임을 특징으로 하는 촬영 방법.
8. The method of claim 7, wherein the relocating comprises:
And reducing the evaluation frame so that each side of the evaluation frame does not overlap the straight line component after fixing one point of the evaluation frame.
제7항에 있어서, 상기 재배치하는 과정은,
상기 직선성분이 다각형을 형성하는 경우에, 상기 평가틀의 중심과 상기 직선성분에 의해 형성되는 하나의 다각형 중심이 일치하도록 상기 평가틀을 이동시키는 과정임을 특징으로 하는 촬영 방법.
8. The method of claim 7, wherein the relocating comprises:
And moving the evaluation frame so that the center of the evaluation frame and the center of one polygon formed by the linear component coincide when the linear component forms a polygon.
제9항에 있어서, 상기 재배치하는 과정은,
추가로 상기 평가틀의 중심을 고정한 다음에, 상기 평가틀의 각 변이 상기 화상에 나타나는 직선성분과 겹치지 않도록 상기 평가틀을 축소시키는 과정임을 특징으로 하는 촬영 방법.
10. The method of claim 9, wherein the relocating comprises:
Further comprising fixing the center of the evaluation frame and then reducing the evaluation frame so that each side of the evaluation frame does not overlap with a straight line component appearing in the image.
KR1020110127520A 2010-12-20 2011-12-01 Imaging device and method for taking image KR101799600B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/324,392 US8643730B2 (en) 2010-12-20 2011-12-13 Imaging device and image capturing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010283829A JP2012133049A (en) 2010-12-20 2010-12-20 Imaging apparatus
JPJP-P-2010-283829 2010-12-20

Publications (2)

Publication Number Publication Date
KR20120069558A KR20120069558A (en) 2012-06-28
KR101799600B1 true KR101799600B1 (en) 2017-11-20

Family

ID=46648738

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110127520A KR101799600B1 (en) 2010-12-20 2011-12-01 Imaging device and method for taking image

Country Status (2)

Country Link
JP (1) JP2012133049A (en)
KR (1) KR101799600B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003185911A (en) * 2001-12-18 2003-07-03 Minolta Co Ltd Optical system control device
JP2010118962A (en) * 2008-11-13 2010-05-27 Canon Inc Imaging apparatus, control method thereof and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160297A (en) * 2009-01-08 2010-07-22 Sony Corp Imaging apparatus, automatic focusing method, and computer program
JP2010152395A (en) * 2010-03-19 2010-07-08 Casio Computer Co Ltd Imaging apparatus, autofocus control method, and autofocus control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003185911A (en) * 2001-12-18 2003-07-03 Minolta Co Ltd Optical system control device
JP2010118962A (en) * 2008-11-13 2010-05-27 Canon Inc Imaging apparatus, control method thereof and program

Also Published As

Publication number Publication date
JP2012133049A (en) 2012-07-12
KR20120069558A (en) 2012-06-28

Similar Documents

Publication Publication Date Title
KR102032882B1 (en) Autofocus method, device and electronic apparatus
JP5848561B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP5789091B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5620990B2 (en) Shape extraction method and apparatus, and dimension measuring apparatus and distance measuring apparatus
US9137436B2 (en) Imaging apparatus and method with focus detection and adjustment
JP2003167182A (en) Automatic focusing device
CN107133982B (en) Depth map construction method and device, shooting equipment and terminal equipment
JP2008191683A (en) Imaging apparatus and imaging method
US9880672B2 (en) Display apparatus, display method, and computer-readable recording medium
WO2010061352A2 (en) Auto-focus image system
US9774782B2 (en) Image pickup apparatus and image pickup method
JP2009175478A (en) Imaging apparatus, imaging apparatus control method, and computer program
JP2014081420A (en) Tracking device and method thereof
JP6300670B2 (en) Focus adjustment apparatus, focus adjustment method and program, and imaging apparatus
CN104052920B (en) Focus detection device and its control method and camera device
JP2016177293A (en) Autofocus imaging system
WO2010061250A1 (en) Auto-focus image system
JP4871691B2 (en) Imaging apparatus and control method thereof
JP2003262783A (en) Autofocus device and imaging device
US8643730B2 (en) Imaging device and image capturing method
WO2017134881A1 (en) Information processing device, information processing method, and program
KR101799600B1 (en) Imaging device and method for taking image
JP6482247B2 (en) FOCUS ADJUSTMENT DEVICE, IMAGING DEVICE, FOCUS ADJUSTMENT DEVICE CONTROL METHOD, AND PROGRAM
US20130076868A1 (en) Stereoscopic imaging apparatus, face detection apparatus and methods of controlling operation of same
US20120105699A1 (en) Portable device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right