KR101612853B1 - Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method - Google Patents

Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method Download PDF

Info

Publication number
KR101612853B1
KR101612853B1 KR1020090042543A KR20090042543A KR101612853B1 KR 101612853 B1 KR101612853 B1 KR 101612853B1 KR 1020090042543 A KR1020090042543 A KR 1020090042543A KR 20090042543 A KR20090042543 A KR 20090042543A KR 101612853 B1 KR101612853 B1 KR 101612853B1
Authority
KR
South Korea
Prior art keywords
block
light source
blocks
image
white balance
Prior art date
Application number
KR1020090042543A
Other languages
Korean (ko)
Other versions
KR20100054703A (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 한화테크윈 주식회사
Publication of KR20100054703A publication Critical patent/KR20100054703A/en
Application granted granted Critical
Publication of KR101612853B1 publication Critical patent/KR101612853B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths

Abstract

본 발명은 처리부하를 늘리지 않고 화이트 밸런스를 보정하는 화상 신호 처리가 가능한 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체를 위하여, 촬상소자로부터 얻어진 화상 신호를 복수의 제1블록으로 분할하는 제1분할수단, 제1블록을 M개의 제2블록으로 더 분할하는 제2분할수단, 연산 대상의 제2블록을 프레임마다 변화시키는 위치 변경수단, 기록 전에는 위치 변경수단이 변화시킨 제2블록에 대해 연산처리를 실행하고, 기록시에는 제1블록에 대해 연산처리를 실행하는 연산수단, 적산수단의 제2블록에 대한 직근 M프레임의 연산 결과 및 제1블록에 대한 연산 결과를 이용하여 화상 신호의 광원을 추정하는 광원 추정수단을 구비하는 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체를 제공한다.

Figure R1020090042543

The present invention relates to an image pickup apparatus capable of processing an image signal for correcting a white balance without increasing a processing load, a control method for an image pickup apparatus, and a recording medium storing a program for executing a control method, A second dividing means for further dividing the first block into M second blocks, a position changing means for changing the second block to be calculated for each frame, a position changing means Calculating means for performing an arithmetic processing on the changed second block and performing arithmetic processing on the first block at the time of recording, arithmetic operation result of a rectilinear M frame for the second block of the integrating means, A light source estimating means for estimating a light source of an image signal using the calculation result, a control method for the photographing apparatus, and a program for executing the control method And a recording medium in which the grams are stored.

Figure R1020090042543

Description

촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체{Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method}[0001] The present invention relates to a photographing apparatus, a control method of a photographing apparatus, a recording medium storing a program for executing the control method,

본 발명은 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체에 관한 것으로서, 더 상세하게는 처리부하를 늘리지 않고 화이트 밸런스를 보정하는 화상 신호 처리가 가능한 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체에 관한 것이다.The present invention relates to a photographing apparatus, a photographing apparatus control method, and a recording medium storing a program for executing the control method, and more particularly to a photographing apparatus capable of processing an image signal for correcting white balance without increasing the processing load, A control method of the photographing apparatus, and a recording medium storing a program for executing the control method.

디지털 스틸 카메라 등 피사체를 전자적으로 촬영하는 전자적 촬영장치에서는, 조명의 광원에 상관없이 흰 피사체가 하얗게 촬영되도록 화이트 밸런스를 보정하는 화상 신호 처리(화이트 밸런스 보정처리)가 일반적으로 내장되어 있다. 조명 광원에 의해 육안으로 관찰한 피사체상과 촬영된 화상의 사이에 색채상의 차이가 생길 수 있다. 화이트 밸런스 보정처리는 이러한 경우 특히 백색의 피사체가 하얗게 재현되도록 하기 위한 보정처리이다. 예를 들면, 일광 등의 자연광과 형광등 등 의 인공광에서는 두 광원의 색온도에 차이가 있고, 그 결과 촬영된 화상의 백색 재현성에 큰 영향을 미치게 된다. 따라서, 화이트 밸런스 보정처리를 실시함으로써 촬영장치에 의해 재현되는 화상에 위화감이 생기지 않도록 할 수 있다.BACKGROUND ART [0002] In an electronic photographing apparatus that photographs a subject electronically, such as a digital still camera, image signal processing (white balance correction processing) for correcting the white balance so that a white subject is photographed whatever the light source of the illumination is generally built in. There may be a color difference between the photographed image observed with the naked eye and the photographed image by the illumination light source. In this case, the white balance correction processing is a correction processing for causing a white subject to be reproduced in whiteness. For example, in natural light such as daylight and artificial light such as fluorescent light, there are differences in color temperature of two light sources, and as a result, white reproducibility of a photographed image is greatly influenced. Therefore, by performing the white balance correction processing, an uncomfortable feeling can be prevented from occurring in the image reproduced by the photographing apparatus.

화이트 밸런스의 보정은, 촬상소자로부터 얻어진 화상 신호를 복수의 블록으로 분할하고, 분할한 블록마다 R(적색), G(녹색), B(청색) 등의 색별 적산값을 구하여 무채색으로 제어할지 유채색으로 처리할지 판단한다. 그리고, 무채색이라고 판단한 블록에서의 적산값이 R=G=B가 되도록 화이트 밸런스 제어를 하는 것이 일반적이다.The white balance is corrected by dividing the image signal obtained from the image pickup device into a plurality of blocks and obtaining the color integration values such as R (red), G (green), and B (blue) . It is general to perform white balance control so that the integrated value in the block determined as achromatic is R = G = B.

그런데, 분할한 블록에서 복수의 색이 존재함으로써 혼색이 발생하면, 올바르게 유채색·무채색을 판단할 수 없게 되어 버린다. 그래서, 블록을 미세하게 분할함으로써 혼색의 발생을 가능한 한 억제하여 화이트 밸런스 판단이 정상적으로 이루어지는 기술이 개시되어 있다. 예컨대 일본특허공개 2007-336107호, 일본특허공개 2007-228516호, 일본특허공개 2006-211440호, 일본특허공개 2005-12763호 등을 들 수 있다.However, if color mixing occurs due to the presence of a plurality of colors in the divided blocks, it becomes impossible to correctly determine the chromatic color / achromatic color. Thus, a technology is disclosed in which the occurrence of color mixture is suppressed as much as possible by finely dividing a block, and white balance determination is normally performed. For example, Japanese Unexamined Patent Application Publication No. 2007-336107, Japanese Unexamined Patent Publication No. 2007-228516, Japanese Unexamined Patent Publication No. 2006-211440, Japanese Unexamined Patent Publication No. 2005-12763, and the like.

그러나 혼색의 발생을 억제하기 위해 화상 신호 처리의 대상이 되는 블록을 미세하게 분할하면, 그만큼 화이트 밸런스 제어 처리시간이 길어져 1프레임 내에 처리를 마칠 수 없다는 문제가 있었다. 특히, 촬상소자로부터 얻어지는 화상을 촬영장치에 구비된 모니터에 차례대로 표시하는 라이브 뷰 시에서는, 화이트 밸런스 게인의 산출시간이 늘어나면 실제로 눈으로 보고 있는 신과 모니터에 라이브 뷰로 표시되는 신에 시간차가 발생한다. 또한, 정지화상 촬영시에도 화이트 밸런스 제어 처리시간이 길어지면, 촬영 종료까지의 시간이 길어져 버리는 문제가 있고, 특히 단시간에 연속하여 촬영하는 경우 등에서는 다음의 촬영처리에의 동작 지연이 발생한다. 또, 휴대전화 등의 휴대 단말에 촬상소자를 구비하여 카메라 기능을 가지게 하는 경우에는, 저소비전력화의 관점에서 처리시간을 단축시키는 것이 바람직한 것은 물론이다.However, if the block to be subjected to the image signal processing is finely divided so as to suppress the occurrence of the color mixture, the white balance control processing time becomes longer and the processing can not be completed within one frame. Particularly, in live view in which an image obtained from an image pickup device is sequentially displayed on a monitor provided in a photographing apparatus, if the calculation time of the white balance gain increases, a time difference occurs in the scene displayed in live view do. Further, if the white balance control processing time is prolonged at the time of still image photographing, there is a problem that the time until the end of the photographing becomes long. In particular, in the case of continuous photographing in a short time, It goes without saying that it is desirable to shorten the processing time from the viewpoint of low power consumption in the case where an imaging device is provided in a portable terminal such as a cellular phone to have a camera function.

본 발명은 상기와 같은 문제점을 포함하여 여러 문제점들을 해결하기 위한 것으로서, 혼색의 발생을 억제하기 위해, 기록 전의 단계에서는 화상 신호 처리의 대상이 되는 블록을 미세하게 분할하고 기록시에는 기록 전의 단계에서의 미세하게 분할한 블록에 대한 평가 결과를 이용함으로써, 처리 부하를 늘리지 않고 화이트 밸런스를 보정하는 화상 신호 처리가 가능한, 신규이면서 개량된 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체를 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to finely divide a block to be subjected to image signal processing in a step before recording to suppress the occurrence of color mixture, And a program for executing a control method and a control method of a photographing apparatus capable of performing image signal processing for correcting white balance without increasing a processing load by using evaluation results of finely divided blocks of a photographing apparatus And an object of the present invention is to provide a recording medium on which a recording medium is stored.

본 발명은 촬상소자로부터 얻어진 화상 신호를 복수의 제1블록으로 분할하는 제1분할수단과, 제1블록을 M개의 제2블록으로 더 분할하는 제2분할수단과, 연산 대상의 제2블록을 프레임마다 변화시키는 위치 변경수단과, 기록 전에는 위치 변경수단이 변화시킨 제2블록에 대해 연산처리를 실행하고 기록시에는 제1블록에 대해 연산처리를 실행하는 연산수단과, 제2블록에 대한 직근 M프레임의 연산수단의 연산 결과 및 제1블록에 대한 연산 결과를 이용하여 화상 신호의 광원을 추정하는 광원 추정수단을 구비하는 촬영장치를 제공한다.The present invention is characterized by comprising first dividing means for dividing an image signal obtained from an image pickup device into a plurality of first blocks, second dividing means for further dividing the first block into M second blocks, Calculating means for performing arithmetic processing on the second block which has been changed by the position changing means before recording and arithmetic processing on the first block in the case of recording; And light source estimation means for estimating a light source of the image signal by using the calculation result of the M frame calculation means and the calculation result of the first block.

이러한 구성에 의하면, 제1분할수단은 촬상소자로부터 얻어진 화상 신호를 복수의 제1블록으로 분할하고, 제2분할수단은 제1블록을 M개의 제2블록으로 더 분할한다. 그리고, 위치 변경수단은 연산 대상의 제2블록을 프레임마다 변화시키고, 광원 추정수단은 제2블록에 대한 직근 M프레임의 연산수단의 연산 결과 및 제1블록에 대한 연산 결과를 이용하여 화상 신호의 광원을 추정한다. 그 결과, 기록 전의 단계에서는 화상 신호 처리의 대상이 되는 블록을 제2블록으로서 미세하게 분할하고, 기록시에는 기록 전의 단계에서의 미세하게 분할한 제2블록에 대한 연산 결과와 기록시에서의 제1블록에 대한 연산 결과를 이용함으로써, 처리 부하를 늘리지 않고 화상 신호 처리가 가능하다.According to this configuration, the first dividing means divides the image signal obtained from the image pickup device into a plurality of first blocks, and the second dividing means further divides the first block into M second blocks. The position changing means changes the second block to be calculated for each frame and the light source estimating means changes the position of the image signal by using the calculation result of the arithmetic means of the rectilinear M frame for the second block and the calculation result for the first block. Estimate the light source. As a result, in the step before the recording, the block to be subjected to the image signal processing is finely divided as the second block. In recording, the calculation result for the finely divided second block in the pre- By using the calculation result for one block, it is possible to process the image signal without increasing the processing load.

이러한 본 발명의 다른 특징에 의하면, 적어도 M프레임 동안의 상기 광원 추정수단의 광원 추정 결과를 기억하는 기억수단과, 기억수단에서 기억한 제2블록에 대한 직근 M프레임 동안의 광원 추정 결과 및 제1블록에 대한 광원 추정 결과를 이용하여 화이트 밸런스를 보정하는 게인을 산출하는 게인 산출수단을 더 구비하는 것으로 할 수 있다.According to another aspect of the present invention, there is provided an image processing apparatus including: storage means for storing a light source estimation result of the light source estimation means for at least M frames; And gain calculation means for calculating a gain for correcting the white balance using the light source estimation result for the block.

본 발명의 또 다른 특징에 의하면, 게인 산출수단은, 제2블록에 대한 직근 M프레임 동안의 광원 추정 결과를 이용하여 소정의 중량계수를 결정하고, 제1블록에 대한 연산 결과에 해당 소정의 중량계수를 곱하여 게인을 산출하는 것으로 할 수 있다.According to still another aspect of the present invention, the gain calculating means determines a predetermined weight coefficient by using the light source estimation result during the rectilinear M frame for the second block, and adds the calculated weight to the calculation result for the first block The gain can be calculated by multiplying the coefficient.

본 발명의 또 다른 특징에 의하면, 소정의 중량계수는, 광원 추정수단에서의 광원 추정의 결과, 무채색이라고 판단한 소블록의 수가 많을수록 큰 계수가 되도록 할 수 있다.According to still another aspect of the present invention, the predetermined weight coefficient can be such that the greater the number of small blocks determined as achromatic color as the result of the light source estimation in the light source estimation means, the larger the coefficient.

본 발명은 또한, 촬상소자로부터 얻어진 화상 신호를 복수의 제1블록으로 분할하는 제1분할단계와, 제1블록을 M개의 제2블록으로 더 분할하는 제2분할단계 와, 연산 대상의 제2블록을 프레임마다 변화시키는 위치 변경단계와, 기록 전에는 위치 변경단계에서 변화시킨 제2블록에 대해 연산처리를 실행하고 기록시에는 제1블록에 대해 연산처리를 실행하는 연산단계와, 연산단계에서의 제2블록에 대한 직근 M프레임의 연산 결과 및 제1블록에 대한 연산 결과를 이용하여 화상 신호의 광원을 추정하는 광원 추정단계를 포함하는 촬상방법을 제공한다.The present invention also provides a method of dividing an image signal obtained from an image pickup device into a first block, a second block, a second block, An arithmetic operation step of performing arithmetic processing on a second block changed in the position changing step before the recording and an arithmetic processing on the first block in the recording step; And a light source estimating step of estimating a light source of the image signal using the calculation result of the rectilinear M frame for the second block and the calculation result for the first block.

상기한 바와 같이 이루어진 본 발명의 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체에 따르면, 기록 전의 단계에서는 화상 신호 처리의 대상이 되는 블록을 혼색의 발생을 억제하기 위해 미세하게 분할하고 기록시에는 기록 전의 단계에서의 미세하게 분할한 블록에 대한 평가 결과를 이용함으로써, 처리 부하를 늘리지 않고도 화이트 밸런스를 보정하는 화상 신호 처리가 가능한, 신규하면서 개량된 촬영장치, 촬영장치의 제어방법 및 제어방법을 실행시키기 위한 프로그램을 저장한 기록매체를 제공할 수 있다. 이에 의해, 특히 고속 연사시에는, 촬영 전의 화면 표시시와 정지화상 촬영시의 시간차의 영향을 받지 않고, 정지화상 촬영시에 화이트 밸런스 보정의 처리부담을 경감할 수 있는 만큼 처리시간을 단축할 수 있다.According to the recording medium storing the program for executing the photographing apparatus, the photographing apparatus control method, and the control method of the present invention as described above, in the pre-recording step, the block to be subjected to the image signal processing is suppressed And the image signal processing for correcting the white balance without increasing the processing load by using the evaluation results of the finely divided blocks in the pre-recording step at the time of recording is finely divided, It is possible to provide a recording medium storing a program for executing a control method and a control method of a photographing apparatus. Thus, during high-speed continuous shooting, the processing time can be shortened as much as possible to reduce the processing load of white balance correction at the time of still image shooting without being influenced by the time difference between screen display before shooting and still image shooting have.

이하, 첨부된 도면들을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다. 본 명세서 및 도면에서 실질적으로 동일한 기능구성을 가지는 구성요소에 대해서는 동일한 부호를 부여함으로써 중복 설명을 생략한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, constituent elements having substantially the same functional configuration are denoted by the same reference numerals, and redundant description will be omitted.

우선, 본 발명의 적합한 실시예에 대해 설명하기 전에, 화이트 밸런스 보정처리에서 나타날 수 있는 문제점에 대해 도면을 참조하면서 설명한다.First, before describing a preferred embodiment of the present invention, problems that may occur in white balance correction processing will be described with reference to the drawings.

도 10은 화이트 밸런스 보정처리에서의 블록 분할에 대해 설명하는 설명도이다. 화이트 밸런스 보정처리는, 도 10에 나타낸 바와 같이, CCD나 CMOS 등의 촬상소자에서 추출된 화상 신호를 복수의 블록으로 분할하고, 분할한 각각의 블록에 대해 R, G, B 각 색의 화소의 적산값(ΣR, ΣG, ΣB)을 산출한다. 이 R, G, B 각 색의 화소의 적산값(ΣR, ΣG, ΣB)을 산출하면, 블록마다 해당 블록을 무채색으로서 제어할지 또는 유채색으로서 처리할지 등을 판단하여 적절한 화이트 밸런스 게인(Kr, Kg, Kb)을 산출한다.Fig. 10 is an explanatory diagram for explaining the block division in the white balance correction processing. 10, an image signal extracted from an image pickup device such as a CCD or a CMOS is divided into a plurality of blocks, and the white balance correction process is performed for each block of R, G, And calculates the integrated values ([Sigma] R, [Sigma] G, [Sigma] B). When the integrated values (? R,? G,? B) of the pixels of the R, G, and B colors are calculated, whether the block is controlled as achromatic color or chromatic color is determined for each block, and the appropriate white balance gains (Kr, Kg , Kb).

여기서, 분할한 블록 내에 복수의 색이 혼재하는 경우에는 혼색이 발생하여 화이트 밸런스 보정처리를 올바르게 판단할 수 없게 된다. 또한, 분할하는 블록의 면적을 크게 하면 혼색이 발생하는 빈도가 높아진다.Here, when a plurality of colors are mixed in the divided block, mixed color occurs and the white balance correcting process can not be correctly judged. When the area of the block to be divided is increased, the frequency of occurrence of color mixture increases.

도 11은 화이트 밸런스 보정처리의 대상이 되는 CCD나 CMOS 등의 촬상소자에서 추출된 화상 신호로부터 얻어지는 화상의 일례를 나타내는 설명도이고, 도 12는 도 11에 나타낸 화상이 얻어지는 화상 신호를 가로 4블록×세로 3블록으로 분할한 경우를 나타내는 설명도이며, 도 13은 도 11에 나타낸 화상이 얻어지는 화상 신호를 "가로 12블록"×"세로 9블록"으로 분할한 경우를 나타내는 설명도이다. 화이트 밸런스 보정처리에서는, 화상 중의 빨간 꽃잎 부분 및 녹색 잎 부분은 광원이라고는 간주되지 않고 유채색이라고 판단된다. 그러나, 각 블록에서의 적산처리시에 블록 내에서 적색과 녹색이 혼재되어 있으면 혼색이 발생하여 (적색과 녹색이 섞여) 황색의 피사체라고 잘못 판단된다. 이 황색의 피사체가 텅스텐 광 등의 광원과 같은 컬러 밸런스일 경우 광원 색(무채색)이라고 판단되어 화이트 밸런스를 잘못 판단해 버린다. 그래서, 혼색의 발생빈도를 줄이기 위해 블록의 수를 많게 하여 블록의 면적을 줄이는 수법이 있다.11 is an explanatory view showing an example of an image obtained from an image signal extracted from an image pickup element such as a CCD or CMOS which is an object of the white balance correction processing, Fig. 12 shows an image signal obtained from the image shown in Fig. × vertical three blocks. FIG. 13 is an explanatory view showing a case where an image signal for obtaining the image shown in FIG. 11 is divided into "horizontal 12 blocks" × "vertical 9 blocks". In the white balance correction processing, the red petal portion and the green leaf portion in the image are not regarded as a light source but are judged to be chromatic colors. However, when red and green are mixed in the block in the integration process in each block, mixed color occurs (mixed red and green), and it is erroneously determined that the object is yellow. When the subject in yellow is a color balance such as a light source such as tungsten light, it is determined that the color of the light source is achromatic, and the white balance is erroneously judged. Therefore, there is a method of reducing the area of the block by increasing the number of blocks in order to reduce the frequency of occurrence of the color mixture.

도 14는 화상 신호를 "가로 4블록"×"세로 3블록"으로 분할한 경우에 혼색에 의해 노란 피사체라고 잘못 판단된 블록의 배치를 나타내는 설명도이고, 도 15는 화상 신호를 "가로 12블록"×"세로 9블록"으로 분할한 경우에 혼색에 의해 노란 피사체라고 잘못 판단된 블록의 배치를 나타내는 설명도이다.Fig. 14 is an explanatory view showing the arrangement of blocks erroneously judged as yellow subjects by color mixing when the image signal is divided into "horizontal 4 blocks" x "vertical 3 blocks" Quot; x "vertical 9 blocks ". FIG.

도 14 및 도 15에 나타낸 경우에서는, 4×3으로 분할한 경우에는 83%의 블록이 노란 피사체라고 잘못 판단된 것에 대해, 12×9로 분할한 경우에는 28%가 노란 피사체라고 잘못 판단되어 있다. 이와 같이, 블록의 수를 많게 하여 1블록당 면적을 작게 함으로써 혼색의 발생빈도를 억제할 수 있다.In the case shown in Figs. 14 and 15, in the case of dividing into 4 × 3, 83% of the blocks are erroneously determined to be yellow subjects, whereas in the case of dividing into 12 × 9, 28% is erroneously judged to be yellow subjects . As described above, the number of blocks is increased to reduce the area per block, thereby suppressing the occurrence frequency of the color mixture.

그러나, 블록의 수를 많게 하면 한번에 처리해야 할 데이터 수가 늘고, 화이트 밸런스 게인을 산출할 때까지의 처리시간이 증대하여 1프레임 내에 처리를 끝낼 수 없게 되는 문제가 발생한다. 특히, 촬상소자로부터 얻어지는 화상을 촬영장치에 구비된 모니터에 (실시간으로) 차례대로 표시하는 라이브 뷰 시에서는, 화이트 밸런스 게인의 산출시간이 연장되면 실제로 눈으로 보고 있는 신과 모니터에 라이브 뷰 표시되어 있는 신에 시간차가 생겨 버린다.However, if the number of blocks is increased, the number of data to be processed at one time increases, and the processing time until the white balance gain is calculated increases, so that the processing can not be completed within one frame. Particularly, in live view in which an image obtained from an image pickup device is displayed on a monitor (real-time) on a monitor provided in the image pickup device, when the calculation time of the white balance gain is extended, There is a time difference in God.

또한, 정지화상 촬영시에서도 화이트 밸런스 제어의 처리시간이 길어지면 촬영 종료까지의 시간이 길어지는 문제가 있고, 특히 단시간에 연속하여 촬영하는 경 우 등에서는 다음의 촬영처리에의 동작 지연이 발생해 버린다. 또, 휴대전화 외의 휴대 단말에 촬상소자를 구비하여 카메라 기능을 가지게 하는 경우에는, 저소비전력화의 관점에서 처리시간을 단축시킬 수 있으면 바람직한 것은 물론이다.Further, when the processing time of the white balance control is prolonged at the time of still image photographing, there is a problem that the time until the end of the photographing becomes long. In particular, in the case of continuous photographing in a short time, Throw away. It is needless to say that, in the case where a portable terminal other than a cellular phone is equipped with an image pickup device to have a camera function, the processing time can be shortened from the viewpoint of low power consumption.

그래서, 이하에서 설명하는 본 발명의 적합한 실시예에서는, 혼색의 발생빈도를 억제하기 위해 블록의 면적을 작게 하면서도 처리시간의 증대를 억제할 수 있는 촬영장치 및 화상 처리 방법을 구현한다.Therefore, in a preferred embodiment of the present invention described below, a photographing apparatus and an image processing method that can suppress an increase in processing time while reducing the area of a block in order to suppress the occurrence frequency of color mixing are implemented.

우선, 본 발명의 일 실시예에 따른 촬영장치의 구성에 대해 설명한다. 도 1은 본 발명의 일 실시예에 따른 촬영장치(100)의 구성에 대해 나타내는 설명도이다. 이하, 도 1을 이용하여 본 발명의 일 실시예에 따른 촬영장치(100)의 구성에 대해 설명한다.First, the configuration of a photographing apparatus according to an embodiment of the present invention will be described. Fig. 1 is an explanatory view showing a configuration of a photographing apparatus 100 according to an embodiment of the present invention. Hereinafter, a configuration of a photographing apparatus 100 according to an embodiment of the present invention will be described with reference to FIG.

도 1에 나타낸 바와 같이, 본 발명의 일 실시예에 따른 촬영장치(100)는 줌렌즈(102), 조리개(104), 포커스 렌즈(106), CCD(Charge Coupled Devices)소자(108), 앰프 일체형의 CDS(Correlated Double Sampling)회로(110), A/D변환기(112), 화상 입력 콘트롤러(114), 화상 신호 처리부(116), 압축 처리부(120), LCD(Liquid Crystal Display)드라이버(122), LCD(124), 타이밍 발생기(126), 모터 드라이버(142a, 142b, 142c), CPU(Central Processing Unit)(128), 조작부(132), 메모리(134), VRAM(Video Random Access Memory)(136), 미디어 콘트롤러(138), 기록 미디어(140)를 포함한다.1, a photographing apparatus 100 according to an embodiment of the present invention includes a zoom lens 102, a diaphragm 104, a focus lens 106, a CCD (Charge Coupled Devices) element 108, An A / D converter 112, an image input controller 114, an image signal processing unit 116, a compression processing unit 120, an LCD (Liquid Crystal Display) driver 122, a CDS (Correlated Double Sampling) An LCD 124, a timing generator 126, motor drivers 142a, 142b and 142c, a CPU (Central Processing Unit) 128, an operation unit 132, a memory 134, a VRAM (Video Random Access Memory 136, a media controller 138, and a recording medium 140.

줌렌즈(102), 조리개(104), 포커스 렌즈(106), CCD소자(108)로 노광부를 구성한다. 본 실시예에서는 CCD소자(108)를 이용하여 노광부를 구성하고 있지만, 본 발명은 이러한 예에 한정되지 않고, CCD소자 대신에 CMOS(Complementary Metal Oxide Semiconductor)소자를 이용해도 된다. CMOS소자는 CCD소자보다도 고속으로 피사체의 영상 광을 전기신호로 변환할 수 있으므로, 피사체를 촬영하고 나서 화상을 기록할 때까지의 시간을 단축할 수 있다.The zoom lens 102, the diaphragm 104, the focus lens 106, and the CCD element 108 constitute an exposure section. In this embodiment, the CCD element 108 is used to form the exposure unit. However, the present invention is not limited to this example, and a CMOS (Complementary Metal Oxide Semiconductor) element may be used instead of the CCD element. Since the CMOS device can convert the video image of the subject into an electric signal at a higher speed than the CCD device, it is possible to shorten the time until the image is recorded after the subject is photographed.

줌렌즈(102)는 광축 방향으로 전후하여 이동함으로써 초점거리가 연속적으로 변화하는 렌즈로서, 피사체의 크기를 변화하여 촬영한다. 조리개(104)는 화상을 촬영할 때에 CCD소자(108)에 들어오는 광량의 조절을 한다. 포커스 렌즈(106)는 광축 방향으로 전후하여 이동함으로써 피사체의 핀트를 조절하는 것이다.The zoom lens 102 is a lens in which the focal length continuously changes as it moves back and forth in the direction of the optical axis, and changes the size of the subject and photographs it. The diaphragm 104 adjusts the amount of light entering the CCD element 108 when capturing an image. The focus lens 106 adjusts the focus of the subject by moving back and forth in the direction of the optical axis.

모터 드라이버(142a, 142b, 142c)는 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)를 동작시키는 모터를 제어한다. 모터 드라이버(142a, 142b, 142c)를 개재하여 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)를 동작시킴으로써, 피사체의 크기나 광의 양, 핀트의 조절을 한다.The motor drivers 142a, 142b, and 142c control the motor that operates the zoom lens 102, the diaphragm 104, and the focus lens 106. [ The zoom lens 102, the diaphragm 104 and the focus lens 106 are operated via the motor drivers 142a, 142b and 142c to adjust the size of the subject, the amount of light, and the focus.

CCD소자(108)는 줌렌즈(102), 조리개(104) 및 포커스 렌즈(106)로부터 입사된 광을 전기신호로 변환하기 위한 소자이다. 본 실시예에서는 전자 셔터에 의해 입사광을 제어하여 전기신호를 추출하는 시간을 조절하고 있지만, 메카 셔터를 이용하여 입사광을 제어하여 전기신호를 추출하는 시간을 조절해도 된다.The CCD element 108 is an element for converting the light incident from the zoom lens 102, the diaphragm 104, and the focus lens 106 into an electric signal. In this embodiment, the time for extracting the electric signal is controlled by controlling the incident light by the electronic shutter. However, the time for extracting the electric signal by controlling the incident light by using a mechanical shutter may be adjusted.

CDS회로(110)는, CCD소자(108)로부터 출력된 전기신호의 잡음을 제거하는 샘플링 회로의 일종인 CDS회로와, 잡음을 제거한 후에 전기신호를 증폭하는 앰프가 일체가 된 회로이다. 본 실시예에서는 CDS회로와 앰프가 일체가 된 회로를 이용하여 촬영장치(100)를 구성하고 있지만, CDS회로와 앰프를 별도의 회로로 구성해도 된다.The CDS circuit 110 is a circuit in which a CDS circuit, which is a kind of sampling circuit that removes noise of an electric signal output from the CCD element 108, and an amplifier that amplifies an electric signal after noise is removed, are integrated. In the present embodiment, the photographing apparatus 100 is configured by using a circuit in which the CDS circuit and the amplifier are integrated. However, the CDS circuit and the amplifier may be constituted by separate circuits.

A/D변환기(112)는, CCD소자(108)에서 생성된 전기신호를 디지털 신호로 변환하여 화상의 생 데이터를 생성하는 것이다.The A / D converter 112 converts the electric signal generated by the CCD element 108 into a digital signal to generate raw data of an image.

화상 신호 처리부(116)는, A/D변환기(112)에서 생성된 화상의 생 데이터에 대한 각종 신호처리를 하는 회로이다.The image signal processing unit 116 is a circuit for performing various signal processing on raw data of an image generated by the A / D converter 112. [

압축 처리부(120)는, 화상 신호 처리부(116)에서 신호처리가 이루어진 데이터를 적절한 형식의 화상 데이터로 압축하는 압축처리를 한다. 화상의 압축형식은 가역 형식 또는 비가역 형식이어도 된다. 적절한 형식의 예로서 JPEG(Joint Photographic Experts Group)형식이나 JPEG2000형식으로 변환해도 된다.The compression processing unit 120 performs compression processing for compressing the data subjected to the signal processing in the image signal processing unit 116 into image data of an appropriate format. The compression format of the image may be reversible or irreversible. As an example of a suitable format, it may be converted into a Joint Photographic Experts Group (JPEG) format or a JPEG2000 format.

LCD(124)는 촬영 조작을 하기 전의 라이브 뷰 표시나, 촬영장치(100)의 각종 설정화면이나 촬영한 화상의 표시 등을 한다. 화상 데이터나 촬영장치(100)의 각종 정보의 LCD(124)에의 표시는 LCD드라이버(122)를 개재하여 행해진다.The LCD 124 performs live view display before the photographing operation, various setting screens of the photographing apparatus 100, and displays the photographed images. Display of image data and various kinds of information of the image pickup apparatus 100 on the LCD 124 is performed via the LCD driver 122. [

타이밍 발생기(126)는 CCD소자(108)에 타이밍 신호를 입력한다. 타이밍 발생기(126)로부터의 타이밍 신호에 의해 셔터 속도가 결정된다. 즉, 타이밍 발생기(126)로부터의 타이밍 신호에 의해 CCD소자(108)의 구동이 제어되고, CCD소자(108)가 구동하는 시간 내에 피사체로부터의 영상 광을 입사함으로써, 화상 데이터의 기초가 되는 전기신호가 생성된다.The timing generator 126 inputs a timing signal to the CCD element 108. [ The shutter speed is determined by the timing signal from the timing generator 126. [ That is, the driving of the CCD element 108 is controlled by the timing signal from the timing generator 126, and the video light from the subject is incident within the time the CCD element 108 is driven, A signal is generated.

CPU(128)는 CCD소자(108)나 CDS회로(110) 등에 대해 신호계의 명령을 하거나, 조작부(132)의 조작에 대한 조작계의 명령을 한다. 본 실시예에서는 CPU를 하나만 포함하고 있지만, 본 발명에서는 신호계의 명령과 조작계의 명령을 별도의 CPU나 DSP(Digital Signal Processor)에서 행하도록 해도 된다.The CPU 128 instructs the CCD element 108, the CDS circuit 110, and the like by a signal system or an operation system command for the operation of the operation unit 132. [ Although the present embodiment includes only one CPU, in the present invention, a command of the signal system and an instruction of the operating system may be executed by a separate CPU or a DSP (Digital Signal Processor).

조작부(132)는 촬영모드 선택부로서의 기능을 포함하고, 촬영장치(100)를 조작하거나, 촬영시의 각종 설정을 하기 위한 부재가 배치되어 있다. 조작부(132)에 배치되는 부재에는 전원 버튼, 촬영 모드나 촬영 드라이브 모드의 선택 및 효과 파라미터의 설정을 하는 십자 키 및 선택 버튼, 촬영 조작을 개시하는 셔터 버튼 등이 배치된다.The operation unit 132 includes a function as a photographing mode selection unit, and a member for operating the photographing apparatus 100 or performing various settings at the time of photographing is disposed. A member disposed in the operation section 132 is provided with a power button, a cross key and a selection button for selecting a photographing mode or a photographing drive mode and setting an effect parameter, and a shutter button for starting a photographing operation.

메모리(134)는 촬영한 화상이나 화상 신호 처리부(116)에서 신호처리가 이루어진 화상을 일시적으로 기억하는 것이다. 메모리(134)는 복수의 화상을 기억할 수 있는 만큼의 기억용량을 가지고 있다. 메모리(134)에의 화상의 판독/기입은 화상 입력 콘트롤러(114)에 의해 제어된다.The memory 134 temporarily stores the photographed image or the image processed by the image signal processing unit 116. [ The memory 134 has a storage capacity sufficient to store a plurality of images. The image reading / writing into the memory 134 is controlled by the image input controller 114.

VRAM(136)은 LCD(124)에 표시하는 내용을 유지하는 것이고, LCD(124)의 해상도나 최대 발색수는 VRAM(136)의 용량에 의존한다.The VRAM 136 maintains the contents to be displayed on the LCD 124 and the resolution and the maximum number of colors of the LCD 124 depend on the capacity of the VRAM 136. [

기록 미디어(140)는 촬영한 화상을 기록하는 것이다. 기록 미디어(140)에의 입출력은 미디어 콘트롤러(138)에 의해 제어된다. 기록 미디어(140)에는 플래시 메모리에 데이터를 기록하는 카드형의 기억장치인 메모리 카드를 이용할 수 있다.The recording medium 140 records the photographed image. The input / output to / from the recording medium 140 is controlled by the media controller 138. The recording medium 140 may be a memory card that is a card-type storage device for recording data in a flash memory.

이상, 도 1을 이용하여 본 발명의 일 실시예에 따른 촬영장치(100)의 구성에 대해 설명하였다. 다음에, 본 발명의 일 실시예에 따른 촬영장치(100)에 포함되는 화상 신호 처리부(116)의 구성에 대해 설명한다.The configuration of the photographing apparatus 100 according to the embodiment of the present invention has been described above with reference to Fig. Next, the configuration of the image signal processing unit 116 included in the photographing apparatus 100 according to the embodiment of the present invention will be described.

도 2는, 본 발명의 일 실시예에 따른 촬영장치(100)에 포함되는 화상 신호 처리부(116)의 구성에 대해 설명하는 설명도이다. 이하, 도 2를 이용하여 본 발명 의 일 실시예에 따른 촬영장치(100)에 포함되는 화상 신호 처리부(116)의 구성에 대해 설명한다.Fig. 2 is an explanatory view for explaining a configuration of the image signal processing unit 116 included in the photographing apparatus 100 according to the embodiment of the present invention. Hereinafter, the configuration of the image signal processing unit 116 included in the image pickup apparatus 100 according to the embodiment of the present invention will be described with reference to FIG.

도 2에 나타낸 바와 같이, 본 발명의 일 실시예에 따른 화상 신호 처리부(116)는 이미지 프론트 프로세스 처리부(152), 화상 평가부(154), 화이트 밸런스 게인 산출부(156), 화이트 밸런스 보정부(158), 디모자이크 처리부(160), 색보정 처리부(162), 감마 보정 처리부(164)를 포함하여 구성된다.2, the image signal processing unit 116 according to an embodiment of the present invention includes an image front process unit 152, an image evaluation unit 154, a white balance gain calculation unit 156, A demosaicing processing unit 160, a color correction processing unit 162, and a gamma correction processing unit 164.

이미지 프론트 프로세스 처리부(152)는, CCD소자(108)에서 광전 변환되고 A/D변환기에서 디지털 신호로 변환된 화상 신호에 대해 결함 화소 보정이나 흑레벨 보정 등의 이미지 프론트 프로세스 처리를 실행하는 것이다. 이미지 프론트 프로세스 처리부(152)에서 이미지 프론트 프로세스 처리가 이루어진 화상 신호는 화상 평가부(154) 및 화이트 밸런스 보정부(158)로 보내진다.The image front-end processing unit 152 performs image front-end process such as defective pixel correction or black level correction on the image signal that is photoelectrically converted by the CCD element 108 and converted into a digital signal by the A / D converter. The image signal subjected to the image front process processing in the image front process processing unit 152 is sent to the image evaluation unit 154 and the white balance correction unit 158. [

화상 평가부(154)는, 이미지 프론트 프로세스 처리부(152)에서 이미지 프론트 프로세스 처리가 이루어진 화상 신호에 대해, 화이트 밸런스 게인 산출부(156)에서 화이트 밸런스를 보정하기 위한 화이트 밸런스 게인을 산출하기 위해, 화상 평가처리를 실행하는 것이다. 화상 평가부(154)에서는 이미지 프론트 프로세스 처리가 이루어진 화상 신호를 복수의 블록으로 분할하고, 분할한 각각의 블록에 대해 RGB화소의 적산값(ΣR, ΣG, ΣB)을 구하거나, RGB화소의 적산값에 기초하여 광원을 추정한다. 화상 평가부(154)의 구성에 대해서는 후술한다. 화상 평가부(154)에서의 화상 평가 처리의 결과는 화이트 밸런스 게인 산출부(156)로 보내진다.The image evaluation unit 154 calculates the white balance gain for correcting the white balance in the white balance gain calculation unit 156 for the image signal subjected to the image front process processing in the image front process processing unit 152, And executes image evaluation processing. The image evaluation unit 154 divides the image signal subjected to the image front-end processing into a plurality of blocks, obtains the integrated values (? R,? G,? B) of the RGB pixels for each divided block, And estimates the light source based on the value. The configuration of the image evaluation unit 154 will be described later. The result of the image evaluation processing in the image evaluation unit 154 is sent to the white balance gain calculation unit 156. [

화이트 밸런스 게인 산출부(156)는, 화상 평가부(154)에서의 화상 평가 처리 의 결과에 기초하여 화이트 밸런스 게인(Kr, Kg, Kb)을 산출한다. 화이트 밸런스 게인 산출부(156)에서 산출된 화이트 밸런스 게인은 화이트 밸런스 보정부(158)로 보내진다.The white balance gain calculating unit 156 calculates white balance gains (Kr, Kg, Kb) based on the result of the image evaluation processing in the image evaluation unit 154. The white balance gain calculated by the white balance gain calculating section 156 is sent to the white balance correcting section 158.

화이트 밸런스 보정부(158)는, 이미지 프론트 프로세스 처리부(152)에서 이미지 프론트 프로세스 처리가 이루어진 화상 신호에 대해 화이트 밸런스 게인 산출부(156)에서 산출된 화이트 밸런스 게인을 곱한다. 화이트 밸런스 보정부(158)에서 화상 신호에 화이트 밸런스 게인을 곱함으로써, 화상 신호에 대한 화이트 밸런스 보정처리를 실행할 수 있다. 화이트 밸런스 보정처리가 이루어진 화상 신호는 디모자이크 처리부(160)로 보내진다.The white balance correcting section 158 multiplies the white balance gain calculated by the white balance gain calculating section 156 with respect to the image signal subjected to the image front process processing in the image front process processing section 152. [ The white balance correcting process for the image signal can be executed by multiplying the image signal by the white balance gain by the white balance correcting section 158. [ The image signal subjected to the white balance correction processing is sent to the demosaic processing unit 160.

디모자이크 처리부(160)는, 화이트 밸런스 보정처리가 이루어진 화상 신호에 대해 색보완 처리(디모자이크 처리)를 한다. 화이트 밸런스 보정처리가 이루어진 화상 신호에 대해 디모자이크 처리부(160)에서 디모자이크 처리를 함으로써 컬러 화상을 생성할 수 있는데, 디모자이크 처리의 상세에 대해서는 본 발명과는 직접적인 관계는 없으므로 상세한 설명은 생략한다. 디모자이크 처리가 이루어진 화상 신호는 색보정 처리부(162)로 보내진다.The de-mosaic processing unit 160 performs color complement processing (demosaicing processing) on the image signal subjected to the white balance correction processing. The demosaic processing unit 160 performs demosaicing processing on the image signal subjected to the white balance correction processing to generate a color image. The details of the demosaic processing are not directly related to the present invention, and thus a detailed description thereof will be omitted . The image signal subjected to the demosaic processing is sent to the color correction processing unit 162.

색보정 처리부(162)는, 디모자이크 처리부(160)에서 보완 처리(디모자이크 처리)가 이루어진 화상 신호에 대해 색보정 처리를 실시한다. 색보정 처리부(162)에서 색보정 처리를 함으로써 적절한 컬러 화상을 생성할 수 있는데, 색보정 처리의 상세에 대해서는 본 발명과는 직접적인 관계는 없으므로 상세한 설명은 생략한다. 색보정 처리가 이루어진 화상 신호는 감마 보정 처리부(164)로 보내진다.The color correction processing unit 162 performs color correction processing on the image signal subjected to the complementary processing (demosaic processing) in the demosaic processing unit 160. [ The color correction processing unit 162 can perform the color correction processing to generate an appropriate color image. The detail of the color correction processing is not directly related to the present invention, and thus a detailed description thereof will be omitted. The image signal subjected to the color correction processing is sent to the gamma correction processing unit 164.

감마 보정 처리부(164)는, 색보정 처리부(162)에서 색보정 처리가 이루어진 화상 신호에 대해 감마 보정 처리를 실시한다. 감마 보정 처리의 상세에 대해서는 본 발명과는 직접적인 관계는 없으므로 상세한 설명은 생략한다. 감마 보정 처리가 이루어진 화상 신호는 압축 처리부(120)에 보내져 압축 처리가 이루어지거나, 기록 미디어(140)에 기록되거나, LCD(124)에 표시된다.The gamma correction processing unit 164 performs gamma correction processing on the image signal subjected to the color correction processing in the color correction processing unit 162. [ The details of the gamma correction process are not directly related to the present invention, and a detailed description thereof will be omitted. The image signal subjected to the gamma correction processing is sent to the compression processing unit 120 and subjected to compression processing, recording on the recording medium 140, or display on the LCD 124.

이상, 본 발명의 일 실시예에 따른 화상 신호 처리부(116)의 구성에 대해 설명하였다. 다음에, 본 발명의 일 실시예에 따른 화상 신호 처리부(116)에 포함되는 화상 평가부(154)의 구성에 대해 설명한다.The configuration of the image signal processing unit 116 according to the embodiment of the present invention has been described above. Next, the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention will be described.

도 3은, 본 발명의 일 실시예에 따른 화상 신호 처리부(116)에 포함되는 화상 평가부(154)의 구성에 대해 설명하는 설명도이다. 이하, 도 3을 이용하여 본 발명의 일 실시예에 따른 화상 신호 처리부(116)에 포함되는 화상 평가부(154)의 구성에 대해 설명한다.3 is an explanatory view for explaining the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention. Hereinafter, the configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention will be described with reference to FIG.

도 3에 나타낸 바와 같이, 본 발명의 일 실시예에 따른 화상 평가부(154)는 제1블록 분할부(172), 제2블록 분할부(174), 블록 위치 변경부(176), 적산 처리부(178), 기억부(180), 광원 추정부(182)를 구비한다.3, the image evaluating unit 154 according to an embodiment of the present invention includes a first block dividing unit 172, a second block dividing unit 174, a block position changing unit 176, A memory unit 178, a storage unit 180, and a light source estimating unit 182.

제1블록 분할부(172)는 화상 평가부(154)에 보내지는 화상 신호를 소정 크기의 블록(대블록)으로 분할한다. 제1블록 분할부(172)는, 화상 신호를 예를 들면 상술한 바와 같이 "가로 4블록"×"세로 3블록"으로 분할해도 되고, "가로 12블록"×"세로 9블록"으로 분할해도 된다. 분할 수는 이러한 예에 한정되지 않는 것은 물론이다. 또한, 분할할 때의 대블록의 형상은 정사각형이어도 되고, 직사각형이어도 되며, 그 밖의 형상이어도 된다.The first block dividing section 172 divides the image signal sent to the image evaluation section 154 into blocks (large blocks) of a predetermined size. The first block dividing section 172 may divide the image signal into "horizontal 4 blocks" × "vertical 3 blocks" as described above, or may divide the image signal into "horizontal 12 blocks" × "vertical 9 blocks" do. It goes without saying that the number of divisions is not limited to this example. Further, the shape of the large block at the time of division may be a square, a rectangular shape, or any other shape.

제2블록 분할부(174)는, 제1블록 분할부(172)가 분할한 각 대블록을 소정 크기의 블록(소블록)으로 더 분할하는 것이다. 예를 들면, 제1블록 분할부(172)에서 화상 신호를 "가로 4블록"×"세로 3블록"의 대블록으로 분할하고, 각각의 대블록에 대해 제2블록 분할부(174)에서 "가로 3블록"×"세로 3블록"의 소블록으로 분할한다. 분할 수는 이러한 예에 한정되지 않는 것은 물론이다. 분할할 때의 소블록의 형상은 정사각형이어도 되고, 직사각형이어도 되며, 그 밖의 형상이어도 된다. 이하의 설명에서는 편의상 하나의 대블록을 "가로 3블록"×"세로 3블록"의 9개의 소블록으로 분할한 것으로서 설명한다.The second block dividing unit 174 further divides each large block divided by the first block dividing unit 172 into blocks (small blocks) of a predetermined size. For example, in the first block dividing section 172, the image signal is divided into large blocks of "four horizontal blocks" x three vertical blocks, and the second block dividing section 174 divides the image signals into " Quot; horizontal 3-block "and" vertical 3-block " It goes without saying that the number of divisions is not limited to this example. The shape of the small block at the time of division may be a square, a rectangle, or any other shape. In the following description, it is assumed that one large block is divided into nine small blocks of "horizontal 3 blocks" × "vertical 3 blocks" for convenience.

도 4는, 제2블록 분할부(174)에서 하나의 대블록을 "가로 3블록"×"세로 3블록"의 소블록으로 분할한 경우에 대해 나타내는 설명도이다. 도 4에서는 설명의 편의상, 소블록에 A~I의 알파벳을 첨부하여 나타내고 있다.FIG. 4 is an explanatory diagram showing a case where one large block is divided into small blocks of "horizontal 3 blocks" × "vertical 3 blocks" in the second block dividing section 174. In FIG. 4, alphabets A to I are attached to small blocks for convenience of explanation.

블록 위치 변경부(176)는, 촬상처리 전의 단계(촬영장치(100)에의 기록 전의 단계)에서는 후술하는 적산 처리부(178)의 처리 대상의 소블록을 프레임마다 변경하고, 촬상처리의 단계(촬영장치(100)에 기록하는 단계)에서는 적산 처리부(178)의 처리 대상의 대블록을 지정한다. 예를 들면, 제2블록 분할부(174)에서 하나의 대블록을 도 4와 같이 "가로 3블록"×"세로 3블록"의 9개의 소블록으로 분할하면, 촬상처리 전의 단계에서는, 블록 위치 변경부(176)는 프레임마다 A~I의 소블록에서 하나의 소블록을 사이클릭하게 선택한다.The block position changing unit 176 changes the small blocks to be processed by the integration processing unit 178 to be described later in a frame before the imaging processing (before the recording to the imaging apparatus 100) In the step of writing to the apparatus 100), a large block to be processed by the integration processing unit 178 is designated. For example, in the second block dividing section 174, one large block is divided into nine small blocks of "horizontal 3 blocks" × "vertical 3 blocks" as shown in FIG. 4. In the stage before the image pickup processing, The changing unit 176 cyclically selects one small block in the small blocks of A to I for each frame.

도 5는, 촬상처리 전의 단계에서의 블록 위치 변경부(176)에서의 블록 위치 의 변경처리를 설명하는 설명도이다. 도 5에서는, 제2블록 분할부(174)에서 분할한 A~I의 소블록에서 처리 대상의 소블록을 프레임마다 변화시키고 있는 예를 나타내고 있다. 또, 도 5에서는 소블록을 A→E→G→C→H→F→B→D→I→A→…의 순으로 변화시키고 있는 경우에 대해 나타내고 있지만 순번은 도 5에 나타낸 것에 한정되지 않는 것은 물론이다. 또한, 본 실시예에서는 블록 위치 변경부(176)는 소프레임을 사이클릭하게 변화시키고 있지만, 본 발명에서는 적산 처리부(178)의 처리 대상이 되는 소블록을 랜덤으로 변경해도 된다.5 is an explanatory view for explaining the block position changing process in the block position changing unit 176 before the image pick-up process. 5 shows an example in which the small blocks to be processed are changed for each frame in the small blocks A to I divided by the second block dividing unit 174. [ In Fig. 5, the small blocks are denoted by A, E, G, C, H, F, B, D, I, The order is not limited to the one shown in Fig. 5, of course. In the present embodiment, the block position changing unit 176 cyclically changes the small frame, but in the present invention, the small block to be processed by the integration processing unit 178 may be changed at random.

그리고, 촬영자가 촬영장치(100)의 조작부(132)를 조작하여 촬상처리를 실행하면, 블록 위치 변경부(176)는 적산 처리부(178)의 처리 대상의 대블록을 지정한다. 도 6은, 촬상처리 전후에서의 블록 위치 변경부(176)에서의 블록 위치의 변경처리를 설명하는 설명도이다. 촬상처리 전의 단계에서는, 블록 위치 변경부(176)는 제2블록 분할부(174)에서 분할한 A~I의 소블록에서 처리 대상이 되는 소블록을 프레임마다 변화시키고, 촬상처리가 개시되면, 블록 위치 변경부(176)는 처리 대상이 되는 대블록(J)을 지정하고 있다.Then, when the photographer operates the operation unit 132 of the photographing apparatus 100 to execute the image pick-up process, the block position changing unit 176 designates a large block to be processed by the integration processing unit 178. [ 6 is an explanatory view for explaining a block position changing process in the block position changing unit 176 before and after the image pickup process. In the stage before the image pickup processing, the block position changing unit 176 changes the small blocks to be processed in the small blocks of A to I divided by the second block dividing unit 174 for each frame, and when the image pick- The block position changing unit 176 specifies the large block J to be processed.

적산 처리부(178)는, 블록 위치 변경부(176)에 의해 지정된 소블록 또는 대블록에 포함되어 있는 R, G, B 각각의 색의 화소에 대해 화이트 밸런스 게인을 구하기 위한, 소블록에서의 RGB화소의 적산값(ΣR, ΣG, ΣB) 및 대블록에서의 RGB화소의 적산값(ΣR2, ΣG2, ΣB2)을 구한다. RGB화소의 적산값(ΣR, ΣG, ΣB, ΣR2, ΣG2, ΣB2)을 구함으로써, 해당 소블록 또는 대블록에서의 채색을 판정할 수 있다. 적산 처리부(178)에서 구해진 RGB화소의 적산값(ΣR, ΣG, ΣB, ΣR2, ΣG2, ΣB2)이나 해당 소블록 또는 대블록에서의 채색의 판정 결과는 기억부(180)에 일시적으로 기억해도 된다. 그리고, 적산 처리부(178)에서 구해진 RGB화소의 적산값(ΣR, ΣG, ΣB, ΣR2, ΣG2, ΣB2)은 광원 추정부(182)로 보내져 광원 추정부(182)에서의 광원 추정 처리에 이용된다.The integration processing unit 178 compares the RGB values of the small blocks for obtaining the white balance gain with respect to the pixels of the R, G, and B colors included in the small block or large block specified by the block position changing unit 176, The integrated values (? R,? G,? B) of pixels and the integrated values (? R2,? G2,? B2) of RGB pixels in the large block. The coloring in the corresponding small block or large block can be determined by obtaining the integrated values (? R,? G,? B,? R2,? G2,? B2) of RGB pixels. The integrated values (? R,? G,? B,? R2,? G2,? B2) of the RGB pixels obtained by the integration processing section 178 and the determination result of coloring in the corresponding small block or large block may be temporarily stored in the storage section 180 . The integrated values (? R,? G,? B,? R2,? G2,? B2) of RGB pixels obtained by the integration processing unit 178 .

광원 추정부(182)는, 적산 처리부(178)에서 구해진 RGB화소의 적산값(ΣR, ΣG, ΣB, ΣR2, ΣG2, ΣB2)을 이용하여 광원을 추정하는 광원 추정 처리를 실행한다. 광원 추정부(182)에서의 광원 추정 처리의 결과는 기억부(180)에 일시적으로 기억해도 된다. 광원 추정부(182)에서의 광원 추정 처리의 결과는 화이트 밸런스 게인 산출부(156)로 보내져 화이트 밸런스 게인의 산출에 이용된다.The light source estimating unit 182 executes the light source estimating process of estimating the light source by using the integrated values (? R,? G,? B,? R2,? G2,? B2) of the RGB pixels obtained by the integration processing unit 178. The result of the light source estimation processing in the light source estimating section 182 may be temporarily stored in the storage section 180. [ The result of the light source estimation processing in the light source estimating section 182 is sent to the white balance gain calculating section 156 and used for calculation of the white balance gain.

도 7은, 광원 추정부(182)에서 광원을 추정할 때의 평가 대상의 블록과 프레임의 관계의 일례에 대해 설명하는 설명도이다. 도 7에 나타낸 예는, 촬상처리 전의 단계에서 취득한 직근 9프레임분의 소블록(A~I)의 광원 추정 결과와 촬상처리 단계에서 취득한 1프레임분의 대프레임(J)의 광원 추정 결과를 이용하여 광원 추정 처리를 실행하는 경우를 나타낸 것이다.7 is an explanatory view for explaining an example of a relationship between a block to be evaluated and a frame when the light source estimating unit 182 estimates the light source. In the example shown in Fig. 7, the light source estimation result of the small blocks (A to I) for nine rectilinear frames acquired at the stage before the image pickup processing and the light source estimation result of the large frame (J) And the light source estimation processing is executed.

또, 본 실시예에서는 광원 추정부(182)를 화상 평가부(154)에 포함시킨 구성에 대해 설명하였지만, 본 발명은 이러한 예에 한정되지 않는 것은 물론이다. 예를 들면, 광원 추정부(182)의 기능을 화이트 밸런스 게인 산출부(156)에 포함시키도록 해도 된다.Although the light source estimating section 182 is included in the image evaluating section 154 in this embodiment, the present invention is not limited to this example. For example, the function of the light source estimating section 182 may be included in the white balance gain calculating section 156.

이상, 본 발명의 일 실시예에 따른 화상 신호 처리부(116)에 포함되는 화상 평가부(154)의 구성에 대해 설명하였다. 다음에, 본 발명의 일 실시예에 따른 촬상 방법에 대해 설명한다.The configuration of the image evaluation unit 154 included in the image signal processing unit 116 according to the embodiment of the present invention has been described above. Next, an imaging method according to an embodiment of the present invention will be described.

도 8은 본 발명의 일 실시예에 따른 촬상방법에 대해 설명하는 흐름도이다. 이하, 도 8을 이용하여 본 발명의 일 실시예에 따른 촬상방법에 대해 설명한다. 도8에서는 "종료" 단계가 도시되어 있지 않지만, 도 8에 도시된 것과 같은 흐름도를 실행 중 사용자로부터 종료 신호가 있으면 언제든지 프로세스를 종료할 수 있음은 물론이다.8 is a flowchart for explaining an imaging method according to an embodiment of the present invention. Hereinafter, an imaging method according to an embodiment of the present invention will be described with reference to FIG. Although the "end" step is not shown in FIG. 8, it is understood that the process can be terminated at any time if there is a termination signal from the user during execution of the flowchart as shown in FIG.

우선, 블록 위치 변경부(176)에서 화이트 밸런스의 평가 대상이 되는 소블록을 선택한다(단계 S102). 상술한 바와 같이, 블록 위치 변경부(176)가 선택하는 화이트 밸런스의 평가 대상이 되는 소블록은 1프레임마다 변화시킨다.First, the block position changing unit 176 selects a small block to be subjected to white balance evaluation (step S102). As described above, the small block to be evaluated of the white balance selected by the block position changing unit 176 is changed every one frame.

상기 단계 S102에서, 블록 위치 변경부(176)가 화이트 밸런스의 평가 대상이 되는 소블록을 선택하면, 해당 소블록에서의 RGB화소의 적산값(ΣR, ΣG, ΣB)을 적산 처리부(178)에서 산출한다(단계 S104). 단계 S104에서 RGB화소의 적산값(ΣR, ΣG, ΣB)을 적산 처리부(178)에서 산출하면, 다음에 광원 추정부(182)에서 RGB화소의 적산값(ΣR, ΣG, ΣB)을 이용하여 해당 소블록의 채색을 판정한다(단계 S106).When the block position changing unit 176 selects a small block to be subjected to white balance evaluation in step S102, the integrated values (? R,? G,? B) of the RGB pixels in the corresponding small block are stored in the accumulation processing unit 178 (Step S104). When the integrated values SIGMA R, SIG and GIGMA B of the RGB pixels are calculated by the integration processing unit 178 in step S104, the light source estimation unit 182 calculates And determines the coloring of the small block (step S106).

상기 단계 S106에서, RGB화소의 적산값(ΣR, ΣG, ΣB)을 이용하여 해당 소블록의 채색을 광원 추정부(182)에서 판정하면, 이어서 해당 소블록의 채색 판정 결과를 이용하여 해당 소블록의 광원을 광원 추정부(182)에서 추정하고, 해당 소블록이 유채색인지 무채색인지를 판단한다(단계 S108). 유채색인지 무채색인지의 정보는 2값이어도 되고, 3단계 이상의 값이어도 된다. 그리고, 단계 S108에서 해당 소블록의 광원을 광원 추정부(182)에서 추정하면, 추정 결과를 기억부(180)에 기억한다(단계 S110).If the light source estimating unit 182 determines the color of the corresponding small block by using the integrated values (? R,? G,? B) of the RGB pixels in the above-described step S106, The light source estimating unit 182 estimates the light source of the small block and determines whether the small block is a chromatic color or an achromatic color (step S108). The information on whether it is a chromatic color or an achromatic color may be a binary value or a value of three or more. If the light source estimating unit 182 estimates the light source of the small block in step S108, the estimation result is stored in the storage unit 180 (step S110).

상기 단계 S110에서 광원의 추정 결과가 기억부(180)에 기억되면, 기억부(180)에 기억된 추정 결과를 이용하여 화이트 밸런스 게인을 산출한다. 우선, 화이트 밸런스 게인 산출부(156)는 기억부(180)에 기억된 직근의 프레임에서의 추정 결과를 판독한다(단계 S112). 본 실시예에서는 하나의 대블록을 9개의 소블록으로 분할하고 있으므로, 단계 S112에서는, 화이트 밸런스 게인 산출부(156)는 직근 9프레임분의 추정 결과를 기억부(180)에서 판독한다.When the estimation result of the light source is stored in the storage unit 180 in the step S110, the white balance gain is calculated using the estimation result stored in the storage unit 180. [ First, the white balance gain calculating section 156 reads the estimation result in the rectangle frame stored in the storage section 180 (step S112). In this embodiment, one large block is divided into nine small blocks. Thus, in step S112, the white balance gain calculating unit 156 reads the estimation result of nine rectilinear frames from the storage unit 180. [

상기 단계 S112에서 기억부(180)에 기억된 직근의 프레임에서의 추정 결과를 판독하면, 화이트 밸런스 게인 산출부(156)는 판독한 추정 결과를 가중 평균한다(단계 S114). 가중 평균의 일례를 설명하면 다음가 같다. 평가 프레임을 f, 각 프레임에서 무채색으로서 취급하는 블록의 수를 n, 무채색으로 취급하는 블록의 RGB적산값을 r, g, b라고 하면, 9프레임 동안의 컬러 밸런스(Cr, Cg, Cb)는 이하의 수학식 1로 구할 수 있다.When the estimation result in the rectilinear frame stored in the storage unit 180 is read in step S112, the white balance gain calculation unit 156 weight-averages the read estimation result (step S114). An example of the weighted average is as follows. Assuming that the evaluation frame is f, the number of blocks to be treated as achromatic color in each frame is n, and the RGB integrated values of the block to be treated as achromatic color are r, g, and b, the color balance (Cr, Cg, Cb) Can be obtained by the following formula (1).

Figure 112009029242675-pat00001
Figure 112009029242675-pat00001

Figure 112009029242675-pat00002
Figure 112009029242675-pat00002

Figure 112009029242675-pat00003
Figure 112009029242675-pat00003

상기 수학식 1과 같이 9프레임 동안의 컬러 밸런스(Cr, Cg, Cb)를 구하면, 이어서 화이트 밸런스 게인 산출부(156)는 구한 컬러 밸런스(Cr, Cg, Cb)를 이용하여 화상 신호에 대한 화이트 밸런스 게인을 산출한다(단계 S116). 화이트 밸런스 게인(Kr, Kg, Kb)은 이하의 수학식 2로 구할 수 있다.The white balance gain calculator 156 calculates the white balance gain Cr by using the obtained color balances Cr, Cg, and Cb as shown in Equation (1) And the balance gain is calculated (step S116). The white balance gains (Kr, Kg, Kb) can be obtained by the following equation (2).

Figure 112009029242675-pat00004
Figure 112009029242675-pat00004

Figure 112009029242675-pat00005
Figure 112009029242675-pat00005

Figure 112009029242675-pat00006
Figure 112009029242675-pat00006

또, 상기 수학식 2는 컬러 밸런스(Cr, Cg, Cb) 중에서 Cg의 값이 가장 큰 경우의 산출식이고, 그 밖의 색의 값이 큰 경우에는 그 색의 화이트 밸런스 게인이 1이 되도록 상기 수학식을 적절히 변경한다.The above equation (2) is a calculation formula in the case where the value of Cg is the largest among the color balances (Cr, Cg, Cb). When the values of the other colors are large, Modify the expression as appropriate.

상기 단계 S116에서 화이트 밸런스 게인을 산출하면, 이어서 촬영자에 의한 촬영동작이 실행되었는지를 판정한다(단계 S118). 촬영자에 의한 촬영동작은 조작부(132)에 포함되는 셔터 버튼의 누름이어도 된다. 또한, 촬영자에 의한 촬영동작이 실행되었는지는 CPU(128)에서 판정해도 된다.When the white balance gain is calculated in step S116, it is determined whether or not the photographing operation by the photographer has been executed (step S118). The photographing operation by the photographer may be a pressing of the shutter button included in the operation unit 132. [ Further, the CPU 128 may determine whether or not the photographing operation by the photographer has been executed.

상기 단계 S118의 판정 결과 촬영자에 의해 촬영동작이 실행되지 않았다고 판정된 경우에는, 상기 단계 S102로 되돌아가 블록 위치 변경부(176)에서 화이트 밸런스의 평가 대상이 되는 소블록을 선택한다. 한편, 상기 단계 S118의 판정 결과 촬영자에 의해 촬영동작이 실행되었다고 판정된 경우에는, 블록 위치 변경부(176)는 화이트 밸런스의 평가 대상이 되는 대블록을 선택한다(단계 S120).If it is determined in step S118 that the photographing operation has not been performed by the photographer, the process returns to step S102, and the block position changing unit 176 selects a small block to be subjected to white balance evaluation. On the other hand, if it is determined in step S118 that the photographing operation has been performed by the photographer, the block position changing unit 176 selects a large block to be subjected to white balance evaluation (step S120).

상기 단계 S120에서 블록 위치 변경부(176)에 의해 화이트 밸런스의 평가 대상이 되는 대블록이 선택되면, 이어서 해당 대블록에서의 RGB화소의 적산값(ΣR2, ΣG2, ΣB2)을 적산 처리부(178)에서 산출한다(단계 S122). RGB화소의 적산값(ΣR2, ΣG2, ΣB2)을 적산 처리부(178)에서 산출하면, 이어서 광원 추정부(182)에서 해당 대블록에서의 RGB화소의 적산값(ΣR2, ΣG2, ΣB2)을 이용하여 해당 대블록의 채색을 판정한다(단계 S124).When the large block to be subjected to the white balance evaluation is selected by the block position changing unit 176 in the step S120, the integrated values SIGMA R2, SIGMA G2 and SIGMA B2 of the RGB pixels in the corresponding large block are then output to the accumulation processing unit 178, (Step S122). When the integrated values SIGMA R2, SIGMA G2 and SIGMA B2 of the RGB pixels are calculated by the integration processing unit 178, the light source estimation unit 182 then uses the integrated values SIGMA R2, SIGMA G2 and SIGMA B2 of the RGB pixels in the corresponding large block And determines the coloring of the corresponding large block (step S124).

상기 단계 S124에서 광원 추정부(182)에 의해 대블록의 채색을 판정하면, 이어서 상기 단계 S110에서 기억부(180)에 기억한 소블록의 광원 추정 결과를 직근 9프레임만큼 판독한다(단계 S126). 그리고, 단계 S126에서 판독한 직근 9프레임분의 광원 추정 결과를 이용하여 화이트 밸런스 게인 산출부(156)에서 화이트 밸런스 게인을 산출한다.When the light source estimating unit 182 determines the coloring of the large block in the step S124, the light source estimation result of the small block stored in the storage unit 180 in the step S110 is read by nine rectilinear frames (step S126) . Then, the white balance gain calculator 156 calculates the white balance gain using the light source estimation result for nine rectilinear frames read in step S126.

화이트 밸런스 게인 산출부(156)에서 화이트 밸런스 게인을 산출하는 데는, 우선 대블록의 연산 처리 결과에 대한 중량을 결정한다(단계 S128). 대블록의 연산 처리 결과에 대한 중량은 무채색이라고 판단한 소블록의 수의 대소에 따라 결정해도 된다. 도 9는 무채색이라고 판단한 소블록의 수와 대블록의 연산 처리 결과에 대한 중량계수의 관계의 일례를 그래프로 나타내는 설명도이다. 도 9에 나타낸 그래프에서는 가로축에 무채색이라고 판단한 소블록의 수를, 세로축에 대블록의 연산 처리 결과에 대한 중량계수를 각각 나타내고 있다. 그리고, 도 9에 나타낸 예에서는 무채색이라고 판단한 소블록의 수가 늘면, 2차 함수적으로 중량계수를 크게 하는 경우를 나타내고 있다. 무채색이라고 판단한 소블록의 수와 중량계수의 관계는 도 9에 나타낸 예에 한정되지 않는 것은 물론이다.To calculate the white balance gain at the white balance gain calculating unit 156, the weight for the operation result of the large block is determined first (step S128). The weight of the arithmetic processing result of the large block may be determined according to the number of small blocks determined to be achromatic. 9 is an explanatory diagram showing in graph form an example of the relationship between the number of small blocks judged to be achromatic and the weighting coefficient for the calculation result of the large block. In the graph shown in Fig. 9, the abscissa represents the number of small blocks determined to be achromatic, and the ordinate represents the weight coefficient for the arithmetic processing result of the large block. In the example shown in Fig. 9, when the number of small blocks judged to be achromatic is increased, the weight coefficient is increased in a quadratic function. It goes without saying that the relationship between the number of small blocks determined to be achromatic and the weighting coefficient is not limited to the example shown in Fig.

도 9에 나타낸 그래프를 이용하여 설명하면, 무채색이라고 판단한 소블록이 최대의 9개인 경우에는, 중량계수를 최대의 1.0으로 하고 있다. 또한, 무채색이라고 판단한 소블록이 8개인 경우에는 중량계수를 0.75로 하고, 무채색이라고 판단한 소블록이 7개인 경우에는 중량계수를 0.5로 하고 있다. 이와 같이, 정지화상 촬영시에 대블록이 무채색인지의 여부의 신뢰도를 나타내는 중량계수를 적용함으로써, 혼색이 발생할 가능성이 높은 대블록에서는 해당 대블록에 대한 연산 처리 결과의 영향도를 줄여, 잘못 판단을 저감할 수 있다.Referring to the graph shown in Fig. 9, when the maximum number of small blocks determined as achromatic is nine, the weight coefficient is maximized to 1.0. When the number of small blocks determined to be achromatic is 8, the weight coefficient is 0.75, and when there are 7 small blocks determined to be achromatic, the weight coefficient is 0.5. As described above, by applying the weight coefficient indicating the reliability of whether or not the large block is achromatic at the time of photographing the still image, it is possible to reduce the influence of the operation processing result on the large block in the large block, Can be reduced.

상기 단계 S128에서 대블록의 연산 처리 결과에 대한 중량을 결정하면, 결정한 중량을 이용하여 상기 단계 S120에서 선택한 대블록에서의 광원을 추정한다(단계 S130). 그리고 단계 S130에서 추정한 광원의 정보를 이용하여 화이트 밸런스 게인 산출부(156)에서 화이트 밸런스 게인을 산출한다(단계 S132). 촬영장치(100)는 산출한 화이트 밸런스 게인을 화이트 밸런스 보정부(158)에서 적용함으로써 화이트 밸런스를 보정한다.If the weight of the operation result of the large block is determined in step S128, the light source in the large block selected in step S120 is estimated using the determined weight (step S130). The white balance gain calculator 156 calculates the white balance gain using the information of the light source estimated in step S130 (step S132). The photographing apparatus 100 corrects the white balance by applying the calculated white balance gain to the white balance correction section 158. [

이상, 도 8을 이용하여 본 발명의 일 실시예에 따른 촬상방법에 대해 설명하였다. 이와 같이, 촬영 전의 시점에서는 복수 프레임에 걸쳐 위치가 다른 소블록에 대한 신호처리를 실행하고, 촬영시에는 직전 프레임에서의 소블록에 대한 신호 처리 결과와 촬영동작 실행시점에서의 대블록에 대한 신호 처리 결과를 이용함으로써, 1프레임당 처리부하를 증가시키지 않고 보다 작은 블록 분할이 가능하게 되어 혼색 발생을 억제할 수 있다.The imaging method according to the embodiment of the present invention has been described above with reference to Fig. As described above, the signal processing for the small blocks whose positions are different over a plurality of frames is performed at the time point before shooting, and the signal processing results for the small blocks in the immediately preceding frame and the signals By using the processing result, smaller block division is possible without increasing the processing load per one frame, and the occurrence of color mixture can be suppressed.

이상 설명한 바와 같이, 본 발명의 일 실시예에 따르면, 기록 전의 단계에서는 화상 신호 처리의 대상이 되는 블록을 혼색의 발생을 억제하기 위해 소블록으로서 미세하게 분할하고, 기록시에는 복수의 소블록으로 이루어진 대블록에 대한 평가 결과와 기록 전의 직근 프레임에서의 미세하게 분할한 소블록에 대한 평가 결과를 이용함으로써, 처리부하를 늘리지 않고 화이트 밸런스를 보정하는 화상 신호 처리를 실행하는 것이 가능하게 된다. 또한, 화이트 밸런스를 보정하는 게인은 촬영시의 화소의 적산값을 기초로 산출하고, 과거의 프레임에서 산출한 데이터는 중량계수의 결정에만 사용되기 때문에, 블록을 미세하게 분할했을 때에 생기는 평가 데이터의 산출 지연에 따른 폐해는 발생하지 않게 된다. 그리고, 특히 복수의 정지화상을 단시간에 연속하여 촬영하는 고속 연사시에는, 촬영 전의 화면 표시시와 정지화상 촬영시의 시간차의 영향을 받지 않고, 정지화상 촬영시에 화이트 밸런스 보정의 처리부담을 경감할 수 있는 만큼 처리시간을 단축할 수 있다.As described above, according to the embodiment of the present invention, a block to be subjected to image signal processing is finely divided as a small block in order to suppress the occurrence of color mixture, and a plurality of small blocks It is possible to execute the image signal processing for correcting the white balance without increasing the processing load by using the evaluation result for the large block and the evaluation result for the finely divided small block in the rectilinear frame before recording. Since the gain for correcting the white balance is calculated on the basis of the integrated value of the pixels at the time of photographing and the data calculated in the past frame is used only for determination of the weight coefficient, The worst caused by the calculation delay does not occur. In particular, during high-speed continuous shooting in which a plurality of still images are continuously shot in a short time, the processing load of the white balance correction is reduced at the time of still image shooting without being affected by the time difference between the screen display before shooting and the still image shooting The processing time can be shortened as much as possible.

또, 상술한 촬영장치(100)의 동작은 촬영장치(100)의 내부에 컴퓨터 프로그램을 기억시키고, 해당 컴퓨터 프로그램을 CPU(128)가 판독하여 차례대로 실행함으로써 이루어지도록 해도 된다.The above-described operation of the photographing apparatus 100 may be realized by storing a computer program in the photographing apparatus 100 and reading the computer program by the CPU 128 and sequentially executing the computer program.

이상에서 언급된 본 실시예들 및 그 변형예들에 따른 제어방법을 촬영장치에서 실행시키기 위한 프로그램은 기록매체에 저장될 수 있다. 여기서 기록매체라 함 은 예컨대 도 1에 도시된 것과 같은 메모리일 수도 있고, 도 1에 도시된 것과 같은 VRAM일 수도 있으며, 기록 미디어일 수도 있고, 이와 다른 별도의 기록매체일 수도 있다. 여기서 기록매체는 마그네틱 저장매체(예컨대, 롬(ROM), 플로피 디스크, 하드디스크 등) 및 광학적 판독 매체(예컨대, 시디롬(CD-ROM), 디브이디(DVD: Digital Versatile Disc))와 같은 저장매체를 포함한다.The program for executing the control method according to the embodiments and the modifications described above in the photographing apparatus can be stored in the recording medium. Here, the recording medium may be, for example, a memory as shown in FIG. 1, a VRAM as shown in FIG. 1, a recording medium, or a separate recording medium. The storage medium may be a storage medium such as a magnetic storage medium (e.g., ROM, floppy disk, hard disk, etc.) and an optical reading medium (e.g., CD-ROM, DVD (Digital Versatile Disc) .

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the invention. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

도 1은 본 발명의 일 실시예에 따른 촬영장치(100)의 구성에 대해 나타내는 설명도이다.Fig. 1 is an explanatory view showing a configuration of a photographing apparatus 100 according to an embodiment of the present invention.

도 2는 화상 신호 처리부(116)의 구성에 대해 설명하는 설명도이다.Fig. 2 is an explanatory view for explaining a configuration of the image signal processing section 116. Fig.

도 3은 화상 평가부(154)의 구성에 대해 설명하는 설명도이다.3 is an explanatory view for explaining the configuration of the image evaluation section 154. [

도 4는 하나의 대블록을 가로 3블록×세로 3블록의 소블록으로 분할한 경우에 대해 나타내는 설명도이다.FIG. 4 is an explanatory view showing a case where one large block is divided into small blocks of 3 blocks by 3 blocks.

도 5는 촬상처리 전의 단계에서의 블록 위치 변경부(176)에서의 블록 위치의 변경처리를 설명하는 설명도이다.5 is an explanatory view for explaining the block position changing process in the block position changing unit 176 in the stage before the imaging process.

도 6은 촬상처리 전후에서의 블록 위치 변경부(176)에서의 블록 위치의 변경처리를 설명하는 설명도이다.Fig. 6 is an explanatory view for explaining the block position changing process in the block position changing unit 176 before and after the imaging process.

도 7은 광원 추정부(182)에서 광원을 추정할 때의 평가 대상의 블록과 프레임의 관계의 일례에 대해 설명하는 설명도이다.7 is an explanatory view for explaining an example of the relationship between a block to be evaluated and a frame when the light source estimating unit 182 estimates the light source.

도 8은 본 발명의 일 실시예에 따른 촬상방법에 대해 설명하는 흐름도이다.8 is a flowchart for explaining an imaging method according to an embodiment of the present invention.

도 9는 무채색이라고 판단한 소블록의 수와 소블록의 광원 추정 결과에 대한 중량의 관계의 일례를 그래프로 나타내는 설명도이다.Fig. 9 is an explanatory diagram graphically showing an example of the relationship between the number of small blocks judged to be achromatic and the weight of the light block estimated by the small block.

도 10은 화이트 밸런스 보정처리에서의 블록 분할에 대해 설명하는 설명도이다.Fig. 10 is an explanatory diagram for explaining the block division in the white balance correction processing.

도 11은 화이트 밸런스 보정처리의 대상이 되는 CCD나 CMOS 등의 촬상소자에서 추출된 화상 신호로부터 얻어지는 화상의 일례를 나타내는 설명도이다.11 is an explanatory diagram showing an example of an image obtained from an image signal extracted by an image pickup element such as a CCD or CMOS, which is subjected to white balance correction processing.

도 12는 도 11에 나타낸 화상이 얻어지는 화상 신호를 가로 4블록×세로 3블록으로 분할한 경우를 나타내는 설명도이다.Fig. 12 is an explanatory diagram showing a case where an image signal obtained by the image shown in Fig. 11 is divided into 4 horizontal blocks by 3 vertical blocks.

도 13은 도 11에 나타낸 화상이 얻어지는 화상 신호를 가로 12블록×세로 9블록으로 분할한 경우를 나타내는 설명도이다.13 is an explanatory diagram showing a case where an image signal obtained by the image shown in Fig. 11 is divided into 12 horizontal blocks and 9 vertical blocks.

도 14는 화상 신호를 가로 4블록×세로 3블록으로 분할한 경우의 혼색 발생의 일례를 나타내는 설명도이다.14 is an explanatory view showing an example of occurrence of color mixture when an image signal is divided into 4 blocks by 3 blocks.

도 15는 화상 신호를 가로 12블록×세로 9블록으로 분할한 경우의 혼색 발생의 일례를 나타내는 설명도이다.Fig. 15 is an explanatory view showing an example of occurrence of color mixture when an image signal is divided into 12 blocks x 9 blocks.

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

100: 촬영장치 102: 줌렌즈100: photographing apparatus 102: zoom lens

104: 조리개 106: 포커스 렌즈104: Aperture 106: Focus lens

108: CCD소자 110: CDS회로108: CCD element 110: CDS circuit

112: A/D변환기 114: 화상 입력 콘트롤러112: A / D converter 114: Image input controller

116: 화상 신호 처리부 120: 압축 처리부116: image signal processing unit 120: compression processing unit

122: LCD드라이버 124: LCD122: LCD driver 124: LCD

126: 타이밍 발생기 128: CPU126: timing generator 128: CPU

132: 조작부 134: 메모리132: Operation section 134: Memory

138: 미디어 콘트롤러 140: 기록 미디어138: Media controller 140: Recording media

142a, 142b, 142c: 모터 드라이버 152: 이미지 프론트 프로세스 처리부142a, 142b, 142c: motor driver 152: image front process processor

154: 화상 평가부 156: 화이트 밸런스 게인 산출부154: image evaluation unit 156: white balance gain calculation unit

158: 화이트 밸런스 보정부 160: 디모자이크 처리부158: white balance correction unit 160: demosaicing unit

162: 색보정 처리부 164: 감마 보정 처리부162: color correction processing unit 164: gamma correction processing unit

172: 제1블록 분할부 174: 제2블록 분할부172: first block dividing section 174: second block dividing section

176: 블록 위치 변경부 178: 적산 처리부176: Block position changing unit 178:

180: 기억부 182: 광원 추정부180: storage unit 182: light source estimation unit

Claims (6)

촬상 소자로부터 얻어진 화상 신호를 복수의 제1블록으로 분할하는 제1분할수단;First dividing means for dividing an image signal obtained from the image pickup device into a plurality of first blocks; 상기 제1블록 각각을 M(M>1, 그리고 M은 자연수)개의 제2블록으로 더 분할하는 제2분할수단;Second dividing means for further dividing each of the first blocks into M (M > 1, and M is a natural number) second blocks; 매 프레임마다 상기 M개의 제2블록 중 어느 하나의 제2블록을 기 설정된 조건에 따라 연산 대상으로 선택하고, 상기 연산 대상을 상기 매 프레임마다 변경시키는 위치 변경수단;Position changing means for selecting any one of the M second blocks as an operation subject in accordance with a predetermined condition every frame and changing the operation subject for each frame; 기록 전에는 상기 위치 변경수단이 변화시킨 상기 제2블록에 대해 연산처리를 실행하고, 기록시에는 상기 제1블록에 대해 연산처리를 실행하는 연산수단; 및Calculating means for performing an arithmetic process on the second block in which the position changing means has been changed before the recording and executing an arithmetic process on the first block in the recording; And 상기 연산수단의, 상기 M개의 직근(直近)프레임에서 상기 제2블록에 대한 연산 결과 및 상기 제1블록에 대한 연산 결과를 이용하여 상기 위치 변경 수단에 의하여 변경된 제2블록 및 상기 제1블록의 광원을 추정하는 광원 추정수단;을 구비하는 촬영장치.A second block which is changed by the position changing means by using the calculation result for the second block and the calculation result for the first block in the M near- And light source estimation means for estimating the light source. 제1항에 있어서,The method according to claim 1, 적어도 상기 M개의 프레임 동안의 상기 광원 추정수단의 광원 추정 결과를 기억하는 기억수단;Storage means for storing a light source estimation result of the light source estimation means during at least the M frames; 상기 기억수단에서 기억한 상기 제2블록의 상기 M개의 직근 프레임 동안의 광원 추정 결과 및 상기 제1블록에 대한 광원 추정 결과를 이용하여 화이트 밸런스를 보정하는 게인을 산출하는 게인 산출수단;을 더 구비하고, And gain calculating means for calculating a gain for correcting white balance using the light source estimation result for the M straight frames of the second block and the light source estimation result for the first block stored in the storage means and, 상기 게인 산출수단은, 상기 제2블록의 상기 M개의 직근 프레임 동안의 광원 추정 결과를 이용하여 소정의 중량계수를 결정하고, 상기 제1블록에 대한 연산 결과에 상기 소정의 중량계수를 곱하여 게인을 산출하는, 촬영장치.Wherein the gain calculation unit determines a predetermined weight coefficient using the light source estimation result during the M rectilinear frames of the second block and multiplies the calculation result for the first block by the predetermined weight coefficient to obtain a gain Calculating device. 삭제delete 제2항에 있어서,3. The method of claim 2, 상기 소정의 중량계수는, 상기 광원 추정수단에서의 광원 추정의 결과, 상기 M개의 직근 프레임 동안 무채색이라고 판단한 제2블록의 수가 많을수록 큰 계수인, 촬영장치.Wherein the predetermined weight coefficient is a larger coefficient as a result of the light source estimation in the light source estimation means, the greater the number of second blocks determined to be achromatic in the M rectilinear frames. 삭제delete 삭제delete
KR1020090042543A 2008-11-14 2009-05-15 Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method KR101612853B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2008-292517 2008-11-14
JP2008292517A JP4705146B2 (en) 2008-11-14 2008-11-14 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
KR20100054703A KR20100054703A (en) 2010-05-25
KR101612853B1 true KR101612853B1 (en) 2016-04-15

Family

ID=42279390

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090042543A KR101612853B1 (en) 2008-11-14 2009-05-15 Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method

Country Status (2)

Country Link
JP (1) JP4705146B2 (en)
KR (1) KR101612853B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5827466B2 (en) 2010-11-08 2015-12-02 オリンパス株式会社 Imaging apparatus, imaging method, and program
JP6235788B2 (en) * 2013-04-10 2017-11-22 キヤノン株式会社 Imaging apparatus and control method thereof
JP6138211B2 (en) * 2015-10-16 2017-05-31 オリンパス株式会社 Imaging apparatus, imaging method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04127673A (en) * 1990-09-19 1992-04-28 Hitachi Ltd Image pickup device
JPH04207791A (en) * 1990-11-30 1992-07-29 Casio Comput Co Ltd Luminance level measuring circuit
JPH10155106A (en) * 1996-11-22 1998-06-09 Olympus Optical Co Ltd Electronic image pickup device

Also Published As

Publication number Publication date
JP4705146B2 (en) 2011-06-22
JP2010119051A (en) 2010-05-27
KR20100054703A (en) 2010-05-25

Similar Documents

Publication Publication Date Title
KR100819804B1 (en) Photographing apparatus
US7598990B2 (en) Image signal processing system and electronic imaging device
US8599283B2 (en) Image capture apparatus and image capturing method
JP2001275029A (en) Digital camera, its image signal processing method and recording medium
JP2004088149A (en) Imaging system and image processing program
EP2608527A2 (en) Image pickup apparatus, control method for image pickup apparatus, and storage medium
EP2214136B1 (en) Method and program for controlling image capture apparatus
US11798143B2 (en) Image processing apparatus and control method thereof
KR101003681B1 (en) Pixel interpolation circuit, pixel interpolation method, and recording medium
JP5589660B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP2007036438A (en) Color discrimination method and device of imaging apparatus, and exposure control method of imaging apparatus
KR101612853B1 (en) Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method
JP2007311962A (en) Electronic camera and image display program
JP2006287814A (en) Imaging apparatus and method of determining motion vector
JP2006253970A (en) Imaging apparatus, shading correction data generating method, and program
JPWO2006103880A1 (en) Imaging device
JP5284183B2 (en) Image processing apparatus and method
JP2009055415A (en) Camera
JP2008219230A (en) Imaging apparatus, and image processing method
KR101595888B1 (en) Photographing apparatus controlling method of photographing apparatus and recording medium storing program to implement the controlling method
KR101408359B1 (en) Imaging apparatus and imaging method
JP2004222160A (en) Digital camera
JP6281682B2 (en) Image data generation apparatus, image data generation method and program
JP5145876B2 (en) Imaging apparatus and imaging method
JP2009118247A (en) Photographic device

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190325

Year of fee payment: 4