KR101362769B1 - Apparatus for processing digital image and method for controlling thereof - Google Patents
Apparatus for processing digital image and method for controlling thereof Download PDFInfo
- Publication number
- KR101362769B1 KR101362769B1 KR1020070126864A KR20070126864A KR101362769B1 KR 101362769 B1 KR101362769 B1 KR 101362769B1 KR 1020070126864 A KR1020070126864 A KR 1020070126864A KR 20070126864 A KR20070126864 A KR 20070126864A KR 101362769 B1 KR101362769 B1 KR 101362769B1
- Authority
- KR
- South Korea
- Prior art keywords
- area
- region
- face
- frame
- current frame
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
본 발명은, 연속되는 프레임에서 영상을 입력받고, 현재 프레임에서는 이전 프레임에서 찾은 얼굴 영역을 제외한 영역을 검색 영역으로 하여 얼굴을 찾는 디지털 영상 처리장치 및 그 제어방법에 관한 것이다. 본 발명은, 설정된 시간 간격으로 프레임 단위로 영상을 입력받는 단계; 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역이 있는가를 판단하는 단계; 상기 제1영역이 없는 경우에는 현재 프레임의 전체 영역에서 사람의 얼굴을 검색하는 단계; 상기 제1영역이 있는 경우에는 상기 현재 프레임의 전체 영역 중에서 상기 제1영역을 제외한 영역에서 사람의 얼굴을 검색하는 단계; 상기 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역이 있는가를 판단하는 단계; 및 상기 제2영역의 위치를 저장하는 단계를 구비하는 디지털 영상 처리장치의 제어방법을 제공한다. The present invention relates to a digital image processing apparatus and a method of controlling the same, which receives an image in a continuous frame and searches for a face using a region other than the face region found in the previous frame as a search region in the current frame. The present invention comprises the steps of receiving an image in frame units at set time intervals; Determining whether there is a first region corresponding to a face region found in a previous frame; Searching for a face of a person in the entire area of the current frame when the first area does not exist; Searching for a face of a person in an area other than the first area among all areas of the current frame when the first area exists; Determining whether there is a second area corresponding to a face area found in the current frame; And storing the position of the second region.
Description
본 발명은 디지털 영상 처리장치 및 그 제어방법에 관한 것으로서, 보다 상세하게는 입력받은 영상을 이미지 프로세싱을 하고, 압축하여 이미지 파일로 저장하는 디지털 영상 처리장치 및 그 제어방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image processing apparatus and a control method thereof, and more particularly, to a digital image processing apparatus and a control method thereof which image-process an input image, compress and store the image as an image file.
통상적으로, 디지털 영상 처리장치는 디지털 카메라, PDA(personal digital assistant), 폰 카메라, PC 카메라 등의 영상을 처리하거나 영상 인식 센서를 사용하는 모든 장치를 포함한다. Typically, the digital image processing apparatus includes all apparatuses that process images of a digital camera, a PDA (personal digital assistant), a phone camera, a PC camera, or the like and use an image recognition sensor.
디지털 영상 처리장치는 촬상 소자를 통하여 입력받은 영상을 디지털 신호 처리기에서 이미지 프로세싱하고 이를 압축하여 이미지 파일을 생성하고, 그 이미지 파일을 메모리에 저장할 수 있다. The digital image processing apparatus can process an image received through an image pickup device in a digital signal processor, compress the image to generate an image file, and store the image file in a memory.
또한, 디지털 영상 처리장치는 촬상 소자를 통하여 입력받거나 저장매체에 저장된 이미지 파일의 이미지를 LCD(Liquid Crystal Display)와 같은 표시장치에 표시하여 보여줄 수 있다. In addition, the digital image processing apparatus can receive input through an image pickup device or display an image of an image file stored in a storage medium on a display device such as an LCD (Liquid Crystal Display).
입력된 영상에는 사람의 얼굴이 포함될 수 있다. 이 경우, 사람의 얼굴이 촬 영하고자 하는 영상에서 관심의 대상이 되는 경우가 많다. 이 경우, 사람의 얼굴을 중심으로 초점을 맞출 수 있다. 이러한 경우를 포함하여 다양한 필요에 의하여 입력된 영상에서 얼굴 영역을 검출할 수 있다. The input image may include a face of a person. In this case, a human face is often of interest in an image to be photographed. In this case, the human face can be focused. In this case, a face region may be detected from an image input by various needs.
본 발명은, 연속되는 프레임에서 영상을 입력받고, 현재 프레임에서는 이전 프레임에서 찾은 얼굴 영역을 제외한 영역을 검색 영역으로 하여 얼굴을 찾는 디지털 영상 처리장치 및 그 제어방법을 제공하는 것을 목적으로 한다. An object of the present invention is to provide a digital image processing apparatus for searching for a face by receiving an image in a continuous frame and searching for a face using a region other than the face region found in the previous frame in the current frame, and a control method thereof.
본 발명은, 설정된 시간 간격으로 프레임 단위로 영상을 입력받는 단계; 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역이 있는가를 판단하는 단계; 상기 제1영역이 없는 경우에는 현재 프레임의 전체 영역에서 사람의 얼굴을 검색하는 단계; 상기 제1영역이 있는 경우에는 상기 현재 프레임의 전체 영역 중에서 상기 제1영역을 제외한 영역에서 사람의 얼굴을 검색하는 단계; 상기 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역이 있는가를 판단하는 단계; 및 상기 제2영역의 위치를 저장하는 단계를 구비하는 디지털 영상 처리장치의 제어방법을 제공한다. The present invention comprises the steps of receiving an image in frame units at set time intervals; Determining whether there is a first region corresponding to a face region found in a previous frame; Searching for a face of a person in the entire area of the current frame when the first area does not exist; Searching for a face of a person in an area other than the first area among all areas of the current frame when the first area exists; Determining whether there is a second area corresponding to a face area found in the current frame; And storing the position of the second region.
상기 현재 프레임의 입력 영상과 함께 상기 제1영역 및 상기 제2영역을 표시하는 단계를 더 구비할 수 있다. The method may further include displaying the first region and the second region together with the input image of the current frame.
본 발명의 다른 측면은, 설정된 시간 간격으로 프레임 단위로 영상을 입력받는 영상 입력부; 및 현재 프레임의 전체 영역 중에서 이전 프레임에 찾은 얼굴 영역에 해당하는 제1영역을 제외한 영역에서 사람의 얼굴을 검색하여 얼굴 영역을 검색하는 제어부를 구비하는 디지털 영상 처리장치를 제공한다. Another aspect of the invention, the image input unit for receiving an image in units of frames at a set time interval; And a controller configured to search for a face area by searching for a face of a person in an area excluding a first area corresponding to a face area found in a previous frame among all areas of the current frame.
상기 제1영역의 위치가 저장되는 저장부를 더 구비할 수 있다. The apparatus may further include a storage unit in which the location of the first region is stored.
상기 현재 프레임의 입력 영상과 함께 상기 제1영역 및 상기 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역을 표시하는 표시부를 더 구비할 수 있다. The display apparatus may further include a display configured to display a second region corresponding to the first region and the face region found in the current frame together with the input image of the current frame.
본 발명에 따른 디지털 영상 처리장치 및 그 제어방법에 의하면, 전체 영상 중에서 얼굴을 검색할 검색 영역을 줄임으로써, 입력된 영상에서 얼굴을 인식하는 속도를 향상시킬 수 있다. According to the digital image processing apparatus and the control method thereof according to the present invention, it is possible to improve the speed of recognizing a face in an input image by reducing a search area for searching for a face in the entire image.
이하, 첨부된 도면을 참조하여 바람직한 실시예에 따른 본 발명을 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1에는 본 발명에 따른 디지털 영상 처리장치의 제어장치 및 그 방법이 적용되는 디지털 영상 처리장치의 일 실시예인 디지털 카메라(100)의 뒷면 외형이 도시되어 있다. FIG. 1 is a rear view of a
도면을 참조하면, 디지털 카메라(100)의 뒷면에는 방향 버튼(21), 메뉴-OK 버튼(22), 광각(Wide angle)-줌(Zoom) 버튼(W), 망원(Telephoto)-줌(Zoom) 버튼(T), 및 디스플레이 패널(25) 등이 구비될 수 있다. Referring to FIG. 1, a
방향 버튼(21)에는 상향 버튼(21a), 하향 버튼(21b), 좌향 버튼(21c), 우향 버튼(21d)의 총4개의 버튼이 포함될 수 있다. 방향 버튼(21)과 메뉴-OK 버튼(22)은 디지털 카메라와 같은 디지털 영상 처리장치의 동작에 관한 각종 메뉴를 실행시키기 위해 입력하는 키이다. The
광각-줌 버튼(W) 또는 망원-줌 버튼(T)은 그 입력에 따라 화각이 넓어지거 나, 화각이 좁아진다. 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 사용될 수 있다. 이때, 광각-줌 버튼(W)이 입력되면 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(T)이 입력되면 선택된 노출영역의 크기가 커질 수 있다. 디스플레이 패널(25)로는 LCD(liquid crystal display)등의 영상 표시소자가 사용될 수 있다. Wide angle-zoom button (W) or telephoto-zoom button (T) widens the angle of view or narrows the angle of view depending on the input. In particular, it can be used to change the size of the selected exposure area. At this time, when the wide-angle zoom button W is input, the size of the selected exposure area is reduced, and when the telephoto-zoom button T is input, the size of the selected exposure area may be enlarged. As the
디스플레이 패널(25)이 본 발명에 따른 베스트 영상이 표시되거나, 사용자가 저장될 저장 영상을 선택할 수 있도록 베스트 영상과 노출값이 자동 노출 조정값인 입력 영상이 표시되는 표시부에 포함될 수 있다. The
한편, 디지털 카메라(100)의 앞면 또는 윗면에는 셔터 릴리즈 버튼(26), 플래시(미도시), 전원 스위치(28), 렌즈부(미도시)가 구비될 수 있다. 또한, 디지털 카메라(100)의 앞면과 뒷면에는 뷰 파인더(27)의 대물 렌즈와 접안 렌즈가 구비될 수 있다. Meanwhile, a
셔터 릴리즈 버튼(26) 및 전원 스위치(28) 등은 사용자가 외부로부터 조작하고자 하는 사항을 입력하는 사용자 조작부(도 3의 360)에 포함될 수 있다. The
셔터 릴리즈 버튼(26)은 정해진 시간 동안 CCD(Charge Coupled Device)와 같은 촬상 소자나 필름을 빛에 노출시키기 위해 열리고 닫힌다. 또한, 셔터 릴리즈 버튼은 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 촬상 소자에 영상을 기록한다. The
한편, 셔터 릴리즈 버튼(26)은 2단으로 눌려질 수 있다. 셔터 릴리즈 버튼(26)이 일단으로 눌려지면 제1신호가 생성되고, 이단으로 눌려지면 제2신호가 생성될 수 있다. 제1신호에 의하여 촬영 준비가 완료되고, 제2신호에 의하여 촬영이 수행될 수 있다. On the other hand, the
본 발명이 적용될 수 있는 디지털 영상 처리장치의 일 실시예로서 디지털 카메라와 그 제어장치, 및 그 제어방법이 본 출원인의 미국 특허출원 공개번호 제2004/0130650호(명칭: 카메라의 이차함수를 이용한 자동 포커싱 방법, Method of automatically focusing using a quadratic function in camera)에 개시되어 있다. As an embodiment of the digital image processing apparatus to which the present invention can be applied, a digital camera, a control apparatus thereof, and a control method thereof are disclosed in U.S. Patent Application Publication No. 2004/0130650 (titled: automatic using a quadratic function of a camera A focusing method, a focusing method, and a quadratic function in camera.
상기 미국출원에 개시된 디지털 카메라와 그 제어장치, 및 그 제어방법에 관한 사항은 본 명세서에 포함되는 것으로 하고, 그 자세한 설명은 생략한다. The digital camera, its control device, and control method disclosed in the above-mentioned U.S. application are incorporated in this specification, and a detailed description thereof will be omitted.
도 2에는 본 발명에 따른 바람직한 실시예인 디지털 영상 처리장치의 제어장치(200)의 블록도가 도시되어 있다. 디지털 영상 처리장치의 제어장치(200)는 도 1의 디지털 카메라(100)의 내부에 장착될 수 있다. 2 is a block diagram of a
도면을 참조하면, 렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈 및 보상 렌즈를 포함한다. 사용자가 사용자 입력부(INP)에 포함된 광각-줌 버튼(W) 또는 망원-줌 버튼(T)을 누르면, 이에 상응하는 신호가 마이크로제어기(212)에 입력된다. Referring to the drawings, an optical system (OPS) including a lens unit and a filter unit optically processes light from a subject. The lens unit of the optical system OPS includes a zoom lens, a focus lens, and a compensation lens. When the user presses the wide-zoom button W or telephoto-zoom button T included in the user input unit INP, a corresponding signal is input to the microcontroller 212.
이에 따라, 마이크로제어기(212)가 렌즈 구동부(210)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. 즉, 광각-줌 버튼(W)이 눌려지면 줌 렌즈의 초점 길이가 짧아져서 화각이 넓어지고, 망원-줌 버튼(T)이 눌려지면 줌 렌즈의 초점 길이가 길어져서 화각이 좁아진다. Accordingly, as the microcontroller 212 controls the
한편, 자동 초점 모드(auto focusing mode)에는, 디지털 신호 처리기(207) 안에 내장된 주 제어기가 마이크로제어기(212)를 통하여 렌즈 구동부(210)를 제어하고, 그에 따라 포커스 모터(MF)가 구동된다. 즉, 포커스 모터(MF)를 구동하여 가장 선명한 사진을 얻을 수 있는 위치로 포커스 렌즈를 이동시킨다. Meanwhile, in the auto focusing mode, the main controller built in the
자동 초점 모드는 사용자 입력부(INP)를 통하여 입력되는 셔터 릴리즈 버튼이 일단으로 눌려져 생성되는 제1신호에 따라 수행될 수 있다. 이때, 포커스 렌즈의 위치를 광축을 따라 이동시키면서 복수개의 영상을 입력받고, 복수개의 영상들 중에서 가장 선명한 영상을 얻어지는 포커스 렌즈의 위치를 구한다. The auto focus mode may be performed according to a first signal generated by pushing the shutter release button input through the user input unit INP at one time. At this time, the position of the focus lens, which receives the plurality of images while moving the position of the focus lens along the optical axis and obtains the clearest image among the plurality of images, is obtained.
보상 렌즈는 전체적인 굴절률을 보상하는 역할을 하므로 별도로 구동되지 않는다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다. The compensation lens compensates for the overall refractive index and is not driven separately. Reference symbol M A denotes a motor for driving an aperture (not shown).
광학계(OPS)의 필터부에 있어서, 광학적 저역통과필터(Optical Low Pass Filter)는 고주파 성분의 광학적 노이즈를 제거한다. 적외선 차단 필터(Infra-Red cut Filter)는 입사되는 빛의 적외선 성분을 차단한다. In the filter section of the optical system (OPS), an optical low pass filter removes optical noise of a high frequency component. Infra-red cut filter blocks the infrared component of incident light.
광전 변환부(OEC)는 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide- Semiconductor) 등의 촬상 소자를 포함하여 이루어질 수 있다. 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 아날로그 신호로 변환시킨다. The photoelectric conversion unit OEC may include an image pickup device such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal-Oxide-Semiconductor). The photoelectric conversion unit OEC converts light from the optical system OPS into an electrical analog signal.
아날로그-디지털 변환부는 CDS-ADC(Correlation Double Sampler and Analog-to-Digital Converter) 소자(201)를 포함하여 이루어질 수 있다. 아날로그-디지털 변환부는 광전 변환부(OEC)로부터의 아날로그 신호를 처리하여, 그 고주파 노이즈를 제거하고 진폭을 조정한 후, 디지털 신호로 변환시킨다. 여기서, 디지털 신호 처리기(207)는 타이밍 회로(202)를 제어하여 광전 변환부(OEC)와 아날로그-디지털 변환부(201)의 동작을 제어한다. The analog-to-digital conversion unit may include a CDS-ADC (Correlation Double Sampler and Analog-to-Digital Converter) The analog-to-digital converter processes the analog signal from the photoelectric converter (OEC), removes the high frequency noise, adjusts the amplitude, and converts the analog signal into a digital signal. Here, the
광학계(OPS), 광전 변환부(OEC), CDS-ADC 소자(201) 등은 본 발명에 따른 영상 입력부(도 3의 310)에 포함될 수 있다. The optical system OPS, the photoelectric conversion unit OEC, the CDS-
실시간 클럭(203)은 디지털 신호 처리기(207)에 시간 정보를 제공한다. 디지털 신호 처리기(207)는 CDS-ADC 소자(201)로부터의 디지털 신호를 처리하여 휘도(Y 값) 및 색도(R, G, B) 신호로 분류된 디지털 화상 신호를 발생시킨다. The real-
디지털 신호 처리기(207)에 내장된 주 제어기의 제어에 따라 마이크로 제어기(212)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프, 자동-초점 램프, 모드 지시 램프 및 플래시 대기 램프 등이 포함될 수 있다. A self-timer lamp, an auto-focus lamp, a mode indicating lamp, a flash standby lamp, and the like are connected to the light emitting unit (LAMP) driven by the microcontroller 212 under the control of the main controller incorporated in the
디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)는 본 발명에 따른 제어부(도 3의 320)에 포함될 수 있다. 또한, 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)에는 임시 저장 공간으로 캐시 메모리가 장착될 수 있다. The
이러한 캐시 메모리는 본 발명에 따라 찾은 얼굴 영역의 위치가 일시적으로 저장되는 제1 저장부(도 3의 330)에 포함될 수 있다. 제1 저장부(도 3의 330)에 포함되는 캐시 메모리는 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)와 분리되어 별도로 제어장치(200)에 포함될 수 있다. Such a cache memory may be included in the
사용자 입력부(INP)에는, 방향 버튼(21), 광각-줌 버튼(W) 및 망원-줌 버 튼(T) 등이 포함될 수 있다. 이러한 사용자 입력부(INP)는 본 발명에 따른 사용자 조작부(도 3의 360)에 포함될 수 있다. The user input unit INP may include a
DRAM(Dynamic Random Access Memory, 204)에는 디지털 신호 처리기(207)로부터의 디지털 화상 신호가 일시 저장된다. EEPROM(Electrically Erasable and Programmable Read Only Memory, 205)에는 디지털 신호 처리기(207)의 동작에 필요한 부팅 프로그램 및 키 입력 프로그램 등과 같은 알고리즘 및 설정 데이터가 저장된다. 메모리 카드 인터페이스(206)에서는 사용자의 메모리 카드가 착탈될 수 있다. A digital image signal from the
DRAM(204) 또는 메모리 카드 인터페이스(206)를 통하여 인식되는 메모리 카드는 촬영된 영상이 일시적으로 또는 비휘발성으로 저장되는 것으로 도 3의 제2 저장부(340)에 포함될 수 있다. The memory card recognized through the
디지털 신호 처리기(207)로부터의 디지털 화상 신호는 디스플레이 패널 구동부(214)에 입력되고, 이로 인하여 디스플레이 패널(215)에 화상이 디스플레이 된다. The digital image signal from the
디지털 영상 처리장치의 제어장치(200)는 표시부(214, 215)를 더 구비할 수 있다. 표시부(214, 215)는 디스플레이 패널(215) 및 디스플레이 패널(215)을 구동하는 디스플레이 패널 구동부(214)를 구비할 수 있다. 표시부(214, 215)는 본 발명에 따른 표시부(도 3의 350)에 포함될 수 있다. The
한편, 디지털 신호 처리기(207)로부터의 디지털 화상 신호는, USB(Universal Serial Bus) 접속부(31a) 또는 RS232C 인터페이스(208)와 그 접속부(31b)를 통하여 직렬 통신으로써 전송될 수 있고, 비디오 필터(209) 및 비디오 출력부(31c)를 통하여 비디오 신호로서 전송될 수 있다. 여기서, 디지털 신호 처리기(207)는 그 내부에 마이크로제어기를 내장할 수 있다. On the other hand, the digital image signal from the
오디오 처리기(213)는, 마이크로폰(MIC)으로부터의 음성 신호를 디지털 신호 처리기(207) 또는 스피커(SP)로 출력하고, 디지털 신호 처리기(207)로부터의 오디오 신호를 스피커(SP)로 출력한다. The
도 3에는 본 발명에 따른 바람직한 실시예인 디지털 영상 처리장치(300)의 블록도가 도시되어 있다. FIG. 3 is a block diagram of a digital
도면을 참조하면, 디지털 영상 처리장치(300)는 영상 입력부(310); 제어부(320); 저장부(330, 340); 표시부(350); 및 사용자 조작부(360)를 구비할 수 있다. 디지털 영상 처리장치(300)는 연속되는 프레임에서 영상을 입력받고, 현재 프레임에서는 이전 프레임에서 찾은 얼굴 영역을 제외한 영역을 검색 영역으로 하여 얼굴을 찾는다. Referring to the drawings, the digital
따라서, 현재 프레임에서 전체 영상 중에서 얼굴을 검색할 검색 영역이 적어도 이전 프레임에서 찾은 얼굴 영역만큼 줄어들게 된다. 그에 따라, 입력된 영상에서 얼굴을 인식하는 속도를 향상시킬 수 있다. Therefore, the search area for searching for a face among the entire images in the current frame is reduced by at least the face area found in the previous frame. Accordingly, the speed of recognizing a face in the input image can be improved.
영상 입력부(310)는 설정된 시간 간격으로 프레임 단위로 영상을 입력받는다. 제어부(320)는 현재 프레임의 전체 영역 중에서 이전 프레임에 찾은 얼굴 영역에 해당하는 영역을 제외한 영역에서 사람의 얼굴을 검색한다. The
저장부(330, 340)는 제1 저장부(330) 및 제2 저장부(340)를 구비할 수 있다. 제1 저장부(330)에는 이전 프레임에 찾은 얼굴 영역에 해당하는 영역의 위치가 저장될 수 있다. 제2 저장부(340)에는 입력된 영상이 저장될 수 있다. The
표시부(350)에는 현재 프레임의 입력 영상과 함께 이전 프레임에 찾은 얼굴 영역에 해당하는 영역 및 현재 프레임에서 찾은 얼굴 영역에 해당하는 영역이 표시될 수 있다. 사용자 조작부(360)를 통하여 사용자가 외부로부터 원하는 지령을 입력한다. The
이전 프레임에 찾은 얼굴 영역에 해당하는 영역은 제1영역이 되고, 현재 프레임에서 찾은 얼굴 영역에 해당하는 영역은 제2영역이 될 수 있다. The area corresponding to the face area found in the previous frame may be the first area, and the area corresponding to the face area found in the current frame may be the second area.
제1 저장부(330)에 저장된 제1영역이 없는 경우에는 전체 영역에서 얼굴을 검색하고, 제1 저장부(330)에 저장된 제1영역이 있는 경우에는 현재 프레임의 전체 영역 중에서 제1영역을 제외한 영역에서 사람의 얼굴을 검색한다. If there is no first area stored in the
표시부(350)에는 현재 프레임의 입력 영상과 함께 제1영역과 제2영역이 표시될 수 있다. The
현재 프레임을 기준으로 이전 프레임은 현재 프레임에 대하여 시간적으로 선행하는 프레임이고, 다음 프레임은 현재 프레임에 대하여 시간적으로 후행하는 프레임이 될 수 있다. 다음 프레임이 현재 프레임이 되는 경우에는, 이전의 현재 프레임이 이전 프레임이 될 수 있다. The previous frame may be a frame temporally preceding the current frame, and the next frame may be a frame temporally trailing the current frame. If the next frame becomes the current frame, the previous current frame may be the previous frame.
이때, 이전 프레임은 현재 프레임에 대하여 시간적으로 바로 앞에 선행하는 직전 프레임이고, 다음 프레임은 현재 프레임에 대하여 시간적으로 바로 뒤에 후행하는 직후 프레임인 것이 바람직하다. In this case, it is preferable that the previous frame is the immediately preceding frame immediately preceding the current frame in time, and the next frame is the immediately following frame immediately following the current frame in time.
영상 입력부(310)는 도 2에 도시된 광학계(OPS), 광전 변환부(OEC), CDS-ADC 소자(201) 등을 포함할 수 있다. 제어부(320)는 도 2에 도시된 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)를 포함할 수 있다. The
제1 저장부(330)는 찾은 얼굴 영역의 위치가 일시적으로 저장되는 것으로, 도 2의 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)에는 임시 저장 공간으로 캐시 메모리 또는 별도로 장착되는 캐시 메모리를 포함할 수 있다. The
제2 저장부(340)는 입력된 영상이 일시적으로 또는 비휘발성으로 저장되는 것으로, DRAM(204) 또는 메모리 카드 인터페이스(206)를 통하여 인식되는 메모리 카드 등을 포함할 수 있다. The
표시부(350)는 도 1에 도시된 디스플레이 패널(25) 및/또는 도 2의 디스플레이 패널 구동부(214) 및 디스플레이 패널(215)을 포함할 수 있다. 사용자 조작부(360)는 도 1의 셔터 릴리즈 버튼(26) 및 전원 스위치(28) 등 및/또는 도 2의 사용자 입력부(INP) 등을 포함할 수 있다. The
디지털 영상 처리장치(300)는 도 7에 도시된 디지털 영상 처리장치의 제어방법(S700)에 도시된 방법에 의하여 제어될 수 있다. The digital
도 4 내지 도 6에는 각각 검색 영역(41, 51, 61)과 검색 영역에서 찾은 얼굴 영역(42, 52, 62, 43, 53, 63)이 표시된 연속되는 이전 프레임, 현재 프레임, 및 다음 프레임의 영상이 도시되어 있다. 4 to 6 show the
여기서, 도 4 내지 도 6에서 (a) 의 영상에는 검색 영역이 표시되어 있으며, (b)의 영상에는 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역(42, 52, 62) 과 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역(43, 53, 63)이 표시되어 있다. 4 to 6, the search region is displayed in the image of (a), and the
도 4에 도시된 바와 같이, 제1 저장부(330)에 저장된 제1영역이 없는 경우에는 전체 영역을 검색 영역(41)으로 하고, 검색 영역(41)에서 얼굴을 검색한다. 다음으로, 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역(43)이 입력 영상에 표시된다. As shown in FIG. 4, when there is no first area stored in the
도 5에 도시된 바와 같이, 제1 저장부(330)에 저장된 제1영역이 있는 경우에는 전체 영역 중에서 적어도 제1영역(52)을 제외한 영역을 검색 영역(51)으로 하고, 검색 영역(51)에서 얼굴을 검색한다. 다음으로, 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역(53)이 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역(52)과 함께 입력 영상에 표시된다. As shown in FIG. 5, when there is a first area stored in the
또한, 다음 프레임에서는 도 6에 도시된 바와 같이, 전체 영역 중에서 적어도 제1영역(62)을 제외한 영역을 검색 영역(61)으로 하고, 검색 영역(61)에서 얼굴을 검색한다. 다음으로, 갱신된 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역(63)이 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역(62)과 함께 입력 영상에 표시된다. In the next frame, as shown in FIG. 6, the
이때, 다음 프레임에서 제1영역은 현재 프레임에서의 제2영역이 되고, 검색 영역(61)은 현재 프레임에서의 검색 영역(51)과 다른 영역이 될 수 있다. In this case, in the next frame, the first area may be a second area in the current frame, and the
도 7에는 본 발명에 따른 바람직한 실시예로서, 디지털 영상 처리장치의 제어방법(S700)의 흐름도가 도시되어 있다. 디지털 영상 처리장치의 제어방법(S700) 은 도 2 및/또는 도 3의 디지털 영상 처리장치 및 그 제어장치(200, 300)에서 구현된다. 이를 위하여, 본 발명에 따른 디지털 영상 처리장치의 제어방법(S700)이 도 2의 저장 수단에 저장되거나 펌웨어(Firmware) 등의 반도체 칩의 형태로 구현된 프로그램 또는 알고리즘이 될 수 있다. FIG. 7 is a flowchart of a control method (S700) of a digital image processing apparatus as a preferred embodiment according to the present invention. The control method S700 of the digital image processing apparatus is implemented in the digital image processing apparatus of FIGS. 2 and / or 3 and the
따라서, 디지털 영상 처리장치의 제어방법(S700)에서 디지털 영상 처리장치 및 그 제어장치(200, 300)에 대하여 설명된 사항과 동일한 사항에 대해서는 이를 참조하고 자세한 설명은 생략한다. Therefore, in the method S700 of controlling the digital image processing apparatus, the same matters as those described for the digital image processing apparatus and the
디지털 영상 처리장치의 제어방법(S500)은 영상 입력단계(S710); 제1영역 판단단계(S720); 얼굴영역 검색단계(S730 내지 S750); 얼굴영역 저장단계(S760, S770); 및 표시단계(S780)를 구비할 수 있다. The control method (S500) of the digital image processing apparatus includes an image input step (S710); Determining a first region (S720); Face region searching steps S730 to S750; Face region storage step (S760, S770); And a display step (S780).
영상 입력단계(S710)에는 설정된 시간 간격으로 프레임 단위로 영상을 입력받는다. 제1영역 판단단계(S720)에는 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역이 있는가를 판단한다. In the image input step S710, an image is input in a frame unit at a set time interval. In the first region determination step (S720), it is determined whether there is a first region corresponding to the face region found in the previous frame.
얼굴영역 검색단계(S730 내지 S750)에는 검색 영역에서 사람의 얼굴을 검색한다. 얼굴영역 저장단계(S760, S770)에는 검색 영역 내에 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역의 포함 여부를 판단하여(S760), 제2영역이 포함된 경우에 제2영역의 위치를 저장한다. In the face region search step (S730 through S750), a face of a person is searched for in the search region. In the face region storing step (S760, S770), it is determined whether the second region corresponding to the face region found in the current frame is included in the search region (S760), and when the second region is included, the position of the second region is stored. do.
표시단계(S780)에는 현재 프레임의 입력 영상과 함께 상기 제1영역 및 상기 제2영역을 표시한다. In the display step S780, the first region and the second region are displayed together with the input image of the current frame.
이때, 제1영역은 이전 프레임에서 찾은 얼굴 영역에 해당한다. 제2영역은 현 재 프레임에서 찾은 얼굴 영역에 해당한다. 현재 프레임에 대하여 다음 프레임에서는 제2영역이 새로운 제1영역이 된다. In this case, the first region corresponds to the face region found in the previous frame. The second area corresponds to the face area found in the current frame. In the next frame with respect to the current frame, the second area becomes a new first area.
검색 영역은 사람의 얼굴을 검색할 영역이다. 입력되는 영상에 제1영역이 포함된 경우에는 전체 영역 중에서 제1영역을 제외한 영역이 검색 영역이 될 수 있다. 입력되는 영상에 제1영역이 포함되지 않은 경우에는 입력 영상이 전체 영역이 검색 영역이 될 수 있다. The search area is an area for searching for a face of a person. When the first region is included in the input image, a region except for the first region may be a search region. When the first region is not included in the input image, the entire region of the input image may be a search region.
현재 프레임을 기준으로 이전 프레임은 현재 프레임에 대하여 시간적으로 선행하는 프레임이고, 다음 프레임은 현재 프레임에 대하여 시간적으로 후행하는 프레임이 될 수 있다. 다음 프레임이 현재 프레임이 되는 경우에는, 이전의 현재 프레임이 이전 프레임이 될 수 있다. The previous frame may be a frame temporally preceding the current frame, and the next frame may be a frame temporally trailing the current frame. If the next frame becomes the current frame, the previous current frame may be the previous frame.
이때, 이전 프레임은 현재 프레임에 대하여 시간적으로 바로 앞에 선행하는 직전 프레임이고, 다음 프레임은 현재 프레임에 대하여 시간적으로 바로 뒤에 후행하는 직후 프레임인 것이 바람직하다. In this case, it is preferable that the previous frame is the immediately preceding frame immediately preceding the current frame in time, and the next frame is the immediately following frame immediately following the current frame in time.
제1영역 판단단계(S720)에는 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역이 있는가를 판단하여, 직전 프레임의 영상에서 찾은 얼굴이 있는가를 판단한다. In the first region determination step (S720), it is determined whether there is a first region corresponding to the face region found in the previous frame, and it is determined whether there is a face found in the image of the previous frame.
이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역은 캐시(cache)에 저장될 수 있다. 따라서, 제1영역 판단단계(S720)에는 캐시에서 이전 프레임에서 찾은 얼굴 영역에 해당하는 제1영역을 찾는다. The first region corresponding to the face region found in the previous frame may be stored in a cache. Therefore, in the first region determination step S720, the first region corresponding to the face region found in the previous frame is found in the cache.
얼굴영역 검색단계(S730 내지 S750)는 제1영역의 존재 여부에 따라 전체 영 역 검색단계(S730)와 일부 영역 검색단계(S740, S750)를 구비한다. The face region searching step S730 to S750 includes a whole area searching step S730 and a partial area searching step S740 and S750 according to whether the first area exists.
전체 영역 검색단계(S730)에는 제1영역이 없는 경우에는 현재 프레임의 전체 영역을 검색 영역으로 하고, 검색 영역에서 사람의 얼굴을 검색할 수 있다. 일부 영역 검색단계(S740, S750)는 제1영역이 없는 경우에 수행되는 단계로, 제1영역을 제외한 영역을 검색 영역으로 하고, 검색 영역에서 사람의 얼굴을 검색할 수 있다. If there is no first area in the full area search step (S730), the entire area of the current frame may be used as a search area, and a face of a person may be searched for in the search area. The partial region searching steps S740 and S750 are performed when there is no first region. The regions except for the first region may be search regions, and a face of a person may be searched in the search region.
일부 영역 검색단계(S740, S750)에는 직전 프레임 영상에서 저장된 얼굴 영역에 해당하는 제1영역의 위치를 읽어들이고(S740), 전체 영역 중에서 저장된 얼굴 영역에 해당하는 제1영역을 제외한 영역에서 사람의 얼굴을 검색한다. 이때, 캐시에서 직전 프레임 영상에서 저장된 얼굴 영역에 해당하는 제1영역의 위치를 읽어들일 수 있다. In the partial region searching operation (S740, S750), the position of the first region corresponding to the stored face region is read in the previous frame image (S740), and the human area is searched for in the region except for the first region corresponding to the stored face region among the entire region. Search for a face. In this case, the location of the first region corresponding to the face region stored in the previous frame image may be read from the cache.
얼굴영역 저장단계(S760, S770)에는 검색 영역 내에 사람 얼굴을 검색하고, 검색 영역 내에 제2영역의 포함 여부를 판단하고(S760), 제2영역이 포함된 경우에 제2영역의 위치를 저장한다. 이때, 제2영역이 포함되지 않은 경우에는 제2영역의 위치를 저장하지 아니하고 다음 단계를 수행한다. 먼저, 새로이 찾은 얼굴 정보가 있는지 판단하는데(S760), 새로이 찾은 얼굴은 현재 프레임에서 찾은 얼굴 영역에 해당하는 제2영역이 될 수 있다. In the face area storing step (S760, S770), a human face is searched for in the search area, the presence or absence of the second area is included in the search area (S760), and the location of the second area is stored when the second area is included. do. In this case, if the second area is not included, the next step is performed without storing the location of the second area. First, it is determined whether there is newly found face information (S760), and the newly found face may be a second area corresponding to a face area found in the current frame.
다음으로, 현재 프레임의 입력 영상과 함께 제1영역 및 제2영역을 표시하는 표시단계(S780)가 수행될 수 있다. Next, a display step S780 of displaying the first region and the second region together with the input image of the current frame may be performed.
디지털 영상 처리장치의 제어방법(S700)에서는 연속되는 프레임에서 영상을 입력받고, 현재 프레임에서는 이전 프레임에서 찾은 얼굴 영역을 제외한 영역을 검 색 영역으로 하여 얼굴을 찾는다. In the control method (S700) of the digital image processing apparatus, an image is input in a continuous frame, and in the current frame, a face is searched using an area excluding a face area found in a previous frame as a search area.
따라서, 현재 프레임에서 전체 영상 중에서 얼굴을 검색할 검색 영역이 적어도 이전 프레임에서 찾은 얼굴 영역만큼 줄어들게 된다. 그에 따라, 입력된 영상에서 얼굴을 인식하는 속도를 향상시킬 수 있다. Therefore, the search area for searching for a face among the entire images in the current frame is reduced by at least the face area found in the previous frame. Accordingly, the speed of recognizing a face in the input image can be improved.
본 발명은 첨부된 도면에 도시된 일 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서, 본 발명의 진정한 보호 범위는 첨부된 청구 범위에 의해서만 정해져야 할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, You will understand. Accordingly, the true scope of protection of the present invention should be determined only by the appended claims.
도 1은 본 발명에 따른 디지털 영상 처리장치의 실시예로서, 디지털 카메라의 뒷면 외형을 보여주는 도면이다. FIG. 1 is a view showing the external appearance of a digital camera according to an embodiment of the digital image processing apparatus according to the present invention.
도 2는 도 1의 디지털 카메라 내부에 포함될 수 있는 제어장치를 개략적으로 도시한 블록도이다. FIG. 2 is a block diagram schematically illustrating a control device that may be included in the digital camera of FIG. 1. Referring to FIG.
도 3은 본 발명에 따른 바람직한 실시예로서, 디지털 영상 처리장치를 개략적으로 도시한 블록도이다. 3 is a block diagram schematically illustrating a digital image processing apparatus according to a preferred embodiment of the present invention.
도 4 내지 도 6은 각각 검색 영역과 검색 영역에서 찾은 얼굴 영역이 표시된 연속되는 프레임의 영상을 개략적으로 도시한 도면이다. 4 to 6 schematically show images of consecutive frames in which a search area and a face area found in the search area are displayed.
도 7은 본 발명에 따른 바람직한 실시예로서, 디지털 영상 처리장치의 제어방법을 개략적으로 도시한 흐름도이다. 7 is a flowchart schematically showing a control method of a digital image processing apparatus according to a preferred embodiment of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070126864A KR101362769B1 (en) | 2007-12-07 | 2007-12-07 | Apparatus for processing digital image and method for controlling thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070126864A KR101362769B1 (en) | 2007-12-07 | 2007-12-07 | Apparatus for processing digital image and method for controlling thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090059813A KR20090059813A (en) | 2009-06-11 |
KR101362769B1 true KR101362769B1 (en) | 2014-02-13 |
Family
ID=40989859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070126864A KR101362769B1 (en) | 2007-12-07 | 2007-12-07 | Apparatus for processing digital image and method for controlling thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101362769B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080097000A (en) * | 2007-04-30 | 2008-11-04 | 삼성테크윈 주식회사 | Method of controlling digital image processing apparatus wherein face area is efficiently searched |
-
2007
- 2007-12-07 KR KR1020070126864A patent/KR101362769B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20080097000A (en) * | 2007-04-30 | 2008-11-04 | 삼성테크윈 주식회사 | Method of controlling digital image processing apparatus wherein face area is efficiently searched |
Also Published As
Publication number | Publication date |
---|---|
KR20090059813A (en) | 2009-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101398475B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20100056280A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20100101391A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20090097005A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101396347B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101362769B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101480401B1 (en) | Apparatus of processing digital image and method of controlling thereof | |
KR101396333B1 (en) | Apparatus for processing digital image and method controlling thereof | |
KR101564417B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20100077719A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101411318B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101457412B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101336924B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101284038B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101417803B1 (en) | Apparatus of processing digital image | |
KR101537950B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20110056102A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR20100070053A (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101387408B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101612448B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101658034B1 (en) | Digital Image Portable electronic apparatus and focus information display method thereof | |
KR101436834B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101582085B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
KR101364535B1 (en) | Method of controlling digital image processing apparatus and apparatus thereof | |
KR101235803B1 (en) | Method for processing digital image according to area setting up |
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: 20170125 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20180130 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |