KR101396345B1 - 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
KR101396345B1
KR101396345B1 KR1020070104462A KR20070104462A KR101396345B1 KR 101396345 B1 KR101396345 B1 KR 101396345B1 KR 1020070104462 A KR1020070104462 A KR 1020070104462A KR 20070104462 A KR20070104462 A KR 20070104462A KR 101396345 B1 KR101396345 B1 KR 101396345B1
Authority
KR
South Korea
Prior art keywords
image
representative
frame
frames
images
Prior art date
Application number
KR1020070104462A
Other languages
Korean (ko)
Other versions
KR20090039051A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

본 발명은, 동영상에서 각각의 영상들의 특정 영역만을 비교하여 대표 화상을 선정함으로써, 동영상을 구성하는 각각의 영상들의 특징에 입각하여 대표 화상을 추출할 수 있는 디지털 영상 처리장치의 제어장치 및 그 방법에 관한 것이다. 본 발명은, 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 상기 동영상 이미지가 표시되는 표시부; 및 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 상기 두 프레임 중의 적어도 하나를 상기 대표 이미지로 선정하는 제어부를 구비하는 디지털 영상 처리장치의 제어장치를 제공한다. The present invention relates to a control apparatus and method for a digital image processing apparatus capable of extracting a representative image based on characteristics of respective images constituting a moving image by comparing only specific areas of respective images in moving images to select representative images . The present invention is characterized in that at least one frame among frames included in a moving image is selected as a representative image of a still image, the display unit displaying the moving image; Extracting a face region of a person in each frame of the moving image, comparing the face region in two consecutive frames at a predetermined time or frame interval, and when it is determined that the angle change of the face is larger than a set reference value, And a control unit for selecting at least one of the representative images as the representative image.

Description

디지털 영상 처리장치 및 그 제어방법{Apparatus for processing digital image and method for controlling the same}[0001] Digital image processing apparatus and control method thereof [0002]

본 발명은 디지털 영상 처리장치 및 그 제어방법에 관한 것으로서, 보다 상세하게는 동영상을 촬영할 수 있으며, 동영상으로부터 정지 영상을 추출할 수 있는 디지털 영상 처리장치 및 그 제어방법에 관한 것이다. 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 capable of capturing a moving image and extracting a still image from the moving image.

통상적으로 디지털 영상 처리장치란, 디지털 카메라, PDA(personal digital assistant), 폰 카메라, PC 카메라 등의 영상을 처리하거나 영상 인식 센서를 사용하는 모든 장치를 포함한다. Typically, the digital image processing apparatus includes all devices 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.

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

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

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

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

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

본 발명은, 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, 상기 동영상 이미지가 표시 되는 표시부; 및 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 상기 두 프레임 중의 적어도 하나를 상기 대표 이미지로 선정하는 제어부를 구비하는 디지털 영상 처리장치를 제공한다. The present invention is characterized in that at least one frame among frames included in a moving image is selected as a representative image of a still image, the display unit displaying the moving image; Extracting a face region of a person in each frame of the moving image, comparing the face region in two consecutive frames at a predetermined time or frame interval, and when it is determined that the angle change of the face is larger than a set reference value, And a controller for selecting at least one of the representative images as the representative image.

상기 대표 이미지를 출력하는 인쇄부를 더 구비할 수 있다. And a printing unit for outputting the representative image.

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

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

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

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

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

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

이하, 첨부된 도면을 참조하여 바람직한 실시예에 따른 본 발명을 상세히 설명하기로 한다. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1에는 본 발명에 따른 디지털 영상 처리장치의 일 실시예인 디지털 카메라(100)의 뒷면 외형이 도시되어 있다. 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 FIG. 1, a direction button 21, a menu-OK button 22, a wide angle-zoom button W, a telephoto-zoom button Zoom ) Button T, a display panel 25, and the like. In addition, the digital camera 100 may be connected to a printer 150 capable of outputting an image inputted from the outside or an image file of an image stored therein.

방향 버튼(21)에는 상향 버튼(21a), 하향 버튼(21b), 좌향 버튼(21c), 우향 버튼(21d)의 총4개의 버튼이 포함될 수 있다. 방향 버튼(21)과 메뉴-OK 버튼(22) 은 디지털 카메라와 같은 디지털 영상 처리장치의 동작에 관한 각종 메뉴를 실행시키기 위해 입력하는 키이다. The direction button 21 may include a total of four buttons including 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 for inputting various menus related to the operation of the digital image processing apparatus such as a digital camera.

광각-줌 버튼(W) 또는 망원-줌 버튼(T)은 그 입력에 따라 화각이 넓어지거나, 화각이 좁아진다. 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 사용될 수 있다. 이때, 광각-줌 버튼(W)이 입력되면 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(T)이 입력되면 선택된 노출영역의 크기가 커질 수 있다. 디스플레이 패널(25)로는 LCD(liquid crystal display)등의 영상 표시소자가 사용될 수 있다. Wide angle-zoom button W or telephoto-zoom button T widens the view angle or narrows the view angle 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 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 the display unit of the digital image processing apparatus of the present invention and the moving image may be displayed on the display unit by operations of the direction button 21 and the menu-OK button 22 of the user.

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

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

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

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

본 발명이 적용될 수 있는 디지털 영상 처리장치의 일 실시예로서 디지털 카메라와 그 제어장치, 및 그 제어방법이 본 출원인의 미국 특허출원 공개번호 제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 control device 200 for controlling a digital image processing apparatus according to a preferred embodiment of the present invention. The digital image processing apparatus 200 may be mounted inside the digital camera 100 of FIG.

도면을 참조하면, 렌즈부와 필터부를 포함한 광학계(OPS)는 피사체로부터의 빛을 광학적으로 처리한다. 광학계(OPS)의 렌즈부는 줌 렌즈, 포커스 렌즈 및 보상 렌즈를 포함한다. 사용자가 사용자 입력부(INP)에 포함된 광각-줌 버튼(W) 또는 망원-줌 버튼(T)을 누르면, 이에 상응하는 신호가 마이크로제어기(512)에 입력된다. 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 micro controller 512. [

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

한편, 자동 초점 모드(auto focusing mode)에는, 디지털 신호 처리기(207) 안에 내장된 주 제어기가 마이크로제어기(212)를 통하여 렌즈 구동부(210)를 제어하고, 그에 따라 포커스 모터(MF)가 구동된다. Meanwhile, in the auto focusing mode, the main controller built in the digital signal processor 207 controls the lens driving unit 210 through the micro controller 212, so that 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 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 digital signal processor 207 controls the timing circuit 202 to control the operations of the photoelectric conversion unit (OEC) and the analog-digital conversion unit 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 device 201 to generate digital image signals classified into luminance (Y value) and chromaticity (R, G, B) signals.

디지털 신호 처리기(207)에 내장된 주 제어기의 제어에 따라 마이크로 제어기(212)에 의하여 구동되는 발광부(LAMP)에는, 셀프-타이머 램프, 자동-초점 램프, 모드 지시 램프 및 플래시 대기 램프 등이 포함될 수 있다. 사용자 입력부(INP)에는, 방향 버튼(21), 광각-줌 버튼(W) 및 망원-줌 버튼(T) 등이 포함될 수 있다. 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 digital signal processor 207 . The user input unit INP may include a direction button 21, a wide-angle zoom button W, a tele-zoom button T, and the like.

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

디지털 신호 처리기(207)로부터의 디지털 화상 신호는 디스플레이 패널 구동부(214)에 입력되고, 이로 인하여 디스플레이 패널(25)에 화상이 디스플레이 된다. The digital image signal from the digital signal processor 207 is input to the display panel driver 214, whereby an 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 through a USB (Universal Serial Bus) connection part 31a or an RS232C interface 208 and its connection part 31b, 209 and the video output unit 31c as video signals. Here, the digital signal processor 207 may incorporate a micro controller 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 is 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. At this time, the printer 150 of FIG. 1 can print an image through the printing unit 216.

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

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

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

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

표시부(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. The display panel 215 may be an LCD 25 as in the digital camera of Fig.

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

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

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

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

이를 위하여, 먼저 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출한다. 이때, 얼굴 영역 검출은 통상의 얼굴 영역 검출 알고리즘이 사용될 수 있다. 그 일 실시예로서, 전체 영상 중에서 얼굴 색깔이 집중적으로 분포된 영역을 검색하여 그 영역을 얼굴 영역으로 검출할 수 있다. To do this, the face region of the person is first extracted in each frame of the moving image. At this time, a normal face region detection algorithm can be used for face region detection. In one embodiment of the present invention, an area in which a face color is intensively distributed can be searched in the entire image, and the area can be detected as a face area.

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

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

이때, 기준 픽셀값은 선정될 대표 이미지의 개수로 선정된 개수에 따라 결정될 수 있다. 그 일 실시예로서, 동영상을 구성하는 전체 프레임들에 대한 비교값이 큰 순서에 따라, 설정된 대표 이미지의 수만큼의 상호 비교되는 프레임 쌍이 선정 되고, 그 중에서 적어도 하나 바람직하게는 뒤에 오는 프레임이 대표 이미지로 선정될 수 있다. 이러한 방법에 의하여 대표 이미지를 선정하는 방법이 도 5의 디지털 영상 처리장치의 제어방법에 도시되어 있다. At this time, the reference pixel value may be determined according to the number of representative images to be selected. According to one embodiment, a frame pair is selected such that the number of frames to be compared is the same as the number of set representative images, and at least one of the frames, Images can be selected. A method of selecting representative images by such a method is shown in the control method of the digital image processing apparatus of Fig.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

기준값 설정단계(S330)에는 설정된 설정 대표 이미지 개수에 따라 기준 픽셀값이 설정될 수 있다. 이를 위하여, 미리 설정 대표 이미지 개수에 따른 기준 픽셀값이 테이블로 저장되고, 그 테이블에서 설정 대표 이미지 개수에 따라 기준 픽셀값이 선택될 수 있다.In the reference value setting step S330, the reference pixel value may be set according to the set representative image number. For this purpose, a reference pixel value according to the number of preset representative images is stored as a table, and a reference pixel value can be selected according to the number of set representative images 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. At this time, a normal face region detection algorithm can be used for face region detection. In one embodiment of the present invention, an area in which a face color is intensively distributed can be searched in the entire image, and the area can be detected as a face area.

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

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

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

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

한편, 동영상 이미지의 첫 번째 프레임과 마지막 프레임이 대표 이미지로 기본 적으로 선정될 수 있다. 이 경우, 위에서 설명한 대표 이미지 선정 방법에서 설정된 대표 이미지 개수에서 첫 번째 프레임과 마지막 프레임을 제외한 개수만큼의 이미지를 선정하게 된다. On the other hand, the first frame and the last frame of the moving image can be basically selected as representative images. In this case, the number of images excluding the first frame and the last frame is selected from the number of representative images set in the representative image selecting 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 on a frame-by-frame basis. Accordingly, it is determined whether the current frame is the last frame (S361), and the face region extraction step S340 to the representative image selection step S360 may be performed until the last frame is compared. If the current frame is not the last frame, the face region extraction step (S340) to the representative image selection step (S360) may be performed for the next frame (S380).

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

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

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

대표 이미지 조정단계(S400)는 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 지 여부를 판단단계(S405), 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 큰 경우의 재선정 단계(S410, S420), 및 선정된 대표 이미지의 수가 설정 대표 이미지 개수보다 작은 경우의 재선정 단계(S430, S440, S450)를 구비한다. In the representative image adjustment step S400, it is determined whether or not the number of the representative images selected is larger than the number of the representative images. If the number of the selected representative images is greater than the number of the representative images, (S430, S440, S450) when the number of selected representative images is smaller than the number of set representative images.

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

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

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

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

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

본 실시예에 대하여 디지털 영상 처리장치의 제어방법(S300)에서와 동일한 사항은 그에 대한 설명을 참조하고, 자세한 설명은 생략한다. The same elements as those in the control method (S300) of the digital image processing apparatus according to the present embodiment will be described with reference 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 set representative images corresponding to the number of representative images to be selected is set.

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

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

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

픽셀값 산출단계(S545)에는 각각의 프레임에서 얼굴 영역의 픽셀값을 산출한다. 이때, 픽셀값은 얼굴 영역 내의 각각의 픽셀에서의 계조값의 합에 의하여 구할 수 있다. 비교값 산출단계(S550)에는 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 픽셀값의 차로부터 비교값을 산출할 수 있다. In the pixel value calculation step S545, the pixel value of the face area is calculated in each frame. At this time, the pixel value can be obtained by adding the gray level values in each pixel in the face area. In the comparison value calculation step (S550), a comparison value can 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 set representative images according to the order of comparison values. That is, according to the order in which the comparison values are large, frame pairs that are compared with each other for the set number of representative images are selected, and the following frame can be selected as the representative image.

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

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

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

본 발명은 첨부된 도면에 도시된 일 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서, 본 발명의 진정한 보호 범위는 첨부된 청구 범위에 의해서만 정해져야 할 것이다. 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 a rear external appearance of a digital camera according to an embodiment of the digital image processing apparatus according to the present invention.

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

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

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

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

Claims (8)

동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, At least one frame among the frames included in the moving image is selected as the representative image of the still image, 상기 동영상 이미지가 표시되는 표시부; 및 A display unit for displaying the motion image; And 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하고, 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임에서 얼굴 영역을 비교하여 얼굴의 각도 변화가 설정된 기준값보다 큰 것으로 판단되는 경우에 상기 두 프레임 중의 적어도 하나를 상기 대표 이미지로 선정하는 제어부를 구비하는 디지털 영상 처리장치.Extracting a face region of a person in each frame of the moving image, comparing face regions in two consecutive frames at a predetermined time or frame interval, and determining that the face angle is larger than a set reference value, And a control unit for selecting at least one representative image. 제1항에 있어서, The method according to claim 1, 상기 대표 이미지를 출력하는 인쇄부를 더 구비하는 디지털 영상 처리장치.And a printing unit for outputting the representative image. 제1항에 있어서, The method according to claim 1, 상기 얼굴 영역의 각각의 픽셀의 계조값의 합에 의하여 픽셀값을 구하고, A pixel value is obtained by summing the gray level values of the respective pixels of the face region, 상기 연속하는 두 프레임의 상기 픽셀값의 차로부터 상기 얼굴의 각도 변화를 구하는 디지털 영상 처리장치.And obtains a change in the angle of the face from a difference between the pixel values of the two consecutive frames. 동영상 이미지에 포함되는 프레임들 중에서 적어도 하나 이상의 프레임을 정지영상의 대표 이미지로 선정하는 것으로, At least one frame among the frames included in the moving image is selected as the representative image of the still image, 선정하고자 하는 상기 대표 이미지의 개수를 설정하는 단계; Setting a number of representative images to be selected; 상기 동영상 이미지의 각각의 프레임에서 인물의 얼굴 영역을 추출하는 단계; Extracting a face region of a person in each frame of the moving image; 각각의 상기 프레임에서 상기 얼굴 영역의 픽셀값을 추출하는 단계; Extracting pixel values of the face region in each of the frames; 설정된 시간 또는 프레임 간격으로 연속하는 두 프레임의 상기 픽셀값의 차로부터 비교값을 추출하는 단계; 및 Extracting a comparison value from a difference between the pixel values of two consecutive frames at a set time or frame interval; And 상기 비교값을 설정된 기준값과 비교하여, 상기 비교값이 상기 기준값보다 큰 경우에 상기 비교값이 산출되는 두 프레임들 중에서 적어도 하나를 상기 대표 이미지로 선정하는 단계를 구비하는 디지털 영상 처리장치의 제어방법.Comparing the comparison value with a preset reference value and selecting at least one of the two frames from which the comparison value is calculated when the comparison value is greater than the reference value as the representative image . 제4항에 있어서, 5. The method of claim 4, 상기 대표 이미지를 인쇄하는 단계를 더 구비하는 디지털 영상 처리장치의 제어방법.And printing the representative image. 삭제delete 제4항에 있어서, 5. The method of claim 4, 상기 대표 이미지를 추출하는 방법을 선택하는 단계를 더 구비하고, Further comprising the step of selecting a method of extracting the representative image, 상기 대표 이미지를 추출하는 방법이, 프레임수 단위, 인원수 변화, 및 얼굴 각도의 변화 중의 어느 하나가 선택될 수 있는 디지털 영상 처리장치의 제어방법.Wherein the method for extracting the representative image can select any one of a change in the number of frames, a change in the number of people, and a change in a face angle. 제4항에 있어서, 5. The method of claim 4, 선정된 상기 대표 이미지의 개수가 설정된 상기 대표 이미지의 개수와 일치하지 아니한 경우, 선정된 상기 대표 이미지의 개수를 조정하는 단계를 더 구비하는 디지털 영상 처리장치의 제어방법.And adjusting the number of the representative images when the number of the representative images does not match the 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 KR20090039051A (en) 2009-04-22
KR101396345B1 true 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)

Citations (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

Patent Citations (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
KR20090039051A (en) 2009-04-22

Similar Documents

Publication Publication Date Title
KR101387404B1 (en) Apparatus of controlling digital image processing apparatus and method thereof
KR100503039B1 (en) Method to control operation of digital camera for user to easily take an identification photograph
US7492406B2 (en) Method of determining clarity of an image using enlarged portions of the image
KR100547992B1 (en) Digital camera and control method thereof
US7433591B2 (en) Digital image processing apparatus and method of controlling the same to photograph in user set continuous photographing mode
KR101398475B1 (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
KR101510101B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101446774B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101571334B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101396345B1 (en) Apparatus for processing digital image and method for controlling the same
KR101411912B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101396333B1 (en) Apparatus for processing digital image and method controlling thereof
KR101411318B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101364537B1 (en) Apparatus for processing digital image
KR101564417B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20080090174A (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101457412B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101469541B1 (en) Apparatus for processing digital image and method for controlling thereof
KR20100077719A (en) Apparatus for processing digital image and method for controlling thereof
KR101436834B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101288914B1 (en) Method of controlling digital image processing apparatus and apparatus thereof
KR101362769B1 (en) Apparatus for processing digital image and method for controlling thereof
KR101537950B1 (en) Apparatus for processing digital image and method for controlling 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