KR101427662B1 - Photographing apparatus and method of making background image - Google Patents
Photographing apparatus and method of making background image Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/74—Circuits 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
본 발명에 관한 촬상 장치는, 촬영 화상으로부터 다른 외부 장치의 표시 장치의 배경으로 표시하기 위한 배경 화상을 생성하는 촬상 장치로서, 표시 장치의 표시 능력에 관한 표시 장치 정보와, 표시 장치에 표시될 문자나 부가적인 화상을 포함하는 부가 정보에 관한 부가 정보 표시 정보를 취득하는 표시 장치 정보 취득부와, 촬영 화상의 피사체를 인식하는 피사체 인식부와, 피사체의 크기의 정보를 취득하는 피사체 크기 취득부와, 표시 장치 정보 취득부와 피사체 인식부와 피사체 크기 취득부로부터 출력되는 정보에 기초하여 촬영 화상에서 추출된 추출 화상의 크기와 위치를 산출하고, 추출 화상으로부터 배경 화상을 생성하는 배경 화상 생성부를 구비한다.
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.
Description
본 발명은 촬상 장치 및 배경 화상의 생성 방법에 관한 것으로, 보다 상세하게는 디지털 카메라 등의 촬상 장치에서 촬영한 화상을 간편한 방법에 의해 휴대 전화 등의 외부 장치에 구비된 표시 장치의 배경 화상(바탕 화면, 대기 화면)으로 표시할 수 있는 촬상 장치 및 배경 화상의 생성 방법에 관한 것이다.BACKGROUND OF THE
일반적으로 디지털 카메라 등의 촬상 장치는, 휴대 전화에 구비된 촬상 기능에 비해 고화질의 화상을 촬영할 수 있다. 그 때문에 사용자들은 디지털 카메라로 촬영한 고화질의 화상을 휴대 전화 등의 장치에 장착된 디스플레이의 배경 화면(대기 화면, 바탕 화면)으로 설정하기를 원하는 경우가 많다.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
도 1에 나타난 실시예에 관한 디지털 스틸 카메라(100)는 촬상 처리부(110)와, 화상 처리부(120)와, 제어부(130)를 구비한다. The
○ 촬상 처리부(110)The image pickup processing unit (110)
촬상 처리부(110)는 광학 블럭(111)과, 구동부(112)와, 촬상 소자(113)와, 아날로그 처리 회로(114)를 구비한다. 광학 블럭(111)은 피사체를 촬상하기 위한 렌즈군, 조리개 조정 기구, 초점 조정 기구, 줌 기구, 셔터 기구, 플래쉬 기구 등을 내부에 구비한다. 구동부(112)는 제어부(130)로부터 제어 신호를 받아 제어되어, 광학 블럭(111)의 조리개 조정 기구, 줌 기구, 셔터 기구 등을 구동한다.The image
촬상 소자(113)는, 예를 들어 씨씨디(CCD; charge coupled device) 등의 고체 촬상 소자로 이루어질 수 있다. 촬상 소자(113)의 결상 면에는 광학 블럭(111)을 통과한 상이 결상된다. 또한 촬상 소자(113)는 아날로그 처리 회로(114)에 의해 생성되는 타이밍 신호를 받아 결상 면에 결상된 피사체의 상을 촬상 신호로 변환하고, 아날로그 처리 회로(114)에 공급한다.The
아날로그 처리 회로(114)는 촬상 소자(113)로부터의 아날로그 촬상 신호를 디지털 신호로 변환하기 위한 처리를 수행한다. 아날로그 처리 회로(114)는 촬상 소자(113)로부터의 촬상 신호의 자동 이득 조정을 하는 AGC(auto gain control)나, 아날로그 신호를 디지털 신호로 변환하는 AD(analog digital) 변환기, 셔터 조작에 의해 제어부(130)로부터 공급되는 제어 신호에 기초하여 촬상 소자(113)에 대한 화상 취득 타이밍 신호를 생성하는 타이밍 생성기 등을 내부에 구비한다. 아날로그 처리 회로(114)에 의해 출력되는 디지털 촬상 신호는 RAW 화상 데이터이며, 이는 RAM(134) 등의 기억 매체에 기억된다.The
○ 화상 처리부(120)In the
화상 처리부(120)는 아날로그 처리 회로(114)에 의해 출력되어 RAM(134) 등에 기억된 원시(RAW) 화상 데이터를 독출하여 디지털 화상 처리를 하고, JPEG(Joint Photographic Experts Group)나 TIFF(Tagged Image File Format) 등의 화상 포맷으로 변환하여, 변환된 데이터를 메모리 카드(143) 등의 기억 매체에 기록한다. The
화상 처리부(120)는 RAW 화상 데이터에 대해 화소 보간 처리, 감마 보정 처리, 화이트 밸런스 처리 등의 각종 화상 처리를 한다. 또한 화상 처리부(120)는 제어부(130)로부터의 제어 신호에 기초하여 메모리 카드(143) 등에 저장되어 있는 촬영 화상에 대해 크기 변경(리사이즈(resize), 화소수 변경)이나 트리밍(trimming, 크롭; crop) 등의 처리를 한다.The
○ 제어부(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
제어부(130)는 촬상 처리부(110) 및 화상 처리부(120)를 제어하여 디지털 스틸 카메라(100)의 전체를 제어하고, 촬상 처리를 실행한다. 특히, 제어부(130)는 촬상 처리부(110)에 의해 촬상된 화상을 외부 기기의 표시 장치의 배경 화상으로 표시하기 위한 배경 화상을 생성하는 기능(배경 화상 생성 기능)을 갖는다. The
제어부(130)는 여러 가지 방식으로 배경 화상 생성 기능을 실행할 수 있다. 일예로서 메모리 카드(143)등으로부터 독출한 화상 데이터나 촬상 처리부(110)로부터 출력되어 RAM(134) 등에 기억된 JPEG 화상 데이터에 대해, MPU(131)가 ROM(133) 등에 저장되어 있는 프로그램을 실행함으로써 배경 화상의 생성 기능을 실행할 수 있다. 이하, 제어부(130)의 구성에 대해 설명한다.The
MPU(131)는 ROM(133)에 기록된 제어용 프로그램을 실행함으로써 생성되는 각종 제어 신호를 각 부분에 공급하고, 디지털 스틸 카메라(100)의 전체를 제어한다. ROM(133)에는 촬상 처리부(110)나 화상 처리부(120), 표시 제어부(136) 등이나 메모리 카드 인터페이스(137)를 제어하기 위한 프로그램이 저장된다. RAM(134)은 상술한 촬상 처리부(110)의 아날로그 처리 회로(114)로부터 출력되는 RAW 화상 데이터나, 메모리 카드(143)로부터 독출되어 화상 처리부(120)에서 복호화된 JPEG 데이터가 저장되는 기억 매체이다. 또한 RAM(134)은 MPU(131)의 작업 영역으로도 이용된다.The
조작 입력 인터페이스(135)에 접속되는 조작 입력부(141)는 촬영 모드를 바꾸기 위한 모드 변환 키, 줌 조정 키, 노출 조정을 위한 키, 셔터 키, 표시부(142)에 대한 표시 조정 키 등의 복수의 키 들을 포함한다. 조작 입력 인터페이스(135) 는 조작 입력부(141)로부터의 조작 신호를 MPU(131)에 전달한다. MPU(131)는 조작 입력 인터페이스(135)로부터 입력되는 조작 신호에 기초하여 조작 내용을 판별하고, 판별 결과에 따른 제어 처리를 한다.The
표시 제어부(136)에 접속되는 표시부(142)는 TFT(Thin Film Transistor) 등으로 이루어지는 액정 디스플레이등으로 이루어진다. 표시 제어부(136)는 MPU(131)에 의해 제어되고, 화상 처리부(120)에 의해 처리된 화상이나, 메모리 카드(143)로부터 독출된 화상을 표시부(142)에 표시한다.The
메모리 카드 인터페이스(137)는 화상 처리부(120)로부터 출력되는 화상 데이터를 메모리 카드(143)에 기입한다. 또한 메모리 카드 인터페이스(137)는 메모리 카드(143)로부터 화상 데이터를 독출하여 화상 처리부(120) 등에 공급한다. 메모리 카드(143)는 메모리 카드 인터페이스(137)에 의해 독출/기입되는 기억 매체로서, 메모리 카드(143)에는 촬영된 화상 데이터나 화상 데이터에 부수하는 속성 정보 등이 기록된다.The
통신 인터페이스(138)는 외부 기기와의 통신을 하기 위한 인터페이스로서, 네트워크를 통해 외부 기기로부터 송신된 데이터를 수신하거나, 혹은 네트워크를 매개하여 데이터를 송신한다. 외부 입출력 인터페이스(139)는 외부 기기와 디지털 스틸 카메라(100)를 접속하여 데이터의 입출력을 수행하기 위한 인터페이스로서, 디지털 스틸 카메라(100)의 메모리 카드(143)에 저장된 데이터를 외부 기기에 출력하거나, 외부 기기로부터 입력되는 데이터를 디지털 스틸 카메라(100)에 입력하기 위한 인터페이스이다.The
○ 배경 화상 생성 기능의 구성○ 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
도 2에 나타내는 바와 같이, 디지털 스틸 카메라는 본 실시예의 배경 화상 생성 기능을 위해, 표시 장치 정보 취득부(101)와, 피사체 인식부(102)와, 피사체 크기 취득부(103)와, 배경 화상 생성부(104)를 구비한다.2, the digital still camera includes a display device
또한 도 2에 나타내는 배경 화상 생성 기능을 구성하는 각 부분은 ROM(133) 등에 저장되어 MPU(131)에 의해 실행될 수 있는 각 부분의 기능을 실행하는 소프트웨어 프로그램에 의해 실현될 수도 있고, 전용 하드웨어에 의해 실현될 수도 있다. 또한 상기 소프트웨어 프로그램은 상술한 바와 같이 ROM(133) 등의 컴퓨터로 독출 가능한 기억 매체에 기억된 것을 독출함으로써 실행될 수도 있고, 네트워크 등을 매개하여 디지털 스틸 카메라(100)에 제공되는 것일 수도 있다.2 may be realized by a software program stored in the
○ 표시 장치 정보 취득부(101)The display device information acquisition unit (101)
표시 장치 정보 취득부(101)는 본 화상을 편집하는 기능에 의해 생성된 배경 화상을 표시하는 외부 기기의 표시 장치에 관한 정보를 취득하여 배경 화상 생성부(104)에 입력한다. 표시 장치 정보는, 예를 들어, 대상이 되는 외부 기기에 구비된 표시 장치의 표시 능력에 관한 정보(표시 가능한 화상의 크기나 화상의 포맷 등)와, 표시 장치의 배경 화상과 함께 표시되는 시계나 아이콘, 캘린더 등(이하, 부가 정보라고 함)의 표시에 관한 설정 정보(부가 정보 표시 정보)가 포함된다. 부가 정보 표시 정보로는, 예를 들어, 부가 정보의 표시 위치나 표시되는 영역의 크기, 표시색의 정보가 포함된다.The display device
표시 장치 정보 취득부(101)는 이들 표시 장치 정보를 조작 입력부(141)나, 통신 인터페이스(138), 외부 입출력 인터페이스(139) 등에서 취득한다. 예를 들어, 표시 장치 정보 취득부(101)는 조작 입력부(141)로부터 입력되는 표시 장치 정보의 값(표시 장치의 표시 가능한 화상 크기의 수치 등)을 조작 입력 인터페이스(135)를 매개하여 취득할 수도 있다. 또는 ROM(133) 등의 기억 매체에 저장된 설정 정보 중에서 선택된 값이 조작 입력부(141)로부터 입력될 수도 있다.The display device
또한 표시 장치 정보 취득부(101)는 네트워크를 매개하여 외부 기기로부터 송신되는 표시 장치 정보를 통신 인터페이스(138)로부터 취득하거나, 외부 입출력 인터페이스(139)를 매개하여 접속된 외부 기기로부터 입력되는 정보를 취득할 수도 있다.The display device
또한 표시 장치 정보 취득부(101)는 촬상 처리부(110)에 의해 촬영된 화상에서 표시 장치 정보를 취득할 수도 있다. 예를 들어, 디지털 스틸 카메라(100)에 의해 대상이 되는 외부 기기의 표시 장치를 촬영하고, 촬영된 표시 장치의 화상에서 부가 정보의 표시 위치나 표시 영역의 크기, 표시색 등의 정보를 취득할 수도 있다. 이 경우, 표시 장치의 표시 능력에 관한 정보는, 다른 방법, 예를 들어 조작 입력부(141)로부터의 입력 등에 의해 취득된다. 또한 상술한 표시 장치 정보의 취득 방법은 2 이상의 방법을 조합하여 이용될 수도 있다.The display device
○ 피사체 인식부(102)The
피사체 인식부(102)는 배경 화상을 생성하는 대상이 되는 촬영 화상(이하, 대상 화상이라고 함)에 포함되는 주요한 피사체를 자동 인식한다. 인식되는 피사체의 수는 하나일 수도 있고, 복수 개일 수도 있다. 이하에서는, 대상 화상에 포함되는 피사체 중 하나를 주요 피사체로 인식하는 것으로 설명한다. 대상 화상에서 주요 피사체가 인식되면, 주요 피사체가 포함되는 영역의 화상 크기와 대상 화상 중에서의 위치(예를 들어, 주요 피사체가 포함되는 영역의 좌측의 위쪽의 픽셀 좌표)를 구하고, 배경 화상 생성부(104)에 입력한다.The
주요 피사체의 인식은 얼굴 화상의 검출이나 엣지 추출 등에 의한 물체 검출에 의해 이루어진다. 예를 들어, 피사체 인식부(102)는 패턴 매칭 등의 방법에 의해 얼굴 화상을 검출하고, 검출된 얼굴 화상의 영역을 주요 피사체의 영역으로 인식할 수도 있다. 복수의 얼굴 화상이 검출된 경우에는, 화상의 중심에 가장 가까운 위치에 있는 얼굴 화상을 주요 피사체로 하거나, 영역 면적이 가장 큰 얼굴 화상을 주요 피사체로 결정할 수도 있다.Recognition of a main subject is performed by object detection by detecting a face image or edge extraction. For example, the
또한 얼굴 화상이 검출되지 않은 경우, 피사체 인식부(102)는 대상 화상에 대해 엣지 추출 등을 함으로써 물체 검출을 한다. 여기서도, 복수의 물체가 검출된 경우는, 물체의 위치나 면적 등에 의해 주요 피사체를 결정하도록 할 수도 있다. 또한, 상술한 얼굴 화상 검출 처리 및 물체 검출 처리에서는, 종래 주지의 패턴 매칭이나 엣지 추출 등의 화상 처리 기술을 이용할 수 있다.When the face image is not detected, the
○ 피사체 크기 취득부(103)The subject
피사체 크기 취득부(103)는 생성되는 배경 화상에서 차지하는 주요 피사체의 크기(이하, 피사체 크기라고 함)에 관한 정보를 취득하여 배경 화상 생성부(104)에 입력한다. 피사체 크기는, 예를 들어 주요 피사체가 배경 화상 중에 차지하는 비율(예를 들어, 배경 화상의 50%) 등에 의해 지정될 수 있다. 피사체 크기의 정보는 ROM(133) 등의 기억 매체에 미리 기록된 값일 수도 있고, 조작 입력부(141)로부터 입력되는 값일 수도 있다. 또는 ROM(133) 등에 미리 기록된 복수의 값 중 선택된 값일 수도 있다.The subject
○ 배경 화상 생성부(104)The background
배경 화상 생성부(104)는 표시 장치 정보 취득부(101), 피사체 인식부(102) 및 피사체 크기 취득부(103)로부터 입력되는 정보에 기초하여 대상 화상을 편집하여, 외부 기기의 표시 장치에 배경 화상으로 표시하기 위한 화상을 생성한다. 배경 화상 생성부(104)는, 도 2에 나타내는 바와 같이, 추출 위치 산출부(104a)와, 보충 화상 생성부(104b)와, 화상색 변경부(104c)와, 트리밍 처리부(104d)와, 크기 변경부(104e)에 의해 구성된다.The background
○ 추출 위치 산출부(104a)The extraction
추출 위치 산출부(104a)는 표시 장치 정보 취득부(101)에 의해 취득된 표시 장치의 표시 가능 화상 크기와, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기와, 피사체 크기 취득부(103)에 의해 취득된 피사체 크기에 기초하여 촬영 화상에서 배경 화상으로 추출되는 부분의 화상(추출 화상)의 크기 및 위치를 산출한다. 구체적으로는, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기가, 피사체 크기로부터 정해지는 배경 화상 중의 피사체의 크기가 되도록 추출 화상의 크기를 산출한다.The extraction
예를 들어, 표시 장치 정보 취득부(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
따라서 추출 화상 크기는 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
도 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
○ 보충 화상 생성부(104b)The supplementary
도 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
○ 화상색 변경부(104c)The image
화상색 변경부(104c)는 시계나 캘린더 등의 부가 정보의 표시색(문자색 또는 화상색)과, 부가 정보와 겹치는 부분의 추출 화상의 색을 비교하고, 같은 계열색상이나 같은 휘도이면 그 부분의 화상의 색상과 밝기를 보정한다. 예를 들어, 하기의 수학식 2에 기초하여 비교하는 각각의 색상의 YCbCr 표색계의 값의 차를 구하고, 그 값이 소정의 문턱값보다 작으면 양자의 색이 가깝다고 판단하고, 화상색의 보정을 할 수도 있다. 하기의 예에서는, 문턱값=15로 설정한 경우를 나타낸다.The image
(Δ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
도 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
또한 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 영역을 나타내는 사각형을 대상 화상에 중첩하여 표시부(142)에 표시할 때, 화상색 변경부(104c)에 의해 변경되는 부분의 대상 화상의 화상색을 변경하여 표시할 수도 있다. 이로써, 부가 정보로서 표시되는 시계나 캘린더의 문자나 화상을 동시에 대상 화상 상에 중첩하여 표시하고, 배경 화상으로 표시했을 때의 모든 이미지들을 사용자가 식별할 수 있다.When a rectangle representing the area of the extracted image calculated by the extraction
○ 트리밍 처리부(104d)The trimming processing unit (104d)
트리밍 처리부(104d)는 추출 위치 산출부(104a)에 의해 산출된 추출 화상의 크기 및 위치에 따라 대상이 되는 촬영 화상에 대해 트리밍(trimming) 처리를 함으로써 배경 화상으로 사용되는 부분의 화상을 추출한다. 추출된 화상은 보충 화상 생성부(104b)에 의해 생성된 보충 화상과 결합되어 크기 변경부(104e)에 입력된다.The trimming
○ 크기 변경부(104e)In the
크기 변경부(104e)는 트리밍 처리부(104d)에 의해 트리밍 처리되어 보충 화상이 결합된 화상에 대해 크기를 변경하는 처리를 함으로써 최종적인 배경 화상을 생성한다. 크기 변경부(104e)는 표시 장치 정보 취득부(101)에 의해 받은 표시 장치의 표시 가능 화상 크기와 트리밍 처리부(104d)에 의해 출력된 화상의 크기의 비에 기초하여 화상을 축소 또는 확대 처리하여 출력한다.The
■ 배경 화상 생성 처리 방법의 일예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
도 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
이어, 단계 S203에서, 표시 장치 정보 취득부(101)가 조작 입력부(141)로부터의 입력 등에 의해 배경 화상을 표시하는 외부 기기의 표시 장치의 표시 능력에 관한 정보(표시 가능한 화상의 크기나 화상 포맷 등)와, 표시 장치의 배경 화상과 함께 표시되는 시계나 아이콘, 캘린더 등의 표시 위치 및 표시색 등을 취득한다. 취득된 정보는 배경 화상 생성부(104)에 입력된다. 이어, 단계 S205에서 피사체 크기 취득부(103)가 피사체 크기를 취득하여 배경 화상 생성부(104)에 입력한다.Then, in step S203, the display device
이어, 단계 S207에서 피사체 인식부(102)가 대상 화상에 포함되는 주요 피사체를 인식한다. 주요 피사체의 인식은 얼굴 화상의 검출이나, 엣지(edge) 추출 등 에 의한 물체 검출에 의해 이루어질 수 있다. 피사체 인식부(102)는 인식된 주요 피사체를 포함하는 화상 영역의 크기와 대상 화상 내에서의 위치를 구하고, 이를 배경 화상 생성부(104)에 입력한다.Subsequently, in step S207, the
이어, 단계 S209에서 배경 화상 생성부(104)의 추출 위치 산출부(104a)가 표시 장치 정보 취득부(101)에 의해 취득된 표시 장치의 표시 가능 화상 크기와, 피사체 인식부(102)에 의해 인식된 주요 피사체의 영역의 크기와, 피사체 크기 취득부(103)에 의해 취득된 피사체의 크기에 기초하여, 촬영 화상으로부터 배경 화상으로 추출되는 추출 화상의 크기를 산출한다. 구체적인 산출 방법에 대해서는 상술한 바와 같다.Subsequently, in step S209, the extraction
나아가, 단계 S211에서는 추출 위치 산출부(104a)가 단계 S209에서 산출된 추출 화상의 크기와 대상 화상의 크기를 비교하고, 산출된 크기의 추출 화상을 추출할 수 있는지 여부를 판단한다. 추출 화상 크기가 대상 화상 크기보다도 큰 경우에는, 단계 S213으로 천이하고, 대상 화상의 크기에 맞추어 추출 화상 크기를 보정한다.Further, in step S211, the extraction
단계 S211 또는 S213 후에, 단계 S215에서 추출 위치 산출부(104a)가 대상 화상 중에서의 추출 화상의 위치를 결정한다. 이 때, 추출 위치 산출부(104a)는 표시 장치 정보 취득부(101)로부터 입력되는 부가 정보 표시 정보에 기초하여 주요 피사체의 중심이 부가 정보의 표시 위치와 겹치지 않도록 추출 화상의 위치를 결정한다. 예를 들어, 주요 피사체의 화상 영역의 중심이 부가 정보의 표시 영역을 제외한 배경 화상의 영역의 중심과 겹치도록 추출 화상의 위치를 결정한다.After step S211 or S213, the extraction
이어, 단계 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
이어, 도 8을 참조하여 단계 S221에서 화상색 변경부(104c)는 부가 정보가 표시되는 부분의 추출 화상의 색과, 시계나 캘린더 등의 부가 정보의 표시색(문자색 또는 화상색)을 비교하고, 같은 계열색 혹은 같은 휘도인지의 여부를 판단한다. 비교 결과, 양자의 색이 가깝다고 판단되는 경우, 단계 S223으로 천이하고, 부가 정보가 표시되는 부분의 추출 화상의 화상색을 변경한다. 예를 들어, 화상색 변경부(104c)는 해당 부분의 추출 화상의 화상색의 휘도값을 변경할 수도 있다. 또한 추출 화상의 화상색을 변경한 부분과 변경하지 않은 부분과의 경계 부분에, 양자의 색(변경된 화상의 색과, 변경되지 않은 화상의 색)이 점진적으로 변경되는 그라데이션 부분을 형성할 수 있다.8, in step S221, the image
이어, 단계 S225에서 추출 위치 산출부(104a)에서 산출된 추출 화상의 영역을 나타내는 사각형을 대상 화상에 중첩하여 표시부(142)에 표시한다. 이 때, 단계 S223의 화상색 변경부(104c)에 의해 화상색을 변경한 상태에서 대상 화상을 표시할 수도 있다. 이로써, 부가 정보로서 표시되는 시계나 캘린더 등의 문자나 화상을 대상 화상에 중첩하여 표시하여 배경 화상으로 표시했을 때의 이미지를 사용자가 식별할 수 있다. 또한 단계 S219에서 생성된 보충 화상을 동시에 표시할 수도 있다.Subsequently, in step S225, a rectangle representing the area of the extracted image calculated by the extraction
이어, 단계 S227에서는, 추출 화상의 영역을 나타내는 사각형이 표시된 동안, 배경 화상 생성부(104)가 조작 입력부(141)로부터 추출 화상의 위치를 변경하기 위한 입력을 수신할 수 있다. 여기서, 추출 화상의 설정이 확정되도록 입력이 있었던 경우, 단계 S231로 천이한다.Subsequently, in step S227, the background
한편, 단계 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
단계 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
그 후, 단계 S235에서 크기 변경부(104e)가 트리밍 처리부(104d)에 의해 트리밍 처리되고 보충 화상이 결합된 화상에 대해 크기 변경 처리를 수행함으로써 최종적인 배경 화상을 생성한다. 생성된 배경 화상은, 단계 S237에서 메모리카드(143) 등에 저장되거나, 또는 통신 인터페이스(138) 등을 매개하여 외부 기기로 송신된다.Thereafter, in step S235, the
외부 장치에서는, 상술한 바와 같은 단계들을 통해 생성된 화상을 배경 화상(바탕 화면, 대기 화면)으로 간편하게 설정함으로써, 원하는 화상을 배경 화상으로 이용할 수 있다. 이 때, 배경 화상에 표시되는 시계나 캘린더 등의 위치도 고려되므로, 배경 화상에 포함되는 주요한 피사체가 시계나 캘린더 등의 표시로 인해 가려지는 것을 피할 수 있다. 또한 시계나 캘린더 등의 부가 정보가 표시되는 위치의 배경 화상은 부가 정보의 표시색에 맞추어 식별하기 용이하게 조정되었기 때문에, 배경 화상에 맞추어 부가 정보의 표시색의 설정을 변경하기 위한 시간이나 수고를 줄일 수 있다.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)
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)
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)
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 |
-
2007
- 2007-12-27 JP JP2007335731A patent/JP5014110B2/en not_active Expired - Fee Related
-
2008
- 2008-06-03 KR KR1020080052230A patent/KR101427662B1/en active IP Right Grant
Patent Citations (2)
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 |