KR20100099556A - Photographing apparatus and method of processing image in photographing apparatus - Google Patents

Photographing apparatus and method of processing image in photographing apparatus Download PDF

Info

Publication number
KR20100099556A
KR20100099556A KR1020090018111A KR20090018111A KR20100099556A KR 20100099556 A KR20100099556 A KR 20100099556A KR 1020090018111 A KR1020090018111 A KR 1020090018111A KR 20090018111 A KR20090018111 A KR 20090018111A KR 20100099556 A KR20100099556 A KR 20100099556A
Authority
KR
South Korea
Prior art keywords
image
weight
image processing
pixel
focus
Prior art date
Application number
KR1020090018111A
Other languages
Korean (ko)
Other versions
KR101618760B1 (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 KR1020090018111A priority Critical patent/KR101618760B1/en
Publication of KR20100099556A publication Critical patent/KR20100099556A/en
Application granted granted Critical
Publication of KR101618760B1 publication Critical patent/KR101618760B1/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/18Focusing aids
    • G03B13/20Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Abstract

PURPOSE: An image pickup apparatus and an image process method of the same for obtaining a clear image by using the distance to a subject are provided to implement an image process suitable for each pixel in consideration of distance to the subject. CONSTITUTION: An image pickup apparatus changes an image into an electric signal(S100). The electric signal is distributed into a plurality of areas(S110). A distance to the subject is calculated about each area(S120, S130). The weighted value included in the domain frame of each pixel is calculated according to the distance(S140). The image process is processed about each pixels by multiplexing an image processing parameter(S150).

Description

촬상 장치 및 촬상 장치의 화상처리방법{Photographing apparatus and method of processing image in photographing apparatus}Image processing apparatus and an image processing method of the image pickup apparatus {Photographing apparatus and method of processing image in photographing apparatus}

본 발명은 촬상 장치 및 촬상 장치의 화상처리방법에 관한 것으로, 보다 상세하게는 촬상소자에 의해 촬상된 이미지를 복수 개의 영역들로 분할하고, 분할된 영역들에서의 피사체까지의 거리에 기초하여 촬상된 이미지의 각 픽셀을 위한 매개변수를 달리하여 화상 처리를 실행하는 촬상 장치 및 촬상 장치의 화상처리방법에 관한 것이다.The present invention relates to an image pickup apparatus and an image processing method of an image pickup apparatus, and more particularly, to divide an image picked up by an image pickup device into a plurality of regions, and to capture the image based on the distance to the subject in the divided regions. An image capturing apparatus and an image processing method of an image capturing apparatus which perform image processing by varying parameters for each pixel of a captured image.

일반적으로 디지털 카메라는 피사체에서 반사된 빛을 전기적 신호로 변환하여 화상 데이터로 저장하고, 저장된 화상 데이터를 가공하거나 재생할 수 있는 장치이다. 이러한 디지털 카메라는 종래의 필름 카메라에서 수행되는 복잡한 필름인화 작업 없이 촬영된 피사체의 영상을 직접 확인할 수 있으며, 디지털 매체를 이용하여 쉽게 편집, 가공할 수 있는 장점으로 인해 필름 카메라를 급속히 대체하고 있다.In general, a digital camera is a device that converts light reflected from a subject into an electrical signal, stores the image data, and processes or reproduces the stored image data. Such digital cameras are able to directly check an image of a photographed subject without complicated film printing work performed in a conventional film camera, and are rapidly replacing film cameras due to the advantage of easy editing and processing using a digital medium.

디지털 카메라가 촬영을 행할 때에는 촬상소자가 촬상한 이미지에 대한 디지털 화상처리 작업이 이루어진다. 종래의 디지털 화상처리 작업은 촬상한 이미지 의 전체 영역에 대해 동일한 필터 매개변수(filter parameter)를 적용하는 방식으로 이루어진다. 이러한 방식에 의하면, 사용자가 자동 초점(auto focusing; AF) 기능을 이용해 초점을 맞춘 부분에 대해서만 영상이 선명하고 초점 조정된 부분을 제외한 다른 부분들은 초점이 맞지 않아 전체적으로 흐릿한 영상을 얻는다. 예를 들어, 촬상한 이미지의 중심에 있는 인물에 대해 AF를 조정한 경우, 인물 뒤쪽에 있는 원거리의 배경은 흐릿하게 보이는 영상을 결과물로 얻는다.When the digital camera shoots, a digital image processing operation is performed on the image picked up by the image pickup device. The conventional digital image processing operation is performed by applying the same filter parameter to the entire area of the captured image. According to this method, the image is clear only for the portion where the user focuses using the auto focusing function, and the other portions except for the focused portion are not in focus, thereby obtaining a blurry image as a whole. For example, if the AF is adjusted for a person in the center of the captured image, the far background behind the person obtains a blurred image as a result.

본 발명의 목적은 촬상 장치 및 촬상 장치의 화상처리방법을 제공하는 데 있다.An object of the present invention is to provide an image pickup device and an image processing method of the image pickup device.

본 발명의 다른 목적은 촬상 장치에서 피사체까지의 거리를 고려하여 각각의 픽셀에 적합한 화상 처리를 실행함으로써 선명한 영상을 얻을 수 있게 하는 데 있다.Another object of the present invention is to make it possible to obtain a clear image by performing image processing suitable for each pixel in consideration of the distance from the imaging device to the subject.

본 발명의 또 다른 목적은 피사체까지의 거리에 따라 픽셀마다의 화상처리를 위한 필터 매개변수를 다르게 적용하는 촬상 장치 및 촬상 장치의 화상처리방법을 제공하는 데 있다.It is still another object of the present invention to provide an image pickup apparatus and an image processing method of the image pickup apparatus that apply different filter parameters for image processing for each pixel according to the distance to the subject.

본 발명은 촬상소자에 의해 촬상된 이미지를 복수 개의 영역들로 분할하고, 분할된 영역들에서의 피사체까지의 거리에 기초하여 촬상된 이미지의 각 픽셀을 위한 매개변수를 달리하여 화상 처리를 실행하는 촬상 장치 및 촬상 장치의 화상처리방법을 제공한다.The present invention divides an image picked up by an imaging device into a plurality of areas, and executes image processing by varying parameters for each pixel of the picked-up image based on the distance to the subject in the divided areas. An imaging device and an image processing method of the imaging device are provided.

본 발명에 관한 촬상 장치의 화상처리방법은, 촬상소자가 화상을 전기적 신호로 변환하여 촬상하는 촬상 단계와, 전기적 신호가 나타내는 화상을 복수 개의 영역들로 분할하는 분할 단계와, 각각의 영역에 대해 피사체까지의 거리를 연산하는 거리 연산 단계와, 구해진 거리에 따라 영역들에 포함된 각 픽셀들의 가중치를 구하는 가중치 연산 단계와, 가중치에 화상처리 매개변수를 곱하여 각각의 픽셀들 에 대해 화상 처리를 실행하는 화상처리단계를 포함한다.An image processing method of an imaging device according to the present invention includes an imaging step in which an imaging device converts an image into an electrical signal for imaging, a dividing step of dividing an image represented by the electrical signal into a plurality of regions, and for each region. A distance calculation step of calculating a distance to a subject; a weighting step of calculating weights of pixels included in regions according to the obtained distance; and multiplying the weight by an image processing parameter to perform image processing on each pixel. And an image processing step.

본 발명에 있어서, 거리 연산 단계는 복수 개의 영역들에 대해 초점을 조정하는 자동 초점 조정 단계를 포함할 수 있다.In the present invention, the distance calculation step may include an auto focus adjustment step of adjusting a focus on a plurality of areas.

본 발명에 있어서, 자동 초점 조정 단계는 영역들의 초점 상태를 대표하는 자동 초점값을 연산할 수 있다.In the present invention, the auto focus adjustment step may calculate an auto focus value representative of the focus state of the regions.

본 발명에 있어서, 자동 초점 조정 단계는 영역들의 고주파 성분의 최대값을 자동 초점값으로 정할 수 있다.In the present invention, the auto focus adjustment step may set the maximum value of the high frequency component of the regions as the auto focus value.

본 발명에 있어서, 가중치 연산 단계는 가중치를 구하기 위한 픽셀에 인접한 영역들의 자동 초점값들에 픽셀에서 인접한 영역들의 중심을 잇는 직선을 대각선으로 갖는 직사각형의 면적을 곱한 값들을 더하여 가중치를 연산할 수 있다.In the present invention, the weight calculation step may calculate the weight by adding the values of the autofocus values of the areas adjacent to the pixel for obtaining the weight multiplied by the area of a rectangle having a straight line connecting the centers of the areas adjacent to the pixel. .

본 발명에 관한 촬상 장치는, 촬상소자와, 촬상소자에 의해 촬상된 화상을 복수 개의 영역들로 분할하여, 각각의 영역에 대해 자동 초점값을 구하는 초점 검출부와, 자동 초점값을 이용하여 화상을 이루는 각각의 픽셀에 대한 가중치를 연산하는 가중치 연산부와, 각각의 픽셀의 가중치에 화상처리 매개변수를 곱하여 각각의 픽셀에 대한 화상 처리를 실행하는 화상 처리부를 구비한다.An imaging device according to the present invention comprises an image pickup device, a focus detector for dividing an image picked up by the image pickup device into a plurality of areas, and obtaining an autofocus value for each area, and an image using the autofocus value. And a weight calculating section for calculating weights for each pixel, and an image processing section for performing image processing on each pixel by multiplying the weight of each pixel by an image processing parameter.

상술한 바와 같은 본 발명의 촬상 장치와 화상처리방법은, 화상 처리를 실행할 때에 전체 화상에 대해 동일한 매개변수를 적용하지 않고 피사체까지의 거리를 고려하여 각각의 픽셀에 적합한 화상 처리(가중치가 곱해진 매개변수를 이용함)를 실행하므로 선명한 영상을 얻을 수 있다.The image pickup apparatus and image processing method of the present invention as described above have suitable image processing (weighted multiplied) for each pixel in consideration of the distance to the subject without applying the same parameters to the entire image when performing image processing. Parameter) to get a clear image.

또한 필요한 경우에는 전체 화상에서 자동 초점 조정의 대상이 되는 피사체 영역을 제외한 나머지 부분, 즉 상대적으로 원거리에 존재하는 배경 부분에 대해서는 가중치를 조정하여 피사체보다 더욱 흐릿하게 표현되게 하는 화상 처리를 실행할 수 있다. 그러므로 피사체까지의 거리에 따라 픽셀마다의 화상처리를 위한 필터 매개변수를 다르게 적용함으로써 보다 다양한 화상 처리를 구현할 수 있다. If necessary, image processing may be performed to adjust the weight of the remaining portion of the entire image except for the subject area that is the subject of auto focus adjustment, that is, the background portion that is located at a relatively long distance, so that the image is more blurred than the subject. . Therefore, more various image processing can be realized by applying different filter parameters for image processing for each pixel according to the distance to the subject.

이하, 첨부 도면의 실시예들을 통하여, 본 발명에 관한 촬상 장치 및 촬상 장치의 화상처리방법의 구성과 작용을 상세히 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, the structure and operation | movement of the imaging device and image processing method of the imaging device which concern on this invention are demonstrated in detail through the embodiment of an accompanying drawing.

도 1은 본 발명의 일 실시예에 관한 촬상 장치의 구성 요소들을 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating components of an image pickup apparatus according to an embodiment of the present invention.

도 1에 나타난 촬상 장치는, 화상을 촬상하여 전기 신호로 변환하는 촬상소자(20)와, 촬상소자(20)에서 촬상된 화상을 복수 개의 영역들로 분할하여 각각의 영역들에 대해 자동 초점값을 구하는 초점 검출부(44)와, 자동 초점값을 이용하여 화상을 이루는 각각의 픽셀에 대한 가중치를 연산하는 가중치 연산부(46)와, 각각의 픽셀의 가중치에 화상처리 매개변수를 곱하여 각각의 픽셀에 대한 화상 처리를 실행하는 화상 처리부(47)를 구비한다.The image pickup device shown in FIG. 1 includes an image pickup device 20 for picking up an image and converting the image into an electrical signal, and dividing the image picked up by the image pickup device into a plurality of areas, thereby autofocusing values for the respective areas. A focus detector 44 for obtaining the?, A weight calculator 46 for calculating a weight for each pixel constituting the image using an auto focus value, and multiplying the weight of each pixel by an image processing parameter to each pixel. An image processing unit 47 for performing image processing for the image is provided.

촬상소자(20)의 앞에 배치되는 광학계(10)는 복수 개의 렌즈들(12)을 포함하여, 외부의 영상광을 촬상소자(20)의 촬상면에 결상시키는 기능을 수행한다. 렌즈들(12)은 서로의 간격이 변동 가능하게 배치된다. 렌즈들(12)의 간격이 변동되면 광학계(10)의 줌 배율과 초점 등이 조절될 수 있다. The optical system 10 disposed in front of the image pickup device 20 includes a plurality of lenses 12 to perform the function of imaging external image light on the image pickup surface of the image pickup device 20. The lenses 12 are arranged to be variable in distance from each other. When the distance between the lenses 12 is changed, the zoom magnification and the focus of the optical system 10 may be adjusted.

렌즈들(12)은 줌모터나 포커스 모터와 같은 구동수단을 갖는 줌 구동부(11)와 포커스 구동부(13)에 의해 구동됨으로써 서로에 대한 위치가 변동될 수 있다. 렌즈들(12)은 피사체의 크기를 확대하거나 축소시키는 줌렌즈와, 피사체의 초점을 조절하는 포커스렌즈를 구비할 수 있다. 줌 구동부(11)와 포커스 구동부(13)는 제어부(40)의 구동 회로부(42)로부터 제어 신호를 인가 받아 작동된다. 따라서 줌 구동부(11)는 광학계(10)가 복수 개의 확대 배율들 중 어느 하나를 갖도록 광학계(10)를 구동할 수 있다.The lenses 12 are driven by the zoom driver 11 and the focus driver 13 having a driving means such as a zoom motor or a focus motor, so that their positions with respect to each other may be varied. The lenses 12 may include a zoom lens that enlarges or reduces the size of the subject and a focus lens that adjusts the focus of the subject. The zoom driver 11 and the focus driver 13 operate by receiving a control signal from the driving circuit 42 of the controller 40. Accordingly, the zoom driver 11 may drive the optical system 10 such that the optical system 10 has any one of a plurality of magnifications.

촬상소자(20)는 씨씨디(CCD; charge coupled device) 또는 씨모스(CMOS; complementary metal oxide semiconductor)와 같은 광전 변환 소자를 포함하여, 광학계(10)를 통해 입사된 영상광을 전기적 신호인 화상 신호로 변환한다. 영상광이 전기적 신호로 변환되는 과정은, 먼저 아날로그 신호로 변환되는 단계와, 아날로그 신호를 디지털 신호로 변환하는 단계 등의 세부 단계들로 이루어질 수 있다. 화상 변환부(41)는 촬상소자(20)의 전기적 신호를 화상 처리를 행할 수 있는 화상 데이터로 변환한다. 화상 변환부(41)에 의해 생성된 화상 데이터는 메모리(15)에 저장될 수 있고, 화상 처리부(47)에 의해 처리될 수도 있다.The imaging device 20 includes a photoelectric conversion device such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and the image light incident through the optical system 10 is an image that is an electrical signal. Convert to a signal. The process of converting image light into an electrical signal may include detailed steps such as first converting an analog signal and converting an analog signal into a digital signal. The image conversion unit 41 converts the electrical signal of the image pickup device 20 into image data capable of performing image processing. The image data generated by the image conversion unit 41 may be stored in the memory 15 or may be processed by the image processing unit 47.

제어부(40)는 촬상소자(20), 줌 구동부(11), 포커스 구동부(13), 표시부(30) 등과 전기적으로 연결되며, 각각의 구성 요소의 작동을 제어하기 위해 이들 구성 요소와 제어 신호를 주고받거나, 데이터를 처리하는 등의 기능을 수행한다. 제어부(40)는 화상 변환부(41)와, 구동 회로부(42)와, 표시 제어부(43)와, 초점 검출부(44)와, 가중치 연산부(46)와, 화상 처리부(47)와, 메모리(15)에 대한 데이터 저장을 제어하는 메모리 제어부(45) 등을 구비할 수 있다.The controller 40 is electrically connected to the image pickup device 20, the zoom driver 11, the focus driver 13, the display unit 30, and the like, and controls these components and control signals to control the operation of each component. It performs functions such as sending and receiving data and processing data. The control unit 40 includes an image conversion unit 41, a driving circuit unit 42, a display control unit 43, a focus detection unit 44, a weight calculating unit 46, an image processing unit 47, and a memory ( 15 may be provided with a memory controller 45 for controlling data storage.

제어부(40)는 마이크로 칩이나, 마이크로 칩을 구비하는 회로보드로 구현될 수 있으며, 제어부(40)에 포함되는 각 구성 요소들은 제어부(40)에 내장되는 소프트웨어나 회로들에 의해 구현될 수 있다.The controller 40 may be implemented as a microchip or a circuit board including the microchip, and each component included in the controller 40 may be implemented by software or circuits included in the controller 40. .

메모리 제어부(45)는 메모리(15)로의 화상 데이터의 기록과, 메모리(15)에 기록된 화상 데이터나 설정 정보 등의 독출을 제어한다. 메모리(15)는 예를 들면, SDRAM(synchronous DRAM) 등의 반도체 기억 소자로 이루어져 촬상된 화상의 데이터를 저장할 수 있다.The memory control unit 45 controls the recording of the image data into the memory 15 and the reading of the image data and setting information recorded in the memory 15. The memory 15 is made of, for example, a semiconductor memory element such as SDRAM (synchronous DRAM) to store data of a captured image.

표시부(30)는 표시 제어부(43)에 의해 제어되며 동작함으로써 촬상소자(20)에 의해 촬상된 화상이나, 화상 처리가 이루어진 화상이나, 촬상 장치를 조작하기 위한 메뉴나 여러 가지 정보를 표시하는 기능을 수행하는 부분이다. 표시부(30)에는 액정 표시 장치(LCD; liquid crystal display)나 유기전계 발광장치(OLED) 등의 표시 장치가 이용될 수 있다.The display unit 30 is controlled by the display control unit 43 and operates to display an image captured by the imaging device 20, an image on which image processing has been performed, a menu for operating the imaging device, and various kinds of information. This is the part to perform. As the display unit 30, a display device such as a liquid crystal display (LCD) or an organic light emitting diode (OLED) may be used.

도 2는 도 1의 촬상 장치에서 화상을 복수 개의 영역들로 분할한 예를 나타내는 예시도이다.FIG. 2 is an exemplary diagram illustrating an example of dividing an image into a plurality of regions in the imaging apparatus of FIG. 1.

초점 검출부(44)는 촬상소자(20)에 의해 촬상된 화상을 도 2에 도시된 것과 같이 복수 개의 영역들로 분할하고, 분할된 각각의 영역에 대해 자동 초점값을 구하는 기능을 수행한다. 초점 검출부(44)는 자동 초점값을 구하기 위해 AF(auto focusing; 자동 초점) 검출 회로를 포함할 수 있다. The focus detector 44 divides the image picked up by the image pickup device 20 into a plurality of areas as shown in FIG. 2, and performs a function of obtaining an autofocus value for each of the divided areas. The focus detector 44 may include an AF (auto focusing) detection circuit to obtain an auto focus value.

도 3은 도 1의 촬상 장치에서 특정 영역에 대해 획득되는 자동 초점값의 그래프이고, 도 4는 도 1의 촬상 장치에서 복수 개의 영역들에 대해 획득되는 자동 초점값의 그래프이다.3 is a graph of auto focus values obtained for a specific region in the imaging apparatus of FIG. 1, and FIG. 4 is a graph of auto focus values obtained for a plurality of regions in the imaging apparatus of FIG. 1.

초점 검출부(44)가 분할된 화상의 각각의 영역에 대해 자동 초점을 검출할 때에는 종래에 공지된 포커싱(focusing) 기술이 사용될 수 있는데, 예를 들어, 도 4에 도시된 것과 같이 미리 설정된 포커스 스텝을 이용하여 초점 렌즈를 구동함으로써 자동 초점값(AF 평가값)을 취득할 수 있다. 즉 초점 렌즈를 이동시켜 화상 신호 중의 고주파 성분을 추출하고, 추출된 신호를 적분함으로써 초점 위치가 산출된다. 하나의 영역 내에서 포커스 스텝이 달라짐에 따라 AF 평가값의 그래프는 하나의 최대값을 갖는 곡선으로 이루어지고, AF 평가값의 최대값이 자동 초점값으로 정해질 수 있다.A conventionally known focusing technique can be used when the focus detector 44 detects auto focus for each area of the divided image, for example, a preset focus step as shown in FIG. 4. The autofocus value (AF evaluation value) can be acquired by driving a focus lens using. In other words, the focus position is calculated by moving the focus lens to extract high frequency components in the image signal and integrating the extracted signal. As the focus step is changed in one region, the graph of the AF evaluation value may be composed of a curve having one maximum value, and the maximum value of the AF evaluation value may be determined as the autofocus value.

초점 검출부(44)는 도 4에서와 같이 촬상소자(20)가 촬상한 화상의 분할된 각각의 영역에 대해 자동 초점값을 구하는데(도 4에서는 편의상 3 개의 영역에 대해서 실행되는 예를 나타내었다), 도 4를 참조하면 각각의 영역에 대해 구해지는 자동 초점값이 각각 달라질 수 있음을 알 수 있다.The focus detector 44 obtains an autofocus value for each divided area of the image captured by the image pickup device 20 as shown in FIG. 4 (in FIG. 4, an example is performed for three areas for convenience. Referring to FIG. 4, it can be seen that the auto focus values obtained for each region may be different.

도 5는 도 1의 촬상 장치에서 각각의 영역에 대해 구한 자동 초점값을 기초로 특정 픽셀의 가중치를 구하는 예를 나타내는 예시도이다.5 is an exemplary diagram illustrating an example of obtaining a weight of a specific pixel based on an autofocus value obtained for each region in the imaging apparatus of FIG. 1.

가중치 연산부(46)는 초점 검출부(44)에서 구한 각각의 영역에 대한 자동 초점값을 이용하여 각각의 영역을 구성하는 픽셀에 대한 가중치를 연산하는 기능을 수행한다. 가중치를 연산할 때에는 여러 가지 방식이 이용될 수 있으며, 본 실시예에서는 수학식 1에 나타난 것과 같이 픽셀이 위치하는 인접 영역들의 자동 초점값 과, 픽셀에서 인접 영역까지의 면적을 이용하여 구하는 방식으로 가중치를 구하였다. The weight calculator 46 calculates a weight for the pixels constituting each region by using the autofocus value for each region obtained by the focus detector 44. Various methods may be used to calculate the weight. In the present embodiment, as shown in Equation 1, the weight is calculated using an autofocus value of adjacent areas where pixels are located and an area from a pixel to an adjacent area. The weight was obtained.

수학식 1은 도 5에서 픽셀 P의 인접한 영역들(91, 92, 93, 94)의 자동 초점값으로부터 구해진 영역들(91, 92, 93, 94)의 중심 픽셀의 가중치 1, 가중치 2, 가중치 3, 가중치 4와, 픽셀 P에서 영역들(91, 92, 93, 94)까지의 면적 a1, a2, a3, a4를 이용하여, 픽셀 P의 가중치 X를 구할 수 있다.Equation 1 is a weight 1, weight 2, weight of the center pixel of the areas 91, 92, 93, 94 obtained from the autofocus values of the adjacent areas 91, 92, 93, 94 of the pixel P in FIG. 3, the weight 4 of the pixel P can be obtained using the weight 4 and the areas a1, a2, a3, a4 from the pixels P to the regions 91, 92, 93, and 94.

가중치 X = ((가중치 1 x a4) + (가중치 2 x a3) + (가중치 3 x a2) + (가중치 4 x a1)) / (a1 + a2 + a3 + a4)Weight X = ((weight 1 x a4) + (weight 2 x a3) + (weight 3 x a2) + (weight 4 x a1)) / (a1 + a2 + a3 + a4)

가중치 1, 가중치 2, 가중치 3, 가중치 4는 가중치를 구하고자 하는 픽셀 P의 인접한 영역들의 중심 픽셀들(91a, 91b, 91c, 91d)의 가중치이며, 중심 픽셀들(91a, 91b, 91c, 91d)의 가중치는 영역들의 자동 초점값으로부터 정해진다. a1, a2, a3, a4는 가중치를 구하고자 하는 픽셀 P로부터 인접한 영역들의 중심 픽셀들(91a, 91b, 91c, 91d)이 이루는 직사각형의 면적이다. 중심 픽셀들(91a, 91b, 91c, 91d)의 가중치와 인접 영역들의 면적을 곱할 때에는 대각선 상에서 서로 반대측에 위치하는 값들을 곱한다.The weight 1, weight 2, weight 3, and weight 4 are weights of the center pixels 91a, 91b, 91c, 91d of adjacent regions of the pixel P for which the weight is to be obtained, and the center pixels 91a, 91b, 91c, 91d. ) Is determined from the autofocus value of the regions. a1, a2, a3, and a4 are rectangular areas formed by the center pixels 91a, 91b, 91c, and 91d of adjacent areas from the pixel P for which the weight is to be obtained. When multiplying the weights of the center pixels 91a, 91b, 91c, and 91d by the area of the adjacent areas, the values located on the opposite sides of the diagonal lines are multiplied.

도 1의 화상 처리부(47)는 촬상소자(20)에 의해 촬상된 화상을 이루는 픽셀들의 가중치에 화상처리를 위한 화상처리 매개변수를 곱하여 화상 처리를 실행하 는 부분이다. The image processing part 47 of FIG. 1 is a part which performs image processing by multiplying the weight of the pixels which make up the image picked up by the imaging element 20 by the image processing parameter for image processing.

상술한 바와 같은 구성의 촬상 장치는, 화상 처리부(47)가 화상 처리를 실행할 때에 전체 화상에 대해 동일한 매개변수를 적용하는 것이 아니며 촬상 장치로부터 피사체까지의 거리를 고려하여 각각의 픽셀에 적합한 화상 처리(가중치가 곱해진 매개변수를 이용함)를 실행하므로 선명한 영상을 얻을 수 있다.In the image pickup device having the above-described configuration, the image processing unit 47 does not apply the same parameters to the entire image when performing the image processing, and image processing suitable for each pixel in consideration of the distance from the image pickup device to the subject. (Using the parameter multiplied by the weights), you get a clear image.

또한 필요한 경우에는 전체 화상에서 자동 초점 조정의 대상이 되는 피사체 영역을 제외한 나머지 부분, 즉 촬상 장치로부터 상대적으로 원거리에 존재하는 배경 부분에 대해서는 가중치를 조정하여 피사체보다 더욱 흐릿하게 표현되게 하는 화상 처리를 실행할 수 있다. 그러므로 상술한 구성의 촬상 장치를 이용하면, 피사체까지의 거리에 따라 픽셀마다의 화상처리를 위한 필터 매개변수를 다르게 적용함으로써 보다 다양한 화상 처리를 구현할 수 있다. In addition, if necessary, image processing is performed to adjust the weight of the remaining portion of the entire image except for the subject area that is the subject of auto focus adjustment, that is, the background portion that is relatively far from the image pickup device, so that the image is more blurred than the subject. You can run Therefore, by using the imaging device of the above-described configuration, it is possible to implement more various image processing by applying different filter parameters for image processing for each pixel according to the distance to the subject.

도 6은 본 발명의 일 실시예에 관한 화상처리방법의 단계들을 나타내는 순서도이다.6 is a flowchart showing steps of an image processing method according to an embodiment of the present invention.

도 6에 나타난 화상처리방법은, 촬상 단계(S100)와, 화상을 복수 개의 영역들로 분할하는 분할 단계(S110)와, 각각의 영역에서 피사체까지의 거리를 연산하는 거리 연산 단계(S120, S130)와, 화상을 이루는 픽셀들의 가중치를 구하는 가중치 연산 단계(S140)와, 픽셀들에 대해 화상 처리를 실행하는 화상 처리 단계(S150)를 포함한다.The image processing method shown in FIG. 6 includes an imaging step (S100), a division step (S110) of dividing an image into a plurality of areas, and a distance calculation step (S120, S130) of calculating a distance from each area to a subject. ), A weight calculation step (S140) of obtaining weights of pixels constituting the image, and an image processing step (S150) of performing image processing on the pixels.

촬상 단계(S100)는, 촬상소자가 화상을 전기적인 화상 신호로 변환하는 광전 변환 단계로서, 씨씨디(CCD; charge coupled device)나 씨모스(CMOS; complementary metal oxide semiconductor)와 같은 광전 변환 소자에 의해 수행될 수 있다. The imaging step S100 is a photoelectric conversion step in which the imaging device converts an image into an electrical image signal. The imaging step S100 may be applied to a photoelectric conversion device such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS). Can be performed by

분할 단계(S110)는 도 2에 도시된 것과 같이 촬상소자에 의해 촬상된 화상을 복수 개의 영역들로 분할하는 단계이다.The dividing step S110 is a step of dividing the image picked up by the image pickup device into a plurality of regions as shown in FIG. 2.

거리 연산 단계(S120, S130)는 분할된 각각의 영역에서 피사체까지의 거리를 연산하는 단계로서, 분할된 영역별로 자동 초점을 실행하는 단계(S120)와, 자동 초점값을 연산하는 단계(S130)를 포함할 수 있다. 분할된 각각의 영역에서 피사체까지의 거리를 연산하는 것은 다양한 방법에 의해 구현될 수 있을 것이지만, 본 실시예에서는 각각의 영역에 대해 자동 초점 조정을 행하는 방식을 이용하였다.The distance calculating steps S120 and S130 are operations for calculating a distance from each divided area to a subject, performing autofocus for each divided area (S120), and calculating an autofocus value (S130). It may include. Calculating the distance from each divided area to the subject may be implemented by various methods, but in this embodiment, a method of performing auto focusing on each area is used.

자동 초점을 실행하는 단계(S120)에서 분할된 화상의 각각의 영역에 대해 자동 초점을 검출할 때에는 종래에 공지된 포커싱(focusing) 기술이 사용될 수 있다. 각각의 영역들에 대해 초점을 조정함으로써 영역들의 초점 상태를 대표하는 자동 초점값을 구할 수 있다. 예를 들어, 미리 설정된 포커스 스텝을 이용하여 초점 렌즈를 구동함으로써 자동 초점값(AF 평가값)을 취득할 수 있다. 구체적으로, 초점 렌즈를 이동시켜 화상 신호 중의 고주파 성분을 추출하고, 추출된 신호를 적분함으로써 초점 위치가 산출된다. A conventionally known focusing technique can be used when detecting the auto focus for each area of the divided image in the step S120 of executing the auto focus. By adjusting the focus for each of the areas, an autofocus value representative of the focus state of the areas can be obtained. For example, an autofocus value (AF evaluation value) can be acquired by driving a focus lens using a preset focus step. Specifically, the focus position is calculated by moving the focus lens to extract high frequency components in the image signal and integrating the extracted signal.

하나의 영역 내에서 포커스 스텝이 달라짐에 따라 AF 평가값의 그래프는 하나의 최대값을 갖는 곡선으로 이루어지므로, 자동 초점값 연산 단계(S130)에서는 AF 평가값의 최대값을 자동 초점값으로 정할 수 있다.As the focus step changes in one area, the graph of the AF evaluation value is composed of a curve having one maximum value. Therefore, in the auto focus value calculating step (S130), the maximum value of the AF evaluation value may be determined as the auto focus value. have.

가중치 연산 단계(S140)는 분할된 각각의 영역들에 포함된 각 픽셀들의 가 중치를 구하는 단계로서, 화상처리단계에서 픽셀별로 화상 처리를 위한 매개변수값을 다르게 설정하기 위한 준비 단계이다.The weight calculation step S140 is a step of obtaining weights of the pixels included in each of the divided regions, and is a preparation step for differently setting parameter values for image processing for each pixel in the image processing step.

가중치 연산 단계(S140)에서는, 가중치를 구하기 위한 픽셀에 인접한 영역들의 자동 초점값들과, 픽셀에서 인접한 영역들의 중심을 잇는 직선을 대각선으로 갖는 직사각형의 면적을 곱한 값들을 더하여 가중치를 연산할 수 있다. 본 발명은 이러한 가중치 연산 방법에 의해 한정되는 것은 아니며, 가중치는 다양한 방법에 구해질 수 있다. In the weighting operation S140, the weight may be calculated by adding the autofocus values of the areas adjacent to the pixel for obtaining the weight and the values obtained by multiplying the area of a rectangle having a straight line diagonally connecting the centers of the areas adjacent to the pixel. . The present invention is not limited to this weight calculation method, and the weight can be obtained in various methods.

화상 처리 단계(S150)는, 가중치에 화상처리 매개변수를 곱하여 각각의 픽셀들에 대해 화상 처리를 실행하는 단계이다. The image processing step S150 is a step of performing image processing on each pixel by multiplying the weight by an image processing parameter.

상술한 바와 같은 화상처리방법에 의하면, 화상 처리를 실행할 때에 촬상소자가 촬상한 화상의 전체 영역에 대해 동일한 매개변수를 적용하는 것이 아니며 촬상 장치로부터 피사체까지의 거리를 고려하여 각각의 픽셀에 적합한 화상 처리(가중치가 곱해진 매개변수를 이용함)를 실행하므로 선명한 영상을 얻을 수 있다.According to the image processing method described above, an image suitable for each pixel in consideration of the distance from the image pickup apparatus to the subject is not applied to the entire area of the image picked up by the image pickup device when performing image processing. Processing (using parameters multiplied by weights) is performed, so that a clear image can be obtained.

또한 필요한 경우에는 전체 화상에서 자동 초점 조정의 대상이 되는 피사체 영역을 제외한 나머지 부분, 즉 상대적으로 원거리에 존재하는 배경 부분에 대해서는 가중치를 조정하여 피사체보다 더욱 흐릿하게 표현되게 하는 화상 처리를 실행할 수 있다. 그러므로 상술한 구성의 화상처리방법을 이용하면, 피사체까지의 거리에 따라 픽셀마다의 화상처리를 위한 필터 매개변수를 다르게 적용함으로써 보다 다양한 화상 처리를 구현할 수 있다. If necessary, image processing may be performed to adjust the weight of the remaining portion of the entire image except for the subject area that is the subject of auto focus adjustment, that is, the background portion that is located at a relatively long distance, so that the image is more blurred than the subject. . Therefore, using the image processing method of the above-described configuration, it is possible to implement a variety of image processing by applying different filter parameters for image processing for each pixel according to the distance to the subject.

본 발명은 상술한 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과 하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the above-described embodiments, these are merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the appended claims.

도 1은 본 발명의 일 실시예에 관한 촬상 장치의 구성 요소들을 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating components of an image pickup apparatus according to an embodiment of the present invention.

도 2는 도 1의 촬상 장치에서 화상을 복수 개의 영역들로 분할한 예를 나타내는 예시도이다.FIG. 2 is an exemplary diagram illustrating an example of dividing an image into a plurality of regions in the imaging apparatus of FIG. 1.

도 3은 도 1의 촬상 장치에서 특정 영역에 대해 획득되는 자동 초점값의 그래프이다.FIG. 3 is a graph of auto focus values obtained for a specific area in the imaging device of FIG. 1.

도 4는 도 1의 촬상 장치에서 복수 개의 영역들에 대해 획득되는 자동 초점값의 그래프이다.FIG. 4 is a graph of auto focus values obtained for a plurality of areas in the imaging device of FIG. 1.

도 5는 도 1의 촬상 장치에서 각각의 영역에 대해 구한 자동 초점값을 기초로 특정 픽셀의 가중치를 구하는 예를 나타내는 예시도이다.5 is an exemplary diagram illustrating an example of obtaining a weight of a specific pixel based on an autofocus value obtained for each region in the imaging apparatus of FIG. 1.

도 6은 본 발명의 일 실시예에 관한 화상처리방법의 단계들을 나타내는 순서도이다.6 is a flowchart showing steps of an image processing method according to an embodiment of the present invention.

* 도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

10: 광학계 42: 구동 회로부10: optical system 42: drive circuit portion

11: 줌 구동부 43: 표시 제어부11: zoom drive part 43: display control part

12: 렌즈들 44: 초점 검출부12: lenses 44: focus detector

13: 포커스 구동부 45: 메모리 제어부13: focus driver 45: memory controller

15: 메모리 46: 가중치 연산부15: memory 46: weight calculator

20: 촬상소자 47: 화상 처리부20: imaging device 47: image processing unit

30: 표시부 91a, 91b, 91c, 91d: 중심 픽셀들30: display portions 91a, 91b, 91c, 91d: center pixels

40: 제어부 91, 92, 93, 94: 영역들40: control parts 91, 92, 93, 94: areas

41: 화상 변환부 41: image conversion unit

Claims (8)

촬상소자가 화상을 전기적 신호로 변환하여 촬상하는 촬상 단계;An imaging step of imaging by the imaging device converting an image into an electrical signal for imaging; 상기 전기적 신호가 나타내는 화상을 복수 개의 영역들로 분할하는 분할 단계;A dividing step of dividing an image represented by the electrical signal into a plurality of regions; 각각의 상기 영역에 대해 피사체까지의 거리를 연산하는 거리 연산 단계;A distance calculation step of calculating a distance to a subject for each of the areas; 구해진 거리에 따라 상기 영역들에 포함된 각 픽셀들의 가중치를 구하는 가중치 연산 단계; 및Calculating a weight of each pixel included in the areas according to the obtained distance; And 상기 가중치에 화상처리 매개변수를 곱하여 각각의 상기 픽셀들에 대해 화상 처리를 실행하는 화상처리단계;를 포함하는, 촬상 장치의 화상처리방법.And an image processing step of performing image processing on each of the pixels by multiplying the weights by an image processing parameter. 제1항에 있어서,The method of claim 1, 상기 거리 연산 단계는 복수 개의 상기 영역들에 대해 초점을 조정하는 자동 초점 조정 단계를 포함하는, 촬상 장치의 화상처리방법.And the distance calculating step includes an auto focus adjusting step of adjusting a focus on a plurality of the areas. 제2항에 있어서,The method of claim 2, 상기 자동 초점 조정 단계는 상기 영역들의 초점 상태를 대표하는 자동 초점값을 연산하는, 촬상 장치의 화상처리방법.And the auto focus adjusting step calculates an auto focus value representative of a focus state of the areas. 제3항에 있어서,The method of claim 3, 상기 자동 초점 조정 단계는 상기 영역들의 고주파 성분의 최대값을 상기 자동 초점값으로 정하는, 촬상 장치의 화상처리방법.And the auto focus adjusting step determines the maximum value of the high frequency component of the areas as the auto focus value. 제4항에 있어서,The method of claim 4, wherein 상기 가중치 연산 단계는 가중치를 구하기 위한 픽셀에 인접한 상기 영역들의 자동 초점값들에 상기 픽셀에서 인접한 상기 영역들의 중심을 잇는 직선을 대각선으로 갖는 직사각형의 면적을 곱한 값들을 더하여 상기 가중치를 연산하는, 촬상 장치의 화상처리방법. The weight calculating step computes the weight by adding the values of the autofocus values of the regions adjacent to the pixel for obtaining the weight multiplied by the area of a rectangle with a diagonal line having a straight line connecting the centers of the regions adjacent in the pixel. Image processing method of the device. 촬상소자;Imaging device; 상기 촬상소자에 의해 촬상된 화상을 복수 개의 영역들로 분할하여, 각각의 영역에 대해 자동 초점값을 구하는, 초점 검출부;A focus detector for dividing the image picked up by the image pickup device into a plurality of areas to obtain an autofocus value for each area; 상기 자동 초점값을 이용하여 상기 화상을 이루는 각각의 픽셀에 대한 가중치를 연산하는 가중치 연산부; 및A weight calculator configured to calculate a weight for each pixel of the image using the auto focus value; And 각각의 상기 픽셀의 상기 가중치에 화상처리 매개변수를 곱하여 각각의 상기 픽셀에 대한 화상 처리를 실행하는 화상 처리부;를 구비하는, 촬상 장치. And an image processing unit which multiplies the weight value of each pixel by an image processing parameter to execute image processing for each of the pixels. 제6항에 있어서,The method of claim 6, 상기 초점 검출부에 의해 구해지는 상기 자동 초점값은 복수 개의 상기 영역들의 고주파 성분의 최대값인, 촬상 장치.And said autofocus value obtained by said focus detector is a maximum value of high frequency components of a plurality of said areas. 제6항에 있어서,The method of claim 6, 상기 가중치 연산부에 의해 구해지는 상기 가중치는, 가중치를 구하기 위한 픽셀에 인접한 상기 영역들의 자동 초점값들에 상기 픽셀에서 인접한 상기 영역들의 중심을 잇는 직선을 대각선으로 갖는 직사각형의 면적을 곱한 값들을 더하여 상기 가중치를 연산하는, 촬상 장치.The weight obtained by the weight calculating unit is obtained by adding auto-focus values of the regions adjacent to the pixel for obtaining the weight by multiplying the area of a rectangle having a straight line diagonally connecting the centers of the regions adjacent to the pixel. An imaging device which calculates a weight.
KR1020090018111A 2009-03-03 2009-03-03 Photographing apparatus and method of processing image in photographing apparatus KR101618760B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090018111A KR101618760B1 (en) 2009-03-03 2009-03-03 Photographing apparatus and method of processing image in photographing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090018111A KR101618760B1 (en) 2009-03-03 2009-03-03 Photographing apparatus and method of processing image in photographing apparatus

Publications (2)

Publication Number Publication Date
KR20100099556A true KR20100099556A (en) 2010-09-13
KR101618760B1 KR101618760B1 (en) 2016-05-09

Family

ID=43005834

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090018111A KR101618760B1 (en) 2009-03-03 2009-03-03 Photographing apparatus and method of processing image in photographing apparatus

Country Status (1)

Country Link
KR (1) KR101618760B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101112056B1 (en) * 2010-10-18 2012-02-24 엘지이노텍 주식회사 Method for processing image of camera module

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100673963B1 (en) 2005-08-25 2007-01-24 삼성테크윈 주식회사 Method of automatic focusing within digital image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101112056B1 (en) * 2010-10-18 2012-02-24 엘지이노텍 주식회사 Method for processing image of camera module

Also Published As

Publication number Publication date
KR101618760B1 (en) 2016-05-09

Similar Documents

Publication Publication Date Title
US10511781B2 (en) Image pickup apparatus, control method for image pickup apparatus
US10887524B2 (en) Image pickup apparatus, an image processing method and a non-transitory computer-readable medium
JP7036176B2 (en) Display control device, display control method and display control program
US20180182075A1 (en) Image processing apparatus, image capturing apparatus, method of image processing, and storage medium
TW200810533A (en) Digital imaging apparatus with camera shake compensation and adaptive sensitivity switching function
JP6548437B2 (en) Focusing apparatus, control method therefor, control program, and imaging apparatus
US10536624B2 (en) Image pickup apparatus and image pickup method
JP5925966B2 (en) Imaging device
JP2007102061A (en) Imaging apparatus
WO2013094552A1 (en) Imaging device, method for controlling same, and program
WO2013094551A1 (en) Imaging device, method for controlling same, and program
JP2015106116A (en) Imaging apparatus
CN102833484A (en) Image pickup apparatus and control method thereof
KR101032174B1 (en) Auto focus method
KR101618760B1 (en) Photographing apparatus and method of processing image in photographing apparatus
JP6200240B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2016206310A (en) Imaging device and control method of the same
JP2019083580A (en) Image processing apparatus, image processing method, and program
JP2002277730A (en) Method, device and program for automatic focusing control of electronic camera
JP2016095415A (en) Imaging apparatus, method for controlling the same, program, and storage medium
JP2017134154A (en) Focus control device, imaging device, and focus control program
KR20100056266A (en) Photographing apparatus and method for focusing
JP5707983B2 (en) Focus adjustment device and imaging device
JP2017058563A (en) Automatic focus adjustment device, imaging device, and automatic focus adjustment method
KR100860700B1 (en) Realizing method of depth of field and digital camera using thereof

Legal Events

Date Code Title Description
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
LAPS Lapse due to unpaid annual fee