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 PDF

Info

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
Application number
KR1020070042037A
Other languages
Korean (ko)
Other versions
KR20080097000A (en
Inventor
이승윤
이병권
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020070042037A priority Critical patent/KR101298646B1/en
Publication of KR20080097000A publication Critical patent/KR20080097000A/en
Application granted granted Critical
Publication of KR101298646B1 publication Critical patent/KR101298646B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio 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/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio 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/265Mixing

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

얼굴 영역이 효율적으로 검색되는 디지털 영상 처리 장치의 제어 방법{Method of controlling digital image processing apparatus wherein face area is efficiently searched}Method of controlling digital image processing apparatus wherein face area is efficiently searched}

도 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)가 있다.Timer lamp 11, flash 12, shutter release button 13, and ASR (Advanced Shake) 13 are provided on the front and the top of the digital camera 1 as a digital image processing apparatus according to the present invention, Reduction button 16, a power button 17, a lens unit 20, a microphone MIC, and a speaker SP.

셀프-타이머 램프(11)는 셀프-타이머 모드인 경우에 셔터 릴리즈 버튼(13)이 눌려진 시점으로부터 영상을 포착하기 시작하는 시점 까지의 설정 시간 동안 동작한다. 또한, 셀프-타이머 램프(11)는 사용자의 선택에 따라 보조광을 발생시킨다.The self-timer lamp 11 operates during the set time from when the shutter release button 13 is depressed to when it starts capturing an image in the self-timer mode. In addition, the self-timer lamp 11 generates auxiliary light according to the user's selection.

ASR 모드 버튼(16)은 손떨림을 보상하는 데에 사용된다. 또한, ASR 모드 버 튼(16)은 잠금 버튼으로도 사용된다. 예를 들어, ASR 모드 버튼(16)이 1초 미만으로 눌려진 경우에 손떨림 보상 기능이 수행되고, ASR 모드 버튼(16)이 1초 이상으로 눌려진 경우에 재생 모드에서의 잠금 기능이 수행된다.The ASR mode button 16 is used to compensate for camera shake. The ASR mode button 16 is also used as a lock button. For example, when the ASR mode button 16 is pressed for less than one second, the image stabilization function is performed. When the ASR mode button 16 is pressed for more than one second, the lock function in the playback mode is performed.

셔터 릴리즈 버튼(13)은 2단의 구조로 이루어진다. 즉, 사용자가 광각-줌 버튼(39W) 및 망원-줌 버튼(39T)을 조작한 후, 셔터 릴리즈 버튼(13)을 1단만 누르면 셔터 릴리즈 버튼(13)으로부터의 SH1 신호가 온(On)되고, 2단까지 누르면 셔터 릴리즈 버튼(13)으로부터의 SH2 신호가 온(On)된다. 정지영상 촬영 모드 및 동영상 촬영 모드에서는 SH2 신호가 온(On)된 후에 영상이 포착된다. 연속-촬영 모드에서는 SH1 신호가 온(On)되고 있는 동안에 연속적으로 영상이 포착된다. The shutter release button 13 has a two-stage structure. That is, when the user operates the wide angle-zoom button 39 W and the tele-zoom button 39 T and then presses the shutter release button 13 by one step, the SH1 signal from the shutter release button 13 is turned on ), And the SH2 signal from the shutter release button 13 is turned on when the second stage is pressed. In the still image shooting mode and the moving image shooting mode, the image is captured after the SH2 signal is turned on. In the continuous shooting mode, the image is continuously captured while the SH1 signal is turned on.

도 2를 참조하면, 본 발명에 따른 디지털 카메라(1)의 뒤쪽에는, 기능 버튼들(15), 카메라-상태 램프(22), 특수-효과 버튼(23), 카메라 끈걸이(24), 이어폰 연결부(25), 디스플레이 패널(35), +/- 버튼(36), 줌/9분할/볼륨 버튼(39), 재생/프린터 버튼(42), 및 모드 버튼(43)이 있다.2, a digital camera 1 according to the present invention includes function buttons 15, a camera-state lamp 22, a special-effect button 23, a camera strap hook 24, There are a connection section 25, a display panel 35, a +/- button 36, a zoom / 9 division / volume button 39, a reproduction / printer button 42 and a mode button 43.

기능 버튼들(15)은, 사용자가 디지털 카메라(1)의 특정 기능들을 수행하는 데에 사용되고, 디스플레이 패널(35)의 메뉴 화면에서 활성화 커서의 방향-이동 버튼들로서 사용되며, 재생 모드에서 재생 대상의 파일 및 기록 매체를 전환시키는 데에 사용된다. The function buttons 15 are used by the user to perform specific functions of the digital camera 1 and are used as direction-movement buttons of the active cursor in the menu screen of the display panel 35, And is used to switch between the file and the recording medium.

카메라-상태 램프(22)는 카메라의 각종 동작 상태를 보여주는 데에 사용된다. 특수-효과 버튼(23)은 촬영될 영상에 특수한 효과들을 설정하는 데에 사용된 다. +/- 버튼(36)은 야경 촬영 등을 위하여 셔터 속도를 조정하는 데에 사용된다.The camera-state lamp 22 is used to show various operational states of the camera. The special-effect button 23 is used to set special effects on the image to be photographed. The +/- button 36 is used to adjust the shutter speed for night view shooting and the like.

줌/9분할/볼륨 버튼(39)은, 촬영 또는 재생 모드에서 주밍(zooming) 동작을 수행하는 데, 또는 재생 모드에서 9 장의 사진들을 한 화면에 디스플레이하는 데, 또는 오디오의 볼륨을 조정하는 데에 사용된다.The zoom / 9split / volume button 39 is used to perform a zooming operation in shooting or playback mode, to display nine pictures in a single playback mode, or to adjust the volume of audio. Used for

재생/프린터 버튼(42)은 재생 모드와 프리뷰(preview) 모드의 상호 전환 또는 프린터로의 직접 출력을 위하여 사용된다.The reproduction / printer button 42 is used for switching between the reproduction mode and the preview mode or for direct output to the printer.

모드 버튼(43)은 PMP(Portable Media Player) 모드 또는 각종 촬영 모드를 선택하는 데에 사용된다. The mode button 43 is used to select a PMP (Portable Media Player) mode or various shooting modes.

도 3은 도 1의 디지털 카메라(1)의 전체적 구성을 보여준다. 도 1 내지 3을 참조하여, 도 1의 디지털 카메라(1)의 전체적 구성 및 동작을 설명하면 다음과 같다.Fig. 3 shows the overall configuration of the digital camera 1 of Fig. Referring to Figs. 1 to 3, the overall configuration and operation of the digital camera 1 of Fig. 1 will be described as follows.

렌즈부와 필터부를 포함한 광학계(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 / volume button 39 included in the user input unit INP in the preview mode or the moving image shooting mode, a corresponding signal is input to the micro controller 512. Accordingly, as the micro controller 512 controls the lens driving unit 510, the zoom motor M Z is driven to move the zoom lens.

한편, 자동 포커싱 모드에 있어서, 디지털 카메라 프로세서(507) 안에 내장된 주 제어기가 마이크로제어기(512)를 통하여 구동부(510)를 제어함에 의하여 포 커스 모터(MF)가 구동된다. 이에 따라 포커스 렌즈가 이동되며, 이 과정에서 영상 신호의 고주파 성분이 가장 많아지는 포커스 렌즈의 위치 예를 들어, 포커스 모터(MF)의 구동 스텝 수가 설정된다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다.Meanwhile, in the automatic focusing mode, the main controller built in the digital camera processor 507 controls the driving unit 510 through the micro controller 512 to drive the focus motor M F. Thus, the focus lens is moved. In this process, the number of drive steps of the focus motor M F , for example, the position of the focus lens where the high frequency component of the image signal is the largest, is set. Reference symbol M A denotes a motor for driving an aperture (not shown).

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 digital camera processor 507 controls the timing circuit 502 to control the operations of the photoelectric conversion unit (OEC) and the analog-digital conversion unit 501. A CDS-ADC (Correlation Double Sampler and Analog-to-Digital Converter) element 501 as an analog-to-digital conversion section processes an analog signal from the photoelectric conversion section OEC to remove high frequency noise, And then converted into a digital signal.

실시간 클럭(503)은 디지털 카메라 프로세서(507)에 시간 정보를 제공한다. 디지털 카메라 프로세서(507)는 CDS-ADC 소자(501)로부터의 디지털 신호를 처리하여 휘도 및 색도 신호로 분류된 디지털 영상 신호를 발생시킨다. The real-time clock 503 provides time information to the digital camera processor 507. The digital camera processor 507 processes digital signals from the CDS-ADC device 501 to generate digital image signals classified into luminance and chrominance signals.

주 제어기를 내장하는 디지털 카메라 프로세서(507)로부터의 제어 신호들에 따라 마이크로제어기(512)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프(11) 및 카메라-상태 램프(22) 등이 포함된다.The light-emitting section (LAMP) driven by the microcontroller 512 according to the control signals from the digital camera processor 507 incorporating the main controller includes a self-timer lamp 11 and a camera-state lamp 22 .

사용자 입력부(INP)에는, 셔터 릴리즈 버튼(13), 기능 버튼들(15), ASR 모드 버튼(16), 전원 버튼(17), 특수-효과 버튼(23), +/- 버튼(36), 줌/9분할/볼륨 버튼(39), 재생/프린터 버튼(42), 및 모드 버튼(43) 등이 포함된다.The user input unit INP includes a shutter release button 13, function buttons 15, an ASR mode button 16, a power button 17, a special-effect button 23, a +/- button 36, Zoom / 9 split / volume buttons 39, playback / printer buttons 42, mode buttons 43, and the like are included.

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 digital camera processor 507 is temporarily stored in a dynamic random access memory (DRAM) 504. An algorithm necessary for the operation of the digital camera processor 507 is stored in an EEPROM (Electrically Erasable and Programmable Read Only Memory) 505. In the memory card interface (MCI) 506, the user's memory card is detached. In the flash memory (FM), setting data necessary for the operation of the digital camera processor 507 is stored. In the memory card interface 506, a plurality of memory cards are detached and removed as user's recording media.

디지털 카메라 프로세서(507)로부터의 디지털 영상 신호는 LCD 구동부(514)에 입력되고, 이로 인하여 디스플레이 패널(35)에 화상이 디스플레이된다.The digital video signal from the digital camera processor 507 is input to the LCD driver 514, whereby an image is displayed on the display panel 35.

인터페이스부(21)에 있어서, 디지털 카메라 프로세서(507)로부터의 디지털 영상 신호는, USB(Universal Serial Bus) 접속부(21a) 또는 RS232C 인터페이스(508)와 그 접속부(21b)를 통하여 직렬 통신으로써 전송될 수 있고, 비데오 필터(509) 및 비데오 출력부(21c)를 통하여 비데오 신호로서 전송될 수 있다. The digital video signal from the digital camera processor 507 is transmitted through the USB (Universal Serial Bus) connection unit 21a or the RS232C interface 508 and the connection unit 21b through the serial communication in the interface unit 21 And can be transmitted as a video signal through the video filter 509 and the video output unit 21c.

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

한편, 마이크로제어기(512)는 플래시-광량 센서(19)로부터의 신호에 따라 플래시 제어기(511)의 동작을 제어하여 플래시(12)를 구동한다.On the other hand, the micro controller 512 controls the operation of the flash controller 511 in accordance with the signal from the flash-light amount sensor 19 to drive the flash 12. [

도 4는 도 3의 디지털 카메라 프로세서(507)의 주 알고리듬을 보여준다. 도 1 내지 4를 참조하여 도 3의 디지털 카메라 프로세서(507)의 주 알고리듬을 설명하면 다음과 같다.FIG. 4 shows a main algorithm of the digital camera processor 507 of FIG. A main algorithm of the digital camera processor 507 of FIG. 3 will be described with reference to FIGS. 1 to 4 as follows.

디지털 카메라(1)에 동작 전원이 인가되면, 디지털 카메라 프로세서(507)는 초기화를 실행한다(단계 S1). 이 초기화 단계(S1)가 실행되면, 디지털 카메라 프로세서(507)는 프리뷰(Preview) 모드를 수행한다(단계 S2). 이 프리뷰 모드에서 입력 영상이 디스플레이 패널(35)에 디스플레이된다. When operation power is applied to the digital camera 1, the digital camera processor 507 executes initialization (step S1). When this initialization step S1 is executed, the digital camera processor 507 performs a preview mode (step S2). In this preview mode, the input image is displayed on the display panel 35.

다음에, 셔터 릴리즈 버튼(13)으로부터의 1단 신호인 SH1 신호가 온(On) 상태이면(단계 S3), 디지털 카메라 프로세서(507)는 촬영 모드를 수행한다(단계 S4). Next, when the SH1 signal as the first stage signal from the shutter release button 13 is in the On state (step S3), the digital camera processor 507 performs the shooting mode (step S4).

다음에, 사용자 입력부(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 digital camera processor 507 determines whether a conversion signal to another arbitrary mode has been generated (step S8).

상기 단계 S8에서 임의의 또다른 모드로의 변환 신호가 발생되지 않았으면, 디지털 카메라 프로세서(507)는 상기 단계 S2 및 그 다음 단계들을 반복 수행한다. 상기 단계 S8에서 임의의 또다른 모드 예를 들어, 재생 모드로의 변환 신호가 발생되었으면, 디지털 카메라 프로세서(507)는 해당 모드를 수행(단계 S9)한 후에 상기 단계 S2 및 그 다음 단계들을 반복 수행한다. If no conversion signal to another mode is generated in step S8, the digital camera processor 507 repeats step S2 and the following steps. If a conversion signal to any other mode, for example, a playback mode, is generated in step S8, the digital camera processor 507 repeatedly performs the step S2 and subsequent steps after performing the mode (step S9). do.

도 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 unit frame 601 to explain the focus value or the luminance value of the image in steps S51 and S55 of FIG. 5. FIG. 7 illustrates a pixel structure of the setting partial region 602 in the unit frame of FIG. 6. 6 and 7, reference numeral R denotes a red pixel, G denotes a green pixel, and B denotes a blue pixel, respectively.

도 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 digital camera processor 507 determines that the rate of change (D AF ) or the rate of change (D Y ) of the focus value of the image of the current frame with respect to the image of the previous frame is the set ratio (D TH1 , D TH2 ). If larger (steps S51 and S55), the face region is searched using the entire image-data of the image of the current frame (step S52).

얼굴 영역이 검색됨(단계 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 digital camera processor 507 marks the corresponding face area (s) on the display image (step S54).

단계들 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 digital camera processor 507 may use the entire image-data recently to search for the facial region, that is, the elapsed time T PA from the time when step S52 was recently performed to the current time, for example, Measure the number of elapsed frames.

여기에서 상기 경과 시간(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 digital camera processor 507 uses the entire image-data of the image of the current frame. The face area is searched (step S52).

검색 단계(S52)에서 적어도 한 얼굴 영역이 존재하면(단계 S53), 디지털 카메라 프로세서(507)는 해당되는 얼굴 영역(들)을 디스플레이 영상에 마킹한다(단계 S54).If at least one face area exists in the search step S52 (step S53), the digital camera processor 507 marks the corresponding face area (s) on the display image (step S54).

상기한 바와 같이 상기 단계들 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 unit frame 601 of FIG. 6. It is measured only for the partial region (602 of FIG. 6). By such an effective measurement method, the processing speed of the digital camera processor 507 may be further improved.

도 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 partial area 602, the first unit measuring area 701 is G 12 , R 13 , G 14 , B 22 , G 23 , B 24 , G 32 , R 33 , and G 34 . When set, the first focus value F 701 in the first unit measurement area 701 is measured by Equation 1 below.

Figure 112007032539878-pat00001
Figure 112007032539878-pat00001

상기 수학식 1에서, DG23은 화소 G23의 계조 값을, DG12는 화소 G12의 계조 값을, DG14는 화소 G14의 계조 값을, DG32는 화소 G32의 계조 값을, 그리고 DG34는 화소 G34의 계조 값을 각각 가리킨다.In Equation 1, D G23 is a gray value of the pixel G 23 , D G12 is a gray value of the pixel G 12 , D G14 is a gray value of the pixel G 14 , D G32 is a gray value of the pixel G 32 , And D G34 indicate the gray level values of the pixel G 34 , respectively.

이와 마찬가지로, 제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.

Figure 112007032539878-pat00002
Figure 112007032539878-pat00002

상기와 같은 모든 단위 측정 영역들의 포커스 값들을 합산한 결과가 설정 부분 영역(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 partial area 602, which is regarded as the focus value FV in the corresponding frame 601.

현재 프레임에서의 포커스 값을 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.

Figure 112007032539878-pat00003
Figure 112007032539878-pat00003

한편, 설정 부분 영역(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 partial region 602, the second grayscale values are obtained by multiplying the grayscale values of each pixel by the weight for each color, and then the sum of all of the second grayscale values is obtained. The luminance value in the setting partial region 602, that is, the luminance value Y i in the frame 601 is considered. In obtaining the second gray scale values, for example, the gray value of the red pixel R or the blue pixel B is multiplied by 0.2, and the gray value of the green pixel G is multiplied by 0.6.

현재 프레임에서의 휘도 값을 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.

Figure 112007032539878-pat00004
Figure 112007032539878-pat00004

도 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 digital camera processor 507 of FIG. 5 determines whether there is at least one face region in the previous frame (step S81).

단계 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 digital camera processor 507 sets the rate of change (D AF ) or the rate of change (D Y ) of the focus value of the image of the current frame to the image of the previous frame. It is determined whether it is greater than the ratio D TH1 , D TH2 (steps S82 and S86). Here, the change ratio D AF or the change ratio D Y of the focus value of the image of the current frame to the image of the previous frame is obtained as described above with reference to FIGS. 6 and 7. That is, the measurement is made only for the set partial area (602 in FIG. 6) in the unit frame (601 in FIG. 6).

단계들 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 digital camera processor 507 may display the entire image of the current image. The face area is searched using the data (step S83).

단계 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 digital camera processor 507 uses the entire image-data of the current image to face it. The area is searched (step S83). If at least one face area exists in step S83 (step S84), the face area (s) are marked on the display image (step S85).

단계 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 digital camera processor 507 searches for the face area using the reduced image-data of the image of the current frame (step S88). ). In this case, the reduced image data refers to data whose resolution is lower than that of the entire image data. If at least one face area exists in step S88 (step S84), the digital camera processor 507 marks the face area (s) on the display image (step S85).

상기 단계들 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)

프리뷰(preview) 모드에서 얼굴 영역을 검색하고 검색된 얼굴 영역을 디스플레이 영상에 마킹하는 디지털 영상 처리 장치의 제어 방법에 있어서,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, (a) 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보다 크면, 상기 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 단계; 및(a) searching for a face region using all image-data of the current image when the rate of change of the focus value of the current image or the rate of change of the luminance value of the previous image is larger than a preset ratio; And (b) 상기 단계 (a)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역을 디스플레이 영상에 마킹하는 단계를 포함한 디지털 영상 처리 장치의 제어 방법. and (b) marking the at least one face region on a display image if there is at least one face region in the step (a). 제1항에 있어서, 상기 단계 (a)에서,2. The method of claim 1, wherein in step (a) 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 및 휘도 값의 변화 비율이 영상의 설정 부분 영역에 대해서만 측정되는 디지털 영상 처리 장치의 제어 방법. A control method of a digital image processing apparatus, wherein a rate of change of a focus value of a current image and a rate of change of a luminance value of a previous image are measured only for a set partial region of an image. 제2항에 있어서, 3. The method of claim 2, (c) 상기 단계 (a)에서 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 및 휘도 값의 변화 비율이 설정 비율보다 크지 않으면, 최근에 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 시점으로부터 현재 시점까지의 경과 시간을 측정하는 단계; 및(c) If the rate of change of the focus value of the current image and the rate of change of the luminance value with respect to the previous image in step (a) are not greater than the set ratio, from the time of recently searching for the face region using the entire image-data; Measuring an elapsed time to a current time; And (d) 상기 단계 (c)에서 상기 경과 시간이 설정 시간에 도달하였으면, 상기 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 단계; 및(d) if the elapsed time reaches a set time in step (c), searching for a face region using all image-data of the current image; And (e) 상기 단계 (d)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역을 디스플레이 영상에 마킹하는 단계를 더 포함한 디지털 영상 처리 장치의 제어 방법. (e) if at least one face region exists in step (d), marking the at least one face region on a display image. 제3항에 있어서, The method of claim 3, 상기 단계들 (a) 내지 (e)가 프레임 단위로 반복하여 수행되는 디지털 영상 처리 장치의 제어 방법. And controlling the steps (a) to (e) by frame unit. 제4항에 있어서, 상기 단계들 (c) 및 (d)에서, The method of claim 4, wherein in steps (c) and (d), 상기 경과 시간이 경과 프레임 개수이고, 상기 설정 시간이 설정 프레임 개수인 디지털 영상 처리 장치의 제어 방법. And the elapsed time is the number of elapsed frames and the set time is the number of set frames. 프리뷰(Preview) 모드에서 얼굴 영역을 검색하고, 검색된 얼굴 영역을 디스플레이 영상에 마킹하는 디지털 영상 처리 장치의 제어 방법에 있어서,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, (a) 이전 영상에서 적어도 한 얼굴 영역이 존재하였는지를 판단하는 단계;(a) determining whether at least one face area exists in a previous image; (b) 상기 단계 (a)에서 적어도 한 얼굴 영역이 존재하였으면, 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보 다 큰지를 판단하는 단계;(b) if there is at least one face region in step (a), determining whether a change rate of a focus value or a change rate of a luminance value of a current image is greater than a set ratio; (c)상기 단계 (b)에서 상기 포커스 값의 변화 비율 또는 휘도 값의 변화 비율이 설정 비율보다 크면, 상기 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 단계; (c) if the rate of change of the focus value or the rate of change of the luminance value is larger than a preset rate in step (b), searching for a face region using all image-data of the current image; (d) 상기 단계 (c)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역을 디스플레이 영상에 마킹하는 단계;(d) marking at least one face area on a display image if at least one face area exists in step (c); (e) 상기 단계 (a)에서 적어도 한 얼굴 영역이 존재하지 않았으면, 최근에 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 시점으로부터 현재 시점까지의 경과 시간을 측정하는 단계; 및(e) if at least one face region does not exist in step (a), measuring an elapsed time from a time point of recently searching for a face region using the entire image-data to a current time point; And (f) 상기 단계 (e)에서 상기 경과 시간이 설정 시간에 도달하였으면, 상기 현재 영상의 전체 영상-데이터를 사용하여 얼굴 영역을 검색하는 단계; 및(f) searching for a face region using all image-data of the current image when the elapsed time reaches a set time in step (e); And (g) 상기 단계 (f)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼굴 영역을 디스플레이 영상에 마킹하는 단계를 포함한 디지털 영상 처리 장치의 제어 방법. and (g) marking the at least one face region on a display image if there is at least one face region in the step (f). 제6항에 있어서, The method of claim 6, (h) 상기 단계 (e)에서 상기 경과 시간이 상기 설정 시간에 도달하지 않았으면, 상기 현재 영상의 축소 영상-데이터를 사용하여 얼굴 영역을 검색하는 단계; 및(h) searching for a face region using the reduced image-data of the current image if the elapsed time does not reach the set time in step (e); And (i) 상기 단계 (h)에서 적어도 한 얼굴 영역이 존재하면, 상기 적어도 한 얼 굴 영역을 디스플레이 영상에 마킹하는 단계를 포함한 디지털 영상 처리 장치의 제어 방법. (i) if at least one face region exists in step (h), marking the at least one face region on a display image. 제7항에 있어서, 상기 단계 (b)에서,The method of claim 7, wherein in step (b), 이전 영상에 대한 현재 영상의 포커스 값의 변화 비율 및 휘도 값의 변화 비율이 영상의 설정 부분 영역에 대해서만 측정되는 디지털 영상 처리 장치의 제어 방법. A control method of a digital image processing apparatus, wherein a rate of change of a focus value of a current image and a rate of change of a luminance value of a previous image are measured only for a set partial region of an image. 제8항에 있어서, 9. The method of claim 8, 상기 단계들 (a) 내지 (i)가 프레임 단위로 반복하여 수행되는 디지털 영상 처리 장치의 제어 방법. And controlling the steps (a) to (i) repeatedly in units of frames. 제9항에 있어서, 상기 단계들 (e) 및 (f)에서, The method of claim 9, wherein in steps (e) and (f): 상기 경과 시간이 경과 프레임 개수이고, 상기 설정 시간이 경과 프레임 개수인 디지털 영상 처리 장치의 제어 방법. And the elapsed time is the number of elapsed frames and the set time is the number of elapsed frames.
KR1020070042037A 2007-04-30 2007-04-30 Method of controlling digital image processing apparatus wherein face area is efficiently searched KR101298646B1 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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&#39;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