KR20080000237A - Back light compensation method of camera - Google Patents

Back light compensation method of camera Download PDF

Info

Publication number
KR20080000237A
KR20080000237A KR1020060057870A KR20060057870A KR20080000237A KR 20080000237 A KR20080000237 A KR 20080000237A KR 1020060057870 A KR1020060057870 A KR 1020060057870A KR 20060057870 A KR20060057870 A KR 20060057870A KR 20080000237 A KR20080000237 A KR 20080000237A
Authority
KR
South Korea
Prior art keywords
luminance
pixels
threshold
value
predetermined
Prior art date
Application number
KR1020060057870A
Other languages
Korean (ko)
Other versions
KR101170748B1 (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 KR1020060057870A priority Critical patent/KR101170748B1/en
Publication of KR20080000237A publication Critical patent/KR20080000237A/en
Application granted granted Critical
Publication of KR101170748B1 publication Critical patent/KR101170748B1/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Abstract

A method for compensating for back light in a photographing apparatus is provided to overcome a problem of image distortion caused by a BMB(Back Mask BLC) scheme, which is always performed regardless of environmental conditions. N pixels (refereed to as clipped pixels) above predetermined threshold luminance value in an input image are counted(S100). It is determined if the N is greater than or equal to a predetermined threshold value(S102). The input luminance level of all pixels of the input image is lowered according to a predetermined rule if the N is greater than or equal to the threshold value(S104). An auto exposure is adjusted according to the changed input luminance level if N is smaller than the threshold value or after the input bright level of the pixels is lowered(S106). The predetermined rule is that luminance values of pixels exceeding the threshold luminance value are reduced by a predetermined value.

Description

촬영장치의 역광보정방법{Back light compensation method of camera}Back light compensation method of camera

도 1은 본 발명의 역광보정방법이 적용되는 CCD 감시카메라의 간략화된 내부구성의 일 예를 나타낸 블록도이다.1 is a block diagram showing an example of a simplified internal configuration of a CCD surveillance camera to which the backlight compensation method of the present invention is applied.

도 2는 본 발명의 바람직한 일 실시예에 의한 촬영장치의 역광보정방법을 설명하기 위한 플로우차트이다.2 is a flowchart for describing a backlight compensation method of the photographing apparatus according to an exemplary embodiment of the present invention.

도 3은 도 2의 S104 단계에서 휘도레벨을 낮추는 방법의 일 예를 설명한 감마(gamma) 특성곡선이다.FIG. 3 is a gamma characteristic curve illustrating an example of a method of lowering a luminance level in operation S104 of FIG. 2.

도 4는 클립화소에 대하여 영레벨로 휘도 고정이 수행된 후의 과다노출 방지를 위하여 영상 스케일링 방법이 수행된 예를 설명하기 위한 도면이다.FIG. 4 is a diagram for explaining an example in which an image scaling method is performed to prevent overexposure after a luminance fix is performed at a zero level with respect to a clip pixel.

도 5는 본 발명의 바람직한 다른 실시예에 의한 촬영장치의 역광보정방법을 설명하기 위한 플로우차트이다.5 is a flowchart for explaining a backlight compensation method of the photographing apparatus according to another exemplary embodiment of the present invention.

본 발명은, 감시 카메라와 같은 촬상소자를 이용한 촬영장치에 관한 것으로서, 특히 역광보정(BACK LIGHT COMPENSATION, BLC) 기능이 있는 촬영장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photographing apparatus using an imaging device such as a surveillance camera, and more particularly to a photographing apparatus having a BACK LIGHT COMPENSATION function.

촬상소자를 이용한 촬영장치에서 BLC는 피사체가 역광상태 하에서 촬영될 경우 모니터에 재생 시, 배경은 밝고 피사체는 어둡게 되어 피사체가 식별불능 상태가 되는 것을 방지하기 위하여 대두된 기능으로, 한마디로 역광상태의 화질을 개선시키기 위하여 사용되는 기능을 말한다.The BLC in the image pickup device using the image pickup device is a function to prevent the subject from becoming indistinguishable because the background becomes bright and the subject becomes dark when the subject is photographed in a backlit state. Refers to a function used to improve image quality.

디지털 스틸 카메라(Digital still camera), CCTV(Closed Circuit Television)용 감시카메라와 같은 디지털 촬영장치를 이용하여 피사체를 촬상할 때, 피사체 주위에 자연광 또는 형광등과 같은 외부 발광체가 있는 경우, 피사체는 외부 발광체에 의해 역광상태에 놓이게 되어 선명하지 못하고 어둡게 촬상된다.When photographing a subject using a digital imaging device such as a digital still camera or a surveillance camera for a closed circuit television (CCTV), if there is an external illuminator such as natural light or fluorescent light around the subject, the subject is an external illuminator It is put in the backlight state by the image, and it is not clear but it takes a dark image.

이는, 역광보정모드를 설정하지 않고 일반촬상모드로 피사체를 촬상함으로써 피사체에 대한 저휘도 레벨은 고려하지 않고, 촬영장치의 조리개를 통해 입사되는 외부 발광체에 대한 고휘도 레벨에 따라 자동노출조정(Auto-Exposure)를 실행하기 때문이다. 즉, 일반촬상모드에서는 외부발광체의 고휘도 레벨에 따라 조리개의 개구율을 축소하는 등의 AE 제어를 통하여 CCD(Charge Coupled Device)에 입사되는 광량을 감소시키기 때문이다.This means that the subject is captured in the normal shooting mode without setting the backlight compensation mode, and the low exposure level of the subject is not taken into account, and the automatic exposure adjustment is performed according to the high brightness level of the external illuminant incident through the aperture of the photographing apparatus. Exposure). That is, in the general imaging mode, the amount of light incident on the CCD (Charge Coupled Device) is reduced through AE control such as reducing the aperture ratio of the aperture according to the high luminance level of the external light emitter.

이러한 문제점을 해결하기 위하여 촬영장치에는 역광보정(Back Light Compensation, 이하 "BLC"라 한다) 기능이 내재되어 있다. BLC 기능은 피사체의 선명한 화질을 확보하기 위해 피사체에 대한 외부 발광체, 기타 간섭의 영향 등을 감소시켜 역광을 보정함으로써 최적의 선명도를 갖는 영상이 촬영되도록 하는 것이다.In order to solve this problem, a back light compensation (BLC) function is inherent in the photographing apparatus. The BLC function is to reduce the effects of external illuminators and other interference on the subject in order to secure a clear image quality of the subject, thereby correcting the backlight so that an image having an optimal clarity is photographed.

이러한 BLC 기능 구현의 일 예로서 소위 BMB(Black Mask BLC)는 특정 휘도 레벨 이상의 픽셀 정보는 일정한 휘도값으로 고정하는 BLC 기법이다.As an example of such a BLC function implementation, a so-called BMB (Black Mask BLC) is a BLC technique for fixing pixel information above a specific luminance level to a constant luminance value.

이러한 종래의 BMB 기법은 야간 등 저조도 상황이나 실제 주변 발광체의 강도 및 크기 등을 고려함이 없이 항시 동작하도록 설계되어 있어서, 주변 조도가 충분히 높거나, 주변 발광체의 크기 및 강도가 작아서 BLC 가 필요없는 상황인 경우에도 특정 휘도 레벨 이상의 픽셀 정보는 일정한 휘도값으로 고정하므로 불필요한 영상의 왜곡을 초래할 수 있다.The conventional BMB technique is designed to operate at all times without considering low light conditions such as nighttime or the intensity and size of actual surrounding light emitters, so that the ambient light is sufficiently high or the size and intensity of the surrounding light emitters do not require BLC. In this case, since the pixel information above the specific luminance level is fixed at a constant luminance value, unnecessary image distortion may be caused.

본 발명이 이루고자 하는 기술적 과제는, 촬상소자를 통하여 입력되는 영상의 적절한 역광보정조건 판단하여 입력 휘도레벨을 조정하는 역광보정방법을 제공하는데 있다.An object of the present invention is to provide a backlight compensation method for adjusting an input luminance level by determining an appropriate backlight compensation condition of an image input through an imaging device.

상기한 기술적 과제를 이루기 위한 본 발명에 의한 촬영장치의 역광보정방법은, (a) 입력영상 내에서 소정 임계휘도(Yth) 이상의 휘도(Y)를 갖는 화소(이하, 클립화소)의 갯수 N을 카운트하는 단계; (b) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상인가를 판단하는 단계; (c) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상이라고 판단되면, 상기 클립화소의 휘도값을 소정 규칙에 의하여 낮추는 단계; 및 (d) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 미만이라고 판단되거나 상기 (c) 단계 후에, 상기 낮추어진 휘도값에 따라 자동노출조정을 수행하는 단계를 구비하는 것을 특징으로 한다.In the backlight compensation method of the photographing apparatus according to the present invention for achieving the above technical problem, (a) the number N of pixels (hereinafter referred to as clip pixels) having luminance Y equal to or greater than a predetermined threshold luminance Yth in the input image. Counting; (b) determining whether the number N of the clip pixels is equal to or greater than a predetermined threshold number Nth; (c) if it is determined that the number N of the clip pixels is equal to or greater than a predetermined threshold number Nth, lowering the luminance value of the clip pixels by a predetermined rule; And (d) determining that the number N of the clip pixels is less than a predetermined threshold number Nth or after step (c), performing automatic exposure adjustment according to the lowered luminance value.

상기 (c) 단계의 소정 규칙은, 상기 임계휘도 이상인 화소의 휘도값을 소정 값만큼 감소하는 것이 될 수 있다.The predetermined rule of step (c) may be to reduce the luminance value of the pixel that is equal to or greater than the threshold luminance by a predetermined value.

또한 상기 (c) 단계의 소정 규칙은, 상기 임계휘도 이상인 화소의 휘도값의 최대 레벨을 소정 값만큼 낮추어 변경하고, 상기 변경된 최대 레벨에 맞추어 상기 임계휘도 이상인 화소의 휘도값을 스케일하는 것이 될 수 있다.In addition, the predetermined rule of step (c) may be performed by changing the maximum level of the luminance value of the pixel that is greater than or equal to the threshold luminance by a predetermined value and scaling the luminance value of the pixel that is greater than or equal to the threshold luminance in accordance with the changed maximum level. have.

또한 상기 (c) 단계의 소정 규칙은, 상기 임계휘도 이상인 화소의 휘도값을 일정한 값으로 고정하는 것이 될 수 있다. 여기서 상기 (c) 단계의 소정 규칙은, 상기 임계휘도 이상인 화소의 휘도값을 영레벨(black)로 고정하고, 영레벨로 고정된 임계화소수에 대하여 상기 프레임내 모든 화소의 휘도값을In addition, the predetermined rule of step (c) may be to fix the luminance value of the pixel that is equal to or greater than the threshold luminance to a constant value. The predetermined rule of the step (c) is to fix the luminance value of the pixel which is equal to or greater than the threshold luminance to zero level, and to adjust the luminance value of all pixels in the frame with respect to the threshold pixel number fixed to the zero level.

Figure 112006045628667-PAT00001
Figure 112006045628667-PAT00001

비율만큼 스케일하는 단계를 더 구비하는 것이 바람직하다.Preferably, the method further comprises the step of scaling by a ratio.

상기 (a) 단계 전에 저조도 상황인가를 계속적으로 판단하고, 저조도 상황이라고 판단되면 상기 (a) 단계로 진행하는 단계를 더 구비하는 것이 바람직하다.It is preferable to further determine whether the low-light situation before step (a), and to proceed to the step (a) if it is determined that the low light situation.

이하, 본 발명의 바람직한 실시예들을 첨부한 도면들을 참조하여 상세히 설명한다. 각 도면에 도시된 동일한 참조 부호는 동일한 기능을 수행하는 구성요소를 의미한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Like reference numerals in the drawings denote components that perform the same function.

도 1은 본 발명의 역광보정방법이 적용되는 CCD 감시카메라의 간략화된 내부구성의 일 예를 나타낸 블록도로서, 렌즈부(100), CCD(102), CDS/AGC/AD부(104), DSP(106), 렌즈구동부(110), 모니터(108)를 구비한다.1 is a block diagram showing an example of a simplified internal configuration of a CCD surveillance camera to which the backlight compensation method of the present invention is applied, including a lens unit 100, a CCD 102, a CDS / AGC / AD unit 104, The DSP 106, the lens driver 110, and the monitor 108 are provided.

렌즈부(100)는 피사체로부터의 빛을 광학적으로 처리한다. 렌즈부(100)는 줌 렌즈, 포커스 렌즈, 보상 렌즈, 조래개를 포함하며, 이들을 조정하기 위한 줌 모터, 포커스 모터, 및 조리개 모터를 구비할 수 있다.The lens unit 100 optically processes light from a subject. The lens unit 100 may include a zoom lens, a focus lens, a compensation lens, and a diaphragm, and may include a zoom motor, a focus motor, and an aperture motor for adjusting them.

CCD(Charge Coupled Device, 102)는 렌즈부(100)로부터의 빛을 전기적 아날로그 신호로 변환시킨다.The CCD (Charge Coupled Device) 102 converts light from the lens unit 100 into an electrical analog signal.

CDS/AGC/AD(Correlation Double Sampler/Auto Gain Control/Analog-to-Digital converter)부(104)는, CCD(102)로부터의 아날로그 신호를 처리하여, 그 고주파 노이즈를 제거하고, 게인을 조정한 후, 디지털 신호로 변환시킨다.The CDS / AGC / AD (Correlation Double Sampler / Auto Gain Control / Analog-to-Digital Converter) section 104 processes the analog signal from the CCD 102, removes the high frequency noise, and adjusts the gain. After that, it is converted into a digital signal.

DSP(Digital Signal Processor, 106)는 CDS/AGC/AD부(104)로부터의 디지털 신호를 처리하여 휘도(Y) 및 색도(C) 신호로 분류된 디지털 영상 신호를 발생시킨다. 또한, DSP(106)는 CCD(102)와 CDS/AGC/AD부(104)의 동작을 제어한다. 또한, DSP(106)는 렌즈구동부(110)를 통하여 렌즈부(100)의 줌 모터, 포커스 모터, 조리개 모터를 구동하여 렌즈부(100)를 조정한다.The DSP (Digital Signal Processor) 106 processes the digital signals from the CDS / AGC / AD unit 104 to generate digital image signals classified into luminance (Y) and chroma (C) signals. The DSP 106 also controls the operations of the CCD 102 and the CDS / AGC / AD unit 104. In addition, the DSP 106 drives the zoom motor, the focus motor, and the aperture motor of the lens unit 100 through the lens driver 110 to adjust the lens unit 100.

여기서 DSP(106)는 도 2 이하에서 상세히 설명할 본 발명의 역광보정(Back Light Control, BLC) 방법을 수행하며, BLC 결과를 반영하여 CCD(102), CDS/AGC/AD부(104), 렌즈구동부(110)를 제어하게 되며, 이에 의하여 자동노출조절(Auto Exposure, AE)를 수행하게 된다.Here, the DSP 106 performs the Back Light Control (BLC) method of the present invention, which will be described in detail below with reference to FIG. 2. The CCD 102, the CDS / AGC / AD unit 104, The lens driving unit 110 is controlled, thereby performing Auto Exposure (AE).

도면에 도시되지는 않았지만, DSP(106) 내부 또는 주변회로에 데이터 처리를 위한 DRAM(Dynamic Random Access Memory), 구동모터 등 카메라 장치의 구성요소 제어를 위한 마이크로 제어기를 구비할 수 있다.Although not shown in the drawing, a microcontroller for controlling components of a camera device such as a DRAM (Dynamic Random Access Memory), a driving motor, or the like may be provided in the DSP 106 or a peripheral circuit.

모니터(108)는 DSP(106)로부터 생성된 디지털 영상 신호를 소정 신호형식 예 컨대 CVBS(Composite Video Banking Sync)에 의해 전달받아 이를 화면에 디스플레이한다.The monitor 108 receives the digital video signal generated from the DSP 106 by a predetermined signal format such as Composite Video Banking Sync (CVBS) and displays it on the screen.

도 2는 본 발명의 바람직한 일 실시예에 의한 촬영장치의 역광보정방법을 설명하기 위한 플로우차트이다.2 is a flowchart for describing a backlight compensation method of the photographing apparatus according to an exemplary embodiment of the present invention.

먼저, 입력 영상 내에서 임계휘도(Yth) 이상의 휘도(Y)를 갖는 화소(이하, 클립화소)의 갯수 N을 카운트한다(S100).First, the number N of pixels (hereinafter referred to as clip pixels) having luminance Y equal to or greater than the threshold luminance Yth in the input image is counted (S100).

그리고, 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상인가를 판단한다(S102). 본 발명의 제1특징은, S102 단계에 있다. 즉 입력 영상의 조건을 판단하여 역광보정을 선별적으로 수행하는 것이다. S102 단계에 의하여 종래의 BMB 기법이 실제 주변 발광체의 강도 및 크기 등을 고려함이 없이 항시 동작하도록 설계되어 있어서, 주변 발광체의 크기 및 강도가 작아서 BLC 가 필요없는 상황인 경우에도 특정 휘도 레벨 이상의 픽셀 정보는 일정한 휘도값으로 고정하므로 불필요한 영상의 왜곡을 초래하는 문제점을 개선할 수 있다.Then, it is determined whether the number N of clip pixels is equal to or larger than the predetermined threshold number Nth (S102). A first feature of the invention is in the step S102. That is, the backlight compensation is performed selectively by determining the condition of the input image. By the step S102, the conventional BMB technique is designed to operate at all times without considering the intensity and size of the actual ambient light emitter, and the pixel information above a specific luminance level even when the size and intensity of the ambient light emitter is small and BLC is not necessary. Since it is fixed at a constant luminance value, it is possible to improve a problem that causes distortion of an unnecessary image.

만일, 클립화소의 갯수 N이 소정 임계갯수(Nth) 미만이라고 판단되면 S104 단계의 휘도 클립과정을 수행하지 않는다.If it is determined that the number N of clip pixels is less than the predetermined threshold number Nth, the luminance clip process of step S104 is not performed.

그러나 만일, 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상이라고 판단되면, 임계휘도(Yth) 이상인 화소의 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S104).However, if it is determined that the number N of clip pixels is equal to or larger than the predetermined threshold number Nth, the luminance value of the pixel that is equal to or greater than the threshold luminance Yth is lowered by a predetermined rule (Y? F (Y) <Y) (S104).

그리고, 변경된 휘도값에 따라 자동노출조정을 수행한다(S106).Then, automatic exposure adjustment is performed according to the changed luminance value (S106).

S100~S106 단계는 BLC 종료 명령(S108)이 내려지기 전까지 계속 수행될 수 있다.Steps S100 to S106 may be continuously performed until the BLC end command S108 is issued.

이하에서는 S104 단계의 실시예들을 상세히 설명한다.Hereinafter, the embodiments of step S104 will be described in detail.

여기서, 소정 규칙 Y←f(Y)<Y 는 Y 보다 작은 Y에 관한 함수값 f(Y)에 의한 휘도값 변경을 의미한다.Here, the predetermined rule Y? F (Y) <Y means a change in luminance value by the function value f (Y) for Y smaller than Y.

여기서 f(Y)는 임계휘도(Yth) 이상인 화소의 휘도값을 소정 값만큼 감소하는 것이 될 수 있다.Here, f (Y) may be to reduce the luminance value of the pixel that is greater than or equal to the threshold luminance Yth by a predetermined value.

Figure 112006045628667-PAT00002
Figure 112006045628667-PAT00002

또한 f(Y)는 임계휘도(Yth) 이상인 화소의 휘도값의 최대 레벨을 소정 값만큼 낮추어 변경하고, 변경된 최대 레벨에 맞추어 임계휘도(Yth) 이상인 화소의 휘도값을 스케일하는 것이 될 수 있다. 예컨대 0~255(256계조) 그레이스케일(gray scale)을 사용하는 경우에, 최대계조를 180으로 변경하고, 휘도값을 다음 수학식 2와 같이 스케일할 수 있다.In addition, f (Y) may be changed by lowering the maximum level of the luminance value of the pixel that is equal to or greater than the threshold luminance Yth by a predetermined value and scaling the luminance value of the pixel that is equal to or greater than the threshold luminance Yth according to the changed maximum level. For example, when using 0 to 255 gray scale, the maximum gray scale may be changed to 180, and the luminance value may be scaled as in Equation 2 below.

Figure 112006045628667-PAT00003
Figure 112006045628667-PAT00003

또한 f(Y)는 임계휘도(Yth) 이상인 화소(클립화소)의 휘도값을 일정한 값으로 고정하는 것이 될 수 있다.In addition, f (Y) may be to fix a luminance value of a pixel (clip pixel) having a threshold luminance Yth or more to a constant value.

Figure 112006045628667-PAT00004
Figure 112006045628667-PAT00004

도 3은 감마보정의 특성곡선 변경 적용에 의하여 이러한 수학식 3을 구현한 일 예로서, 클립화소수가 일정개수 미만(N<Nth)이면 정상적인 감마 특성곡선을 따르고, 클립화소수가 일정개수 이상(N≥Nth)이면 변경된 감마 특성곡선을 따라 입력 휘도레벨이 임계휘도(Yth) 이상인 화소들에 대하여 낮은 일정 휘도값(f(Y))으로 고정한다.3 is an example in which Equation 3 is implemented by applying a characteristic curve change of gamma correction. When the number of clip pixels is less than a certain number (N <N th ), the normal gamma characteristic curve is followed, and the number of clip pixels is equal to or greater than a certain number ( If N≥N th , the fixed luminance value f (Y) is fixed to pixels having an input luminance level equal to or higher than the threshold luminance Y th along the changed gamma characteristic curve.

수학식 3에서 Y1=0 으로 설정하여, 임계휘도(Yth) 이상인 화소의 휘도값을 모두 영레벨(black)로 고정하는 경우에는, 전체화소에서 영레벨로 고정된 화소수가 제거된 효과가 발생한다. 감소된 화소수를 기준으로 자동노출조정을 실행하면, 클립화소 이외의 영역에서 일부화소가 포화되어 과다노출이 발생할 우려가 있다. 따라서 이 경우에는 다음 수학식 4에 의하여 휘도를 다시 스케일한 후에 자동노출조정을 수행하는 것이 더욱 바람직하다.When setting Y 1 = 0 in Equation 3 to fix all luminance values of pixels equal to or greater than the threshold luminance Yth to zero level, an effect in which the number of pixels fixed to zero level is removed from all pixels is generated. do. If automatic exposure adjustment is performed on the basis of the reduced number of pixels, some pixels may be saturated in areas other than the clip pixels, resulting in overexposure. Therefore, in this case, it is more preferable to perform autoexposure adjustment after re-scaling the luminance by the following equation (4).

Figure 112006045628667-PAT00005
Figure 112006045628667-PAT00005

도 4는 클립화소에 대하여 영레벨로 휘도 고정이 수행된 후의 과다노출 방지를 위하여 영상 스케일링 방법이 수행된 예를 설명하기 위한 도면으로서, 클립화소 영역(CLIP1, CLIP2)를 제외한 나머지 영역에 대한 결과적인 휘도 조정은 다음 수학식 5의 결과가 된다. 이 때 클립화소영역(CLIP1, CLIP2)은 영레벨(black)으로 고정되었다.FIG. 4 is a view for explaining an example in which an image scaling method is performed to prevent overexposure after luminance fixing is performed at a zero level with respect to a clip pixel. FIG. 4 shows results of remaining regions except for the clip pixel areas CLIP1 and CLIP2. The luminance adjustment is a result of the following equation (5). At this time, the clip pixel areas CLIP1 and CLIP2 were fixed at zero level (black).

Figure 112006045628667-PAT00006
Figure 112006045628667-PAT00006

도 5는 본 발명의 바람직한 다른 실시예에 의한 촬영장치의 역광보정방법을 설명하기 위한 플로우차트로서, 도 2에 부가하여 S200 단계가 더 구비된 실시예이다. FIG. 5 is a flowchart illustrating a backlight compensation method of a photographing apparatus according to another exemplary embodiment of the present invention, in which an additional step S200 is provided in addition to FIG. 2.

먼저, BLC의 실행 조건으로 저조도 상황인가를 판단한다(S200). 여기서 저조도 상황인가의 판단은 예컨대, CDS/AGC/ADC부(도 1의 104)의 AGC 레벨을 참조하여 그 값이 일정한 값 이상이 되면 저조도 상황으로 판단할 수 있다. S200 단계는 역광보정조건을 판단하기 위한 본 발명의 2번째 특징이다. 즉 입력 영상의 조건을 판단하여 역광보정을 선별적으로 수행하는 것이다. S102 단계에 의하여 종래의 BMB 기법이 주변 조도가 충분히 높거나 주변 발광체의 크기가 작아서 BLC 가 필요없는 상황인 경우에도 특정 휘도 레벨 이상의 픽셀 정보는 일정한 휘도값으로 클립하므로 불필요한 영상의 왜곡을 초래하는 문제점을 개선할 수 있다.First, it is determined whether or not a low light condition is executed under the condition of BLC (S200). In this case, the determination of whether or not the low light situation may refer to, for example, the AGC level of the CDS / AGC / ADC unit (104 in FIG. 1). Step S200 is a second feature of the present invention for determining the backlight compensation condition. That is, the backlight compensation is performed selectively by determining the condition of the input image. By the step S102, the conventional BMB technique causes unnecessary image distortion because the pixel information above a specific luminance level is clipped to a constant luminance value even when the BLC is not necessary because the ambient illumination is sufficiently high or the size of the peripheral illuminant is small. Can be improved.

S200 단계에 의하면 주변 조도가 충분한 상황, 주간에는 역광이 어느 정도 있어도 영상을 식별하기 용이하므로, BLC를 수행하지 않는다. 그리고 저조도 상황, 야간에는 자동차의 헤드라이트와 같은 역광에 의하여 주변이 상대적으로 매우 어두 워지는 상황이 되었을 때에만 BLC를 수행하게 된다.According to the step S200, even if there is sufficient ambient illumination and daytime, even if there is some backlight, it is easy to identify the image and thus does not perform the BLC. The BLC is only performed when the environment is relatively dark due to a low light condition and a backlight such as a headlight of a car at night.

S200 단계에 의해 저조도 상황이라고 판단된 경우에, 입력 영상 내에서 임계휘도(Yth) 이상의 휘도(Y)를 갖는 화소(클립화소)의 갯수 N을 카운트한다(S202). 그리고, 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상인가를 판단한다(S204).When it is determined in the step S200 that the lighting conditions are low, the number N of pixels (clip pixels) having the luminance Y equal to or greater than the threshold luminance Yth in the input image is counted (S202). Then, it is determined whether the number N of clip pixels is equal to or larger than the predetermined threshold number Nth (S204).

그리고, 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상이라고 판단되면, 임계휘도(Yth) 이상인 화소의 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S206). 만일, 클립화소의 갯수 N이 소정 임계갯수(Nth) 미만이라고 판단되면 S206 단계의 휘도 클립과정을 수행하지 않는다. 그리고, 변경된 휘도값에 따라 자동노출조정을 수행한다(S208).If it is determined that the number N of clip pixels is equal to or larger than the predetermined threshold number Nth, the luminance value of the pixel equal to or greater than the threshold luminance Yth is lowered by a predetermined rule (Y? F (Y) <Y) (S206). If it is determined that the number N of clip pixels is less than the predetermined threshold number Nth, the luminance clip process of step S206 is not performed. Then, automatic exposure adjustment is performed according to the changed luminance value (S208).

S202~S208 단계는 BLC 종료 명령(S210)이 내려지기 전까지 계속 수행될 수 있다.Steps S202 to S208 may be continuously performed until the BLC end command S210 is issued.

이상 도면과 명세서에서 최적 실시예들이 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The best embodiments have been disclosed in the drawings and specification above. Although specific terms have been used herein, they are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

이상에서 설명한 바와 같이, 본 발명의 역광보정방법에 의하면 촬상소자를 통하여 입력되는 영상의 적절한 역광보정조건 판단하여 입력 휘도레벨을 조정하는 역광보정을 수행하므로, 종래의 무조건적 역광보정에 의한 자동노출조정으로 불필요하게 영상의 왜곡되는 것을 개선할 수 있다.As described above, according to the backlight compensation method of the present invention, since the backlight compensation is performed to determine the appropriate backlight compensation condition of the image input through the image pickup device and to adjust the input brightness level, automatic exposure adjustment by conventional unconditional backlight compensation is performed. This can improve the distortion of the image unnecessarily.

본 발명은 이상에서 설명되고 도면들에 표현된 예시들에 한정되는 것은 아니다. 전술한 실시 예들에 의해 가르침 받은 당업자라면, 다음의 특허 청구 범위에 기재된 본 발명의 범위 및 목적 내에서 치환, 소거, 병합 등에 의하여 전술한 실시 예들에 대해 많은 변형이 가능할 것이다.The invention is not limited to the examples described above and represented in the drawings. Those skilled in the art taught by the above-described embodiments, many modifications to the above-described embodiments are possible by substitution, erasure, merging, etc. within the scope and object of the present invention described in the following claims.

Claims (6)

(a) 입력영상 내에서 소정 임계휘도(Yth) 이상의 휘도(Y)를 갖는 화소(이하, 클립화소)의 갯수 N을 카운트하는 단계;(a) counting the number N of pixels (hereinafter referred to as clip pixels) having luminance Y equal to or greater than a predetermined threshold luminance Yth in the input image; (b) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상인가를 판단하는 단계;(b) determining whether the number N of the clip pixels is equal to or greater than a predetermined threshold number Nth; (c) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 이상이라고 판단되면, 상기 클립화소의 휘도값을 소정 규칙에 의하여 낮추는 단계; 및(c) if it is determined that the number N of the clip pixels is equal to or greater than a predetermined threshold number Nth, lowering the luminance value of the clip pixels by a predetermined rule; And (d) 상기 클립화소의 갯수 N이 소정 임계갯수(Nth) 미만이라고 판단되거나 상기 (c) 단계 후에, 상기 낮추어진 휘도값에 따라 자동노출조정을 수행하는 단계를 구비하는 것을 특징으로 하는 카메라의 역광보정방법.(d) determining that the number N of clip pixels is less than a predetermined threshold number Nth, or after step (c), performing automatic exposure adjustment according to the lowered luminance value. Backlight Compensation Method. 제1항에 있어서, 상기 (c) 단계의 소정 규칙은The method of claim 1, wherein the predetermined rule of step (c) 상기 임계휘도 이상인 화소의 휘도값을 소정 값만큼 감소하는 것을 특징으로 하는 카메라의 역광보정방법.And a luminance value of the pixel equal to or greater than the threshold luminance is decreased by a predetermined value. 제1항에 있어서, 상기 (c) 단계의 소정 규칙은The method of claim 1, wherein the predetermined rule of step (c) 상기 임계휘도 이상인 화소의 휘도값의 최대 레벨을 소정 값만큼 낮추어 변경하고, 상기 변경된 최대 레벨에 맞추어 상기 임계휘도 이상인 화소의 휘도값을 스케일하는 것을 특징으로 하는 카메라의 역광보정방법.And changing the maximum level of the luminance value of the pixel above the threshold luminance by a predetermined value and scaling the luminance value of the pixel above the threshold luminance according to the changed maximum level. 제1항에 있어서, 상기 (c) 단계의 소정 규칙은The method of claim 1, wherein the predetermined rule of step (c) 상기 임계휘도 이상인 화소의 휘도값을 일정한 값으로 고정하는 것을 특징으로 하는 카메라의 역광보정방법.The backlight compensation method of the camera, characterized in that to fix the luminance value of the pixel above the threshold luminance to a constant value. 제4항에 있어서, 상기 (c) 단계의 소정 규칙은The method of claim 4, wherein the predetermined rule of step (c) 상기 임계휘도 이상인 화소의 휘도값을 영레벨(black)로 고정하고,The luminance value of the pixel equal to or greater than the threshold luminance is fixed to zero level (black), 영레벨로 고정된 임계화소수에 대하여 상기 프레임내 모든 화소의 휘도값을The luminance values of all the pixels in the frame with respect to the threshold pixel fixed at zero level
Figure 112006045628667-PAT00007
Figure 112006045628667-PAT00007
비율만큼 스케일하는 단계를 더 구비하는 것을 특징으로 하는 카메라의 역광보정방법.And a step of scaling by a ratio.
제1항 내지 제5항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 5, 상기 (a) 단계 전에 저조도 상황인가를 계속적으로 판단하고, 저조도 상황이라고 판단되면 상기 (a) 단계로 진행하는 단계를 더 구비하는 것을 특징으로 하는 카메라의 역광보정방법.And continuously determining whether or not the low light condition is performed before the step (a), and proceeding to the step (a) if the low light condition is determined.
KR1020060057870A 2006-06-27 2006-06-27 Back light compensation method of camera KR101170748B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060057870A KR101170748B1 (en) 2006-06-27 2006-06-27 Back light compensation method of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060057870A KR101170748B1 (en) 2006-06-27 2006-06-27 Back light compensation method of camera

Publications (2)

Publication Number Publication Date
KR20080000237A true KR20080000237A (en) 2008-01-02
KR101170748B1 KR101170748B1 (en) 2012-08-03

Family

ID=39212577

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060057870A KR101170748B1 (en) 2006-06-27 2006-06-27 Back light compensation method of camera

Country Status (1)

Country Link
KR (1) KR101170748B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8542302B2 (en) 2009-02-20 2013-09-24 Samsung Electronics Co., Ltd. Digital photographing apparatus, method of controlling the digital photographing apparatus, and recording medium storing program to implement the method
KR101420442B1 (en) * 2008-06-05 2014-07-16 엘지전자 주식회사 Apparatus and method for automatic controling backlight of camera

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102419799B1 (en) 2019-09-05 2022-07-14 주식회사 아이에스피디 Backlight Determination and Improvement Apparatus and Method between Smartphone Front Ambient Light Sensor and Rear Camera Sensor Using Artificial Object Detection

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4269699B2 (en) 2003-01-24 2009-05-27 株式会社ニコン Electronic camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101420442B1 (en) * 2008-06-05 2014-07-16 엘지전자 주식회사 Apparatus and method for automatic controling backlight of camera
US8542302B2 (en) 2009-02-20 2013-09-24 Samsung Electronics Co., Ltd. Digital photographing apparatus, method of controlling the digital photographing apparatus, and recording medium storing program to implement the method

Also Published As

Publication number Publication date
KR101170748B1 (en) 2012-08-03

Similar Documents

Publication Publication Date Title
US8483507B2 (en) Image sensing apparatus and image processing method
CN101115149B (en) Image processing method
EP1571593A2 (en) Image contrast enhancement
JP4089911B2 (en) Image input device
JP6324090B2 (en) Imaging device
US8477212B2 (en) Camera device, exposure control method, and program
JP4999871B2 (en) Imaging apparatus and control method thereof
JP2008048251A (en) Photographing apparatus and photographing method
EP1557790A2 (en) Noise reduction in low-illuminance image
JP2008206111A (en) Photographing apparatus and photographing method
KR101417816B1 (en) Apparatus for Photographing Digital Images, Method of Controlling Exposure, Method of Photographing Digital Images, and Computer Readable Recording Medium Storing Program for the Same Method of Photographing
KR101170748B1 (en) Back light compensation method of camera
KR101091913B1 (en) Back light compensation method of camera
KR101716818B1 (en) Cctv camera systems for ultra low illumination
EP1551170A2 (en) Image processing apparatus and method
US8218040B2 (en) Image processing apparatus, image processing method and computer-readable storage medium
JPH06189182A (en) Image pickup device
KR101510111B1 (en) Cctv systems with a color control at low intensity
JP2002369074A (en) Exposure controller for optical equipment and its program and its method
JP2012191645A (en) Imaging apparatus and control method of the same
JP2007036714A (en) Imaging apparatus
JP2005109579A (en) Imaging apparatus employing solid-state imaging device
JP2001268433A (en) Image pickup device
KR101498992B1 (en) Color control method for low-illumination of CCTV systems and CCTV systems with a color control at low intensity
KR20220004925A (en) Color control method for low-illumination of CCTV systems and CCTV systems with a color control at low intensity

Legal Events

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

Payment date: 20150629

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20180627

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190626

Year of fee payment: 8