KR101091913B1 - Back light compensation method of camera - Google Patents

Back light compensation method of camera Download PDF

Info

Publication number
KR101091913B1
KR101091913B1 KR1020060057869A KR20060057869A KR101091913B1 KR 101091913 B1 KR101091913 B1 KR 101091913B1 KR 1020060057869 A KR1020060057869 A KR 1020060057869A KR 20060057869 A KR20060057869 A KR 20060057869A KR 101091913 B1 KR101091913 B1 KR 101091913B1
Authority
KR
South Korea
Prior art keywords
pixels
blc
highlight
luminance
area
Prior art date
Application number
KR1020060057869A
Other languages
Korean (ko)
Other versions
KR20080000236A (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 KR1020060057869A priority Critical patent/KR101091913B1/en
Publication of KR20080000236A publication Critical patent/KR20080000236A/en
Application granted granted Critical
Publication of KR101091913B1 publication Critical patent/KR101091913B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

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

Abstract

본 발명에 의한 촬영장치의 역광보정방법은, 입력 영상내에서 소정 임계휘도 이상의 휘도를 갖는 화소(이하, 하이라이트 화소)의 갯수를 카운트하는 단계; 하이라이트 화소 갯수가 소정 임계갯수 이상인가를 판단하는 단계; 하이라이트 화소 갯수가 소정 임계갯수 이상이라고 판단되면, 입력 영상내의 모든 화소의 입력휘도 레벨을 소정 규칙에 의하여 낮추는 단계; 및 자동노출조정을 수행하는 단계를 구비하는 것을 특징으로 한다.The backlight compensation method of the photographing apparatus according to the present invention includes the steps of counting the number of pixels (hereinafter, highlight pixels) having luminance equal to or greater than a predetermined threshold luminance in an input image; Determining whether the number of highlight pixels is greater than or equal to a predetermined threshold number; If it is determined that the number of highlight pixels is equal to or greater than a predetermined threshold number, lowering an input luminance level of all pixels in the input image according to a predetermined rule; And performing automatic exposure adjustment.

본 발명에 의하면, 첫째, 발광체에 의한 고휘도의 하이라이트 영역이 일정크기 이상이 된 경우에만 BLC를 수행하도록 함으로써, 무조건적인 BLC에 의한 불필요한 영상의 왜곡을 초래하는 문제점을 개선할 수 있다. 둘째, 주변 조도 조건을 설정하도록 함으로써, 저조도 상황, 야간에 자동차의 헤드라이트와 같은 역광에 의하여 주변이 상대적으로 매우 어두워지는 상황이 되었을 때에만 BLC를 수행하게 하여, 불필요한 영상의 왜곡을 초래하는 문제점을 더욱 개선할 수 있다. 셋째, 야간에 강한 스포트라이트(차량의 헤드라이트 등)가 입사되고, 그 스포트라이트 때문에 주변 사물을 식별할 수 없는 영상에 대하여, 사용자가 감시하고자 하는 영역을 제외한 나머지 부분에 대하여만 휘도레벨을 낮추는 BLC를 수행하므로써, 상대적으로 감시하고자 하는 영역을 더 선명하고 밝게 볼 수 있는 효과가 있다.According to the present invention, first, the BLC is performed only when the high luminance highlight area of the light emitter is larger than or equal to a certain size, thereby improving the problem of causing unnecessary image distortion due to the unconditional BLC. Second, by setting the ambient light conditions, the BLC is performed only when the surroundings become relatively dark due to a low light situation or a backlight such as a headlight of a car at night, causing unnecessary image distortion. Can be further improved. Third, a BLC that lowers the luminance level only for the remaining portions except for the area that the user wants to monitor for an image where a strong spotlight (such as a headlight of a vehicle) is incident at night and the surrounding object cannot be identified due to the spotlight. By doing this, it is possible to see the area to be monitored relatively more clearly and brightly.

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

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

도 5는 본 발명의 보다 더 바람직한 역광보정방법을 수행하기 위한, 전제적인 실행단계들의 플로우차트이다.5 is a flowchart of premise execution steps for performing a more preferred backlight correction method of the present invention.

도 6은 도 5의 S400 단계에 의하여 CCD(102) 입력 영상의 영역을 5개(A1~A5)로 분할한 예이다.FIG. 6 illustrates an example of dividing an area of the CCD 102 input image into five A1 to A5 by step S400 of FIG. 5.

도 7은 도 5를 전제로 한 본 발명의 바람직한 일 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트이다.FIG. 7 is a flowchart for describing a backlight compensation method according to an exemplary embodiment of the present invention based on FIG. 5.

도 8은 도 5를 전제로 한 본 발명의 바람직한 다른 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트이다.FIG. 8 is a flowchart for describing a backlight compensation method according to another preferred embodiment of the present invention with reference to FIG. 5.

도 9는 도 5를 전제로 한 본 발명의 바람직한 또 다른 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트이다.9 is a flowchart illustrating a backlight compensation method according to another preferred embodiment of the present invention with the assumption of FIG.

도 10은 도 9의 실시예에서 저조도 상황의 판단 단계(S800)를 추가한 실시예이다.FIG. 10 is an embodiment in which the step S800 of determining a low light condition is added to the embodiment of FIG. 9.

도 11a,b은 도 5 내지 도 7의 역광보정방법이 구현된 감시 카메라에서 촬영한 결과 영상의 일 예이다.11A and 11B illustrate an example of an image captured by a surveillance camera in which the backlight compensation method of FIGS. 5 to 7 is implemented.

본 발명은, 감시 카메라와 같은 촬상소자를 이용한 촬영장치에 관한 것으로서, 특히 역광보정(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 (BLC) 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 image is captured in the normal shooting mode without setting the backlight compensation mode, and the low exposure level of the subject is not considered. 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.

본 발명이 이루고자 하는 기술적 과제는, 스포트라이트가 포함된 영상을 역 광처리할 때 발생하는 영상의 왜곡을 최소화한 역광보정방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a backlight compensation method that minimizes distortion of an image generated when backlighting an image including a spotlight.

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

상기 (a) 단계는 상기 입력 영상 영역을 2 이상의 영역으로 분할하고, 분할된 영역 중 선택된 영역을 제외한 영역에 대하여 하이라이트 화소의 갯수를 카운트하고, 상기 (b), (c) 단계는 상기 선택된 영역에 대하여 수행될 수 있다.In step (a), the input image area is divided into two or more areas, and the number of highlight pixels is counted for areas other than the selected area among the divided areas, and steps (b) and (c) are the selected area. Can be performed for.

상기 임계갯수는 각 영역마다 동일하거나 서로 다르게 별도로 설정되고, 상기 (a) 내지 (d) 단계들은 상기 선택된 영역을 제외한 영역에 대하여 각 영역별로 수행될 수 있다.The threshold number may be set identically or differently for each region, and the steps (a) to (d) may be performed for each region except for the selected region.

상기 (c) 단계는, 상기 하이라이트 화소의 갯수가 소정 임계갯수 이상인 기간이 일정 기간 유지된다고 판단되면, 상기 입력 영상내의 모든 화소의 입력휘도 레벨을 소정 규칙에 의하여 낮출 수 있다. 여기서 상기 소정 규칙은, 모든 화소의 입력휘도 레벨을 소정 값만큼 감소하는 것이 될 수 있다. 또한 상기 소정 규칙은, 모든 화소의 입력휘도 최대 레벨을 소정 값만큼 낮추어 변경하고, 상기 변경된 최대 레벨에 맞추어 상기 모든 화소의 입력휘도를 스케일하는 것이 될 수 있다.In the step (c), if it is determined that the period in which the number of the highlight pixels is equal to or greater than a predetermined threshold number is maintained for a predetermined period, the input luminance levels of all the pixels in the input image may be lowered by a predetermined rule. The predetermined rule may be to reduce the input luminance levels of all the pixels by a predetermined value. The predetermined rule may be to lower the maximum input luminance level of all the pixels by a predetermined value and to scale the input luminance of all the pixels in accordance with the changed maximum level.

상기 역광보정방법은, 상기 (a) 단계 전에 저조도 상황인가를 먼저 판단하고, 저조도 상황이라고 판단되면 상기 (a) 단계로 진행하는 단계를 더 구비할 수 있다.The backlight compensation method may further include determining whether a low light condition is present before step (a), and proceeding to step (a) if it is determined that the low light condition is determined.

이하, 본 발명의 바람직한 실시예들을 첨부한 도면들을 참조하여 상세히 설명한다. 각 도면에 도시된 동일한 참조 부호는 동일한 기능을 수행하는 구성요소를 의미한다.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/ADC(Correlation Double Sampler/Auto Gain Control/Analog-to-Digital Converter)부(104)는, CCD(102)로부터의 아날로그 신호를 처리하여, 그 고주파 노이즈를 제거하고, 게인을 조정한 후, 디지털 신호로 변환시킨다.The CDS / AGC / ADC (Correlation Double Sampler / Auto Gain Control / Analog-to-Digital Converter) unit 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 CVBS (Composite Video Banking Sync) 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, highlight pixels) having luminance Y equal to or greater than the threshold luminance Y th in the input image is counted (S100).

그리고, 하이라이트 화소의 갯수 N이 소정 임계갯수(Nth) 이상인가(N≥Nth?) 를 판단한다(S102). 본 발명의 제1특징은, S102 단계에 있다. 즉 입력 영상의 조건을 판단하여 역광보정을 선별적으로 수행하는 것이다. S102 단계에 의하여 종래의 BMB 기법이 실제 주변 발광체의 강도 및 크기 등을 고려함이 없이 항시 동작하도록 설계되어 있어서, 주변 발광체의 크기 및 강도가 작아서 BLC 가 필요없는 상황인 경우에도 특정 휘도 레벨 이상의 픽셀 정보는 일정한 휘도값으로 고정하므로 불필요한 영상의 왜곡을 초래하는 문제점을 개선할 수 있다.Then, it is determined whether the number N of highlight pixels is equal to or greater than the predetermined threshold number N th (N ≧ N th ?) (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 highlight pixels is less than the predetermined threshold number N th , the luminance clipping process of step S104 is not performed.

그러나 만일, 하이라이트 화소의 갯수 N이 소정 임계갯수(Nth) 이상이라고 판단되면, 모든화소의 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S104).However, if it is determined that the number N of the highlight pixels is equal to or larger than the predetermined threshold number N th , the luminance values of all the pixels are 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 equal to or greater than the threshold luminance Y th by a predetermined value.

Figure 112006045627374-pat00001
Figure 112006045627374-pat00001

또한 f(Y)는 임계휘도(Yth) 이상인 화소의 휘도값의 최대 레벨을 소정 값만큼 낮추어 변경하고, 변경된 최대 레벨에 맞추어 임계휘도(Yth) 이상인 화소의 휘도값을 스케일하는 것이 될 수 있다. 예컨대 0~255(256계조) 그레이스케일(gray scale)을 사용하는 경우에, 최대계조를 180으로 변경하고, 휘도값을 다음 수학식 2와 같이 스케일할 수 있다.In addition, f (Y) is changed to lower the maximum level of the brightness value of the pixel not less than the threshold luminance (Y th) by a predetermined value, and to be to scale the intensity value of the pixel not less than the threshold luminance (Y th) in accordance with the changed maximum level have. 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 112006045627374-pat00002
Figure 112006045627374-pat00002

도 3은 본 발명의 바람직한 다른 실시예에 의한 촬영장치의 역광보정방법을 설명하기 위한 플로우차트로서, 도 2에 부가하여 S200, S206, S208 단계가 더 구비되어, 하이라이트 화소 영역의 크기(N≥Nth)가 일정기간 이상 유지되는 경우에 한하여 본 발명의 BLC를 적용하기 위한 조건이 추가되었다. 이는 입력 영상이 경시적으로 급변하는 경우에 매번 BLC를 수행하면 오히려 영상의 잦은 왜곡이 발생하여 카메라의 감시 기능을 저하시킬 수 있기 때문이다.FIG. 3 is a flowchart illustrating a backlight compensation method of a photographing apparatus according to another exemplary embodiment of the present invention. In addition to FIG. 2, steps S200, S206, and S208 are further included, and the size of the highlight pixel area (N≥ The conditions for applying the BLC of the present invention were added only when N th ) was maintained for a certain period of time. This is because, if the input image changes suddenly over time, each time BLC is performed, frequent distortion of the image may occur, thereby degrading the surveillance function of the camera.

먼저, 하이라이트 화소 영역 유지기간의 카운터를 리셋(VD=0)한다(S200). 입력 영상 내에서 하이라이트 화소(Y≥Yth)의 갯수 N을 카운트한다(S202). 그리고, 하 이라이트 화소 영역의 크기가 유지되었는가(N≥Nth?)를 판단한다(S204). 그리고, 카운터(VD)를 레지스터값(VDth)과 비교함으로써(VD=VDth?)(S206) 하이라이트 화소 영역 크기의 유지기간이 일정 기간 유지되었는가를 판단하고, 그렇지 않은 경우에 카운터(VD)를 계수한다(VD←VD+1)(S208).First, the counter of the highlight pixel region holding period is reset (VD = 0) (S200). The number N of highlight pixels Y≥Y th is counted in the input image (S202). Then, it is determined whether the size of the highlight pixel region is maintained (N ≧ N th ?) (S204). Then, by comparing the counter VD with the register value VD th (VD = VD th ?) (S206), it is determined whether the holding period of the highlight pixel area size has been maintained for a predetermined period, and if not, the counter VD Is counted (VD ← VD + 1) (S208).

여기서, VD는 소정기간(Δt) 단위의 카운터로서, 예컨대 CCD(도 1의 102)에서 광전변환 신호를 출력하여 DSP(106)에서 영상을 처리하는 프레임 기간 단위의 카운터이다. 예컨대 단위 프레임 기간(Δt)이 20㎳이며, 카운터 레지스터(VDth)값을 VDth=10 으로 설정한다면, S206, S208 단계는 결국 하이라이트 화소 영역(N≥Nth)을 유지하는 기간이 200㎳ 동안 이상 유지되었는지 여부를 판단하는 단계가 된다.Here, VD is a counter in units of a predetermined period [Delta] t. For example, VD is a counter in units of frame periods in which a photoelectric conversion signal is output from the CCD (102 in FIG. 1) and the image is processed by the DSP 106. For example, if the unit frame period DELTA t is 20 ms and the counter register VD th value is set to VD th = 10, the steps S206 and S208 eventually result in a period of 200 ms maintaining the highlight pixel region N≥N th . It is a step of determining whether or not it has been maintained for a while.

하이라이트 화소 영역이 일정 기간 유지(VD=VDth)되었다고 판단되면, 모든화소의 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S210).When it is determined that the highlight pixel region is maintained for a certain period (VD = VD th ), the luminance values of all the pixels are lowered by a predetermined rule (Y? F (Y) <Y) (S210).

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

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

만일, S204 단계의 판단결과, 하이라이트 화소의 갯수 N이 소정 임계갯수(Nth) 미만(N<Nth)이라고 판단되면, 이는 하이라이트 화소 영역의 크기가 일정기간 유지되지 않은 것이므로, S206, S210 단계를 수행하지 않고 바로 AE를 수행하며(S212), S214 단계를 거쳐 S200 단계로 회귀하여 하이라이트 유지기간 카운터인 VD를 리셋한다(VD=0). 즉 하이라이트 화소 영역의 크기가 일정기간 유지되지 못하면, BLC를 수행하지 않는 것이다.If it is determined in step S204 that the number N of highlight pixels is less than the predetermined threshold number N th (N <N th ), since the size of the highlight pixel area is not maintained for a certain period, steps S206 and S210. AE is performed immediately without performing (S212), and the process returns to step S200 through step S214 to reset the highlight holding period counter VD (VD = 0). That is, if the size of the highlight pixel region is not maintained for a certain period of time, BLC is not performed.

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

먼저, BLC의 실행 조건으로 저조도 상황인가를 판단한다(S200). 여기서 저조도 상황인가의 판단은 예컨대, CDS/AGC/ADC부(도 1의 104)의 AGC 레벨을 참조하여 그 값이 일정한 값 이상이 되면 저조도 상황으로 판단할 수 있다. S300 단계는 입력 영상의 조도 조건을 판단하여 역광보정을 선별적으로 수행하는 것이다.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). In operation S300, backlight illumination correction may be selectively performed by determining the illumination condition of the input image.

감시 카메라의 설치 목적에 따라서는 주변 조도가 충분히 높거나 주변 발광체의 크기가 작은 경우에는 BLC가 불필요하며, BLC를 수행하는 것이 오히려 감시 영상의 과도한 왜곡을 초래할 수 있다. 이러한 경우에는 S300 단계를 더 삽입한 도 4의 실시예에 의하여 이러한 문제점을 개선할 수 있다.According to the purpose of installing the surveillance camera, BLC is unnecessary when the ambient illumination is sufficiently high or the size of the peripheral illuminant is small, and performing BLC may cause excessive distortion of the surveillance image. In this case, this problem may be improved by the embodiment of FIG. 4 in which step S300 is further inserted.

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

S300 단계에 의해 저조도 상황이라고 판단된 경우에, 본 발명의 BLC 모드로 진입하여 하이라이트 화소 영역 유지기간의 카운터를 리셋(VD=0)한다(S302). 입력 영상 내에서 하이라이트 화소(Y≥Yth)의 갯수 N을 카운트한다(S304). 그리고, 하이 라이트 화소 영역의 크기가 유지되었는가(N≥Nth?)를 판단한다(S306). 그리고, 카운터(VD)를 레지스터값(VDth)과 비교함으로써(VD=VDth?)(S308) 하이라이트 화소 영역 크기의 유지기간이 일정 기간 유지되었는가를 판단하고, 그렇지 않은 경우에 카운터(VD)를 계수한다(VD←VD+1)(S310).If it is determined in step S300 that the low light condition is reached, the system enters the BLC mode of the present invention and resets the counter of the highlight pixel region holding period (VD = 0) (S302). The number N of highlight pixels Y≥Y th is counted in the input image (S304). Then, it is determined whether the size of the highlight pixel area is maintained (N ≧ N th ?) (S306). Then, by comparing the counter VD with the register value VD th (VD = VD th ?) (S308), it is determined whether the holding period of the highlight pixel area size has been maintained for a predetermined period, and if not, the counter VD Count (VD ← VD + 1) (S310).

하이라이트 화소 영역이 일정 기간 유지(VD=VDth)되었다고 판단되면, 모든화소의 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S312).If it is determined that the highlight pixel region is maintained for a certain period (VD = VD th ), the luminance values of all the pixels are lowered by a predetermined rule (Y? F (Y) <Y) (S312).

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

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

만일, S306 단계의 판단결과, 하이라이트 화소의 갯수 N이 소정 임계갯수(Nth) 미만(N<Nth)이라고 판단되면, 이는 하이라이트 화소 영역의 크기가 일정기간 유지되지 않은 것이므로, S308, S312 단계를 수행하지 않고 바로 AE를 수행하며(S314), S316 단계를 거쳐 S302 단계로 회귀하여 하이라이트 유지기간 카운터인 VD를 리셋한다(VD=0). 즉 하이라이트 화소 영역의 크기가 일정기간 유지되지 못하면, BLC를 수행하지 않는 것이다.If it is determined in step S306 that the number N of highlight pixels is less than the predetermined threshold number N th (N <N th ), since the size of the highlight pixel area is not maintained for a certain period of time, steps S308 and S312. AE is performed immediately without performing (S314), and the process returns to step S302 through step S316 to reset the highlight holding period counter VD (VD = 0). That is, if the size of the highlight pixel region is not maintained for a certain period of time, BLC is not performed.

도 5는 본 발명의 보다 더 바람직한 역광보정방법을 수행하기 위한, 전제적인 실행단계들의 플로우차트로서, 먼저, 전체 영역을 n 개로 분할한다(S400). 그리고 하나의 영역(j)을 선택한다(S402). 이하의 실시예들에서는 선택된 영역(j)을 제외한 나머지 영역들에 대하여 BLC를 수행한다. 이러한 점은 특히 주차장으로 진입 하는 차량의 번호판을 식별하는 목적으로 감시 카메라가 설치된 경우 등 영상의 특정 영역을 식별하는 경우에 매우 유용하다.5 is a flowchart of preliminary execution steps for performing a more preferable backlight compensation method of the present invention. First, the entire area is divided into n units (S400). One area j is selected (S402). In the following embodiments, BLC is performed on the remaining regions except for the selected region j. This is particularly useful for identifying specific areas of the image, such as when surveillance cameras are installed to identify license plates of vehicles entering a parking lot.

도 6은 도 5의 S400 단계에 의하여 CCD(102) 입력 영상의 영역을 5개(A1~A5)로 분할한 예이다. 사용자는 DSP(106)에 의해 제어되는 모니터(108)를 참조하여, 조작수단(미도시)를 이용하여 하나의 영역을 선택할 수 있다. 후술하겠지만 도 11b는 사용자가 도 6의 A3 영역(차량 번호판 식별부분)을 선택한 후의 본 발명의 BLC 가 수행된 결과를 나타낸다.FIG. 6 illustrates an example of dividing an area of the CCD 102 input image into five A1 to A5 by step S400 of FIG. 5. The user may refer to the monitor 108 controlled by the DSP 106 and select one area by using an operation means (not shown). As will be described later, FIG. 11B illustrates a result of the BLC of the present invention performed after the user selects the area A3 (vehicle license plate identification) of FIG. 6.

도 7은 도 5를 전제로 한 본 발명의 바람직한 일 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트이다.FIG. 7 is a flowchart for describing a backlight compensation method according to an exemplary embodiment of the present invention based on FIG. 5.

도 5의 S402 단계에 의해 선택된 영역(j, 도 6의 A3)을 제외한 영역에 대하여 임계휘도(Yth) 이상의 휘도(Y)를 갖는 하이라이트 화소의 갯수 N을 카운트한다(S500). 선택된 영역(A3)을 제외한 영역(A1, A2, A4, A5)의 하이라이트 화소의 갯수 N이 소정 임계갯수(Nth) 이상인가(N≥Nth?)를 판단한다(S502). 만일, N<Nth라고 판단되면 S504 단계의 휘도 클립과정을 수행하지 않는다.The number N of highlight pixels having luminance Y equal to or greater than the threshold luminance Y th is counted for the region except for the region j selected in step S402 of FIG. 5 (A3 in FIG. 6). It is determined whether the number N of highlight pixels in the areas A1, A2, A4, and A5 except the selected area A3 is equal to or greater than the predetermined threshold number N th (N ≧ N th ?) (S502). If it is determined that N <N th , the luminance clip process of step S504 is not performed.

그러나 만일 N≥Nth라고 판단되면 선택된 영역(j)을 제외한 영역(A1, A2, A4, A5)의 화소의 휘도레벨을 소정 규칙 Y←f(Y)(<Y)에 의하여 낮춘다(S504)However, if it is determined that N≥N th , the luminance level of the pixels in the areas A1, A2, A4, and A5 excluding the selected area j is lowered by a predetermined rule Y ← f (Y) (<Y) (S504).

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

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

도 7의 실시예에 의하여 BLC 가 실행되면, 선택된 영역을 제외한 영역(A1, A2, A4, A5)의 하이라이트 화소(헤드라이트 등 강한 강도의 빛이 발생한 영역)는 전체적으로 휘도레벨이 저감되고, 선택 영역(A3)은 오히려 더 밝아져서 식별이 용이해지는 효과를 얻을 수 있다(도 11b 참조).When the BLC is executed according to the embodiment of FIG. 7, the luminance pixel of the areas A1, A2, A4, and A5 excluding the selected area (the area where strong intensity light such as a headlight is generated) is reduced in overall brightness level and selected. The area A3 may be rather brightened to obtain an effect of facilitating identification (see FIG. 11B).

도 8은 도 5를 전제로 한 본 발명의 바람직한 다른 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트이다.FIG. 8 is a flowchart for describing a backlight compensation method according to another preferred embodiment of the present invention with reference to FIG. 5.

도 8의 실시예는 하이라이트 화소의 갯수를 카운트함에 있어서, 선택된 영역(j, 도 6의 A3)을 제외한 영역(A1, A2, A4, A5)에 대하여 영역별로 하이라이트 화소의 갯수(Ni, i≠j)를 카운트하고(S600), 영역별로 Ni≥(Ni)th 여부를 판단하고(S602), 그 결과에 따라 각 영역별로 화소의 휘도레벨을 소정 규칙 Y←f(Y)(<Y)에 의하여 낮춘다(S604). 그리고, 변경된 휘도값에 따라 자동노출조정을 수행한다(S606). S600~S606 단계는 BLC 종료 명령(S608)이 내려지기 전까지 계속 수행될 수 있다.In the embodiment of FIG. 8, in counting the number of highlight pixels, the number of highlight pixels Ni, i ≠ for each of the regions A1, A2, A4, and A5 excluding the selected region j (A3 in FIG. 6) is calculated. j) is counted (S600), and whether Ni≥ (Ni) th is determined for each region (S602), and according to the result, the luminance level of the pixel for each region is determined according to the predetermined rule Y ← f (Y) (<Y). By lowering (S604). Then, automatic exposure adjustment is performed according to the changed luminance value (S606). Steps S600 to S606 may be continuously performed until the BLC end command S608 is issued.

도 8의 실시예와 같이 각 영역별로 BLC의 조건을 판단하는 하이라이트 화소의 영역 판단기준을 다르게 설정하므로써, 감시 카메라의 설치 목적에 더욱 최적화된 영상을 획득할 수 있다.As shown in the embodiment of FIG. 8, by differently setting the region criterion of the highlight pixel for determining the BLC condition for each region, an image more optimized for the purpose of installing the surveillance camera can be obtained.

도 9는 도 5를 전제로 한 본 발명의 바람직한 또 다른 실시예에 의한 역광보정방법을 설명하기 위한 플로우차트로서, 도 8에 부가하여 S700, S706, S708 단계가 더 구비되어, 선택된 영역을 제외한 영역에서 영역별(A1,A2,A3,A5) 하이라이트 화소 영역의 크기(Ni≥(Ni)th)가 일정기간 이상 유지되는 경우에 한하여 BLC를 적용하기 위한 조건이 추가되었다. 이는 입력 영상이 경시적으로 급변하는 경우에 매번 BLC를 수행하면 오히려 영상의 잦은 왜곡이 발생하여 카메라의 감시 기능을 저하시킬 수 있기 때문이다.FIG. 9 is a flowchart illustrating a backlight compensation method according to another preferred embodiment of the present invention with the assumption of FIG. 5. In addition to FIG. 8, steps S700, S706, and S708 are further provided to exclude the selected area. A condition for applying BLC was added only when the size Ni ≥ (Ni) th of the area A1, A2, A3, A5 of the highlight pixel area in the area is maintained for a predetermined period or more. This is because, if the input image changes suddenly over time, each time BLC is performed, frequent distortion of the image may occur, thereby degrading the surveillance function of the camera.

먼저, 하이라이트 화소 영역 유지기간의 카운터를 리셋(VD=0)한다(S700). 선택된 영역(j, 도 6의 A3)을 제외한 영역(A1, A2, A4, A5)에 대하여 영역별로 하이라이트 화소의 갯수(Ni, i≠j)를 카운트하고(S702), 영역별로 Ni≥(Ni)th 여부를 판단한다(S704). 그리고, 카운터(VD)를 레지스터값(VDth)과 비교함으로써(VD=VDth?)(S706) 하이라이트 화소 영역 크기의 유지기간이 일정 기간 유지되었는가를 판단하고, 그렇지 않은 경우에 카운터(VD)를 계수한다(VD←VD+1)(S708).First, the counter of the highlight pixel region holding period is reset (VD = 0) (S700). For the regions A1, A2, A4, and A5 excluding the selected region j (A3 in FIG. 6), the number of highlight pixels Ni, i ≠ j is counted for each region (S702), and Ni≥ (Ni It is determined whether th (S704). Then, by comparing the counter VD with the register value VD th (VD = VD th ?) (S706), it is determined whether the holding period of the highlight pixel area size has been maintained for a predetermined period, and if not, the counter VD Is counted (VD ← VD + 1) (S708).

하이라이트 화소 영역이 일정 기간 유지(VD=VDth)되었다고 판단되면, 영역별(A1,A2,A4,A5)로 휘도값을 소정 규칙(Y←f(Y)<Y)에 의하여 낮춘다(S710), 변경된 휘도값에 따라 자동노출조정을 수행한다(S712). S700~S712 단계는 BLC 종료 명령(S714)이 내려지기 전까지 계속 수행될 수 있다.If it is determined that the highlight pixel region is maintained for a certain period (VD = VD th ), the luminance value is lowered by a predetermined rule (Y? F (Y) <Y) for each region (A1, A2, A4, A5) (S710). In operation S712, automatic exposure adjustment is performed according to the changed luminance value. Steps S700 to S712 may be performed until the BLC end command S714 is issued.

도 10은 도 9의 실시예에서 저조도 상황의 판단 단계(S800)를 추가한 실시예이다. S800 단계에 의하면 주변 조도가 충분한 상황, 주간에는 역광이 어느 정도 있어도 영상을 식별하기 용이하므로, BLC를 수행하지 않는다. 그리고 저조도 상황, 야간에는 자동차의 헤드라이트와 같은 역광에 의하여 주변이 상대적으로 매우 어두 워지는 상황이 되었을 때에만 BLC를 수행하게 된다. 도 10의 S802~S816 단계의 BLC 과정들은 도 9의 S700~S714와 동일한 방법에 의하여 수행되므로 설명을 생략하기로 한다.FIG. 10 is an embodiment in which the step S800 of determining a low light condition is added to the embodiment of FIG. 9. According to the step S800, 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. Since the BLC processes of steps S802 to S816 of FIG. 10 are performed by the same method as S700 to S714 of FIG. 9, description thereof will be omitted.

도 11a,b은 본 발명의 역광보정방법에 의하여 감시 카메라에서 야간상황에서 헤드라이트가 켜진 상태로 주차장에 진입하는 차량의 번호판을 식별한 결과 영상을 나타낸다.11A and 11B show a result of identifying a license plate of a vehicle entering a parking lot with headlights turned on in a nighttime situation in a surveillance camera by the backlight compensation method of the present invention.

도 11a는 야간과 같은 저조도 상황에서 헤드라이트가 켜진 상태로 주차장에 진입하는 차량을 종래의 BLC에 의해 촬영한 영상이다. 주변의 조도가 낮은 상태에서 BLC를 수행하면, 주변의 낮은 조도를 기준으로 AE를 수행하므로, 헤드라이트 영역 주위가 오히려 포화되게 된다. 이 때문에 영상의 중앙부에 위치한 차량의 번호판 부분을 식별할 수 없게 된다.FIG. 11A illustrates an image taken by a conventional BLC of a vehicle entering a parking lot with a headlight turned on in a low light condition such as at night. When BLC is performed while the ambient light is low, the AE is performed based on the low ambient light, so that the surroundings of the headlight region are rather saturated. This makes it impossible to identify the license plate portion of the vehicle located in the center of the image.

도 11b는 야간과 같은 저조도 상황에서 헤드라이트가 켜진 상태로 주차장에 진입하는 차량을 본 발명에 의한 BLC에 의해 촬영한 영상이다. 도 5, 도 6, 도 7을 적용한 선택된 중앙부 영역(도 6의 A3 참조)을 제외한 나머지 부분(도 6의 A1, A2, A4, A5)에 대하여만, 화소 클립핑에 의한 BLC를 수행하고, 이를 바탕으로 AE를 수행하므로, 야간 상황에서 입력 영상의 중앙부에 위치한 차량의 번호판(번호:7879)은 오히려 밝고 선명하게 식별할 수 있게 된다.Figure 11b is an image taken by the BLC according to the invention the vehicle entering the parking lot with the headlights turned on in low light conditions such as night. BLC by pixel clipping is performed only on the remaining portions (A1, A2, A4, and A5 of FIG. 6) except for the selected central region (see A3 of FIG. 6) to which FIGS. 5, 6, and 7 are applied. Since the AE is performed on the basis, the license plate of the vehicle (number: 7789) located at the center of the input image can be identified brightly and clearly in the night situation.

이상 도면과 명세서에서 최적 실시예들이 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것 은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.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 intended to limit the scope of the 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, the backlight compensation method of the photographing apparatus according to the present invention has the following effects.

첫째, 발광체에 의한 고휘도의 하이라이트 영역이 일정크기 이상이 된 경우에만 BLC를 수행하도록 함으로써, 무조건적인 BLC에 의한 불필요한 영상의 왜곡을 초래하는 문제점을 개선할 수 있다.First, by performing BLC only when the high luminance highlight area of the light emitter is larger than or equal to a predetermined size, it is possible to improve the problem of causing unnecessary image distortion due to unconditional BLC.

둘째, 주변 조도 조건을 설정하도록 함으로써, 주변 조도가 충분한 상황에서는 BLC를 수행하지 않도록 하고, 저조도 상황, 야간에 자동차의 헤드라이트와 같은 역광에 의하여 주변이 상대적으로 매우 어두워지는 상황이 되었을 때에만 BLC를 수행하게 하여, 불필요한 영상의 왜곡을 초래하는 문제점을 더욱 개선할 수 있다.Second, by setting the ambient illuminance conditions, do not perform the BLC in a situation where the ambient illuminance is sufficient, and the BLC only when the environment becomes relatively dark due to a back light such as a headlight of a car at low light conditions and at night. By doing so, it is possible to further improve a problem that causes distortion of an unnecessary image.

셋째, 야간에 강한 스포트라이트(차량의 헤드라이트 등)가 입사되고, 그 스포트라이트 때문에 주변 사물을 식별할 수 없는 영상에 대하여, 사용자가 감시하고자 하는 영역을 제외한 나머지 부분에 대하여만 휘도레벨을 낮추는 BLC를 수행하므로써, 상대적으로 감시하고자 하는 영역을 더 선명하고 밝게 볼 수 있는 효과가 있다.Third, a BLC that lowers the luminance level only for the remaining portions except for the area that the user wants to monitor for an image where a strong spotlight (such as a headlight of a vehicle) is incident at night and the surrounding object cannot be identified due to the spotlight. By doing this, it is possible to see the area to be monitored relatively more clearly and brightly.

본 발명은 이상에서 설명되고 도면들에 표현된 예시들에 한정되는 것은 아니 다. 전술한 실시 예들에 의해 가르침 받은 당업자라면, 다음의 특허 청구 범위에 기재된 본 발명의 범위 및 목적 내에서 치환, 소거, 병합 등에 의하여 전술한 실시 예들에 대해 많은 변형이 가능할 것이다.The present 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 (7)

(a) 입력 영상내에서 소정 임계휘도 이상의 휘도를 갖는 화소(이하, 하이라이트 화소)의 갯수를 카운트하는 단계;(a) counting the number of pixels (hereinafter referred to as highlight pixels) having luminance equal to or greater than a predetermined threshold luminance in the input image; (b) 상기 하이라이트 화소 갯수가 소정 임계갯수 이상인가를 판단하는 단계;(b) determining whether the number of highlight pixels is greater than or equal to a predetermined threshold number; (c) 상기 하이라이트 화소 갯수가 소정 임계갯수 이상이라고 판단되면, 상기 입력 영상내의 모든 화소의 입력휘도 레벨을 소정 규칙에 의하여 낮추어 변경하는 단계; 및(c) if it is determined that the number of highlight pixels is equal to or greater than a predetermined threshold number, changing the input luminance levels of all the pixels in the input image by changing a predetermined rule; And (d) 상기 변경된 입력휘도 레벨에 따라 자동노출조정을 수행하는 단계를 구비하는 것을 특징으로 하는 촬영장치의 역광보정방법.and (d) performing automatic exposure adjustment according to the changed input luminance level. 제1항에 있어서,The method of claim 1, 상기 (a) 단계는 상기 입력 영상 영역을 2 이상의 영역으로 분할하고, 분할된 영역 중 선택된 영역을 제외한 영역에 대하여 하이라이트 화소의 갯수를 카운트하고,In step (a), the input image area is divided into two or more areas, and the number of highlight pixels is counted for an area except the selected area among the divided areas, 상기 (b), (c) 단계는 상기 선택된 영역을 제외한 영역에 대하여 수행되는 것을 특징으로 하는 촬영장치의 역광보정방법.And (b) and (c) are performed on an area excluding the selected area. 제2항에 있어서,3. The method of claim 2, 상기 임계갯수는 각 영역마다 동일하거나 서로 다르게 별도로 설정되고,The threshold number is set to the same or different separately for each region, 상기 (a) 내지 (d) 단계들은 상기 선택된 영역을 제외한 영역에 대하여 각 영역별로 수행되는 것을 특징으로 하는 촬영장치의 역광보정방법.And the steps (a) to (d) are performed for each area except for the selected area. 제1항 내지 제3항 중 어느 한 항에 있어서, 상기 (c) 단계는The method according to any one of claims 1 to 3, wherein step (c) 상기 하이라이트 화소의 갯수가 소정 임계갯수 이상인 기간이 일정 기간 유지된다고 판단되면, 상기 입력 영상내의 모든 화소의 입력휘도 레벨을 소정 규칙에 의하여 낮추는 것을 특징으로 하는 촬영장치의 역광보정방법.And if it is determined that the period in which the number of the highlight pixels is equal to or greater than a predetermined threshold number is maintained for a predetermined period, the input luminance level of all the pixels in the input image is lowered according to a predetermined rule. 제4항에 있어서, 상기 소정 규칙은The method of claim 4, wherein the predetermined rule is 모든 화소의 입력휘도 레벨을 소정 값만큼 감소하는 것을 특징으로 하는 촬영장치의 역광보정방법.A backlight compensation method for a photographing apparatus, characterized in that the input luminance level of all pixels is reduced by a predetermined value. 제4항에 있어서, 상기 소정 규칙은The method of claim 4, wherein the predetermined rule is 모든 화소의 입력휘도 최대 레벨을 소정 값만큼 낮추어 변경하고, 상기 변경된 최대 레벨에 맞추어 상기 모든 화소의 입력휘도를 스케일하는 것을 특징으로 하는 촬영장치의 역광보정방법.And reducing the maximum input luminance level of all pixels by a predetermined value and scaling the input luminance of all pixels according to the changed maximum level. 제4항에 있어서,5. The method of claim 4, 상기 (a) 단계 전에 저조도 상황인가를 먼저 판단하고, 저조도 상황이라고 판단되면 상기 (a) 단계로 진행하는 단계를 더 구비하는 것을 특징으로 하는 촬영 장치의 역광보정방법.The method of claim 1, further comprising the step of judging whether or not the low light situation before step (a), and proceeding to the step (a) if it is determined that the low light situation.
KR1020060057869A 2006-06-27 2006-06-27 Back light compensation method of camera KR101091913B1 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
KR20080000236A KR20080000236A (en) 2008-01-02
KR101091913B1 true KR101091913B1 (en) 2011-12-08

Family

ID=39212576

Family Applications (1)

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

Country Status (1)

Country Link
KR (1) KR101091913B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101574733B1 (en) 2008-11-19 2015-12-04 삼성전자 주식회사 Image processing apparatus for obtaining high-definition color image and method therof
KR101168110B1 (en) * 2009-09-04 2012-07-24 삼성전자주식회사 Apparatus and method for compensating back light of image
CN108322637B (en) * 2017-01-17 2020-02-11 杭州海康威视数字技术股份有限公司 Equipment protection method and device under strong light

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1070680A (en) 1996-08-26 1998-03-10 Sanyo Electric Co Ltd Automatic exposure adjustment device
JP2004229054A (en) 2003-01-24 2004-08-12 Nikon Corp Electronic camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1070680A (en) 1996-08-26 1998-03-10 Sanyo Electric Co Ltd Automatic exposure adjustment device
JP2004229054A (en) 2003-01-24 2004-08-12 Nikon Corp Electronic camera

Also Published As

Publication number Publication date
KR20080000236A (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN101115149B (en) Image processing method
JP4711987B2 (en) Imaging apparatus and automatic exposure control method
JP5257695B2 (en) Monitoring device
US20050195298A1 (en) Image processing apparatus
JP4089911B2 (en) Image input device
US8237850B2 (en) Electronic camera that adjusts the distance from an optical lens to an imaging surface
US8477212B2 (en) Camera device, exposure control method, and program
JP4400512B2 (en) In-vehicle camera control device
EP1557790A2 (en) Noise reduction in low-illuminance image
JP4831175B2 (en) Imaging apparatus and imaging method
JP2017063245A (en) Imaging device
KR101091913B1 (en) Back light compensation method of camera
KR101170748B1 (en) Back light compensation method of camera
KR101716818B1 (en) Cctv camera systems for ultra low illumination
CN109937382B (en) Image forming apparatus and image forming method
US20050147293A1 (en) Image processing and method
JP5316923B2 (en) Imaging apparatus and program thereof
JP2009063674A (en) Imaging apparatus and flash control method
JP2016173777A (en) Image processing apparatus
KR101101484B1 (en) Apparatus and method for taking picture using auto-focus sub light
KR101510111B1 (en) Cctv systems with a color control at low intensity
JP2005191984A (en) Electronic camera
US7633529B2 (en) Imaging apparatus, and a method for switching between chromatic and monochromatic modes of an imaging apparatus
JP2020102703A (en) Electronic device, control method of the same, and program
JP2013132065A (en) Imaging apparatus and flash control method

Legal Events

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

Payment date: 20141128

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20161128

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181126

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20191126

Year of fee payment: 9