KR101427662B1 - Photographing apparatus and method of making background image - Google Patents

Photographing apparatus and method of making background image Download PDF

Info

Publication number
KR101427662B1
KR101427662B1 KR1020080052230A KR20080052230A KR101427662B1 KR 101427662 B1 KR101427662 B1 KR 101427662B1 KR 1020080052230 A KR1020080052230 A KR 1020080052230A KR 20080052230 A KR20080052230 A KR 20080052230A KR 101427662 B1 KR101427662 B1 KR 101427662B1
Authority
KR
South Korea
Prior art keywords
image
extracted
color
display
unit
Prior art date
Application number
KR1020080052230A
Other languages
Korean (ko)
Other versions
KR20090071323A (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 삼성전자주식회사
Publication of KR20090071323A publication Critical patent/KR20090071323A/en
Application granted granted Critical
Publication of KR101427662B1 publication Critical patent/KR101427662B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

본 발명에 관한 촬상 장치는, 촬영 화상으로부터 다른 외부 장치의 표시 장치의 배경으로 표시하기 위한 배경 화상을 생성하는 촬상 장치로서, 표시 장치의 표시 능력에 관한 표시 장치 정보와, 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득부와, 촬영 화상의 피사체를 인식하는 피사체 인식부와, 피사체의 크기의 정보를 취득하는 피사체 크기 취득부와, 표시 장치 정보 취득부와 피사체 인식부와 피사체 크기 취득부로부터 출력되는 정보에 기초하여 촬영 화상에서 추출된 추출 화상의 크기와 위치를 산출하고, 추출 화상으로부터 배경 화상을 생성하는 배경 화상 생성부를 구비한다.

Figure R1020080052230

An image pickup apparatus according to the present invention is an image pickup apparatus for generating a background image to be displayed on a background of a display device of another external apparatus from a captured image, the image pickup apparatus comprising display device information relating to display capability of the display device, A display device information acquiring section for acquiring additional information display information relating to additional information including additional images, a subject recognizing section for recognizing a subject of the shot image, a subject size acquiring section for acquiring information on the size of the subject, , And a background image generation unit for calculating the size and position of the extracted image extracted from the photographed image based on the information output from the display device information acquisition unit, the subject recognition unit, and the subject size acquisition unit, and generating a background image from the extracted image do.

Figure R1020080052230

Description

촬상 장치 및 배경 화상의 생성 방법{Photographing apparatus and method of making background image}TECHNICAL FIELD [0001] The present invention relates to an imaging apparatus,

본 발명은 촬상 장치 및 배경 화상의 생성 방법에 관한 것으로, 보다 상세하게는 디지털 카메라 등의 촬상 장치에서 촬영한 화상을 간편한 방법에 의해 휴대 전화 등의 외부 장치에 구비된 표시 장치의 배경 화상(바탕 화면, 대기 화면)으로 표시할 수 있는 촬상 장치 및 배경 화상의 생성 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup apparatus and a background image generation method, and more particularly to an image pickup apparatus and a background image generation method using an image pickup device such as a digital camera, Screen, and idle screen), and a method of generating a background image.

일반적으로 디지털 카메라 등의 촬상 장치는, 휴대 전화에 구비된 촬상 기능에 비해 고화질의 화상을 촬영할 수 있다. 그 때문에 사용자들은 디지털 카메라로 촬영한 고화질의 화상을 휴대 전화 등의 장치에 장착된 디스플레이의 배경 화면(대기 화면, 바탕 화면)으로 설정하기를 원하는 경우가 많다.2. Description of the Related Art Generally, an imaging apparatus such as a digital camera can shoot a high-quality image as compared with an imaging function provided in a mobile phone. Therefore, users often want to set a high-quality image taken with a digital camera as a background screen (a standby screen or a desktop screen) of a display mounted on a device such as a cellular phone.

그렇지만, 디지털 카메라로 촬영한 화상을 휴대 전화로 전송할 때에 시간이 많이 걸리는 문제점이 있었다. 게다가 휴대 전화에서는 취급할 수 있는 화상 데이터의 형식이나 사이즈(파일 크기) 등에 제한이 많으므로, 촬상 장치의 입력된 화상 데이터를 그대로 표시할 수 없다. 최근에는, 촬상 장치가 촬영한 화상을 적절하게 처리하여 휴대 전화 등에 입력하기 위한 기술이 개발되고 있다.However, there is a problem that it takes a long time to transfer an image photographed by a digital camera to a mobile phone. Furthermore, since the format and the size (file size) of the image data that can be handled by the mobile phone are limited, the input image data of the image pickup apparatus can not be displayed as it is. BACKGROUND ART [0002] In recent years, techniques for appropriately processing an image taken by an imaging device and inputting it to a mobile phone have been developed.

예를 들어 일본 특허공개공보 제2004-40601호에는, 디지털 카메라 등으로 촬영된 화상 데이터에 대해 송신처의 서비스(프린트 서비스나 바탕 화면 변환 서비스 등)가 요구하는 화상 조건(파일 형식이나 화상 크기 등)에 기초하여 화상 처리를 행하고, 화상 처리가 이루어진 화상 데이터를 송신처에 송신하는 기술이 개시되어 있다.For example, Japanese Patent Laid-Open Publication No. 2004-40601 discloses an image processing method and an image processing method in which image conditions (file format, image size, and the like) required by a service (a print service, a desktop conversion service, And transmits the image data subjected to the image processing to the transmission destination.

또한 일본 특허공보 제3925051호에는, 화상 표시 장치의 화상을 표시하는 능력에 관한 정보를 수신하고, 화상 데이터를 수신된 화상 표시 능력의 정보에 적합하도록 변환한 후, 변환된 화상 데이터를 화상 표시 장치로 출력하는 디지털 카메라가 개시되어 있다.Japanese Patent Publication No. 3925051 discloses a technique of receiving information on the ability of an image display apparatus to display an image and converting the image data to fit the information of the received image display capability, To a digital camera.

이와 같이 디지털 카메라 등의 촬상 장치에 의해 촬영된 화상을 송신처의 장치의 화상 표시 능력 등에 따라 편집한 후에 송신하는 기술은 종래부터 제안되고 있다. 그렇지만, 디지털 카메라 등에 의해 촬영된 화상을 휴대 전화 등의 바탕 화면에 설정하려는 경우, 상술한 종래 기술에서는 해결할 수 없는 여러 가지 문제가 생긴다.As described above, a technique for transmitting an image captured by an image capture device such as a digital camera after editing it according to the image display capability of the transmission destination apparatus has been conventionally proposed. However, when an image photographed by a digital camera or the like is to be set on a desktop screen of a cellular phone or the like, various problems that can not be solved by the above-described conventional techniques arise.

예를 들어, 통상 디지털 카메라에 구비된 디스플레이는 가로가 긴 화면인데 비해, 휴대 전화의 디스플레이의 대부분은 세로가 긴 화면이다. 따라서 가로 방향으로 길게 촬영된 화상을 세로 방향으로 길게 형성되는 휴대 전화 디스플레이 에 표시하면, 세로 방향으로 여백이 생긴다. 반대로, 디지털 카메라에 의해 촬영된 가로 방향으로 긴 화상을 휴대 전화 디스플레이의 세로 방향의 길이에 맞추어 축소시킨 경우, 양측 단부가 잘려 화상의 가로 방향으로 표시되지 않는 영역이 발생한다. 이것을 조정하여 화상에 포함되는 주요 피사체가 정확히 디스플레이의 중앙에 표시되도록 하는 데는 많은 시간과 노력이 필요하다.For example, in general, a display provided in a digital camera is a horizontally long screen, whereas a majority of a display of a cellular phone is a vertically long screen. Therefore, when an image photographed long in the horizontal direction is displayed on the mobile phone display formed long in the vertical direction, margins are generated in the vertical direction. On the other hand, when the long-side image taken by the digital camera is reduced in accordance with the length in the vertical direction of the display of the mobile phone, both ends are cut off and an area not displayed in the horizontal direction of the image occurs. It takes a lot of time and effort to adjust this to make sure that the main subject included in the image is accurately displayed at the center of the display.

나아가, 이러한 복잡한 작업을 통해 휴대 전화 디스플레이에 표시하기에 적합한 화상으로 변경하고, 변경한 화상을 실제로 표시한 경우에는 디스플레이에 이미 표시된 시계나 캘린더 등이 주요 피사체를 가리는 경우가 있다. 또한 시계나 캘린더의 색상과 그 배경 화상으로 표시된 화상이 같은 계열의 색상인 경우에는, 시계나 캘린더의 표시가 식별하기 어려운 문제점도 있었다.Furthermore, in such a complicated operation, an image suitable for display on a cellular phone display is changed. When a changed image is actually displayed, a clock, calendar, or the like already displayed on the display may cover the main object. Further, when the color of the clock or calendar and the image of the background image are the same series of colors, the display of the clock or calendar is difficult to identify.

본 발명의 목적은 디지털 카메라 등의 촬상 장치에서 촬영한 화상을 간편한 방법에 의해 휴대 전화 등의 외부 장치에 구비된 표시 장치의 배경 화상(바탕 화면, 대기 화면)으로 표시할 수 있는 촬상 장치 및 배경 화상의 생성 방법을 제공하는 데 있다.An object of the present invention is to provide an image capturing apparatus and an image capturing apparatus capable of displaying an image captured by an image capturing apparatus such as a digital camera on a background image (a desktop screen, an idle screen) of a display device provided in an external device such as a cellular phone by a simple method And a method of generating an image.

본 발명은 촬영 화상에 포함된 피사체를 인식하여 피사체의 크기와 표시 장치 정보에 기초하여 화상을 추출하고, 추출된 화상으로부터 배경 화상을 생성하는 촬상 장치와 배경 화상의 생성 방법을 제공한다.The present invention provides an imaging apparatus and a background image generation method for recognizing a subject included in a photographed image, extracting an image based on the size of the subject and display device information, and generating a background image from the extracted image.

본 발명에 관한 촬상 장치는, 촬영된 촬영 화상으로부터 다른 외부 장치에 구비된 표시 장치의 배경으로 표시하기 위한 배경 화상을 생성하는 촬상 장치로서: 표시 장치의 표시 능력에 관한 표시 장치 정보와, 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득부와, 촬영 화상에 포함되는 피사체를 인식하는 피사체 인식부와, 배경 화상에서 피사체가 차지하는 피사체의 크기의 정보를 취득하는 피사체 크기 취득부와, 표시 장치 정보 취득부와 피사체 인식부와 피사체 크기 취득부로부터 출력되는 정보에 기초하여 촬영 화상에서 추출된 추출 화상의 크기와 위치를 산출하고, 추출 화상으로부터 배경 화상을 생성하는 배경 화상 생성부를 구비한다.An image pickup apparatus according to the present invention is an image pickup apparatus for generating a background image to be displayed on the background of a display device provided in another external apparatus from a photographed picked up image, comprising: display apparatus information relating to display capability of the display apparatus; A display unit information acquiring unit that acquires additional information display information related to additional information including a character to be displayed on the display screen and additional information including an additional image, a subject recognizing unit that recognizes a subject included in the shot image, The size and position of the extracted image extracted from the captured image based on the information output from the display device information acquiring unit, the object recognizing unit, and the object size acquiring unit, And a background image generation unit for generating a background image from the image.

이러한 구성에 의해, 촬상 장치에 의해 촬영된 화상을 간편하게 외부 장치의 디스플레이의 배경 화상으로 이용할 수 있다. 또한 촬영된 화상에 포함되는 주요한 피사체를 인식하고 그 위치나 크기 등을 고려하여 배경 화상이 생성되기 때문에, 사용자가 의도하는 배경 화상을 편리하게 얻을 수 있다.With this configuration, the image photographed by the image capturing apparatus can be easily used as the background image of the display of the external apparatus. In addition, a background image is generated by recognizing a main subject included in the photographed image and taking into account the position and size thereof, so that a user can easily obtain a background image.

본 발명에 있어서, 촬상 장치는, 추출 화상의 위치를 촬영 화상에 중첩하여 표시하는 표시부와, 표시부에 표시된 추출 화상의 위치를 변경하는 지시를 입력하는 입력부를 더 구비할 수 있고, 배경 화상 생성부는 입력부의 입력에 의해 변경된 추출 화상의 위치에 기초하여 촬영 화상으로부터 추출 화상을 추출하고, 추출 화상을 이용하여 배경 화상을 생성할 수 있다.In the present invention, the image capturing apparatus may further comprise a display section for displaying the position of the extracted image superimposed on the captured image and an input section for inputting an instruction for changing the position of the extracted image displayed on the display section, It is possible to extract the extracted image from the photographed image based on the position of the extracted image changed by the input of the input unit and generate the background image using the extracted image.

이로써, 사용자는 배경 화상이 생성되기 전에 촬영 화상의 어느 부분이 배경 화상으로 추출되는지 미리 확인할 수 있다. 또한 추출되는 위치가 사용자의 의도와 다른 경우에는, 그 위치를 변경하여 희망하는 배경 화상을 생성할 수 있다.Thereby, the user can confirm in advance which portion of the shot image is extracted as the background image before the background image is generated. If the extracted position is different from the user's intention, the desired background image can be generated by changing the position.

본 발명에 있어서, 부가 정보 표시 정보는, 표시 장치에서 부가 정보가 표시되는 표시 위치와 표시색에 관한 정보를 포함할 수 있고, 배경 화상 생성부는, 부가 정보의 표시 위치에 대응하는 배경 화상의 위치에서 추출 화상의 색과 부가 정보의 표시색이 유사한 경우, 부가 정보 표시 위치에서의 추출 화상의 화상색을 변경하는 화상색 변경부를 더 구비할 수 있다.In the present invention, the additional information display information may include information relating to the display position and the display color at which the additional information is displayed on the display device, and the background image generation unit may generate the background image, And an image color changing unit that changes the image color of the extracted image at the additional information display position when the color of the extracted image is similar to the display color of the additional information.

본 발명에 있어서, 화상색 변경부는 표시 위치에서의 추출 화상의 휘도값을 변경할 수 있다.In the present invention, the image color changing unit can change the luminance value of the extracted image at the display position.

본 발명에 있어서, 화상색 변경부는, 추출 화상에서 화상색이 변경된 부분과 추출 화상에서 화상색이 변경되지 않은 부분과의 경계에, 추출 화상의 변경된 화상색과 변경되지 않은 화상색의 사이에서 색상이 점진적으로 변하는 그라데이션(gradation) 영역을 형성할 수 있다.In the present invention, the image color changing unit may change the color of the extracted image from the changed image color to the unchanged image color at the boundary between the portion where the image color is changed in the extracted image and the portion where the image color is not changed in the extracted image. The gradation region which gradually changes can be formed.

이로써, 생성된 배경 화상을 표시 장치에 표시했을 때, 배경 화상의 위에 표시되는 시계나 캘린더 등이 보기 어려워지는 현상을 방지할 수 있고, 외부 장치에 있어서 시계나 캘린더 등의 부가 정보의 표시색 등의 설정을 변경하는 수고를 줄일 수 있다.This makes it possible to prevent a phenomenon in which a clock or a calendar displayed on the background image becomes hard to see when the generated background image is displayed on the display device, and it is possible to prevent the display color of additional information such as a clock, Can be reduced.

본 발명에 있어서, 표시부에 추출 화상의 위치가 표시될 때, 화상색 변경부에 의해 변경된 추출 화상의 색을 변경하여 표시할 수 있다. 나아가, 부가 정보가 표시되는 위치에 부가 정보를 나타내는 문자나 화상을 중첩하여 표시할 수도 있다. 이로써, 사용자는 표시 장치에 배경 화상을 표시했을 때의 이미지를 사전에 확인할 수 있고, 그로 인해 화상의 위치를 변경할지 여부 등을 판단할 수 있다.In the present invention, when the position of the extracted image is displayed on the display unit, the color of the extracted image changed by the image color changing unit can be changed and displayed. Furthermore, a character or an image representing additional information may be superimposed and displayed at a position where the additional information is displayed. Thereby, the user can confirm the image when the background image is displayed on the display device in advance, and thereby can determine whether to change the position of the image or the like.

본 발명에 있어서, 배경 화상 생성부는, 추출 화상의 영역이 촬영 화상의 영역 밖에 존재하는 부분을 포함하는 경우, 촬영 화상의 영역 밖에 존재하는 부분의 추출 화상을 보충하기 위한 보충 화상을 생성하는 보충 화상 생성부를 구비할 수 있다.In the present invention, when the area of the extracted image includes a portion existing outside the region of the photographed image, the background image generation section generates the supplemental image for supplementing the extracted image of the portion existing outside the region of the photographed image And a generation unit.

본 발명에 있어서, 보충 화상 생성부는, 촬영 화상의 영역 밖에 존재하는 추출 화상의 영역이 접하는 촬영 화상의 경계 부분에 위치하는 추출 화상의 화소의 색에 기초하여 보충 화상을 생성할 수 있다.In the present invention, the replenishment image generation unit can generate the replenishment image based on the color of the pixel of the extracted image located at the boundary portion of the captured image that is touched by the region of the extracted image existing outside the captured image region.

보충 화상은, 촬영 화상의 영역 밖에 존재하는 추출 화상의 영역이 접하는 촬영 화상의 경계 부분에 위치하는 추출 화상의 화소들의 색상 정보를 평균한 색을 가질 수 있다.The supplemental image may have a color obtained by averaging the color information of the pixels of the extracted image located at the boundary of the picked-up image touched by the area of the extracted image existing outside the area of the picked-up image.

또는 보충 화상 생성부는, 촬영 화상의 영역 밖에 존재하는 추출 화상의 영역이 접하는 촬영 화상의 경계 부분에 위치하는 추출 화상의 화소의 색을 점진적으로 변경시켜, 보충 화상을 생성할 수 있다. Or the supplementary image generation section can gradually generate a supplementary image by gradually changing the color of the pixel of the extracted image located at the boundary portion of the picked-up image touched by the region of the extracted image existing outside the region of the picked-

이로써, 예를 들어 주요 피사체가 촬영 화상의 모서리 부분에 위치하는 경우에도, 그 주변의 영역을 보충하여 화상을 생성할 수 있다.Thereby, even when the main subject is positioned at the corner of the photographed image, for example, the area around the main subject can be supplemented to generate an image.

본 발명에 있어서, 촬상 장치는, 추출 화상의 위치를 촬영 화상에 중첩하여 표시하는 표시부를 더 구비할 수 있고, 표시부에 추출 화상의 위치가 표시될 때, 보충 화상 생성부에 의해 생성된 보충 화상을 동시에 표시할 수 있다. 이로써, 보충 화상을 포함한 최종적인 배경 화상의 이미지를 사전에 확인할 수 있다.In the present invention, the image pickup apparatus may further include a display section for superimposing the position of the extracted image on the photographed image for display, and when the position of the extracted image is displayed on the display section, the supplementary image Can be displayed simultaneously. Thereby, the image of the final background image including the supplemental image can be confirmed in advance.

본 발명에 관한 배경 화상의 생성 방법은, 촬상 장치에 의해 촬영된 촬영 화상으로부터 다른 외부 장치에 구비된 표시 장치에 배경으로 표시하기 위한 배경 화상을 생성하는 배경 화상 생성 방법으로서, 표시 장치의 표시 능력에 관한 표시 장치 정보와, 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득 단계와, 촬영 화상에 포함되는 피사체를 인식하는 피사체 인식 단계와, 배경 화상에서 피사체가 차지하는 피사체의 크기의 정보를 취득하는 피사체 크기 취득 단계와, 표시 장치 정보 취득 단계와, 피사체 인식 단계와, 피사체 크기 취득 단계로부터 출력되는 정보에 기초하여 촬영 화상에서 추출된 추출 화상의 크기 및 위치를 산출하고, 추출 화상으로부터 배경 화상을 생성하는 배경 화상 생성 단계를 포함한다.A background image generation method according to the present invention is a background image generation method for generating a background image to be displayed as a background on a display device provided in another external apparatus from a shot image photographed by an image pickup apparatus, A display device information acquiring step of acquiring additional information display information related to additional information including a character to be displayed on the display device and additional information, a subject recognition step of recognizing the subject included in the shot image An object size acquiring step of acquiring information on the size of the object occupied by the object in the background image, a display device information acquiring step, an object recognizing step, and a step of acquiring the object size extracted in the captured image based on the information output from the object size acquiring step Calculates the size and position of the extracted image, generates a background image from the extracted image It comprises a background image generating step.

상술한 바와 같은 본 발명의 촬상 장치 및 배경 화상의 생성 방법은, 디지털 카메라 등의 촬상 장치에 의해 촬영된 화상을 간편한 방법에 의해 휴대 전화 등의 외부 장치에 구비된 표시 장치의 배경 화상으로 표시할 수 있다.The image pickup apparatus and the background image generation method of the present invention as described above can display an image photographed by an image pickup apparatus such as a digital camera as a background image of a display device provided in an external apparatus such as a cellular phone by a simple method .

이하, 첨부 도면의 실시예들을 통하여, 본 발명에 관한 촬상 장치 및 배경 화상의 생성 방법의 구성과 작용을 상세히 설명한다. 본 명세서 및 도면에 있어서, 실질적으로 동일한 기능 구성을 가진 구성 요소에 대해서는 동일한 부호를 첨부함으로써 중복 설명을 생략한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the configuration and operation of an image pickup apparatus and a background image generating method according to the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, elements having substantially the same functional configuration are denoted by the same reference numerals, and redundant description will be omitted.

우선, 본 발명의 일 실시예에 관한 촬상 장치에 대해 설명한다. 본 실시예에 관한 촬상 장치는 촬상된 화상을 휴대 전화 등의 외부 장치에 구비된 표시 장치의 배경 화상(바탕 화면, 대기 화면)으로 간편하게 표시하기 위한 배경 화상 생성 기능을 구비한다. 이하에는, 촬상 장치의 일예로서 디지털 스틸 카메라를 예를 들어 설명하지만, 본 발명은 이러한 예에 한정되는 것은 아니다. 본 발명에 관한 촬상 장치는, 예를 들어 디지털 비디오 카메라 등의 동영상 촬영 기능을 구비한 장치일 수도 있다.First, an image pickup apparatus according to an embodiment of the present invention will be described. The image pickup apparatus according to the present embodiment has a background image generation function for easily displaying a picked-up image on a background image (a desktop screen, an idle screen) of a display device provided in an external apparatus such as a cellular phone. Hereinafter, a digital still camera will be described as an example of an image pickup apparatus, but the present invention is not limited to such an example. The image pickup apparatus according to the present invention may be an apparatus having a moving image photographing function such as a digital video camera.

■ 디지털 스틸 카메라(100)의 하드웨어의 구성 ■ Hardware configuration of digital still camera (100)

도 1은 본 발명의 일 실시예에 관한 촬상 장치로서, 디지털 스틸 카메라(100)의 하드웨어의 구성을 개략적으로 나타내는 블록도이다.1 is a block diagram schematically showing the hardware configuration of a digital still camera 100 as an image pickup apparatus according to an embodiment of the present invention.

도 1에 나타난 실시예에 관한 디지털 스틸 카메라(100)는 촬상 처리부(110)와, 화상 처리부(120)와, 제어부(130)를 구비한다. The digital still camera 100 according to the embodiment shown in FIG. 1 includes an image pickup processing section 110, an image processing section 120, and a control section 130.

○ 촬상 처리부(110)The image pickup processing unit (110)

촬상 처리부(110)는 광학 블럭(111)과, 구동부(112)와, 촬상 소자(113)와, 아날로그 처리 회로(114)를 구비한다. 광학 블럭(111)은 피사체를 촬상하기 위한 렌즈군, 조리개 조정 기구, 초점 조정 기구, 줌 기구, 셔터 기구, 플래쉬 기구 등을 내부에 구비한다. 구동부(112)는 제어부(130)로부터 제어 신호를 받아 제어되어, 광학 블럭(111)의 조리개 조정 기구, 줌 기구, 셔터 기구 등을 구동한다.The image pickup processing section 110 includes an optical block 111, a driving section 112, an image pickup element 113 and an analog processing circuit 114. The optical block 111 includes a lens group for capturing an object, a diaphragm adjustment mechanism, a focus adjustment mechanism, a zoom mechanism, a shutter mechanism, a flash mechanism, and the like. The driving unit 112 receives the control signal from the control unit 130 and is controlled to drive the diaphragm adjustment mechanism of the optical block 111, the zoom mechanism, the shutter mechanism, and the like.

촬상 소자(113)는, 예를 들어 씨씨디(CCD; charge coupled device) 등의 고체 촬상 소자로 이루어질 수 있다. 촬상 소자(113)의 결상 면에는 광학 블럭(111)을 통과한 상이 결상된다. 또한 촬상 소자(113)는 아날로그 처리 회로(114)에 의해 생성되는 타이밍 신호를 받아 결상 면에 결상된 피사체의 상을 촬상 신호로 변환하고, 아날로그 처리 회로(114)에 공급한다.The image pickup device 113 may be a solid-state image pickup device such as a charge coupled device (CCD), for example. An image passing through the optical block 111 is formed on the image-forming surface of the image pickup device 113. The image pickup element 113 receives the timing signal generated by the analog processing circuit 114 and converts the image of the subject image formed on the image plane into an image pickup signal and supplies the image signal to the analog processing circuit 114.

아날로그 처리 회로(114)는 촬상 소자(113)로부터의 아날로그 촬상 신호를 디지털 신호로 변환하기 위한 처리를 수행한다. 아날로그 처리 회로(114)는 촬상 소자(113)로부터의 촬상 신호의 자동 이득 조정을 하는 AGC(auto gain control)나, 아날로그 신호를 디지털 신호로 변환하는 AD(analog digital) 변환기, 셔터 조작에 의해 제어부(130)로부터 공급되는 제어 신호에 기초하여 촬상 소자(113)에 대한 화상 취득 타이밍 신호를 생성하는 타이밍 생성기 등을 내부에 구비한다. 아날로그 처리 회로(114)에 의해 출력되는 디지털 촬상 신호는 RAW 화상 데이터이며, 이는 RAM(134) 등의 기억 매체에 기억된다.The analog processing circuit 114 performs processing for converting an analog imaging signal from the imaging element 113 into a digital signal. The analog processing circuit 114 includes an AGC (auto gain control) for automatic gain adjustment of an image pickup signal from the image pickup element 113, an AD (analog digital) converter for converting an analog signal into a digital signal, And a timing generator for generating an image acquisition timing signal for the image pickup element 113 on the basis of a control signal supplied from the timing controller 130. The digital imaging signal output by the analog processing circuit 114 is RAW image data, which is stored in a storage medium such as the RAM 134. [

○ 화상 처리부(120)In the image processing unit 120,

화상 처리부(120)는 아날로그 처리 회로(114)에 의해 출력되어 RAM(134) 등에 기억된 원시(RAW) 화상 데이터를 독출하여 디지털 화상 처리를 하고, JPEG(Joint Photographic Experts Group)나 TIFF(Tagged Image File Format) 등의 화상 포맷으로 변환하여, 변환된 데이터를 메모리 카드(143) 등의 기억 매체에 기록한다. The image processing unit 120 reads raw RAW image data output by the analog processing circuit 114 and stored in the RAM 134 or the like to perform digital image processing and outputs JPEG (Joint Photographic Experts Group), TIFF File Format), and records the converted data on a storage medium such as the memory card 143. [

화상 처리부(120)는 RAW 화상 데이터에 대해 화소 보간 처리, 감마 보정 처리, 화이트 밸런스 처리 등의 각종 화상 처리를 한다. 또한 화상 처리부(120)는 제어부(130)로부터의 제어 신호에 기초하여 메모리 카드(143) 등에 저장되어 있는 촬영 화상에 대해 크기 변경(리사이즈(resize), 화소수 변경)이나 트리밍(trimming, 크롭; crop) 등의 처리를 한다.The image processing section 120 performs various image processing such as pixel interpolation processing, gamma correction processing, and white balance processing on RAW image data. The image processing unit 120 also resizes (resizes, changes the number of pixels), trimming, and crops the photographed image stored in the memory card 143 or the like based on the control signal from the control unit 130. [ crop and so on.

○ 제어부(130)The control unit (130)

제어부(130)는 도 1에 나타내는 바와 같이, MPU(micro processing unit)(131)와, ROM(read only memory)(133)과, RAM(random access memory)(134)과, 조작 입력부(141)를 접속하기 위한 조작 입력 인터페이스(135)와, 표시부(142)를 접속하기 위한 표시 제어부(136)와, 메모리 카드(143)를 충전하기 위한 메모리 카드 인터페이스(137)와, 통신 인터페이스(138)와, 외부 입출력 인터페이스(139)가 시스템 버스(132)를 매개하여 접속됨으로써 구성된다.1, the control unit 130 includes a micro processing unit (MPU) 131, a read only memory (ROM) 133, a random access memory (RAM) A display control unit 136 for connecting the display unit 142, a memory card interface 137 for charging the memory card 143, a communication interface 138, And an external input / output interface 139 are connected via a system bus 132.

제어부(130)는 촬상 처리부(110) 및 화상 처리부(120)를 제어하여 디지털 스틸 카메라(100)의 전체를 제어하고, 촬상 처리를 실행한다. 특히, 제어부(130)는 촬상 처리부(110)에 의해 촬상된 화상을 외부 기기의 표시 장치의 배경 화상으로 표시하기 위한 배경 화상을 생성하는 기능(배경 화상 생성 기능)을 갖는다. The control unit 130 controls the image pickup processing unit 110 and the image processing unit 120 to control the entire digital still camera 100 and executes image pickup processing. In particular, the control unit 130 has a function (background image generation function) for generating a background image for displaying an image picked up by the image pickup processing unit 110 as a background image of a display device of an external apparatus.

제어부(130)는 여러 가지 방식으로 배경 화상 생성 기능을 실행할 수 있다. 일예로서 메모리 카드(143)등으로부터 독출한 화상 데이터나 촬상 처리부(110)로부터 출력되어 RAM(134) 등에 기억된 JPEG 화상 데이터에 대해, MPU(131)가 ROM(133) 등에 저장되어 있는 프로그램을 실행함으로써 배경 화상의 생성 기능을 실행할 수 있다. 이하, 제어부(130)의 구성에 대해 설명한다.The control unit 130 can execute a background image generation function in various ways. The MPU 131 reads out the program stored in the ROM 133 or the like from the image data read from the memory card 143 or the like or the JPEG image data output from the image pickup processing section 110 and stored in the RAM 134 or the like The background image generation function can be executed. Hereinafter, the configuration of the control unit 130 will be described.

MPU(131)는 ROM(133)에 기록된 제어용 프로그램을 실행함으로써 생성되는 각종 제어 신호를 각 부분에 공급하고, 디지털 스틸 카메라(100)의 전체를 제어한다. ROM(133)에는 촬상 처리부(110)나 화상 처리부(120), 표시 제어부(136) 등이나 메모리 카드 인터페이스(137)를 제어하기 위한 프로그램이 저장된다. RAM(134)은 상술한 촬상 처리부(110)의 아날로그 처리 회로(114)로부터 출력되는 RAW 화상 데이터나, 메모리 카드(143)로부터 독출되어 화상 처리부(120)에서 복호화된 JPEG 데이터가 저장되는 기억 매체이다. 또한 RAM(134)은 MPU(131)의 작업 영역으로도 이용된다.The MPU 131 supplies various control signals generated by executing the control program recorded in the ROM 133 to each part, and controls the whole of the digital still camera 100. The ROM 133 stores a program for controlling the image pickup processing unit 110, the image processing unit 120, the display control unit 136, and the like or the memory card interface 137. The RAM 134 stores the RAW image data output from the analog processing circuit 114 of the image pickup processing unit 110 and the JPEG data read from the memory card 143 and decoded by the image processing unit 120 to be. The RAM 134 is also used as a work area of the MPU 131.

조작 입력 인터페이스(135)에 접속되는 조작 입력부(141)는 촬영 모드를 바꾸기 위한 모드 변환 키, 줌 조정 키, 노출 조정을 위한 키, 셔터 키, 표시부(142)에 대한 표시 조정 키 등의 복수의 키 들을 포함한다. 조작 입력 인터페이스(135) 는 조작 입력부(141)로부터의 조작 신호를 MPU(131)에 전달한다. MPU(131)는 조작 입력 인터페이스(135)로부터 입력되는 조작 신호에 기초하여 조작 내용을 판별하고, 판별 결과에 따른 제어 처리를 한다.The operation input unit 141 connected to the operation input interface 135 is connected to a plurality of operation keys such as a mode conversion key for changing the photographing mode, a zoom adjusting key, a key for exposure adjustment, a shutter key, Keys. The operation input interface 135 transfers an operation signal from the operation input unit 141 to the MPU 131. [ The MPU 131 discriminates the contents of the operation based on the operation signal input from the operation input interface 135, and performs the control processing according to the discrimination result.

표시 제어부(136)에 접속되는 표시부(142)는 TFT(Thin Film Transistor) 등으로 이루어지는 액정 디스플레이등으로 이루어진다. 표시 제어부(136)는 MPU(131)에 의해 제어되고, 화상 처리부(120)에 의해 처리된 화상이나, 메모리 카드(143)로부터 독출된 화상을 표시부(142)에 표시한다.The display unit 142 connected to the display control unit 136 is composed of a liquid crystal display or the like formed of a TFT (Thin Film Transistor) or the like. The display control section 136 displays the image processed by the image processing section 120 and the image read from the memory card 143 on the display section 142 under the control of the MPU 131. [

메모리 카드 인터페이스(137)는 화상 처리부(120)로부터 출력되는 화상 데이터를 메모리 카드(143)에 기입한다. 또한 메모리 카드 인터페이스(137)는 메모리 카드(143)로부터 화상 데이터를 독출하여 화상 처리부(120) 등에 공급한다. 메모리 카드(143)는 메모리 카드 인터페이스(137)에 의해 독출/기입되는 기억 매체로서, 메모리 카드(143)에는 촬영된 화상 데이터나 화상 데이터에 부수하는 속성 정보 등이 기록된다.The memory card interface 137 writes the image data output from the image processing unit 120 to the memory card 143. [ The memory card interface 137 also reads image data from the memory card 143 and supplies the image data to the image processing unit 120 and the like. The memory card 143 is a storage medium read / written by the memory card interface 137. Attached to the memory card 143 are photographed image data and attribute information accompanying the image data.

통신 인터페이스(138)는 외부 기기와의 통신을 하기 위한 인터페이스로서, 네트워크를 통해 외부 기기로부터 송신된 데이터를 수신하거나, 혹은 네트워크를 매개하여 데이터를 송신한다. 외부 입출력 인터페이스(139)는 외부 기기와 디지털 스틸 카메라(100)를 접속하여 데이터의 입출력을 수행하기 위한 인터페이스로서, 디지털 스틸 카메라(100)의 메모리 카드(143)에 저장된 데이터를 외부 기기에 출력하거나, 외부 기기로부터 입력되는 데이터를 디지털 스틸 카메라(100)에 입력하기 위한 인터페이스이다.The communication interface 138 is an interface for communicating with an external device, and receives data transmitted from an external device via a network or transmits data via a network. The external input / output interface 139 is an interface for connecting an external device to the digital still camera 100 to perform data input / output and outputs data stored in the memory card 143 of the digital still camera 100 to an external device And an interface for inputting data input from an external device to the digital still camera 100. [

○ 배경 화상 생성 기능의 구성○ Configuration of background image generation function

도 2는 도 1에 나타난 실시예에 관한 촬상 장치의 배경 화상 생성 기능을 구현하기 위한 개략적인 구성을 나타내는 기능 블록도이다. 도 2를 참조하여 디지털 스틸 카메라(100)의 제어부(130)에 의해 실행되는 배경 화상 생성 기능에 대해 설명한다. 2 is a functional block diagram showing a schematic configuration for implementing a background image generating function of the imaging apparatus according to the embodiment shown in Fig. The background image generation function executed by the control unit 130 of the digital still camera 100 will be described with reference to FIG.

도 2에 나타내는 바와 같이, 디지털 스틸 카메라는 본 실시예의 배경 화상 생성 기능을 위해, 표시 장치 정보 취득부(101)와, 피사체 인식부(102)와, 피사체 크기 취득부(103)와, 배경 화상 생성부(104)를 구비한다.2, the digital still camera includes a display device information acquisition unit 101, a subject recognition unit 102, a subject size acquisition unit 103, a background image And a generating unit 104.

또한 도 2에 나타내는 배경 화상 생성 기능을 구성하는 각 부분은 ROM(133) 등에 저장되어 MPU(131)에 의해 실행될 수 있는 각 부분의 기능을 실행하는 소프트웨어 프로그램에 의해 실현될 수도 있고, 전용 하드웨어에 의해 실현될 수도 있다. 또한 상기 소프트웨어 프로그램은 상술한 바와 같이 ROM(133) 등의 컴퓨터로 독출 가능한 기억 매체에 기억된 것을 독출함으로써 실행될 수도 있고, 네트워크 등을 매개하여 디지털 스틸 카메라(100)에 제공되는 것일 수도 있다.2 may be realized by a software program stored in the ROM 133 or the like and executing the functions of the respective parts that can be executed by the MPU 131, . The software program may be executed by reading the program stored in a computer-readable storage medium such as the ROM 133 as described above, or may be provided to the digital still camera 100 through a network or the like.

○ 표시 장치 정보 취득부(101)The display device information acquisition unit (101)

표시 장치 정보 취득부(101)는 본 화상을 편집하는 기능에 의해 생성된 배경 화상을 표시하는 외부 기기의 표시 장치에 관한 정보를 취득하여 배경 화상 생성부(104)에 입력한다. 표시 장치 정보는, 예를 들어, 대상이 되는 외부 기기에 구비된 표시 장치의 표시 능력에 관한 정보(표시 가능한 화상의 크기나 화상의 포맷 등)와, 표시 장치의 배경 화상과 함께 표시되는 시계나 아이콘, 캘린더 등(이하, 부가 정보라고 함)의 표시에 관한 설정 정보(부가 정보 표시 정보)가 포함된다. 부가 정보 표시 정보로는, 예를 들어, 부가 정보의 표시 위치나 표시되는 영역의 크기, 표시색의 정보가 포함된다.The display device information acquisition unit 101 acquires information about a display device of an external device that displays a background image generated by the function of editing the image and inputs the information to the background image generation unit 104. [ The display device information includes, for example, information about the display capability of the display device provided in the target external device (the size of the displayable image, the format of the image, and the like), a clock displayed together with the background image of the display device Setting information (additional information display information) relating to display of icons, calendars, and the like (hereinafter referred to as additional information). The additional information display information includes, for example, the display position of the additional information, the size of the displayed area, and the display color information.

표시 장치 정보 취득부(101)는 이들 표시 장치 정보를 조작 입력부(141)나, 통신 인터페이스(138), 외부 입출력 인터페이스(139) 등에서 취득한다. 예를 들어, 표시 장치 정보 취득부(101)는 조작 입력부(141)로부터 입력되는 표시 장치 정보의 값(표시 장치의 표시 가능한 화상 크기의 수치 등)을 조작 입력 인터페이스(135)를 매개하여 취득할 수도 있다. 또는 ROM(133) 등의 기억 매체에 저장된 설정 정보 중에서 선택된 값이 조작 입력부(141)로부터 입력될 수도 있다.The display device information acquisition unit 101 acquires the display device information from the operation input unit 141, the communication interface 138, the external input / output interface 139, and the like. For example, the display device information acquisition unit 101 acquires the value of the display device information (the numerical value of the displayable image size of the display device, etc.) input from the operation input unit 141 via the operation input interface 135 It is possible. Or the setting information stored in the storage medium such as the ROM 133 may be input from the operation input unit 141. [

또한 표시 장치 정보 취득부(101)는 네트워크를 매개하여 외부 기기로부터 송신되는 표시 장치 정보를 통신 인터페이스(138)로부터 취득하거나, 외부 입출력 인터페이스(139)를 매개하여 접속된 외부 기기로부터 입력되는 정보를 취득할 수도 있다.The display device information acquiring unit 101 acquires display device information transmitted from an external device via the network from the communication interface 138 or transmits information input from an external device connected via the external input / May be acquired.

또한 표시 장치 정보 취득부(101)는 촬상 처리부(110)에 의해 촬영된 화상에서 표시 장치 정보를 취득할 수도 있다. 예를 들어, 디지털 스틸 카메라(100)에 의해 대상이 되는 외부 기기의 표시 장치를 촬영하고, 촬영된 표시 장치의 화상에서 부가 정보의 표시 위치나 표시 영역의 크기, 표시색 등의 정보를 취득할 수도 있다. 이 경우, 표시 장치의 표시 능력에 관한 정보는, 다른 방법, 예를 들어 조작 입력부(141)로부터의 입력 등에 의해 취득된다. 또한 상술한 표시 장치 정보의 취득 방법은 2 이상의 방법을 조합하여 이용될 수도 있다.The display device information acquisition unit 101 may also acquire the display device information from the image photographed by the imaging processing unit 110. [ For example, the display device of an external device targeted by the digital still camera 100 is photographed, and the information such as the display position of the additional information, the size of the display area, and the display color are acquired from the image of the photographed display device It is possible. In this case, information on the display capability of the display device is acquired by another method, for example, by input from the operation input section 141. [ The above-described method of acquiring the display device information may be used in combination of two or more methods.

○ 피사체 인식부(102)The subject recognition unit 102,

피사체 인식부(102)는 배경 화상을 생성하는 대상이 되는 촬영 화상(이하, 대상 화상이라고 함)에 포함되는 주요한 피사체를 자동 인식한다. 인식되는 피사체의 수는 하나일 수도 있고, 복수 개일 수도 있다. 이하에서는, 대상 화상에 포함되는 피사체 중 하나를 주요 피사체로 인식하는 것으로 설명한다. 대상 화상에서 주요 피사체가 인식되면, 주요 피사체가 포함되는 영역의 화상 크기와 대상 화상 중에서의 위치(예를 들어, 주요 피사체가 포함되는 영역의 좌측의 위쪽의 픽셀 좌표)를 구하고, 배경 화상 생성부(104)에 입력한다.The subject recognition unit 102 automatically recognizes a main subject included in a shot image (hereinafter, referred to as a target image) to be a background image. The number of recognized objects may be one or plural. In the following description, one of the subjects included in the target image is recognized as a main subject. When the main object is recognized in the target image, the image size of the area including the main subject and the position in the target image (for example, the pixel coordinates at the upper left of the area including the main subject) (104).

주요 피사체의 인식은 얼굴 화상의 검출이나 엣지 추출 등에 의한 물체 검출에 의해 이루어진다. 예를 들어, 피사체 인식부(102)는 패턴 매칭 등의 방법에 의해 얼굴 화상을 검출하고, 검출된 얼굴 화상의 영역을 주요 피사체의 영역으로 인식할 수도 있다. 복수의 얼굴 화상이 검출된 경우에는, 화상의 중심에 가장 가까운 위치에 있는 얼굴 화상을 주요 피사체로 하거나, 영역 면적이 가장 큰 얼굴 화상을 주요 피사체로 결정할 수도 있다.Recognition of a main subject is performed by object detection by detecting a face image or edge extraction. For example, the subject recognition unit 102 may detect a face image by a method such as pattern matching, and recognize the detected area of the face image as a main subject area. When a plurality of face images are detected, it is also possible to make a face image at a position closest to the center of the image as a main subject or a face image having the largest area as a main subject.

또한 얼굴 화상이 검출되지 않은 경우, 피사체 인식부(102)는 대상 화상에 대해 엣지 추출 등을 함으로써 물체 검출을 한다. 여기서도, 복수의 물체가 검출된 경우는, 물체의 위치나 면적 등에 의해 주요 피사체를 결정하도록 할 수도 있다. 또한, 상술한 얼굴 화상 검출 처리 및 물체 검출 처리에서는, 종래 주지의 패턴 매칭이나 엣지 추출 등의 화상 처리 기술을 이용할 수 있다.When the face image is not detected, the object recognition unit 102 performs object detection by performing edge extraction or the like on the object image. Here again, when a plurality of objects are detected, the main object may be determined based on the position and the area of the object. In the above-described face image detection processing and object detection processing, image processing techniques such as conventionally known pattern matching and edge extraction can be used.

○ 피사체 크기 취득부(103)The subject size acquisition unit 103

피사체 크기 취득부(103)는 생성되는 배경 화상에서 차지하는 주요 피사체의 크기(이하, 피사체 크기라고 함)에 관한 정보를 취득하여 배경 화상 생성부(104)에 입력한다. 피사체 크기는, 예를 들어 주요 피사체가 배경 화상 중에 차지하는 비율(예를 들어, 배경 화상의 50%) 등에 의해 지정될 수 있다. 피사체 크기의 정보는 ROM(133) 등의 기억 매체에 미리 기록된 값일 수도 있고, 조작 입력부(141)로부터 입력되는 값일 수도 있다. 또는 ROM(133) 등에 미리 기록된 복수의 값 중 선택된 값일 수도 있다.The subject size acquiring unit 103 acquires information about the size of a main subject occupied in the generated background image (hereinafter, referred to as subject size) and inputs the information to the background image generating unit 104. [ The subject size can be specified, for example, by the proportion of the main subject occupying the background image (for example, 50% of the background image). The information on the subject size may be a value recorded in advance on a storage medium such as the ROM 133 or a value input from the operation input unit 141. [ Or a selected value among a plurality of values prestored in the ROM 133 or the like.

○ 배경 화상 생성부(104)The background image generation unit 104,

배경 화상 생성부(104)는 표시 장치 정보 취득부(101), 피사체 인식부(102) 및 피사체 크기 취득부(103)로부터 입력되는 정보에 기초하여 대상 화상을 편집하여, 외부 기기의 표시 장치에 배경 화상으로 표시하기 위한 화상을 생성한다. 배경 화상 생성부(104)는, 도 2에 나타내는 바와 같이, 추출 위치 산출부(104a)와, 보충 화상 생성부(104b)와, 화상색 변경부(104c)와, 트리밍 처리부(104d)와, 크기 변경부(104e)에 의해 구성된다.The background image generating unit 104 edits the target image based on the information input from the display device information acquiring unit 101, the object recognizing unit 102 and the object size acquiring unit 103, Thereby generating an image for display as a background image. 2, the background image generating unit 104 includes an extraction position calculating unit 104a, a supplementary image generating unit 104b, an image color changing unit 104c, a trimming processing unit 104d, And a size changing unit 104e.

○ 추출 위치 산출부(104a)The extraction position calculation unit 104a

추출 위치 산출부(104a)는 표시 장치 정보 취득부(101)에 의해 취득된 표시 장치의 표시 가능 화상 크기와, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기와, 피사체 크기 취득부(103)에 의해 취득된 피사체 크기에 기초하여 촬영 화상에서 배경 화상으로 추출되는 부분의 화상(추출 화상)의 크기 및 위치를 산출한다. 구체적으로는, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기가, 피사체 크기로부터 정해지는 배경 화상 중의 피사체의 크기가 되도록 추출 화상의 크기를 산출한다.The extraction position calculation section 104a calculates the extraction position calculation section 104a based on the displayable image size of the display device acquired by the display device information acquisition section 101, the size of the main object area recognized by the subject recognition section 102, (Extracted image) extracted as a background image from the photographed image based on the subject size acquired by the imaging unit 103. [ Specifically, the size of the extracted image is calculated so that the size of the area of the main subject recognized by the subject recognizing unit 102 becomes the size of the subject in the background image determined from the subject size.

예를 들어, 표시 장치 정보 취득부(101)에 의해 주어진 표시 장치의 표시 가능 화상 크기가 460×800 픽셀이고, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역이 600×800 픽셀이며, 피사체 크기 취득부(103)에 의해 취득된 피사체 크기가 배경 화상의 50%였다고 가정한다. 이 경우, 추출 화상의 전체 화소수는 600×800×1/0.5=960,000 픽셀이다. 이것을 표시 장치의 표시 가능 화상 크기의 종횡비로 배분하면, 하기의 수학식 1에 의해 추출 화상의 크기(x는 세로 방향의 크기, y는 가로 방향의 크기)가 요구된다.For example, assuming that the displayable image size of the display device given by the display device information acquisition section 101 is 460 x 800 pixels, the area of the main subject recognized by the subject recognition section 102 is 600 x 800 pixels, It is assumed that the subject size acquired by the subject size acquiring unit 103 is 50% of the background image. In this case, the total number of pixels of the extracted image is 600 x 800 x 1 / 0.5 = 960,000 pixels. If this is distributed to the aspect ratio of the displayable image size of the display device, the size of the extracted image (x is the size in the vertical direction and y is the size in the horizontal direction) is required by the following expression (1).

Figure 112008039881922-pat00001
Figure 112008039881922-pat00001

따라서 추출 화상 크기는 742×1292 픽셀이 된다.Therefore, the size of the extracted image is 742 x 1292 pixels.

만일, 수학식 1에서 구한 추출 화상 크기보다도 본래의 대상 화상이 작은 경우에는, 대상 화상의 크기에 맞춰서 추출 화상의 크기를 보정한다. 예를 들어, 상기한 예에서, 대상 화상의 세로의 크기(y)가 1000 픽셀인 경우, y방향의 크기가 1000<1292가 되어 대상 화상의 세로의 길이가 추출 화상 크기에 적합하지 않기 때문에, 보정이 필요하다. 이 경우, 예를 들어, 추출 화상의 세로의 길이(y)를 1000 픽셀이라고 하고, 가로의 길이(x)를 그에 맞춰서 이하와 같이 보정한다.If the original target image is smaller than the extracted image size obtained in Equation (1), the size of the extracted image is corrected in accordance with the size of the target image. For example, in the above example, when the vertical size (y) of the target image is 1000 pixels, since the size in the y direction is 1000 < 1292 and the vertical length of the target image is not suitable for the extracted image size, Calibration is required. In this case, for example, the vertical length (y) of the extracted image is 1000 pixels, and the horizontal length (x) is corrected as follows.

x=1000×742/1292≒574x = 1000 x 742/1292? 574

따라서 추출 화상 크기는 574×1000 픽셀이 된다.Therefore, the size of the extracted image is 574 x 1000 pixels.

추출 위치 산출부(104a)는 추출 화상 크기의 산출 후, 추출 화상의 위치를 결정한다. 이 때, 추출 위치 산출부(104a)는 표시 장치 정보 취득부(101)로부터 입력되는 부가 정보 표시 정보에 기초하여 주요 피사체가 부가 정보의 표시 위치와 겹치지 않도록 추출 화상의 위치를 결정한다.The extraction position calculation unit 104a determines the position of the extracted image after calculating the extracted image size. At this time, the extraction position calculation unit 104a determines the position of the extracted image so that the main subject does not overlap the display position of the additional information, based on the additional information display information input from the display device information acquisition unit 101. [

도 3은 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 추출 화상의 위치 보정 처리의 일예를 나타내는 개념도이다.3 is a conceptual diagram showing an example of a position correction process of an extracted image in a background image generating method according to an embodiment of the present invention.

예를 들어, 도 3에 나타내는 바와 같이, 부가 정보인 시계 표시가 배경 화상의 아래쪽에 표시되어 있는 경우, 주요 피사체인 인물의 얼굴의 중심이 배경 화상의 시계 표시 영역을 제외하는 영역의 중심과 겹치도록 추출 화상의 위치를 결정한다.For example, as shown in Fig. 3, when the clock display, which is the additional information, is displayed below the background image, the center of the face of the person as the main subject overlaps the center of the area excluding the clock display area of the background image The position of the extracted image is determined.

도 4는 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 추출 화상의 위치 보정 처리의 일예를 나타내는 개념도이다.4 is a conceptual diagram showing an example of a position correction process of an extracted image in a background image generating method according to an embodiment of the present invention.

한편, 도 4에 나타내는 바와 같이, 부가 정보가 화면 중앙에 있고, 주요 피사체를 부가 정보의 상측 또는 하측(혹은 우측, 좌측) 중 어느 하나에 배치했다고 해도, 반드시 부가 정보와 겹치는 경우에는, 상측 또는 하측(혹은 우측, 좌측) 중 어느 하나를 선택하여 배치할 수도 있다. 예를 들어, 주요 피사체가 반드시 부가 정보의 상측이 되도록 추출 화상의 위치를 결정할 수도 있고, 주요 피사체와 부가 정보의 중첩 상태에 따라 추출 화상의 위치를 결정할 수도 있다.On the other hand, as shown in Fig. 4, even if the additional information is located at the center of the screen and the main subject is placed on either the upper side or the lower side (or the right side or the left side) of the additional information, The lower side (or the right side or the left side) may be selected and arranged. For example, the position of the extracted image may be determined so that the main subject is necessarily the upper side of the additional information, or the position of the extracted image may be determined according to the overlapping state of the main subject and the additional information.

또한 주요 피사체와 부가 정보가 겹쳐 있는 것으로 판정하는 기준에 대해, 예를 들어, 주요 피사체의 영역의 절반 정도 이상과 부가 정보의 표시 영역이 겹쳐져 있는 경우 등을 겹쳐 있는 것으로 규정하고, 그 이하의 경우에는 겹쳐지지 않는다고 판단할 수도 있다.For example, a case where a half or more of the area of the main object overlaps with the display area of the additional information is determined to be overlapped with the criterion that the main object and the additional information overlap, It may be determined that they do not overlap.

또한 추출 위치 산출부(104a)에 의해 추출 화상의 크기 및 위치를 산출한 후, 대상 화상 중의 추출 화상의 영역을 나타내는 사각형을 대상 화상에 중첩하여 표시부(142)에 표시할 수도 있다. 본 발명은 이에 한정되지 않으며 추출 화상의 위치를 나타내기 위하여 추출 화상의 가장자리를 따라 배치되는 기호가 표시될 수도 있다. 나아가, 표시부(142)에 상기 표시되어 있는 동안에 조작 입력부(141)에 구비된 키를 조작함으로써 사용자가 사각형의 위치를 임의로 변경할 수도 있다.Furthermore, after the extraction position calculating section 104a calculates the size and position of the extracted image, a rectangle representing the area of the extracted image in the target image may be superimposed on the target image and displayed on the display section 142. [ The present invention is not limited to this, and a symbol disposed along the edge of the extracted image may be displayed to indicate the position of the extracted image. Further, the user can arbitrarily change the position of the rectangle by operating the key provided on the operation input unit 141 while the display unit 142 is displayed.

○ 보충 화상 생성부(104b)The supplementary image generation unit 104b generates,

도 5는 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 보충 화상의 생성 처리의 일예를 나타내는 개념도이다.5 is a conceptual diagram showing an example of a supplementary image generation process in a background image generation method according to an embodiment of the present invention.

보충 화상 생성부(104b)는, 도 5에 나타내는 바와 같이, 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 위치에 있어서, 추출 화상의 영역이 필요한 배경 화상의 영역에 적합하지 않는 경우에, 부족 부분의 영역을 보충하기 위한 보충 화상을 생성한다. 보충 화상은, 예를 들어, 부족 부분의 영역과의 경계 부분의 대상 화상의 색상 정보를 평균한 색의 화소로 구성되는 화상이 될 수 있다. 또한 대상 화상과의 경계에 위치하는 소정량의 영역을 경계 부분의 색상으로부터 상기한 색상으로 점진적으로 변경하는 그라데이션(gradation)에 의해 보충 화상을 생성할 수도 있다.As shown in Fig. 5, in the case where the extracted image area is not suitable for the area of the background image required at the position of the extracted image calculated by the extraction position calculating unit 104a , A supplementary image for supplementing the region of the deficient portion is generated. The supplemental image can be, for example, an image composed of pixels of a color obtained by averaging the color information of the target image at the boundary portion with the region of the deficient portion. It is also possible to generate the supplementary image by gradation in which a predetermined amount of area located at the boundary with the target image is gradually changed from the color of the boundary portion to the above color.

○ 화상색 변경부(104c)The image color changing unit 104c

화상색 변경부(104c)는 시계나 캘린더 등의 부가 정보의 표시색(문자색 또는 화상색)과, 부가 정보와 겹치는 부분의 추출 화상의 색을 비교하고, 같은 계열색상이나 같은 휘도이면 그 부분의 화상의 색상과 밝기를 보정한다. 예를 들어, 하기의 수학식 2에 기초하여 비교하는 각각의 색상의 YCbCr 표색계의 값의 차를 구하고, 그 값이 소정의 문턱값보다 작으면 양자의 색이 가깝다고 판단하고, 화상색의 보정을 할 수도 있다. 하기의 예에서는, 문턱값=15로 설정한 경우를 나타낸다.The image color changing unit 104c compares the display color (character color or image color) of the additional information such as a clock or calendar with the color of the extracted image of the portion overlapping with the additional information. If the same color or the same luminance, Correct the color and brightness of the image. For example, the difference between the values of the YCbCr color system of each color to be compared based on the following equation (2) is determined. If the value is smaller than the predetermined threshold value, it is determined that the colors of both colors are close to each other. You may. In the following example, the case where the threshold value is set to 15 is shown.

Figure 112008039881922-pat00002
Figure 112008039881922-pat00002

(ΔY, ΔCb 및 ΔCr은 각각 Y, Cb 및 Cr의 값의 차)(DELTA Y, DELTA Cb and DELTA Cr are the difference between the values of Y, Cb and Cr, respectively)

상술한 바와 같이 하여 부가 정보의 표시색과 추출 화상의 색을 비교하고, 비교 결과 양자의 색이 가깝다고 판단된 경우, 화상색 변경부(104c)는 추출 화상의 화상색을 변경한다. 예를 들어, 화상색 변경부(104c)는 추출 화상의 화상색의 YCbCr값의 휘도값(명도)(Y)을 변경함으로써 화상색을 변경할 수 있다. 예를 들어, 부가 정보의 표시색의 휘도값(Y)의 값이 Y≥128이면(YCbCr값이 8비트의 경우), 추출 화상의 화상색의 휘도값(Y')의 값을 Y'=Y-64로 하고, 부가 정보의 표시색의 휘도값(Y)의 값이 Y<128이면, 추출 화상의 화상색의 휘도값(Y')의 값을 Y'=Y+64로 할 수 있다.The display color of the additional information is compared with the color of the extracted image as described above, and when it is determined that the colors of the extracted images are close to each other, the image color changing unit 104c changes the image color of the extracted image. For example, the image color changing section 104c can change the image color by changing the luminance value (brightness) (Y) of the YCbCr value of the image color of the extracted image. For example, when the value of the luminance value Y of the display color of the additional information is Y? 128 (when the YCbCr value is 8 bits), the value of the luminance value Y 'of the image color of the extracted image is Y' Y + 64, and if the value of the luminance value (Y) of the display color of the additional information is Y < 128, the value of the luminance value (Y ') of the image color of the extracted image can be set to Y' = Y + 64 .

도 6은 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 부가 정보의 배경이 되는 화상의 화상색 변경 처리의 일예를 나타내는 개념도이다.6 is a conceptual diagram showing an example of an image color change process of an image serving as a background of additional information in a background image generation method according to an embodiment of the present invention.

나아가, 화상색 변경부(104c)는, 도 6에 나타난 바와 같이, 추출 화상의 화상색을 변경한 부분과 변경하지 않은 부분과의 경계 부분에, 양자의 색(변경된 화상의 색과, 변경되지 않은 화상의 색)이 점진적으로 변경되는 그라데이션 부분을 형성할 수 있다.Further, as shown in Fig. 6, the image color changing unit 104c adds the color of the changed image (the color of the changed image and the color of the changed image to the unchanged portion) The color of the image which has not been changed gradually) can be formed gradually.

또한 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 영역을 나타내는 사각형을 대상 화상에 중첩하여 표시부(142)에 표시할 때, 화상색 변경부(104c)에 의해 변경되는 부분의 대상 화상의 화상색을 변경하여 표시할 수도 있다. 이로써, 부가 정보로서 표시되는 시계나 캘린더의 문자나 화상을 동시에 대상 화상 상에 중첩하여 표시하고, 배경 화상으로 표시했을 때의 모든 이미지들을 사용자가 식별할 수 있다.When a rectangle representing the area of the extracted image calculated by the extraction position calculation unit 104a is superimposed on the target image and displayed on the display unit 142, the position of the target image of the portion changed by the image color changing unit 104c The image color can be changed and displayed. Thereby, characters or images of a clock or calendar displayed as additional information can be simultaneously displayed on the target image, and all the images when displayed as the background image can be identified by the user.

○ 트리밍 처리부(104d)The trimming processing unit (104d)

트리밍 처리부(104d)는 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 크기 및 위치에 따라 대상이 되는 촬영 화상에 대해 트리밍(trimming) 처리를 함으로써 배경 화상으로 사용되는 부분의 화상을 추출한다. 추출된 화상은 보충 화상 생성부(104b)에 의해 생성된 보충 화상과 결합되어 크기 변경부(104e)에 입력된다.The trimming processing unit 104d extracts an image of a portion used as a background image by performing a trimming process on the photographed image as a target according to the size and position of the extracted image calculated by the extraction position calculation unit 104a . The extracted image is combined with the supplementary image generated by the supplementary image generation section 104b and input to the size change section 104e.

○ 크기 변경부(104e)In the size changing unit 104e,

크기 변경부(104e)는 트리밍 처리부(104d)에 의해 트리밍 처리되어 보충 화상이 결합된 화상에 대해 크기를 변경하는 처리를 함으로써 최종적인 배경 화상을 생성한다. 크기 변경부(104e)는 표시 장치 정보 취득부(101)에 의해 받은 표시 장치의 표시 가능 화상 크기와 트리밍 처리부(104d)에 의해 출력된 화상의 크기의 비에 기초하여 화상을 축소 또는 확대 처리하여 출력한다.The size changing unit 104e generates a final background image by performing a process of trimming the trimming process performed by the trimming process unit 104d and changing the size of the image to which the supplemental image is combined. The size changing section 104e reduces or enlarges the image based on the ratio of the displayable image size of the display device received by the display device information obtaining section 101 and the size of the image output by the trimming processing section 104d Output.

■ 배경 화상 생성 처리 방법의 일예An example of a background image generation processing method

도 7 및 도 8은 도 1에 나타난 실시예에 관한 촬상 장치에 의해 실행되는 배경 화상 생성 처리의 흐름을 나타내는 순서도이다. 도 7 및 도 8을 참조하여 본 실시예에 관한 디지털 스틸 카메라(100)에 의해 실행되는 배경 화상 생성 처리 방법의 일예에 대해 설명한다. Figs. 7 and 8 are flowcharts showing the flow of background image generation processing executed by the image pickup apparatus according to the embodiment shown in Fig. 1. Fig. An example of a background image generation processing method executed by the digital still camera 100 according to the present embodiment will be described with reference to Figs. 7 and 8. Fig.

도 7을 참조하면, 단계 S201에서 사용자의 입력에 따라 배경 화상의 생성이 개시된다. 배경 화상의 생성 개시는 대상이 되는 화상이 촬영된 직후이거나 또는 메모리 카드(143) 등의 기억 매체에 저장된 화상을 불러내어 사용자가 처리를 지시한 경우일 수 있다.Referring to Fig. 7, in step S201, generation of a background image is started in response to a user's input. The start of the generation of the background image may be immediately after the target image is photographed or when an image stored in the storage medium such as the memory card 143 is called up and the user instructs the processing.

이어, 단계 S203에서, 표시 장치 정보 취득부(101)가 조작 입력부(141)로부터의 입력 등에 의해 배경 화상을 표시하는 외부 기기의 표시 장치의 표시 능력에 관한 정보(표시 가능한 화상의 크기나 화상 포맷 등)와, 표시 장치의 배경 화상과 함께 표시되는 시계나 아이콘, 캘린더 등의 표시 위치 및 표시색 등을 취득한다. 취득된 정보는 배경 화상 생성부(104)에 입력된다. 이어, 단계 S205에서 피사체 크기 취득부(103)가 피사체 크기를 취득하여 배경 화상 생성부(104)에 입력한다.Then, in step S203, the display device information acquiring unit 101 acquires information on the display capability of the display device of the external device that displays the background image by input from the operation input unit 141 Etc.), a display position and display color of a clock, an icon, a calendar, etc. displayed together with a background image of the display device. The acquired information is input to the background image generation unit 104. [ Subsequently, in step S205, the subject size acquiring unit 103 acquires the subject size and inputs it to the background image generating unit 104. [

이어, 단계 S207에서 피사체 인식부(102)가 대상 화상에 포함되는 주요 피사체를 인식한다. 주요 피사체의 인식은 얼굴 화상의 검출이나, 엣지(edge) 추출 등 에 의한 물체 검출에 의해 이루어질 수 있다. 피사체 인식부(102)는 인식된 주요 피사체를 포함하는 화상 영역의 크기와 대상 화상 내에서의 위치를 구하고, 이를 배경 화상 생성부(104)에 입력한다.Subsequently, in step S207, the subject recognition unit 102 recognizes a main subject included in the target image. Recognition of a main subject can be performed by detecting a face image or by detecting an object by edge extraction or the like. The subject recognition unit 102 obtains the size of the image area including the recognized main subject and the position in the target image, and inputs the position to the background image generation unit 104. [

이어, 단계 S209에서 배경 화상 생성부(104)의 추출 위치 산출부(104a)가 표시 장치 정보 취득부(101)에 의해 취득된 표시 장치의 표시 가능 화상 크기와, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기와, 피사체 크기 취득부(103)에 의해 취득된 피사체의 크기에 기초하여, 촬영 화상으로부터 배경 화상으로 추출되는 추출 화상의 크기를 산출한다. 구체적인 산출 방법에 대해서는 상술한 바와 같다.Subsequently, in step S209, the extraction position calculation unit 104a of the background image generation unit 104 compares the displayable image size of the display device acquired by the display device information acquisition unit 101 with the displayable image size of the display device acquired by the subject recognition unit 102 The size of the extracted image extracted as the background image from the captured image is calculated based on the size of the recognized main subject area and the size of the subject acquired by the subject size acquiring unit 103. [ The concrete calculation method is as described above.

나아가, 단계 S211에서는 추출 위치 산출부(104a)가 단계 S209에서 산출된 추출 화상의 크기와 대상 화상의 크기를 비교하고, 산출된 크기의 추출 화상을 추출할 수 있는지 여부를 판단한다. 추출 화상 크기가 대상 화상 크기보다도 큰 경우에는, 단계 S213으로 천이하고, 대상 화상의 크기에 맞추어 추출 화상 크기를 보정한다.Further, in step S211, the extraction position calculating unit 104a compares the size of the extracted image calculated in step S209 with the size of the target image, and determines whether or not the extracted image of the calculated size can be extracted. If the extracted image size is larger than the target image size, the flow advances to step S213 to correct the extracted image size in accordance with the size of the target image.

단계 S211 또는 S213 후에, 단계 S215에서 추출 위치 산출부(104a)가 대상 화상 중에서의 추출 화상의 위치를 결정한다. 이 때, 추출 위치 산출부(104a)는 표시 장치 정보 취득부(101)로부터 입력되는 부가 정보 표시 정보에 기초하여 주요 피사체의 중심이 부가 정보의 표시 위치와 겹치지 않도록 추출 화상의 위치를 결정한다. 예를 들어, 주요 피사체의 화상 영역의 중심이 부가 정보의 표시 영역을 제외한 배경 화상의 영역의 중심과 겹치도록 추출 화상의 위치를 결정한다.After step S211 or S213, the extraction position calculating unit 104a determines the position of the extracted image in the target image in step S215. At this time, the extraction position calculation unit 104a determines the position of the extracted image so that the center of the main subject does not overlap the display position of the additional information, based on the additional information display information input from the display device information acquisition unit 101. [ For example, the position of the extracted image is determined so that the center of the image area of the main subject overlaps the center of the area of the background image excluding the display area of the additional information.

이어, 단계 S217에서는, 단계 S215에서 결정된 위치에서 단계 S211 또는 S213에서 산출된 크기의 추출 화상을 추출할 수 있는지의 여부를 판정한다. 여기에서, 추출 화상으로 추출되어야 하는 화상의 영역이 대상 화상에서 벗어나는 경우(도 5 참조), 단계 S219로 천이하고 보충 화상 생성부(104b)가 부족 부분의 영역을 보충하기 위한 보충 화상을 생성한다. 보충 화상은 상술한 바와 같이, 예를 들어 부족 부분의 영역과의 경계에 적합한 부분의 대상 화상의 색상 정보를 평균한 색의 화소로 구성되는 화상일 수 있다. 또한 대상 화상과의 경계에 위치하는 소정량의 영역을 경계 부분의 색상으로부터 상기한 색상으로 점진적으로 변경하는 그라데이션(gradation)에 의해 생성할 수도 있다.Then, in step S217, it is determined whether or not the extracted image of the size calculated in step S211 or S213 can be extracted from the position determined in step S215. Here, when the area of the image to be extracted as the extracted image deviates from the target image (see Fig. 5), the process shifts to step S219, and the supplemental image generating unit 104b generates a supplemental image for supplementing the deficient area . As described above, the supplemental image may be, for example, an image composed of pixels of a color obtained by averaging color information of a target image in a portion suitable for a boundary with an area of a deficient portion. Also, a predetermined amount of area located at the boundary with the target image may be generated by gradation that gradually changes from the color of the boundary portion to the above color.

이어, 도 8을 참조하여 단계 S221에서 화상색 변경부(104c)는 부가 정보가 표시되는 부분의 추출 화상의 색과, 시계나 캘린더 등의 부가 정보의 표시색(문자색 또는 화상색)을 비교하고, 같은 계열색 혹은 같은 휘도인지의 여부를 판단한다. 비교 결과, 양자의 색이 가깝다고 판단되는 경우, 단계 S223으로 천이하고, 부가 정보가 표시되는 부분의 추출 화상의 화상색을 변경한다. 예를 들어, 화상색 변경부(104c)는 해당 부분의 추출 화상의 화상색의 휘도값을 변경할 수도 있다. 또한 추출 화상의 화상색을 변경한 부분과 변경하지 않은 부분과의 경계 부분에, 양자의 색(변경된 화상의 색과, 변경되지 않은 화상의 색)이 점진적으로 변경되는 그라데이션 부분을 형성할 수 있다.8, in step S221, the image color changing unit 104c compares the color of the extracted image of the portion in which the additional information is displayed and the display color (character color or image color) of the additional information such as a clock or calendar , It is determined whether or not they are the same series color or the same luminance. When it is determined that the colors of both are close to each other, the process proceeds to step S223, and the image color of the extracted image of the portion where the additional information is displayed is changed. For example, the image color changing unit 104c may change the brightness value of the image color of the extracted image of the corresponding portion. In addition, a gradation portion in which the color of both the image (the color of the changed image and the color of the unchanged image) is gradually changed is formed at the boundary between the portion where the image color of the extracted image is changed and the portion where the image color is not changed .

이어, 단계 S225에서 추출 위치 산출부(104a)에서 산출된 추출 화상의 영역을 나타내는 사각형을 대상 화상에 중첩하여 표시부(142)에 표시한다. 이 때, 단계 S223의 화상색 변경부(104c)에 의해 화상색을 변경한 상태에서 대상 화상을 표시할 수도 있다. 이로써, 부가 정보로서 표시되는 시계나 캘린더 등의 문자나 화상을 대상 화상에 중첩하여 표시하여 배경 화상으로 표시했을 때의 이미지를 사용자가 식별할 수 있다. 또한 단계 S219에서 생성된 보충 화상을 동시에 표시할 수도 있다.Subsequently, in step S225, a rectangle representing the area of the extracted image calculated by the extraction position calculating unit 104a is superimposed on the target image and displayed on the display unit 142. [ At this time, the target image may be displayed with the image color changed by the image color changing unit 104c in step S223. This enables the user to identify an image when characters or images such as clocks or calendars displayed as additional information are superimposed on the target image and displayed as a background image. It is also possible to simultaneously display the supplementary images generated in step S219.

이어, 단계 S227에서는, 추출 화상의 영역을 나타내는 사각형이 표시된 동안, 배경 화상 생성부(104)가 조작 입력부(141)로부터 추출 화상의 위치를 변경하기 위한 입력을 수신할 수 있다. 여기서, 추출 화상의 설정이 확정되도록 입력이 있었던 경우, 단계 S231로 천이한다.Subsequently, in step S227, the background image generating unit 104 may receive an input for changing the position of the extracted image from the operation input unit 141 while a rectangle indicating the area of the extracted image is displayed. Here, when there is an input such that the setting of the extracted image is confirmed, the process transitions to step S231.

한편, 단계 S227에서 조작 입력부(141)로부터 추출 화상의 위치 변경 입력이 있었던 경우, 단계 S229로 천이하고, 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 위치가 변경된다. 나아가, 필요에 따라 보충 화상 생성부(104b) 및 화상색 변경부(104c)는 변경 후의 추출 화상 위치에 기초하여 보충 화상의 생성 및 화상색의 변경을 수행한다. 상기 단계 S227 및 S229의 처리는 단계 S225에서 사용자가 표시된 추출 화상의 위치를 확정하기 위한 입력을 행할 때까지 반복된다.On the other hand, if there is a position change input of the extracted image from the operation input unit 141 in step S227, the process shifts to step S229 and the position of the extracted image calculated by the extraction position calculation unit 104a is changed. Further, the supplementary image generation section 104b and the image color change section 104c perform the generation of the supplementary image and the change of the image color based on the extracted image position after the change, if necessary. The processes of steps S227 and S229 are repeated until the user inputs an input for confirming the position of the extracted image displayed in step S225.

단계 S227에서 추출 화상의 설정을 확정하기 위한 입력을 접수하면, 단계 S231로 천이하고, 확정된 추출 화상의 위치에 기초하여 배경 화상이 생성된다. 구체적으로는 확정된 추출 화상의 위치에 기초하여 본래의 대상 화상에 대한 트리밍 처리가 이루어진다. 나아가, 단계 S233에서 화상색 변경부(104c)에 의해 화상색이 변경되고, 보충 화상 생성부(104b)에 의해 보충 화상이 생성된 경우에는 트리밍 처리 후의 화상과 보충 화상이 결합된다.Upon reception of an input for establishing the setting of the extracted image in step S227, the process transitions to step S231 and a background image is generated based on the determined position of the extracted image. More specifically, trimming processing is performed on the original target image based on the determined position of the extracted image. Furthermore, when the image color is changed by the image color changing unit 104c in step S233, and the supplemental image is generated by the supplemental image generation unit 104b, the image after the trimming process and the supplemental image are combined.

그 후, 단계 S235에서 크기 변경부(104e)가 트리밍 처리부(104d)에 의해 트리밍 처리되고 보충 화상이 결합된 화상에 대해 크기 변경 처리를 수행함으로써 최종적인 배경 화상을 생성한다. 생성된 배경 화상은, 단계 S237에서 메모리카드(143) 등에 저장되거나, 또는 통신 인터페이스(138) 등을 매개하여 외부 기기로 송신된다.Thereafter, in step S235, the size changing unit 104e performs trimming processing by the trimming processing unit 104d and performs a size changing process on the image to which the supplementary image is combined, thereby generating a final background image. The generated background image is stored in the memory card 143 or the like in step S237 or transmitted to an external device via the communication interface 138 or the like.

외부 장치에서는, 상술한 바와 같은 단계들을 통해 생성된 화상을 배경 화상(바탕 화면, 대기 화면)으로 간편하게 설정함으로써, 원하는 화상을 배경 화상으로 이용할 수 있다. 이 때, 배경 화상에 표시되는 시계나 캘린더 등의 위치도 고려되므로, 배경 화상에 포함되는 주요한 피사체가 시계나 캘린더 등의 표시로 인해 가려지는 것을 피할 수 있다. 또한 시계나 캘린더 등의 부가 정보가 표시되는 위치의 배경 화상은 부가 정보의 표시색에 맞추어 식별하기 용이하게 조정되었기 때문에, 배경 화상에 맞추어 부가 정보의 표시색의 설정을 변경하기 위한 시간이나 수고를 줄일 수 있다.In the external apparatus, a desired image can be used as a background image by simply setting an image generated through the above-described steps to a background image (a desktop screen, an idle screen). At this time, since positions of clocks, calenders, and the like displayed on the background image are also taken into consideration, it is possible to avoid that the main subject included in the background image is blocked by the display of the clock or calendar. In addition, since the background image at the position where the additional information such as the clock or the calendar is displayed is easily adjusted in accordance with the display color of the additional information, the time and effort for changing the display color setting of the additional information Can be reduced.

본 발명은 상술한 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Accordingly, the true scope of the present invention should be determined by the appended claims.

도 1은 본 발명의 일 실시예에 관한 촬상 장치의 하드웨어의 구성을 개략적으로 나타내는 블록도이다.1 is a block diagram schematically showing a hardware configuration of an image pickup apparatus according to an embodiment of the present invention.

도 2는 도 1에 나타난 실시예에 관한 촬상 장치의 배경 화상 생성 기능을 구현하기 위한 개략적인 구성을 나타내는 기능 블록도이다.2 is a functional block diagram showing a schematic configuration for implementing a background image generating function of the imaging apparatus according to the embodiment shown in Fig.

도 3은 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 추출 화상의 위치 보정 처리의 일예를 나타내는 개념도이다.3 is a conceptual diagram showing an example of a position correction process of an extracted image in a background image generating method according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 추출 화상의 위치 보정 처리의 일예를 나타내는 개념도이다.4 is a conceptual diagram showing an example of a position correction process of an extracted image in a background image generating method according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 보충 화상의 생성 처리의 일예를 나타내는 개념도이다.5 is a conceptual diagram showing an example of a supplementary image generation process in a background image generation method according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 관한 배경 화상의 생성 방법에서 부가 정보의 배경이 되는 화상의 화상색 변경 처리의 일예를 나타내는 개념도이다.6 is a conceptual diagram showing an example of an image color change process of an image serving as a background of additional information in a background image generation method according to an embodiment of the present invention.

도 7은 도 1에 나타난 실시예에 관한 촬상 장치에 의해 실행되는 배경 화상 생성 처리의 흐름을 나타내는 순서도이다.7 is a flowchart showing the flow of background image generation processing executed by the imaging apparatus according to the embodiment shown in Fig.

도 8은 도 7에 이어서 배경 화상 생성 처리의 흐름을 나타내는 순서도이다. Fig. 8 is a flowchart showing the flow of the background image generation processing following Fig.

* 도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

100: 디지털 스틸 카메라 120: 화상 처리부100: digital still camera 120: image processing unit

101: 표시 장치 정보 취득부 130: 제어부101: Display device information acquisition unit 130:

102: 피사체 인식부 131: MPU102: subject recognition unit 131: MPU

103: 피사체 크기 취득부 132: 시스템 버스103: Subject size acquisition unit 132: System bus

104: 배경 화상 생성부 133: ROM104: background image generation unit 133: ROM

104a: 추출 위치 산출부 134: RAM104a: Extraction position calculating unit 134: RAM

104b: 보충 화상 생성부 135: 조작 입력 인터페이스104b: Replacement image generating section 135: Operation input interface

104c: 화상색 변경부 136: 표시 제어부104c: image color changing section 136: display control section

104d: 트리밍 처리부 137: 메모리 카드 인터페이스104d: trimming processing unit 137: memory card interface

104e: 크기 변경부 138: 통신 인터페이스104e: size changing section 138: communication interface

110: 촬상 처리부 139: 외부 입출력 인터페이스110: image pickup processing section 139: external input / output interface

111: 광학 블럭 141: 조작 입력부111: optical block 141: operation input section

112: 구동부 142: 표시부112: driving part 142:

113: 촬상 소자 143: 메모리 카드113: Imaging element 143: Memory card

114: 아날로그 처리 회로114: analog processing circuit

Claims (12)

촬영된 촬영 화상으로부터 다른 외부 장치에 구비된 표시 장치의 배경으로 표시하기 위한 배경 화상을 생성하는 촬상 장치로서: An image pickup apparatus for generating a background image for display on a background of a display device provided in another external apparatus from a picked-up image, comprising: 상기 표시 장치의 표시 능력에 관한 표시 장치 정보와, 상기 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득부;A display device information acquisition unit that acquires display device information related to the display capability of the display device and additional information display information related to additional information including a character to be displayed on the display device and an additional image; 상기 촬영 화상에 포함되는 피사체를 인식하는 피사체 인식부;A subject recognizing unit for recognizing a subject included in the photographed image; 상기 배경 화상에서 상기 피사체가 차지하는 상기 피사체의 크기의 정보를 취득하는 피사체 크기 취득부; 및A subject size acquiring unit that acquires information on the size of the subject occupied by the subject in the background image; And 상기 표시 장치 정보 취득부와 상기 피사체 인식부와 상기 피사체 크기 취득부로부터 출력되는 정보에 기초하여 상기 촬영 화상에서 추출된 추출 화상의 크기와 위치를 산출하고, 상기 추출 화상으로부터 상기 배경 화상을 생성하는 배경 화상 생성부;를 구비하는, 촬상 장치.The size and position of the extracted image extracted from the captured image is calculated based on the information output from the display device information acquisition unit, the object recognition unit, and the object size acquisition unit, and the background image is generated from the extracted image And a background image generation unit. 제1항에 있어서,The method according to claim 1, 상기 촬상 장치는, The image pickup apparatus includes: 상기 추출 화상의 위치를 상기 촬영 화상에 중첩하여 표시하는 표시부; 및A display unit for superimposing the position of the extracted image on the photographed image and displaying it; And 상기 표시부에 표시된 상기 추출 화상의 위치를 변경하는 지시를 입력하는 입력부;를 더 구비하고,And an input unit for inputting an instruction to change the position of the extracted image displayed on the display unit, 상기 배경 화상 생성부는, 상기 입력부의 입력에 의해 변경된 상기 추출 화상의 위치에 기초하여 상기 촬영 화상으로부터 상기 추출 화상을 추출하고, 상기 추출 화상을 이용하여 상기 배경 화상을 생성하는, 촬상 장치.Wherein the background image generation unit extracts the extracted image from the photographed image based on the position of the extracted image changed by the input of the input unit and generates the background image using the extracted image. 제2항에 있어서,3. The method of claim 2, 상기 부가 정보 표시 정보는, 상기 표시 장치에서 상기 부가 정보가 표시되는 표시 위치와 표시색에 관한 정보를 포함하고, Wherein the additional information display information includes information about a display position and a display color at which the additional information is displayed on the display device, 상기 배경 화상 생성부는, 상기 부가 정보의 상기 표시 위치에 대응하는 상기 배경 화상의 위치에서 상기 추출 화상의 색과 상기 부가 정보의 표시색의 각각의 색상의 YCbCr 표색계의 값의 차이가 하기 수학식을 충족하는 경우, 상기 부가 정보 표시 위치에서의 상기 추출 화상의 화상색을 변경하는 화상색 변경부를 더 구비하는, 촬상 장치.Wherein the background image generation unit calculates the difference between the value of the YCbCr color system of each color of the color of the extracted image and the color of the additional information at the position of the background image corresponding to the display position of the additional information, Further comprising an image color changing section for changing an image color of the extracted image at the additional information display position when the additional information is displayed. [수학식][Mathematical Expression]
Figure 112014050709314-pat00011
Figure 112014050709314-pat00011
(여기에서, ΔY, ΔCb 및 ΔCr의 각각은 휘도값인 Y와, 색차인 Cb 및 Cr의 값의 차이임)(Where each of? Y,? Cb, and? Cr is the difference between the luminance value Y and the color difference Cb and Cr)
제3항에 있어서,The method of claim 3, 상기 화상색 변경부는 상기 표시 위치에서의 상기 추출 화상의 휘도값을 변경하는, 촬상 장치.And the image color changing section changes the luminance value of the extracted image at the display position. 제3항에 있어서,The method of claim 3, 상기 화상색 변경부는, 상기 추출 화상에서 화상색이 변경된 부분과 상기 추출 화상에서 화상색이 변경되지 않은 부분과의 경계에, 상기 추출 화상의 변경된 화상색과 변경되지 않은 화상색의 사이에서 색상이 점진적으로 변하는 그라데이 션(gradation) 영역을 형성하는, 촬상 장치.The image color changing section may change the color between the changed image color of the extracted image and the unchanged image color at the boundary between the portion where the image color is changed in the extracted image and the portion where the image color is not changed in the extracted image Thereby forming gradation regions that gradually change. 제3항 내지 제5항 중 어느 한 항에 있어서,6. The method according to any one of claims 3 to 5, 상기 표시부에 상기 추출 화상의 위치가 표시될 때, 상기 화상색 변경부에 의해 변경된 추출 화상의 색을 변경하여 표시하는, 촬상 장치.And changes the color of the extracted image changed by the image color changing unit when the position of the extracted image is displayed on the display unit. 제1항에 있어서,The method according to claim 1, 상기 배경 화상 생성부는,Wherein the background image generation unit comprises: 상기 추출 화상의 영역이 상기 촬영 화상의 영역 밖에 존재하는 부분을 포함하는 경우, 상기 촬영 화상의 영역 밖에 존재하는 부분의 추출 화상을 보충하기 위한 보충 화상을 생성하는 보충 화상 생성부를 구비하는, 촬상 장치.And a supplemental image generating unit that generates a supplemental image for supplementing an extracted image of a portion existing outside the region of the photographed image when the region of the extracted image includes a portion existing outside the region of the photographed image, . 제7항에 있어서,8. The method of claim 7, 상기 보충 화상 생성부는,Wherein the supplemental image generation unit comprises: 상기 촬영 화상의 영역 밖에 존재하는 상기 추출 화상의 영역이 접하는 상기 촬영 화상의 경계 부분에 위치하는 상기 추출 화상의 화소의 색에 기초하여 상기 보충 화상을 생성하는, 촬상 장치.And generates the supplemental image based on a color of a pixel of the extracted image located at a boundary portion of the captured image that is in contact with an area of the extracted image existing outside the area of the captured image. 제8항에 있어서,9. The method of claim 8, 상기 보충 화상은,The supplemental image is, 상기 촬영 화상의 영역 밖에 존재하는 상기 추출 화상의 영역이 접하는 상기 촬영 화상의 경계 부분에 위치하는 상기 추출 화상의 화소들의 색상 정보를 평균한 색을 갖는, 촬상 장치.And a color obtained by averaging color information of pixels of the extracted image located at a boundary portion of the captured image which is in contact with an area of the extracted image existing outside the area of the captured image. 제8항에 있어서,9. The method of claim 8, 상기 보충 화상 생성부는, Wherein the supplemental image generation unit comprises: 상기 촬영 화상의 영역 밖에 존재하는 상기 추출 화상의 영역이 접하는 상기 촬영 화상의 경계 부분에 위치하는 상기 추출 화상의 화소의 색을 점진적으로 변경시켜, 상기 보충 화상을 생성하는, 촬상 장치.And gradually changes the color of a pixel of the extracted image located at a boundary portion of the captured image that is in contact with an area of the extracted image existing outside the area of the captured image to generate the supplemental image. 제7항 내지 제10항 중 어느 한 항에 있어서,11. The method according to any one of claims 7 to 10, 상기 촬상 장치는, 상기 추출 화상의 위치를 상기 촬영 화상에 중첩하여 표시하는 표시부를 더 구비하고, Wherein the image pickup apparatus further comprises a display section for superimposing the position of the extracted image on the photographed image for display, 상기 표시부에 상기 추출 화상의 위치가 표시될 때, 상기 보충 화상 생성부에 의해 생성된 보충 화상을 동시에 표시하는 것을 특징으로 하는 촬상 장치.Wherein when the position of the extracted image is displayed on the display unit, the supplemental image generated by the supplemental image generation unit is simultaneously displayed. 촬상 장치에 의해 촬영된 촬영 화상으로부터 다른 외부 장치에 구비된 표시 장치에 배경으로 표시하기 위한 배경 화상을 생성하는 배경 화상 생성 방법으로서: A background image generation method for generating a background image to be displayed in a background on a display device provided in another external apparatus from a captured image photographed by an imaging apparatus, 상기 표시 장치의 표시 능력에 관한 표시 장치 정보와, 상기 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득 단계;A display device information acquiring step of acquiring additional information display information on display device information relating to the display capability of the display device and additional information including characters to be displayed on the display device and additional images; 상기 촬영 화상에 포함되는 피사체를 인식하는 피사체 인식 단계;A subject recognition step of recognizing a subject included in the shot image; 상기 배경 화상에서 상기 피사체가 차지하는 상기 피사체의 크기의 정보를 취득하는 피사체 크기 취득 단계;A subject size acquiring step of acquiring information on the size of the subject occupied by the subject in the background image; 상기 표시 장치 정보 취득 단계와, 상기 피사체 인식 단계와, 상기 피사체 크기 취득 단계로부터 출력되는 정보에 기초하여 상기 촬영 화상에서 추출된 추출 화상의 크기 및 위치를 산출하고, 상기 추출 화상으로부터 상기 배경 화상을 생성하는 배경 화상 생성 단계;를 포함하는, 배경 화상의 생성 방법.And the size and position of the extracted image extracted from the captured image based on the information output from the subject size acquiring step, and extracting the background image from the extracted image A background image generation step of generating a background image;
KR1020080052230A 2007-12-27 2008-06-03 Photographing apparatus and method of making background image KR101427662B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007335731A JP5014110B2 (en) 2007-12-27 2007-12-27 Imaging apparatus and background image generation method
JPJP-P-2007-00335731 2007-12-27

Publications (2)

Publication Number Publication Date
KR20090071323A KR20090071323A (en) 2009-07-01
KR101427662B1 true KR101427662B1 (en) 2014-08-07

Family

ID=40962858

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080052230A KR101427662B1 (en) 2007-12-27 2008-06-03 Photographing apparatus and method of making background image

Country Status (2)

Country Link
JP (1) JP5014110B2 (en)
KR (1) KR101427662B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004040601A (en) 2002-07-05 2004-02-05 Fuji Photo Film Co Ltd Digital camera
JP3925051B2 (en) * 2000-07-17 2007-06-06 カシオ計算機株式会社 Digital camera, image display device and image transmission / reception system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004172655A (en) * 2002-11-15 2004-06-17 Fuji Photo Film Co Ltd Image processing apparatus and electronic camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3925051B2 (en) * 2000-07-17 2007-06-06 カシオ計算機株式会社 Digital camera, image display device and image transmission / reception system
JP2004040601A (en) 2002-07-05 2004-02-05 Fuji Photo Film Co Ltd Digital camera

Also Published As

Publication number Publication date
KR20090071323A (en) 2009-07-01
JP5014110B2 (en) 2012-08-29
JP2009159358A (en) 2009-07-16

Similar Documents

Publication Publication Date Title
JP4904243B2 (en) Imaging apparatus and imaging control method
US8477993B2 (en) Image taking apparatus and image taking method
US8823857B2 (en) Image apparatus
US7961228B2 (en) Imaging apparatus and method for controlling exposure by determining backlight situations and detecting a face
US8284264B2 (en) Imaging apparatus, method, and program
JP2006025238A (en) Imaging device
JP2007199311A (en) Image display device and imaging apparatus
JP3927802B2 (en) Image processing device
JP4586707B2 (en) Image processing apparatus, electronic camera, and image processing program
KR101613617B1 (en) Apparatus and method for digital picturing image
US20120075495A1 (en) Electronic camera
JP4632417B2 (en) Imaging apparatus and control method thereof
JP2004212891A (en) Electronic camera
KR101427662B1 (en) Photographing apparatus and method of making background image
JP2009253925A (en) Imaging apparatus and imaging method, and imaging control program
JP2009089083A (en) Age estimation photographing device and age estimation photographing method
JP2001169151A (en) Electronic camera
JP2003348410A (en) Camera for permitting voice input
JP2004208281A (en) Image correction apparatus and imaging unit
JP2009124350A (en) Imaging device, its control method, and program
JP2006174253A (en) Imaging apparatus
JP2010016783A (en) Imaging device
JP5338248B2 (en) Image processing apparatus, electronic camera, and image processing program
JP4808918B2 (en) Imaging device
JP4074883B2 (en) Image processing device

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: 20180727

Year of fee payment: 5