KR101448539B1 - 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
KR101448539B1
KR101448539B1 KR1020080071893A KR20080071893A KR101448539B1 KR 101448539 B1 KR101448539 B1 KR 101448539B1 KR 1020080071893 A KR1020080071893 A KR 1020080071893A KR 20080071893 A KR20080071893 A KR 20080071893A KR 101448539 B1 KR101448539 B1 KR 101448539B1
Authority
KR
South Korea
Prior art keywords
image
image processing
unit
gamma
input image
Prior art date
Application number
KR1020080071893A
Other languages
Korean (ko)
Other versions
KR20100010836A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

본 발명은 영상 처리 방법 및 장치에 관한 것으로, 본 발명의 일 실시 예에 따른 영상 처리 방법은 감마 보정을 이용하여 영상 전체가 아닌 얼굴 영역과 이와 비슷한 휘도에 있는 영역에 대해서 화질을 부드럽고 소프트하게 처리함으로써, 전체적인 이미지의 화사함의 효과를 극대화시킬 수 있다.The present invention relates to an image processing method and an image processing method, and an image processing method according to an embodiment of the present invention uses a gamma correction to smooth the image quality smoothly and softly on a face region and a region having similar luminance, Thereby maximizing the effect of the brightness of the whole image.

얼굴, 감마 보정, 영상 처리 Face, gamma correction, image processing

Description

영상 처리 방법 및 장치, 이를 이용한 디지털 촬영 장치{Image processing method and apparatus, and digital photographing apparatus using thereof}TECHNICAL FIELD The present invention relates to an image processing method and apparatus, and a digital photographing apparatus using the image processing method and apparatus.

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

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

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

이러한 사용자의 니즈에 따라, 최근 출시되고 있는 디지털 카메라에는 촬영한 인물 사진이 화사하게 나오게 하는 효과, 소위 "화사 모드"라는 기능을 탑재하 고 있다. 이러한 "화사 모드"를 설정하고 인물을 촬영한 경우에는 전체적으로 밝고 화사한 분위기의 사진을 얻을 수 있으며, 특히 얼굴의 피부를 부드럽고 소프트하게 처리해준다.Depending on the needs of these users, recently released digital cameras are equipped with a so-called "color mode" function that allows the photographed portrait to appear in full bloom. If you set up the "Color Mode" and take a picture of a person, you can get a picture of a bright and bright environment overall, especially the skin of your face is soft and soft.

하지만, 이러한 "화사 모드"는 촬영 이미지에서 얼굴 검출을 수행하고, 얼굴이 있는 경우에는 촬영된 전체 이미지를 블러(Blur) 처리를 하기 때문에 전체 이미지의 해상도가 떨어지는 문제점이 있다. 특히 인물의 얼굴 전체에 대해서 블러 처리를 하기 때문에, 얼굴 전체의 선명도가 떨어지는 현상이 발생한다.However, such "bright mode" performs face detection in the photographed image, and when there is a face, the entire photographed image is subjected to blur processing. In particular, blurring is performed on the entire face of the person, so that the sharpness of the entire face is lowered.

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

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

상기 기술적 과제를 달성하기 위한, 본 발명의 일 실시 예에 따른 영상 처리 방법은 입력 영상에서 소정의 얼굴 영역을 검출하는 단계; 상기 검출한 얼굴 영역을 중심으로 자동노출(auto exposure, AE)을 수행하는 단계; 상기 검출한 얼굴 영역에 대한 휘도 값을 포함하는 AE 타겟 레벨을 결정하는 단계; 및 상기 결정된 AE 타겟 레벨의 휘도 값을 기준으로 감마 곡선의 감마 값을 증가시키는 단계를 포함한다.
상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 한다.
상기 입력 영상에 대한 영상 처리 모드가 선택되는 단계를 더 포함하는 것을 특징으로 한다.
상기 다른 기술적 과제를 달성하기 위한, 본 발명의 다른 실시 예에 따른 영상 처리 장치는 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부; 상기 검출한 얼굴 영역을 중심으로 자동노출(auto exposure, AE)을 수행하고, 상기 검출한 얼굴 영역에 대한 휘도 값을 포함하는 AE 타겟 레벨을 결정하는 영상 신호 처리부; 및 상기 결정된 AE 타겟 레벨의 휘도 값을 기준으로 감마 곡선의 감마 값을 증가시키는 감마 보정 제어부를 포함하는 것을 특징으로 한다.
상기 감마 보정 제어부는, 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 한다.
상기 입력 영상에 대한 영상 처리 모드를 선택하는 영상 처리 모드 선택부를 더 포함하는 것을 특징으로 한다.
상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 상기 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체를 포함한다.
According to an aspect of the present invention, there is provided an image processing method including: detecting a predetermined face region in an input image; Performing auto exposure (AE) around the detected face area; Determining an AE target level that includes a luminance value for the detected face region; And increasing the gamma curve gamma value based on the determined luminance value of the AE target level.
And the contrast of the input image is controlled to be low.
And selecting an image processing mode for the input image.
According to another aspect of the present invention, there is provided an image processing apparatus including a face region detecting unit detecting a face region from an input image; An image signal processing unit for performing auto exposure (AE) around the detected face region and determining an AE target level including a luminance value for the detected face region; And a gamma correction controller for increasing a gamma value of the gamma curve based on the determined luminance value of the AE target level.
And the gamma correction control unit controls the contrast of the input image to be low.
And an image processing mode selection unit for selecting an image processing mode for the input image.
According to another aspect of the present invention, there is provided a recording medium on which a program for executing the method according to another embodiment of the present invention is recorded.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

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

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

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.Hereinafter, preferred 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 disturb the gist of the present invention.

또한, 이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 본 발명을 가장 적절하게 표현할 수 있도록 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다. In addition, terms and words used in the following description and claims should not be construed to be limited to ordinary or dictionary meanings, but are to be construed in a manner consistent with the technical idea of the present invention As well as the concept.

도 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. Fig. 2 is a block diagram for explaining the digital signal processing unit 70 of the digital photographing apparatus.

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

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

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

광학부(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 section 10 reaches the light-receiving surface of the image pickup element 15 and forms an image of the object. The image pickup element 15 is a photoelectric conversion element that converts an optical signal into an electric signal. For example, a CCD (Charge Coupled Device) or a CIS (Complementary Metal Oxide Semiconductor Image Sensor) can be used. The sensitivity of the image pickup element 15 can be adjusted by the image pickup element controller 16. The image pickup element control unit 16 can also control the image pickup element 15 in accordance with a control signal automatically generated by the video signal inputted in real time or a control signal manually inputted by the user's operation.

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

영상 처리 모드 선택부(21)는 사용자로부터 촬상된 영상에 대한 영상 처리 모드를 입력받는다. 여기서, 영상 처리 모드는 촬상된 영상을 화사하게 아름답게 표현해주는 모드이다. 또한, 사용자는 영상 처리 모드 선택부(21)를 통해 영상 처리의 강도, 예를 들면 강한 처리, 중간 처리, 약한 처리 등을 선택할 수도 있다. 따라서, 사용자는 인물 사진의 영상 처리 여부와 강도를 선택할 수 있다. 이상 영상 처리 모드 선택부(21)를 조작부(20)와 분리하여 설명하였으나, 전술한 영상 처리 모드 선택부(21)의 기능을 조작부(20)에서 수행할 수도 있다.The image processing mode selection unit 21 receives the image processing mode for the image captured by the user. Here, the image processing mode is a mode for expressing a captured image beautifully and beautifully. In addition, the user can select the intensity of the image processing through the image processing mode selection unit 21, for example, strong processing, intermediate processing, and weak processing. Thus, the user can select whether to process the image of the portrait or not and the strength. The abnormal image processing mode selection unit 21 is separated from the operation unit 20. However, the function 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 includes a program storage unit 30 for storing programs such as an operating system and an application system for driving the digital photographing apparatus, a buffer storage unit 40 for temporarily storing data or result data necessary for the operation, And a data storage unit 50 for storing various information necessary for the program, including an image file including a video signal.

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

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

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

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

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

영상 신호 처리부(72)는 촬상 소자(15)로부터 입력된 영상 신호를 디지털 신호로 변환한다. 또한, 인간의 시각에 맞게 영상 신호를 변환하도록 감마 보정(Gamma Correction)을 수행한다. 또한, 색 필터 배열 보간(color filter array interpolation), 색 매트릭스(color matrix), 색 보정(color correction), 색 향상(color enhancement) 등의 영상 신호 처리를 수행한다. The image signal processing unit 72 converts the image signal input from the image pickup element 15 into a digital signal. In addition, gamma correction is performed to convert a video signal according to 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, the video signal processing unit 72 may perform an auto white balance or an auto exposure algorithm when the function is set. Further, the size of the image data is adjusted using a scaler, and the image data is compressed to form an image file of a predetermined format. Conversely, the image file is decompressed. The video signal processing unit 72 may perform the above-described video signal processing on the video signal input in real-time in the live-view mode before photographing and the video signal input by the shutter-release signal. At this time, different video signal processing may be performed for each of the video signals.

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

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

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

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

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

감마 보정 제어부(74)는 영상 신호 처리부(71)의 AE 연산 결과를 기초로, 영상 신호 처리부(72)가 감마 곡선을 수정하도록 하는 제어 신호를 출력한다. 바람직하게, 감마 보정 제어부(74)는, AE 연산에 따른 AE 타겟 부분, 즉 얼굴 영역의 밝기를 높여준다. 이는 AE 타겟 부분의 감마를 높게 설정해줌으로써 얼굴 영역의 밝기를 높여줄 수 있다. 얼굴 부분에 대한 감마를 높게 설정해주면 전체 영상에서 얼굴 영역과 비슷한 휘도에 있는 부분들이 동일하게 밝아지기 때문에, 전체적으로 밝은 이미지를 얻을 수 있다.The gamma correction control unit 74 outputs a control signal for causing the video signal processing unit 72 to correct the gamma curve based on the AE calculation result of the video signal processing unit 71. [ Preferably, the gamma correction control section 74 increases the brightness of the AE target portion, i.e., the face region, according to the AE calculation. 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 in the luminance similar to the face area in the whole image become the same bright, so that the bright image as a whole can be obtained.

또한, 저휘도 부분은 기존 감마 곡선을 유지하도록 하는 것이 바람직하다. 왜냐하면, 저휘도 부분의 감마를 높일 경우에는 많은 노이즈가 발생하기 때문이다. 바람직하게, 입력 영상의 콘트라스트는 낮게 제어하는데, 전체 콘트라스트를 낮추어 주면 블러한 영상이 나타나기 때문에 본 발명의 바람직한 실시 예에서 달성하고자 하는 부드럽고 화사한 영상을 얻을 수 있다. 여기서, 높고 낮은 정도는 영상 처리 효과의 정도에 따라 임의로 정할 수 있다. 즉, 높고 낮음의 정도를 특정할 필요는 없다. In addition, it is desirable that the low brightness portion maintains the existing gamma curve. This is because, when the gamma of the low brightness portion is increased, a lot of noise occurs. Preferably, the contrast of the input image is controlled to be low, and a blurred image is obtained by lowering the overall contrast, so that a smooth and bright image to be achieved in the preferred embodiment of the present invention can be obtained. Here, the high and low levels can be arbitrarily determined depending on the degree of 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, a gamma curve 320 before the control of the gamma correction controller 74 and a 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 the AE operation of the video signal processing unit 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 higher. Therefore, the gamma curve at the AE target level, that is, in the vicinity of the luminance value in the detected face area becomes higher, and the brightness of the face area becomes brighter. The brightness of the portion in the same luminance band as the luminance value of the face region also becomes brighter, and the brightness of the entire image is brightened.

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

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

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

전술한 실시예들은 본 발명이 적용될 수 있는 디지털 촬영 장치의 예로서 디지털 카메라를 중심으로 기술하였으나, 이에 한정하는 것은 아니다. 당업자라면 본 발명이 카메라 기능이 부가된 카메라폰, PDA(personal digital assistant), PMP(portable multimedia player)에도 적용될 수 있음을 이해할 것이다.Although the embodiments described above 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, the present invention is not limited thereto. Those skilled in the art will appreciate that the present invention is also applicable to a camera phone, a personal digital assistant (PDA), and a portable multimedia player (PMP) with a camera function.

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

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

이제까지 본 발명에 대하여 바람직한 실시 예를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 본 발명을 구현할 수 있음을 이해할 것이다. 그러므로 상기 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 한다.The present invention has been described above with reference to preferred embodiments. It will be understood by those skilled in the art that the present invention may be embodied in various other forms without departing from the spirit or essential characteristics thereof. Therefore, the above-described embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is indicated by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof 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 embodiment of the present invention.

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

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

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

<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art

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

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

73: 얼굴 영역 검색부 74: 감마 보정 제어부73: Face area searching unit 74: Gamma correction control unit

Claims (13)

입력 영상에서 소정의 얼굴 영역을 검출하는 단계;Detecting a predetermined face area in an input image; 상기 검출한 얼굴 영역을 중심으로 자동노출(auto exposure, AE)을 수행하는 단계; Performing auto exposure (AE) around the detected face area; 상기 검출한 얼굴 영역에 대한 휘도 값을 포함하는 AE 타겟 레벨을 결정하는 단계; 및Determining an AE target level that includes a luminance value for the detected face region; And 상기 결정된 AE 타겟 레벨의 휘도 값을 기준으로 감마 곡선의 감마 값을 증가시키는 단계를 포함하는 영상 처리 방법.And increasing a gamma value of the gamma curve based on the determined luminance value of the AE target level. 삭제delete 삭제delete 제 1 항에 있어서,The method according to claim 1, 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 하는 영상 처리 방법. Wherein the contrast of the input image is controlled to be low. 제 1 항에 있어서,The method according to claim 1, 상기 입력 영상에 대한 영상 처리 모드가 선택되는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법. Further comprising the step of selecting an image processing mode for the input image. 삭제delete 제 1 항, 제 4 항 내지 제 5 항 중 어느 한 항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.6. A recording medium on which a program for causing a computer to execute the method according to any one of claims 1 to 5 is recorded. 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부;A face area detecting unit for detecting a predetermined face area in the input image; 상기 검출한 얼굴 영역을 중심으로 자동노출(auto exposure, AE)을 수행하고, 상기 검출한 얼굴 영역에 대한 휘도 값을 포함하는 AE 타겟 레벨을 결정하는 영상 신호 처리부; 및An image signal processing unit for performing auto exposure (AE) around the detected face region and determining an AE target level including a luminance value for the detected face region; And 상기 결정된 AE 타겟 레벨의 휘도 값을 기준으로 감마 곡선의 감마 값을 증가시키는 감마 보정 제어부를 포함하는 것을 특징으로 하는 영상 처리 장치.And a gamma correction controller for increasing a gamma value of the gamma curve based on the determined luminance value of the AE target level. 삭제delete 삭제delete 제 8 항에 있어서,9. The method of claim 8, 상기 감마 보정 제어부는,Wherein the gamma correction control unit includes: 상기 입력 영상의 콘트라스트를 낮게 제어하는 것을 특징으로 하는 영상 처리 장치.And controls the contrast of the input image to be low. 제 8 항에 있어서,9. The method of claim 8, 상기 입력 영상에 대한 영상 처리 모드를 선택하는 영상 처리 모드 선택부를 더 포함하는 것을 특징으로 하는 영상 처리 장치.Further comprising an image processing mode selection unit for selecting an image processing mode for the input image. 제 8 항, 제 11 항 내지 제 12 항 중 어느 한 항에 따른 영상 처리 장치를 포함하는 디지털 촬영 장치.A digital photographing apparatus comprising the image processing apparatus according to any one of claims 8 to 11.
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 KR20100010836A (en) 2010-02-02
KR101448539B1 true 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)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070078819A (en) * 2006-01-30 2007-08-02 소니 가부시끼 가이샤 Face importance level determining apparatus and method, and image pickup apparatus
JP2007318563A (en) 2006-05-26 2007-12-06 Olympus Imaging Corp Camera, image discrimination method, exposure control method, program, and recording medium
JP2008035480A (en) 2006-07-07 2008-02-14 Olympus Imaging Corp Camera, image processing method of camera, program, recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070078819A (en) * 2006-01-30 2007-08-02 소니 가부시끼 가이샤 Face importance level determining apparatus and method, and image pickup apparatus
JP2007318563A (en) 2006-05-26 2007-12-06 Olympus Imaging Corp Camera, image discrimination method, exposure control method, program, and recording medium
JP2008035480A (en) 2006-07-07 2008-02-14 Olympus Imaging Corp Camera, image processing method of camera, program, recording medium

Also Published As

Publication number Publication date
KR20100010836A (en) 2010-02-02

Similar Documents

Publication Publication Date Title
JP5136669B2 (en) Image processing apparatus, image processing method, and program
KR101817657B1 (en) Digital photographing apparatus splay apparatus and control method thereof
KR101411910B1 (en) Digital photographing apparatus and method for controlling the same
KR101692401B1 (en) Image process method and apparatus
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
US9113075B2 (en) Image processing method and apparatus and digital photographing apparatus using the same
JP5624809B2 (en) Image signal processing device
KR101446779B1 (en) Photographing control method and apparatus for prohibiting flash
US9025050B2 (en) Digital photographing apparatus and control method thereof
US20140192246A1 (en) Digital photographing apparatus, method of controlling the same, and computer-readable recording medium
JP4853414B2 (en) Imaging apparatus, image processing apparatus, and program
JP5669474B2 (en) Imaging apparatus and image reproduction apparatus
JP5370555B2 (en) Imaging apparatus, imaging method, and program
JP2010199727A (en) Imager
JP6108680B2 (en) Imaging apparatus, control method therefor, program, and storage medium
KR101795600B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable storage medium for performing the method
JP2018098670A (en) Imaging device, control method of imaging device, and program
US20100220230A1 (en) Method and apparatus for controlling auto focus, and digital photographing apparatus using the method and apparatus
KR101445613B1 (en) Image processing method and apparatus, and digital photographing apparatus using thereof
KR101605769B1 (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
JP2018195938A (en) Imaging apparatus, control method of imaging apparatus, and program
KR101448539B1 (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
KR20110103216A (en) An apparatus and a method for processing image, and a computer-readable storage medium

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