KR101298646B1 - Method of controlling digital image processing apparatus wherein face area is efficiently searched - Google Patents
Method of controlling digital image processing apparatus wherein face area is efficiently searched Download PDFInfo
- Publication number
- KR101298646B1 KR101298646B1 KR1020070042037A KR20070042037A KR101298646B1 KR 101298646 B1 KR101298646 B1 KR 101298646B1 KR 1020070042037 A KR1020070042037 A KR 1020070042037A KR 20070042037 A KR20070042037 A KR 20070042037A KR 101298646 B1 KR101298646 B1 KR 101298646B1
- Authority
- KR
- South Korea
- Prior art keywords
- image
- face region
- rate
- change
- face
- 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/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
본 발명은, 프리뷰(preview) 모드에서 얼굴 영역을 검색하고 검색된 얼굴 영역을 디스플레이 영상에 마킹하는 디지털 영상 처리 장치의 제어 방법으로서, 단계들 (a) 및 (b)를 포함한다. 단계 (a)에서는, 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보다 크면, 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역이 검색된다. 단계 (b)에서는, 단계 (a)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역이 디스플레이 영상에 마킹된다.The present invention provides a control method of a digital image processing apparatus for searching for a face region in a preview mode and marking the retrieved face region on a display image, comprising steps (a) and (b). In step (a), if the rate of change of the focus value of the current image or the rate of change of the luminance value with respect to the previous image is larger than the set ratio, the face region is searched using the entire image-data of the current image. In step (b), if there is at least one face area in step (a), the at least one face area is marked on the display image.
Description
도 1은 본 발명에 따른 제어 방법이 적용되는 디지털 영상 처리 장치로서의 디지털 카메라의 앞쪽 및 윗쪽 외형을 보여주는 사시도이다.1 is a perspective view showing the front and top appearance of a digital camera as a digital image processing apparatus to which the control method according to the present invention is applied.
도 2는 도 1의 디지털 카메라의 뒤쪽 외형을 보여주는 배면도이다.FIG. 2 is a rear view showing a rear outer shape of the digital camera of FIG. 1;
도 3은 도 1의 디지털 카메라의 전체적 구성을 보여주는 도면이다.FIG. 3 is a diagram showing the overall configuration of the digital camera of FIG. 1. FIG.
도 4는 도 3의 디지털 카메라 프로세서의 주 알고리듬을 보여주는 흐름도이다.4 is a flow chart showing the main algorithm of the digital camera processor of FIG.
도 5는, 도 4의 설정 모드 수행 단계에서 얼굴 마킹 모드가 설정된 경우, 도 4의 프리뷰(preview) 모드 수행 단계에서 프레임 단위로 반복하여 수행되는 얼굴 마킹 알고리듬의 일 예를 보여주는 흐름도이다.FIG. 5 is a flowchart illustrating an example of a face marking algorithm that is repeatedly performed in units of frames in the preview mode performing step of FIG. 4 when the face marking mode is set in the performing of the setting mode of FIG. 4.
도 6은 도 5의 단계들 S51 및 S55에서 영상의 포커스 값 또는 휘도 값을 설명하기 위하여 단위 프레임의 화소 구조를 보여주는 도면이다.FIG. 6 is a diagram illustrating a pixel structure of a unit frame in order to explain a focus value or a luminance value of an image in steps S51 and S55 of FIG. 5.
도 7은 도 6의 단위 프레임에서의 설정 부분 영역의 화소 구조를 보여주는 도면이다.FIG. 7 is a diagram illustrating a pixel structure of a set partial area in a unit frame of FIG. 6.
도 8은 도 4의 설정 모드 수행 단계에서 얼굴 마킹 모드가 설정된 경우, 도 4의 프리뷰(preview) 모드 수행 단계에서 프레임 단위로 반복하여 수행되는 얼굴 마킹 알고리듬의 또다른 예를 보여주는 흐름도이다. FIG. 8 is a flowchart illustrating another example of a face marking algorithm repeatedly performed in units of frames in the preview mode performing step of FIG. 4 when the face marking mode is set in the performing of the setting mode of FIG. 4.
<도면의 주요 부분에 대한 부호의 설명> <Explanation of symbols for the main parts of the drawings>
1...디지털 카메라, 11...셀프-타이머 램프,1 ... digital camera, 11 ... self-timer lamp,
12...플래시, 13...셔터 릴리즈 버튼,12 ... flash, 13 ... shutter release button,
15...기능 버튼들, 16...ASR 모드 버튼,15 ... function buttons, 16 ... ASR mode button,
17...전원 버튼, 19...플래시-광량 센서, 20...렌즈부, 22...카메라-상태 램프,17 ... power button, 19 ... flash-light sensor, 20 ... lens, 22 ... camera-status lamp,
23...특수-효과 버튼, 24...카메라 끈걸이,23 ... special-effect button, 24 ... camera strap hook,
25...이어폰 연결부, MIC...마이크로폰, 25 ... earphone connection, MIC ... microphone,
SP...스피커, 35...디스플레이 패널, SP ... speaker, 35 ... display panel,
36...+/- 버튼, 39...줌/9분할/볼륨 버튼,36 ... + / - button, 39 ... Zoom / 9 split / volume button,
42...재생/프린터 버튼, 43...모드 버튼,42 ... play / printer button, 43 ... mode button,
OPS...광학계, OEC...광전 변환부, MZ...줌 모터, MF...포커스 모터, OPS ... Optical system, OEC ... Photoelectric conversion unit, M Z ... Zoom motor, M F ... Focus motor,
MA...조리개(aperture) 모터, 501...아날로그-디지털 변환부, M A ... aperture motor, 501 ... analog-to-digital converter,
502...타이밍 회로, 503...실시간 클럭,502 ... timing circuit, 503 ... real time clock,
504...DRAM, 505...EEPROM, 506...메모리 카드 인터페이스, 507...디지털 카메라 프로세서, 508...RS232C 인터페이스, 509...비데오 필터, 21a...USB 접속부, 21b...RS232C 접속부, 21c...비데오 출력부, 510...렌즈 구동부, 511...플래시 제어기, 512...마이크로제어기, INP...사용자 입력부, LAMP...발광부, 513...오디오 처리기, 514...LCD 구동부, 62...플래시 메모리, 601...단위 프레임,504 ... DRAM, 505 ... EEPROM, 506 ... memory card interface, 507 ... digital camera processor, 508 ... RS232C interface, 509 ... video filter, 21a ... USB connection, 21b ... RS232C connection, 21c ... video output, 510 ... lens driver, 511 ... flash controller, 512 ... microcontroller, INP ... user input, LAMP ... light emitter, 513 ... audio processor, 514 ... LCD driver, 62 ... flash memory, 601 ... unit frame,
602...설정 부분 영역, 701...포커스 값의 단위 측정 영역.602 ... setting subarea, 701 ... unit of measurement of focus value.
본 발명은, 디지털 영상 처리 장치의 제어 방법에 관한 것으로서, 보다 상세하게는, 프리뷰(preview) 모드에서 얼굴 영역을 검색하고 검색된 얼굴 영역을 디스플레이 영상에 마킹(marking)하는 디지털 영상 처리 장치의 제어 방법에 관한 것이다.The present invention relates to a control method of a digital image processing apparatus, and more particularly, to a method of controlling a digital image processing apparatus for searching for a face region in a preview mode and marking the detected face region on a display image. It is about.
통상적인 디지털 영상 처리 장치로서 예를 들어, 미국 특허 제6,097,431호(발명의 명칭 : Method and system for reviewing and navigating among images on an image capture unit)의 디지털 카메라를 들 수 있다.As a typical digital image processing apparatus, for example, a digital camera of U.S. Patent No. 6,097,431 (entitled "Method and system for reviewing and navigating among images on an image capture unit") is exemplified.
상기와 같은 통상적인 디지털 영상 처리 장치에 있어서, 얼굴 마킹 모드가 설정된 경우, 프리뷰(preview) 모드에서 얼굴 영역이 주기적으로 검색되고 검색된 얼굴 영역이 디스플레이 영상에 마킹된다.In the conventional digital image processing apparatus as described above, when the face marking mode is set, the face area is periodically searched in the preview mode and the detected face area is marked on the display image.
얼굴 영역이 주기적으로 검색됨에 있어서 잘 알려진 얼굴 인식 알고리듬들이 사용된다. 얼굴 인식 알고리듬들로서는 얼굴의 대칭을 이용한 알고리듬, 머리카락 색과 얼굴 색을 이용한 알고리듬, 및 얼굴의 윤곽을 이용한 알고리듬 등이 있다. Well-known face recognition algorithms are used as face regions are periodically searched. Face recognition algorithms include algorithms using symmetry of the face, algorithms using hair color and face color, and algorithms using contours of the face.
이와 같은 얼굴 인식 알고리듬에는 상대적으로 많은 비교 단계들이 존재하므로, 그 실행 시간이 상대적으로 길다. 따라서, 얼굴 마킹 모드가 설정된 경우에 프리뷰(preview) 모드에서 얼굴 영역이 주기적으로 검색됨에 따라 디지털 영상 처리 장치의 전체적인 처리 속도가 늦어지는 문제점이 있다. Since there are relatively many comparison steps in this face recognition algorithm, the execution time is relatively long. Accordingly, when the face marking mode is set, the overall processing speed of the digital image processing apparatus may be slowed down as the face region is periodically searched in the preview mode.
본 발명의 목적은, 얼굴 마킹 모드가 설정된 경우에 프리뷰(preview) 모드에서 얼굴 영역 검색의 횟수를 효율적으로 줄임에 따라, 전체적인 처리 속도를 향상할 수 있는 디지털 영상 처리 장치의 제어 방법을 제공하는 것이다. SUMMARY OF THE INVENTION An object of the present invention is to provide a control method of a digital image processing apparatus capable of improving the overall processing speed by efficiently reducing the number of face region searches in a preview mode when the face marking mode is set. .
상기 목적을 이루기 위한 본 발명은, 프리뷰(preview) 모드에서 얼굴 영역을 검색하고 검색된 얼굴 영역을 디스플레이 영상에 마킹하는 디지털 영상 처리 장치의 제어 방법으로서, 단계들 (a) 및 (b)를 포함한다.According to an aspect of the present invention, there is provided a control method of a digital image processing apparatus for searching for a face region in a preview mode and marking the detected face region on a display image, the method including steps (a) and (b). .
상기 단계 (a)에서는, 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보다 크면, 상기 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역이 검색된다.In the step (a), if the rate of change of the focus value of the current image or the rate of change of the luminance value with respect to the previous image is larger than the set ratio, the face region is searched using all the image-data of the current image.
상기 단계 (b)에서는, 상기 단계 (a)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역이 디스플레이 영상에 마킹된다.In step (b), if at least one face area exists in step (a), the at least one face area is marked on the display image.
본 발명의 상기 디지털 영상 처리 장치의 제어 방법에 의하면, 상기 단계 (a)에서, 이전 영상에서의 상기 얼굴 영역(들)의 위치와 현재 영상에서의 상기 얼굴 영역(들)의 위치가 동일할 가능성이 적은 경우에만 얼굴 영역이 검색되므로, 상기 프리뷰(preview) 모드에서 얼굴 영역 검색의 횟수가 효율적으로 줄어들 수 있다. 즉, 전체적인 처리 속도가 효율적으로 향상될 수 있다.According to the control method of the digital image processing apparatus of the present invention, in the step (a), the position of the face region (s) in the previous image and the position of the face region (s) in the current image are the same. Since the face area is searched only when the number is small, the number of face area searches can be efficiently reduced in the preview mode. In other words, the overall processing speed can be improved efficiently.
왜냐하면, 상기 단계 (a)에서 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 상기 설정 비율보다 크지 않을 경우, 이전 영상에서의 상기 얼굴 영역(들)의 위치와 현재 영상에서의 상기 얼굴 영역(들)의 위치가 동일할 가능성이 크기 때문이다.If the rate of change of the focus value of the current image or the rate of change of the luminance value with respect to the previous image is not greater than the set ratio in the step (a), the position and the current image of the face area (s) in the previous image This is because the location of the face area (s) in E is likely to be the same.
이하, 첨부된 도면들과 함께 본 발명에 따른 바람직한 실시예가 상세히 설명된다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings.
도 1을 참조하면, 본 발명에 따른 디지털 영상 처리 장치로서의 디지털 카메라(1)의 앞쪽 및 위쪽에는, 셀프-타이머 램프(11), 플래시(12), 셔터 릴리즈 버튼(13), ASR(Advanced Shake Reduction) 모드 버튼(16), 전원 버튼(17), 렌즈부(20), 마이크로폰(MIC), 및 스피커(SP)가 있다.
셀프-타이머 램프(11)는 셀프-타이머 모드인 경우에 셔터 릴리즈 버튼(13)이 눌려진 시점으로부터 영상을 포착하기 시작하는 시점 까지의 설정 시간 동안 동작한다. 또한, 셀프-타이머 램프(11)는 사용자의 선택에 따라 보조광을 발생시킨다.The self-
ASR 모드 버튼(16)은 손떨림을 보상하는 데에 사용된다. 또한, ASR 모드 버 튼(16)은 잠금 버튼으로도 사용된다. 예를 들어, ASR 모드 버튼(16)이 1초 미만으로 눌려진 경우에 손떨림 보상 기능이 수행되고, ASR 모드 버튼(16)이 1초 이상으로 눌려진 경우에 재생 모드에서의 잠금 기능이 수행된다.The
셔터 릴리즈 버튼(13)은 2단의 구조로 이루어진다. 즉, 사용자가 광각-줌 버튼(39W) 및 망원-줌 버튼(39T)을 조작한 후, 셔터 릴리즈 버튼(13)을 1단만 누르면 셔터 릴리즈 버튼(13)으로부터의 SH1 신호가 온(On)되고, 2단까지 누르면 셔터 릴리즈 버튼(13)으로부터의 SH2 신호가 온(On)된다. 정지영상 촬영 모드 및 동영상 촬영 모드에서는 SH2 신호가 온(On)된 후에 영상이 포착된다. 연속-촬영 모드에서는 SH1 신호가 온(On)되고 있는 동안에 연속적으로 영상이 포착된다. The
도 2를 참조하면, 본 발명에 따른 디지털 카메라(1)의 뒤쪽에는, 기능 버튼들(15), 카메라-상태 램프(22), 특수-효과 버튼(23), 카메라 끈걸이(24), 이어폰 연결부(25), 디스플레이 패널(35), +/- 버튼(36), 줌/9분할/볼륨 버튼(39), 재생/프린터 버튼(42), 및 모드 버튼(43)이 있다.2, a
기능 버튼들(15)은, 사용자가 디지털 카메라(1)의 특정 기능들을 수행하는 데에 사용되고, 디스플레이 패널(35)의 메뉴 화면에서 활성화 커서의 방향-이동 버튼들로서 사용되며, 재생 모드에서 재생 대상의 파일 및 기록 매체를 전환시키는 데에 사용된다. The
카메라-상태 램프(22)는 카메라의 각종 동작 상태를 보여주는 데에 사용된다. 특수-효과 버튼(23)은 촬영될 영상에 특수한 효과들을 설정하는 데에 사용된 다. +/- 버튼(36)은 야경 촬영 등을 위하여 셔터 속도를 조정하는 데에 사용된다.The camera-
줌/9분할/볼륨 버튼(39)은, 촬영 또는 재생 모드에서 주밍(zooming) 동작을 수행하는 데, 또는 재생 모드에서 9 장의 사진들을 한 화면에 디스플레이하는 데, 또는 오디오의 볼륨을 조정하는 데에 사용된다.The zoom / 9split /
재생/프린터 버튼(42)은 재생 모드와 프리뷰(preview) 모드의 상호 전환 또는 프린터로의 직접 출력을 위하여 사용된다.The reproduction /
모드 버튼(43)은 PMP(Portable Media Player) 모드 또는 각종 촬영 모드를 선택하는 데에 사용된다. The
도 3은 도 1의 디지털 카메라(1)의 전체적 구성을 보여준다. 도 1 내지 3을 참조하여, 도 1의 디지털 카메라(1)의 전체적 구성 및 동작을 설명하면 다음과 같다.Fig. 3 shows the overall configuration of the
렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈, 및 보상 렌즈를 포함한다. 프리뷰(Preview) 모드 또는 동영상 촬영 모드에서 사용자가 사용자 입력부(INP)에 포함된 줌/9분할/볼륨 버튼(39)을 누르면, 이에 상응하는 신호가 마이크로제어기(512)에 입력된다. 이에 따라, 마이크로제어기(512)가 렌즈 구동부(510)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. An optical system (OPS) including a lens unit and a filter unit optically processes light from a subject. The lens portion of the optical system OPS includes a zoom lens, a focus lens, and a compensation lens. When the user presses the zoom / 9 division /
한편, 자동 포커싱 모드에 있어서, 디지털 카메라 프로세서(507) 안에 내장된 주 제어기가 마이크로제어기(512)를 통하여 구동부(510)를 제어함에 의하여 포 커스 모터(MF)가 구동된다. 이에 따라 포커스 렌즈가 이동되며, 이 과정에서 영상 신호의 고주파 성분이 가장 많아지는 포커스 렌즈의 위치 예를 들어, 포커스 모터(MF)의 구동 스텝 수가 설정된다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다.Meanwhile, in the automatic focusing mode, the main controller built in the
CCD(Charge Coupled Device) 또는 CMOS (Complementary Metal-Oxide- Semiconductor)의 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 아날로그 신호로 변환시킨다. 여기에서, 디지털 카메라 프로세서(507)는 타이밍 회로(502)를 제어하여 광전 변환부(OEC)와 아날로그-디지털 변환부(501)의 동작을 제어한다. 아날로그-디지털 변환부로서의 CDS-ADC(Correlation Double Sampler and Analog-to-Digital Converter) 소자(501)는, 광전 변환부(OEC)로부터의 아날로그 신호를 처리하여, 그 고주파 노이즈를 제거하고 진폭을 조정한 후, 디지털 신호로 변환시킨다. A photoelectric conversion unit OEC of a CCD (Charge Coupled Device) or a CMOS (Complementary Metal-Oxide-Semiconductor) converts light from the optical system OPS into an electrical analog signal. Here, the
실시간 클럭(503)은 디지털 카메라 프로세서(507)에 시간 정보를 제공한다. 디지털 카메라 프로세서(507)는 CDS-ADC 소자(501)로부터의 디지털 신호를 처리하여 휘도 및 색도 신호로 분류된 디지털 영상 신호를 발생시킨다. The real-
주 제어기를 내장하는 디지털 카메라 프로세서(507)로부터의 제어 신호들에 따라 마이크로제어기(512)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프(11) 및 카메라-상태 램프(22) 등이 포함된다.The light-emitting section (LAMP) driven by the microcontroller 512 according to the control signals from the
사용자 입력부(INP)에는, 셔터 릴리즈 버튼(13), 기능 버튼들(15), ASR 모드 버튼(16), 전원 버튼(17), 특수-효과 버튼(23), +/- 버튼(36), 줌/9분할/볼륨 버튼(39), 재생/프린터 버튼(42), 및 모드 버튼(43) 등이 포함된다.The user input unit INP includes a
DRAM(Dynamic Random Access Memory, 504)에는 디지털 카메라 프로세서(507)로부터의 디지털 영상 신호가 일시 저장된다. EEPROM(Electrically Erasable and Programmable Read Only Memory, 505)에는 디지털 카메라 프로세서(507)의 동작에 필요한 알고리듬이 저장된다. 메모리 카드 인터페이스(MCI, 506)에서는 사용자의 메모리 카드가 착탈된다. 플래시 메모리(FM)에는 디지털 카메라 프로세서(507)의 동작에 필요한 설정 데이터가 저장된다. 메모리 카드 인터페이스(506)에서는 사용자의 기록 매체들로서 복수의 메모리 카드들이 착탈된다.A digital image signal from the
디지털 카메라 프로세서(507)로부터의 디지털 영상 신호는 LCD 구동부(514)에 입력되고, 이로 인하여 디스플레이 패널(35)에 화상이 디스플레이된다.The digital video signal from the
인터페이스부(21)에 있어서, 디지털 카메라 프로세서(507)로부터의 디지털 영상 신호는, USB(Universal Serial Bus) 접속부(21a) 또는 RS232C 인터페이스(508)와 그 접속부(21b)를 통하여 직렬 통신으로써 전송될 수 있고, 비데오 필터(509) 및 비데오 출력부(21c)를 통하여 비데오 신호로서 전송될 수 있다. The digital video signal from the
오디오 처리기(513)는, 마이크로폰(MIC)으로부터의 음성 신호를 디지털 카메라 프로세서(507) 또는 스피커(SP)로 출력하고, 디지털 카메라 프로세서(507)로부터의 오디오 신호를 스피커(SP)로 출력한다.The
한편, 마이크로제어기(512)는 플래시-광량 센서(19)로부터의 신호에 따라 플래시 제어기(511)의 동작을 제어하여 플래시(12)를 구동한다.On the other hand, the micro controller 512 controls the operation of the
도 4는 도 3의 디지털 카메라 프로세서(507)의 주 알고리듬을 보여준다. 도 1 내지 4를 참조하여 도 3의 디지털 카메라 프로세서(507)의 주 알고리듬을 설명하면 다음과 같다.FIG. 4 shows a main algorithm of the
디지털 카메라(1)에 동작 전원이 인가되면, 디지털 카메라 프로세서(507)는 초기화를 실행한다(단계 S1). 이 초기화 단계(S1)가 실행되면, 디지털 카메라 프로세서(507)는 프리뷰(Preview) 모드를 수행한다(단계 S2). 이 프리뷰 모드에서 입력 영상이 디스플레이 패널(35)에 디스플레이된다. When operation power is applied to the
다음에, 셔터 릴리즈 버튼(13)으로부터의 1단 신호인 SH1 신호가 온(On) 상태이면(단계 S3), 디지털 카메라 프로세서(507)는 촬영 모드를 수행한다(단계 S4). Next, when the SH1 signal as the first stage signal from the
다음에, 사용자 입력부(INP)로부터의 입력 신호들중에서 설정 모드에 해당하는 신호들이 입력되면(단계 S5), 사용자 입력부(INP)로부터의 입력 신호들에 따라 동작 조건들을 설정하기 위한 설정 모드가 수행된다(단계 S6).Next, when signals corresponding to the setting mode are input from the input signals from the user input unit INP (step S5), a setting mode for setting the operating conditions according to the input signals from the user input unit INP is performed (Step S6).
한편, 종료 신호가 발생되지 않으면(단계 S7), 디지털 카메라 프로세서(507)는 임의의 또다른 모드로의 변환 신호가 발생되었는지를 판단한다(단계 S8).On the other hand, if no termination signal is generated (step S7), the
상기 단계 S8에서 임의의 또다른 모드로의 변환 신호가 발생되지 않았으면, 디지털 카메라 프로세서(507)는 상기 단계 S2 및 그 다음 단계들을 반복 수행한다. 상기 단계 S8에서 임의의 또다른 모드 예를 들어, 재생 모드로의 변환 신호가 발생되었으면, 디지털 카메라 프로세서(507)는 해당 모드를 수행(단계 S9)한 후에 상기 단계 S2 및 그 다음 단계들을 반복 수행한다. If no conversion signal to another mode is generated in step S8, the
도 5는, 도 4의 설정 모드 수행 단계(S6)에서 얼굴 마킹 모드가 설정된 경 우, 도 4의 프리뷰(preview) 모드 수행 단계(S2)에서 프레임 단위로 반복하여 수행되는 얼굴 마킹 알고리듬의 일 예를 보여준다. 도 6은 도 5의 단계들 S51 및 S55에서 영상의 포커스 값 또는 휘도 값을 설명하기 위하여 단위 프레임(601)의 화소 구조를 보여준다. 도 7은 도 6의 단위 프레임에서의 설정 부분 영역(602)의 화소 구조를 보여준다. 도 6 및 7에서, 참조 부호 R은 적색 화소를, G는 녹색 화소를, 그리고 B는 청색 화소를 각각 가리킨다.FIG. 5 is an example of a face marking algorithm that is repeatedly performed in units of frames in the preview mode performing step S2 of FIG. 4 when the face marking mode is set in the performing setting mode step S6 of FIG. 4. Shows. FIG. 6 illustrates the pixel structure of the
도 5 내지 7을 참조하여, 도 4의 프리뷰(preview) 모드 수행 단계(S2)에서 프레임 단위로 반복하여 수행되는 얼굴 마킹 알고리듬의 일 예를 설명하면 다음과 같다.5 to 7, an example of the face marking algorithm repeatedly performed in units of frames in the preview mode performing step S2 of FIG. 4 will be described.
먼저, 디지털 카메라 프로세서(507)는, 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF) 또는 휘도 값의 변화 비율(DY)이 설정 비율(DTH1, DTH2)보다 크면(단계들 S51 및 S55), 현재 프레임의 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색한다(단계 S52). First, the
얼굴 영역이 검색됨(단계 S52)에 있어서 잘 알려진 얼굴 인식 알고리듬들이 사용된다. 상기한 바와 같이, 얼굴 인식 알고리듬들로서는 얼굴의 대칭을 이용한 알고리듬, 머리카락 색과 얼굴 색을 이용한 알고리듬, 및 얼굴의 윤곽을 이용한 알고리듬 등이 있다. In the face area searched (step S52), well-known face recognition algorithms are used. As described above, face recognition algorithms include algorithms using symmetry of the face, algorithms using hair color and face color, and algorithms using contours of the face.
검색 단계(S52)에서 적어도 한 얼굴 영역이 존재하면(단계 S53), 디지털 카메라 프로세서(507)는 해당되는 얼굴 영역(들)을 디스플레이 영상에 마킹한다(단계 S54).If at least one face area exists in the search step S52 (step S53), the
단계들 S51 및 S55에서 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF) 또는 휘도 값의 변화 비율(DY)이 설정 비율(DTH1, DTH2)보다 크지 않을 경우, 이전 프레임의 영상에서의 얼굴 영역(들)의 위치와 현재 프레임의 영상에서의 얼굴 영역(들)의 위치가 동일할 가능성이 크다. If in step S51 and S55 the change rate D AF or the change rate D Y of the focus value of the image of the current frame with respect to the image of the previous frame is not greater than the set ratios D TH1 , D TH2 . The position of the face area (s) in the image of the previous frame and the position of the face area (s) in the image of the current frame are likely to be the same.
따라서, 이전 프레임의 영상에서의 얼굴 영역(들)의 위치와 현재 프레임의 영상에서의 상기 얼굴 영역(들)의 위치가 동일할 가능성이 적은 현재 프레임의 영상에 대해서만 얼굴 영역이 검색되므로, 프리뷰(preview) 모드(도 4의 S2)에서 얼굴 영역 검색의 횟수가 효율적으로 줄어들 수 있다. 즉, 전체적인 처리 속도가 효율적으로 향상될 수 있다.Therefore, the face area is searched only for the image of the current frame in which the position of the face area (s) in the image of the previous frame and the position of the face area (s) in the image of the current frame are less likely to be the same. In the preview mode (S2 of FIG. 4), the number of face area searches can be efficiently reduced. In other words, the overall processing speed can be improved efficiently.
추가적으로, 단계들 S51 및 S55에서 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF) 및 휘도 값의 변화 비율(DY)이 설정 비율(DTH1, DTH2)보다 크지 않으면, 디지털 카메라 프로세서(507)는, 최근에 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 시점 즉, 최근에 단계 S52가 수행되었던 시점으로부터 현재 시점까지의 경과 시간(TPA) 예를 들어, 경과 프레임 개수를 측정한다. Additionally, in steps S51 and S55, the change ratio D AF and the change ratio D Y of the focus value of the image of the current frame relative to the image of the previous frame are greater than the set ratios D TH1 , D TH2 . Otherwise, the
여기에서 상기 경과 시간(TPA)이 설정 시간(TSET) 예를 들어, 설정 프레임 개수에 도달하였으면(단계 S56), 디지털 카메라 프로세서(507)는 현재 프레임의 영상 의 전체 영상-데이터를 사용하여 얼굴 영역을 검색한다(단계 S52). Herein, if the elapsed time T PA reaches the set time T SET , for example, the number of set frames (step S56), the
검색 단계(S52)에서 적어도 한 얼굴 영역이 존재하면(단계 S53), 디지털 카메라 프로세서(507)는 해당되는 얼굴 영역(들)을 디스플레이 영상에 마킹한다(단계 S54).If at least one face area exists in the search step S52 (step S53), the
상기한 바와 같이 상기 단계들 S51 내지 S56은 프레임 단위로 반복하여 수행된다.As described above, the steps S51 to S56 are repeatedly performed in units of frames.
상기 단계들 S51 및 S55에서, 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF) 및 휘도 값의 변화 비율(DY)은 단위 프레임(도 6의 601)에서의 설정 부분 영역(도 6의 602)에 대해서만 측정된다. 이와 같은 효과적인 측정 방법에 의하여 디지털 카메라 프로세서(507)의 처리 속도가 보다 향상될 수 있다. In the above steps S51 and S55, the change ratio D AF and the change ratio D Y of the focus value of the image of the current frame with respect to the image of the previous frame are set in the
도 7을 참조하면, 설정 부분 영역(602)에서 제1 단위 측정 영역(701)이 G12, R13, G14, B22, G23, B24, G32, R33, 및 G34로 설정된 경우, 제1 단위 측정 영역(701)에서의 제1 포커스 값 F701은 아래의 수학식 1에 의하여 측정된다.Referring to FIG. 7, in the setting
상기 수학식 1에서, DG23은 화소 G23의 계조 값을, DG12는 화소 G12의 계조 값을, DG14는 화소 G14의 계조 값을, DG32는 화소 G32의 계조 값을, 그리고 DG34는 화소 G34의 계조 값을 각각 가리킨다.In
이와 마찬가지로, 제2 단위 측정 영역이 G14, R15, G16, B24, G25, B26, G34, R35, 및 G36으로 설정된 경우, 제2 단위 측정 영역에서의 제2 포커스 값 F702는 아래의 수학식 2에 의하여 측정된다.Similarly, when the second unit measurement area is set to G 14 , R 15 , G 16 , B 24 , G 25 , B 26 , G 34 , R 35 , and G 36 , the second focus in the second unit measurement area The value F 702 is measured by Equation 2 below.
상기와 같은 모든 단위 측정 영역들의 포커스 값들을 합산한 결과가 설정 부분 영역(602)에서의 포커스 값이 되며, 이는 해당 프레임(601)에서의 포커스 값 FV로 간주된다.The sum of the focus values of all the unit measurement areas as described above becomes the focus value in the setting
현재 프레임에서의 포커스 값을 FVi, 그리고 이전 프레임에서의 포커스 값을 FVi-1이라 하면, 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF)은 아래의 수학식 3에 의하여 구해진다.When the focus value in the current frame is FV i and the focus value in the previous frame is FV i-1 , the rate of change (D AF ) of the focus value of the image of the current frame with respect to the image of the previous frame is expressed by the following equation. Obtained by 3.
한편, 설정 부분 영역(602)에서의 휘도 값을 구함에 있어서, 각각의 화소의 계조 값에 색상 별로 가중값(weight)을 곱하여 제2 계조 값들을 구한 후, 이들 제2 계조값들을 모두 합한 결과가 설정 부분 영역(602)에서의 휘도 값 즉, 해당 프레 임(601)에서의 휘도 값 Yi로 간주된다. 상기 제2 계조 값들을 구함에 있어서, 예를 들어, 적색 화소(R) 또는 청색 화소(B)의 계조 값에 0.2가 곱해지고, 녹색 화소(G)의 계조 값에 0.6이 곱해진다.On the other hand, in obtaining the luminance value in the setting
현재 프레임에서의 휘도 값을 Yi, 그리고 이전 프레임에서의 휘도 값을 Yi -1이라 하면, 이전 프레임의 영상에 대한 현재 프레임의 영상의 휘도 값의 변화 비율(DY)은 아래의 수학식 4에 의하여 구해진다.When the luminance value in the current frame is Y i and the luminance value in the previous frame is Y i -1 , the ratio of change (D Y ) of the luminance value of the image of the current frame to the image of the previous frame is expressed by the following equation. Obtained by 4.
도 8은 도 4의 설정 모드 수행 단계(S6)에서 얼굴 마킹 모드가 설정된 경우, 도 4의 프리뷰(preview) 모드 수행 단계(S2)에서 프레임 단위로 반복하여 수행되는 얼굴 마킹 알고리듬의 또다른 예를 보여준다. 도 8을 참조하여 그 알고리듬을 설명하면 다음과 같다.8 illustrates another example of a face marking algorithm that is repeatedly performed in units of frames in the preview mode performing step S2 of FIG. 4 when the face marking mode is set in the performing setting mode step S6 of FIG. 4. Shows. The algorithm is described with reference to FIG. 8 as follows.
먼저, 디지털 카메라 프로세서(도 5의 507)는 이전 프레임에서 적어도 한 얼굴 영역이 존재하였는지를 판단한다(단계 S81).First, the
단계 S81에서 적어도 한 얼굴 영역이 존재하였으면, 디지털 카메라 프로세서(507)는 이전 프레임의 영상에 대한 현재 프레임의 영상의 포커스 값의 변화 비율(DAF) 또는 휘도 값의 변화 비율(DY)이 설정 비율(DTH1, DTH2)보다 큰지를 판단한다(단계들 S82 및 S86). 여기에서, 이전 프레임의 영상에 대한 현재 프레임의 영상 의 포커스 값의 변화 비율(DAF) 또는 휘도 값의 변화 비율(DY)은 위에서 도 6 및 7을 참조하여 설명되었던 바와 같이 구해진다. 즉, 단위 프레임(도 6의 601)에서의 설정 부분 영역(도 6의 602)에 대해서만 측정된다.If at least one face area exists in step S81, the
단계들 S82 및 S86에서 포커스 값의 변화 비율(DAF) 또는 휘도 값의 변화 비율(DY)이 설정 비율(DTH1, DTH2)보다 크면, 디지털 카메라 프로세서(507)는 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색한다(단계 S83).In steps S82 and S86, if the change ratio D AF of the focus value or the change ratio D Y of the luminance value is larger than the set ratios D TH1 and D TH2 , the
단계 S83에서 적어도 한 얼굴 영역이 존재하면(단계 S84), 얼굴 영역(들)을 디스플레이 영상에 마킹(marking)한다(단계 S85).If at least one face area exists in step S83 (step S84), the face area (s) are marked on the display image (step S85).
상기 단계 S81에서 적어도 한 얼굴 영역이 존재하지 않았으면, 최근에 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 시점으로부터 현재 시점까지의 경과 시간(TPA) 예를 들어, 경과 프레임 개수를 측정한다. 여기에서, 상기 경과 시간(TPA)이 설정 시간(TSET) 예를 들어, 설정 프레임 개수에 도달하였으면(단계 S87), 디지털 카메라 프로세서(507)는 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색한다(단계 S83). 단계 S83에서 적어도 한 얼굴 영역이 존재하면(단계 S84), 얼굴 영역(들)을 디스플레이 영상에 마킹(marking)한다(단계 S85). If at least one face region does not exist in step S81, the elapsed time (T PA ) from the time point of recently searching for the face region to the current time point using the entire image-data is measured, for example, the number of elapsed frames is measured. . Here, if the elapsed time (T PA ) has reached the set time (T SET ), for example, the number of set frames (step S87), the
단계 S87에서 상기 경과 시간(TPA)이 설정 시간(TSET)에 도달하지 않았으면, 디지털 카메라 프로세서(507)는 현재 프레임의 영상의 축소 영상-데이터를 사용하여 얼굴 영역을 검색한다(단계 S88). 여기에서, 축소 영상-데이터란 전체 영상-데 이터에 비하여 해상도가 낮아진 데이터를 의미한다. 단계 S88에서 적어도 한 얼굴 영역이 존재하면(단계 S84), 디지털 카메라 프로세서(507)는 얼굴 영역(들)을 디스플레이 영상에 마킹(marking)한다(단계 S85). If the elapsed time T PA has not reached the set time T SET in step S87, the
상기 단계들 S81 내지 S88은 프레임 단위로 반복하여 수행된다. Steps S81 to S88 are repeatedly performed in units of frames.
이상 설명된 바와 같이, 본 발명에 따른 디지털 영상 처리 장치의 제어 방법에 의하면, 이전 영상에서의 얼굴 영역(들)의 위치와 현재 영상에서의 얼굴 영역(들)의 위치가 동일할 가능성이 적은 경우에만 얼굴 영역이 검색되므로, 프리뷰(preview) 모드에서 얼굴 영역 검색의 횟수가 효율적으로 줄어들 수 있다. 즉, 전체적인 처리 속도가 효율적으로 향상될 수 있다. As described above, according to the control method of the digital image processing apparatus according to the present invention, when the position of the face region (s) in the previous image and the position of the face region (s) in the current image are less likely to be the same. Since only the face area is searched, the number of times of face area search can be efficiently reduced in the preview mode. In other words, the overall processing speed can be improved efficiently.
왜냐하면, 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보다 크지 않을 경우, 이전 영상에서의 얼굴 영역(들)의 위치와 현재 영상에서의 얼굴 영역(들)의 위치가 동일할 가능성이 크기 때문이다. If the rate of change of the focus value of the current image or the rate of change of the luminance value with respect to the previous image is not larger than the set ratio, the position of the face region (s) in the previous image and the face region (s) of the current image This is because the location is likely to be the same.
본 발명은, 상기 실시예에 한정되지 않고, 청구범위에서 정의된 발명의 사상 및 범위 내에서 당업자에 의하여 변형 및 개량될 수 있다. The present invention is not limited to the above embodiments, but may be modified and improved by those skilled in the art within the spirit and scope of the invention as defined in the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070042037A KR101298646B1 (en) | 2007-04-30 | 2007-04-30 | Method of controlling digital image processing apparatus wherein face area is efficiently searched |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070042037A KR101298646B1 (en) | 2007-04-30 | 2007-04-30 | Method of controlling digital image processing apparatus wherein face area is efficiently searched |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080097000A KR20080097000A (en) | 2008-11-04 |
KR101298646B1 true KR101298646B1 (en) | 2013-08-21 |
Family
ID=40285067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070042037A KR101298646B1 (en) | 2007-04-30 | 2007-04-30 | Method of controlling digital image processing apparatus wherein face area is efficiently searched |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101298646B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101362769B1 (en) * | 2007-12-07 | 2014-02-13 | 삼성전자주식회사 | Apparatus for processing digital image and method for controlling thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6097431A (en) * | 1996-09-04 | 2000-08-01 | Flashpoint Technology, Inc. | Method and system for reviewing and navigating among images on an image capture unit |
KR20040065786A (en) * | 2003-01-16 | 2004-07-23 | 삼성테크윈 주식회사 | Digital camera and control method thereof |
KR20080103586A (en) * | 2006-03-15 | 2008-11-27 | 오므론 가부시키가이샤 | Tracking device, tracking method, tracking device control program, and comuter readable recording medium |
-
2007
- 2007-04-30 KR KR1020070042037A patent/KR101298646B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6097431A (en) * | 1996-09-04 | 2000-08-01 | Flashpoint Technology, Inc. | Method and system for reviewing and navigating among images on an image capture unit |
KR20040065786A (en) * | 2003-01-16 | 2004-07-23 | 삼성테크윈 주식회사 | Digital camera and control method thereof |
KR20080103586A (en) * | 2006-03-15 | 2008-11-27 | 오므론 가부시키가이샤 | Tracking device, tracking method, tracking device control program, and comuter readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
KR20080097000A (en) | 2008-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8427430B2 (en) | Apparatus for and method of controlling digital image processing apparatus | |
KR100503039B1 (en) | Method to control operation of digital camera for user to easily take an identification photograph | |
JP5173453B2 (en) | Imaging device and display control method of imaging device | |
JP2008009263A (en) | Imaging device and program therefor | |
KR20050037725A (en) | Method for displaying image in portable digital apparatus, and portable digital apparatus using the method | |
KR100562404B1 (en) | Method of automatic focusing for camera wherein additional scanning is performed | |
KR100547998B1 (en) | Control method of digital camera informing that photographing state was inadequate | |
US9124854B2 (en) | Method of controlling digital photographing apparatus and digital photographing apparatus using the same | |
JP4501927B2 (en) | Imaging apparatus and program thereof | |
US8478004B2 (en) | Method of controlling digital image processing apparatus for performing moving picture photographing mode, and digital image processing apparatus using the method | |
KR101335626B1 (en) | Digital image processing apparatus wherein user's face is monitored | |
JP2001255451A (en) | Automatic focusing device, digital camera and portable information input device | |
KR101298646B1 (en) | Method of controlling digital image processing apparatus wherein face area is efficiently searched | |
JP4871664B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
KR101304466B1 (en) | Method of controlling digital image processing apparatus wherein continuous photographing mode is performed | |
KR101345292B1 (en) | Method of controlling digital image processing apparatus wherein face area is efficiently searched, and digital image processing apparatus adopting the method | |
KR101298210B1 (en) | Method of controlling digital image processing apparatus wherein face area is searched | |
KR101427653B1 (en) | Method of controlling digital image processing apparatus performing face recognition, and image processing apparatus adopting the method | |
JP2003295042A (en) | Camera | |
KR101351579B1 (en) | Method of controlling digital image processing apparatus for convenient setting of white balance | |
KR101364536B1 (en) | Method of controlling digital image processing apparatus wherein moving-picture photographing mode is performed, and digital image processing apparatus adopting the method | |
KR101369751B1 (en) | Method of controlling digital image processing apparatus performing face recognition, and image processing apparatus adopting the method | |
KR101411908B1 (en) | Method of controlling digital image processing apparatus performing face recognition, and image processing apparatus adopting the method | |
KR101417809B1 (en) | Method of controlling digital image processing apparatus wherein sticker composition is performed, and image processing apparatus adopting the method | |
JP2006039105A (en) | Sound recording device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20160728 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180727 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20190731 Year of fee payment: 7 |