KR20100010836A - Image processing method and apparatus, and digital photographing apparatus using thereof - Google Patents

Image processing method and apparatus, and digital photographing apparatus using thereof Download PDF

Info

Publication number
KR20100010836A
KR20100010836A KR1020080071893A KR20080071893A KR20100010836A KR 20100010836 A KR20100010836 A KR 20100010836A KR 1020080071893 A KR1020080071893 A KR 1020080071893A KR 20080071893 A KR20080071893 A KR 20080071893A KR 20100010836 A KR20100010836 A KR 20100010836A
Authority
KR
South Korea
Prior art keywords
image
image processing
gamma
input image
gamma correction
Prior art date
Application number
KR1020080071893A
Other languages
Korean (ko)
Other versions
KR101448539B1 (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 KR1020080071893A priority Critical patent/KR101448539B1/en
Publication of KR20100010836A publication Critical patent/KR20100010836A/en
Application granted granted Critical
Publication of KR101448539B1 publication Critical patent/KR101448539B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/20Circuitry for controlling amplitude response
    • H04N5/202Gamma control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/57Control of contrast or brightness

Abstract

PURPOSE: An image processing method and an apparatus, and a digital photographing apparatus using thereof are provided to improve the quality of photographed image by gamma correction. CONSTITUTION: A face region detecting part(73) detects a face area in the input image. An image signal processor(72) performs the AE(Auto-Exposure) calculation around the face area detected as described above. A gamma correction controller(74) makes the image signal processor compensates the gamma curve based on the AE operation result. The gamma correction controller revises the gamma curve of the AE target part. The image processing mode selection unit selects the image processing mode about the input image.

Description

영상 처리 방법 및 장치, 이를 이용한 디지털 촬영 장치{Image processing method and apparatus, and digital photographing apparatus using thereof}Image processing method and apparatus, and digital photographing apparatus using Technical Field

본 발명은 영상 처리에 관한 것으로, 더 상세하게는 감마 보정을 이용하여 이미지 촬영시 화질을 부드럽고 소프트하게 처리할 수 있는 영상 처리 방법 및 장치에 관한 것이다.The present invention relates to image processing, and more particularly, to an image processing method and apparatus capable of smoothly and softly processing image quality during image capturing using gamma correction.

디지털 카메라에 의한 촬영에 있어서 촬영하여 얻은 영상으로부터, 예를 들면 얼굴 등의 객체를 검출하고, 객체의 검출 결과에 따라 영상 처리를 하는 기술들, 예를 들면 피사체의 밝기에 따라 화이트 밸런스를 조정하거나 피사체의 밝기에 따라 플래시의 발광 유무를 제어하는 기술들이 늘어나고 있다.Techniques for detecting an object, such as a face, from an image obtained by shooting in a digital camera, and processing an image according to the detection result of the object, for example, adjusting the white balance according to the brightness of a subject, Increasingly, technologies for controlling whether or not the flash is emitted according to the brightness of the subject are increasing.

한편, 디지털 카메라의 사용자들은 촬영한 사진이 좀 더 예쁘고 화사하게 나왔으면 하는 욕구가 강하다. 이러한 사용자들은 포토샵과 같은 이미지 편집 프로그램을 이용하여 디지털 카메라에 저장한 사진을 PC로 옮겨서 사진편집을 해야만 하는 불편함이 있다. On the other hand, users of digital cameras have a strong desire to have their pictures taken more beautifully and brightly. These users are inconvenient to use the image editing program such as Photoshop to move the picture stored in the digital camera to the PC to edit the picture.

이러한 사용자의 니즈에 따라, 최근 출시되고 있는 디지털 카메라에는 촬영한 인물 사진이 화사하게 나오게 하는 효과, 소위 "화사 모드"라는 기능을 탑재하 고 있다. 이러한 "화사 모드"를 설정하고 인물을 촬영한 경우에는 전체적으로 밝고 화사한 분위기의 사진을 얻을 수 있으며, 특히 얼굴의 피부를 부드럽고 소프트하게 처리해준다.According to the needs of these users, recently released digital cameras are equipped with a so-called "burning mode" function, which makes the portrait taken by the user bright. If you take a picture with such a “bright mode”, you can get a bright and bright picture, especially the face's skin.

하지만, 이러한 "화사 모드"는 촬영 이미지에서 얼굴 검출을 수행하고, 얼굴이 있는 경우에는 촬영된 전체 이미지를 블러(Blur) 처리를 하기 때문에 전체 이미지의 해상도가 떨어지는 문제점이 있다. 특히 인물의 얼굴 전체에 대해서 블러 처리를 하기 때문에, 얼굴 전체의 선명도가 떨어지는 현상이 발생한다.However, such a "burn mode" performs a face detection on the captured image, and if there is a face, blurs the entire image, thereby reducing the resolution of the entire image. In particular, since the entire face of the person is blurred, a phenomenon in which the entire face is inferior in sharpness occurs.

본 발명은 상기 종래기술의 문제점을 해결하기 위해 안출된 것으로, 감마보정을 이용하여 촬영한 이미지의 화질을 부드럽고 소프트하게 처리할 수 있는 영상 처리 방법 및 장치를 제공하는 데 목적이 있다.The present invention has been made to solve the problems of the prior art, and an object of the present invention is to provide an image processing method and apparatus capable of smoothly and softly processing the image quality of an image photographed using gamma correction.

또한, 이를 이용한 디지털 촬영 장치를 제공하는 데 다른 목적이 있다.Another object is to provide a digital photographing apparatus using the same.

상기 기술적 과제를 달성하기 위한, 본 발명의 일 실시 예에 따른 영상 처리 방법은 (a) 입력 영상에서 소정의 얼굴 영역을 검출하는 단계; (b) 상기 검출한 얼굴 영역을 중심으로 AE 연산을 수행하는 단계; 및 (c) 상기 AE 연산 결과를 기초로 감마 곡선을 보정하도록 제어하는 단계를 포함한다. In order to achieve the above technical problem, an image processing method according to an embodiment of the present invention comprises the steps of: (a) detecting a predetermined face area from an input image; (b) performing an AE operation around the detected face area; And (c) controlling to correct a gamma curve based on the AE calculation result.

바람직하게, 상기 (c) 단계는, 상기 AE 타겟 부분의 감마 곡선을 보정하도록 제어하는 것을 특징으로 한다. Preferably, the step (c) is characterized in that to control to correct the gamma curve of the AE target portion.

바람직하게, 상기 (c) 단계는, 상기 AE 타겟 부분의 감마를 높게 제어하는 것을 특징으로 한다. Preferably, step (c) is characterized in that to control the gamma of the AE target portion to a high.

바람직하게, 상기 (c) 단계는, 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 한다.Preferably, in the step (c), the contrast of the input image is controlled to be low.

바람직하게, 상기 (a) 단계 이전에, 상기 입력 영상에 대한 영상 처리 모드가 선택되는 단계를 더 포함하는 것을 특징으로 한다.Preferably, before the step (a), further comprising the step of selecting an image processing mode for the input image.

바람직하게, 상기 (a) 단계에서 상기 입력 영상에서 적어도 하나 이상의 얼 굴 영역을 검출한 경우에 상기 (b) 내지 (c) 단계를 수행하는 것을 특징으로 한다.Preferably, steps (b) to (c) are performed when at least one facial region is detected in the input image in step (a).

상기 다른 기술적 과제를 달성하기 위한, 본 발명의 다른 실시 예에 따른 영상 처리 장치는 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부; 상기 검출한 얼굴 영역을 중심으로 AE 연산을 수행하는 영상 신호 처리부; 및 상기 AE 연산 결과를 기초로, 상기 영상 신호 처리부가 감마 곡선을 보정하도록 제어하는 감마 보정 제어부를 포함한다.According to another aspect of the present invention, there is provided an image processing apparatus including a face region detector configured to detect a predetermined face region from an input image; An image signal processor which performs an AE operation based on the detected face region; And a gamma correction controller configured to control the image signal processor to correct a gamma curve based on the result of the AE operation.

바람직하게, 상기 감마 보정 제어부는, 상기 AE 타겟 부분의 감마 곡선을 보정하도록 제어하는 것을 특징으로 한다.Preferably, the gamma correction control unit controls to correct a gamma curve of the AE target portion.

바람직하게, 상기 감마 보정 제어부는, 상기 AE 타겟 부분의 감마를 높게 제어하는 것을 특징으로 한다. Preferably, the gamma correction controller is characterized in that to control the gamma of the AE target portion high.

바람직하게, 상기 감마 보정 제어부는, 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 한다.Preferably, the gamma correction controller controls the contrast of the input image to be low.

바람직하게, 상기 영상 처리 장치는 상기 입력 영상에 대한 영상 처리 모드를 선택하는 영상 처리 모드 선택부를 더 포함하는 것을 특징으로 한다. The image processing apparatus may further include an image processing mode selector configured to select an image processing mode for the input image.

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 상기 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체를 포함한다.In order to achieve the another technical problem, a recording medium including a program for executing the method on a computer according to another embodiment of the present invention.

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 상기 영상 처리 장치를 포함하는 디지털 촬영 장치를 포함한다. In order to achieve the another technical problem, a digital photographing apparatus including the image processing apparatus according to another embodiment of the present invention.

본 발명의 일 실시 예에 따른 영상 처리 방법은 영상 전체가 아닌 얼굴 영역과 이와 비슷한 휘도에 있는 영역에 대해서 화질을 부드럽고 소프트하게 처리함으로써, 전체적인 이미지의 화사함의 효과를 극대화시킬 수 있다.The image processing method according to an exemplary embodiment of the present invention may maximize the effect of the brightness of the overall image by processing the image quality smoothly and softly on the face region and the region having similar luminance instead of the entire image.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, only parts necessary for understanding the operation according to the present invention will be described, and descriptions of other parts may be omitted so as not to distract from the gist of the present invention.

또한, 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 본 발명을 가장 적절하게 표현할 수 있도록 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다. In addition, the terms or words used in the specification and claims described below are not to be construed as being limited to the ordinary or dictionary meaning, meaning that corresponds to the technical spirit of the present invention so as to best express the present invention To be interpreted as

도 1은 본 발명의 디지털 촬영 장치(100)의 일 실시 예로서, 디지털 카메라의 블록도이다. 또한, 도 1과 함께 설명할 도 2는 디지털 촬영 장치의 디지털 신호 처리부(70)를 설명하기 위한 블록도이다.1 is a block diagram of a digital camera according to an embodiment of the digital photographing apparatus 100 of the present invention. 2, which will be described with reference to FIG. 1, is a block diagram illustrating the digital signal processor 70 of the digital photographing apparatus.

도 1에 도시된 바에 따르면, 디지털 카메라(100)는 광학부(10), 광학 구동부(11), 촬상소자(15), 촬상소자 제어부(16), 조작부(20), 영상 처리 모드 선택부(21), 프로그램 저장부(30), 버퍼 저장부(40), 데이터 저장부(50), 표시 제어부(60), 데이터 구동부(61), 주사 구동부(63), 표시부(65) 및 디지털 신호 처리부(DSP, 70)를 포함한다.As shown in FIG. 1, the digital camera 100 includes an optical unit 10, an optical driver 11, an imaging device 15, an imaging device controller 16, an operation unit 20, and an image processing mode selector ( 21, the program storage unit 30, the buffer storage unit 40, the data storage unit 50, the display control unit 60, the data driver 61, the scan driver 63, the display unit 65 and the digital signal processing unit (DSP, 70).

광학부(10)는 피사체로부터의 광학 신호가 입력되어 촬상 소자(13)로 제공한다. 광학부(10)는 초점 거리(focal length)에 따라 화각이 좁아지거나 또는 넓어지도록 제어하는 줌 렌즈 및 피사체의 초점을 맞추는 포커스 렌즈 등 적어도 하나의 렌즈를 포함할 수 있다. 또한, 광학부(10)는 광량을 조절하는 조리개를 더 포함할 수 있다.The optical unit 10 receives an optical signal from a subject and provides it to the imaging device 13. The optical unit 10 may include at least one lens, such as a zoom lens for controlling the view angle to be narrowed or widened according to a focal length, and a focus lens for focusing a subject. In addition, the optical unit 10 may further include an aperture for adjusting the amount of light.

광학 구동부(11)는 렌즈의 위치, 조리개의 개폐 등을 조절한다. 렌즈의 위치를 이동시켜 초점을 맞출 수 있다. 또한, 조리개의 개폐를 조절하여 광량을 조절할 수 있다. 실시간으로 입력되는 영상 신호에 의해 자동으로 생성되는 제어 신호 또는 사용자의 조작에 의해 수동으로 입력되는 제어 신호에 따라 광학 구동부(11)가 광학부(10)를 제어할 수 있다.The optical driver 11 adjusts the position of the lens, opening and closing of the iris, and the like. You can focus by shifting the position of the lens. In addition, the amount of light may be adjusted by adjusting the opening and closing of the iris. The optical driver 11 may control the optical unit 10 according to a control signal automatically generated by an image signal input in real time or a control signal manually input by a user's manipulation.

광학부(10)를 투과한 광학 신호는 촬상 소자(15)의 수광면에 이르러 피사체의 상을 결상한다. 촬상 소자(15)는 광학 신호를 전기 신호로 변환하는 광전변환 소자로서, 예를 들면 CCD(Charge Coupled Device) 또는 CIS(Complementary Metal Oxide Semiconductor Image Sensor) 등을 사용할 수 있다. 이와 같은 촬상소자(15)는 촬상소자 제어부(16)에 의해 감도 등이 조절될 수 있다. 촬상소자 제어부(16)도 실시간으로 입력되는 영상 신호에 의해 자동으로 생성되는 제어 신호 또는 사용자의 조작에 의해 수동으로 입력되는 제어 신호에 따라 촬상소자(15)를 제어할 수 있다.The optical signal transmitted through the optical unit 10 reaches the light receiving surface of the imaging element 15 to form an image of the subject. The imaging device 15 may be a photoelectric conversion device that converts an optical signal into an electrical signal. For example, a charge coupled device (CCD) or a complementary metal oxide semiconductor image sensor (CIS) may be used. Such an image pickup device 15 may be controlled by the image pickup device controller 16. The imaging device controller 16 may also control the imaging device 15 according to a control signal automatically generated by an image signal input in real time or a control signal manually input by a user's operation.

조작부(20)는 사용자 등의 외부로부터의 제어 신호를 입력할 수 있는 곳이다. 조작부(20)는 정해진 시간 동안 촬상 소자(15)를 빛에 노출하여 사진을 촬영 하는 셔터-릴리즈 신호를 입력하는 셔터-릴리즈 버튼, 전원을 공급하기 위해 입력하는 전원 버튼, 입력에 따라 화각을 넓어지게 하거나 화각을 좁아지게 하는 광각-줌 버튼 및 망원-줌 버튼과, 문자 입력 또는 촬영 모드, 재생 모드 등의 모드 선택, 화이트 밸런스 설정 기능 선택, 노출 설정 기능 선택 등의 다양한 기능 버튼들이 있다. 조작부(20)는 상기와 같이 다양한 버튼의 형태를 가질 수도 있지만, 이에 한정되는 것은 아니며, 키보드, 터치 패드, 터치 스크린, 리모트 컨트롤러 등과 같이 사용자가 입력할 수 있는 어떠한 형태로 구현되어도 무방하다. The operation unit 20 is a place that can input a control signal from the outside such as a user. The control unit 20 exposes the image pickup device 15 to light for a predetermined time, and releases a shutter release button for inputting a shutter release signal for taking a picture, a power button input for supplying power, and a wide angle of view according to the input. There are a wide-angle zoom button and a tele-zoom button for increasing or narrowing the angle of view, and various function buttons for selecting a mode such as a text input or shooting mode, a playback mode, a white balance setting function, and an exposure setting function. The operation unit 20 may have the form of various buttons as described above, but is not limited thereto, and may be implemented in any form that a user can input, such as a keyboard, a touch pad, a touch screen, a remote controller, and the like.

영상 처리 모드 선택부(21)는 사용자로부터 촬상된 영상에 대한 영상 처리 모드를 입력받는다. 여기서, 영상 처리 모드는 촬상된 영상을 화사하게 아름답게 표현해주는 모드이다. 또한, 사용자는 영상 처리 모드 선택부(21)를 통해 영상 처리의 강도, 예를 들면 강한 처리, 중간 처리, 약한 처리 등을 선택할 수도 있다. 따라서, 사용자는 인물 사진의 영상 처리 여부와 강도를 선택할 수 있다. 이상 영상 처리 모드 선택부(21)를 조작부(20)와 분리하여 설명하였으나, 전술한 영상 처리 모드 선택부(21)의 기능을 조작부(20)에서 수행할 수도 있다.The image processing mode selector 21 receives an image processing mode for the captured image from the user. Here, the image processing mode is a mode that expresses the captured image brightly and beautifully. In addition, the user may select the intensity of the image processing, for example, a strong process, an intermediate process, a weak process, and the like through the image processing mode selector 21. Thus, the user can select whether or not to process the image of the portrait photograph and the intensity. Although the image processing mode selection unit 21 has been described separately from the operation unit 20, the above-described functions of the image processing mode selection unit 21 may be performed by the operation unit 20.

디지털 촬영 장치(100)는 디지털 촬영 장치를 구동하는 운영 시스템, 응용 시스템 등의 프로그램을 저장하는 프로그램 저장부(30), 연산 수행 중에 필요한 데이터 또는 결과 데이터들을 임시로 저장하는 버퍼 저장부(40), 영상 신호를 포함하는 이미지 파일을 비롯하여 상기 프로그램에 필요한 다양한 정보들을 저장하는 데이터 저장부(50)를 포함한다. The digital photographing apparatus 100 may include a program storage unit 30 for storing a program such as an operating system or an application system for driving the digital photographing apparatus, and a buffer storage unit 40 for temporarily storing data or result data necessary for performing an operation. And a data storage unit 50 for storing various information necessary for the program, including an image file including an image signal.

아울러, 디지털 카메라(100)는 이의 동작 상태 또는 디지털 카메라(100)에서 촬영한 이미지 정보를 표시하도록 제어하는 표시 제어부(60), 표시 제어부(60)로부터 입력되어 표시 데이터를 전달하는 데이터 구동부(61)와 주사 구동부(63), 데이터 구동부(61)와 주사 구동부(63)로부터 입력되는 신호에 따라 소정 영상을 표시하는 표시부(65)를 포함한다. 표시부(65)는 액정 디스플레이 패널(LCD), 유기 발광 디스플레이 패널(OLED), 전기 영동 디스플레이 패널(EDD) 등으로 이루어질 수 있다.In addition, the digital camera 100 is a display control unit 60 for controlling to display its operating state or the image information photographed by the digital camera 100, a data driver 61 input from the display control unit 60 to transfer the display data ), And a display unit 65 for displaying a predetermined image according to signals input from the scan driver 63, the data driver 61, and the scan driver 63. The display unit 65 may be formed of a liquid crystal display panel (LCD), an organic light emitting display panel (OLED), an electrophoretic display panel (EDD), and the like.

그리고 디지털 카메라(100)는 입력되는 영상 신호를 처리하고, 이에 따라 또는 외부 입력 신호에 따라 각 구성부들을 제어하는 DSP(70)를 포함한다. The digital camera 100 includes a DSP 70 for processing the input image signal and controlling the components according to the input signal or according to the external input signal.

DSP(70)에 관하여 도 2를 함께 참조하여 설명한다. The DSP 70 will be described with reference to FIG. 2 together.

도 2를 참조하면, 디지털 신호 처리부(70)는 제어부(71), 영상 신호 처리부(72), 얼굴 영역 검출부(73), 감마 보정 제어부(74)를 포함한다. 여기서, 디지털 신호 처리부와 특허청구범위에서 사용된 영상 처리 장치는 동일한 의미로 해석하여야 한다.Referring to FIG. 2, the digital signal processor 70 includes a controller 71, an image signal processor 72, a face region detector 73, and a gamma correction controller 74. Here, the digital signal processor and the image processing apparatus used in the claims should be interpreted in the same sense.

제어부(71)는 디지털 신호 처리부(70)의 전반적인 동작을 제어한다. The controller 71 controls the overall operation of the digital signal processor 70.

영상 신호 처리부(72)는 촬상 소자(15)로부터 입력된 영상 신호를 디지털 신호로 변환한다. 또한, 인간의 시각에 맞게 영상 신호를 변환하도록 감마 보정(Gamma Correction)을 수행한다. 또한, 색 필터 배열 보간(color filter array interpolation), 색 매트릭스(color matrix), 색 보정(color correction), 색 향상(color enhancement) 등의 영상 신호 처리를 수행한다. The video signal processor 72 converts the video signal input from the imaging device 15 into a digital signal. In addition, gamma correction is performed to convert an image signal according to the human vision. In addition, image signal processing such as color filter array interpolation, color matrix, color correction, and color enhancement is performed.

또한, 영상 신호 처리부(72)는 그 기능이 설정된 경우 오토화이트밸런 스(Auto White Balance)나 오토익스포저(Auto Exposure) 알고리즘을 수행할 수 있다. 또한, 영상 데이터를 스케일러를 이용하여 그 크기를 조절하며, 압축하여 소정 형식의 이미지 파일을 형성한다. 반대로 이미지 파일의 압축을 해제하기도 한다. 영상 신호 처리부(72)는 사진 촬영 전 라이브-뷰 모드에서 실시간으로 입력되는 영상 신호와 셔터-릴리즈 신호에 의해 입력된 영상 신호에 대해 상기와 같은 영상 신호 처리들을 행할 수 있다. 이때, 상기 영상 신호들 각각에 대해 다른 영상 신호 처리가 행해질 수 있다.In addition, when the function is set, the image signal processor 72 may perform an auto white balance or auto exposure algorithm. In addition, the size of the image data is adjusted using a scaler and compressed to form an image file of a predetermined format. Conversely, image files can be extracted. The image signal processing unit 72 may perform the above image signal processing on the image signal input in real time in the live-view mode before taking a picture and the image signal input by the shutter-release signal. In this case, different video signal processing may be performed on each of the video signals.

본 발명의 바람직한 실시 예에서, 영상 신호 처리부(72)는 촬상 소자(15)로부터 입력된 영상 신호를 디지털 신호로 변환하여 얼굴 영역 검출부(73)에 전달한다. 얼굴 영역 검출부(73)가 소정의 얼굴 영역을 검출한 경우, 검출한 얼굴 영역에 대해 AE 연산을 수행한다. 따라서, 전체적인 영상의 밝기가 얼굴 영역을 중심으로 이루어진다. In an exemplary embodiment of the present invention, the image signal processor 72 converts the image signal input from the image pickup device 15 into a digital signal and transmits the image signal to the face region detection unit 73. When the face region detector 73 detects a predetermined face region, the face region detector 73 performs an AE operation on the detected face region. Therefore, the brightness of the overall image is made around the face area.

여기서, AE 연산 및 기능에 대해 설명하면, 검출한 얼굴 영역의 RGB 영상 신호를 적산하여 제어부(71)에 제공하고, 제어부(71)는 측광 및 측거를 이용하여 얼굴 영역의 평균적인 밝기, 즉 얼굴 영역의 휘도를 검출한다. 그리고 제어부(71)는 촬영에 적합한 노출치, 즉 EV치를 산출한다. 그리고 제어부(71)는 EV치에 근거하여 조리개 값(F값)과 CCD의 셔터 스피드를 소정의 프로그램에 따라 결정하여 AE를 수행한다. 전술한 AE 연산을 영상 신호 처리부(72)가 수행하는 것으로 설명하였지만, 별도의 AE 연산부에서 수행할 수도 있다.Here, when the AE operation and the function are described, the RGB image signal of the detected face area is integrated and provided to the control unit 71, and the control unit 71 uses the metering and ranging to obtain the average brightness of the face area, that is, the face. The luminance of the area is detected. The control unit 71 then calculates an exposure value suitable for shooting, that is, an EV value. The control unit 71 determines the aperture value (F value) and the shutter speed of the CCD according to a predetermined program based on the EV value to perform AE. Although the above-described AE operation has been described as being performed by the image signal processor 72, it may be performed by a separate AE calculator.

또한, 영상 신호 처리부(72)는 감마 보정을 수행하는데, 여기서, 감마보정이 란 입력 영상의 밝기와 출력 영상의 밝기의 차이를 보정해주는 것을 의미하며, 이러한 감마 보정은 입력 영상의 휘도와 출력 휘도 값의 비율, 즉 감마 곡선을 조절함으로써 이루어진다. 본 발명의 바람직한 실시 예에서, 영상 신호 처리부(72)는 감마 보정 제어부(74)의 제어에 따라 감마 곡선을 수정함으로써 감마 보정을 수행한다. In addition, the image signal processor 72 performs gamma correction, wherein gamma correction means correcting a difference between the brightness of the input image and the brightness of the output image. By adjusting the ratio of values, ie gamma curve. In a preferred embodiment of the present invention, the image signal processor 72 performs gamma correction by correcting a gamma curve under the control of the gamma correction controller 74.

얼굴 영역 검출부(73)는 촬상 소자(15)를 통해 입력된 영상에서 얼굴 영역을 검출한다. 구체적으로, 얼굴 영역 검출부(72)는 얼굴에 포함되는 얼굴의 특징을 갖는 영역, 예를 들면 살색을 가지는 영역, 눈동자를 가지는 영역, 얼굴의 형상을 가지는 영역 등을 얼굴 영역으로서 검출한다.The face area detector 73 detects a face area from an image input through the imaging device 15. Specifically, the face area detection unit 72 detects an area having a feature of the face included in the face, for example, an area having flesh color, an area having pupils, an area having a shape of the face, and the like as the face area.

얼굴 영역 검출 기법 내지는 알고리즘은 많은 기술이 존재하며, 본 발명의 바람직한 실시 예에 따른 얼굴 검출에 사용할 수 있다. 예를 들면 움직임 벡터 기법, 특징점 검출 기법, 에이다부스트(Adaboost) 학습 기법 등을 사용하여 얼굴 영역을 검출할 수 있다.There are many techniques for face region detection or algorithm, and it can be used for face detection according to a preferred embodiment of the present invention. For example, a face region may be detected using a motion vector technique, a feature point detection technique, an Adaboost learning technique, or the like.

감마 보정 제어부(74)는 영상 신호 처리부(71)의 AE 연산 결과를 기초로, 영상 신호 처리부(72)가 감마 곡선을 수정하도록 하는 제어 신호를 출력한다. 바람직하게, 감마 보정 제어부(74)는, AE 연산에 따른 AE 타겟 부분, 즉 얼굴 영역의 밝기를 높여준다. 이는 AE 타겟 부분의 감마를 높게 설정해줌으로써 얼굴 영역의 밝기를 높여줄 수 있다. 얼굴 부분에 대한 감마를 높게 설정해주면 전체 영상에서 얼굴 영역과 비슷한 휘도에 있는 부분들이 동일하게 밝아지기 때문에, 전체적으로 밝은 이미지를 얻을 수 있다.The gamma correction controller 74 outputs a control signal for causing the image signal processor 72 to correct the gamma curve based on the result of the AE calculation of the image signal processor 71. Preferably, the gamma correction controller 74 increases the brightness of the AE target portion, that is, the face region, according to the AE operation. This can increase the brightness of the face area by setting the gamma of the AE target portion high. If the gamma of the face part is set high, the parts having the same brightness as the face area in the entire image are brightened, so that the overall bright image can be obtained.

또한, 저휘도 부분은 기존 감마 곡선을 유지하도록 하는 것이 바람직하다. 왜냐하면, 저휘도 부분의 감마를 높일 경우에는 많은 노이즈가 발생하기 때문이다. 바람직하게, 입력 영상의 콘트라스트는 낮게 제어하는데, 전체 콘트라스트를 낮추어 주면 블러한 영상이 나타나기 때문에 본 발명의 바람직한 실시 예에서 달성하고자 하는 부드럽고 화사한 영상을 얻을 수 있다. 여기서, 높고 낮은 정도는 영상 처리 효과의 정도에 따라 임의로 정할 수 있다. 즉, 높고 낮음의 정도를 특정할 필요는 없다. In addition, the low luminance portion is preferably to maintain the existing gamma curve. This is because a large amount of noise is generated when the gamma of the low luminance portion is increased. Preferably, the contrast of the input image is controlled to a low level. If the overall contrast is lowered, a blurred image appears, so that a smooth and bright image to be achieved in a preferred embodiment of the present invention can be obtained. Here, the high and low degree can be arbitrarily determined according to the degree of the image processing effect. That is, it is not necessary to specify the degree of high and low.

도 3을 참조하면, 감마 보정 제어부(74)의 제어 전의 감마 곡선(320)과 제어 후의 감마 곡선(310)이 도시되어 있다. 여기서, 가로 축은 입력 영상의 휘도 값이고 세로 축은 출력 영상의 휘도 값이다. 그리고 도면 번호 340은 영상 신호 처리부(72)의 AE 연산에 따른 AE 타겟 레벨이다. 도면에 도시된 것처럼, 제어 전의 감마 곡선(320)의 AE 타겟과 제어 후의 감마 곡선(310)의 AE 타겟이 높아진 것을 알 수 있다. 따라서, AE 타겟 레벨, 즉 검출한 얼굴 영역에서의 휘도 값 부근에서의 감마 곡선이 높아지게 되어 얼굴 영역의 밝기가 밝아진다. 얼굴 영역의 휘도 값과 동일한 휘도 대에 있는 부분의 밝기 또한 밝아지게 되어 전체적인 영상의 밝기가 밝아지는 효과를 얻을 수 있다.Referring to FIG. 3, the gamma curve 320 before the control of the gamma correction controller 74 and the gamma curve 310 after the control are shown. Here, the horizontal axis is the luminance value of the input image and the vertical axis is the luminance value of the output image. Reference numeral 340 denotes an AE target level according to an AE operation of the image signal processor 72. As shown in the figure, it can be seen that the AE target of the gamma curve 320 before the control and the AE target of the gamma curve 310 after the control are increased. Therefore, the gamma curve near the AE target level, i.e., the luminance value in the detected face region, becomes high and the brightness of the face region becomes bright. The brightness of the part in the same brightness band as the brightness value of the face area is also brightened, so that the overall brightness of the image can be brightened.

도 4는 본 발명의 또 다른 실시 예에 따른 영상 처리 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating an image processing method according to another exemplary embodiment.

도 4를 참조하면, 단계 400에서, 영상 처리 모드를 선택한다. 여기서 영상 처리 모드는 영상을 원 영상보다 더 부드럽고 화사하게 해주는 처리를 의미한다. 단계 402에서, 입력 영상에서 얼굴 영역이 검출되었는지 판단한다. 얼굴 영역이 검출된 경우에는 단계 404로 진행하여, 검출된 얼굴 영역을 중심으로 AE 연산을 수행한다. 단계 406에서, AE 연산 결과를 기초로, AE 타겟 부분에서의 감마 곡선을 보정한다. 바람직하게, AE 타겟 부분이 얼굴 영역이므로, 이 부분에 대한 밝기를 높여주는 것이 바람직하다. 즉, 얼굴 부분에 대한 감마 곡선을 높여줌으로써 얼굴 영역과 함께 이와 비슷한 휘도에 있는 주변 영역들이 동일하게 밝아진다. 따라서, 전체적인 영상에 대해 밝고 화사한 이미지를 연출할 수 있다.Referring to FIG. 4, in step 400, an image processing mode is selected. In this case, the image processing mode refers to processing that makes an image softer and brighter than an original image. In operation 402, it is determined whether a face region is detected in an input image. If the face area is detected, the process proceeds to step 404 to perform an AE operation around the detected face area. In step 406, based on the AE calculation result, the gamma curve in the AE target portion is corrected. Preferably, since the AE target portion is the face region, it is desirable to increase the brightness for this portion. In other words, by increasing the gamma curve for the face part, the area of the face and the surrounding areas having similar brightness are equally brightened. Therefore, it is possible to produce a bright and bright image for the overall image.

또한, 선택적으로, 저 휘도 대의 감마 곡선은 기존 감마와 동일하도록 유지한다. 저 휘도 대의 감마를 높여줄 경우에는 많은 노이즈가 발생할 수 있기 때문이다. Also, optionally, the gamma curve of the low luminance band is kept equal to the existing gamma. This is because a lot of noise may occur when the gamma of the low luminance band is increased.

전술한 실시예들은 본 발명이 적용될 수 있는 디지털 촬영 장치의 예로서 디지털 카메라를 중심으로 기술하였으나, 이에 한정하는 것은 아니다. 당업자라면 본 발명이 카메라 기능이 부가된 카메라폰, PDA(personal digital assistant), PMP(portable multimedia player)에도 적용될 수 있음을 이해할 것이다.The above embodiments have been described with reference to a digital camera as an example of a digital photographing apparatus to which the present invention can be applied, but is not limited thereto. Those skilled in the art will appreciate that the present invention can be applied to camera phones, personal digital assistants (PDAs), and portable multimedia players (PMPs) with added camera functionality.

한편, 본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다.Meanwhile, the present invention can be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored.

컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인 터넷을 통한 전송)의 형태로 구현하는 것을 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술 분야의 프로그래머들에 의하여 용이하게 추론될 수 있다.Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, which are also implemented in the form of carrier waves (for example, transmission over the Internet). It includes. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. And functional programs, codes and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

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

도 1은 본 발명의 일 실시 예에 따른 디지털 촬영 장치(100)의 개략적인 블록도이다.1 is a schematic block diagram of a digital photographing apparatus 100 according to an exemplary embodiment.

도 2는 도 1에 도시된 디지털 신호 처리부(70)의 블록도이다.FIG. 2 is a block diagram of the digital signal processor 70 shown in FIG. 1.

도 3은 본 발명의 다른 실시 예에 감마 곡선 보정을 설명하기 위한 도면이다. 3 is a diagram for describing gamma curve correction according to another exemplary embodiment of the present invention.

도 4는 본 발명의 또 다른 실시 예에 따른 영상 처리 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating an image processing method according to another exemplary embodiment.

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

21: 영상 처리 모드 선택부 70: 디지털 신호 처리부21: image processing mode selection unit 70: digital signal processing unit

71: 제어부 72: 영상 신호 처리부71: control unit 72: image signal processing unit

73: 얼굴 영역 검색부 74: 감마 보정 제어부73: face area search unit 74: gamma correction control unit

Claims (13)

(a) 입력 영상에서 소정의 얼굴 영역을 검출하는 단계;(a) detecting a predetermined face area in the input image; (b) 상기 검출한 얼굴 영역을 중심으로 AE 연산을 수행하는 단계; 및(b) performing an AE operation around the detected face area; And (c) 상기 AE 연산 결과를 기초로 감마 곡선을 보정하도록 제어하는 단계를 포함하는 영상 처리 방법.(c) controlling to correct a gamma curve based on the result of the AE operation. 제 1 항에 있어서,The method of claim 1, 상기 (c) 단계는,In step (c), 상기 AE 타겟 부분의 감마 곡선을 보정하도록 제어하는 것을 특징으로 하는 영상 처리 방법.And controlling to correct a gamma curve of the AE target portion. 제 2 항에 있어서The method of claim 2 상기 (c) 단계는,In step (c), 상기 AE 타겟 부분의 감마를 높게 제어하는 것을 특징으로 하는 영상 처리 방법.And controlling gamma of the AE target portion to a high level. 제 3 항에 있어서,The method of claim 3, wherein 상기 (c) 단계는,In step (c), 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 하는 영상 처 리 방법. And controlling the contrast of the input image to a low level. 제 3 항에 있어서,The method of claim 3, wherein 상기 (a) 단계 이전에,Before step (a) above, 상기 입력 영상에 대한 영상 처리 모드가 선택되는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법. The image processing method further comprises the step of selecting an image processing mode for the input image. 제 1 항에 있어서,The method of claim 1, 상기 (a) 단계에서,In the step (a), 상기 입력 영상에서 적어도 하나 이상의 얼굴 영역을 검출한 경우에 상기 (b) 내지 (c) 단계를 수행하는 것을 특징으로 하는 영상 처리 방법.And performing steps (b) to (c) when at least one face area is detected in the input image. 제 1 항 내지 제 6 항 어느 한 항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.A recording medium having recorded thereon a program for executing a method according to any one of claims 1 to 6 on a computer. 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부;A face region detector for detecting a predetermined face region in the input image; 상기 검출한 얼굴 영역을 중심으로 AE 연산을 수행하는 영상 신호 처리부; 및An image signal processor which performs an AE operation based on the detected face region; And 상기 AE 연산 결과를 기초로, 상기 영상 신호 처리부가 감마 곡선을 보정하도록 제어하는 감마 보정 제어부를 포함하는 것을 특징으로 영상 처리 장치.And a gamma correction controller configured to control the image signal processor to correct a gamma curve based on the AE calculation result. 제 8 항에 있어서,The method of claim 8, 상기 감마 보정 제어부는,The gamma correction control unit, 상기 AE 타겟 부분의 감마 곡선을 보정하도록 제어하는 것을 특징으로 하는 영상 처리 장치.And control to correct a gamma curve of the AE target portion. 제 9 항에 있어서,The method of claim 9, 상기 감마 보정 제어부는,The gamma correction control unit, 상기 AE 타겟 부분의 감마를 높게 제어하는 것을 특징으로 하는 영상 처리 장치.And controlling gamma of the AE target portion to a high level. 제 11 항에 있어서,The method of claim 11, 상기 감마 보정 제어부는,The gamma correction control unit, 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 하는 영상 처리 장치.And control the contrast of the input image low. 제 8 항에 있어서,The method of claim 8, 상기 입력 영상에 대한 영상 처리 모드를 선택하는 영상 처리 모드 선택부를 더 포함하는 것을 특징으로 하는 영상 처리 장치And an image processing mode selector configured to select an image processing mode for the input image. 제 8 항 내지 제 12 항 중 어느 한 항에 따른 영상 처리 장치를 포함하는 디지털 촬영 장치.A digital photographing apparatus comprising the image processing apparatus according to any one of claims 8 to 12.
KR1020080071893A 2008-07-23 2008-07-23 Image processing method and apparatus, and digital photographing apparatus using thereof KR101448539B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080071893A KR101448539B1 (en) 2008-07-23 2008-07-23 Image processing method and apparatus, and digital photographing apparatus using thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080071893A KR101448539B1 (en) 2008-07-23 2008-07-23 Image processing method and apparatus, and digital photographing apparatus using thereof

Publications (2)

Publication Number Publication Date
KR20100010836A true KR20100010836A (en) 2010-02-02
KR101448539B1 KR101448539B1 (en) 2014-10-08

Family

ID=42085423

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080071893A KR101448539B1 (en) 2008-07-23 2008-07-23 Image processing method and apparatus, and digital photographing apparatus using thereof

Country Status (1)

Country Link
KR (1) KR101448539B1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4665780B2 (en) * 2006-01-30 2011-04-06 ソニー株式会社 Face importance degree determination apparatus, method, and imaging apparatus
JP2007318563A (en) 2006-05-26 2007-12-06 Olympus Imaging Corp Camera, image discrimination method, exposure control method, program, and recording medium
JP5319078B2 (en) 2006-07-07 2013-10-16 オリンパスイメージング株式会社 Camera, camera image processing method, program, and recording medium

Also Published As

Publication number Publication date
KR101448539B1 (en) 2014-10-08

Similar Documents

Publication Publication Date Title
JP5136669B2 (en) Image processing apparatus, image processing method, and program
US9578260B2 (en) Digital photographing apparatus and method of controlling the digital photographing apparatus
US9113075B2 (en) Image processing method and apparatus and digital photographing apparatus using the same
JP2008288975A (en) Imaging apparatus, imaging method and imaging program
US8648960B2 (en) Digital photographing apparatus and control method thereof
KR20110089665A (en) Digital image process apparatus, method for image processing and storage medium thereof
KR20100055938A (en) Method and apparatus for displaying scene information, and digital photographing apparatus thereof
KR20100006488A (en) Photographing control method and apparatus for prohibiting flash
JP2008104069A (en) Digital camera and program of digital camera
JP4853414B2 (en) Imaging apparatus, image processing apparatus, and program
JP5370555B2 (en) Imaging apparatus, imaging method, and program
KR101797040B1 (en) Digital photographing apparatus and control method thereof
JP2018098670A (en) Imaging device, control method of imaging device, and program
KR20100023597A (en) Photographing control method and apparatus using stroboscope
KR20100099008A (en) Auto focusing method and apparatus, and digital photographing apparatus using thereof
US8260083B2 (en) Image processing method and apparatus, and digital photographing apparatus using the same
KR101605769B1 (en) Image processing method and apparatus, and digital photographing apparatus using thereof
KR20100098122A (en) Image processing method and apparatus, and digital photographing apparatus using thereof
KR101571331B1 (en) Method and apparatus for displaying luminance and digital photographing apparatus using thereof
KR101448539B1 (en) Image processing method and apparatus, and digital photographing apparatus using thereof
JP2015019416A (en) Imaging apparatus, control method of the same, and program
KR101817658B1 (en) Digital photographing apparatus splay apparatus and control method thereof
KR20100096494A (en) White ballance control method and apparatus using a flash, and digital photographing apparatus using thereof
KR101416236B1 (en) Digital photographing apparatus for performing auto-focusing automatically and method of controlling the same
KR20100098118A (en) Image processing method and apparatus, and digital photographing apparatus using thereof

Legal Events

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

Payment date: 20170927

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee