KR20090039051A - Apparatus for processing digital image and method for controlling the same - Google Patents

Apparatus for processing digital image and method for controlling the same Download PDF

Info

Publication number
KR20090039051A
KR20090039051A KR1020070104462A KR20070104462A KR20090039051A KR 20090039051 A KR20090039051 A KR 20090039051A KR 1020070104462 A KR1020070104462 A KR 1020070104462A KR 20070104462 A KR20070104462 A KR 20070104462A KR 20090039051 A KR20090039051 A KR 20090039051A
Authority
KR
South Korea
Prior art keywords
image
representative
frames
frame
representative image
Prior art date
Application number
KR1020070104462A
Other languages
Korean (ko)
Other versions
KR101396345B1 (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 KR1020070104462A priority Critical patent/KR101396345B1/en
Publication of KR20090039051A publication Critical patent/KR20090039051A/en
Application granted granted Critical
Publication of KR101396345B1 publication Critical patent/KR101396345B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • G06V20/47Detecting features for summarising video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00132Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
    • H04N1/00185Image output
    • H04N1/00188Printing, e.g. prints or reprints

Abstract

An apparatus for processing a digital image and a method for controlling the same are provided to extract a representative image from a moving picture automatically in a short time by comparing specific regions of still images in the moving picture and selecting the representative image. It is judged whether or not the number of representative images is larger than the number of setup representative images(S405). If so, the first and last frames are reselected as representative images(S410) and the representative images are reselected in the order of the comparison value(S420). Otherwise, the number of representative images which are to be added is calculated(S430). In addition, the time interval among the selected representative images is calculated and the representative images are added to the addition interval(S440,S450).

Description

디지털 영상 처리장치 및 그 제어방법{Apparatus for processing digital image and method for controlling the same}Apparatus for processing digital image and method for controlling the same}

본 발명은 디지털 영상 처리장치 및 그 제어방법에 관한 것으로서, 보다 상세하게는 동영상을 촬영할 수 있으며, 동영상으로부터 정지 영상을 추출할 수 있는 디지털 영상 처리장치 및 그 제어방법에 관한 것이다. The present invention relates to a digital image processing apparatus and a control method thereof, and more particularly, to a digital image processing apparatus capable of capturing a moving image and extracting a still image from the moving image and a control method thereof.

통상적으로 디지털 영상 처리장치란, 디지털 카메라, PDA(personal digital assistant), 폰 카메라, PC 카메라 등의 영상을 처리하거나 영상 인식 센서를 사용하는 모든 장치를 포함한다. In general, a digital image processing apparatus includes any apparatus that processes an image of a digital camera, a personal digital assistant (PDA), a phone camera, a PC camera, or uses an image recognition sensor.

디지털 영상 처리장치에서는 정지 영상뿐만 아니라, 동영상을 촬영하고 이를 파일로 저장할 수 있는 경우가 있다. 또한, 동영상 파일을 인쇄하거나, 동영상으로부터 정지 영상의 앨범을 생성하고 하는 경우가 있다. 이를 위해서는 동영상 파일로부터 정지 영상을 추출할 필요가 있다.In some cases, the digital image processing apparatus may capture not only a still image but also a moving image and store it as a file. In addition, there are cases where a moving image file is printed or an album of a still image is generated from the moving image. To this end, it is necessary to extract a still image from the video file.

한편, 디지털 영상 처리장치에는 프린터가 연결될 수 있으며, 상기 프린터를 통하여 동영상 파일을 출력할 수 있다. 이때, 동영상 파일은 설정된 시간 간격의 프레임 단위의 정지 영상 이미지를 포함하여 이루어질 수 있다. 따라서, 동영상 파일을 출력하기 위해서는 동영상 파일에 포함된 전체 정지 영상 이미지들 중에서 대표 화상을 선정하여, 대표 화상을 출력할 수 있다. Meanwhile, a printer may be connected to the digital image processing apparatus, and a video file may be output through the printer. In this case, the video file may include a still image image in frame units of a set time interval. Accordingly, in order to output the moving image file, the representative image may be selected from all still image images included in the moving image file, and the representative image may be output.

이를 위하여, 종래의 디지털 영상 처리장치에서는 동영상 파일로부터 정지 영상을 얻기 위해서 사용자가 동영상을 직접 검토하면서 대표 화상을 결정하여 정지 영상을 생성할 수 있었다. To this end, in the conventional digital image processing apparatus, in order to obtain a still image from a moving image file, the user may directly generate a still image by determining a representative image while directly examining the moving image.

하지만, 이처럼 사용자가 직접 동영상을 검토하여 직접 대표 영상을 추출하는 경우에는, 사용자가 직접 동영상을 보면서 원하는 정지 영상을 일일이 선정해야 하는 불편함이 있다. However, when the user directly extracts the representative image by directly examining the video, there is an inconvenience in that the user must select the desired still image one by one while watching the video directly.

본 발명은, 동영상에서 각각의 영상들의 특정 영역만을 비교하여 대표 화상을 선정함으로써, 동영상을 구성하는 각각의 영상들의 특징에 입각하여 대표 화상을 추출할 수 있는 디지털 영상 처리장치 및 그 제어방법을 제공하는 것을 목적으로 한다. The present invention provides a digital image processing apparatus and a control method thereof, by selecting a representative image by comparing only specific regions of respective images in a moving image, and extracting the representative image based on the characteristics of the respective images constituting the moving image. It aims to do it.

본 발명은, 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 상기 동영상 이미지가 표시 되는 표시부; 및 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 상기 두 프레임 중의 적어도 하나를 상기 대표 이미지로 선정하는 제어부를 구비하는 디지털 영상 처리장치를 제공한다. According to an embodiment of the present invention, a display unit which selects at least one or more frames from among frames included in a moving image as a representative image of a still image, and displays the moving image; And extracting a face area of a person from each frame of the video image, comparing the face areas in two consecutive frames at a set time or frame interval, and determining that the angle change of the face is greater than a set reference value. It provides a digital image processing apparatus having a control unit for selecting at least one of the representative image.

상기 대표 이미지를 출력하는 인쇄부를 더 구비할 수 있다. The apparatus may further include a printing unit configured to output the representative image.

상기 얼굴 영역의 각각의 픽셀의 계조값의 합에 의하여 픽셀값을 구하고, 상기 연속하는 두 프레임의 상기 픽셀값의 차로부터 상기 얼굴의 각도 변화를 구할 수 있다. The pixel value may be obtained by the sum of the gray level values of each pixel of the face area, and the angle change of the face may be obtained from the difference between the pixel values of the two consecutive frames.

본 발명의 다른 측면은, 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 선정하고자 하는 상기 대표 이미지의 개수를 설정하는 단계; 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하는 단계; 각각의 상기 프레임에서 상기 얼굴 영역의 픽셀값을 추출하는 단계; 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 상기 픽셀값의 차로부터 비교값을 추출하는 단계; 및 상기 비교값을 설정된 기준값과 비교하여 상기 대표 이미지를 선정하는 단계를 구비하는 디지털 영상 처리장치의 제어방법을 제공한다. Another aspect of the present invention is to select at least one frame from among the frames included in the moving image as a representative image of the still image, setting the number of the representative image to be selected; Extracting a face region of a person from each frame of the moving image; Extracting pixel values of the face area in each of the frames; Extracting a comparison value from the difference between the pixel values of two consecutive frames at a set time or frame interval; And selecting the representative image by comparing the comparison value with a set reference value.

상기 대표 이미지를 인쇄하는 단계를 더 구비할 수 있다. The method may further include printing the representative image.

상기 대표 이미지를 추출하는 방법을 선택하는 단계를 더 구비하고, 상기 대표 이미지를 추출하는 방법이, 프레임수 단위, 인원수 변화, 및 얼굴 각도의 변화 중의 어느 하나가 선택될 수 있다. The method may further include selecting a method of extracting the representative image, and the method of extracting the representative image may include any one of a frame number unit, a change in the number of people, and a change in face angle.

선정된 상기 대표 이미지의 개수가 설정된 상기 대표 이미지의 개수와 일치하지 아니한 경우, 선정된 상기 대표 이미지의 개수를 조정하는 단계를 더 구비할 수 있다. If the number of the selected representative image does not match the set number of the representative image, the method may further include adjusting the number of the selected representative image.

본 발명에 따른 디지털 영상 처리장치 및 그 제어방법에 의하면, 동영상에서 각각의 영상들의 특정 영역만을 비교하여 대표 화상을 선정함으로써, 빠른 시간 내에 자동으로 대표 화상을 추출할 수 있다. According to the digital image processing apparatus and the control method thereof according to the present invention, a representative image can be automatically extracted within a short time by selecting a representative image by comparing only a specific region of each image in a moving 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 digital camera 100 which is an embodiment of a digital image processing apparatus according to the present invention.

도면을 참조하면, 디지털 카메라(100)의 뒷면에는 방향 버튼(21), 메뉴-OK 버튼(22), 광각(Wide angle)-줌(Zoom) 버튼(W), 망원(Telephoto)-줌(Zoom) 버튼(T), 및 디스플레이 패널(25) 등이 구비될 수 있다. 또한, 디지털 카메라(100)에는 외부로부터 입력되는 영상 또는 내부에 저장된 영상의 이미지 파일을 출력할 수 있는 프린터(150)가 연결될 수 있다. Referring to the drawings, on the back of the digital camera 100, the direction button 21, the menu-OK button 22, the wide angle (Zoom) button (W), the telephoto (Zoom) ) Button T, the display panel 25 and the like. In addition, the printer 150 capable of outputting an image file of an image input from the outside or an image stored therein may be connected to the digital camera 100.

방향 버튼(21)에는 상향 버튼(21a), 하향 버튼(21b), 좌향 버튼(21c), 우향 버튼(21d)의 총4개의 버튼이 포함될 수 있다. 방향 버튼(21)과 메뉴-OK 버튼(22) 은 디지털 카메라와 같은 디지털 영상 처리장치의 동작에 관한 각종 메뉴를 실행시키기 위해 입력하는 키이다. The direction button 21 may include four buttons, an up button 21a, a down button 21b, a left button 21c, and a right button 21d. The direction button 21 and the menu-OK button 22 are keys input for executing various menus relating to the operation of the digital image processing apparatus such as a digital camera.

광각-줌 버튼(W) 또는 망원-줌 버튼(T)은 그 입력에 따라 화각이 넓어지거나, 화각이 좁아진다. 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 사용될 수 있다. 이때, 광각-줌 버튼(W)이 입력되면 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(T)이 입력되면 선택된 노출영역의 크기가 커질 수 있다. 디스플레이 패널(25)로는 LCD(liquid crystal display)등의 영상 표시소자가 사용될 수 있다. The wide-angle zoom button W or the tele-zoom button T has a wider angle of view or a narrower angle of view depending on its input. In particular, it may be used to change the size of the selected exposure area. In this case, when the wide-zoom button W is input, the size of the selected exposure area is reduced, and when the tele-zoom button T is input, the size of the selected exposure area may be increased. As the display panel 25, an image display device such as a liquid crystal display (LCD) may be used.

디스플레이 패널(25)이 본 발명의 디지털 영상 처리장치의 표시부에 포함될 수 있으며, 표시부에는 사용자의 방향 버튼(21)과 메뉴-OK 버튼(22) 등의 조작에 의하여 동영상 이미지가 표시될 수 있다. The display panel 25 may be included in a display unit of the digital image processing apparatus of the present invention, and a moving image may be displayed on the display unit by manipulation of a user's direction button 21 and a menu-OK button 22.

또한, 사용자의 방향 버튼(21)과 메뉴-OK 버튼(22) 등의 조작에 의하여 동영상 이미지에 포함된 정지영상 중의 적어도 일부가 대표 이미지로 선정될 수 있으며, 선정된 대표 이미지들이 프린터(150)를 통하여 인쇄될 수 있다. In addition, at least a part of the still images included in the moving image may be selected as the representative image by manipulation of the user's direction button 21 and the menu-OK button 22, and the selected representative images may be selected as the printer 150. Can be printed through

한편, 디지털 카메라(100)의 앞면 또는 윗면에는 셔터 릴리즈 버튼(26), 플래시(미도시), 전원 스위치(미도시), 렌즈부(미도시)가 구비될 수 있다. 또한, 디지털 카메라(100)의 앞면과 뒷면에는 뷰 파인더(27)의 대물 렌즈와 접안 렌즈가 구비될 수 있다. Meanwhile, a shutter release button 26, a flash (not shown), a power switch (not shown), and a lens unit (not shown) may be provided on the front or top surface of the digital camera 100. In addition, the front and rear of the digital camera 100 may be provided with an objective lens and an eyepiece of the viewfinder 27.

셔터 릴리즈 버튼(26)은 정해진 시간 동안 CCD(Charge Coupled Device)와 같은 촬상 소자나 필름을 빛에 노출시키기 위해 열리고 닫힌다. 또한, 셔터 릴리즈 버튼은 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 촬상 소자에 영상 을 기록한다. The shutter release button 26 is opened and closed to expose the film or an image pickup device such as a charge coupled device (CCD) for a predetermined time. In addition, the shutter release button records an image on the image pickup device by properly exposing a subject in conjunction with an aperture (not shown).

또한, 디지털 카메라(100)의 설정에 따라 셔터 릴리즈 버튼(26)의 조작에 따라 동영상이 촬영될 수도 있다. Also, a video may be captured according to the operation of the shutter release button 26 according to the setting of the digital camera 100.

본 발명이 적용될 수 있는 디지털 영상 처리장치의 일 실시예로서 디지털 카메라와 그 제어장치, 및 그 제어방법이 본 출원인의 미국 특허출원 공개번호 제2004/0130650호(명칭: 카메라의 이차함수를 이용한 자동 포커싱 방법, Method of automatically focusing using a quadratic function in camera)에 개시되어 있다. As an embodiment of a digital image processing apparatus to which the present invention can be applied, a digital camera, a control apparatus, and a control method thereof are disclosed in US Patent Application Publication No. 2004/0130650 (name: automatic using a secondary function of the camera). Method of automatically focusing using a quadratic function in camera.

상기 미국출원에 개시된 디지털 카메라와 그 제어장치, 및 그 제어방법에 관한 사항은 본 명세서에 포함되는 것으로 하고, 그 자세한 설명은 생략한다. Matters relating to the digital camera, the control apparatus, and the control method disclosed in the above-mentioned US application will be included in the present specification, the detailed description thereof will be omitted.

도 2에는 본 발명에 따른 바람직한 실시예인 디지털 영상 처리장치를 제어하는 제어장치(200)의 블록도가 도시되어 있다. 디지털 영상 처리장치(200)는 도 1의 디지털 카메라(100)의 내부에 장착될 수 있다. 2 is a block diagram of a control device 200 for controlling a digital image processing device, which is a preferred embodiment of the present invention. The digital image processing apparatus 200 may be mounted in the digital camera 100 of FIG. 1.

도면을 참조하면, 렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈 및 보상 렌즈를 포함한다. 사용자가 사용자 입력부(INP)에 포함된 광각-줌 버튼(W) 또는 망원-줌 버튼(T)을 누르면, 이에 상응하는 신호가 마이크로제어기(512)에 입력된다. Referring to the drawing, 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-angle zoom button W or the tele-zoom button T included in the user input unit INP, a signal corresponding thereto is input to the microcontroller 512.

이에 따라, 마이크로제어기(212)가 렌즈 구동부(210)를 제어함에 따라, 줌 모터(MZ)가 구동되어 줌 렌즈가 이동된다. 즉, 광각-줌 버튼(W)이 눌려지면 줌 렌즈 의 초점 길이가 짧아져서 화각이 넓어지고, 망원-줌 버튼(T)이 눌려지면 줌 렌즈의 초점 길이가 길어져서 화각이 좁아진다. Accordingly, as the microcontroller 212 controls the lens driver 210, the zoom motor M Z is driven to move the zoom lens. That is, when the wide-zoom button W is pressed, the focal length of the zoom lens is shortened to widen the angle of view, and when the tele-zoom button T is pressed, the focal length of the zoom lens is increased, thereby narrowing the angle of view.

한편, 자동 초점 모드(auto focusing mode)에는, 디지털 신호 처리기(207) 안에 내장된 주 제어기가 마이크로제어기(212)를 통하여 렌즈 구동부(210)를 제어하고, 그에 따라 포커스 모터(MF)가 구동된다. On the other hand, in the auto focusing mode, the main controller embedded in the digital signal processor 207 controls the lens driver 210 through the microcontroller 212, whereby the focus motor M F is driven. do.

보상 렌즈는 전체적인 굴절률을 보상하는 역할을 하므로 별도로 구동되지 않는다. 참조 부호 MA는 조리개(aperture, 도시되지 않음)를 구동하기 위한 모터를 가리킨다. The compensation lens compensates for the overall refractive index and is not driven separately. Reference numeral 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 high frequency components. Infra-Red cut filter cuts the infrared component of the incident light.

광전 변환부(OEC)는 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide- Semiconductor) 등의 촬상 소자를 포함하여 이루어질 수 있다. 광전 변환부(OEC)는 광학계(OPS)로부터의 빛을 전기적 아날로그 신호로 변환시킨다. The photoelectric conversion unit OEC may include an imaging device such as a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS). 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 converter may include a CDS-ADC (Correlation Double Sampler and Analog-to-Digital Converter) device 201. 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 digital signal processor 207 controls the timing circuit 202 to control the operation of the photoelectric converter OEC and the analog-to-digital converter 201.

실시간 클럭(203)은 디지털 신호 처리기(207)에 시간 정보를 제공한다. 디지털 신호 처리기(207)는 CDS-ADC 소자(201)로부터의 디지털 신호를 처리하여 휘도(Y 값) 및 색도(R, G, B) 신호로 분류된 디지털 화상 신호를 발생시킨다. The real time clock 203 provides time information to the digital signal processor 207. The digital signal processor 207 processes digital signals from the CDS-ADC element 201 to generate digital image signals classified into luminance (Y value) and chromaticity (R, G, B) signals.

디지털 신호 처리기(207)에 내장된 주 제어기의 제어에 따라 마이크로 제어기(212)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프, 자동-초점 램프, 모드 지시 램프 및 플래시 대기 램프 등이 포함될 수 있다. 사용자 입력부(INP)에는, 방향 버튼(21), 광각-줌 버튼(W) 및 망원-줌 버튼(T) 등이 포함될 수 있다. The light emitting unit LAMP driven by the microcontroller 212 under the control of the main controller built in the digital signal processor 207 includes a self-timer lamp, an auto-focus lamp, a mode indicating lamp, a flash standby lamp, and the like. May be included. The user input unit INP may include a direction button 21, a wide-angle zoom button W, a telephoto-zoom button T, and the like.

DRAM(Dynamic Random Access Memory, 204)에는 디지털 신호 처리기(207)로부터의 디지털 화상 신호가 일시 저장된다. EEPROM(Electrically Erasable and Programmable Read Only Memory, 205)에는 디지털 신호 처리기(207)의 동작에 필요한 부팅 프로그램 및 키 입력 프로그램 등과 같은 알고리즘 및 설정 데이터가 저장된다. 메모리 카드 인터페이스(206)에서는 사용자의 메모리 카드가 착탈될 수 있다. The digital image signal from the digital signal processor 207 is temporarily stored in the DRAM (Dynamic Random Access Memory) 204. The EEPROM (Electrically Erasable and Programmable Read Only Memory) 205 stores algorithms and setting data such as a boot program and a key input program required for the operation of the digital signal processor 207. In the memory card interface 206, a user's memory card may be attached or detached.

디지털 신호 처리기(207)로부터의 디지털 화상 신호는 디스플레이 패널 구동부(214)에 입력되고, 이로 인하여 디스플레이 패널(25)에 화상이 디스플레이 된다. The digital image signal from the digital signal processor 207 is input to the display panel driver 214, whereby the image is displayed on the display panel 25.

한편, 디지털 신호 처리기(207)로부터의 디지털 화상 신호는, USB(Universal Serial Bus) 접속부(31a) 또는 RS232C 인터페이스(208)와 그 접속부(31b)를 통하여 직렬 통신으로써 전송될 수 있고, 비디오 필터(209) 및 비디오 출력부(31c)를 통하여 비디오 신호로서 전송될 수 있다. 여기서, 디지털 신호 처리기(207)는 그 내부 에 마이크로제어기를 내장할 수 있다. On the other hand, the digital image signal from the digital signal processor 207 can be transmitted by serial communication via a universal serial bus (USB) connection portion 31a or an RS232C interface 208 and the connection portion 31b thereof, and a video filter ( 209 and through the video output unit 31c. Here, the digital signal processor 207 may have a microcontroller therein.

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

인쇄부(216)는, 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)의 제어를 받아, 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 하여 인쇄하도록 할 수 있다. 이때, 인쇄부(216)를 통하여 도 1의 프린터(150)로 이미지를 인쇄할 수 있다. The printing unit 216 may be controlled by the digital signal processor 207 and / or the microcontroller 212 to print at least one frame among the frames included in the moving image as a representative image of the still image. have. In this case, an image may be printed to the printer 150 of FIG. 1 through the printing unit 216.

디지털 영상 처리장치(200)는 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 표시부; 제어부; 및 인쇄부(215)를 구비할 수 있다. The digital image processing apparatus 200 selects at least one or more frames among frames included in a moving image as a representative image of a still image, and includes a display unit; Control unit; And a printing unit 215.

표시부에는 동영상 이미지가 표시된다. 인쇄부(215)는 선정된 대표 이미지를 출력한다. 제어부는 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 두 프레임 중의 적어도 하나를 대표 이미지로 선정한다. The display unit displays a moving image. The printing unit 215 outputs the selected representative image. The controller extracts the face region of the person from each frame of the video image, compares the face regions in two consecutive frames at a set time or frame interval, and determines that the change in the angle of the face is greater than the set reference value. At least one is selected as the representative image.

설정된 시간 또는 프레임 간격으로 연속하는 두 프레임이 비교대상이 되는 한 쌍의 비교되는 프레임들로 선정될 수 있다. 즉, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임이 대표 추출되는 연속된 두 프레임이 될 수 있다. Two consecutive frames at a set time or frame interval may be selected as a pair of frames to be compared. That is, two consecutive frames may be representatively extracted at a predetermined time or frame interval.

이때, 설정된 시간 또는 프레임 간격으로 연속된 두 프레임은 미묘한 차이를 가지는 구간 상에 추출된 대표 프레임들이 될 수 있는데, 1초 간격의 프레임 또는 30 프레임 간격의 두 프레임들이 될 수 도 있다. 또는, 30초 간격의 프레임 또는 30×30 프레임 간격의 두 프레임들이 될 수 도 있다. 또는, 1분 간격의 프레임 또는 60×30 프레임 간격의 두 프레임들이 될 수 도 있다.In this case, two frames consecutively set at a set time or frame interval may be representative frames extracted on a section having a subtle difference, and may be frames of one second interval or two frames of 30 frame intervals. Alternatively, it may be a frame of 30 second intervals or two frames of 30 × 30 frame intervals. Alternatively, the frame may be one minute interval or two frames at 60 × 30 frame intervals.

표시부(214, 215)는 디스플레이 패널 구동부(214) 및 디스플레이 패널(215)을 포함하여 이루어질 수 있으며, 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)에 의하여 제어될 수 있다. 디스플레이 패널(215)은 도 1의 디지털 카메라에서와 같이 LCD(25)가 사용될 수 있다. The display units 214 and 215 may include a display panel driver 214 and a display panel 215, and may be controlled by the digital signal processor 207 and / or the microcontroller 212. As the display panel 215, the LCD 25 may be used as in the digital camera of FIG. 1.

또한, 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)는 본 발명의 제어부가 될 수 있다. 즉, 디지털 신호 처리기(207) 및/또는 마이크로 제어기(212)에서 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정할 수 있다. 또한, 인쇄부(215)를 제어하여 대표 이미지들이 인쇄되도록 할 수 있다. In addition, the digital signal processor 207 and / or the microcontroller 212 may be a control unit of the present invention. That is, the digital signal processor 207 and / or the microcontroller 212 may select at least one or more frames among the frames included in the moving image as the representative image of the still image. In addition, the printing unit 215 may be controlled to print representative images.

디지털 영상 처리장치(200)는 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 연속되는 프레임들 사이에서 얼굴 각도 변화를 검출하여, 얼굴 각도 변화가 큰 경우에 변화가 큰 프레임을 정지영상인 대표 이미지로 하여 인쇄한다. The digital image processing apparatus 200 extracts a face region of a person from each frame of a moving image, detects a change in face angle between successive frames, and displays a frame with a large change when the face angle change is large. A representative image is printed.

즉, 동영상 이미지에서 자동으로 동영상 이미지를 대표할 수 있는 정지영상의 이미지를 추출함으로써, 사용자가 동영상을 직접 플레이하면서 원하는 대표 이미지를 선정하는 수작업 없이도, 자동으로 대표 이미지를 선정할 수 있다. 따라서, 동영상 인쇄를 위한 사용자 편이성이 향상될 수 있다. That is, by extracting an image of a still image that can automatically represent the moving image from the moving image, the user can automatically select the representative image without the manual operation of selecting the desired representative image while playing the moving image directly. Therefore, user convenience for moving image printing can be improved.

또한, 빠른 시간 내에 동영상으로부터 인물의 행동에 입각한 정지 영상의 대표 이미지를 선정하여 출력할 수 있다. In addition, a representative image of a still image based on a person's behavior may be selected and output from a moving image in a short time.

이를 위하여, 먼저 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출한다. 이때, 얼굴 영역 검출은 통상의 얼굴 영역 검출 알고리즘이 사용될 수 있다. 그 일 실시예로서, 전체 영상 중에서 얼굴 색깔이 집중적으로 분포된 영역을 검색하여 그 영역을 얼굴 영역으로 검출할 수 있다. To this end, first, a face region of a person is extracted from each frame of the moving image. In this case, face region detection may use a conventional face region detection algorithm. As an example, the area where the face color is intensively distributed among the entire images may be searched to detect the area as the face area.

또한, 각각의 프레임에 대하여 얼굴 영역의 픽셀값을 구할 수 있다. 이때, 픽셀값은 얼굴 영역 내의 각각의 픽셀에서의 계조값의 합에 의하여 구할 수 있다. 여기서, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차로부터 얼굴의 각도 변화를 구할 수 있다. In addition, the pixel value of the face region can be obtained for each frame. In this case, the pixel value may be obtained by the sum of the gray level values of each pixel in the face region. Here, the change in the angle of the face can be obtained from the difference between the pixel values of two consecutive frames at a set time or frame interval.

즉, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 큰 경우에, 두 프레임 중의 하나 바람직하게는 뒤에 오는 프레임을 대표 이미지로 선정할 수 있다. 이를 위하여 상기 기준값에 해당하는 기준 픽셀값이 설정되고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차에 해당하는 비교값이 기준 픽셀값보다 크면 뒤에 오는 프레임이 변화가 큰 이미지로 판단되어, 대표 이미지가 될 수 있다. That is, when the face angle is large by comparing the face regions in two consecutive frames at a set time or frame interval, one of the two frames, preferably the following frame, may be selected as the representative image. To this end, if a reference pixel value corresponding to the reference value is set, and a comparison value corresponding to a difference between pixel values of two consecutive frames at a set time or frame interval is larger than the reference pixel value, the subsequent frame is determined to be a large change image. Can be a representative image.

이때, 기준 픽셀값은 선정될 대표 이미지의 개수로 선정된 개수에 따라 결정될 수 있다. 그 일 실시예로서, 동영상을 구성하는 전체 프레임들에 대한 비교값이 큰 순서에 따라, 설정된 대표 이미지의 수만큼의 상호 비교되는 프레임 쌍이 선정 되고, 그 중에서 적어도 하나 바람직하게는 뒤에 오는 프레임이 대표 이미지로 선정될 수 있다. 이러한 방법에 의하여 대표 이미지를 선정하는 방법이 도 5의 디지털 영상 처리장치의 제어방법에 도시되어 있다. In this case, the reference pixel value may be determined according to the selected number as the number of representative images to be selected. As one embodiment, according to the order in which the comparison values for all the frames constituting the video are larger, a pair of frames to be compared with each other by the set number of representative images is selected, and at least one of the following frames is preferably represented. Can be selected as the image. A method of selecting a representative image by such a method is illustrated in the control method of the digital image processing apparatus of FIG. 5.

다른 실시예로서, 미리 대표 이미지의 개수에 따른 기준 픽셀값이 테이블로 저장되고, 일단 비교값이 기준 픽셀값보다 큰 프레임 쌍에서 대표 이미지를 선정하고, 선정된 대표 이미지의 개수가 설정된 대표 이미지의 개수와 다른 경우에 대표 이미지의 개수를 조정하여 선정된 대표 이미지의 개수를 설정된 대표 이미지의 개수만큼으로 맞추게 된다. 이러한 방법에 의하여 대표 이미지를 선정하는 방법이 도 3 및 도 4의 디지털 영상 처리장치의 제어방법에 도시되어 있다. In another embodiment, a reference pixel value according to the number of representative images is stored in a table in advance, and a representative image is selected in a frame pair in which a comparison value is larger than a reference pixel value, and the number of the selected representative images is set. If the number is different from the number, the number of representative images is adjusted to match the number of the selected representative images by the number of the set representative images. A method of selecting a representative image by such a method is illustrated in the control method of the digital image processing apparatus of FIGS. 3 and 4.

한편, 동영상 이미지의 첫 번째 프레임과 마지막 프레임이 대표 이미지로 기본 적으로 선정될 수 있다. 이 경우, 위에서 설명한 대표 이미지 선정 방법에서 설정된 대표 이미지 개수에서 첫 번째 프레임과 마지막 프레임을 제외한 개수만큼의 이미지를 선정하게 된다. Meanwhile, the first frame and the last frame of the video image may be basically selected as the representative image. In this case, the number of images except the first frame and the last frame is selected from the number of representative images set in the representative image selection method described above.

또한, 동영상 이미지에 인물이 포함되지 아니한 경우에는 프레임 수 단위로 대표 이미지를 선정할 수 있다. 즉, 동영상을 구성하는 전체 프레임들 중에서 설정된 대표 이미지 개수를 선정할 수 있도록 하는 간격으로 프레임을 선정하고, 그 프레임의 이미지를 대표 이미지로 선정할 수 있다. In addition, when a person is not included in the video image, the representative image may be selected in units of frames. That is, the frames may be selected at intervals to select the set number of representative images from all the frames constituting the video, and the images of the frames may be selected as the representative images.

본 발명에 따른 디지털 영상 처리장치(200)는 도 3 내지 도 5에 도시된 디지털 영상 처리장치의 제어방법(S300, S500)에 의하여 제어될 수 있다. The digital image processing apparatus 200 according to the present invention may be controlled by the control methods S300 and S500 of the digital image processing apparatus illustrated in FIGS. 3 to 5.

도 3에는 본 발명에 따른 바람직한 실시예인 디지털 영상 처리장치의 제어방 법(S300)의 흐름도가 도시되어 있다. 도 4에는 도 3의 디지털 영상 처리장치의 제어방법(S300)에서 선정된 대표 이미지 개수 조정단계(S400)의 흐름도가 도시되어 있다. 3 is a flowchart of a control method (S300) of a digital image processing apparatus according to an exemplary embodiment of the present invention. 4 is a flowchart illustrating a representative image number adjustment step S400 selected in the control method S300 of the digital image processing apparatus of FIG. 3.

도면을 참조하면, 디지털 영상 처리장치의 제어방법(S300)은 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 설정 대표 이미지 개수 설정단계(S320); 기준값 설정단계(S330); 얼굴 영역 추출단계(S340); 픽셀값 및 비교값 추출단계(S350); 대표 이미지 선정단계(S360); 인쇄단계(S370); 및 대표 이미지 조정단계(S400)를 구비한다. Referring to the drawings, the control method (S300) of the digital image processing apparatus selects at least one or more frames among the frames included in the moving image image as the representative image of the still image, and setting the number of the representative image setting step (S320); Setting a reference value (S330); Face region extraction step (S340); Pixel value and comparison value extraction step (S350); Representative image selection step (S360); A printing step (S370); And a representative image adjusting step (S400).

디지털 영상 처리장치의 제어방법(S300)은 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 연속되는 프레임들 사이에서 얼굴 각도 변화를 검출하여, 얼굴 각도 변화가 큰 경우에 변화가 큰 프레임을 정지영상인 대표 이미지로 하여 인쇄한다. The control method (S300) of the digital image processing apparatus extracts a face area of a person from each frame of a moving image, detects a change in face angle between successive frames, and a frame having a large change when a change in face angle is large. Is printed as a representative image which is a still image.

이때, 비교되는 한 쌍의 프레임들 사이에 얼굴 영역의 픽셀값의 차이가 상기 기준값에 해당하는 기준 픽셀값보다 크면 얼굴 각도 변화가 큰 것으로 판단하여, 이때의 프레임 쌍 중에서 적어도 하나 바람직하게는 뒤에 오는 프레임을 대표 이미지로 선정할 수 있다. In this case, if the difference in the pixel value of the face region between the pair of frames to be compared is greater than the reference pixel value corresponding to the reference value, it is determined that the face angle change is large, and at least one of the following pairs of frames is preferably The frame can be selected as the representative image.

즉, 동영상 이미지에서 자동으로 동영상 이미지를 대표할 수 있는 정지영상의 이미지를 추출함으로써, 사용자가 동영상을 직접 플레이하면서 원하는 대표 이미지를 선정하는 수작업 없이도, 자동으로 대표 이미지를 선정할 수 있다. 따라서, 동영상 인쇄를 위한 사용자 편이성이 향상될 수 있다. That is, by extracting an image of a still image that can automatically represent the moving image from the moving image, the user can automatically select the representative image without the manual operation of selecting the desired representative image while playing the moving image directly. Therefore, user convenience for moving image printing can be improved.

또한, 빠른 시간 내에 동영상으로부터 인물의 행동에 입각한 정지 영상의 대표 이미지를 선정하여 출력할 수 있다. In addition, a representative image of a still image based on a person's behavior may be selected and output from a moving image in a short time.

디지털 영상 처리장치의 제어방법(S300)은 도 2에 도시된 디지털 영상 처리장치의 제어장치(200)에서 수행되는 것으로 도 2에 대한 설명과 동일한 사항에 대해서는 그에 대한 설명을 참조한다. The control method (S300) of the digital image processing apparatus is performed by the control apparatus 200 of the digital image processing apparatus illustrated in FIG. 2. For the same items as those of FIG. 2, the description thereof will be referred to.

설정 대표 이미지 개수 설정단계(S320)에는 선정하고자 하는 대표 이미지의 개수에 해당하는 설정 대표 이미지 개수를 설정한다. 이때, 설정 대표 이미지 개수는 디폴트(default)로 임의의 값이 설정되어 있을 수 있으며, 사용자에 의하여 사용자가 원하는 특정값이 설정될 수 있다. In the set representative image number setting step (S320), the set representative image number corresponding to the number of representative images to be selected is set. In this case, a predetermined value may be set as the default number of representative images, and a specific value desired by the user may be set by the user.

또한, 사전 작업으로 사용자의 선택에 따라 동영상 이미지가 재생될 수 있다(S311). 이때, 동영상 이미지에서 임의의 한 프레임이 정지영상으로 표시될 수도 있다. 동영상 이미지가 표시된 상태에서 사용자의 입력에 의하여 인쇄 명령이 입력되고(S312), 동영상 이미지가 선택된 경우(S313)에, 정지영상의 대표 이미지가 선정되어 대표 이미지들만이 인쇄될 수 있다. In operation S311, a moving image may be played according to a user's selection in advance. At this time, any one frame in the moving image may be displayed as a still image. When a print command is input by a user input while the moving image is displayed (S312), and when the moving image is selected (S313), the representative image of the still image may be selected and only the representative images may be printed.

또한, 대표 이미지를 추출하는 방법을 선택하는 단계(S325)가 더 구비될 수 있다. 이때, 대표 이미지를 추출하는 방법은, 프레임수 단위, 인원수 변화, 및 얼굴 각도의 변화 중의 어느 하나가 선택될 수 있다. 다만, 이 경우 얼굴 각도 변화에 따른 대표 이미지 추출 방법이 디폴트로 지정될 수 있다. In addition, a step (S325) of selecting a method of extracting the representative image may be further provided. In this case, as the method of extracting the representative image, any one of a frame number unit, a change in the number of people, and a change in the face angle may be selected. In this case, however, the representative image extraction method according to the change of the facial angle may be designated as a default.

또한, 대표 이미지를 추출하는 방법이 얼굴 각도 변화를 감지하는 것으로 설 정된 경우에, 기준값 설정단계(S330) 내지 픽셀값 및 비교값 추출단계(S350)가 수행될 수 있다. In addition, when the method of extracting the representative image is set to detect the change in the angle of the face, the reference value setting step S330 to the pixel value and the comparison value extraction step S350 may be performed.

기준값 설정단계(S330)에는 설정된 설정 대표 이미지 개수에 따라 기준 픽셀값이 설정될 수 있다. 이를 위하여, 미리 설정 대표 이미지 개수에 따른 기준 픽셀값이 테이블로 저장되고, 그 테이블에서 설정 대표 이미지 개수에 따라 기준 픽셀값이 선택될 수 있다.In the reference value setting step S330, a reference pixel value may be set according to the set number of representative images. To this end, the reference pixel value according to the number of preset representative images is stored as a table, and the reference pixel value may be selected according to the number of representative images set in the table.

얼굴 영역 추출단계(S340)에는 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출한다. 이때, 얼굴 영역 검출은 통상의 얼굴 영역 검출 알고리즘이 사용될 수 있다. 그 일 실시예로서, 전체 영상 중에서 얼굴 색깔이 집중적으로 분포된 영역을 검색하여 그 영역을 얼굴 영역으로 검출할 수 있다. In the face region extraction step (S340), the face region of the person is extracted from each frame of the moving image. In this case, face region detection may use a conventional face region detection algorithm. As an example, the area where the face color is intensively distributed among the entire images may be searched to detect the area as the face area.

한편, 동영상 이미지에 인물이 포함되지 아니한 경우에는 프레임 수 단위로 대표 이미지를 선정할 수 있다. 즉, 동영상을 구성하는 전체 프레임들 중에서 설정된 대표 이미지 개수를 선정할 수 있도록 하는 간격으로 프레임을 선정하고, 그 프레임의 이미지를 대표 이미지로 선정할 수 있다. Meanwhile, when a person is not included in the video image, the representative image may be selected in units of frames. That is, the frames may be selected at intervals to select the set number of representative images from all the frames constituting the video, and the images of the frames may be selected as the representative images.

픽셀값 및 비교값 추출단계(S350)에는 각각의 프레임에서 얼굴 영역의 픽셀값을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차로부터 비교값을 추출할 수 있다. 이때, 픽셀값은 얼굴 영역 내의 각각의 픽셀에서의 계조값의 합에 의하여 구할 수 있다. In the extracting the pixel value and the comparison value (S350), the pixel value of the face region may be extracted from each frame, and the comparison value may be extracted from the difference between the pixel values of two consecutive frames at a predetermined time or frame interval. In this case, the pixel value may be obtained by the sum of the gray level values of each pixel in the face region.

대표 이미지 선정단계(S360)에는 비교값을 설정된 기준 픽셀값과 비교하여(S355) 대표 이미지를 선정할 수 있다. 이때, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차로부터 얼굴의 각도 변화를 구할 수 있다. In the representative image selection step (S360), the representative image may be selected by comparing the comparison value with a set reference pixel value (S355). In this case, the angle change of the face may be obtained from the difference between the pixel values of two consecutive frames at a predetermined time or frame interval.

즉, 비교되는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 큰 경우에, 두 프레임 중의 하나 바람직하게는 뒤에 오는 프레임을 대표 이미지로 선정할 수 있다. 이를 위하여 비교되는 두 프레임의 픽셀값의 차에 해당하는 비교값이 기준 픽셀값보다 크면 뒤에 오는 프레임이 변화가 큰 이미지로 판단되어, 대표 이미지가 될 수 있다. That is, in the case where the angle change of the face is large by comparing the face regions in the two frames to be compared, one of the two frames, preferably the following frame, may be selected as the representative image. To this end, when the comparison value corresponding to the difference between the pixel values of the two frames to be compared is larger than the reference pixel value, the subsequent frame may be determined as an image having a large change, and may be a representative image.

한편, 동영상 이미지의 첫 번째 프레임과 마지막 프레임이 대표 이미지로 기본 적으로 선정될 수 있다. 이 경우, 위에서 설명한 대표 이미지 선정 방법에서 설정된 대표 이미지 개수에서 첫 번째 프레임과 마지막 프레임을 제외한 개수만큼의 이미지를 선정하게 된다. Meanwhile, the first frame and the last frame of the video image may be basically selected as the representative image. In this case, the number of images except the first frame and the last frame is selected from the number of representative images set in the representative image selection method described above.

얼굴 영역 추출단계(S340) 내지 대표 이미지 선정단계(S360)가 프레임 단위로 수행될 수 있다. 따라서, 현재 프레임이 마지막 프레임인가 판단하여(S361), 마지막 프레임까지 비교할 때까지 얼굴 영역 추출단계(S340) 내지 대표 이미지 선정단계(S360)가 수행될 수 있다. 현재 프레임이 마지막 프레임이 아닌 경우에 다음 프레임(S380)에 대하여 얼굴 영역 추출단계(S340) 내지 대표 이미지 선정단계(S360)가 수행될 수 있다.The face region extraction step S340 to the representative image selection step S360 may be performed in units of frames. Therefore, by determining whether the current frame is the last frame (S361), the face region extraction step S340 to the representative image selection step S360 may be performed until the last frame is compared. When the current frame is not the last frame, the face region extraction step S340 to the representative image selection step S360 may be performed with respect to the next frame S380.

대표 이미지 조정단계(S400)에는, 선정된 대표 이미지의 개수가 설정 대표 이미지 개수와 일치하는지 판단하여(S362), 일지하지 아니한 경우에 선정된 대표 이미지의 개수를 조정한다. 즉, 일단 비교값이 기준 픽셀값보다 큰 프레임 쌍에서 대표 이미지들을 선정하고, 선정된 대표 이미지의 개수가 설정된 대표 이미지의 개 수와 다른 경우에 대표 이미지의 개수를 조정하여(S400) 선정된 대표 이미지의 개수를 설정된 대표 이미지의 개수만큼으로 맞추게 된다. In the representative image adjustment step (S400), it is determined whether the number of the selected representative image matches the number of the set representative image (S362), and the number of the selected representative image is adjusted when not recorded. That is, once the representative values are selected in a frame pair in which the comparison value is larger than the reference pixel value, and if the number of the selected representative images is different from the set number of representative images, the number of representative images is adjusted (S400). The number of images is adjusted to the number of set representative images.

이러한 방법에 의하여 대표 이미지의 개수를 조정하는 방법이 도 4에 도시되어 있다. A method of adjusting the number of representative images by this method is illustrated in FIG. 4.

인쇄단계(S370)에는 대표 이미지를 인쇄한다. 이때, 출력될 수 있는 대표 이미지의 개수는 설정 대표 이미지 개수가 될 수 있다. 또한, 복수장의 대표 이미지가 인덱스 화면으로 출력될 수 있다. In the printing step S370, a representative image is printed. In this case, the number of representative images that can be output may be the number of set representative images. Also, a plurality of representative images may be output on the index screen.

대표 이미지 조정단계(S400)는 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 지 여부를 판단단계(S405), 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 경우의 재선정 단계(S410, S420), 및 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 작은 경우의 재선정 단계(S430, S440, S450)를 구비한다. Representative image adjustment step (S400) is a step of determining whether the number of the selected representative image is larger than the set representative image (S405), the re-selection step (S410, S420 when the number of the selected representative image is larger than the set representative image number) And a reselection step (S430, S440, S450) when the number of the selected representative image is smaller than the set representative image number.

선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 지 여부를 판단하여(S405) 큰 경우에는, 첫 프레임과 마지막 프레임을 상기 대표 이미지로 재선정하고(S410), 선정된 대표 이미지들 중에서 비교값이 큰 순서에 따라 설정된 대표 이미지 개수까지 대표 이미지를 재선정한다(S420). If it is determined whether the number of the selected representative image is larger than the set representative image (S405), and if the number is larger, the first frame and the last frame are reselected as the representative image (S410), and the comparison value among the selected representative images is larger. The representative image is reselected up to the number of the representative images set in order (S420).

선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 지 여부를 판단하여(S405) 작은 경우에는, 추가할 대표 이미지의 개수를 계산하고(S430), 선정된 대표 이미지들의 시간 간격을 구하고, 추가할 대표 이미지의 개수에 따라 시간 간격이 긴 구간 순서로 추가 구간을 선정하고(S440), 추가 구간에서 대표 이미지를 추가한다(S450). If it is determined by determining whether the number of the selected representative image is larger than the set representative image (S405), the number of representative images to be added is calculated (S430), the time interval of the selected representative images is obtained, and the representative to be added. According to the number of images, additional intervals are selected in order of intervals having a long time interval (S440), and a representative image is added in the additional interval (S450).

도 5는 본 발명에 따른 바람직한 다른 실시예인 디지털 영상 처리장치의 제어방법(S500)의 흐름도가 도시되어 있다.5 is a flowchart of a control method S500 of a digital image processing apparatus according to another exemplary embodiment of the present invention.

도면을 참조하면, 디지털 영상 처리장치의 제어방법(S500)은 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 설정 대표 이미지 개수 설정단계(S520); 얼굴 영역 추출단계(S540); 픽셀값 산출단계(S545); 비교값 산출단계(S550); 대표 이미지 선정단계(S560); 및 인쇄단계(S370)를 구비한다. Referring to the drawings, the control method (S500) of the digital image processing apparatus selects at least one or more frames from among the frames included in the moving image image as the representative image of the still image, the setting representative image number setting step (S520); Face region extraction step (S540); A pixel value calculating step (S545); Comparison value calculating step (S550); Representative image selection step (S560); And a printing step (S370).

본 실시예는 도 3 및 도 4에 도시된 디지털 영상 처리장치의 제어방법(S300)에 대하여, 먼저 동영상을 구성하는 전체 프레임들에서 비교되는 프레임들에서의 비교값이 구해지고, 그 비교값이 큰 순서에 따라, 설정된 대표 이미지의 수만큼의 상호 비교되는 프레임 쌍이 선정되고, 그 중에서 적어도 하나 바람직하게는 뒤에 오는 프레임이 대표 이미지로 선정되도록 한다. In the present embodiment, with respect to the control method (S300) of the digital image processing apparatus illustrated in FIGS. 3 and 4, first, a comparison value is obtained in frames compared in all the frames constituting the moving image. According to the large order, as many pairs of frames to be compared as the set representative images are selected, and at least one of the following frames is preferably selected as the representative images.

본 실시예에 대하여 디지털 영상 처리장치의 제어방법(S300)에서와 동일한 사항은 그에 대한 설명을 참조하고, 자세한 설명은 생략한다. For the present embodiment, the same matters as in the control method (S300) of the digital image processing apparatus are referred to the description thereof, and a detailed description thereof will be omitted.

설정 대표 이미지 개수 설정단계(S520)에는 선정하고자 하는 대표 이미지의 개수에 해당하는 설정 대표 이미지 개수를 설정한다. In the setting representative image number setting step (S520), the number of setting representative images corresponding to the number of representative images to be selected is set.

사전 작업으로 사용자의 선택에 따라 동영상 이미지가 재생될 수 있다(S511). 동영상 이미지가 표시된 상태에서 사용자의 입력에 의하여 인쇄 명령이 입력되고(S512), 동영상 이미지가 선택된 경우(S513)에, 정지영상의 대표 이미지가 선정되어 대표 이미지들만이 인쇄될 수 있다. In operation S511, a moving image may be reproduced according to a user's selection in advance. When a moving command is input by a user input while the moving image is displayed (S512), and when the moving image is selected (S513), the representative image of the still image may be selected and only the representative images may be printed.

또한, 대표 이미지를 추출하는 방법을 선택하는 단계(S525)가 더 구비될 수 있다. 이때, 대표 이미지를 추출하는 방법은, 프레임수 단위, 인원수 변화, 및 얼굴 각도의 변화 중의 어느 하나가 선택될 수 있다. 또한, 대표 이미지를 추출하는 방법이 얼굴 각도 변화를 감지하는 것으로 설정된 경우에, 얼굴 영역 추출단계(S540) 내지 비교값 산출단계(S550)가 수행될 수 있다. In addition, a step (S525) of selecting a method of extracting the representative image may be further provided. In this case, as the method of extracting the representative image, any one of a frame number unit, a change in the number of people, and a change in the face angle may be selected. In addition, when the method of extracting the representative image is set to detect the change in the facial angle, the face region extraction step S540 to the comparison value calculation step S550 may be performed.

얼굴 영역 추출단계(S540)에는 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출한다. 한편, 동영상 이미지에 인물이 포함되지 아니한 경우에는 프레임 수 단위로 대표 이미지를 선정할 수 있다. In the face region extraction step (S540), the face region of the person is extracted from each frame of the video image. Meanwhile, when a person is not included in the video image, the representative image may be selected in units of frames.

픽셀값 산출단계(S545)에는 각각의 프레임에서 얼굴 영역의 픽셀값을 산출한다. 이때, 픽셀값은 얼굴 영역 내의 각각의 픽셀에서의 계조값의 합에 의하여 구할 수 있다. 비교값 산출단계(S550)에는 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차로부터 비교값을 산출할 수 있다. In the pixel value calculating step S545, the pixel value of the face region is calculated in each frame. In this case, the pixel value may be obtained by the sum of the gray level values of each pixel in the face region. In the comparison value calculating step S550, a comparison value may be calculated from a difference between pixel values of two consecutive frames at a set time or frame interval.

대표 이미지 선정단계(S560)에는 비교값이 큰 순서에 따라 설정 대표이미지 개수만큼 대표 이미지가 선정된다. 즉, 그 비교값이 큰 순서에 따라, 설정된 대표 이미지의 수만큼의 상호 비교되는 프레임 쌍이 선정되고, 그 중에서 뒤에 오는 프레임이 대표 이미지로 선정되도록 할 수 있다. In the representative image selection step (S560), the representative images are selected by the number of the set representative images in the order of the large comparison value. That is, according to the order in which the comparison values are large, the frame pairs to be compared with each other by the set number of representative images can be selected, and the following frames can be selected as the representative images.

인쇄단계(S370)에는 대표 이미지를 인쇄한다. In the printing step S370, a representative image is printed.

이때, 동영상 이미지에서 자동으로 동영상 이미지를 대표할 수 있는 정지영상의 이미지를 추출함으로써, 사용자가 동영상을 직접 플레이하면서 원하는 대표 이미지를 선정하는 수작업 없이도, 자동으로 대표 이미지를 선정할 수 있다. 따라서, 동영상 인쇄를 위한 사용자 편이성이 향상될 수 있다. At this time, by extracting the image of the still image that can automatically represent the moving image from the moving image, the user can automatically select the representative image without the manual operation of selecting the desired representative image while playing the video directly. Therefore, user convenience for moving image printing can be improved.

또한, 빠른 시간 내에 동영상으로부터 인물의 행동에 입각한 정지 영상의 대표 이미지를 선정하여 출력할 수 있다. In addition, a representative image of a still image based on a person's behavior may be selected and output from a moving image in a short time.

본 발명은 첨부된 도면에 도시된 일 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서, 본 발명의 진정한 보호 범위는 첨부된 청구 범위에 의해서만 정해져야 할 것이다. Although the present invention has been described with reference to one embodiment shown in the accompanying drawings, it is merely an example, and those skilled in the art may realize various modifications and equivalent other embodiments therefrom. I can understand. Accordingly, the true scope of protection of the invention should be defined only by the appended claims.

도 1은 본 발명에 따른 디지털 영상 처리장치의 일 실시예로서, 디지털 카메라의 뒷면 외형을 보여주는 도면이다. 1 is a diagram illustrating a rear surface of a digital camera as an embodiment of a digital image processing apparatus according to the present invention.

도 2는 도 1의 디지털 영상 처리장치의 제어장치를 개략적으로 도시한 블록도이다. FIG. 2 is a block diagram schematically illustrating a control device of the digital image processing apparatus of FIG. 1.

도 3은 본 발명에 따른 바람직한 실시예로서, 디지털 영상 처리장치의 제어방법을 개략적으로 도시한 흐름도이다. 3 is a flowchart schematically illustrating a control method of a digital image processing apparatus as a preferred embodiment according to the present invention.

도 4는 도 3의 디지털 영상 처리장치의 제어방법에서 선정된 대표 이미지 개수 조정단계를 개략적으로 도시한 흐름도이다. FIG. 4 is a flowchart schematically illustrating an operation of adjusting the number of representative images selected in the control method of the digital image processing apparatus of FIG. 3.

도 5는 본 발명에 따른 바람직한 다른 실시예로서, 디지털 영상 처리장치의 제어방법을 개략적으로 도시한 흐름도이다. 5 is a flowchart schematically illustrating a control method of a digital image processing apparatus according to another exemplary embodiment of the present invention.

Claims (8)

동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, By selecting at least one frame from among the frames included in the video image as a representative image of the still image, 상기 동영상 이미지가 표시되는 표시부; 및 A display unit displaying the moving image; And 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 상기 두 프레임 중의 적어도 하나를 상기 대표 이미지로 선정하는 제어부를 구비하는 디지털 영상 처리장치.When the face area of the person is extracted from each frame of the video image, and the face area is determined to be larger than the set reference value by comparing the face areas in two consecutive frames at a set time or frame interval, And a controller for selecting at least one of the representative images. 제1항에 있어서, The method of claim 1, 상기 대표 이미지를 출력하는 인쇄부를 더 구비하는 디지털 영상 처리장치.And a printing unit for outputting the representative image. 제1항에 있어서, The method of claim 1, 상기 얼굴 영역의 각각의 픽셀의 계조값의 합에 의하여 픽셀값을 구하고, The pixel value is obtained by the sum of the gray level values of each pixel of the face region, 상기 연속하는 두 프레임의 상기 픽셀값의 차로부터 상기 얼굴의 각도 변화를 구하는 디지털 영상 처리장치.And obtaining a change in angle of the face from the difference between the pixel values of the two consecutive frames. 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정 지영상의 대표 이미지로 선정하는 것으로, By selecting at least one frame from among the frames included in the video image as a representative image of the still image, 선정하고자 하는 상기 대표 이미지의 개수를 설정하는 단계; Setting the number of representative images to be selected; 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하는 단계; Extracting a face region of a person from each frame of the moving image; 각각의 상기 프레임에서 상기 얼굴 영역의 픽셀값을 추출하는 단계; Extracting pixel values of the face area in each of the frames; 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 상기 픽셀값의 차로부터 비교값을 추출하는 단계; 및 Extracting a comparison value from the difference between the pixel values of two consecutive frames at a set time or frame interval; And 상기 비교값을 설정된 기준값과 비교하여 상기 대표 이미지를 선정하는 단계를 구비하는 디지털 영상 처리장치의 제어방법.And selecting the representative image by comparing the comparison value with a set reference value. 제4항에 있어서, The method of claim 4, wherein 상기 대표 이미지를 인쇄하는 단계를 더 구비하는 디지털 영상 처리장치의 제어방법.And controlling the representative image to be printed. 제4항에 있어서, The method of claim 4, wherein 상기 비교값이 상기 기준값보다 큰 경우에 상기 비교값이 산출되는 두 프레임들 중에서 적어도 하나를 상기 대표 이미지로 선정하는 디지털 영상 처리장치의 제어방법.And selecting at least one of two frames from which the comparison value is calculated as the representative image when the comparison value is larger than the reference value. 제4항에 있어서, The method of claim 4, wherein 상기 대표 이미지를 추출하는 방법을 선택하는 단계를 더 구비하고, Selecting a method of extracting the representative image; 상기 대표 이미지를 추출하는 방법이, 프레임수 단위, 인원수 변화, 및 얼굴 각도의 변화 중의 어느 하나가 선택될 수 있는 디지털 영상 처리장치의 제어방법.The method of extracting the representative image, the control method of the digital image processing apparatus, any one of the number of frames, the number of people, and the change of the face angle can be selected. 제4항에 있어서, The method of claim 4, wherein 선정된 상기 대표 이미지의 개수가 설정된 상기 대표 이미지의 개수와 일치하지 아니한 경우, 선정된 상기 대표 이미지의 개수를 조정하는 단계를 더 구비하는 디지털 영상 처리장치의 제어방법.And adjusting the number of the selected representative images when the number of the selected representative images does not match the set number of the representative images.
KR1020070104462A 2007-10-17 2007-10-17 Apparatus for processing digital image and method for controlling the same KR101396345B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070104462A KR101396345B1 (en) 2007-10-17 2007-10-17 Apparatus for processing digital image and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070104462A KR101396345B1 (en) 2007-10-17 2007-10-17 Apparatus for processing digital image and method for controlling the same

Publications (2)

Publication Number Publication Date
KR20090039051A true KR20090039051A (en) 2009-04-22
KR101396345B1 KR101396345B1 (en) 2014-05-19

Family

ID=40762989

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070104462A KR101396345B1 (en) 2007-10-17 2007-10-17 Apparatus for processing digital image and method for controlling the same

Country Status (1)

Country Link
KR (1) KR101396345B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060028307A (en) * 2004-09-24 2006-03-29 주식회사 케이티 System for real time personal video summary, video summary information creation apparatus/method and video summary information provision apparatus and method in its

Also Published As

Publication number Publication date
KR101396345B1 (en) 2014-05-19

Similar Documents

Publication Publication Date Title
KR101387404B1 (en) Apparatus of controlling digital image processing apparatus and method thereof
US7420601B2 (en) Digital camera and method of controlling a digital camera to determine image sharpness
KR100503039B1 (en) Method to control operation of digital camera for user to easily take an identification photograph
KR20110047613A (en) Method and Apparatus for guiding the photographing
KR20090052676A (en) Apparatus for processing digital image and method for controlling thereof
KR20100056280A (en) Apparatus for processing digital image and method for controlling thereof
KR101594291B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20100092217A (en) Apparatus for processing digital image and method for controlling thereof
KR20090097005A (en) Apparatus for processing digital image and method for controlling thereof
KR101411912B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101396345B1 (en) Apparatus for processing digital image and method for controlling the same
KR101411318B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101396333B1 (en) Apparatus for processing digital image and method controlling thereof
KR101364537B1 (en) Apparatus for processing digital image
KR20100077719A (en) Apparatus for processing digital image and method for controlling thereof
KR101564417B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101457412B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20080090174A (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101436834B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101362769B1 (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
KR101288914B1 (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101537950B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101378330B1 (en) Apparatus of controlling digital image processing apparatus and method thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170427

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180427

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee