KR20100098122A - 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
KR20100098122A
KR20100098122A KR1020090017135A KR20090017135A KR20100098122A KR 20100098122 A KR20100098122 A KR 20100098122A KR 1020090017135 A KR1020090017135 A KR 1020090017135A KR 20090017135 A KR20090017135 A KR 20090017135A KR 20100098122 A KR20100098122 A KR 20100098122A
Authority
KR
South Korea
Prior art keywords
face
image processing
image
detected
distance
Prior art date
Application number
KR1020090017135A
Other languages
Korean (ko)
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 KR1020090017135A priority Critical patent/KR20100098122A/en
Priority to US12/713,450 priority patent/US8570429B2/en
Publication of KR20100098122A publication Critical patent/KR20100098122A/en
Priority to US14/056,347 priority patent/US9113075B2/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00326Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus
    • H04N1/00328Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus with an apparatus processing optically-read information
    • H04N1/00336Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a data reading, recognizing or recording apparatus, e.g. with a bar-code apparatus with an apparatus processing optically-read information with an apparatus performing pattern recognition, e.g. of a face or a geographic feature
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • G06T2207/20012Locally adaptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

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

Abstract

PURPOSE: A method and a device for processing an image, and a digital photographing device using the same are provided to prevent a face which is in far distance and faces which is out of focus to be dimmed. CONSTITUTION: A predetermined face area is detected in an input image(504). The distance to the detected face area is calculated(506). If a half shutter and a photographing shutter is pressed by a user, an AF is performed respectively about the plurality of detected faces(508). A face corresponding to a AF centered subject is determined(510). A differential image processing about the detected face area according to the calculated distance is performed(512).

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 an image quality of a face portion during image capturing.

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

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

하지만, 촬영한 인물 사진이 화사하게 나오는 효과를 주는 기술들은 영상에서 인식한 모든 인물들에 대해 동일한 강도로 영상 처리를 한다. 이 경우, 여러 명이 같은 선상이 아닌 원근 거리상에 존재하는 경우, 또는 근거리에 있는 AF 수행으로 근거리에 있는 얼굴에 포커스가 맞은 경우에는 원거리에 있는 얼굴 또는 포커스가 맞지 않은 얼굴의 경우에는 동일한 영상 처리, 예를 들면 블러 처리로 인하여 더욱 흐리게 되는 문제점이 있다. However, the technologies that make the photographs of people look brighter perform image processing with the same intensity for all the people recognized in the image. In this case, the same image processing is performed for a far face or an unfocused face when several people are located at a far distance not on the same line, or when a near face is in focus by performing AF at a near distance. For example, there is a problem of blurring further due to blur processing.

본 발명은 상기 종래기술의 문제점을 해결하기 위해 안출된 것으로, 복수의 얼굴에 대해 영상 처리를 수행하는 경우에 동일한 강도로 처리하지 않고, 각각의 얼굴의 거리별, AF 중심 피사체인 얼굴과 그렇지 않은 얼굴별로 영상 처리 강도를 차별적으로 적용하여 원거리에 있는 얼굴 또는 포커스가 맞지 않은 얼굴들이 더욱 흐리게 되는 것을 방지할 수 있는 영상 처리 방법 및 장치를 제공하는 데 목적이 있다.The present invention has been made to solve the above-mentioned problems of the prior art, and does not process the same intensity when performing image processing on a plurality of faces, and faces that are not AF center subjects for each distance of each face, It is an object of the present invention to provide an image processing method and apparatus which can prevent a far face or an out of focus face from being further blurred by applying image processing intensity for each face.

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

상기 기술적 과제를 달성하기 위한, 본 발명의 일 실시 예에 따른 영상 처리 방법은 입력 영상에서 소정의 얼굴 영역을 검출하는 단계; 상기 검출한 얼굴 영역까지의 거리를 산출하는 단계; 및 상기 산출한 거리에 따라 상기 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of processing an image, the method including: detecting a predetermined face region from an input image; Calculating a distance to the detected face area; And controlling to perform differential image processing on the detected face area according to the calculated distance.

바람직하게, 상기 영상 처리 방법은 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 것을 특징으로 한다.The image processing method may detect at least two or more face regions in the input image.

바람직하게, 상기 영상 처리 방법은 상기 검출한 얼굴 영역에 대한 오토 포커싱을 수행하는 단계; 및 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역을 판단하는 단계를 더 포함하고,The image processing method may further include performing auto focusing on the detected face region; And determining a face area corresponding to the auto focusing center subject according to the auto focusing result.

상기 제어 단계는 상기 산출한 거리와 판단 결과에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 것을 특징으로 한다.The controlling may be performed to perform differential image processing on the at least two face areas according to the calculated distance and the determination result.

바람직하게, 상기 영상 처리 방법은 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 단계를 더 포함하는 것을 특징으로 한다.The image processing method may further include image processing the at least two or more face regions at different processing intensities.

바람직하게, 상기 검출 단계 이전에, 상기 입력 영상에 대한 영상 처리 모드와 영상 처리 강도가 선택되는 단계를 더 포함하는 것을 특징으로 한다.The method may further include selecting an image processing mode and an image processing intensity for the input image before the detecting step.

바람직하게, 상기 영상 처리는 블러링(blurring)인 것을 특징으로 한다.Preferably, the image processing is characterized in that the blur (blurring).

본 발명의 다른 실시 예에 따른 영상 처리 방법은 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 단계; 상기 검출한 각각 얼굴 영역까지의 거리를 산출하는 단계; 상기 검출한 적어도 2 이상의 얼굴 영역에 대해 오토 포커싱을 수행하는 단계; 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역과 상기 산출한 거리를 기초로 상기 적어도 2 이상의 얼굴 영역에 대한 차별적 영상 처리를 수행하도록 제어하는 단계; 및 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 단계를 포함한다.In accordance with another aspect of the present invention, an image processing method includes detecting at least two face areas from an input image; Calculating a distance to each detected face area; Performing auto focusing on the detected at least two face areas; Controlling to perform differential image processing on the at least two or more face regions based on the face region corresponding to the auto focusing center subject and the calculated distance according to the result of performing the auto focusing; And image processing the at least two or more face areas at different processing intensities.

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 영상 처리 장치는 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부; 상기 검출한 얼굴 영역까지의 거리를 산출하는 거리 산출부; 및 상기 산출한 거리에 따라 상기 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 제어부를 포함한다.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; A distance calculator configured to calculate a distance to the detected face region; And a controller configured to perform differential image processing on the detected face region according to the calculated distance.

바람직하게, 상기 얼굴 영역 검출부는 상기 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 것을 특징으로 한다.Preferably, the face area detection unit detects at least two or more face areas in the input image.

바람직하게, 상기 검출한 얼굴 영역에 대한 오토 포커싱을 수행하는 오토 포커싱 수행부를 더 포함하고,Preferably, the apparatus further includes an auto focusing unit that performs auto focusing on the detected face region,

상기 제어부는 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역을 판단하고, 상기 산출한 거리와 판단 결과에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 것을 특징으로 한다.The controller determines a face region corresponding to an autofocusing center subject according to the autofocusing result, and controls to perform differential image processing on the at least two or more face regions according to the calculated distance and the determination result. It is done.

바람직하게, 상기 영상 처리 장치는 상기 제어부의 제어에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 영상 처리부를 더 포함하는 것을 특징으로 한다.The image processing apparatus may further include an image processing unit configured to process the image at different processing intensities of the at least two or more face areas under the control of the controller.

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

바람직하게, 상기 영상 처리는, 블러링(blurring)인 것을 특징으로 한다.Preferably, the image processing is characterized in that the blur (blurring).

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 영상 처리 장치는 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 얼굴 영역 검출부; 상기 검출한 각각 얼굴 영역까지의 거리를 산출하는 거리 산출부; 상기 검출한 적어도 2 이상의 얼굴 영역에 대해 오토 포커싱을 수행하는 오토 포커싱 수행부; 및 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하 는 얼굴 영역과 상기 산출한 거리를 기초로 상기 적어도 2 이상의 얼굴 영역에 대한 차별적 영상 처리를 수행하도록 제어하는 제어부; 및 상기 제어부의 제어에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 영상 처리부를 포함한다.According to another aspect of the present invention, there is provided an image processing apparatus, including: a face region detector configured to detect at least two or more face regions from an input image; A distance calculator configured to calculate a distance to each of the detected face regions; An auto focusing unit performing auto focusing on the detected at least two face areas; And a controller configured to perform differential image processing on the at least two face areas based on the calculated face distance and the face area corresponding to the auto focusing center subject according to the auto focusing result. And an image processor configured to image the at least two or more face areas at different processing intensities under the control of the controller.

상기 또 다른 기술적 과제를 달성하기 위한, 본 발명의 또 다른 실시 예에 따른 상기 영상 처리 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체를 포함한다.In order to achieve the another technical problem, a recording medium recording a program for executing the image processing 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.

본 발명의 일 실시 예에 따른 영상 처리 방법은 복수의 얼굴에 대해 영상 처리를 수행하는 경우에 동일한 강도로 처리하지 않고, 각각의 얼굴의 거리별, AF 중심 피사체인 얼굴과 그렇지 않은 얼굴별로 영상 처리 강도를 차별적으로 적용하여 원거리에 있는 얼굴 또는 포커스가 맞지 않은 얼굴들이 더욱 흐리게 되는 것을 방지할 수 있다.The image processing method according to an embodiment of the present invention does not process the same intensity when performing image processing on a plurality of faces, and processes images by distances of each face, faces of AF-focused subjects, and faces not otherwise. Differentiation of intensity can be used to prevent far or far out of focus faces from blurring further.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시 예들을 상세히 설명한다. 하기의 설명에서는 본 발명에 따른 동작을 이해하는데 필요한 부분만이 설명되며 그 이외 부분의 설명은 본 발명의 요지를 흩트리지 않도록 생략될 수 있다.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, 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. 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 operation unit 20 is a shutter-release button for inputting a shutter-release signal for taking a picture by exposing the imaging device 15 to light for a predetermined time, a power button 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 beautifully and beautifully, in a preferred embodiment of the present invention, only the detected face region is blurred, more preferably only the skin color region of the face region is blurred. Do In addition, the user may select an image processing intensity, 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. As described above, the image processing mode selector 21 is separated from the operation unit 20, but the above-described functions of the image processing mode selector 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)는 입력되는 영상 신호를 처리하고, 이에 따라 또는 외부 입력 신호에 따라 각 구성부들을 제어하는 디지털 신호 처리부(70)를 포함한다. The digital camera 100 includes a digital signal processor 70 for processing an input image signal and controlling each component according to the input signal or an external input signal.

디지털 신호 처리부(70)에 관하여 도 2를 함께 참조하여 설명한다. The digital signal processing unit 70 will be described with reference to FIG. 2 together.

도 2를 참조하면, 디지털 신호 처리부(70)는 제어부(71), 얼굴 영역 검출부(72), 거리 산출부(73), AF 수행부(74) 및 영상 처리부(75)를 포함한다. 여기서, 디지털 신호 처리부와 특허청구범위에서 사용된 영상 처리 장치는 동일한 의미로 해석하여야 한다.2, the digital signal processor 70 includes a controller 71, a face region detector 72, a distance calculator 73, an AF performer 74, and an image processor 75. 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)를 통해 입력된 영상에서 얼굴 영역을 검출한다. 구체적으로, 얼굴 영역 검출부(72)는 얼굴에 포함되는 얼굴의 특징을 갖는 영역, 예를 들면 살색을 가지는 영역, 눈동자를 가지는 영역, 얼굴의 형상을 가지는 영역 등을 얼굴 영역으로서 검출한다. 바람직하게, 얼굴 영역 검출부(72)는 검출한 얼굴 영역에서 피부색 영역만을 추출할 수도 있다.The face area detector 72 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. Preferably, the face region detector 72 may extract only the skin color region from the detected face region.

얼굴 영역 검출 기법 내지는 알고리즘은 많은 기술이 존재하며, 본 발명의 바람직한 실시 예에 따른 얼굴 검출에 사용할 수 있다. 예를 들면 움직임 벡터 기법, 특징점 검출 기법, 에이다부스트(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.

거리 산출부(73)는 얼굴 영역 검출부(72)가 검출한 얼굴 영역까지의 거리를 산출한다. 여기서, 거리 산출은 검출한 각각의 얼굴 영역에 대해서 수행한다. 피사체와의 거리 계산은 종래기술들을 통해 수행할 수 있다. 예를 들면, 얼굴 영역 검출부(72)에서 검출한 얼굴의 픽셀수와 CCD 사이즈, 렌즈 초점 거리, 미리 저장된 얼굴 사이즈로부터 피사체까지의 거리를 계산할 수 있다. 거리 산출과 관련하여 전술한 방법뿐만 아니라 다른 방법을 사용하여 계산할 수 있음은 물론이다. The distance calculator 73 calculates the distance to the face region detected by the face region detector 72. Here, distance calculation is performed for each detected face area. Calculation of the distance to the subject can be performed through the prior art. For example, the number of pixels of the face detected by the face region detection unit 72, the CCD size, the lens focal length, and the distance from the previously stored face size to the subject can be calculated. It is a matter of course that the calculation may be performed using other methods as well as the method described above with respect to distance calculation.

제어부(71)는 거리 산출부(73)가 산출한 거리에 따라 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어한다. 즉, 입력 영상에서 복수의 얼굴 영역이 검출된 경우, 근거리에 있는 얼굴과 원거리에 있는 얼굴에 대해 서로 다른 영상 처리, 즉 블러 처리를 하도록 제어한다. 따라서, 근거리와 원거리에 있는 얼굴들에 대해 동일한 강도의 블러 처리를 함으로써 원거리에 있는 얼굴이 더욱 흐리게 되는 것을 방지할 수 있다. The controller 71 controls to perform differential image processing on the detected face area according to the distance calculated by the distance calculator 73. That is, when a plurality of face regions are detected in the input image, the control unit performs different image processing, that is, blur processing, on a face at a distance and a face at a distance. Therefore, by performing the same intensity blur processing on the faces near and far, the far face can be prevented from being blurred more.

AF 수행부(74)는 얼굴 영역 검출부(72)가 검출한 얼굴 영역에 대한 오토 포커싱을 수행한다. AF 수행부(74)는 얼굴 영역 검출부(72)가 검출한 얼굴 영역들에 대해 AF 처리를 수행한다. 일반적으로, AF 처리는 콘트라스트 검출 방식에 의한 AF처리, 팬포커스에 의한 AF처리, 위상차 AF 등을 수행할 수 있다. 예를 들면 콘트라스트 검출 방식에 의한 AF는 AF를 실행하기로 결정된 AF 영역, 즉, 검출된 얼굴 영역들의 콘트라스트 값이 가장 높아지는 렌즈위치로 포커스 렌즈를 이동시킨다. 즉, 포커스 렌즈를 움직여 가고, 그때의 CCD의 콘트라스트를 전기신호로 변환하고 그 파형을 해석해서 고주파성분이 가장 커지는 렌즈위치에 포커스 렌즈를 맞 추어 핀트를 맞춘다. 여기서, 오토포커싱 수행부(74)는 검출한 얼굴 영역들에 AF값을 제어부(71)에 출력한다.The AF performer 74 performs auto focusing on the face area detected by the face area detector 72. The AF performer 74 performs AF processing on the face areas detected by the face area detector 72. In general, the AF processing may perform AF processing by contrast detection method, AF processing by pan focus, phase difference AF, and the like. For example, the AF by the contrast detection method moves the focus lens to the lens area where the contrast value of the detected AF areas, that is, the detected face areas, is the highest. That is, the focus lens is moved, the contrast of the CCD is then converted into an electrical signal, the waveform is analyzed, and the focus lens is aligned to the lens position where the high frequency component is the largest. Here, the auto focusing unit 74 outputs an AF value to the controller 71 in the detected face areas.

제어부(71)는 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역을 판단하고, 거리 산출부(73)에서 산출한 거리와 AF 중심 피사체에 해당하는 얼굴 영역을 판단하고, 이에 따라 차별적 영상 처리를 수행하도록 제어한다.The controller 71 determines a face area corresponding to the auto focusing center subject according to the result of the auto focusing, and determines the distance calculated by the distance calculating unit 73 and the face area corresponding to the AF center subject. Control to perform image processing.

도 6을 참조하면, 입력 영상에 3명의 얼굴이 존재한다. 여기서, 검출한 각각의 얼굴 영역들(600 내지 620)에 대해 동일한 블러 처리를 한다면, 원거리에 있는 얼굴 영역(620)은 더욱 흐리게 된다. 따라서, 본 발명의 바람직한 실시 예에 따라 거리별로 차등하여 블러 처리를 하는 경우라면, 얼굴 영역들(600 및 610)에 대해서는 정상적 또는 사용자에 의해 선택된 블러 처리 강도로 블러 처리를 하고, 얼굴 영역(620)에 대해서는 사용자에 의해 선택된 블러 처리 강도보다 약하게 블러 처리를 한다.Referring to FIG. 6, three faces are present in the input image. Here, if the same blur processing is performed on each of the detected face areas 600 to 620, the far face area 620 is further blurred. Therefore, when the blur processing is performed by differential distances according to a preferred embodiment of the present invention, the face areas 600 and 610 are blurred at a normal or user-selected blur processing intensity, and the face area 620 is performed. ), The blurring process is weaker than the blurring intensity selected by the user.

또한, 현재 영상에서 얼굴 영역(600)에 대해 AF가 맞은 경우라면, 얼굴 영역들(610 및 620)은 블러 처리를 하지 않는 경우라도 얼굴 영역(600)보다 흐리게 나온다. 이때, 사용자에 의해 영상 처리 모드가 선택되었다면, 얼굴 영역들(610 및 620)은 동일한 블러 처리로 인하여 더욱 흐리게 된다. 따라서, 본 발명의 바람직한 실시 예에 따라 AF 중심 피사체별로 차등하여 블러 처리를 하는 경우라면, 초점이 맞은 얼굴 영역(600)에 대해서는 정상적 또는 사용자에 의해 선택된 블러 처리 강도로 블러 처리를 하고, 초점이 맞지 않은 얼굴 영역들(610 및 620)에 대해서는 약하게 블러 처리를 한다.In addition, if AF is corrected to the face area 600 in the current image, the face areas 610 and 620 may appear blurry than the face area 600 even when the blur processing is not performed. At this time, if the image processing mode is selected by the user, the face areas 610 and 620 are further blurred due to the same blur process. Therefore, according to a preferred embodiment of the present invention, if the blur processing is performed by differentially focusing the AF center subjects, the focused facial region 600 is blurred at a normal or user-selected blurring intensity, and the focusing is performed. Mismatched face areas 610 and 620 are lightly blurred.

또한, 제어부(71)는 얼굴 영역 거리와 AF 중심 피사체의 두 가지 요소를 모두 고려하여 검출된 얼굴 영역들에 대해 차별적으로 영상 처리를 할 수 있다. 도 6을 참조하면, 얼굴 영역별 거리는 얼굴 영역(620)이 가장 원거리에 있고, 사용자가 얼굴 영역(610)을 중심으로 촬영하고자 하는 경우, AF는 얼굴 영역(610)에 맞춰진 경우라면, 가장 근거리에 있는 얼굴 영역(600)과 AF 중심 피사체인 얼굴 영역(610)에 대해서는 정상적으로 또는 사용자에 의해 선택된 영상 처리 강도로 영상 처리를 하고, 가장 원거리에 있는 얼굴 영역(620)에 대해서는 약하게 영상 처리를 한다. In addition, the controller 71 may perform image processing on the detected face areas in consideration of both elements of the face area distance and the AF center subject. Referring to FIG. 6, when the face area 620 is the farthest and the user wants to take a picture centering on the face area 610, the distance for each face area is the most near, if the AF is set to the face area 610. The face area 600 at and the face area 610 which is the AF center subject are imaged normally or at an image processing intensity selected by the user, and the image area is weakly processed at the farthest face area 620. .

영상 처리부(75)는 제어부(71)의 제어에 따라 얼굴 영역 검출부(72)가 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행한다. 여기서, 영상 처리는 블러링(blurring)인 것이 바람직하다. 본 발명의 바람직한 실시 예에서, 블러링은 임의의 영상의 세세한 부분들을 제거해 주어 영상을 부드럽고 화사하게 해주는 처리를 의미한다. 여기서, 블러 처리 또는 블러링은 픽셀들의 값을 평균화시키는 필터를 적용한 것으로, 예를 들면 저대역 필터 또는 가우시안 블러 필터를 사용할 수 있다.The image processor 75 performs differential image processing on the face region detected by the face region detector 72 under the control of the controller 71. Here, the image processing is preferably blurring. In a preferred embodiment of the present invention, blurring refers to a process of removing detail of an arbitrary image to make the image soft and bright. Here, the blurring or blurring is performed by applying a filter for averaging the values of the pixels, for example, a low band filter or a Gaussian blur filter.

또한, 차별적 영상 처리는 복수의 얼굴 영역들에 대해서 서로 다른 강도로 영상 처리하는 것을 의미한다. 즉, 얼굴들까지의 거리와 AF 중심 피사체에 해당하는 얼굴과 그렇지 않은 얼굴에 대한 처리 강도를 구분하는 것이다. In addition, differential image processing means image processing with different intensities for a plurality of face areas. That is, the distance between the faces and the processing intensity for the face corresponding to the AF-centered subject and the face not to the face are distinguished.

일반적으로, 영상 처리부(75)는 촬상 소자(15)로부터 입력된 영상 신호를 디 지털 신호로 변환하고, 사람의 시각에 맞게 영상 신호를 변환하도록 감마 컬렉션(Gamma Correction), 색 필터 배열 보간(color filter array interpolation), 색 매트릭스(color matrix), 색 보정(color correction), 색 향상(color enhancement) 등의 영상 신호 처리를 수행한다. In general, the image processing unit 75 converts an image signal input from the imaging device 15 into a digital signal, and performs gamma correction and color filter array interpolation to convert the image signal according to the human vision. Image signal processing such as filter array interpolation, color matrix, color correction, and color enhancement is performed.

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

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

도 3을 참조하면, 단계 300 및 302에서, 사용자의 선택에 따라 영상 처리 모드와 영상 처리 강도가 선택된다. 여기서, 영상 처리는 블러링인 것이 바람직하며, 촬영한 인물 사진이 화사하게 나오는 효과를 주는 영상 처리를 모두 포함한다. 또한, 사용자는 영상 처리 강도를 선택할 수 있는데, 예를 들면 강하게, 중간, 약하게 등로 구분하여 선택할 수 있다.Referring to FIG. 3, in steps 300 and 302, an image processing mode and an image processing intensity are selected according to a user's selection. In this case, the image processing is preferably blurring, and includes all of the image processings that give an effect that the photographed portrait is bright. In addition, the user may select the image processing intensity, for example, may be selected to be divided into strong, medium, weak.

단계 304에서, 입력 영상에서 얼굴을 검출한다. 여기서, 입력 영상은 프리 뷰 또는 라이브뷰 영상이며, 얼굴은 단수 또는 복수의 얼굴을 포함한다. 얼굴 검출은 종래의 얼굴 검출 알고리즘을 이용하여 수행할 수 있다.In step 304, a face is detected in the input image. Here, the input image is a preview or live view image, and the face includes a singular or plural face. Face detection may be performed using a conventional face detection algorithm.

단계 306에서, 검출한 얼굴까지의 거리를 산출한다. 여기서, 복수의 얼굴을 검출한 경우, 각각의 얼굴까지의 거리를 각각 산출한다. 단계 308에서, 사용자에 의해 반셔터(S1) 및 촬영 셔터(S2)가 눌러진 경우, 검출한 얼굴에 대해 AF를 수행하고, 촬영을 한다.In step 306, the distance to the detected face is calculated. Here, when a plurality of faces are detected, the distances to the respective faces are respectively calculated. In step 308, when the shutter button halfway S1 and the shooting shutter S2 are pressed by the user, AF is performed on the detected face and photographing is performed.

단계 310에서, 산출한 거리에 따라 차별적 영상 처리를 한다. 차별적 영상 처리는 산출한 거리별로 다른 강도의 영상 처리, 예를 들면 블러 처리를 하는 것을 의미한다. 단수의 얼굴만이 검출된 경우에도, 산출한 거리가 소정의 임계 거리보다 먼 경우, 즉 피사체가 멀리 있는 경우에는 단계 302에서 선택된 영상 처리 강도보다 약하게 영상 처리를 하도록 할 수 있다. 따라서, 원거리에 있는 얼굴이 영상 처리로 인하여 더욱 흐리게 되는 것을 방지할 수 있다.In step 310, differential image processing is performed according to the calculated distance. Differential image processing means image processing of different intensities, for example, blur processing, for each calculated distance. Even when only a single face is detected, the image processing may be made weaker than the image processing intensity selected in step 302 when the calculated distance is farther than the predetermined threshold distance, that is, when the subject is far away. Therefore, it is possible to prevent the far face from being blurred further due to image processing.

또한, 복수의 얼굴이 검출된 경우에는, 거리별로 차별적으로 영상 처리를 수행함으로써, 원거리에 있는 얼굴이 근거리 얼굴과 동일한 영상 처리를 함으로써 더욱 흐리게되는 결과를 방지할 수 있다.In addition, when a plurality of faces are detected, by performing image processing differentially for each distance, a face that is far away may be further blurred by performing the same image processing as a near face.

단계 312에서, 영상 처리된 결과 영상을 기록한다. In operation 312, the processed image is recorded.

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

도 4를 참조하면, 단계 400 및 402에서, 사용자의 선택에 따라 영상 처리 모드와 영상 처리 강도가 선택된다. 여기서, 영상 처리는 블러링인 것이 바람직하 며, 촬영한 인물 사진이 화사하게 나오는 효과를 주는 영상 처리를 모두 포함한다. 또한, 사용자는 영상 처리 강도를 선택할 수 있는데, 예를 들면 강하게, 중간, 약하게 등로 구분하여 선택할 수 있다.Referring to FIG. 4, in steps 400 and 402, an image processing mode and an image processing intensity are selected according to a user's selection. In this case, the image processing is preferably blurring, and includes all of the image processing to give an effect that the photographed portrait is bright. In addition, the user may select the image processing intensity, for example, may be selected to be divided into strong, medium, weak.

단계 404에서, 입력 영상에서 2이상의 얼굴을 검출한다. 여기서, 입력 영상에 복수의 얼굴이 존재하는 경우이다.In step 404, two or more faces are detected in the input image. In this case, a plurality of faces exist in the input image.

단계 406에서, 사용자에 의해 반셔터(S1) 및 촬영 셔터(S2)가 눌러진 경우, 검출한 복수의 얼굴들에 대해 각각 AF를 수행하고, 촬영을 한다.In step 406, when the half shutter (S1) and the shooting shutter (S2) is pressed by the user, AF is performed on the plurality of detected faces, and photographing is performed.

단계 408에서, 단계 406의 결과, 초점이 맞은 AF 중심 피사체를 판단한다. 즉, 복수의 얼굴들 중에서 어느 얼굴에 초점이 맞았는지 판단한다.In step 408, the result of step 406 determines the AF center subject in focus. That is, it is determined which face is focused among the plurality of faces.

단계 410에서, AF 중심 피사체에 상응하는 얼굴과 나머지 얼굴들에 대해 차별적 영상 처리를 수행한다. 즉, 복수의 얼굴들 중에서, AF 수행결과, 초점이 맞은 얼굴에 대해서는 단계 402에서 선택된 영상 처리 강도로 영상 처리를 하고, 초점이 맞지 않은 얼굴들에 대해서는 단계 402에서 선택된 영상 처리 강도보다 약하게 영상 처리를 한다. 따라서, 일반적으로 초점이 맞지 않은 피사체는 흐리게 나오는데, 영상 처리를 함으로써 더욱 흐리게 나오는 결과를 방지할 수 있다.In operation 410, differential image processing is performed on the face corresponding to the AF center subject and the remaining faces. That is, among the plurality of faces, as a result of performing AF, the focused image is processed at the image processing intensity selected in step 402, and the unfocused faces are image processed less than the image processing intensity selected in step 402. Do Therefore, a subject that is not in focus generally appears blurry, and the blurring result can be prevented by performing image processing.

단계 412에서, 영상 처리된 결과 영상을 기록한다.In operation 412, the processed image is recorded.

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

도 5를 참조하면, 단계 500 및 502에서, 사용자의 선택에 따라 영상 처리 모드와 영상 처리 강도가 선택된다. 여기서, 영상 처리는 블러링인 것이 바람직하 며, 촬영한 인물 사진이 화사하게 나오는 효과를 주는 영상 처리를 모두 포함한다. 또한, 사용자는 영상 처리 강도를 선택할 수 있는데, 예를 들면 강하게, 중간, 약하게 등로 구분하여 선택할 수 있다.Referring to FIG. 5, in steps 500 and 502, an image processing mode and an image processing intensity are selected according to a user's selection. In this case, the image processing is preferably blurring, and includes all of the image processing to give an effect that the photographed portrait is bright. In addition, the user may select the image processing intensity, for example, may be selected to be divided into strong, medium, weak.

단계 504에서, 입력 영상에서 얼굴을 검출한다. 여기서, 얼굴은 적어도 2 이상인 것이 바람직하다.In operation 504, a face is detected in the input image. Here, the face is preferably at least two or more.

단계 506에서, 검출한 얼굴까지의 거리를 각각 산출한다. 단계 508에서, 사용자에 의해 반셔터(S1) 및 촬영 셔터(S2)가 눌러진 경우, 검출한 복수의 얼굴들에 대해 각각 AF를 수행하고, 촬영을 한다.In step 506, the distances to the detected faces are respectively calculated. In step 508, when the shutter button halfway S1 and the shooting shutter S2 are pressed by the user, AF is performed on the plurality of detected faces, and photographing is performed.

단계 510에서, AF 중심 피사체에 해당하는 얼굴을 판단한다.In operation 510, a face corresponding to the AF center subject is determined.

단계 512에서, 단계 506에서 산출한 얼굴까지의 거리와 단계 510에서 판단한 AF 중심 피사체를 기초로 검출한 얼굴에 대해 차별적 영상 처리를 수행한다. 여기서, 차별적 영상 처리는 전술한 바와 동일하다. In operation 512, differential image processing is performed on the detected face based on the distance to the face calculated in operation 506 and the AF center subject determined in operation 510. Here, the differential image processing is the same as described above.

단계 514에서, 영상 처리된 결과 영상을 기록한다.In operation 514, the processed image is recorded.

전술한 실시예들은 본 발명이 적용될 수 있는 디지털 촬영 장치의 예로서 디지털 카메라를 중심으로 기술하였으나, 이에 한정하는 것은 아니다. 당업자라면 본 발명이 카메라 기능이 부가된 카메라폰, 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. Computer-readable recording media include all types of recording devices that store data that can be read by a computer system.

컴퓨터가 읽을 수 있는 기록 매체의 예로는 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 may also be implemented in the form of carrier waves (for example, transmission over the Internet). Include. 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. 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.

이제까지 본 발명에 대하여 바람직한 실시 예를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 본 발명을 구현할 수 있음을 이해할 것이다. 그러므로 상기 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 한다.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 flowchart illustrating an image processing method according to another exemplary embodiment.

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

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

도 6은 본 발명의 또 다른 실시 예에 따른 거리별 및 AF 중심 피사체별 영상 처리를 설명하기 위한 도면이다.FIG. 6 is a diagram for describing image processing according to distance and AF center subject, 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: face region detection unit

73: 거리 산출부 74: AF 수행부73: distance calculator 74: AF execution unit

75: 영상 처리부75: image processing unit

Claims (16)

(a) 입력 영상에서 소정의 얼굴 영역을 검출하는 단계;(a) detecting a predetermined face area in the input image; (b) 상기 검출한 얼굴 영역까지의 거리를 산출하는 단계; 및(b) calculating a distance to the detected face area; And (c) 상기 산출한 거리에 따라 상기 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 단계를 포함하는 영상 처리 방법.and (c) controlling to perform differential image processing on the detected face area according to the calculated distance. 제 1 항에 있어서,The method of claim 1, 상기 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 것을 특징으로 하는 영상 처리 방법.And detecting at least two face areas from the input image. 제 2 항에 있어서,The method of claim 2, 상기 검출한 얼굴 영역에 대한 오토 포커싱을 수행하는 단계; 및Performing auto focusing on the detected face region; And 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역을 판단하는 단계를 더 포함하고,Determining a face area corresponding to an auto focusing center subject according to the auto focusing result; 상기 (c) 단계는,In step (c), 상기 산출한 거리와 판단 결과에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 것을 특징으로 하는 영상 처리 방법.And performing differential image processing on the at least two face areas according to the calculated distance and the determination result. 제 3 항에 있어서,The method of claim 3, wherein 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법.And image processing the at least two or more face areas at different processing intensities. 제 3 항에 있어서,The method of claim 3, wherein 상기 (a) 단계 이전에,Before step (a), 상기 입력 영상에 대한 영상 처리 모드와 영상 처리 강도가 선택되는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법. And selecting an image processing mode and an image processing intensity for the input image. 제 5 항에 있어서,The method of claim 5, 상기 영상 처리는 블러링(blurring)인 것을 특징으로 하는 영상 처리 방법.And the image processing is blurring. 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 단계;Detecting at least two face areas in the input image; 상기 검출한 각각 얼굴 영역까지의 거리를 산출하는 단계; Calculating a distance to each detected face area; 상기 검출한 적어도 2 이상의 얼굴 영역에 대해 오토 포커싱을 수행하는 단계;Performing auto focusing on the detected at least two face areas; 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역과 상기 산출한 거리를 기초로 상기 적어도 2 이상의 얼굴 영역에 대한 차별적 영상 처리를 수행하도록 제어하는 단계; 및Controlling to perform differential image processing on the at least two or more face regions based on the face region corresponding to the auto focusing center subject and the calculated distance according to the result of performing the auto focusing; And 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 단계를 포함하는 영상 처리 방법.And image processing the at least two or more face regions at different processing intensities. 제 1 항 내지 제 7 항 어느 한 항에 따른 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 기록매체.A recording medium having recorded thereon a program for executing the method according to any one of claims 1 to 7. 입력 영상에서 소정의 얼굴 영역을 검출하는 얼굴 영역 검출부;A face region detector for detecting a predetermined face region in the input image; 상기 검출한 얼굴 영역까지의 거리를 산출하는 거리 산출부; 및A distance calculator configured to calculate a distance to the detected face region; And 상기 산출한 거리에 따라 상기 검출한 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 제어부를 포함하는 영상 처리 장치.And a controller configured to perform differential image processing on the detected face region according to the calculated distance. 제 9 항에 있어서,The method of claim 9, 상기 얼굴 영역 검출부는,The face area detection unit, 상기 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 것을 특징으로 하는 영상 처리 장치.And detecting at least two facial areas from the input image. 제 10 항에 있어서,The method of claim 10, 상기 검출한 얼굴 영역에 대한 오토 포커싱을 수행하는 오토 포커싱 수행부를 더 포함하고,And an auto focusing unit performing auto focusing on the detected face region. 상기 제어부는,The control unit, 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역을 판단하고, 상기 산출한 거리와 판단 결과에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 차별적 영상 처리를 수행하도록 제어하는 것을 특징으로 하는 영상 처리 장치.Determining a face region corresponding to an autofocusing center subject according to the result of performing the autofocusing, and controlling to perform differential image processing on the at least two or more face regions according to the calculated distance and the determination result. Processing unit. 제 11 항에 있어서,The method of claim 11, 상기 제어부의 제어에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 영상 처리부를 더 포함하는 것을 특징으로 하는 영상 처리 장치.And an image processor configured to process the at least two or more face regions at different processing intensities under the control of the controller. 제 12 항에 있어서,13. The method of claim 12, 상기 입력 영상에 대한 영상 처리 모드와 영상 처리 강도를 선택하는 영상 처리 모드 선택부를 더 포함하는 것을 특징으로 하는 영상 처리 장치. And an image processing mode selector configured to select an image processing mode and an image processing intensity of the input image. 제 13 항에 있어서,The method of claim 13, 상기 영상 처리는, The image processing, 블러링(blurring)인 것을 특징으로 하는 영상 처리 장치.An image processing apparatus, characterized in that blurring (blurring). 입력 영상에서 적어도 2 이상의 얼굴 영역을 검출하는 얼굴 영역 검출부;A face region detector detecting at least two face regions in the input image; 상기 검출한 각각 얼굴 영역까지의 거리를 산출하는 거리 산출부; A distance calculator configured to calculate a distance to each of the detected face regions; 상기 검출한 적어도 2 이상의 얼굴 영역에 대해 오토 포커싱을 수행하는 오토 포커싱 수행부; 및An auto focusing unit performing auto focusing on the detected at least two face areas; And 상기 오토 포커싱 수행 결과에 따른 오토 포커싱 중심 피사체에 상응하는 얼굴 영역과 상기 산출한 거리를 기초로 상기 적어도 2 이상의 얼굴 영역에 대한 차별적 영상 처리를 수행하도록 제어하는 제어부; 및A controller configured to perform differential image processing on at least two or more face areas based on a face area corresponding to an autofocusing center subject and the calculated distance according to the auto focusing result; And 상기 제어부의 제어에 따라 상기 적어도 2 이상의 얼굴 영역에 대해 서로 다른 처리 강도로 영상 처리하는 영상 처리부를 포함하는 영상 처리 장치.And an image processor configured to process the at least two face areas with different processing intensities under the control of the controller. 제 9 항 내지 제 15 항 중 어느 한 항에 따른 영상 처리 장치를 포함하는 디지털 촬영 장치.A digital photographing apparatus comprising the image processing apparatus according to any one of claims 9 to 15.
KR1020090017135A 2009-02-27 2009-02-27 Image processing method and apparatus, and digital photographing apparatus using thereof KR20100098122A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020090017135A KR20100098122A (en) 2009-02-27 2009-02-27 Image processing method and apparatus, and digital photographing apparatus using thereof
US12/713,450 US8570429B2 (en) 2009-02-27 2010-02-26 Image processing method and apparatus and digital photographing apparatus using the same
US14/056,347 US9113075B2 (en) 2009-02-27 2013-10-17 Image processing method and apparatus and digital photographing apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090017135A KR20100098122A (en) 2009-02-27 2009-02-27 Image processing method and apparatus, and digital photographing apparatus using thereof

Publications (1)

Publication Number Publication Date
KR20100098122A true KR20100098122A (en) 2010-09-06

Family

ID=43005141

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090017135A KR20100098122A (en) 2009-02-27 2009-02-27 Image processing method and apparatus, and digital photographing apparatus using thereof

Country Status (1)

Country Link
KR (1) KR20100098122A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013151205A1 (en) * 2012-04-03 2013-10-10 조선대학교산학협력단 Method and apparatus for acquiring image of face for facial recognition
US9779527B2 (en) 2013-08-15 2017-10-03 Xiaomi Inc. Method, terminal device and storage medium for processing image
KR20210112991A (en) * 2020-03-06 2021-09-15 주식회사 테스트웍스 Apparatus and method for selectively deidentifying object included in image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013151205A1 (en) * 2012-04-03 2013-10-10 조선대학교산학협력단 Method and apparatus for acquiring image of face for facial recognition
US9779527B2 (en) 2013-08-15 2017-10-03 Xiaomi Inc. Method, terminal device and storage medium for processing image
KR20210112991A (en) * 2020-03-06 2021-09-15 주식회사 테스트웍스 Apparatus and method for selectively deidentifying object included in image

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
US8570429B2 (en) Image processing method and apparatus and digital photographing apparatus using the same
US8467627B2 (en) Method and apparatus for performing warp processing on an input image
JP5623256B2 (en) Imaging apparatus, control method thereof, and program
US8648960B2 (en) Digital photographing apparatus and control method thereof
KR101710626B1 (en) Digital photographing apparatus and control method thereof
JP2008288975A (en) Imaging apparatus, imaging method and imaging program
US8988545B2 (en) Digital photographing apparatus and method of controlling the same
KR20100067407A (en) Photographing control method and apparatus according to motion of digital photographing apparatus
KR20100055938A (en) Method and apparatus for displaying scene information, and digital photographing apparatus thereof
JP5370555B2 (en) Imaging apparatus, imaging method, and program
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
KR20100098122A (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
JP5832618B2 (en) Imaging apparatus, control method thereof, and program
KR101448539B1 (en) Image processing method and apparatus, and digital photographing apparatus using thereof
KR20100098118A (en) Image processing method and apparatus, and digital photographing apparatus using thereof
KR101436837B1 (en) Digital photographing apparatus for performing auto-focusing and method of controlling the same
KR101436838B1 (en) Method and apparatus for processing auto-focusing information, and digital photographing apparatus using thereof
JP2022150652A (en) Image processing apparatus and image processing method
KR20110087595A (en) Apparatus for processing digital image and thereof method
KR20100099011A (en) Method and apparatus for processing auto-focusing information, and digital photographing apparatus using thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application