KR101590190B1 - Imaging device and method - Google Patents
Imaging device and method Download PDFInfo
- Publication number
- KR101590190B1 KR101590190B1 KR1020090067419A KR20090067419A KR101590190B1 KR 101590190 B1 KR101590190 B1 KR 101590190B1 KR 1020090067419 A KR1020090067419 A KR 1020090067419A KR 20090067419 A KR20090067419 A KR 20090067419A KR 101590190 B1 KR101590190 B1 KR 101590190B1
- Authority
- KR
- South Korea
- Prior art keywords
- scene
- shooting
- information
- scene recognition
- recognition
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/147—Scene change detection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Exposure Control For Cameras (AREA)
Abstract
(과제)(assignment)
카메라로 씬을 인식하는 경우, 필요에 따라 안정된 결과를 출력한다. When the camera recognizes the scene, it outputs a stable result if necessary.
(해결 수단)(Solution)
씬 인식은 결과가 안정되지 않으면, 출력 결과가 사용자의 혼란을 초래한다. 그래서, 어떠한 씬인지 판단하는 처리 (S7 ∼ S16) 와, 인식한 씬으로부터 변동이 있었는지 감시하는 처리 (S4 ∼ S6) 를 혼합적으로 동작시킴으로써, 정확하고 안정된 씬 인식을 할 수 있게 된다. If scene recognition is not stable, the output results in user confusion. Therefore, accurate and stable scene recognition can be performed by operating the processes (S7 to S16) for judging a certain scene and the processes (S4 to S6) for monitoring whether there is a change from the recognized scene.
촬영 씬, 정보 취득 수단, 기준 정보 기억 수단, 씬 변동 판별 수단, 씬 인식 수단, 제어 수단 A scene information acquisition means, a reference information storage means, a scene variation determination means, a scene recognition means,
Description
본 발명은 촬영 씬 판정 기능을 갖는 촬상 장치에 관한 것이다.The present invention relates to an imaging apparatus having a shooting scene determination function.
특허문헌 1 에는, CCD 를 통해 받아들인 디지털 화상 신호나 EV 값에 기초하여 실제 촬영 씬이 설정된 촬영 모드에 대해 적합한지의 여부를 판정한다. 촬영 모드가 적합한 경우에는, 디지털 카메라는, 당해 촬영 모드로 촬영 처리함과 함께, 당해 촬영 모드 정보를 화상 데이터의 헤더부에 기록하고, 촬영 모드가 부적합한 경우에는, 당해 설정된 촬영 모드로 촬영할지의 여부를 조작자에게 확인하여 촬영 처리로 이행함과 함께, 당해 촬영 모드 정보를 화상 데이터의 헤더부에 기록할지의 여부를 조작자에게 확인하거나, 혹은 표준 촬영 모드 정보를 기록한다.
특허문헌 2 에는, 얼굴 인식 수단과 상태 검출 수단의 출력 정보에 기초하여 카메라의 촬영 모드를 설정하는 촬영 모드 자동 설정 카메라가 개시되어 있다. 특허문헌 2 에 기재된 카메라는, 피사체의 움직임, 촬상 배율 또는 피사체 거리의 출력 정보에 기초하여 카메라 촬영 모드를 자동 설정하는 것이다. 또한, 촬영 모드의 설정이란, Tv 값, Av 값, 프로그램, 선도 (線圖), 노출 (조광 보정), 스트로브 발광, 줌 AF 모드, 급송 (給送) 모드, 측광 모드 등의 설정을 말한다.
특허문헌 1 : 일본 공개특허공보 제2003-244530호Patent Document 1: JP-A-2003-244530
특허문헌 2 : 일본 공개특허공보 제2003-344891호Patent Document 2: JP-A-2003-344891
특허문헌 1 의 「촬영 모드 체크 처리」(도 2 의 S13) 는 항상 동작하는 것으로, 필요에 따라 동작하는 것이 아니어서 효율이 나쁘다. 또, 특허문헌 2 의 「촬영 모드 자동 설정」(도 4 의 S112) 도 릴리즈 (release) 버튼 반누름 후의 1 번뿐인 동작이고, 시시각각 변화할 가능성이 있는 촬영 씬에 따라 적합한 촬영 모드가 안정적으로 설정된다고는 할 수 없다. The "photographing mode check process" (S13 in FIG. 2) of
본 발명의 목적은, 카메라로 씬을 인식하는 경우, 필요에 따라 안정된 결과를 출력하는 데에 있다.An object of the present invention is to output a stable result as needed when a scene is recognized by a camera.
본 발명에 관련된 촬상 장치는, 촬영 씬의 정보인 촬영 정보를 취득하는 정보 취득 수단과, 상기 촬영 정보에 기초하여 설정된 기준 정보를 기억하는 기준 정보 기억 수단과, 상기 기준 정보 기억 수단에 기억된 상기 기준 정보와 상기 정보 취득 수단에 의해 취득된 상기 촬영 정보로부터 상기 촬영 씬이 변동되었는지의 여부를 판별하는 씬 변동 판별 수단과, 상기 씬 변동 판별 수단에 의해 촬영 씬이 변동된 것이 판별됨에 따라, 상기 정보 취득 수단에 의해 취득된 상기 촬영 정보에 기초하여 촬영 씬을 인식하는 씬 인식 수단과, 상기 씬 인식 수단의 씬 인식 결과에 따라 표시 제어, 촬영 제어, 신호 처리 제어 및 정보 기록 제어 중 적어도 하나를 실시하는 제어 수단을 구비하는 것을 특징으로 한다.An image pickup apparatus according to the present invention includes an information acquiring means for acquiring shooting information that is information of a shooting scene, a reference information storage means for storing reference information set based on the shooting information, Scene change determining means for determining whether or not the shot scene has changed from reference information and the shot information acquired by the information acquiring means; and scene change determining means for determining whether the shot scene has been changed by the scene change determining means, A scene recognition means for recognizing a shooting scene based on the shooting information acquired by the information acquisition means, and a control means for controlling at least one of display control, shooting control, signal processing control and information recording control in accordance with the scene recognition result of the scene recognition means And control means for performing the control.
상기 씬 인식 수단은, 최대 빈도의 단독 씬 인식 결과에 대응하는 촬영 정보 에 기초하여, 상기 기준 정보 기억 수단에 기억된 상기 기준 정보를 갱신하는 것을 특징으로 한다.The scene recognition means updates the reference information stored in the reference information storage means on the basis of the shooting information corresponding to the single scene recognition result of the maximum frequency.
상기 정보 취득 수단은, 상기 촬영 씬 중에 인물의 얼굴이 있는지의 여부를 나타내는 얼굴 검출 결과 정보, 피사체 거리에 관한 피사체 거리 정보 및 피사체의 밝기에 관한 측광 정보 중 적어도 하나의 정보를 상기 촬영 정보로서 취득하는 것을 특징으로 한다.Wherein the information acquiring means acquires, as the shooting information, at least one of face detection result information indicating whether or not the face of the person is present in the shooting scene, subject distance information regarding the subject distance, and metering information relating to the brightness of the subject .
상기 정보 취득 수단은, 촬영 씬 중에 인물의 얼굴이 있는지의 여부를 나타내는 얼굴 검출 결과 정보, 피사체 거리에 관한 피사체 거리 정보 및 피사체의 밝기에 관한 측광 정보 중 2 이상의 정보를 상기 촬영 정보로서 취득하고, 상기 씬 변동 판별 수단은, 상기 정보 취득 수단에 의해 취득된 상기 촬영 정보와 상기 기준 정보 기억 수단에 기억된 상기 촬영 정보에 대응하는 상기 기준 정보로부터 상기 촬영 씬이 변동되었는지의 여부를 판별하는 것을 특징으로 한다.Wherein the information acquiring means acquires, as the photographing information, at least two of the face detection result information indicating whether or not the face of the person is present in the shooting scene, the object distance information relating to the object distance and the photometric information relating to the brightness of the object, The scene change judging means judges whether or not the photographing scene has changed from the photographing information acquired by the information acquiring means and the reference information corresponding to the photographing information stored in the reference information storing means .
상기 씬 변동 판별 수단은, 상기 정보 취득 수단에 의해 취득된 상기 2 이상의 정보와 상기 기준 정보 기억 수단에 기억된 상기 2 이상의 정보에 대응하는 상기 기준 정보에, 각각 정보별 가중치를 부여하는 가중치 설정 수단을 갖는 것을 특징으로 한다.Wherein the scene change judging means comprises weight setting means for giving a weight for each information to the reference information corresponding to the two or more pieces of information obtained by the information obtaining means and the two or more pieces of information stored in the reference information storing means, .
상기 기준 정보 기억 수단에 기억된 상기 기준 정보와 상기 정보 취득 수단에 의해 취득된 상기 촬영 정보로부터 순차 촬영 씬의 변동 유무를 판별하는 단독 씬 변동 판별 수단과, 상기 단독 씬 변동 판별 수단에 의한 단독 씬 변동 판별 결과의 이력을 씬 변동 이력으로서 기억하는 씬 변동 이력 기억 수단과, 상기 씬 변 동 이력에 기초하여 상기 촬영 씬이 변동되었는지의 여부를 판별하는 토털 (total) 씬 변동 판별 수단을 구비하는 것을 특징으로 한다.A single scene variation discriminating means for discriminating whether or not the sequential shooting scene is fluctuated from the reference information stored in the reference information storing means and the photographing information acquired by the information acquiring means; Scene change history storage means for storing the history of the variation determination result as a scene change history and total scene change determination means for determining whether or not the shooting scene has changed based on the scene change history .
상기 씬 인식 수단은, 상기 씬 변동 판별 수단에 의해 상기 촬영 씬이 변동된 것이 판별됨에 따라, 상기 촬영 정보 취득 수단에 의해 취득한 촬영 정보에 기초하여 씬 인식을 소정 기간 또는 소정 횟수 실시하는 단독 씬 인식 수단과, 상기 단독 씬 인식 수단에 의한 단독 씬 인식 결과의 이력을 씬 인식 이력으로서 기억하는 씬 인식 이력 기억 수단과, 상기 씬 인식 이력에 기초하여 상기 촬영 씬의 씬 인식을 실시하는 토털 씬 인식 수단을 구비하는 것을 특징으로 한다. Wherein the scene recognizing means recognizes a scene that has been subjected to scene recognition for a predetermined period or a predetermined number of times based on the shooting information acquired by the shooting information acquiring means as it is determined that the shooting scene has been changed by the scene variation determining means A scene recognition history storing means for storing a history of a single scene recognition result by the single scene recognition means as a scene recognition history; and a total scene recognition means for performing scene recognition of the shooting scene based on the scene recognition history And FIG.
상기 토털 씬 인식 수단은, 상기 씬 인식 이력으로부터 최대 빈도의 단독 씬 인식 결과가 나타내는 촬영 씬을 검출하고, 상기 최대 빈도의 단독 씬 인식 결과가 나타내는 촬영 씬을, 상기 씬 변동 판별 수단에 의해 촬영 씬이 변동된 것으로 판별된 후의 촬영 씬으로서 인식하는 것을 특징으로 한다.Wherein the total scene recognition means detects a shot scene indicated by the single scene recognition result of the maximum frequency from the scene recognition history and stores the shot scene indicated by the single scene recognition result of the maximum frequency in the shot scene Is recognized as a photographed scene after being judged to have been changed.
상기 토털 씬 인식 수단은, 상기 최대 빈도의 단독 씬 인식 결과가 나타내는 촬영 씬이 복수 검출된 경우에는, 최신의 촬영 씬을, 상기 씬 변동 판별 수단에 의해 촬영 씬이 변동된 것으로 판별된 후의 촬영 씬으로서 인식하는 것을 특징으로 한다.The total scene recognition means may store the latest shooting scene in the case where a plurality of shooting scenes indicated by the single scene recognition result of the maximum frequency are detected in the shooting scene after the shooting scene is determined to have been changed by the scene variation determining means And the like.
상기 촬영 씬의 씬 인식을 씬 변동시에 실시할지, 또는 소정의 주기마다 실시할지를 선택하는 선택 수단과, 상기 씬 인식을 실시하는 소정의 주기를 설정하는 주기 설정 수단을 추가로 구비하고, 상기 선택 수단에 의해 촬영 씬의 씬 인식을 소정의 주기마다 실시하는 것이 선택되면, 상기 씬 인식 수단은, 상기 씬 변동 판 별 수단에 의해 상기 촬영 씬이 변동된 것이 판별되었을 때를 대신하여, 상기 주기 설정 수단에 의해 설정된 소정의 주기마다 상기 촬영 정보 취득 수단에 의해 취득된 상기 촬영 정보에 기초하여 상기 촬영 씬의 씬 인식을 실시하는 것을 특징으로 한다.A selection unit configured to select whether to perform scene recognition of the shooting scene at the time of scene change or at predetermined intervals; and a cycle setting unit configured to set a predetermined cycle for performing the scene recognition, When the scene recognition of the shooting scene is selected to be performed every predetermined period by the means, the scene recognizing means sets the period setting, instead of when it is determined that the shooting scene has been changed by the scene variation determining means And scene recognition of the shooting scene is carried out based on the shooting information acquired by the shooting information acquiring means at every predetermined cycle set by the means.
주기 설정 수단에 의해 설정되는 소정의 주기는, 미리 설정된 주기, 또는 사용자에 의해 임의로 설정 가능한 주기인 것을 특징으로 한다.The predetermined period set by the period setting means is a predetermined period or a period that can be arbitrarily set by the user.
본 발명에 관련된 촬영 촬상 방법은, 촬영 씬의 정보인 촬영 정보를 취득하는 단계와, 상기 취득한 촬영 정보로부터 촬영 씬을 인식하는 단계와, 상기 촬영 씬의 인식 결과에 대응하는 상기 촬영 정보에 기초하여 설정된 기준 정보를 기억하는 단계와, 상기 기억된 기준 정보와 상기 취득된 촬영 정보로부터 상이 촬영 씬이 변동되었는지의 여부를 판별하는 단계와, 상기 촬영 씬이 변동된 것이 판별됨에 따라 상기 촬영 정보에 기초하여 상기 촬영 씬을 인식하는 단계와, 상기 촬영 씬의 인식 결과에 따라, 표시 제어, 촬영 제어, 신호 처리 제어 및 정보 기록 제어 중 적어도 하나를 실시하는 단계를 포함하는 것을 특징으로 한다.A photographing and imaging method according to the present invention includes the steps of acquiring photographing information which is information of a photographing scene, recognizing a photographing scene from the acquired photographing information, and acquiring, based on the photographing information corresponding to the recognition result of the photographing scene The method comprising the steps of: storing set reference information; determining whether the photographed scene has changed from the stored reference information and the acquired photographed information; determining whether the photographed scene is changed based on the photographed information And performing at least one of display control, shooting control, signal processing control, and information recording control in accordance with the recognition result of the shooting scene.
이 발명에 의하면, 어떠한 씬인지 판단하는 처리와, 인식한 씬으로부터 변동이 있었는지를 감시하는 처리를 혼합적으로 동작시킨다. 그리고, 씬이 변동되었을 때에 비로소 어떠한 씬인지 판단함으로써, 정확하고 안정된 씬 인식을 실시할 수 있게 된다. According to the present invention, a process of judging a certain scene and a process of monitoring a variation from a recognized scene are operated in combination. Then, when the scene is changed, it is judged what kind of scene it is, so that accurate and stable scene recognition can be performed.
<제 1 실시형태>≪ First Embodiment >
도 1 은, 본 발명의 디지털 카메라 (1) 의 구성을 나타내는 개략 블록도이다. 디지털 카메라 (1) 는, 촬영에 의해 취득한 화상 데이터를, Exif 형식의 화상 파일로 변환하여, 본체에 착탈 가능한 외부 기록 미디어 등의 기록부 (70) 에 기록하는 것이다.1 is a schematic block diagram showing a configuration of a
이 디지털 카메라의 조작계로서는, 동작 모드 스위치, 메뉴/OK 버튼, 줌/상하 화살표 레버, 좌우 화살표 버튼, Back (되감기) 버튼, 표시 전환 버튼, 릴리즈 버튼, 전원 스위치 등을 포함하는 조작부 (11) 와, 조작부 (11) 에 대한 조작 내용을 해석하여 각 부를 제어하는 제어 회로 (74) 를 갖고 있다. 제어 회로 (74) 는, 정보 처리를 실시하는 CPU (75), 정보 처리를 규정한 프로그램, 펌웨어, 프로그램에서의 각종 판정에 사용하는 임계값 그 밖의 상수 등을 기록한 ROM (68), 정보 처리에 필요한 변수나 데이터 등을 저장하는 RAM (69) 을 구비하고 있다. The operation system of the digital camera includes an operation unit 11 including an operation mode switch, a menu / OK button, a zoom / up / down arrow lever, a left / right arrow button, a back button, a display change button, a release button, And a
렌즈 (20) 는, 포커스 렌즈 및 줌 렌즈를 갖고 있다. 렌즈 (20) 는, 렌즈 구동부 (51) 에 의해 광축 방향으로 이동할 수 있다. 렌즈 구동부 (51) 는 CPU (75) 로부터 출력되는 포커스 구동량 데이터, 혹은 조작부 (11) 에 포함되는 줌/상하 화살표 레버의 조작량 데이터에 기초하여 포커스 렌즈 혹은 줌 렌즈의 이동을 제어한다. The
또, 조리개 (54) 는, 모터와 모터 드라이버로 이루어지는 조리개 구동부 (55) 에 의해 구동된다. 이 조리개 구동부 (55) 는, AE/AWB 처리부 (63) 로부터 출력되는 조리개값 데이터에 기초하여 조리개 직경의 조정을 실시한다. The
렌즈 (20)·조리개 (54) 를 포함하는 촬상 광학계의 후방에는, CCD 나 CMOS 등의 촬상 소자 (58) 가 배치되어 있다. 촬상 소자 (58) 는, 다수의 수광 소자를 2 차원적으로 배열한 광전면 (光電面) 을 갖고 있어, 광학계를 통과한 피사체광이 이 광전면에 결상되어 광전 변환된다. 광전면의 전방에는, 각 화소에 광을 집광하기 위한 마이크로 렌즈 어레이와, R, G, B 각 색의 필터가 규칙적으로 배열된 컬러 필터 어레이가 배치되어 있다. 촬상 소자 (58) 는, 촬상 소자 제어부 (59) 로부터 공급되는 수직 전송 클록 및 수평 전송 클록에 동기하여, 화소마다 축적된 전하를 1 라인씩 시리얼한 아날로그 촬영 신호로서 출력한다. 각 화소에 있어서 전하를 축적하는 시간, 즉, 노출 시간은, 촬상 소자 제어부 (59) 로부터 주어지는 전자 셔터 구동 신호에 의해 결정된다. 또, 촬상 소자 (58) 는 촬상 소자 제어부 (59) 에 의해, 미리 정해진 크기의 아날로그 촬상 신호가 얻어지도록 이득 (gain) 이 조정되어 있다. An
촬상 소자 (58) 로부터 받아들인 아날로그 촬영 신호는, 아날로그 신호 처리부 (60) 에 입력된다. 아날로그 신호 처리부 (60) 는, 아날로그 신호의 노이즈를 제거하는 상관 2 중 샘플링 회로 (CDS) 와, 아날로그 신호의 이득을 조절하는 자동 이득 제어기 (AGC; auto gain controller) 로 이루어진다.The analog photographing signal received from the
A/D 변환부 (61) 는, 아날로그 신호 처리부 (60) 에서 처리된 아날로그 화상 신호를 디지털 화상 데이터로 변환한다. 이 디지털 신호로 변환된 화상 데이터는, 화소마다 R, G, B 의 농도값을 갖는 CCD-RAW 데이터이다. The A /
제어 회로 (74) 는, 타이밍 신호를 발생시키고, 이 타이밍 신호를 촬상 소자 제어부 (59) 에 입력하여, 조작부 (11) 에 포함되는 릴리즈 버튼의 조작, 촬상 소자 (58) 의 전하의 도입, 및 아날로그 신호 처리부 (60) 의 처리의 동기를 취하고 있다. The
플래시 제어부 (73) 는, 스트로보 방전관 그 밖의 회로로 구성된 플래시 (24) 를 촬영시에 (릴리즈 버튼 완전 누름시에) 발광시킨다. 구체적으로는, 플래시 발광 모드가 플래시 온으로 되어 있는 경우, 플래시 (24) 를 온으로 하여, 촬영시에 플래시 (24) 를 발광시킨다. 한편, 플래시 발광 모드가 플래시 오프로 되어 있는 경우, 촬영시에 플래시 (24) 의 발광을 금지한다. The
제어 회로 (74) 는, 촬상 소자 (58) 에서 생성된 화상 신호의 휘도를 검출 함으로써 측광을 실시한다. 제어 회로 (74) 는, 피사계 휘도가 낮다는 측광의 결과를 접수하여, 보조광 제어부 (25) 에 지시하여 LED 등으로 구성된 보조광 발광부 (26) 로부터 보조광을 조사시킨다. The
A/D 변환부 (61) 로부터 출력된 R, G, B 의 각 화상 데이터 (CCD-RAW 데이터) 는, 디지털 신호 처리부 (65) 에서 화이트 밸런스 (WB) 조정, γ 보정, 및 YC 처리가 실시되고, 처리 후의 화상 데이터는 메모리 (66) 에 기록된다.White balance (WB) adjustment, gamma correction, and YC processing are performed in the digital
디지털 신호 처리부 (65) 에는, 측광부 (46) 가 형성되어 있다. 측광부 (46) 는, AD 변환부 (61) 로부터 1 화면 분의 Y 신호를 받아, 촬상 소자 (58) 의 촬상면 내의 소망 영역, 예를 들어 중앙 근방 영역이나 얼굴 검출 영역, 혹은 촬상면 전체를 종횡 균등하게 소정 개수, 예를 들어 8 분할된 64 개 블록의 각 블록에 대하여 Y 신호를 적산한다. 블록의 각각에 대한 휘도 적산값은, 측광 결과로서 CPU (75) 에 보내진다. AE 제어시에는, CPU (75) 는, 소정의 알고리즘에 기초하여 휘도 적산값에 대해 주지의 연산 처리를 실시하여, 적정 노출 (조리개값, 셔터 속도) 을 결정한다. In the digital
메모리 (66) 는, 화상 데이터에 대해 후술하는 각종 디지털 화상 처리 (신호 처리) 를 실시할 때 사용하는 작업용 메모리로, 예를 들어, 일정 주기의 버스 클록 신호에 동기하여 데이터 전송을 실시하는 SDRAM (Synchronous Dynamic Random Access Memory) 이 사용된다. The
표시부 (71) 는, 촬영 모드 설정 이후부터 본 촬영 지시가 있기까지의 사이에 메모리 (66) 에 순차 저장된 화상 데이터를 스루 (through) 화상으로 하여 도시하지 않는 액정 모니터에 표시시키거나, 재생 모드시에 기록부 (70) 에 보존되어 있는 화상 데이터를 액정 모니터에 표시시키거나 하기 위한 것이다. 또한, 스루 화상은, 촬영 모드가 선택되어 있는 동안, 소정 간격으로 촬상 소자 (58) 에 의해 촬영된다. 또한, 스루 화상이란, 사용자가 실시간으로 촬영 화각이나 상황 등을 확인할 수 있도록, 촬영 모드가 선택되어 있는 동안, 소정 시간 간격으로 촬상 소자 (58) 에 의해 촬상된 피사체를 나타내는 화상 신호에 기초하여 표시부 (71) 에 표시되는 화상을 말한다.The display unit 71 displays the image data sequentially stored in the
본 촬상전 AF 처리부 (81) 는, 릴리즈 버튼 반누름까지 순차 공급되는 스루 화상에 기초하여 촬영 조건을 결정한다. 즉, 본 촬상전 AF 처리부 (81) 는, 스루 화상에 기초하여 초점 위치를 검출하고, 포커스 구동량 데이터를 출력한다. 초점 위치의 검출 방식으로서는, 예를 들어, 핀트가 맞은 상태에서는 화상의 콘트 라스트가 높아지는 특징을 이용하여 합초 위치를 검출하는 패시브 방식을 생각할 수 있다. 즉, 본 촬상전 AF 처리부 (81) 는, 스루 화상으로부터 고주파수 성분을 추출하고, 이것을 화상 전체 또는 화상의 특정한 일부분의 영역 (중앙부나 얼굴 검출 영역 등) 내에서 적산함으로써 AF (합초) 평가값을 얻는다. 얻어진 AF 평가값의 극대점을 렌즈 구동 범위에 걸쳐 탐색하여, 그 극대점이 얻어지는 렌즈 위치를 합초 위치로 판단한다. The pre-imaging AF processing unit 81 determines shooting conditions based on through images sequentially supplied up to the release button half pressing. That is, the pre-imaging AF processing section 81 detects the focus position on the basis of the through image and outputs the focus drive amount data. As a method of detecting the focus position, for example, a passive method of detecting the focus position using a feature that the contrast of the image becomes high in a state in which the focus is properly applied can be considered. That is, the pre-imaging AF processing unit 81 extracts the high frequency component from the through image and integrates it in the entire image or in a specific part of the image (center part, face detection area, etc.) . The maximum point of the obtained AF evaluation value is searched over the lens drive range and the lens position at which the maximum point is obtained is determined as the in-focus position.
AF 처리부 (62) 및 AE/AWB 처리부 (63) 는, 프리 (pre) 화상에 기초하여 촬영 조건을 결정한다. 프리 화상이란, 조작부 (11) 의 릴리즈 버튼이 반눌러짐으로써 발생하는 반누름 신호를 검출한 CPU (75) 가 촬상 소자 (58) 에 프리 촬영을 실행시킨 결과, 메모리 (66) 에 저장된 화상 데이터에 의해 나타나는 화상이다.The
AF 처리부 (62) 는, 프리 화상에 기초하여 초점 위치를 검출하고, 포커스 구동량 데이터를 출력한다 (AF 처리). 초점 위치의 검출 방식으로서는, 예를 들어, 핀트가 맞은 상태에서는 화상의 콘트라스트가 높아지는 특징을 이용하여 합초 위치를 검출하는 패시브 방식을 생각할 수 있다. 즉, AF 처리부 (62) 는, 프리 화상으로부터 고주파수 성분을 추출하고, 이것을 화상 전체 또는 화상의 일부분의 영역 내에서 적산함으로써 AF (합초) 평가값을 얻는다. 얻어진 AF 평가값의 극대점을, 렌즈 구동 범위에 걸쳐 탐색하여, 그 극대점이 얻어지는 렌즈 위치를 합초 위치라고 판단한다. The
AE/AWB 처리부 (63) 는, 프리 화상에 기초하여 피사체 휘도를 측정하고, 측정한 피사체 휘도에 기초하여 조리개값, 셔터 스피드 등을 결정하고, 조리개값 데 이터 및 셔터 스피드 데이터를 노출 설정값으로서 결정한다 (AE 처리). AE/AWB 처리부 (63) 는, 릴리즈 버튼 완전 누름에 따라 실시되는 본 노광에서 얻어진 화상 데이터에 기초하여, 당해 화상 데이터의 화이트 밸런스의 보정량을 결정한다 (AWB 처리). The AE /
또한, 노출 및 화이트 밸런스에 대해서는, 촬영 모드가 매뉴얼 모드로 설정되어 있는 경우에는, 디지털 카메라 (1) 의 사용자가 매뉴얼 조작에 의해 설정할 수 있다. 또, 노출 및 화이트 밸런스가 자동으로 설정된 경우에도, 사용자가 메뉴/OK 버튼 등의 조작부 (11) 로부터 지시를 내림으로써, 노출 및 화이트 밸런스를 매뉴얼 조정할 수 있다. The exposure and the white balance can be set by manual operation of the user of the
촬영 조건은, 후술하는 씬 인식 결과 (SR) 에 대응한다. 예를 들어, 씬 인식 결과 (SR) 가 야경이면, ISO 감도 80, 셔터 스피드 1/1.6 초 등으로 한다. 혹은 씬 인식 결과 (SR) 가 접사이면, 조리개 직경을 열고, 플래시 (24) 의 발광을 금지한다. 합초 위치의 검색은, 가까운 위치 (Near 측) 를 개시점으로 하여 먼 위치 (INF 측) 를 향해 실시하면 된다. 혹은 씬 인식 결과 (SR) 가 풍경이면, 측광 모드로서 「평균 측광」을 실시하고, 측광부 (46) 에 분할 측광을 실시하도록 한다. 혹은 씬 인식 결과 (SR) 가 인물이면, AF 처리부 (62) 는, AF 평가값의 산출 영역을 얼굴 검출 처리부 (80) 가 검출한 얼굴 영역으로 한다. 씬 인식 결과 (SR) 가 AUTO 이면, 셔터 스피드, 조리개값 등의 촬상 조건을 자동으로 설정한다. The shooting conditions correspond to the scene recognition result SR described later. For example, if the scene recognition result (SR) is night scene,
디지털 신호 처리부 (65) 는, 본 화상의 화상 데이터에 대해, 감마 보정, 샤 프니스 보정, 콘트라스트 보정 등의 화질 보정 처리, CCD-RAW 데이터를 휘도 신호인 Y 데이터와, 청색 색차 신호인 Cb 데이터 및 적색 색차 신호인 Cr 데이터로 이루어지는 YC 데이터로 변환하는 YC 처리를 실시한다. 이 본 화상이란, 릴리즈 버튼이 완전히 눌러짐으로써 실행되는 본 촬영에서 촬상 소자 (58) 로부터 도입되어, 아날로그 신호 처리부 (60), A/D 변환부 (61), 디지털 신호 처리부 (65) 경유로 메모리 (66) 에 저장된 화상 데이터에 의한 화상이다. 본 화상의 화소수의 상한은 촬상 소자 (58) 의 화소수에 의해 결정되는데, 예를 들어, 파인, 노멀 등의 설정에 의해, 기록 화소수를 변경할 수 있다. 한편, 스루 화상 및 프리 화상의 화상수는 본 화상보다 적고, 예를 들어, 본 화상의 1/16 정도의 화소수로 도입된다. The digital
또, 디지털 신호 처리부 (65) 는, 플래시 (24) 의 발광량이 통상적인 촬영시보다 작은 경우에는, 본 화상에 있어서의 얼굴 영역의 휘도를 구하고, 휘도가 소정의 임계값 (Th1) 보다 작은 경우에는 얼굴 영역의 휘도를 임계값 (Th1) 으로 조정하는 처리를 실시한다. When the amount of light emitted from the
디지털 신호 처리부 (65) 는, 보정·변환 처리된 본 화상의 화상 데이터에 대해, 예를 들어, JPEG 등의 압축 형식으로 압축 처리를 실시하여 화상 파일을 생성한다. 이 화상 파일에는, Exif 포맷 등에 기초하여 촬영 일시 등의 부대 정보가 저장된 태그가 부가된다. 또, 디지털 신호 처리부 (65) 는, 재생 모드의 경우에는, 기록부 (70) 로부터 압축된 화상 파일을 판독하여, 신장 처리한다. 신장 후의 화상 데이터는 표시부 (71) 에 의해 외부의 액정 모니터로 출력된다. The digital
ROM (68) 은, 디지털 카메라 (1) 에 설정되는 각종 상수, 및 CPU (75) 가 실행하는 프로그램 등을 저장한다. RAM (69) 은, CPU (75) 가 프로그램의 실행에 필요한 데이터를 일시적으로 저장한다. The
CPU (75) 는, 조작부 (11) 나 AF 처리부 (62) 등의 각종 처리부로부터의 신호에 따라 디지털 카메라 (1) 의 본체 각 부를 제어한다. The
얼굴 검출 처리부 (80) 는, 스루 화상, 릴리즈 버튼 반누름시에 표시되는 화상 (프리 화상), 혹은 본 화상으로부터 인물의 얼굴을 검출한다. 구체적으로는, 얼굴에 포함되는 얼굴의 특징을 갖는 영역 (예를 들어 피부색을 갖는, 눈을 갖는, 얼굴 형상을 갖는 등) 을 얼굴 영역으로서 검출하지만, 이것에 한정되지 않는다. The face
도 2 는, 씬 인식 메인 처리의 플로우 차트이다. 씬 인식이란, 촬영시의 피사체가 소정의 피사체 상황 (촬영 씬 또는 간단히 씬) 이라고 인식하는 것이다. 바꿔 말하면, 사용자가 촬영하려 하는 프레임 화상의 씬이 어떠한 씬인지를 인식하는 것이다. 인식하는 촬영 씬의 예로서, 인물, 풍경, 야경, 접사 (후술) 를 들 수 있다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 이 처리는, 촬영 모드가 조작부 (11) 에서 설정되고, 또한, 그 때에 「자동 씬 인식 ON」이 조작부 (11) 로부터 설정되어 있었던 경우에 개시한다. 「자동 씬 인식 OFF」가 조작부 (11) 로부터 설정되어 있는 경우에는 개시되지 않는다. 2 is a flowchart of the scene recognition main processing. The scene recognition is to recognize that a subject at the time of shooting is a predetermined subject situation (a shooting scene or simply a scene). In other words, the user recognizes the scene of the frame image to be photographed. Examples of the photographed scene to be recognized include a person, a landscape, a night view, and a close-up (described later). This process is controlled by the
S1 에서는, 이 처리의 실행이 첫회인지의 여부를 판단한다. “예”인 경 우에는 S2, “아니오”인 경우에는 S3 으로 진행한다. In S1, it is determined whether the execution of this process is the first time. S2 " if " YES ", then proceed to S3 if NO.
S2 에서는, RAM (69) 의 프레임 변동 기준 정보를 초기화한다. 프레임 변동 기준 정보란, 프레임 변동 체크 처리시에 참조되는 정보이다. 프레임 변동 기준 정보는, 첫번째 프레임 변동 체크를 실시했을 때에, 촬영 씬에 관한 정보인 촬영 정보 (프레임 화상에 관한 정보. 후술) 에 기초하여 작성되며, S13 의 토털 씬 인식 결과 (후술) 에 기초하여 갱신된다. 프레임 변동 기준 정보에는, 분할 측광값, 포커스 렌즈의 위치, 합초 AF 에어리어의 타입 (합초 상태가 된 AF 에어리어가 얼굴 검출 처리부 (80) 가 검출한 열굴 영역인지의 여부, 혹은 디폴트 화면 중앙 근방 영역인지의 여부), 합초 AF 필터 (예를 들어 일본 특허공개 제2006-145964호의 로패스 필터, 하이패스 필터), 얼굴 검출 처리부 (80) 에 의한 얼굴 검출 유무가 포함된다. 또, RAM (69) 의 status 를 서치 상태로, 체크 카운터를 0 으로, 씬 인식 이력 유지 플래그를 OFF 로 설정한다.In S2, frame change reference information of the
S3 에서는, RAM (69) 의 status=확정 상태인지의 여부를 판단한다. “예”인 경우에는 S4,“아니오”인 경우에는 S7 로 진행한다.In S3, it is determined whether or not the status of the
S4 에서는, 프레임 변동 체크를 실시한다. 이 처리는 후술한다. In S4, a frame variation check is performed. This processing will be described later.
S5 에서는, 프레임 변동 체크 결과, 프레임 변동이 있었는지의 여부를 판단한다. “예”인 경우에는 S6, “아니오”인 경우에는 S1 로 되돌아온다. At S5, it is determined whether or not there is frame variation as a result of the frame variation check. If YES, the process returns to S6. If NO, the process returns to S1.
S6 에서는, 씬 변동이 있었던 것으로 판단하고, RAM (69) 의 status 를 서치 상태로 설정한다.In S6, it is determined that there is a scene change, and the status of the
S7 에서는, RAM (69) 의 씬 인식 이력 유지 플래그가 ON 으로 설정되어 있는 지의 여부를 판단한다. “예”인 경우에는 S9, “아니오”인 경우에는 S8 로 진행한다. In S7, it is determined whether or not the scene recognition history holding flag of the
S8 에서는, RAM (69) 의 씬 인식 카운터를 0 으로 설정한다. 또, RAM (69) 의 씬 인식 이력을 클리어한다. In S8, the scene recognition counter of the
S9 에서는, 인식부에 의한 단독 씬 인식 동작을 실시한다. 이 처리는 후술한다. 이 처리 결과, RAM (69) 에 씬 단독 인식 결과 (SR) 가 기억된다. 단독 씬 인식 결과 (SR) 는, 풍경, AUTO, 인물, 야경, 접사 등을 포함한다. 이들 단독 씬의 인식 처리의 상세 내용은 후술한다. In S9, the single scene recognition operation is performed by the recognition unit. This processing will be described later. As a result of this process, the scene-only recognition result SR is stored in the
S10 에서는, RAM (69) 의 씬 인식 카운터를 1 만큼 증분한다. In S10, the scene recognition counter of the
S11 에서는, RAM (69) 의 씬 인식 카운터 및 ROM (68) 의 소정의 씬 인식 결과 수의 임계값 (E_AUTOSR_SR_HISTORY_BEFORE_S1) 을 비교하여, 씬 인식 카운터 ≥ 씬 인식 결과 수의 임계값인지의 여부를 판단한다. “예”인 경우에는 S12, “아니오”인 경우에는 S17 로 진행한다. In S11, the threshold value E_AUTOSR_SR_HISTORY_BEFORE_S1 of the scene recognition counter in the
S12 에서는, RAM (69) 의 씬 인식 이력을 체크한다. 씬 인식 이력은, status 가 확정 상태가 될 때까지 반복된 S9 에 의해 각각 개별적으로 기억된, 복수의 단독 씬 인식 결과 (SR) 로 구성된다. In S12, the scene recognition history of the
S13 에서는, 토털 씬 인식을 실시한다. 즉, RAM (69) 의 씬 인식 결과 (SR) 를, S9 에서 상이한 시간에 기억된 복수의 단독 씬 인식 결과 (SR) 로 구성된 씬 인식 이력 중에서 최대의 출현 빈도를 갖는 것으로 갱신한다. 추가로, RAM (69) 의 프레임 변동 기준 정보를, 당해 최대의 출현 빈도를 갖는 단독 씬 인식 결 과 (SR) 와 동일한 시점에서 취득된 프레임 변동 기준 정보로 갱신한다. In S13, the total scene recognition is performed. That is, the scene recognition result SR of the
S14 에서는, RAM (69) 의 씬 인식 결과 SR (토털 씬 인식 결과) 가 「AUTO」와 상이한지의 여부를 판단한다. “예”인 경우에는 S16, “아니오”인 경우에는 S15 로 진행한다. In S14, it is determined whether or not the scene recognition result SR (total scene recognition result) of the
S15 에서는, RAM (69) 의 status 를 서치 상태로 설정하고, S1 로 되돌아온다. In S15, the status of the
S16 에서는, RAM (69) 의 status 를 확정 상태로 설정하고, S1 로 되돌아온다. In S16, the status of the
도 3 은, 프레임 변동 체크 (S4) 의 상세한 처리의 흐름을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. Fig. 3 is a flowchart showing the flow of detailed processing of the frame variation check (S4). This process is controlled by the
S21 에서는, RAM (69) 의 파라미터인 change 를 0FF 로, change_measure 를 0 으로 설정한다. In S21, the parameter change of the
S22 에서는, 촬영 정보에 기초하여 프레임 변동 기준 정보를 작성한다. 촬영 정보는, 얼굴 검출 결과, 포커스 렌즈 위치, 줌 렌즈 위치, 합초 상태 및 측광값 등을 포함한다. 프레임 변동 기준 정보에 포함되는 데이터 항목은 촬영 정보에 포함되는 데이터 항목과 동일해도 된다. 또한, 작성된 프레임 변동 기준 정보에 기초하여 1 회째의 프레임 변동 체크를 실시한다. 또한, 프레임 변동 체크란, 전회에 씬 인식이 실시되었을 때의 프레임 화상 (프레임) 의 상태와 비교하여 현재의 프레임 상태가 변동되었는지를 검지하는 처리를 말한다. 프레임 변동이 있는 경우, 촬영 씬이 변동된 것으로 판단되어, 씬 인식 처리가 실시된다. 여기에서는, 프레임 변동 체크는, 측광값 변동 체크, 포커스 위치 변동 체크, 얼굴 유무 변동 체크 중 어느 1 개인 것으로 하지만 그 밖의 종류를 포함하고 있어도 된다. 이들의 처리는 후술한다. 1 회째의 프레임 변동 체크 결과는, RAM (69) 의 파라미터인 E_AUT0SP_FRAME_CHECK1 로서 기억된다. In S22, the frame variation reference information is generated based on the photographing information. The photographing information includes a face detection result, a focus lens position, a zoom lens position, a focus state, and a photometry value. The data item included in the frame variation reference information may be the same as the data item included in the photographing information. In addition, the first frame change check is performed based on the generated frame change reference information. The frame change check refers to a process of detecting whether the current frame state has changed by comparing the state of the frame image (frame) when scene recognition was performed last time. If there is a frame change, it is determined that the shot scene has changed, and scene recognition processing is performed. Here, the frame variation check may be any one of a photometric value variation check, a focus position variation check, and a face presence variation check, but may include other types. Their processing will be described later. The first frame change check result is stored as E_AUT0SP_FRAME_CHECK1, which is a parameter of the
S23 에서는, S22 의 1 회째의 프레임 변동 체크 결과, 프레임 변동이 있었는지의 여부를 판단한다. “예”인 경우에는 S24, “아니오”인 경우에는 S26 으로 진행한다. In S23, it is determined whether or not there is a frame change as a result of the first frame change check in S22. If YES, the process proceeds to S24. If NO, the process proceeds to S26.
S24 에서는, RAM (69) 의 change_measure 를 1 만큼 증분한다. In S24, the change_measure of the
S25 에서는, RAM (69) 의 change_measure 와 ROM (68) 의 소정 임계값 E_AUT0SP_FRAME_CHANGE_MEASURE 를 비교하여, change_measure≥E_AUTOSP_FRAME_CHANGE_MEASURE 인지의 여부를 판단한다. “아니오”인 경우에는 S26, “예”인 경우에는 S35 로 진행한다. In S25, the change_measure of the
S26 에서는, 2 회째의 프레임 변동 체크를 실시한다. 여기에서는, 프레임 변동 체크는, 측광값 변동 체크, 포커스 위치 변동 체크, 얼굴 유무 변동 체크 중, 1 회째와 상이한 어느 하나이다. 2 번째의 프레임 변동 체크 결과는, RAM (69) 의 파라미터인 E_AUTOSP_FRAME_CHECK2 로서 기억된다. In S26, the second frame change check is performed. Here, the frame variation check is any one of a difference between the first metering value variation check, the focus position variation check, and the face presence / absence variation check. The second frame change check result is stored as E_AUTOSP_FRAME_CHECK2, which is a parameter of the
S27 에서는, S26 의 2 회째의 프레임 변동 체크 결과, 프레임 변동이 있었는지의 여부를 판단한다. “예”인 경우에는 S28, “아니오”인 경우에는 S30 으로 진행한다. In S27, it is determined whether or not there is a frame change as a result of the second frame change check in S26. If YES, the process proceeds to S28. If NO, the process proceeds to S30.
S28 에서는, RAM (69) 의 change_measure 를 1 만큼 증분한다. In S28, the change_measure of the
S29 에서는, RAM (69) 의 change_measure 와, ROM (68) 에 기억된 임계값 E_AUT0SP_FRAME_CHANGE_MEASURE 를 비교하여, change_measure≥E_AUTOSP_FRAME_CHANGE_MEASURE 인지의 여부를 판단한다. “아니오”인 경우에는 S30, “예”인 경우 S35 로 진행한다. In S29, it is determined whether change_measure≥E_AUTOSP_FRAME_CHANGE_MEASURE by comparing the change_measure of the
S30 에서는, 3 번째의 프레임 변동 체크를 실시한다. 여기에서는, 프레임 변동 체크는, 측광값 변동 체크, 포커스 위치 변동 체크, 얼굴 유무 변동 체크 중, 1 회째 및 2 회째와 상이한 것이다. 3 회째의 프레임 변동 체크 결과는, RAM (69) 의 파라미터인 E_AUT0SP_FRAME_CHECK3 으로서 기억된다. In S30, the third frame change check is performed. Here, the frame variation check is different from the first and second times in the metering value variation check, the focus position variation check, and the face presence / absence variation check. The third frame change check result is stored as E_AUT0SP_FRAME_CHECK3, which is a parameter of the
S31 에서는, S30 의 3 회째의 프레임 변동 체크 결과, 프레임 변동이 있었는지의 여부를 판단한다. “예”인 경우에는 S32, “아니오”인 경우에는 S34 로 진행한다. In step S31, it is determined whether there is a frame change as a result of the third frame change check in step S30. If YES, the process proceeds to S32. If NO, the process proceeds to S34.
S32 에서는, RAM (69) 의 change_measure 를 1 만큼 증분한다. In S32, the change_measure of the
S33 에서는, RAM (69) 의 change_measure 와, ROM (68) 에 기억된 임계값 E_AUT0SP_FRAME_CHANGE_MEASURE 를 비교하여, change_measure≥E_AUTOSP_FRAME_CHANGE_MEASURE 인지의 여부를 판단한다. “아니오”인 경우에는 S34, “예”인 경우 S35 로 진행한다.In S33, it is determined whether change_measure≥E_AUTOSP_FRAME_CHANGE_MEASURE by comparing the change_measure of the
S34 에서는, 프레임 변동 없음으로 판단한다. 그 판단을 나타내는 플래그를 RAM (69) 에 기억시켜도 된다. 그리고, 씬 인식 메인 처리인 S5 로 되돌아온다. In S34, it is determined that there is no frame change. And a flag indicating the judgment may be stored in the
S35 에서는, 프레임 변동 있음으로 판단한다. 「프레임 변동 있음」의 플래그인 change=0N 으로 설정하여 RAM (69) 에 기억시킨다. 그리고, 씬 인식 메인 처리인 S5 로 되돌아온다. In S35, it is determined that there is a frame change. Change = 0N, which is a flag of " frame fluctuation exists ", and stores it in the
도 4 는 측광값 변동 체크의 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 4 is a flowchart of a metering value variation check. This process is controlled by the
S41 에서는, RAM (69) 의 파라미터 change_ev 를 0FF 로 설정한다. 또, RAM (69) 의 파라미터 ev[i] 를 금회의 프레임 화상에 대해 측광부 (46) 로부터 얻어진 측광값으로 한다. i 는, 소정의 단위로 화상을 분할하여 얻은 N 개의 각 블록에 대응하는 첨자이다. 여기에서는 i=0∼N-1 로 한다. In S41, the parameter change_ev of the
또, RAM (69) 의 파라미터 ev_base[i] 를 프레임 변동 기준 정보의 분할 측광값으로 하고, 그 값을 RAM (69) 에 확보한다. 또한, ev_base[i] 는 메인 처리인 S2 에서 초기화되고, S13 에서 갱신된다. 또, 각 블록에 대응하는 가중치 w[i] 를 ROM (68) 로부터 판독한다. The parameter ev_base [i] of the
S42 에서는, 다음 식에 의해 delta_ev 를 RAM (69) 에 설정한다. 총합계는 i=0∼N-1 에 대하여 행해진다. delta_ev 는 전체 화면의 밝기끼리의 차분이어도 된다. In S42, delta_ev is set in the
delta_ev=ΣW[i]*│ev[i]-ev_base[i]│/ΣW[i]delta_ev =? W [i] *? i [i] -ev_base [i] /? W [i]
각 영역마다의 차의 절대값을 총합하는 것은 다음과 같은 이유때문이다. 절대값을 취하지 않으면, 실제로는 영역마다 큰 변화가 발생함에도 불구하고, 총합 에 의해 각 영역마다의 변화가 상쇄되어, 전체적으로는 변화가 없어지는 것을 방지하기 위함이다. The sum of the absolute values of the differences for each area is for the following reason. Unless an absolute value is taken, in order to prevent the change in each region from being canceled by the total sum, even though a large change actually occurs in each region, the change does not disappear as a whole.
S43 에서는, RAM (69) 의 delta_ev 와 ROM (68) 에 기억된 임계값 E_AUT0SP_FRAME_DELTA_EV 를 비교하여, delta-ev≥E_AUTOSP_FRAME_DELTA_EV 인지의 여부를 판단한다. “예”인 경우에는 S44, “아니오”인 경우에는 S45 로 진행한다. In S43, it is determined whether or not delta-ev? E_AUTOSP_FRAME_DELTA_EV by comparing the delta_ev of the
S44 에서는, 측광값의 변동이 있었던 것으로 판단한다. 그리고, 측광값의 변동이 있었던 것을 나타내는 플래그 change_ev 를 ON 으로 설정하여 RAM (69) 에 기억시킨다. In step S44, it is determined that there is a change in the photometric value. Then, the flag change_ev indicating that the metering value has been changed is set to ON and stored in the
S45 에서는, 측광값의 변동이 없었던 것으로 판단한다. 측광값의 변동이 없었던 것을 나타내는 플래그를 RAM (69) 에 기억시켜도 된다. In S45, it is determined that there is no change in the photometric value. The
도 5 는 포커스 위치 변동 체크의 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 5 is a flowchart of a focus position variation check. This process is controlled by the
S51 에서는, RAM (69) 의 파라미터 change_focal_point 를 OFF 로, focal_point 를 금회의 프레임 화상을 취득했을 때 렌즈 구동부 (51) 가 설정한 포커스 렌즈의 위치 (구동 펄스수) 로, focal_point_base 를 프레임 변동 기준 정보의 포커스 렌즈의 위치 (S2 에서 초기화 혹은 S13 에서 갱신되는 것) 로 하고, 그 기억 영역을 RAM (69) 에 확보한다. In S51, focal_point_base is set to the position (drive pulse number) of the focus lens set by the
S52 에서는, 다음 식에 의해 delta_focal_point 를 RAM (69) 에 설정한다. In S52, the delta_focal_point is set in the
delta_focal_point=|focal_point-focal_point_base| delta_focal_point = | focal_point-focal_point_base |
S53 에서는, RAM (69) 의 delta_focal_point 와, ROM (68) 에 기억된 소정의 포커스 위치 변동 임계값을 비교하여, delta_focal_point > 포커스 위치 변동 임계값인지의 여부를 판단한다. “예”인 경우에는 S54, “아니오”인 경우에는 S55 로 진행한다. In S53, the delta_focal_point of the
S54 에서는, 포커스 위치의 변동이 있었던 것으로 판단한다. 그리고, 포커스 위치의 변동이 있었던 것을 나타내는 플래그 change_focal_point 를 ON 으로 설정하여 RAM (69) 에 기억시킨다.In S54, it is determined that the focus position has been changed. Then, the flag change_focal_point indicating that the focus position has been changed is set to ON and stored in the
S55 에서는, 포커스 위치의 변동이 없었던 것으로 판단한다. 포커스 위치의 변동이 없었던 것을 나타내는 플래그를 RAM (69) 에 기억시켜도 된다. In S55, it is determined that there is no change in the focus position. The
도 6 은 얼굴 유무 변동 체크의 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다.6 is a flowchart of the face presence / absence fluctuation check. This process is controlled by the
S61 에서는, RAM (69) 의 파라미터 change_face_result 를 OFF 로 설정한다. In S61, the parameter change_face_result of the
S62 에서는, 금회의 프레임 화상을 취득했을 때에 얼굴 검출 처리부 (80) 가 출력한 얼굴 검출 유무가, 프레임 변동 기준 정보의 얼굴 검출 유무 (S2 에서 초기화 혹은 S13 에서 갱신되는 것) 와 일치하는지의 여부를 판단한다. “예”인 경우에는 S64, “아니오”인 경우에는 S63 으로 진행한다. In S62, it is determined whether or not the face detection output from the face
S63 에서는, 얼굴 검출 유무의 변동이 있었던 것으로 판단한다. 그리고, 얼굴 검출 유무의 변동이 있었던 것을 나타내는 플래그 change_face_result 를 ON 으로 설정하여 RAM (69) 에 기억시킨다. In S63, it is determined that there is a change in the presence / absence of face detection. Then, the flag change_face_result indicating that there is a change in the presence / absence of face detection is set to ON and stored in the
S64 에서는, 얼굴 검출 유무의 변동이 없었던 것으로 판단한다. 얼굴 검출 유무의 변동이 없었던 것을 나타내는 플래그를 RAM (69) 에 기억시켜도 된다. In S64, it is determined that there is no change in the presence / absence of face detection. A flag indicating that there is no change in the presence or absence of face detection may be stored in the
도 7 은 인식부의 단독 씬 인식 동작 (S9) 의 상세 내용을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 7 is a flowchart showing details of the single scene recognition operation (S9) of the recognition unit. This process is controlled by the
S71 에서는, RAM (69) 에 저장된, 씬 의존 서치를 실시하는 플래그 (E_AUT0SR_SEARCH_TYPE) 가 0 인지의 여부를 판단한다. “예”인 경우에는 S80, “아니오”인 경우에는 S72 로 진행한다. 또한, E_AUT0SR_SEARCH_TYPE 의 값은 조작부 (11) 로부터 임의로 설정할 수 있는 것으로 한다. In step S71, it is determined whether or not the flag (E_AUT0SR_SEARCH_TYPE) for performing the scene-dependent search stored in the
S72 에서는, RAM (69) 의 씬 인식 결과 (SR) 로 AUTO 를 설정한다. In S72, AUTO is set to the scene recognition result SR of the
S73 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_M0DULE1 을 대입한다. E_AUT0SR_M0DULE1 은 0 ∼ 4 중 어느 하나의 정수이다. 그리고, module[i] 에 상당하는 씬 판정 (인식) 서브 루틴을 실시한다. module[0] 은 아무것도 하지 않는다. module[1] 은 후술하는 인물 판정을 실시한다. module[2] 는 후술하는 풍경 판정을 실시한다. module[3] 은 후술하는 야경 판정을 실시한다. module[4] 는 후술하는 접사 판정을 실시한다. In S73, E_AUT0SR_M0DULE1 previously stored in the
S74 에서는, S73 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S75 로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S74, it is determined whether or not the result of the execution of module [i] in S73 and the scene recognition result (SR) of
S75 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_M0DULE2 를 대입한다. E_AUT0SR_MODULE2 는 0 ∼ 4 중 어느 하나의 정수이고, 또한 E_AUTOSR_MODULE1 과 상이하다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In step S75, E_AUT0SR_M0DULE2 previously stored in the
S76 에서는, S75 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S77 로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S76, it is determined whether or not the result of module [i] in S75 and the scene recognition result SR in
S77 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE3 을 대입한다. E_AUT0SR_MODULE4 은 0 ∼ 4 중 어느 하나의 정수이고, 또한 E_AUT0SR_MODULE1 및 E_AUT0SR_MODULE2 와 상이하다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In step S77, E_AUT0SR_MODULE3 previously stored in the
S78 에서는, S77 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S79 로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S78, it is determined whether or not the result of the execution of module [i] in S77 and the scene recognition result SR of
S79 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE4 를 대입한다. E_AUT0SR_MODULE3 은 0 ∼ 4 중 어느 하나의 정수이고, 또한 E_AUT0SR_MODULE1 및 E_AUT0SR_MODULE2 및 E_AUT0SR_MODULE3 과 상이하다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. E_AUT0SR_MODULE1, E_AUT0SR_MODULE2, E_AUT0SR_MODULE3, E_AUT0SR_MODULE4 의 값 은 어떻게 설정해도 되지만, 우선적으로 씬 판정을 실시하고자 하는 종류에는 빠른 번호를 부여하면 된다. 예를 들어, 인물 판정 > 풍경 판정 > 야경 판정 > 접사 판정의 순으로 씬 판정을 실시하고자 하는 경우에는, E_AUT0SR_MODULE1=1, E_AUT0SR_MODULE2=2, E_AUT0SR_MODULE3=3, E_AUT0SR_MODULE4=4 로 한다. 이들 값을 조작부 (11) 에서 임의로 설정해도 된다. In step S79, E_AUT0SR_MODULE4 previously stored in the
S80 에서는, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S72 로 진행하고, “아니오”인 경우에는 S81 로 진행한다. In S80, it is determined whether or not the current scene recognition result (SR) of the
S81 에서는, RAM (69) 의 파라미터 SR_old 에, 현재의 RAM (69) 의 씬 인식 결과 (SR) 를 설정한다. 즉, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 이면 SR_old=0, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 인물이면 SR_old=1, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 풍경이면 SR_old=2, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 야경이면 SR_old=3, 현재의 RAM (69) 의 씬 인식 결과 (SR) 가 접사이면 SR_old=4 로 한다. In step S81, the scene recognition result SR of the
S82 에서는, RAM (69) 의 파라미터 i 에, SR_old 를 대입한다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In S82, SR_old is substituted into the parameter i of the
S83 에서는, S82 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S84 로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S83, it is determined whether or not the result of the execution of module [i] in S82 and the scene recognition result SR of
S84 에서는, SR_old=E_AUT0SR_MODULE1 인지의 여부를 판단한다. “예” 인 경우에는 S87 로 진행하고, “아니오”인 경우에는 S85 로 진행한다. In S84, it is determined whether or not SR_old = E_AUT0SR_MODULE1. If YES, the process proceeds to S87. If NO, the process proceeds to S85.
S85 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE1 을 대입한다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In S85, E_AUT0SR_MODULE1 previously stored in the
S86 에서는, S85 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S87 로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S86, it is determined whether or not the result of the execution of module [i] in S85 and the scene recognition result (SR) in
S87 에서는, SR_old=E_AUT0SR_MODULE2 인지의 여부를 판단한다. “예”인 경우에는 S90 으로 진행하고, “아니오”인 경우에는 S88 로 진행한다. In S87, it is determined whether or not SR_old = E_AUT0SR_MODULE2. If YES, the process proceeds to S90, and if NO, the process proceeds to S88.
S88 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE2 를 대입한다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In step S88, E_AUT0SR_MODULE2 previously stored in the
S89 에서는, S88 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S90 으로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In S89, it is determined whether or not the result of execution of module [i] in S88 and the scene recognition result (SR) of
S90 에서는, SR_old=E_AUT0SR_MODULE3 인지의 여부를 판단한다. “예”인 경우에는 S93 으로 진행하고, “아니오”인 경우에는 S91 로 진행한다. In S90, it is determined whether or not SR_old = E_AUT0SR_MODULE3. If YES, the process proceeds to S93. If NO, the process proceeds to S91.
S91 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE3 을 대입한다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. In step S91, E_AUT0SR_MODULE3 previously stored in the
S92 에서는, S91 에서의 module[i] 의 실시 결과, RAM (69) 의 씬 인식 결과 (SR) 가 AUTO 인지의 여부를 판단한다. “예”인 경우에는 S93 으로 진행하고, “아니오”인 경우에는 메인 처리인 S10 으로 되돌아온다. In step S92, it is determined whether or not the result of the execution of the module [i] in step S91 and the scene recognition result (SR) of the
S93 에서는, SR_old=E_AUT0SR_MODULE4 인지의 여부를 판단한다. “예”인 경우에는 메인 처리인 S10 으로 되돌아오고, “아니오”인 경우에는 S94 로 진행한다. In S93, it is determined whether or not SR_old = E_AUT0SR_MODULE4. If YES, the process returns to the main process S10. If NO, the process proceeds to S94.
S94 에서는, RAM (69) 의 파라미터 i 에, ROM (68) 에 미리 기억된 E_AUT0SR_MODULE4 를 대입한다. 그리고, module[i] 에 상당하는 씬 판정 서브 루틴을 실시한다. 그 후, 메인 처리인 S10 으로 되돌아온다. In S94, E_AUT0SR_MODULE4 previously stored in the
도 8 은 이상의 처리 (S9) 와 (S13) 에 의해 결정되는 단독 씬 인식 결과 및 토털 씬 인식 결과 (SR) 를 개념적으로 나타내고 있다.Fig. 8 conceptually shows a single scene recognition result and a total scene recognition result SR determined by the above processes (S9) and (S13).
도 8 에 나타내는 바와 같이, 단독 씬 인식 결과 (SR) 는, 오래된 것부터 새로운 것에 걸쳐 연속적으로 5 개 저장된다. 각 단독 씬 인식 결과 (SR) 에는 첨자 j=0∼4 가 붙는데, 번호가 작을수록 새로운 인식 결과이다. 단독 씬 인식 결과의 축적 개수=5 는 일례로, 3 이상의 정수이면 무엇이든 상관없다. As shown in Fig. 8, five independent scene recognition results SR are stored consecutively from oldest to newest. Each single scene recognition result (SR) is accompanied by subscripts j = 0 to 4, the smaller the number is the new recognition result. The number of accumulated single scene recognition results = 5 is, for example, any integer of 3 or more.
S73·S75·S77·S79 혹은 S85·S88·S91·S94 에서, module[i] 의 단독 씬 인식이 실행될 때마다 새로운 씬 인식 결과 (SR) 가 취득된다. 이 결과, 지금까지 축적한 과거의 씬 인식 결과 (SR) 의 첨자에는 1 이 증분되어 1 세대 오래된 이력이 된다. 새로운 씬 인식 결과 (SR) 에는 0 (제로) 의 첨자가 붙어 현재의 씬 인식 결과가 된다. In S73, S75, S77, S79, S85, S88, S91, and S94, a new scene recognition result (SR) is acquired each time single scene recognition of module [i] is executed. As a result, 1 is added to the subscript of the past scene recognition result (SR) accumulated so far to become a history of one generation. The new scene recognition result (SR) is appended with a subscript of 0 (zero) to become the current scene recognition result.
도 8 에는, SR[0]=3, SR[1]=3, SR[2]=3, SR[3]=0, SR[4]=1 이었던 것이 새로운 단독 씬 인식 결과 SR[0]=2 가 추가됨으로써, SR[1]=3, SR[2]=3, SR[3]=3, SR[4]=0 이 된다. 새로운 단독 씬 인식 결과 SR[0] 의 추가 전에 가장 오래된 세대의 단독 씬 인식 결과 SR[4]=1 은, 새로운 단독 씬 인식 결과의 추가와 함께 RAM (69) 에서 소거해도 되고 보존해도 된다. 8 shows that a new single scene recognition result SR [0] = SR [1] = 3, SR [2] = 3, SR [ SR [2] = 3, SR [3] = 3, and SR [4] = 0 are added. The oldest generation single scene recognition result SR [4] = 1 before the addition of the new single scene recognition result SR [0] may be deleted or saved in the
S13 에는, 새로운 단독 씬 인식 결과가 추가되면, SR[0], SR[1], SR[2], SR[3], SR[4] 중 가장 출현 빈도가 높은 단독 씬 인식 결과를 특정하고, 그것을 변경하여 씬 인식 결과 (SR) (토털 씬 인식 결과) 로 한다. 도 8 에서는 3 의 출현 빈도가 최대이기 때문에 SR=3 이 된다. 따라서, CPU (75) 에서는, 토털 씬 인식 결과를 SR = 3 으로 하여, 촬영 모드를 야경 모드로 설정한다. 이로써, 촬영 모드의 촬영 조건 및 화상 처리 조건에 따라 화상의 촬영, 기록을 실행할 수 있게 된다. 또한, 출현 빈도가 최대가 되는 단독 씬 인식 결과 중, 가장 새로운 단독 씬 인식 결과를 얻는 시점에 사용된 촬영 정보에 기초하여 프레임 변동 기준 정보를 갱신한다. 도 8 에서는, 출현 빈도가 최대 (3) 인 단독 씬 인식 결과는 SR[1], SR[2] 및 SR[3] 이다. 이 중 가장 새로운 단독 씬 인식 결과는 SR[3] 이므로, SR[3] 을 얻는 시점에서 사용된 촬영 정보에 기초하여 프레임 변동 기준 정보를 갱신한다.In S13, when a new single scene recognition result is added, a single scene recognition result having the highest appearance frequency among SR [0], SR [1], SR [2], SR [3], and SR [4] And changes it to the scene recognition result SR (total scene recognition result). In Fig. 8, since the appearance frequency of 3 is the maximum, SR = 3. Therefore, the
도시는 생략하지만, 최대 빈도의 단독 씬 인식 결과가 복수인 경우에는, 가장 새로운 세대의 단독 씬 인식 결과를 포함하는 것을 토털 씬 인식 결과 (SR) 로 한다. 예를 들어, SR[0]=2, SR[1]=3, SR[2]=3, SR[3]=2, SR[4]=0 인 경우, SR[0]=SR[3]=2, SR[1]=SR[2]=3 이 되어, 2 도 3 도 출현 빈도가 동일하다. 이 경우, 가장 새로운 세대의 단독 씬 인식 결과 SR[0] 를 포함하는 2 가 토털 씬 인식 결과 (SR) 가 된다. 또한, 단독 씬 인식 결과 SR[0] 를 얻는 시점에서 사용된 촬영 정보에 기초하여 프레임 변동 기준 정보를 갱신한다.Although not shown, when there are a plurality of single scene recognition results having the maximum frequency, the total scene recognition result SR includes the single-scene recognition result of the newest generation. For example, if SR [0] = 2, SR [1] = 3, SR [2] = 3, SR [3] = 2, and SR [ = 2, SR [1] = SR [2] = 3, and the frequencies of 2, 3, and so on are the same. In this case, a binary total scene recognition result SR including the single scene recognition result SR [0] of the newest generation is obtained. In addition, the frame variation reference information is updated based on the shooting information used at the time of obtaining the single scene recognition result SR [0].
도 9 는 씬 판정 서브 루틴 (인물 판정, module[1]) 의 상세 내용을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. Fig. 9 is a flowchart showing the details of the scene determination subroutine (character determination, module [1]). This process is controlled by the
S101 에서는, 얼굴 검출 처리부 (80) 가 얼굴이 검출되었는지의 여부를 판단한다. “예”인 경우에는 S102, “아니오”인 경우에는 S105 로 진행한다.In S101, the face
S102 에서는, RAM (69) 의 얼굴 제한 플래그가 ON 인지의 여부를 판단한다. “예”인 경우에는 S103, “아니오”인 경우에는 S104 로 진행한다. In S102, it is determined whether or not the face limitation flag of the
S103 에서는, AF 평가값의 산출 영역으로 설정된 얼굴 영역에 대해, 얼굴의 크기가 소정 범위 내 또한 얼굴의 기울기가 소정의 범위 내 또한 얼굴의 방향이 소정의 범위 내 또한 얼굴의 명료함의 스코어가 소정의 범위 내 또한 얼굴의 위치가 소정의 범위 내 인지의 여부를 판단한다. “아니오”인 경우에는 S105, “예”인 경우에는 S104 로 진행한다. In S103, with respect to the face area set as the AF evaluation value calculation area, if the face size is within the predetermined range, the slope of the face is within the predetermined range, the face direction is within the predetermined range, It is determined whether or not the position of the face within the range is within a predetermined range. If NO, the process proceeds to S105. If YES, the process proceeds to S104.
S104 에서는, 씬 인식 결과 (SR)=인물로 설정한다. 그리고, module[1] 이후에 계속되는 처리, 즉, S73·S75·S77·S79 중 어느 1 개의 다음 처리, 혹은 S85·S88·S91·S94 중 어느 1 개의 다음 처리로 진행한다. In S104, the scene recognition result SR is set as a person. Then, the process proceeds to the next process after module [1], that is, any one of S73, S75, S77, and S79, or S85, S88, S91, and S94.
S105 에서는, 씬 인식 결과 (SR)=AUTO 로 설정한다. In S105, the scene recognition result SR is set to AUTO.
도 10 은, 씬 판정 서브 루틴 (풍경 판정, module[2]) 의 상세 내용을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 10 is a flowchart showing the details of the scene determination subroutine (landscape determination, module [2]). This process is controlled by the
S111 에서는, 릴리즈 버튼의 반누름 (S1) 이 락 (lock) 되어 있는지의 여부를 판단한다. “예”인 경우에는 S124, “아니오”인 경우에는 S112 로 진행한다.In S111, it is judged whether or not the half-press S1 of the release button is locked. If YES, the process proceeds to S124. If NO, the process proceeds to S112.
S112 에서는, 설정 메뉴나 조작부 (11) 를 통해 미리 연속 (continuous) AF (이하 「CAF」로 표기) 의 실행이 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S113, “아니오”인 경우에는 S129 로 진행한다. In step S112, it is determined whether or not continuous execution of continuous AF (hereinafter referred to as " CAF ") is set through the setting menu or the operation unit 11. If YES, the process proceeds to S113. If NO, the process proceeds to S129.
S113 에서는, 본 촬상전 AF 처리부 (81) 가 산출한 AF 평가값이 ROM (68) 에 기억된 소정의 임계값보다 높은지의 여부를 판단한다. “예”인 경우에는 S114, “아니오”인 경우에는 S119 로 진행한다. 또한, 본 단계 S113 을 생략해도 된다. 이 경우, S112 에서“예”인 경우에는 S114 로 진행하고, 또, S113 에서“아니오”로 판단된 경우에 이어지는 모든 처리 (S119, S120, S121, S122, S123) 도 생략된다. In step S113, it is determined whether or not the AF evaluation value calculated by the pre-imaging AF processing unit 81 is higher than a predetermined threshold value stored in the
S114 에서는, ROM (68) 에 기억된 E_AUT0SR_CHECK_CAFSTATUS_HIGH=0 인지의 여부를 판단한다. “예”인 경우에는 S115, “아니오”인 경우에는 S1l6 으로 진행한다. In step S114, it is determined whether or not E_AUT0SR_CHECK_CAFSTATUS_HIGH = 0 stored in the
S115 에서는, CAF 의 결과 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (無限遠) (INF) 측에 있는지, 즉 합초 피사체가 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다. In step S115, it is judged whether or not the in-focus position determined as a result of the CAF is closer to the infinity (infinity) INF side than the predetermined focal length threshold value stored in the
S116 에서는, E_AUTOSR_CHECK_CAFSTATUS_HIGH=1 인지의 여부를 판단한다. “예”인 경우에는 S117, “아니오”인 경우에는 S118 로 진행한다. In S116, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_HIGH = 1. If YES, the process proceeds to S117. If NO, the process proceeds to S118.
S117 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다. In S117, the maximum point of the AF evaluation value is detected as the result of the CAF, and the focal distance corresponding to the in-focus position determined at the maximum point is detected on the infinity circle INF side of the predetermined focal distance threshold value stored in the
S118 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되거나 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 제2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다. In S118, if the maximum point of the AF evaluation value is detected as a result of the CAF or if the AF evaluation value is in the vicinity of the maximum point (for example, in Japanese Patent Application Publication No. 2003-348426, " ) And whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S119 에서는, ROM (68) 에 기억된 E_AUTOSR_CHECK_CAFSTATUS_LOW=0 인지의 여부를 판단한다. “예”인 경우에는 S120, “아니오”인 경우에는 S121 로 진행한다. In step S119, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_LOW = 0 stored in the
S120 에서는, CAF 의 결과 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다.In step S120, it is determined whether or not the in-focus position determined as a result of the CAF is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S121 에서는, E_AUTOSR_CHECK_CAFSTATUS_LOW=1 인지의 여부를 판단한다. “예”인 경우에는 S122, “아니오”인 경우에는 S123 으로 진행한다. In S121, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_LOW = 1. If YES, the process proceeds to S122. If NO, the process proceeds to S123.
S122 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다. In S122, the maximum point of the AF evaluation value is detected as a result of the CAF, and the focal distance corresponding to the in-focus point determined at the maximum point is detected on the infinity circle INF side of the predetermined focal distance threshold value stored in the
S123 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되거나 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 제2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다.In S123, if the maximum point of the AF evaluation value is detected as the result of the CAF or if the AF evaluation value is in the vicinity of the maximum point (for example, in Japanese Patent Application Publication No. 2003-348426, " ) And whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S124 에서는, AF 처리부 (62) 의 AF 처리에 의해 합초 위치가 결정되고, 또한 그 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단 한다. “예”인 경우에는 S125, “아니오”인 경우에는 S129 로 진행한다.In step S124, the in-focus position is determined by the AF processing of the
S125 에서는, 제어 회로 (74) 가 측광한 피사계 휘도가 ROM (68) 에 기억된 소정의 임계값보다 낮은지의 여부를 판단한다. “예”인 경우에는 S126, “아니오”인 경우에는 S129 로 진행한다. In step S125, it is determined whether the subject luminance measured by the
S126 에서는, ROM (68) 의 설정 파라미터로서 혹은 조작부 (11) 로부터 미리 풍경 줌 정보 플래그가 ON 으로 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S127, “아니오”인 경우에는 S128 로 진행한다. In step S126, it is determined whether the landscape zoom information flag is set to ON as a setting parameter of the
S127 에서는, 줌 렌즈 위치가 소정 범위 내 예를 들어 소정 위치보다 와이드 측에 있는지의 여부를 판단한다. “예”인 경우에는 S128, “아니오”인 경우에는 S129 로 진행한다. 또한, 줌 위치가 소정 범위 내에 없는 것은, 예를 들어 줌 렌즈 위치가 텔레단 (端) 혹은 그 근방에 있는 경우이다. 이 경우, 전체 풍경을 화각에 담을 수 없어, 풍경 촬영에 적합하지 않기 때문에 촬영 씬은 AUTO 로 판단한다. In step S127, it is determined whether or not the zoom lens position is within a predetermined range, for example, on the wide side from the predetermined position. If YES, the process proceeds to S128. If NO, the process proceeds to S129. The zoom position is not within the predetermined range, for example, when the zoom lens position is at or near the telephoto end. In this case, the entire scene can not be captured in the angle of view, and the scene is judged to be AUTO because it is not suitable for landscape shooting.
S128 에서는, SR=풍경으로 설정한다. 그리고, module[2] 이후에 이어지는 처리로 진행한다. In step S128, SR = landscape is set. Then, processing proceeds to the processing subsequent to module [2].
S129 에서는, SR=AUTO 로 설정한다. 그리고, module[2] 이후에 이어지는 처리로 진행한다.In step S129, SR = AUTO is set. Then, processing proceeds to the processing subsequent to module [2].
도 11 은, 씬 판정 서브 루틴 (야경 판정, module[3]) 의 상세 내용을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 11 is a flowchart showing the details of the scene determination subroutine (night view determination, module [3]). This process is controlled by the
S131 에서는, 제어 회로 (74) 가 측광한 피사계 휘도가 ROM (68) 에 기억된 소정의 임계값보다 낮은지의 여부를 판단한다. “예”인 경우에는 S132, “아니오”인 경우에는 S152 로 진행한다. In step S131, it is determined whether the subject luminance measured by the
S132 에서는, 릴리즈 버튼의 반누름 (S1) 이 락되어 있는지의 여부를 판단한다. “예”인 경우에는 S147, “아니오”인 경우에는 S133 으로 진행한다. In S132, it is determined whether or not the release button S1 is locked. If YES, the process proceeds to S147. If NO, the process proceeds to S133.
S133 에서는, RAM (69) 에 기억되어 있는 반누름 (S1) 전의 야경 판정 플래그가 ON 으로 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S134, “아니오”인 경우에는 S152 로 진행한다. In step S133, it is determined whether or not the night view determination flag before half-press S1 stored in the
S134 에서는, 조작부 (11) 로부터의 입력 혹은 ROM (68) 에 기억된 파라미터에 의해 야경 판정에서 거리 정보를 사용할지 사용하지 않을지 중 어느 것이 설정되어 있는지를 판단한다. 야경 판정에서 거리 정보를 사용하는 설정이 되어 있는 경우에는 S135, 야경 판정에서 거리 정보를 사용하는 설정이 되어 있지 않은 경우에는 S149 로 진행한다. In step S134, it is determined based on the input from the operation unit 11 or the parameters stored in the
S135 에서는, 설정 메뉴나 조작부 (11) 를 통해 미리 CAF 의 실행이 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S136, “아니오”인 경우에는 S152 로 진행한다. In step S135, it is determined whether the execution of the CAF is set in advance through the setting menu or the operation unit 11. [ If YES, the process proceeds to S136. If NO, the process proceeds to S152.
S136 에서는, 본 촬상전 AF 처리부 (81) 가 산출한 AF 평가값이, ROM (68) 에 기억된 소정의 임계값보다 높은지의 여부를 판단한다. “예”인 경우에는 S137, “아니오”인 경우에는 S142 로 진행한다. 또한, 본 단계 S136 을 생략해도 된다. 이 경우, S135 에서“예”인 경우에는 S137 로 진행하고, 또, S136 에서“아니오”로 판단된 경우에 이어지는 모든 처리도 생략된다. In step S136, it is determined whether or not the AF evaluation value calculated by the pre-imaging AF processing unit 81 is higher than a predetermined threshold value stored in the
S137 에서는, E_AUTOSR_CHECK_CAFSTATUS_HIGH=0 인지의 여부를 판단한다. “예”인 경우에는 S138, “아니오”인 경우에는 S139 로 진행한다. In step S137, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_HIGH = 0. If YES, the process proceeds to S138. If NO, the process proceeds to S139.
S138 에서는, CAF 의 결과 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한다. In step S138, it is determined whether or not the in-focus position determined as a result of the CAF is closer to the infinity circle INF side than the predetermined focal length threshold value stored in the
S139 에서는, E_AUTOSR_CHECK_CAFSTATUS_HIGH=1 인지의 여부를 판단한다. “예”인 경우에는 S140, “아니오”인 경우에는 S141 로 진행한다. In S139, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_HIGH = 1. If YES, the process proceeds to S140. If NO, the process proceeds to S141.
S140 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한다. In S140, the maximum point of the AF evaluation value is detected as a result of the CAF, and the focal distance corresponding to the in-focus point determined at the maximum point is detected on the infinite circle INF side of the predetermined focal distance threshold value stored in the
S141 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되었는지 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한 다. In S141, it is determined whether the maximum point of the AF evaluation value is detected as a result of the CAF or whether the AF evaluation value is in the vicinity of the maximum point (for example, in Japanese Patent Application Publication No. 2003-348426 Whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S142 에서는, E_AUTOSR_CHECK_CAFSTATUS_LOW=O 인지의 여부를 판단한다. “예”인 경우에는 S143, “아니오”인 경우에는 S144 로 진행한다. In S142, it is determined whether E_AUTOSR_CHECK_CAFSTATUS_LOW = O. If YES, the process proceeds to S143. If NO, the process proceeds to S144.
S143 에서는, CAF 의 결과 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한다. In step S143, it is determined whether or not the determined in-focus position determined as a result of the CAF is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S144 에서는, E_AUTOSR_CHECK_CAFSTATUS_LOW=1 인지의 여부를 판단한다. “예”인 경우에는 S145, “아니오”인 경우에는 S146 으로 진행한다. In S144, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_LOW = 1. If YES, the process proceeds to S145. If NO, the process proceeds to S146.
S145 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한다. In S145, the maximum point of the AF evaluation value is detected as the result of the CAF, and the focal distance corresponding to the in-focus position determined at the maximum point is detected on the infinite circle INF side of the predetermined focal distance threshold value stored in the
S146 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되었는지 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한 다. In step S146, it is determined whether the maximum point of the AF evaluation value is detected as a result of the CAF or whether the AF evaluation value is in the vicinity of the maximum point (for example, in Japanese Patent Application Publication No. 2003-348426 Whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the infinity circle INF side than the predetermined focal distance threshold value stored in the
S147 에서는, 조작부 (11) 로부터의 입력 혹은 ROM (68) 에 기억된 파라미터에 의해 야경 판정에서 거리 정보를 사용할지 사용하지 않을지 중 어느 것이 설정되어 있는지를 판단한다. 야경 판정에서 거리 정보를 사용하는 설정이 되어 있는 경우에는 S148, 야경 판정에서 거리 정보를 사용하는 설정이 되어 있지 않은 경우에는 S149 로 진행한다. In step S147, it is determined whether or not the distance information is set in the night view determination based on the input from the operation unit 11 or the parameters stored in the
S148 에서는, AF 처리부 (62) 의 AF 처리에 의해 합초 위치가 결정되고, 또한 그 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 무한원 (INF) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S149, “아니오”인 경우에는 S152 로 진행한다. In step S148, the in-focus position is determined by the AF processing of the
S149 에서는, ROM (68) 의 설정 파라미터로서 혹은 조작부 (11) 로부터, 미리 야경 줌 정보 플래그가 ON 으로 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S150, “아니오”인 경우에는 S151 로 진행한다. In step S149, it is determined whether or not the night view zoom information flag is set in advance as the setting parameter of the
S150 에서는, 줌 렌즈 위치가 소정 범위 내, 예를 들어 소정 위치보다 와이드 측에 있는지의 여부를 판단한다. “예”인 경우에는 S151, “아니오”인 경우에는 S152 로 진행한다. 또한, 줌 위치가 소정 범위 내에 없다는 것은, 예를 들어 줌 렌즈 위치가 텔레단 혹은 그 근방에 있는 경우이다. 이 경우, 입사광량이 부족한 백 (back) 원경 (遠景) 을 화각에 담을 수 없어 야경 촬영에 적합하지 않기 때문에, AUTO 로 판정한다. In S150, it is determined whether or not the zoom lens position is within a predetermined range, for example, on the wide side than the predetermined position. If YES, the process proceeds to S151. If NO, the process proceeds to S152. The zoom position is not within the predetermined range, for example, when the zoom lens position is at or near the telescope. In this case, it is determined that AUTO is not available because it is not suitable for capturing the night view because the back side distant view where the incident light amount is insufficient can not be captured at the angle of view.
S151 에서는, SR=야경으로 설정한다. 그리고, module[3] 이후에 이어지 는 처리로 진행한다. In S151, SR = night view. Then, the process proceeds to module [3] and subsequent processes.
S152 에서는, SR=AUTO 로 설정한다. 그리고, module[3] 의 이후에 이어지는 처리로 진행한다.In S152, SR = AUTO is set. Then, the process proceeds to the process subsequent to the module [3].
도 12 는, 씬 판정 서브 루틴 (야경 판정, module[3]) 의 다른 일례를 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 야경 판정은, 도 11 또는 도 12 중 어느 하나를 채용하면 충분하다. 어느 일방을 선택적으로 실행해도 된다. 12 is a flowchart showing another example of the scene determination subroutine (night view determination, module [3]). This process is controlled by the
S161 에서는, 제어 회로 (74) 가 측광한 피사계 휘도가 ROM (68) 에 기억된 소정의 임계값보다 낮은지의 여부를 판단한다. “예”인 경우에는 S162, “아니오”인 경우에는 S168 로 진행한다. 또한, 이 임계값은, 보조광 제어부 (25) 에 발광을 지시하는지의 여부를 판별하는 임계값과 동일해도 되고 상이해도 된다.In S161, it is determined whether or not the subject luminance measured by the
S162 에서는, 릴리즈 버튼의 반누름 (S1) 이 락되어 있는지의 여부를 판단한다. “예”인 경우에는 S163, “아니오”인 경우에는 S168 로 진행한다. In step S162, it is determined whether or not the half-press S1 of the release button is locked. If YES, the process proceeds to S163. If NO, the process proceeds to S168.
S163 에서는, 보조광 제어부 (25) 에 보조광 (26) 의 발광을 지시했는지의 여부를 판단한다. “예”인 경우에는 S164, “아니오”인 경우에는 S168 로 진행한다. In S163, it is determined whether or not the auxiliary
S164 에서는, 보조광 제어부 (25) 가 보조광 발광부 (26) 를 발광시키기 직전과 직후에 각각 제어 회로 (74) 가 측광한 피사계 휘도의 차가 ROM (68) 에 기억된 소정의 임계값을 초과했는지의 여부를 판단한다. “예”인 경우에는 S168, “아니오”인 경우에는 S165 로 진행한다. 또한, 당해 차가 당해 임계값을 초과하지 않고 미소하면, 보조광 조사에 의한 피사체 휘도의 증가의 기여가 거의 없어, 피사체가 가깝지 않다고 말할 수 있다. In step S164, it is determined whether or not the difference in the subject luminance measured by the
S165 에서는, ROM (68) 의 설정 파라미터로서 혹은 조작부 (11) 로부터, 미리 야경 줌 정보 플래그가 ON 으로 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S166, “아니오”인 경우에는 S167 로 진행한다. In step S165, it is determined whether or not the night view zoom information flag is set to ON as a setting parameter of the
S166 에서는, 줌 렌즈 위치가 소정 범위 내, 예를 들어 소정 위치보다 와이드 측에 있는지의 여부를 판단한다. “예”인 경우에는 S167, “아니오”인 경우에는 S168 로 진행한다. 또한, 줌 위치가 소정 범위 내에 없다는 것은, 예를 들어 줌 렌즈 위치가 텔레단 혹은 그 근방에 있는 경우이다. 이 경우, 백 원경을 화각에 담을 수 없어, 야경 촬영에 적합하지 않다. In S166, it is determined whether or not the zoom lens position is within a predetermined range, for example, on the wide side from the predetermined position. If YES, the process proceeds to S167. If NO, the process proceeds to S168. The zoom position is not within the predetermined range, for example, when the zoom lens position is at or near the telescope. In this case, the back side mirror can not be contained in the angle of view, which is not suitable for night view photography.
S167 에서는, SR=야경으로 설정한다. 그리고, module[3] 의 이후에 이어지는 처리로 진행한다. In step S167, SR = night view is set. Then, the process proceeds to the process subsequent to the module [3].
S168 에서는, SR=AUTO 로 설정한다. 그리고, module[3] 의 이후에 이어지는 처리로 진행한다.In S168, SR = AUTO is set. Then, the process proceeds to the process subsequent to the module [3].
도 13 은, 씬 판정 서브 루틴 (접사 판정, module[4] 의 상세 내용을 나타내는 플로우 차트이다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 13 is a flowchart showing the details of the scene judgment subroutine (macro judgment, module [4]). This process is controlled by the
S171 에서는, 릴리즈 버튼의 반누름 (S1) 이 락되어 있는지의 여부를 판단한다. “예”인 경우에는 S184, “아니오”인 경우에는 S172 로 진행한다. In S171, it is determined whether or not the release button S1 is locked. If YES, the process proceeds to S184. If NO, the process proceeds to S172.
S172 에서는, 설정 메뉴나 조작부 (11) 를 통해 미리 CAF 의 실행이 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S173, “아니오”인 경우에는 S188 로 진행한다. In step S172, it is determined whether the execution of the CAF is set in advance through the setting menu or the operation unit 11. [ If YES, the process proceeds to S173. If NO, the process proceeds to S188.
S173 에서는, 본 촬상전 AF 처리부 (81) 가 산출한 AP 평가값이, ROM (68) 에 기억된 소정의 임계값보다 높은지의 여부를 판단한다. “예”인 경우에는 S174, “아니오”인 경우에는 S179 로 진행한다. 또한, 본 단계 S173 을 생략해도 된다. 이 경우, S172 에서“예”인 경우에는 S174 로 진행하고, 또, S173 에서“아니오”로 판단된 경우에 이어지는 모든 처리도 생략된다. In step S173, it is determined whether or not the AP evaluation value calculated by the pre-imaging AF processing unit 81 is higher than a predetermined threshold value stored in the
S174 에서는, E_AUTOSR_CHECK_CAFSTATUS_HIGH=O 인지의 여부를 판단한다. “예”인 경우에는 S175, “아니오”인 경우에는 S176 으로 진행한다. In step S174, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_HIGH = O. If YES, the process proceeds to S175. If NO, the process proceeds to S176.
S175 에서는, CAF 의 결과 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (至近) (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다. In step S175, it is determined whether or not the determined in-focus position determined by the CAF is closer to the nearest NEAR than the predetermined focal distance threshold value stored in the
S176 에서는, E_AUTOSR_CHECK_CAFSTATUS_HIGH=1 인지의 여부를 판단한다. “예”인 경우에는 S177, “아니오”인 경우에는 S178 로 진행한다. In step S176, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_HIGH = 1. If YES, the process proceeds to S177. If NO, the process proceeds to S178.
S177 에서는, CAF 의 결과 AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다.In S177, it is determined whether or not the maximum point of the resultant AF evaluation value of the CAF is detected and the focal distance corresponding to the in-focus position determined at the maximum point is closer to the nearest (NEAR) side than the predetermined focal length threshold value stored in the
S178 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되었는지 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 멀리 있는지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다.If it is determined in S178 that the maximum point of the AF evaluation value is detected as a result of the CAF or if the AF evaluation value is near the maximum point (for example, in Japanese Patent Application Publication No. 2003-348426, " ) And whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the NEAR side than the predetermined focal distance threshold value stored in the
S179 에서는, E_AUTOSR_CHECK_CAFSTATUS_LOW=0 인지의 여부를 판단한다. “예”인 경우에는 S180, “아니오”인 경우에는 S181 로 진행한다. In step S179, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_LOW = 0. If YES, the flow advances to step S180. If NO, the flow advances to step S181.
S180 에서는, CAF 의 결과, 정해진 합초 위치가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다. In step S180, it is determined whether or not the determined in-focus position as a result of the CAF is closer to the near-field (NEAR) side than the predetermined focal distance threshold value stored in the
S181 에서는, E_AUTOSR_CHECK_CAFSTATUS_LOW=1 인지의 여부를 판단한다. “예”인 경우에는 S182, “아니오”인 경우에는 S183 으로 진행한다.In S181, it is determined whether or not E_AUTOSR_CHECK_CAFSTATUS_LOW = 1. If YES, the process proceeds to S182. If NO, the process proceeds to S183.
S182 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되고, 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “Yes "의 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다.In S182, it is determined whether or not the maximum point of the AF evaluation value is detected as a result of the CAF and the focal distance corresponding to the in-focus point determined at the maximum point is closer to the NEAR side than the predetermined focal distance threshold value stored in the
S183 에서는, CAF 의 결과, AF 평가값의 극대점이 검출되거나 또는 AF 평가값이 그 극대점의 근방에 있고 (예를 들어 본 출원인에 의한 일본 공개특허공보 2003-348426호 단락 0041 의 「미동 조정」의 단계에 있는 경우), 또한 그 극대점에서 정해진 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다.In S183, if the maximum point of the AF evaluation value is detected as a result of the CAF, or if the AF evaluation value is in the vicinity of the maximum point (see, for example, Japanese Patent Application Publication No. 2003-348426 Whether or not the focal distance corresponding to the in-focus position determined at the maximum point is closer to the near side (NEAR) than the predetermined focal distance threshold value stored in the
S184 에서는, AF 처리부 (62) 의 AF 처리에 의해 합초 위치가 결정되고, 또한 그 합초 위치에 대응하는 초점 거리가 ROM (68) 에 기억된 소정의 초점 거리 임계값보다 지근 (NEAR) 측에 있는지, 즉 소정 거리보다 가까운지의 여부를 판단한다. “예”인 경우에는 S185, “아니오”인 경우에는 S188 로 진행한다. In step S184, it is determined whether the in-focus position is determined by the AF processing of the
S185 에서는, ROM (68) 의 설정 파라미터로서 혹은 조작부 (11) 로부터, 미리 접사 줌 정보 플래그가 ON 으로 설정되어 있는지의 여부를 판단한다. “예”인 경우에는 S186, “아니오”인 경우에는 S187 로 진행한다. In step S185, it is determined whether the close-up zoom information flag is set to ON as the setting parameter of the
S186 에서는, 줌 렌즈 위치가 ROM (68) 에 기억된 소정 범위 내, 예를 들어 소정 위치보다 와이드측에 있는지의 여부를 판단한다. “예”인 경우에는 S187, “아니오”인 경우에는 S188 로 진행한다. 또한, 줌 위치가 소정 범위 내에 없다는 것은, 예를 들어 줌 렌즈 위치가 와이드단 혹은 그 근방에 있는 경우 외의 경우이다. 이 경우, 근접 피사체의 합초가 이루어지지 않아, 접사에 적합하지 않았다. In S186, it is determined whether or not the zoom lens position is within a predetermined range stored in the
S187 에서는, SR=접사로 설정한다. 그리고, module[4] 이후에 이어지는 처리로 진행한다. In step S187, SR = macro is set. Then, the process proceeds to the process subsequent to the module [4].
S188 에서는, SR=AUTO 로 설정한다. 그리고, module[4] 이후에 이어지는 처리로 진행한다.In step S188, SR = AUTO is set. Then, the process proceeds to the process subsequent to the module [4].
도 9 ∼ 도 13 의 씬 판정 결과는, CPU (75) 가 표시부 (11) 에 표시하도록 제어한다.The result of the thin determination shown in Figs. 9 to 13 is controlled by the
예를 들어, 도 14 에 나타내는 바와 같이, 씬 판정 결과인 「풍경」, 「AUTO」, 「인물」, 「야경」, 「접사」와 같은 문자를 스루 화상에 혹은 릴리즈 버튼 완전 누름 후의 기록용 화상에 중첩하여 표시부 (11) 에 표시한다. 씬 판정 결과를 나타내는 문자열, 아이콘, 기호 그 밖의 정보는, 도시하지 않는 OSD 회로에 의해 생성된다. 카메라 (1) 에 음성 처리 회로나 스피커가 구비되어 있으면, 씬 판정 결과에 대응하는 통지음을 출력하도록 CPU (75) 를 제어해도 된다. 「자동 씬 인식 OFF」가 설정되어 있으면, 씬 판정 결과는 표시되지 않는다. For example, as shown in Fig. 14, characters such as "scene", "AUTO", "portrait", "night view", "close-up" And displays it on the display unit 11. [ A string, an icon, a symbol, and other information indicating the result of the scene determination are generated by an OSD circuit (not shown). If the
이상의 처리에 의해, 사용자가 촬영하려 하는, 혹은 촬영한 씬이, 어떠한 씬인지를 인식할 수 있다. 인식한 결과는, 도 14 에 나타내는 바와 같이, 텍스트나 아이콘 표시로 사용자에 알기 쉬운 형태로 통지된다. 인식 가능한 씬은, 인물 (도 9), 풍경 (도 10), 야경 (도 11·도 12), 접사 (도 13) 이다. 씬 판정 결과가 이들 어느 씬에도 적용되지 않는 경우에는, AUTO 가 된다. By the above-described processing, it is possible to recognize what scene the user wants to shoot, or which is photographed. As shown in Fig. 14, the recognized result is notified in a form that is easy for the user to understand by text or icon display. The recognizable scene is a portrait (Fig. 9), a landscape (Fig. 10), a night view (Fig. 11 and Fig. 12), and a close-up view (Fig. When the scene determination result is not applicable to any of these scenes, the result is AUTO.
도 2 의 메인 처리에서는, 씬 변동시에 씬 인식을 실시한다. 전회의 씬 인식 결과가 확정되었을 때의 프레임 상태와, 현 프레임 상태의 변동을 감시한다 (S4, 도 3). 변화가 있었던 경우에 씬 변동 있음으로 판단되면 (S5), status= 서치 상태가 되고 (S6), 씬 변동의 타이밍에서 인식부가 동작한다 (S9). In the main process of Fig. 2, scene recognition is performed at the time of scene change. The frame state when the previous scene recognition result is confirmed and the variation of the current frame state are monitored (S4, Fig. 3). If it is determined that there is a scene change (S5), the status = search state (S6) and the recognition section operates at the timing of the scene change (S9).
도 3 의 프레임 변동 체크에서는 변동을 검지하는 인자를 복수 가질 수 있고, 순서를 바꾸는 것 등도, E_AUTOSR_FRAME_CHECK1 ∼ 3 의 설정에 의해 가능하다. 그리고, 변동을 검지한 경우에는, 프레임 변동의 지표가 되는 change_measure 값을 증분한다 (S24, S28, S32). change_measure 값이 E_AUT0SR_FRAME_CHANGE_MEASURE 이상인 경우에는 (S25, S29, S33 에서“예”), 프레임 변동 있음으로 판단된다 (S35). In the frame fluctuation check of Fig. 3, it is possible to have a plurality of factors for detecting the fluctuation, and to change the order by setting the
여기에서는, 프레임 변동을 검지하는 구체적인 처리로서 측광값 변동 체크(도 4), 포커스 위치 변동 체크 (도 5), 얼굴 유무 변동 체크 (도 6) 를 나타내고 있다. 또한 도시는 생략하지만, 본 촬상전 AF 처리부 (81) 의 합초 검출 유무에 따라 프레임 변동을 검지해도 된다. 4), a focus position variation check (FIG. 5), and a face presence / absence fluctuation check (FIG. 6) as specific processes for detecting frame fluctuation. Although not shown, the frame fluctuation may be detected in accordance with the presence or absence of in-focus detection of the pre-image-taking AF processing unit 81.
도 4 의 측광값 변동 체크에서는, 측광값의 변동량의 지표가 되는 delta_ev 는, N 분할의 분할 에어리어마다 측광값 변동량을 산출하고, 각 에어리어에 대응한 가중을 가해 총합을 얻은 것이다. 그리고, delta_ev 의 값이 E_AUTOSP_FRAME_DELTA_EV 이상인 경우에, 측광값 변동 있음으로 판단한다. In the photometric value variation check of Fig. 4, delta_ev, which is an index of the variation of the photometric value, is obtained by calculating the photometric value variation amount for each divided area of N divided areas, and adding the weight corresponding to each area. When the value of delta_ev is equal to or greater than E_AUTOSP_FRAME_DELTA_EV, it is determined that the metering value fluctuates.
도 5 의 포커스 위치 변동 체크에서는, 포커스 위치의 변동량의 지표가 되는 delta_focal_point 는, 기준 정보의 포커스 위치와 금회의 포커스 위치의 차분에 의해 산출된다. delta_focal_point 의 값이 포커스 위치 변동 임계값 이상인 경우에, 포커스 위치 변동 있음으로 판단한다. 또한, 여기에서 사용되는 임계값은, 줌 위치마다 ROM (68) 에 설정되어 있는 것으로 한다. In the focus position variation check of Fig. 5, delta_focal_point, which is an index of the variation of the focus position, is calculated by the difference between the focus position of the reference information and the current focus position. When the value of the delta_focal_point is equal to or larger than the focus position variation threshold value, it is determined that there is a change in the focus position. It is assumed that the threshold value used here is set in the
도 6 의 얼굴 유무 변동 체크에서는, 기준 정보의 얼굴 유무 결과와 금회의 얼굴 유무 결과가 상이한 경우에, 얼굴 유무 변동 있음으로 판단한다. In the face presence / absence fluctuation check of Fig. 6, when the face presence / absence result of the reference information is different from the current face presence / absence result, it is judged that there is a face presence / absence fluctuation.
인식부 동작의 차이에 사용하는 씬 인식 이력은, 자동 씬 인식의 결과로서 채용하는 SR 을 구한 후에 클리어한다 (S8). 이것은, 인식부는 상시 동작하는 것을 상정하고 있지 않아, 떨어진 시각의 정보를 참조하는 일이 없도록 하기 위함이다.The scene recognition history used for the difference in recognition unit operation is cleared after obtaining the adopted SR as a result of automatic scene recognition (S8). This is because it is not assumed that the recognition unit operates at all times, so that the information of the distant time is not referred to.
여기에서, 씬 인식 이력이 클리어되기 때문에, 서치 상태가 된 후 (S6), 토털 씬 인식시에 필요한 수만큼 단독 씬 인식 결과가 얻어지도록, 그 수와 동일한 수회분만큼 인식부가 동작할 때까지는 (S11 에서“Y”가 될 때까지는), SR 이 갱신되지 않는 구조가 된다. Here, since the scene recognition history is cleared, until the recognition section operates for the same number of times as the number of times so that a single scene recognition result is obtained as many as necessary at the time of recognizing the total scene (S6) (Until it becomes " Y " in S11), the SR is not updated.
또한, SR 을 결정했을 때, 프레임 변동을 체크하기 위한 프레임 변동 기준 정보로서 채용된 SR 이 최대 빈도가 된 (최신측의) 시점의 촬영 정보를 기억한다 (S13).In addition, when SR is determined, shooting information at a time point at which the SR used as the frame fluctuation reference information for checking the frame fluctuation becomes the maximum frequency (latest side) is stored (S13).
또한, 결정된 SR 이 AUTO 이외인 경우에는, status 는 「확정 상태」가 되고 (S16), 씬이 변동할 때까지는 인식부는 동작하지 않는다. 이에 대해, 결정된 SR 이 AUTO 인 경우에는 「서치 상태」가 되고 (S15), 이어서 인식부를 동작시킨다. 이것은 씬 변동의 도중에 인식한 결과에 기초하여 status 를「확정 상태」로 함으로써, 씬 변동을 바르게 검지하지 못하게 될 가능성이 있기 때문이다.If the determined SR is other than AUTO, the status becomes the " confirmed state " (S16) and the recognition section does not operate until the scene changes. On the other hand, when the determined SR is AUTO, the search state is set (S15), and then the recognition unit is operated. This is because there is a possibility that the scene change can not be correctly detected by setting the status to the "fixed state" based on the recognition result in the middle of the scene change.
만일, 씬 변동의 도중 상태를 프레임 변동 기준 정보로서 등록한 후, 프레임 변동을 체크해 버리면, 최종적으로 씬 변동이 완료된 상태에서 인식부가 동작하기 를 바래도, 기준 정보와의 차분이 적기 때문에, 인식부가 동작하지 않는 현상이 일어난다. 그래서, 이것을 회피하기 위해 상기와 같이 확정된 씬에 대응하는 촬영 정보에 기초하여 프레임 변동 기준 정보를 갱신하는 처리를 실시한다 (S13). If the frame change is checked after registering the state of the scene change as the frame change reference information, there is little difference from the reference information even if the recognition unit wishes to operate in the state where the scene change is finally completed. A phenomenon that does not occur occurs. To avoid this, processing for updating the frame fluctuation reference information is performed based on the photographing information corresponding to the thus-determined scene (S13).
씬 인식은 결과가 안정되지 않으면, 출력 결과가 사용자의 혼란을 초래한다. 그래서, 촬영 씬이 어떠한 씬인지 판단하는 처리 (S7 ∼ S16) 와, 인식한 씬에 변동이 있었는지 감시하는 처리 (S4 ∼ S6) 를 혼합적으로 동작시킴으로써, 정확하고 안정된 씬 인식을 할 수 있게 된다. If scene recognition is not stable, the output results in user confusion. Thus, by performing the processes (S7 to S16) for judging the scene of the shooting scene and the processes (S4 to S6) for monitoring whether or not the recognized scene has been changed in a mixed manner, accurate and stable scene recognition can be performed do.
<제 2 실시형태>≪ Second Embodiment >
도 15 는 제 2 실시형태에 관련된 프레임 변동 체크 서브 루틴의 플로우 차트이다. 이 처리는, 도 3 의 처리를 대신하여 실행시킬 수 있다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 15 is a flowchart of a frame variation check subroutine according to the second embodiment. This process can be executed in place of the process of Fig. This process is controlled by the
S201 ∼ S203 은, S21 ∼ 23 과 동일하다. S201 to S203 are the same as S21 to S23.
S204 에서는, RAM (69) 의 파라미터 change_measure 에, 1 회째의 프레임 변동 체크에 대응하는 가중치 E_AUTOSP_FRAME_CHECK1 을 더한 값을 새로운 change-measure 로 설정한다. E_AUTOSP-FRAME_CHECK1 은 미리 ROM (68) 에 기억되어 있다. In S204, a value obtained by adding the weight E_AUTOSP_FRAME_CHECK1 corresponding to the first frame change check to the parameter change_measure of the
S205 ∼ S207 은, S25 ∼ S27 과 동일하다. S205 to S207 are the same as S25 to S27.
S208 에서는, RAM (69) 의 파라미터 change_measure 에, 2 회째의 프레임 변동 체크에 대응하는 가중치 E_AUTOSP_FRAME_CHECK2 를 더한 값을 새로운 change_measure 로 설정한다. E_AUT0SP_FRAME_CHECK2 는 미리 ROM (68) 에 기억되어 있다. In S208, a value obtained by adding the weight E_AUTOSP_FRAME_CHECK2 corresponding to the second frame change check to the parameter change_measure of the
S209 ∼ S211 은, S29 ∼ S27 과 동일하다. S209 to S211 are the same as S29 to S27.
S212 에서는, RAM (69) 의 파라미터 change_measure 에, 3 회째의 프레임 변동 체크에 대응하는 가중치 E_AUT0SP_FRAME_CHECK3 을 더한 값을 새로운 change_measure 로 설정한다. E_AUT0SP_FRAME_CHECK3 은 미리 ROM (68) 에 기억되어 있다. In S212, a value obtained by adding the weight E_AUT0SP_FRAME_CHECK3 corresponding to the third frame change check to the parameter change_measure of the
S213 ∼ S215 는, S33 ∼ 35 와 동일하다. S213 to S215 are the same as S33 to S35.
도 16 은, ROM (68) 에 기억된, 1 ∼ 3 회째의 프레임 변동 체크에 대응하는 가중치 E_AUT0SP_FRAME_CHECK1 ∼ 3 의 일례와, 1 ∼ 3 회째의 프레임 변동 체크에 의한 변화의 유무에 따른 change_measure 값의 일례의 관계를 나타내는 테이블이다.16 shows an example of weight values E_AUT0SP_FRAME_CHECK1 to E_AUT0SP_FRAME_CHECK1 to 3 corresponding to the first to third frame fluctuation checks stored in the
여기에서는 일례로서, 1 회째의 프레임 변동 체크는 얼굴 유무 변동 (도 6), 2 회째의 프레임 변동 체크는 포커스 위치 변동 (도 5), 3 회째의 프레임 변동 체크는 측광값 변동 (도 4) 이고, E_AUT0SP_FRAME_CHECK1=2, E_AUT0SP_FRAME_CHECK2=1, E_AUT0SP_FRAME_CHECK3=1 로 되어 있다. 즉 얼굴 유무 변동은, 포커스 위치 변동이나 측광값 변동에 비해 가중치가 크다. 6), the second frame change check is a focus position change (FIG. 5), the third frame change check is a photometric value change (FIG. 4), and the second frame change check , E_AUT0SP_FRAME_CHECK1 = 2, E_AUT0SP_FRAME_CHECK2 = 1, and E_AUT0SP_FRAME_CHECK3 = 1. That is, the face presence / absence fluctuation has a larger weight than the focus position variation or the photometric value fluctuation.
테이블에서는 1 ∼ 3 회째의 프레임 변동 체크에서 상정되는 변동 결과 조합의 전체가 망라되어 있으나 도시는 생략되어 있다. 예를 들어, E_AUTOSP_FRAME_CHANGE_MEASURE=2 인 경우, 1 회째의 프레임 변동 체크 (얼굴 유무 변동) 에서 변화 있음으로 판단되면, change_measure=2=E_AUTOSP_FRAME_CHANGE_MEASURE 가 되기 때문에, S205 에서“예”로 판정되어 S215 로 진행되고, 프레임 변동 있음으로 판단된다. 즉, 얼굴 유무 변동에 대응하는 가중치가 크기 때문에 얼굴 유무 변동이 있었던 것만으로 즉시 프레임 변동 있음으로 된다. In the table, all of the variation result combinations assumed in the first to third frame variation check are included, but the illustration is omitted. For example, if E_AUTOSP_FRAME_CHANGE_MEASURE = 2, the change_measure = 2 = E_AUTOSP_FRAME_CHANGE_MEASURE is determined in the first frame change check (face presence / absence change) It is judged that there is frame fluctuation. That is, since the weight corresponding to the face presence / absence fluctuation is large, the face presence / absence fluctuation is present, and the frame fluctuation immediately exists.
한편, 1 회째의 프레임 변동 체크 (얼굴 유무 변동) 에서 변화없음으로 판단된 경우, 2 회째의 프레임 변동 체크 (포커스 위치 변동) 에서 변화있음으로 판단되어도, change_measure=1<E_AUTOSP_FRAME_CHANGE_MEASURE 가 된다. 따라서, 3 회째의 프레임 변동 체크에서 변화 있음으로 판단되지 않는 한, S213 에서“아니오”로 판정되어 S214 로 진행되고, 프레임 변동 없음으로 판단된다. 즉, 포커스 위치 변동에 대응하는 가중치가 작기 때문에 포커스 위치 변동이 있었던 것만으로 즉시 프레임 변동 있음으로는 되지 않고, 다른 요인의 변동이 있고나서 비로소 변화 있음으로 판단된다. On the other hand, if it is determined that there is no change in the first frame change check (face presence / absence change), change_measure = 1 < E_AUTOSP_FRAME_CHANGE_MEASURE even if it is determined that there is change in the second frame change check (focus position change). Therefore, unless it is determined that there is a change in the third frame change check, it is determined as NO in S213 and the process proceeds to S214, where it is determined that there is no frame change. That is, since the weight value corresponding to the focus position variation is small, it is judged that the frame position change does not exist immediately because the focus position change has occurred, and there is no change after the other factors change.
도 16 의 테이블의 내용, 즉 각 회의 프레임 변동 체크에 대응하는 가중치, E_AUTOSP_FRAME_CHANGE_MEASURE 값은, 표시부 (71) 에 표시된 「중요 항목 선택」화면으로부터 조작부 (11) 를 통해 사용자가 자유롭게 설정할 수 있다. The contents of the table in Fig. 16, that is, the weight value corresponding to each conference frame variation check, E_AUTOSP_FRAME_CHANGE_MEASURE value, can be freely set by the user through the operation unit 11 from the "important item selection" screen displayed on the display unit 71.
이렇게 함으로써, 씬이 변동되어 있는지 판단하는 인자가 복수 존재하는 경우에, 각각에 대응하는 가중치를 자유롭게 설정 가능하게 함으로써, 씬 변동 체크의 기준을 다양한 형태로 표현할 수 있다. 사용자가 씬 변동 있음으로 판단되는 조건을 자유롭게 설정할 수 있으면, 씬 변동 기준을 커스터마이즈할 수 있어, 사용자가 중시하는 인자의 변화를 씬 변동의 판단에 강하게 반영할 수 있다.By doing so, when there are a plurality of factors for judging whether or not the scene is fluctuating, it is possible to freely set a weight corresponding to each of them, so that the criteria of the scene variation check can be expressed in various forms. If the user can freely set a condition judging that there is a scene change, the scene change criterion can be customized, and the change of the factor that the user puts emphasis can be strongly reflected in the judgment of the scene change.
<제 3 실시형태>≪ Third Embodiment >
도 17 은 제 3 실시형태에 관련된 메인 처리인 플로우 차트이다. 이 처리는, 도 2 의 처리를 대신하여 실행시킬 수 있다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. 본 실시형태에서는, 프레임 변동 기준 정보에 기초하여 프레임 변동 체크 (단독 프레임 변동 체크) 를 복수 회 실시하고, 또한, 프레임 변동 체크 결과를 프레임 변동 이력으로서 축적하고, 그 프레임 변동 이력에 기초하여 프레임 변동 체크 (토털 프레임 변동 체크) 를 실시한다.FIG. 17 is a flowchart of a main process according to the third embodiment. This processing can be executed in place of the processing in Fig. This process is controlled by the
S301 ∼ S303 은, S1 ∼ S3 과 동일하다. 단, S302 에서는, 프레임 변동 이력도 초기화된다. S301 to S303 are the same as S1 to S3. However, in S302, the frame variation history is also initialized.
S304 에서는, RAM (69) 에 기억된 프레임 변동 이력을 일세대 오래된 쪽으로 앞당긴다. 즉, 프레임 변동 이력을 슬라이드시킨다. 도 18 에서는 일례로서, 새로운 것부터 5 개의 이력 1, 1, 0, 0, 1 이 슬라이드된다. 그 결과, 최신의 이력은 「빈 공간 (null)」이 되고, 그것보다 오래된 이력은 1, 1, 0, 0 이 된다. 또한, 이력의 수는 5 개가 아니어도 된다. In S304, the frame fluctuation history stored in the
S305 는, 도입된 최신 프레임에 대하여 프레임 변동 체크 (단독 프레임 변동 체크) 를 실시하고, 그 결과를 최신의 단독 프레임 변동 체크 결과로서 프레임 변동 이력에 추가한다. In S305, a frame variation check (single frame variation check) is performed on the introduced latest frame, and the result is added to the frame variation history as the latest single frame variation check result.
S306 에서는, S305 의 결과, 프레임 변동이 있었는지의 여부를 판단한다. “예”인 경우에는 S307, “아니오”인 경우에는 S301 로 되돌아온다. In step S306, it is determined as a result of step S305 whether or not there is a frame fluctuation. If YES, the process returns to S307. If NO, the process returns to S301.
S307 에서는, RAM (69) 에 기억된 프레임 변동 이력 중 최신의 단독 프레임 변동 체크 결과의 변동 플래그를 ON 으로 설정한다. 도 18 에서는 일례로서 최신 프레임에 대하여 프레임 변동 있음으로 판단되고, 프레임 변동 이력은 1, 1, 1, 0, 0 이 되었다. In S307, the fluctuation flag of the latest single frame fluctuation check result among the frame fluctuation histories stored in the
S308 은, S4 과 동일하다.S308 is the same as S4.
이하의 S309 및 S310 에 있어서, 프레임 변동 이력에 기초하여 프레임 변동 체크 (토털 프레임 변동 체크) 를 실시한다. S309 에서는, RAM (69) 에 기억된 프레임 변동 이력을 참조하여, 변동이 있었던 횟수 (E_AUTOSR_FRAME_CHECK_HISTORY) 를 카운트 한다. In the following S309 and S310, a frame change check (total frame change check) is performed based on the frame change history. In step S309, the number of times (E_AUTOSR_FRAME_CHECK_HISTORY) that the fluctuation has occurred is counted by referring to the frame fluctuation history stored in the
S309 에서는, 프레임 변동 이력에 포함되는 과거의 M (도 18 에서는 M=5) 개의 단독 프레임 변동 체크 결과 중, S309 에서 카운트 된 변동이 있었던 횟수 (E_AUTOSR_FRAME_CHECK_HISTORY) 가, ROM (68) 에 기억된 소정의 씬 변동 판단 임계값 (E_AUTOSR_SCENE_CHANGE_JUDGE) 이상인지의 여부를 판단한다. “예”인 경우에는 S310, “아니오”인 경우에는 S301 로 되돌아온다. In step S309, the number of times (E_AUTOSR_FRAME_CHECK_HISTORY) that the count counted in S309 (E_AUTOSR_FRAME_CHECK_HISTORY) out of the past M (M = 5) individual frame fluctuation check results included in the frame fluctuation history is smaller than a predetermined It is determined whether or not it is equal to or greater than the scene change determination threshold E_AUTOSR_SCENE_CHANGE_JUDGE. If YES, the process returns to S310. If NO, the process returns to S301.
S310 에서는, 씬 변동 있음으로 판단하고, status 를 서치 상태로 하여, RAM (69) 의 프레임 변동 이력을 클리어한다. 즉, 도 18 의 프레임 변동 이력 1, 1, 1, 0, O 은 모두 클리어되고, 새롭게 M 개의 단독 프레임 변동 체크 결과가 축적될 때까지 씬 변동 유무 (토털 프레임 변동 체크) 는 판단되지 않는다. In S310, it is determined that there is a scene change, the status is set in the search state, and the frame change history of the
S311 에서는, 씬 인식 이력 유지 플래그가 ON 인지의 여부를 판단한다. “예”인 경우에는 S313, “아니오”인 경우에는 S312 로 진행한다. In S311, it is determined whether or not the scene recognition history holding flag is ON. If YES, the process proceeds to S313. If NO, the process proceeds to S312.
S312 에서는, RAM (69) 의 씬 인식 카운터를 0 으로 설정하여, 씬 인식 이력을 클리어하고, 반누름 (S1) 후 인식시 참조용 씬 인식 이력을 클리어한다. In S312, the scene recognition counter of the
S313 ∼ S321 은, 각각 S9 ∼ S17 과 동일하다. S313 to S321 are the same as S9 to S17, respectively.
본 처리에서는, 전회의 씬 인식 결과 (SR) 가 확정되어 있었을 때의 프레임 상태와 비교하여 현 프레임 상태가 변동되었는지를 감시한다. 이 프레임 변동 상태는 프레임 변동 이력으로서 오래된 것부터 새로운 것까지 순차 소정 개수 저장된다. E_AUTOSR_FRAME_CHECK_HISTORY 회분의 이력 중에서, 「프레임 변동 있음」으로 판단된 횟수가 E_AUTOSR_SCENE_CHANGE_JUDGE 이상이면 (S309 에서“예”), 「씬 변동 있음」으로 판단되어 (S310), 인식부가 동작한다 (S313). In this processing, whether or not the current frame state has changed is compared with the frame state at the time when the previous scene recognition result SR has been determined. This frame fluctuation state is stored as a frame fluctuation history in order from the oldest to the newest. If the number of times of the E_AUTOSR_FRAME_CHECK_HISTORY ash determination is "YES" in S309, it is determined that there is a scene change (S310), and the recognition unit operates (S313).
이와 같이 씬 변동을 판단할 때에 프레임 변동 이력을 사용함으로써, 헌팅을 방지하고, 확실한 씬 변동을 판단할 수 있다. By using the frame fluctuation history in judging the scene fluctuation in this manner, hunting can be prevented and reliable scene fluctuation can be judged.
<제 4 실시형태>≪ Fourth Embodiment &
도 19 는 제 4 실시형태에 관련된 메인 처리 (씬 변동 인식·주기적 인식 병존형) 의 플로우 차트이다. 이 처리는, 도 2 (또는 도 17) 의 처리와 선택적으로 실행시킬 수 있다. 이 처리는 카메라 (1) 의 CPU (75) 에 의해 실행이 제어된다. 이 처리를 규정하는 프로그램은 ROM (68) 에 기억되어 있다. Fig. 19 is a flowchart of a main process (scene change recognition / periodically recognized coexisting type) according to the fourth embodiment. This process can be selectively executed with the process of FIG. 2 (or FIG. 17). This process is controlled by the
S401 은 S1 과 동일하다. S401 is the same as S1.
S402 는, RAM (69) 의 프레임 변동 이력을 초기화하고, 프레임 변동 기준 정보를 초기화하고, status=서치 상태로 하고, 체크 카운터=0 으로 하고, 씬 인식 이 력 유지 플래그=OFF 로 한다. In step S402, the frame change history of the
S403 에서는, status=확정 상태인지의 여부를 판단한다. “예”인 경우에는 S404, “아니오”인 경우에는 S415 로 진행한다. In step S403, it is determined whether or not status = committed state. If YES, the process proceeds to S404. If NO, the process proceeds to S415.
S404 에서는, 주기적으로 인식부를 동작시키는 취지의 플래그가 설정되어 있는지 (E_AUTOSR_REC0GNIZE_CYCLE_TYPE=0) 의 여부를 판단한다. “예”인 경우에는 S405, “아니오”인 경우에는 S412 로 진행한다. E_AUTOSR-REC0GNIZE_CYCLE_TYPE 의 값은, 조작부 (11) 로부터 사용자가 임의로 입력해도 되고, 미리 메이커 측에서 ROM (68) 에 기억시켜 두어도 된다. 주기의 단위도 임의이며, 또한 그것을 사용자가 조작부 (11) 로부터 임의로 입력해도 된다. 예를 들어, 5 프레임마다, 2 초간 등의 주기를 설정할 수 있다. 주기적으로 인식부를 동작시킴으로써, 인식 결과는 아주 빠르게 바뀌는 일 없이 안정성이 향상된다. 또, 주기적으로 체크하기 때문에 일단 부적합한 인식을 했다 하더라도, 그 결과, 이후 계속해서 출력된 상태로는 되지 않는다. In step S404, it is determined whether or not a flag for operating the recognition unit is periodically set (E_AUTOSR_REC0GNIZE_CYCLE_TYPE = 0). If YES, the process proceeds to S405. If NO, the process proceeds to S412. The value of E_AUTOSR-REC0GNIZE_CYCLE_TYPE may be input arbitrarily by the user from the operation unit 11 or may be stored in advance in the
S405 ∼ S411 은, 각각 S304 ∼ S310 과 동일하다. S405 to S411 are the same as S304 to S310, respectively.
S412 ∼ 414 에서는, 씬 인식을 실시하는 고정 주기의 도래 유무에 따라 status=서치 상태로 한다. 즉, S412 에서는, 체크 카운터를 1 만큼 증분하고, S413 에서는, 체크 카운터가 ROM (68) 에 기억된 소정의 서치 주기 E_AUTOSR_CONST_SEARCH_CYCLE 에 도달했는지의 여부를 판단한다. “예”인 경우에는 S414 로 진행한다. “아니오”인 경우에는 S401 로 되돌아온다. S414 에서는, status=서치 상태로 하고, 체크 카운터를 0 으로 한다. In steps S412 to S414, the status is set to a search state in accordance with the presence or absence of a fixed cycle for performing scene recognition. That is, in step S412, the check counter is incremented by one, and in step S413, it is determined whether or not the check counter reaches the predetermined search period E_AUTOSR_CONST_SEARCH_CYCLE stored in the
S415 ∼ S425 는, 각각 S311 ∼ S321 과 동일하다. S415 to S425 are the same as S311 to S321, respectively.
인식부가 동작하는 타이밍, 요컨대 씬 인식을 실시하는 타이밍을 씬 변동시로 하는 경우와 일정 주기마다로 하는 경우는, 각각 일장일단이 있다. 씬 변동시에 씬 인식을 실시하는 경우에는, 응답성이 일정 주기마다 실시하는 경우와 비교하면 높다. 이에 대해, 일정 주기마다 씬 인식을 실시하는 경우에는, 안정성이 우수하고, 일단 잘못된 씬 판정 (씬 인식) 을 한 경우에도 그것이 화면 상에 출력되지 않는다. 그 때문에 어느 방식을 채용할지를 사용자가 선택할 수 있도록 함으로써, 사용자 독자적인 사용하기 편리함으로 이어지게 할 수 있게 된다.The timing at which the recognition section operates, that is, the timing at which the scene recognition is performed is changed at the time of scene change, In the case of performing scene recognition at the time of scene change, the response is higher when compared with the case where the response is performed at regular intervals. On the other hand, when scene recognition is performed at regular intervals, the stability is excellent, and even if scene judgment (scene recognition) once erroneous is performed, it is not outputted on the screen. Therefore, by allowing the user to select which method to employ, it is possible to make the user's own ease of use.
또, 인식부가 동작하는 타이밍을 사용자 선택에 의해 결정하는 것으로 하지 않고 설계자가 미리 선택하는 경우에도, 공통의 펌웨어를 베이스로, 파라미터의 차이에 의해 양자의 동작을 실현시킬 수 있게 된다. 그 때문에 펌웨어의 변경없이, 상이한 카메라 제품 (기종) 의 타겟으로 하는 사용자별로 제어를 바꿀 수도 있다. In addition, even when the timing for the recognition section to be operated is not determined by the user's selection but is selected by the designer in advance, the operation of both can be realized based on the common firmware based on the difference in the parameters. Therefore, it is possible to change the control for each target user of different camera products (model) without changing the firmware.
도 1 은 디지털 카메라의 구성을 나타내는 개략 블록도.1 is a schematic block diagram showing the configuration of a digital camera.
도 2 는 제 1 실시형태에 관련된 씬 인식 메인처리의 플로우 차트.2 is a flowchart of a scene recognition main process according to the first embodiment;
도 3 은 프레임 변동 체크의 플로우 차트.3 is a flowchart of a frame variation check.
도 4 는 측광값 변동 체크의 플로우 차트.4 is a flowchart of a metering value variation check.
도 5 는 포커스 위치 변동 체크의 플로우 차트.5 is a flowchart of a focus position variation check.
도 6 은 얼굴 유무 변동 체크의 플로우 차트.6 is a flowchart of a face presence / absence fluctuation check.
도 7 은 씬 인식의 상세 내용을 나타내는 플로우 차트.7 is a flowchart showing details of scene recognition;
도 8 은 씬 인식 결과 (SR) 를 개념적으로 나타낸 도면.Fig. 8 conceptually illustrates a scene recognition result (SR). Fig.
도 9 는 씬 판정 서브 루틴 (인물 판정) 의 플로우 차트.9 is a flowchart of a scene judging subroutine (person judgment).
도 10 은 씬 판정 서브 루틴 (풍경 판정) 의 플로우 차트.10 is a flowchart of a scene determination subroutine (landscape determination).
도 11 은 씬 판정 서브 루틴 (야경 판정) 의 플로우 차트.11 is a flowchart of a scene determination subroutine (night view judgment).
도 12 는 씬 판정 서브 루틴 (야경 판정) 의 플로우 차트의 다른 일례.12 is another example of a flowchart of a scene determination subroutine (night view judgment).
도 13 은 씬 판정 서브 루틴 (접사 판정) 의 플로우 차트.13 is a flowchart of a scene determination subroutine (macro decision).
도 14 는 씬 판정 결과 표시의 일례를 나타내는 도면.14 is a diagram showing an example of a scene determination result display;
도 15 는 제 2 실시형태에 관련된 프레임 변동 체크의 플로우 차트.15 is a flowchart of a frame variation check according to the second embodiment.
도 16 은 1 ∼ 3 회째의 프레임 변동 체크 결과에 대응하는 가중치 E_AUT0SP_FRAME_CHECK1 ∼ 3 과, 1 ∼ 3 회째의 프레임 변동 체크에 의한 변화의 유무에 따른 change_measure 값의 관계를 나타내는 도면.FIG. 16 is a diagram showing the relationship between weight values
도 17 은 제 3 실시형태에 관련된 씬 인식 메인 처리의 플로우 차트.17 is a flowchart of scene recognition main processing according to the third embodiment.
도 18 은 프레임 변동 이력의 일례를 나타내는 도면.18 is a diagram showing an example of a frame variation history;
도 19 는 제 4 실시형태에 관련된 씬 인식 메인 처리 (씬 변동 인식·주기적 인식 병존형) 의 플로우 차트.Fig. 19 is a flowchart of scene recognition main processing (scene change recognition / periodically recognized coexisting type) according to the fourth embodiment; Fig.
※ 도면의 주요 부분에 대한 부호의 설명[Description of Drawings]
62 : AF 처리부 63 : AE/AWB 처리부62: AF processor 63: AE / AWB processor
75 : CPU 80 : 얼굴 검출 처리부75: CPU 80: Face detection processing unit
81 : 본 촬상전 AF 처리부81: The pre-imaging AF processing section
Claims (14)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008192281 | 2008-07-25 | ||
JPJP-P-2008-192281 | 2008-07-25 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100011936A KR20100011936A (en) | 2010-02-03 |
KR101590190B1 true KR101590190B1 (en) | 2016-01-29 |
Family
ID=41594837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090067419A KR101590190B1 (en) | 2008-07-25 | 2009-07-23 | Imaging device and method |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP5421682B2 (en) |
KR (1) | KR101590190B1 (en) |
CN (1) | CN101635796B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457673A (en) * | 2010-10-26 | 2012-05-16 | 宏达国际电子股份有限公司 | Video capturing method and system for same |
CN107483816B (en) * | 2017-08-11 | 2021-01-26 | 西安易朴通讯技术有限公司 | Image processing method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3113259B2 (en) | 1989-07-18 | 2000-11-27 | 富士写真フイルム株式会社 | Exposure control method and apparatus for video camera |
JP2003032668A (en) | 2001-07-19 | 2003-01-31 | Seiwa Electric Mfg Co Ltd | Digital camera for monitoring |
JP2007194917A (en) | 2006-01-19 | 2007-08-02 | Seiko Epson Corp | Setting of effect processing suitable for photographing scene of image |
JP2008072410A (en) | 2006-09-14 | 2008-03-27 | Nec Saitama Ltd | Imaging apparatus, cellular phone, imaging control method, imaging control program, and program recording medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3337030B2 (en) * | 2001-04-02 | 2002-10-21 | ソニー株式会社 | Electronic still imaging device |
JP3468231B2 (en) * | 2001-07-02 | 2003-11-17 | ミノルタ株式会社 | Image processing apparatus, image quality control method, program, and recording medium |
JP2003143466A (en) * | 2001-11-02 | 2003-05-16 | Canon Inc | Apparatus and method of processing picture, recording medium and program |
JP2005006157A (en) * | 2003-06-13 | 2005-01-06 | Matsushita Electric Ind Co Ltd | Image communication apparatus with camera |
JP4181974B2 (en) * | 2003-11-26 | 2008-11-19 | 富士フイルム株式会社 | Digital camera and image processing apparatus |
DE602006009191D1 (en) * | 2005-07-26 | 2009-10-29 | Canon Kk | Imaging device and method |
JP2007206433A (en) * | 2006-02-02 | 2007-08-16 | Canon Inc | Focusing apparatus, imaging apparatus, and control method |
JP2008042616A (en) * | 2006-08-08 | 2008-02-21 | Eastman Kodak Co | Imaging apparatus |
-
2009
- 2009-07-23 KR KR1020090067419A patent/KR101590190B1/en not_active IP Right Cessation
- 2009-07-24 JP JP2009173261A patent/JP5421682B2/en active Active
- 2009-07-24 CN CN2009101609317A patent/CN101635796B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3113259B2 (en) | 1989-07-18 | 2000-11-27 | 富士写真フイルム株式会社 | Exposure control method and apparatus for video camera |
JP2003032668A (en) | 2001-07-19 | 2003-01-31 | Seiwa Electric Mfg Co Ltd | Digital camera for monitoring |
JP2007194917A (en) | 2006-01-19 | 2007-08-02 | Seiko Epson Corp | Setting of effect processing suitable for photographing scene of image |
JP2008072410A (en) | 2006-09-14 | 2008-03-27 | Nec Saitama Ltd | Imaging apparatus, cellular phone, imaging control method, imaging control program, and program recording medium |
Also Published As
Publication number | Publication date |
---|---|
KR20100011936A (en) | 2010-02-03 |
JP5421682B2 (en) | 2014-02-19 |
CN101635796A (en) | 2010-01-27 |
JP2010050962A (en) | 2010-03-04 |
CN101635796B (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2148499B1 (en) | Imaging apparatus and method | |
JP4655054B2 (en) | Imaging device | |
US8199203B2 (en) | Imaging apparatus and imaging method with face detection based on scene recognition results | |
US8570422B2 (en) | Apparatus, method, and recording medium containing program for photographing | |
JP4518131B2 (en) | Imaging method and apparatus | |
US7880926B2 (en) | Imaging apparatus performing flash photography for persons | |
JP4338047B2 (en) | Imaging device | |
KR101542436B1 (en) | Imaging apparatus and imaging method | |
US7668451B2 (en) | System for and method of taking image | |
JP2009098351A (en) | Photographing method and apparatus | |
JP4697549B2 (en) | Image capturing apparatus and face detection method thereof | |
JP5027580B2 (en) | Imaging apparatus, method, and program | |
JP4890814B2 (en) | Imaging device | |
KR101590190B1 (en) | Imaging device and method | |
JP2010287919A (en) | Imaging device | |
JP5324684B2 (en) | Imaging apparatus and imaging method | |
JP4964992B2 (en) | Image capturing apparatus and image recording method thereof | |
JP2009033386A (en) | Photographing device and method | |
JP2004246160A (en) | Autofocus camera | |
KR101442152B1 (en) | User adaptive image photographing apparatus and method for controlling the apparatus | |
KR101417818B1 (en) | Apparatus and method for recognizing scene mode in digital image processing device | |
JP2004248050A (en) | Video camera | |
KR20100013867A (en) | Apparatus and method for sorting/searching image in digital image processing 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 | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |