KR20090077491A - Apparatus and method for blurring an image background in digital image processing device - Google Patents

Apparatus and method for blurring an image background in digital image processing device Download PDF

Info

Publication number
KR20090077491A
KR20090077491A KR1020080003477A KR20080003477A KR20090077491A KR 20090077491 A KR20090077491 A KR 20090077491A KR 1020080003477 A KR1020080003477 A KR 1020080003477A KR 20080003477 A KR20080003477 A KR 20080003477A KR 20090077491 A KR20090077491 A KR 20090077491A
Authority
KR
South Korea
Prior art keywords
image
luminance data
generated
flash
background
Prior art date
Application number
KR1020080003477A
Other languages
Korean (ko)
Other versions
KR101378333B1 (en
Inventor
김성준
Original Assignee
삼성디지털이미징 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성디지털이미징 주식회사 filed Critical 삼성디지털이미징 주식회사
Priority to KR1020080003477A priority Critical patent/KR101378333B1/en
Publication of KR20090077491A publication Critical patent/KR20090077491A/en
Application granted granted Critical
Publication of KR101378333B1 publication Critical patent/KR101378333B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • 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/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Abstract

An apparatus and a method for blurring an image background in a digital image processing device are provided to combine brightness data of the first image generated by flash emission with the second image generated by flash off, thereby realizing background blurring effects. A digital signal processor(129) comprises the following units. A brightness data extractor(129-1) extracts brightness data of the first image generated by flash emission. An out-of-focusing effect processor(129-2) combines brightness data of the first image with the second image. The third image to which a background blur effect is applied is generated through the combination. The digital signal processor blurs an area having relatively lower brightness in the second image.

Description

디지털 영상 처리 장치에서 영상의 배경흐림 효과 처리 장치 및 방법{Apparatus and method for blurring an image background in digital image processing device}Apparatus and method for blurring an image background in digital image processing device}

본 발명은 디지털 영상 처리 장치 및 그 제어 방법에 관한 것으로, 상세하게는 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여 배경흐림 효과의 구현이 가능하도록 한 디지털 영상 처리 장치에서 영상의 배경흐림 효과 처리 장치 및 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image processing apparatus and a method of controlling the same. Specifically, a background blur effect is realized by synthesizing luminance data of a first image generated by flash emission and a second image generated by flash off. The present invention relates to an apparatus and a method for processing a background blur effect of an image in a digital image processing apparatus.

현재, 대중화되고 있는 디지털 카메라, 카메라폰, 스마트폰 등의 디지털 영상 처리 장치는 다양한 디지털 소자를 구비하여 디지털화된 데이터를 처리함으로써 아날로그 촬영 장비와는 차별화되는 기능들을 제공하고 있다.Currently, digital image processing apparatuses, such as digital cameras, camera phones, and smart phones, which are becoming popular, have various digital elements and provide functions that are differentiated from analog photographing equipment by processing digitalized data.

가령, 대용량 메모리를 구비함으로써 기존의 필름과는 비교가 어려울 정도의 많은 영상을 저장할 수 있게 되었고, CCD(Charge Coupled Device; 전하결합소자)는 필름을 대체하여 고화소의 영상을 구성함으로써 PC(Personal Computer)와 영상 데이터를 공유하고 영상 처리에 있어서 편의를 제공하고 있다.For example, by having a large-capacity memory, it is possible to store a large amount of images that are difficult to compare with conventional films, and CCD (Charge Coupled Device) is a PC (Personal Computer) by replacing the film to form a high-pixel image ) And share image data and provide convenience in image processing.

또한, 셔터 스피드 및 조리개 수치의 자동 제어 기능, 자동 초점(Auto focus) 기능, 영상 향상 기능, 광량의 자동 조절 기능 등 아날로그 촬영장비보다 많은 기능을 제공하고 있다.In addition, it provides more functions than analog photographing equipment such as automatic control of shutter speed and aperture value, auto focus, image enhancement, and automatic light adjustment.

그러나, 아날로그 촬영장비는 자연적인 광학 재료가 구비되고 수동으로 작동되므로 전문가에 의하여 섬세한 작업이 이루어질 경우 디지털 영상 처리 장치보다 선호되는 경향이 있다.However, since analog imaging equipment is equipped with natural optical materials and is operated manually, it tends to be preferred to digital image processing apparatus when delicate work is performed by a professional.

이러한 단점을 보완하기 위하여 최근에 출시되는 디지털 영상 처리 장치에는 디지털 장치의 장점과 아울러 종래의 아날로그 영상 처리 장치의 고유한 기능도 구현되고 있는 추세이다. 즉, 디지털 장치의 한계를 뛰어넘어 점차 아날로그 장치만이 가지는 장점을 취합하고 다양하고 전문화된 기능을 제공하고 있는 것이다.In order to compensate for these disadvantages, recently released digital image processing apparatuses have tended to implement not only the advantages of digital apparatuses but also unique functions of conventional analog image processing apparatuses. In other words, beyond the limits of digital devices, the advantages of analog devices are gradually gathered and various and specialized functions are provided.

또한, 디지털 영상 처리 장치의 보급화로 인하여 사진 촬영의 취미를 가진 인구가 점차 늘어나고 있으며, 따라서 전문가적인 촬영 기술을 습득한 사용자들도 많아지게 되었다. In addition, due to the widespread use of digital image processing devices, the population with a hobby of photography is gradually increasing, and thus, many users have acquired professional shooting techniques.

그러나, 이러한 디지털 영상 처리 장치는 아직 전문화된 사용자의 요구에 부족한 면을 상당 부분 가지고 있다.However, these digital image processing apparatuses still have a considerable part of the needs of specialized users.

예를 들면, 인물 사진을 촬영하는 경우 대부분 배경흐림(Out of focusing; 아웃포커싱) 효과를 이용하게 되는데, 종래의 디지털 영상 처리 장치를 사용하면 제한된 사이즈의 렌즈 및 CCD로 인하여 그 효과의 표현이 거의 불가능하다고 볼 수 있다.For example, when taking portraits, most people use the Out of Focusing effect. When using a conventional digital image processing apparatus, the expression of the effect is almost impossible due to the limited size lens and CCD. It can be considered impossible.

일반적으로, 배경흐림 효과는 착란원(피사체 영상의 한 점이 렌즈를 통하여 상을 맺었을 때 점이라고 볼 수 있는 크기부터 소정 지름을 가지는 원형점으로 맺 히는데, 그 지름이 커지게 되면 사람의 눈에는 흐릿하게 인지된다. 이때의 지름을 가지는 원형점을 착란원이라 한다)의 크기에 따라 달라지게 되는데, 착란원의 크기는 심도(초점 심도 및 피사계 심도)와 밀접한 관계가 있다. 그러므로, 상기 심도는 착란원과 관계가 있는 디지털 영상 처리 장치의 CCD 크기, 조리개 수치, 렌즈의 초점거리, 피사체와 카메라와의 거리 및 피사체와 배경과의 거리 등의 요인에 따라 달라진다.In general, the background blur effect is formed as a circle having a predetermined diameter from the size of a confusion circle (a point where an image of a subject forms an image through a lens). In this case, the circular point having the diameter is called a confusion circle, and the size of the confusion circle is closely related to the depth (focal depth and depth of field). Therefore, the depth depends on factors such as the CCD size, aperture value, focal length of the lens, the distance between the subject and the camera, and the distance between the subject and the background of the digital image processing apparatus associated with the confusion source.

위에서 설명한 심도를 결정하는 요인 중 피사체와 디지털 영상 처리 장치의 거리를 제외한 이미지 센서, 조리개 수치, 렌즈의 초점 거리는 디지털 영상 처리 장치의 물리적인 사양에 따라 변화가 커지게 되는데, 소형화된 디지털 영상 처리 장치의 특징상 작은 이미지 센서, 작은 구경의 렌즈로 구조상 항상 깊은 심도표현만이 가능하게 되어 주 피사체만 선명하고 배경은 흐리게 나오는 얕은 심도를 원하는 사용자의 요구에 부합할 수 없다.The focal lengths of the image sensor, aperture value, and lens except for the distance between the subject and the digital image processing device among the factors that determine the depth of field are changed according to the physical specifications of the digital image processing device. Due to its small image sensor and small aperture lens, it is possible to express deep depth at all times in structure, so that only the main subject can be clear and the background can not meet the needs of the shallow depth.

또한 광학적인 특성을 위해 큰 크기의 이미지 센서와 렌즈를 채용할 경우 상대적으로 큰 이미지 센서를 생산하기 위한 반도체 공정의 수율과도 관계가 있고, 대구경 렌즈 등의 설계도 필요하기 때문에 비용이 커질 뿐만 아니라 디지털 영상 처리 장치의 크기도 커지게 되어 소형화의 한계가 있는 단점이 있다.In addition, the use of a large size image sensor and lens for optical characteristics is also related to the yield of the semiconductor process for producing a relatively large image sensor, and also requires a large diameter lens, etc. The size of the image processing apparatus is also increased, which has the disadvantage of limitation of miniaturization.

본 발명은 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여 배경흐림 효과의 구현이 가능하도록 한 디지털 영상 처리 장치에서 영상의 배경흐림 효과 처리 장치 및 방법을 제공하는 것을 목적으로 한다. According to the present invention, a background blur effect processing apparatus for a digital image processing apparatus is capable of realizing a background blur effect by combining luminance data of a first image generated by flash emission and a second image generated by flash off. And to provide a method.

본 발명은 디지털 영상 처리 장치로서, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하고, 플래시 오프(off)로 생성된 제2 영상을 생성하고, 상기 제1 영상의 휘도 데이터와 상기 제2 영상을 합성하여 제3 영상을 생성하는 디지털 신호 처리수단을 포함하는 영상의 배경흐림 효과 처리 장치를 제공한다. The present invention provides a digital image processing apparatus, which extracts luminance data of a first image generated by flash emission, generates a second image generated by flash off, and generates the luminance data of the first image and the second image. An apparatus for processing a background blur effect of an image including digital signal processing means for synthesizing an image to generate a third image is provided.

본 발명에 있어서, 상기 디지털 신호 처리수단은, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하는 휘도 데이터 추출부; 및 상기 제1 영상의 휘도 데이터와 상기 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성하는 배경흐림 효과 처리부를 포함할 수 있다. In the present invention, the digital signal processing means, the brightness data extraction unit for extracting the brightness data of the first image generated by flash light emission; And a background blur effect processor configured to generate the third image to which the background blur effect is applied by synthesizing the luminance data of the first image and the second image.

본 발명에 있어서, 상기 디지털 신호 처리수단은, 상기 제2 영상에서 휘도가 상대적으로 높은 영역은 선명하게 표시하고, 상기 제2 영상에서 휘도가 상대적으로 낮은 영역은 흐릿하게 표시할 수 있다. In the present invention, the digital signal processing unit may clearly display a region having a relatively high luminance in the second image, and display a region where the luminance is relatively low in the second image.

본 발명에 있어서, 상기 제1 영상의 휘도 데이터와 상기 제2 영상의 합성은 알파 블렌딩(α-blending) 처리에 의하여 수행될 수 있다. In the present invention, the synthesis of the luminance data of the first image and the second image may be performed by an alpha blending process.

본 발명에 있어서, 상기 제1 영상의 휘도 데이터와 상기 제2 영상의 합성은 로 패스 필터(Low Pass Filter) 처리에 의하여 수행될 수 있다. In the present invention, the synthesis of the luminance data of the first image and the second image may be performed by a low pass filter process.

본 발명에 있어서, 상기 플래시 발광으로 생성된 제1 영상의 휘도 데이터는 룩 업 테이블(look up table)에 저장될 수 있다. In the present invention, luminance data of the first image generated by the flash emission may be stored in a look up table.

다른 측면에 관한 본 발명은, 디지털 영상 처리 장치의 동작 방법으로서, (a) 플래시를 발광시켜 제1 영상을 생성하는 단계; (b) 상기 제1 영상에서 휘도 데이터를 추출 및 저장하는 단계; (c) 플래시 오프(off)로 제2 영상을 생성하는 단계; 및 (d) 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성하는 단계를 포함하는 영상의 배경흐림 효과 처리 방법을 제공한다. According to another aspect of the present invention, a method of operating a digital image processing apparatus includes: (a) generating a first image by emitting a flash; (b) extracting and storing luminance data from the first image; (c) generating a second image by flashing off; And (d) synthesizing the luminance data of the first image and the second image to generate a third image to which the background blur effect is applied.

본 발명에 있어서, 상기 (b) 단계는, In the present invention, step (b) is,

상기 제1 영상에서 휘도 데이터를 추출하여 룩 업 테이블(look up table)에 저장될 수 있다. Luminance data may be extracted from the first image and stored in a look up table.

본 발명에 있어서, 상기 (d) 단계는, 상기 제2 영상에서 휘도가 상대적으로 높은 영역은 선명하게 표시하고, 상기 제2 영상에서 휘도가 상대적으로 낮은 영역은 흐릿하게 표시할 수 있다. In the present invention, the step (d) may clearly display a region having a relatively high luminance in the second image, and display a region where the luminance is relatively low in the second image.

본 발명에 있어서, 상기 (d) 단계는, 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 알파 블렌딩(α-blending) 처리를 수행할 수 있다. In the present invention, the step (d) may be performed by combining the luminance data of the first image and the second image to perform an alpha blending process.

본 발명에 있어서, 상기 (d) 단계는, 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 로 패스 필터(Low Pass Filter) 처리를 수행할 수 있다. In the present invention, the step (d) may perform a low pass filter process by combining the luminance data of the first image and the second image.

이와 같은 본 발명에 의해서, 디지털 영상 처리 장치에서 배경흐림 효과의 구현이 가능해지는 효과를 얻을 수 있다. According to the present invention as described above, it is possible to obtain an effect of enabling the background blur effect in the digital image processing apparatus.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

도 1은 본 발명에 관한 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도 이다.1 is a perspective view showing the front and the top of the digital image processing apparatus according to the present invention.

셔터-릴리즈 버튼(101)은 정해진 시간 동안 CCD나 필름을 빛에 노출시키기 위해 열리고 닫히며, 조리개(미도시)와 연동하여 피사체를 적정하게 노출시켜 CCD에 영상을 기록한다. The shutter-release button 101 opens and closes to expose the CCD or film to light for a predetermined time, and records the image on the CCD by properly exposing the subject in conjunction with an aperture (not shown).

셔터-릴리즈 버튼(101)은 촬영자 입력에 의해 제1 및 제2 영상 촬영 신호를 생성한다. 반셔터 신호로서의 제1 셔터-릴리즈 신호가 입력되면, 디지털 영상 처리 장치는 초점을 잡고 빛의 양을 조절하며, 이때 초점이 맞은 경우 디스플레이부(113)에 녹색 불이 켜지게 된다. 제1 셔터-릴리즈 신호의 입력으로 초점이 잡히고 빛의 양이 조절되면, 비로소 완전셔터 신호로서의 제2 셔터-릴리즈 신호를 입력하여 영상을 촬영한다.The shutter release button 101 generates the first and second image capturing signals by a photographer input. When the first shutter-release signal as the half-shutter signal is input, the digital image processing apparatus focuses and adjusts the amount of light, and when the focus is achieved, the green light is turned on in the display 113. When the focus is achieved by the input of the first shutter release signal and the amount of light is adjusted, the second shutter release signal as a full shutter signal is input to capture an image.

전원 버튼(103)은 디지털 영상 처리 장치에 전원을 공급하여 동작시키기 위해 입력된다.The power button 103 is input to supply power to and operate the digital image processing apparatus.

플래시(105)는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 것으로 플래시 모드에는 자동플래시, 강제발광, 발광금지, 적목감소, 슬 로 싱크로 등이 있다. The flash 105 brightens the bright light instantly when shooting in a dark place. The flash mode includes auto flash, forced light emission, flash off, red-eye reduction, and slow synchro.

보조광(107)은 광량이 부족하거나 야간 촬영 시에 디지털 영상 처리 장치가 자동으로 초점을 빠르고 정확하게 잡을 수 있도록 피사체에 광을 공급한다.The auxiliary light 107 supplies light to the subject so that the digital image processing apparatus automatically focuses quickly and accurately when the amount of light is insufficient or at night.

렌즈부(109)는 외부 광원으로부터 빛을 받아 영상을 처리한다. The lens unit 109 receives light from an external light source and processes an image.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도로서, 광각-줌 버튼(111w), 망원-줌 버튼(111t), 디스플레이부(113) 및 터치센서 또는 접점식 스위치가 구비된 입력 버튼들(B1~B14)(이하 버튼들(B1~B14)이라 표기함)을 구비한다.FIG. 2 is a rear view of the rear surface of the digital image processing apparatus shown in FIG. 1, wherein the wide-angle zoom button 111w, the telephoto-zoom button 111t, the display unit 113, and a touch sensor or a contact switch are installed. The provided input buttons B1 to B14 (hereinafter referred to as buttons B1 to B14) are provided.

광각-줌 버튼(111w) 또는 망원-줌 버튼(111t)은 입력에 따라 화각이 넓어지거나, 화각이 좁아지는데, 특히, 선택된 노출영역의 크기를 변경시키고자 할 때 입력한다. 광각-줌 버튼(111w)이 입력되면, 선택된 노출영역의 크기가 작아지고, 망원-줌 버튼(111t)이 입력되면, 선택된 노출영역의 크기가 커진다. The wide-angle zoom button 111w or the tele-zoom button 111t increases the angle of view or narrows the angle of view according to an input, particularly when the size of the selected exposure area is to be changed. When the wide-zoom button 111w is input, the size of the selected exposure area is reduced, and when the tele-zoom button 111t is input, the size of the selected exposure area is increased.

버튼들(B1~B14)은 디스플레이부(113)의 가로 열 및 세로 열에 구비된다. 디스플레이부(113)의 가로 열 및 세로 열에 구비된 버튼들(B1~B14)은 터치 센서(도시되지 않음) 또는 접점식 스위치(도시되지 않음)가 구비되어 있다.The buttons B1 to B14 are provided in the horizontal column and the vertical column of the display unit 113. The buttons B1 to B14 provided in the horizontal and vertical columns of the display 113 are provided with a touch sensor (not shown) or a contact switch (not shown).

즉, 버튼들(B1~B14)에는 터치 센서가 구비되어 가로 열의 버튼들(B1~B7) 또는 세로 열의 버튼들(B8~B14)을 터치한 상태에서 상/하/좌/우로 이동하여 주메뉴 항목 중 임의의 값(예를 들어, 컬러 또는 밝기)을 선택하거나, 주메뉴 아이콘에 포함된 하위메뉴 아이콘을 활성화시킬 수 있다.That is, the buttons B1 to B14 are provided with a touch sensor and move up / down / left / right in a state where the buttons B1 to B7 in the horizontal row or the buttons B8 to B14 in the vertical row are touched. Any value of the item (eg, color or brightness) may be selected or a submenu icon included in the main menu icon may be activated.

또한 버튼틀(B1~B14)에는 접점식 스위치가 구비되어 있어, 주메뉴 아이콘 및 하위메뉴 아이콘을 직접 선택하여 해당 기능을 실행시킬 수 있다. 터치 센서는 접점식 스위치 입력에 비해 상대적으로 약한 터치만을 요구하지만, 접점식 스위치 입력은 터치 센서 입력에 비해 상대적으로 강한 터치를 요구한다. In addition, the button frame (B1 ~ B14) is provided with a contact switch, it is possible to directly select the main menu icon and sub-menu icon to execute the corresponding function. The touch sensor requires only a weak touch relative to the contact switch input, but the contact switch input requires a relatively strong touch compared to the touch sensor input.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 보이는 블록도로서, 디스플레이부(113), 사용자 입력부(121), 촬상부(123), 영상 처리부(125), 저장부(127) 및 디지털 신호 처리부(129)를 포함한다.3 is a block diagram showing the configuration of the digital image processing apparatus illustrated in FIGS. 1 and 2, wherein the display unit 113, the user input unit 121, the imaging unit 123, the image processing unit 125, and the storage unit ( 127 and a digital signal processor 129.

사용자 입력부(121)는 정해진 시간 동안 CCD나 필름을 빛에 노출시키기 위해 열리고 닫히는 셔터-릴리즈 버튼(101), 전원을 공급하기 위해 입력하는 전원 버튼(103), 입력에 따라 화각을 넓어지게 하거나, 화각을 좁아지게 하는 광각-줌 버튼(111w) 및 망원-줌 버튼(111t)과, 문자 또는 메뉴 설정을 위해 디스플레이부(113) 주변의 가로 및 세로열에 구비된 터치센서 또는 접점식 스위치가 구비된 버튼들(B1~B14)이 있다.The user input unit 121 may open and close the shutter-release button 101 to expose the CCD or film to light for a predetermined time, the power button 103 to input power, and widen the angle of view according to the input, Wide-Zoom button (111w) and Tele-Zoom button (111t) for narrowing the angle of view, and a touch sensor or contact switch provided in the horizontal and vertical columns around the display unit 113 for text or menu settings There are buttons B1 to B14.

촬상부(123)는 도면에 도시되지 않은 셔터, 렌즈부, 조리개, CCD(Charge Coupled Device) 및 ADC(analog-to-digital converter)를 포함한다. 셔터는 조리개와 함께 노광하는 빛의 양을 조절하는 기구이다. 렌즈부는 외부 광원으로부터 빛을 받아 영상을 처리한다. 이때, 조리개는 개폐 정도에 따라 입사되는 빛의 양(광량)을 조절한다. 조리개의 개폐 정도는 디지털 신호 처리부(129)에 의해 제어된다.The imaging unit 123 includes a shutter, a lens unit, an aperture, a charge coupled device (CCD), and an analog-to-digital converter (ADC), which are not shown in the figure. The shutter is a mechanism for adjusting the amount of light exposed together with the aperture. The lens unit receives light from an external light source and processes an image. At this time, the iris adjusts the amount of light incident (light quantity) according to the degree of opening and closing. The opening and closing degree of the iris is controlled by the digital signal processing unit 129.

CCD는 렌즈부를 통하여 입력되는 광량을 축적하고 그 축적된 광량에 따라 렌즈부에서 촬상된 영상을 수직 동기신호에 맞추어 출력한다. 디지털 영상 처리 장치의 영상 획득은 피사체로부터 반사되어 나오는 빛을 전기적인 신호로 변환시켜 주 는 CCD에 의해 이루어진다. CCD를 이용하여 컬러 영상을 얻기 위해서는 컬러 필터를 필요로 하며, 대부분 CFA(Color filter array) 라는 필터(미도시)를 채용하고 있다. CFA는 한 픽셀마다 한 가지 컬러를 나타내는 빛만을 통과시키며 규칙적으로 배열된 구조를 가지고 있으며, 배열 구조에 따라 여러 가지 형태를 가지고 있다. ADC는 CCD로부터 출력되는 아날로그 영상신호를 디지털 신호로 변환한다.The CCD accumulates the amount of light input through the lens unit and outputs an image captured by the lens unit in accordance with the accumulated light amount in accordance with the vertical synchronization signal. Image acquisition of the digital image processing apparatus is performed by a CCD that converts light reflected from a subject into an electrical signal. In order to obtain a color image using a CCD, a color filter is required, and most of them employ a filter (not shown) called a color filter array (CFA). CFA has a structure arranged regularly by passing only one color light per pixel, and has various shapes according to the arrangement structure. The ADC converts an analog video signal output from the CCD into a digital signal.

영상 처리부(125)는 디지털 변환된 RAW 데이터를 디스플레이 가능하도록 신호처리 한다. 영상 처리부(125)는 온도변화에 만감한 CCD 및 CFA 필터에서 발생하는 암 전류에 의한 블랙레벨(Black level)을 제거한다. 영상 처리부(125)는 인간 시각의 비선형성에 맞추어 정보를 부호화하는 감마 보정을 수행한다. 영상 처리부(125)는 감마 보정된 소정 데이터의 RGRG라인 및 GBGB 라인으로 구현된 베이어 패턴을 RGB 라인으로 보간하는 CFA 보간을 수행한다. 영상 처리부(125)는 보간된 RGB 신호를 YUV 신호로 변환하고, 고 대역 필터에 의해 Y 신호를 필터링 하여 영상을 뚜렷하게 처리하는 에지 보상과, 표준 컬러 좌표계를 이용하여 U, V 신호의 컬러 값을 정정하는 컬러 정정을 수행하며, 이들의 노이즈를 제거한다. 영상 처리부(125)는 노이즈가 제거된 Y, U, V 신호를 압축 및 신호 처리하여 JPEG 파일을 생성하고, 생성된 JPEG 파일은 디스플레이부(23)에 디스플레이 되고, 저장부(127)에 저장된다. 이와 같은 영상 처리부(125)의 모든 동작은 디지털 신호 처리부(129)의 제어 하에 동작한다.The image processor 125 performs signal processing to display the digitally converted RAW data. The image processor 125 removes the black level due to the dark current generated by the CCD and the CFA filter that are sensitive to the temperature change. The image processor 125 performs gamma correction for encoding information according to nonlinearity of human vision. The image processor 125 performs CFA interpolation to interpolate the Bayer pattern implemented by the RGRG line and the GBGB line of the gamma corrected predetermined data into the RGB line. The image processing unit 125 converts the interpolated RGB signal into a YUV signal, sharpens the image by filtering the Y signal by a high band filter, and uses the standard color coordinate system to adjust the color values of the U and V signals. Perform color correction to correct and remove their noise. The image processor 125 compresses and signals the Y, U, and V signals from which the noise is removed to generate a JPEG file, and the generated JPEG file is displayed on the display unit 23 and stored in the storage unit 127. . All of the operations of the image processor 125 operate under the control of the digital signal processor 129.

디지털 신호 처리부(129)는 플래시 발광으로 생성된 제1 영상의 휘도 데이터 를 추출하고, 플래시 오프(off)로 생성된 제2 영상을 생성하고, 상기 제1 영상의 휘도 데이터와 상기 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성하도록 제어한다. The digital signal processor 129 extracts luminance data of the first image generated by flash emission, generates a second image generated by flash off, and generates the luminance data of the first image and the second image. Synthesis is controlled to generate a third image to which the background blur effect is applied.

상세히, 인물 사진을 촬영하는 경우 대부분 배경흐림(Out of focusing; 아웃포커싱) 효과를 이용하게 되는데, 종래의 디지털 영상 처리 장치를 사용하면 제한된 사이즈의 렌즈 및 CCD로 인하여 그 효과의 표현이 거의 불가능하다고 볼 수 있다. 일반적으로, 배경흐림 효과는 착란원의 크기에 따라 달라지게 되는데, 착란원의 크기는 심도와 밀접한 관계가 있다. 그러므로, 상기 심도는 착란원과 관계가 있는 디지털 영상 처리 장치의 CCD 크기, 조리개 수치, 렌즈의 초점거리, 피사체와 카메라와의 거리 및 피사체와 배경과의 거리 등의 요인에 따라 달라진다. 여기서, CCD 크기, 조리개 수치, 렌즈의 초점 거리는 디지털 영상 처리 장치의 물리적인 사양에 따라 변화가 커지게 되는데, 소형화된 디지털 영상 처리 장치의 특징상 작은 이미지 센서, 작은 구경의 렌즈로 구조상 항상 깊은 심도표현만이 가능하게 되어 주 피사체만 선명하고 배경은 흐리게 나오는 얕은 심도를 원하는 사용자의 요구에 부합할 수 없다.In detail, most people take out-of-focusing effects when taking portraits. However, when using a conventional digital image processing device, it is almost impossible to express the effect due to a limited size lens and CCD. can see. In general, the background blurring effect depends on the size of the confusion circle, which is closely related to the depth. Therefore, the depth depends on factors such as the CCD size, aperture value, focal length of the lens, the distance between the subject and the camera, and the distance between the subject and the background of the digital image processing apparatus associated with the confusion source. Here, the CCD size, the aperture value, and the focal length of the lens are largely changed according to the physical specifications of the digital image processing apparatus. Only the expression can be made, so the main subject's sharpness and the background's blurred depth can't meet the needs of users.

이와 같은 문제점을 해결하기 위하여, 본 발명의 일 실시예에 관한 디지털 영상 처리 장치는, 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여, 배경흐림 효과가 적용된 제3 영상을 생성하는 것을 일 특징으로 한다. In order to solve this problem, the digital image processing apparatus according to an embodiment of the present invention synthesizes the luminance data of the first image generated by flash emission and the second image generated by flash off, thereby causing a background. The third image may be generated by applying a blur effect.

디지털 신호 처리부(129)는 휘도 데이터 추출부(129-1)와, 배경흐림 효과 처 리부(129-2)와, 제어부(129-3)를 포함한다. The digital signal processor 129 includes a luminance data extractor 129-1, a background blur effect processor 129-2, and a controller 129-3.

휘도 데이터 추출부(129-1)는 제어부(129-3)의 제어 하에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하여 저장한다. 그리고, 배경흐림 효과 처리부(129-2)는 제어부(129-3)의 제어 하에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성한다. 여기서 제1 영상을 생성하기 위해 플래시를 발광시킨 촬영은 예비 촬영으로써, 그리고 제2 영상을 생성하기 위하여 플래시를 오프(off)시킨 촬영은 본 촬영으로써 수행된다. The luminance data extractor 129-1 extracts and stores luminance data of the first image generated by flash emission under the control of the controller 129-3. Under the control of the controller 129-3, the background blur effect processor 129-2 synthesizes the luminance data of the first image generated by the flash emission and the second image generated by the flash off. A third image to which the effect is applied is generated. Here, the photographing in which the flash is emitted to generate the first image is performed as preliminary photographing, and the photographing in which the flash is turned off to generate the second image is performed as the main photographing.

도 4는 도 1에 도시된 디지털 영상 처리 장치를 이용하여, 영상을 촬영하는 모습을 나타내는 도면이다. 도 4를 참조하면, 두 개의 구형 피사체는 주 피사체로써 디지털 영상 처리 장치로부터 근거리에 위치하고, 기둥형 피사체는 디지털 영상 처리 장치로부터 상대적으로 원거리에 위치한다. 그리고, 기둥형 피사체의 후방으로는 배경들이 존재할 것이다. 4 is a diagram illustrating a state in which an image is captured by using the digital image processing apparatus illustrated in FIG. 1. Referring to FIG. 4, two spherical subjects are located at a short distance from a digital image processing apparatus as a main subject, and a columnar subject is relatively far from the digital image processing apparatus. And there will be backgrounds behind the columnar subject.

이 상태에서 셔터-릴리스 신호가 입력되면, 제어부(129-3)는 먼저 플래시(105)를 발광시켜서 제1 영상을 생성한다. 도 5는 플래시 발광으로 생성된 제1 영상을 나타내는 도면이다. When the shutter-release signal is input in this state, the controller 129-3 first emits the flash 105 to generate the first image. 5 is a diagram illustrating a first image generated by flash emission.

플래시(105)는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 역할을 수행한다. 이러한 플래시(105)를 발광시켜서 영상을 촬영할 경우, 주 피사체인 근거리의 피사체에는 순간적으로 많은 양의 빛이 투광되기 때문에, 근거리의 피사체의 휘도 값은 매우 높아지게 된다. 반면, 원거리에 있는 피사 체로 갈수록 투광되는 빛의 양은 급격히 줄어들게 되어, 피사체의 휘도 값은 급격하게 감소하게 되고, 따라서 대부분의 배경은 거의 검은색으로 나타나게 된다. The flash 105 serves to brighten the bright light momentarily when shooting in a dark place. When the image is taken by emitting the flash 105, since a large amount of light is instantaneously transmitted to the near subject as the main subject, the luminance value of the near subject becomes very high. On the other hand, the amount of light that is transmitted to the subject farther away is sharply reduced, the luminance value of the subject is sharply reduced, so that most of the background is almost black.

따라서, 본 발명의 디지털 영상 처리 장치는 이러한 플래시 발광 촬영을 이용하여 제1 영상을 생성하고, 이로부터 휘도 데이터를 추출함으로써 선명하게 표시하여야 하는 주 피사체와, 흐릿하게 표시하여야 하는 배경을 구분하여, 선명하게 표시하여야 하는 주 피사체는 더욱 선명하게 표시하고, 흐릿하게 표시하여야 하는 배경은 더욱 흐릿하게 표시한다. Therefore, the digital image processing apparatus of the present invention generates a first image by using such flash emission photographing, and extracts luminance data therefrom to distinguish a main subject to be displayed clearly and a background to be blurred. The main subject to be displayed clearly is displayed more clearly, and the background to be displayed more blurredly is displayed.

즉, 도 5에서 보았을 때, 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높고, 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 다소 작아지며, 그 후방의 배경 부분은 휘도 값이 매우 낮게 검출된다. That is, as shown in FIG. 5, the luminance value of the near-spherical object as the main subject is very high, and the luminance value of the relatively long-distance columnar subject is slightly smaller than the luminance value of the spherical subject, and the background part at the rear thereof has the luminance. The value is detected very low.

이와 같이, 휘도 데이터 추출부(129-1)에서 추출된 제1 영상의 휘도 데이터는 룩 업 테이블(look up table)에 저장될 수 있다. 룩 업 테이블(look up table)이란, 실제 처리과정에서 연산 횟수를 줄이기 위해 미리 연산한 결과를 저장한 후, 이를 이용하여 처리하기 위한 배열 혹은 메모리 집합이다. As such, the luminance data of the first image extracted by the luminance data extractor 129-1 may be stored in a look up table. A look up table is an array or a set of memory for storing a result of pre-calculation in order to reduce the number of operations in an actual process and then processing the result using the look up table.

다음으로, 제어부(129-3)는 플래시 오프(off) 상태로 본 촬영을 수행하여, 제2 영상을 생성한다. 도 6은 플래시 오프(off)로 생성된 제2 영상을 나타내는 도면이다. Next, the controller 129-3 performs the main shooting in a flash off state to generate a second image. FIG. 6 is a diagram illustrating a second image generated by flash off.

마지막으로, 제어부(129-3)의 제어 하에 배경흐림 효과 처리부(129-2)는 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성한다. 도 7은 제1 영상의 휘도 데이터와 제2 영상을 합성하여 생성된 제3 영상을 나타내는 도면이다. Finally, under the control of the controller 129-3, the background blur effect processor 129-2 synthesizes the luminance data of the first image generated by the flash emission and the second image generated by the flash off. A third image to which the effect is applied is generated. FIG. 7 is a diagram illustrating a third image generated by synthesizing the luminance data of the first image and the second image.

여기서, 배경흐림 효과 처리부(129-2)는 알파 블렌딩(α-blending) 처리를 통하여 제1 영상의 휘도 데이터와 제2 영상을 합성할 수 있다. Here, the background blur effect processor 129-2 may synthesize the luminance data of the first image and the second image through an alpha blending process.

알파 블렌딩(α-blending) 처리란 두 이미지를 혼합하기 위하여 사용하는 일반적인 방법으로, 두 개의 영상을 적당한 비율로 섞어서 영상이 겹쳐 보이도록 하는 처리이다. 즉, 배경흐림 효과 처리부(129-2)는 플래시 오프(off)로 생성된 제2 영상에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 알파 블렌딩(α-blending) 처리하여 제3 영상을 생성한다. 그러면, 제1 영상의 휘도 데이터에서 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높기 때문에, 제3 영상의 구형 피사체는 더욱 선명하게 생성된다. 반면, 제1 영상의 휘도 데이터에서 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 상당히 작기 때문에, 제3 영상의 기둥형 피사체는 어느 정도 흐릿하도록 생성된다. 그리고, 제1 영상의 휘도 데이터에서 후방의 배경 부분은 휘도 값이 매우 낮기 때문에, 제3 영상의 배경 부분은 매우 흐릿하도록 생성되는 것이다. An alpha blending process is a general method used to blend two images. The blending process involves mixing two images at an appropriate ratio so that the images overlap. That is, the background blur effect processor 129-2 alpha-blending the luminance data of the first image generated by the flash emission to the second image generated by the flash off, thereby processing the third image. Create Then, since the luminance value of the near spherical subject which is the main subject in the luminance data of the first image is very high, the spherical subject of the third image is more clearly generated. On the other hand, since the luminance value of the columnar subject that is relatively far from the luminance data of the first image is considerably smaller than the luminance value of the spherical subject, the columnar subject of the third image is generated to be somewhat blurred. Since the background part behind the back of the luminance data of the first image has a very low luminance value, the background part of the third image is generated to be very blurry.

또는, 배경흐림 효과 처리부(129-2)는 로 패스 필터(Low Pass Filter) 처리를 통하여 제1 영상의 휘도 데이터와 제2 영상을 합성할 수 있다. Alternatively, the background blur effect processor 129-2 may synthesize the luminance data of the first image and the second image through a low pass filter process.

로 패스 필터(Low Pass Filter)란, 차단점 이하의 주파수만 통과하고 그 이상의 고주파수는 약화시키는 전자장치의 필터를 의미한다. 그리고, 디지털 영상 촬영 장치에서 로 패스 필터(Low Pass Filter) 처리란, 특정 영역의 엣지(edge)를 죽임으로써, 영상을 흐릿하게 처리하는 것을 의미한다. 즉, 배경흐림 효과 처리 부(129-2)는 플래시 오프(off)로 생성된 제2 영상에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터 중 휘도가 낮은 부분을 로 패스 필터(Low Pass Filter) 처리하여 제3 영상을 생성한다. 즉, 제1 영상의 휘도 데이터에서 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높기 때문에, 제3 영상의 구형 피사체에는 별도의 처리를 가하지 아니한다. 반면, 제1 영상의 휘도 데이터에서 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 상당히 작기 때문에, 제3 영상의 기둥형 피사체는 약간의 로 패스 필터 처리를 수행하여 어느 정도 흐릿하도록 생성된다. 그리고, 제1 영상의 휘도 데이터에서 후방의 배경 부분은 휘도 값이 매우 낮기 때문에, 로 패스 필터 처리를 수행하여 제3 영상의 배경 부분은 매우 흐릿하도록 처리된다. The low pass filter refers to a filter of an electronic device that passes only a frequency below a cutoff point and weakens a higher frequency. In the digital image photographing apparatus, low pass filter processing means blurring an image by killing an edge of a specific region. That is, the background blur effect processor 129-2 filters a low pass portion of luminance data of the first image generated by flash emission on the second image generated by flash off. ) To generate a third image. That is, since the luminance value of the near spherical subject which is the main subject in the luminance data of the first image is very high, no separate processing is applied to the spherical subject of the third image. On the other hand, since the luminance value of the columnar subject that is relatively far from the luminance data of the first image is considerably smaller than the luminance value of the spherical subject, the columnar subject of the third image is slightly blurred by performing some low pass filter processing. Is generated. Since the background part behind the back of the luminance data of the first image has a very low luminance value, the background part of the third image is processed to be very blurry by performing a low pass filter process.

이와 같은 본 발명에 의하여, 제1 영상에서 휘도가 높은 부분, 즉 하이라이트 되어야 하는 주 피사체 부분은 더욱 선명해지고, 제1 영상에서 휘도가 낮은 부분, 즉 흐리게 처리되어야 하는 부분은 더욱 흐리게 처리됨으로써, 디지털 영상 처리 장치에서 배경흐림(Out of focusing; 아웃포커싱) 효과를 구현하는 효과를 얻을 수 있다. According to the present invention, a portion having a higher luminance in the first image, that is, a main subject portion to be highlighted, becomes sharper, and a portion having a lower luminance in the first image, that is, a portion to be blurred, is further blurred, thereby digitally An effect of implementing an out of focusing effect in the image processing apparatus may be obtained.

이어서, 도 8을 참조하여 본 발명에 따른 디지털 영상 처리 방법을 상세히 설명한다. 본 발명에 따른 영상 처리 방법은 도 3에 도시된 바와 같은 영상 처리장치의 내부에서 수행될 수 있는데, 실시 예에 따라 동작 방법의 주 알고리즘은 장치 내의 주변 구성 요소들의 도움을 받아 디지털 신호 처리부(129) 내부에서 수행될 수 있다.Next, a digital image processing method according to the present invention will be described in detail with reference to FIG. 8. The image processing method according to the present invention may be performed inside the image processing apparatus as shown in FIG. 3. Can be performed internally.

도 8을 참조하면, 본 발명에 관한 디지털 영상 처리 장치의 제어 방법은, 셔터-릴리스 신호가 입력되는 단계(S110 단계), 플래시를 발광시켜 제1 영상을 생성하는 단계(S120 단계), 생성된 제1 영상으로부터 휘도 데이터를 추출하여 저장하는 단계(S130 단계), 플래시 오프(off)로 제2 영상을 생성하는 단계(S140 단계) 및 제1 영상의 휘도 데이터와 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상 파일을 생성 및 저장하는 단계(S150 단계)를 포함한다. Referring to FIG. 8, in the control method of the digital image processing apparatus according to the present invention, a shutter-release signal is input (step S110), a flash is emitted to generate a first image (step S120), and the generated Extracting and storing the luminance data from the first image (step S130), generating a second image by flashing off (step S140), and combining the luminance data of the first image and the second image to blur the background image; And generating and storing the third image file to which the effect is applied (step S150).

먼저 셔터-릴리스 신호가 입력(S110 단계)되면, 플래시를 발광시켜 제1 영상을 생성(S120 단계)하고, 생성된 제1 영상으로부터 휘도 데이터를 추출하여 저장(S130 단계)한다. 즉, 휘도 데이터 추출부(129-1)는 제어부(129-3)의 제어 하에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하여 저장한다. First, when the shutter-release signal is input (step S110), the flash is emitted to generate a first image (step S120), and luminance data is extracted from the generated first image and stored (step S130). That is, the luminance data extractor 129-1 extracts and stores luminance data of the first image generated by flash emission under the control of the controller 129-3.

플래시(105)는 어두운 곳에서 촬영할 경우 밝은 빛을 순간적으로 비추어 밝게 해주는 역할을 수행한다. 이러한 플래시(105)를 발광시켜서 영상을 촬영할 경우, 주 피사체인 근거리의 피사체에는 순간적으로 많은 양의 빛이 투광되기 때문에, 근거리의 피사체의 휘도 값은 매우 높아지게 된다. 반면, 원거리에 있는 피사체로 갈수록 투광되는 빛의 양은 급격히 줄어들게 되어, 피사체의 휘도 값은 급격하게 감소하게 되고, 따라서 대부분의 배경은 거의 검은색으로 나타나게 된다. The flash 105 serves to brighten the bright light momentarily when shooting in a dark place. When the image is taken by emitting the flash 105, since a large amount of light is instantaneously transmitted to the near subject as the main subject, the luminance value of the near subject becomes very high. On the other hand, the amount of light that is transmitted to the far-away subject is sharply reduced, the luminance value of the subject is sharply reduced, so that most of the background is almost black.

따라서, 본 발명의 디지털 영상 처리 장치는 이러한 플래시 발광 촬영을 이용하여 제1 영상을 생성하고, 이로부터 휘도 데이터를 추출함으로써 선명하게 표시하여야 하는 주 피사체와, 흐릿하게 표시하여야 하는 배경을 구분하여, 선명하게 표시하여야 하는 주 피사체는 더욱 선명하게 표시하고, 흐릿하게 표시하여야 하는 배경은 더욱 흐릿하게 표시한다. Therefore, the digital image processing apparatus of the present invention generates a first image by using such flash emission photographing, and extracts luminance data therefrom to distinguish a main subject to be displayed clearly and a background to be blurred. The main subject to be displayed clearly is displayed more clearly, and the background to be displayed more blurredly is displayed.

즉, 도 5에서 보았을 때, 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높고, 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 다소 작아지며, 그 후방의 배경 부분은 휘도 값이 매우 낮게 검출된다. That is, as shown in FIG. 5, the luminance value of the near-spherical object as the main subject is very high, and the luminance value of the relatively long-distance columnar subject is slightly smaller than the luminance value of the spherical subject, and the background part at the rear thereof has the luminance. The value is detected very low.

이와 같이, 휘도 데이터 추출부(129-1)에서 추출된 제1 영상의 휘도 데이터는 룩 업 테이블(look up table)에 저장될 수 있다. 룩 업 테이블(look up table)이란, 실제 처리과정에서 연산 횟수를 줄이기 위해 미리 연산한 결과를 저장한 후, 이를 이용하여 처리하기 위한 배열 혹은 메모리 집합이다. As such, the luminance data of the first image extracted by the luminance data extractor 129-1 may be stored in a look up table. A look up table is an array or a set of memory for storing a result of pre-calculation in order to reduce the number of operations in an actual process and then processing the result using the look up table.

다음으로, 플래시 오프(off)로 제2 영상을 생성하고(S140 단계), 제1 영상의 휘도 데이터와 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상 파일을 생성 및 저장(S150 단계)한다. 즉, 배경흐림 효과 처리부(129-2)는 제어부(129-3)의 제어 하에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터와 플래시 오프(off)로 생성된 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성한다. Next, a second image is generated by flashing off (step S140), and the third image file to which the background blur effect is applied is synthesized by combining the luminance data of the first image and the second image (step S150). do. That is, the background blur effect processor 129-2 synthesizes the luminance data of the first image generated by flash emission and the second image generated by flash off under the control of the controller 129-3. A third image to which the effect is applied is generated.

여기서, 배경흐림 효과 처리부(129-2)는 알파 블렌딩(α-blending) 처리를 통하여 제1 영상의 휘도 데이터와 제2 영상을 합성할 수 있다. Here, the background blur effect processor 129-2 may synthesize the luminance data of the first image and the second image through an alpha blending process.

알파 블렌딩(α-blending) 처리란 두 이미지를 혼합하기 위하여 사용하는 일반적인 방법으로, 두 개의 영상을 적당한 비율로 섞어서 영상이 겹쳐 보이도록 하는 처리이다. 즉, 배경흐림 효과 처리부(129-2)는 플래시 오프(off)로 생성된 제2 영상에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 알파 블렌딩(α-blending) 처리하여 제3 영상을 생성한다. 도 7에 도시된 바와 같이, 제1 영상의 휘도 데이터에서 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높기 때문에, 제3 영상의 구형 피사체는 더욱 선명하게 생성된다. 반면, 제1 영상의 휘도 데이터에서 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 상당히 작기 때문에, 제3 영상의 기둥형 피사체는 어느 정도 흐릿하도록 생성된다. 그리고, 제1 영상의 휘도 데이터에서 후방의 배경 부분은 휘도 값이 매우 낮기 때문에, 제3 영상의 배경 부분은 매우 흐릿하도록 생성되는 것이다. An alpha blending process is a general method used to blend two images. The blending process involves mixing two images at an appropriate ratio so that the images overlap. That is, the background blur effect processor 129-2 alpha-blending the luminance data of the first image generated by the flash emission to the second image generated by the flash off, thereby processing the third image. Create As shown in FIG. 7, since the luminance value of the near-spherical subject that is the main subject in the luminance data of the first image is very high, the spherical subject of the third image is more clearly generated. On the other hand, since the luminance value of the columnar subject that is relatively far from the luminance data of the first image is considerably smaller than the luminance value of the spherical subject, the columnar subject of the third image is generated to be somewhat blurred. Since the background part behind the back of the luminance data of the first image has a very low luminance value, the background part of the third image is generated to be very blurry.

또는, 배경흐림 효과 처리부(129-2)는 로 패스 필터(Low Pass Filter) 처리를 통하여 제1 영상의 휘도 데이터와 제2 영상을 합성할 수 있다. Alternatively, the background blur effect processor 129-2 may synthesize the luminance data of the first image and the second image through a low pass filter process.

로 패스 필터(Low Pass Filter)란, 차단점 이하의 주파수만 통과하고 그 이상의 고주파수는 약화시키는 전자장치의 필터를 의미한다. 그리고, 디지털 영상 촬영 장치에서 로 패스 필터(Low Pass Filter) 처리란, 특정 영역의 엣지(edge)를 죽임으로써, 영상을 흐릿하게 처리하는 것을 의미한다. 즉, 배경흐림 효과 처리부(129-2)는 플래시 오프(off)로 생성된 제2 영상에, 플래시 발광으로 생성된 제1 영상의 휘도 데이터 중 휘도가 낮은 부분을 로 패스 필터(Low Pass Filter) 처리하여 제3 영상을 생성한다. 즉, 제1 영상의 휘도 데이터에서 주 피사체인 근거리의 구형 피사체의 휘도 값은 매우 높기 때문에, 제3 영상의 구형 피사체에는 별도의 처리를 가하지 아니한다. 반면, 제1 영상의 휘도 데이터에서 상대적으로 원거리인 기둥형 피사체의 휘도 값은 구형 피사체의 휘도 값보다 상당히 작기 때문에, 제3 영상의 기둥형 피사체는 약간의 로 패스 필터 처리를 수행하여 어느 정도 흐릿하도록 생성된다. 그리고, 제1 영상의 휘도 데이터에서 후방의 배경 부분은 휘도 값이 매우 낮기 때문에, 로 패스 필터 처리를 수행하여 제3 영상의 배경 부분은 매우 흐릿하도록 처리된다. The low pass filter refers to a filter of an electronic device that passes only a frequency below a cutoff point and weakens a higher frequency. In the digital image photographing apparatus, low pass filter processing means blurring an image by killing an edge of a specific region. That is, the background blur effect processor 129-2 filters a low pass portion of luminance data of the first image generated by flash emission on the second image generated by the flash off. Processing to generate a third image. That is, since the luminance value of the near spherical subject which is the main subject in the luminance data of the first image is very high, no separate processing is applied to the spherical subject of the third image. On the other hand, since the luminance value of the columnar subject that is relatively far from the luminance data of the first image is considerably smaller than the luminance value of the spherical subject, the columnar subject of the third image is slightly blurred by performing some low pass filter processing. Is generated. Since the background part behind the back of the luminance data of the first image has a very low luminance value, the background part of the third image is processed to be very blurry by performing a low pass filter process.

이와 같은 본 발명에 의하여, 제1 영상에서 휘도가 높은 부분, 즉 하이라이트 되어야 하는 주 피사체 부분은 더욱 선명해지고, 제1 영상에서 휘도가 낮은 부분, 즉 흐리게 처리되어야 하는 부분은 더욱 흐리게 처리됨으로써, 디지털 영상 처리 장치에서 배경흐림(Out of focusing; 아웃포커싱) 효과를 구현하는 효과를 얻을 수 있다. According to the present invention, a portion having a higher luminance in the first image, that is, a main subject portion to be highlighted, becomes sharper, and a portion having a lower luminance in the first image, that is, a portion to be blurred, is further blurred, thereby digitally An effect of implementing an out of focusing effect in the image processing apparatus may be obtained.

이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

도 1은 본 발명에 관한 디지털 영상 처리 장치의 앞쪽 및 위쪽 외형을 보여주는 사시도이다.1 is a perspective view showing the front and the top of the digital image processing apparatus according to the present invention.

도 2는 도 1에 도시된 디지털 영상 처리 장치의 뒤쪽 외형을 보여주는 배면도이다.FIG. 2 is a rear view illustrating a rear shape of the digital image processing apparatus illustrated in FIG. 1.

도 3은 도 1 및 도 2에 도시된 디지털 영상 처리 장치의 구성을 보이는 블록도이다.3 is a block diagram illustrating a configuration of the digital image processing apparatus illustrated in FIGS. 1 and 2.

도 4는 도 1에 도시된 디지털 영상 처리 장치를 이용하여, 영상을 촬영하는 모습을 나타내는 도면이다. 4 is a diagram illustrating a state in which an image is captured by using the digital image processing apparatus illustrated in FIG. 1.

도 5는 플래시 발광으로 생성된 제1 영상을 나타내는 도면이다. 5 is a diagram illustrating a first image generated by flash emission.

도 6은 플래시 오프(off)로 생성된 제2 영상을 나타내는 도면이다. FIG. 6 is a diagram illustrating a second image generated by flash off.

도 7은 제1 영상의 휘도 데이터와 제2 영상을 합성하여 생성된 제3 영상을 나타내는 도면이다. FIG. 7 is a diagram illustrating a third image generated by synthesizing the luminance data of the first image and the second image.

도 8은 본 발명에 관한 디지털 영상 처리 장치의 제어 방법을 보여주는 흐름도이다. 8 is a flowchart illustrating a control method of a digital image processing apparatus according to the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 디지털 영상 처리 장치 101: 셔터-릴리스 버튼100: digital image processing apparatus 101: shutter-release button

105: 플래시 107: 보조광105: flash 107: auxiliary light

113: 디스플레이부 121: 사용자 입력부113: display unit 121: user input unit

123: 촬상부 125: 영상 처리부123: imaging unit 125: image processing unit

127: 저장부 129: 디지털 신호 처리부127: storage unit 129: digital signal processing unit

129-1: 휘도 데이터 추출부 129-2: 배경흐림 효과 처리부129-1: Luminance data extraction unit 129-2: Background blur effect processing unit

129-3: 제어부129-3: control unit

Claims (11)

디지털 영상 처리 장치로서,As a digital image processing device, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하고, 플래시 오프(off)로 생성된 제2 영상을 생성하고, 상기 제1 영상의 휘도 데이터와 상기 제2 영상을 합성하여 제3 영상을 생성하는 디지털 신호 처리수단을 포함하는 영상의 배경흐림 효과 처리 장치.Extract luminance data of the first image generated by flash emission, generate a second image generated by flash off, and generate a third image by combining the luminance data of the first image and the second image. Background image blur effect processing apparatus comprising a digital signal processing means. 제 1 항에 있어서, The method of claim 1, 상기 디지털 신호 처리수단은, The digital signal processing means, 플래시 발광으로 생성된 제1 영상의 휘도 데이터를 추출하는 휘도 데이터 추출부; 및A luminance data extractor configured to extract luminance data of the first image generated by flash emission; And 상기 제1 영상의 휘도 데이터와 상기 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성하는 배경흐림 효과 처리부를 포함하는, 영상의 배경흐림 효과 처리 장치.And a background blur effect processor configured to generate a third image to which a background blur effect is applied by synthesizing the luminance data of the first image and the second image. 제 1 항에 있어서, The method of claim 1, 상기 디지털 신호 처리수단은, The digital signal processing means, 상기 제2 영상에서 휘도가 상대적으로 높은 영역은 선명하게 표시하고, 상기 제2 영상에서 휘도가 상대적으로 낮은 영역은 흐릿하게 표시하는 것을 특징으로 하 는 영상의 배경흐림 효과 처리 장치.An apparatus for processing a background blur effect of an image, wherein an area having a relatively high luminance is displayed clearly in the second image, and an area having a relatively low luminance is displayed blurry in the second image. 제 1 항에 있어서, The method of claim 1, 상기 제1 영상의 휘도 데이터와 상기 제2 영상의 합성은 알파 블렌딩(α-blending) 처리에 의하여 수행되는 것을 특징으로 하는 영상의 배경흐림 효과 처리 장치.And the brightness data of the first image and the synthesis of the second image are performed by alpha blending. 제 1 항에 있어서, The method of claim 1, 상기 제1 영상의 휘도 데이터와 상기 제2 영상의 합성은 로 패스 필터(Low Pass Filter) 처리에 의하여 수행되는 것을 특징으로 하는 영상의 배경흐림 효과 처리 장치.And the luminance data of the first image and the second image are synthesized by a low pass filter process. 제 1 항에 있어서, The method of claim 1, 상기 플래시 발광으로 생성된 제1 영상의 휘도 데이터는 룩 업 테이블(look up table)에 저장되는 것을 특징으로 하는 영상의 배경흐림 효과 처리 장치.And the luminance data of the first image generated by the flash emission is stored in a look up table. 디지털 영상 처리 장치의 동작 방법으로서,As an operation method of a digital image processing apparatus, (a) 플래시를 발광시켜 제1 영상을 생성하는 단계;(a) generating a first image by emitting a flash; (b) 상기 제1 영상에서 휘도 데이터를 추출 및 저장하는 단계;(b) extracting and storing luminance data from the first image; (c) 플래시 오프(off)로 제2 영상을 생성하는 단계; 및(c) generating a second image by flashing off; And (d) 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 배경흐림 효과가 적용된 제3 영상을 생성하는 단계를 포함하는 영상의 배경흐림 효과 처리 방법.and (d) synthesizing the luminance data of the first image and the second image to generate a third image to which a background blur effect is applied. 제 7 항에 있어서, The method of claim 7, wherein 상기 (b) 단계는, In step (b), 상기 제1 영상에서 휘도 데이터를 추출하여 룩 업 테이블(look up table)에 저장하는 것을 특징으로 하는 영상의 배경흐림 효과 처리 방법.And extracting luminance data from the first image and storing the luminance data in a look up table. 제 7 항에 있어서, The method of claim 7, wherein 상기 (d) 단계는, In step (d), 상기 제2 영상에서 휘도가 상대적으로 높은 영역은 선명하게 표시하고, 상기 제2 영상에서 휘도가 상대적으로 낮은 영역은 흐릿하게 표시하는 것을 특징으로 하는 영상의 배경흐림 효과 처리 방법. The region of the second image is displayed with a relatively high brightness is displayed clearly, the region of the relatively low brightness is displayed in the second image is blurred, the image blur effect processing method. 제 7 항에 있어서, The method of claim 7, wherein 상기 (d) 단계는, In step (d), 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 알파 블렌딩(α-blending) 처리를 수행하는 것을 특징으로 하는 영상의 배경흐림 효과 처리 방법.And combining the luminance data of the first image and the second image to perform an alpha blending process. 제 7 항에 있어서, The method of claim 7, wherein 상기 (d) 단계는, In step (d), 상기 제1 영상의 휘도 데이터와, 상기 제2 영상을 합성하여 로 패스 필터(Low Pass Filter) 처리를 수행하는 것을 특징으로 하는 영상의 배경흐림 효과 처리 방법.And combining the luminance data of the first image and the second image to perform a low pass filter process.
KR1020080003477A 2008-01-11 2008-01-11 Apparatus and method for blurring an image background in digital image processing device KR101378333B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080003477A KR101378333B1 (en) 2008-01-11 2008-01-11 Apparatus and method for blurring an image background in digital image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080003477A KR101378333B1 (en) 2008-01-11 2008-01-11 Apparatus and method for blurring an image background in digital image processing device

Publications (2)

Publication Number Publication Date
KR20090077491A true KR20090077491A (en) 2009-07-15
KR101378333B1 KR101378333B1 (en) 2014-03-27

Family

ID=41335986

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080003477A KR101378333B1 (en) 2008-01-11 2008-01-11 Apparatus and method for blurring an image background in digital image processing device

Country Status (1)

Country Link
KR (1) KR101378333B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101426785B1 (en) * 2014-03-05 2014-08-06 성결대학교 산학협력단 A user-friendly image obfuscation method for the sensitive area in smart devices by reflecting art sensitivity

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10554890B1 (en) 2019-02-18 2020-02-04 Samsung Electronics Co., Ltd. Apparatus and method for generating low-light images with improved bokeh using mobile electronic device
US11062436B2 (en) 2019-05-10 2021-07-13 Samsung Electronics Co., Ltd. Techniques for combining image frames captured using different exposure settings into blended images

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11298908A (en) * 1998-04-13 1999-10-29 Minolta Co Ltd Image processing method for digital camera
JP4379129B2 (en) * 2004-01-23 2009-12-09 ソニー株式会社 Image processing method, image processing apparatus, and computer program
JP2007288235A (en) * 2006-04-12 2007-11-01 Sony Corp Imaging apparatus and imaging method
KR20090008732A (en) * 2007-07-18 2009-01-22 삼성전자주식회사 Apparatus for synthesizing image of digital image instrument and method using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101426785B1 (en) * 2014-03-05 2014-08-06 성결대학교 산학협력단 A user-friendly image obfuscation method for the sensitive area in smart devices by reflecting art sensitivity

Also Published As

Publication number Publication date
KR101378333B1 (en) 2014-03-27

Similar Documents

Publication Publication Date Title
KR101427660B1 (en) Apparatus and method for blurring an image background in digital image processing device
US8395694B2 (en) Apparatus and method for blurring image background in digital image processing device
KR101446772B1 (en) Apparatus and method for digital picturing image
WO2017045558A1 (en) Depth-of-field adjustment method and apparatus, and terminal
JP5418020B2 (en) Imaging device
JP4509081B2 (en) Digital camera and digital camera program
KR20100013705A (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
KR101378333B1 (en) Apparatus and method for blurring an image background in digital image processing device
KR20090067915A (en) Apparatus and method for capturing image by composition recommandation
JP7148428B2 (en) Imaging device and imaging method
KR20090078120A (en) Apparatus and method for digital picturing image
KR20100003918A (en) Apparatus and method for photographing digital image capable of recognizing user
KR101467872B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to implement the method
KR101373018B1 (en) Apparatus and method for preventing hand-shaking during low light amount in digital image processing device
KR101340035B1 (en) Method for composite image in digital image processing device
KR101446781B1 (en) Electronic device and controlling method
KR20090089070A (en) Digital camera using photo frame and control method thereof
KR20090112397A (en) Apparatus and method for digital picturing image
KR20100084835A (en) Apparatus and method for digital picturing image
KR20100075165A (en) Apparatus and method for digital picturing image
KR101448538B1 (en) Apparatus and method for processing wide dynamic range using braketing capturing in digital image processing device
KR20090081881A (en) Apparatus and method for digital picturing image
KR101385963B1 (en) Image processing device having color correction function and color correction method thereof
KR20100003917A (en) Method for setting and performing all menu in digital image processing apparatus
KR101378334B1 (en) Apparatus and method for trimming image

Legal Events

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

Payment date: 20190227

Year of fee payment: 6