KR102592230B1 - method for detecting filter switching error of surveillance camera - Google Patents

method for detecting filter switching error of surveillance camera Download PDF

Info

Publication number
KR102592230B1
KR102592230B1 KR1020190004938A KR20190004938A KR102592230B1 KR 102592230 B1 KR102592230 B1 KR 102592230B1 KR 1020190004938 A KR1020190004938 A KR 1020190004938A KR 20190004938 A KR20190004938 A KR 20190004938A KR 102592230 B1 KR102592230 B1 KR 102592230B1
Authority
KR
South Korea
Prior art keywords
filter
value
surveillance camera
image data
switching
Prior art date
Application number
KR1020190004938A
Other languages
Korean (ko)
Other versions
KR20200088554A (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 KR1020190004938A priority Critical patent/KR102592230B1/en
Publication of KR20200088554A publication Critical patent/KR20200088554A/en
Application granted granted Critical
Publication of KR102592230B1 publication Critical patent/KR102592230B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • 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)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

본 발명의 실시예에 의한 감시 카메라의 필터전환 이상 검출 방법은, 주간 모드에 대응하는 제1 필터 및 야간 모드에 대응하는 제2 필터를 포함하는 감시 카메라의 필터전환 이상 검출 방법에 있어서, 상기 제1 필터 및 제2 필터를 각각 통과하여 산출된 영상 데이터 값을 비교 연산하는 제1 단계와, 상기 비교 연산의 결과값을 기 설정된 기준 데이터와 비교하여 상기 필터가 전환되는 도중 하드웨어적 결함이 발생되었는지 여부를 판단하는 제2 단계와, 필터 전환 이상이 검출된 것으로 판단된 경우 필터 재전환 시동 또는 사용자 알림을 수행하는 제3 단계를 포함한다The method for detecting a filter switching abnormality in a surveillance camera according to an embodiment of the present invention includes a first filter corresponding to a day mode and a second filter corresponding to a night mode, the method comprising: A first step of comparing the image data values calculated by passing through the first filter and the second filter, respectively, and comparing the result of the comparison operation with preset reference data to determine whether a hardware defect occurred while the filter was switched. It includes a second step of determining whether or not a filter switching error is detected, and a third step of starting filter reswitching or performing a user notification if it is determined that a filter switching abnormality is detected.

Description

감시 카메라의 필터전환 이상 검출 방법{method for detecting filter switching error of surveillance camera}Method for detecting filter switching error of surveillance camera {method for detecting filter switching error of surveillance camera}

본 발명의 실시예는 감시 카메라에 관한 것으로, 보다 구체적으로는, 주야간 모드 전환 기능을 구비한 감시 카메라의 필터 전환 이상 검출 방법에 관한 것이다.An embodiment of the present invention relates to a surveillance camera, and more specifically, to a method for detecting a filter switching abnormality in a surveillance camera equipped with a day/night mode switching function.

감시 카메라는 주야간 감시 동작 중 최적의 피사체 식별력을 유지하기 위해 Day & Night 기능을 사용한다. Day & Night 기능은 주간의 충분한 조도가 있는 환경에서는 IR 대역의 파장을 차단하는 IR-Cut 필터를 이미지 센서 앞에 위치시켜 깨끗한 컬러 영상을 생성하고, 야간의 저조도 환경에서는 Glass 필터를 이미지 센서 앞에 위치시켜 모든 파장대의 영상을 입력 받게 한 후 흑백 영상을 생성하여 피사체의 식별력을 높이는 기능이다. Surveillance cameras use the Day & Night function to maintain optimal subject identification during day and night surveillance operations. The Day & Night function generates clear color images by placing an IR-Cut filter that blocks waves in the IR band in front of the image sensor in an environment with sufficient lighting during the day, and by placing a glass filter in front of the image sensor in a low-light environment at night. This is a function that increases the identification of the subject by receiving images of all wavelengths as input and then generating a black-and-white image.

Day & Night 기능의 핵심인 필터 이동 방법은 모터를 이용하여 IR-Cut 필터와 Glass 필터가 장착된 기구물을 이동하는 것이다. 상기 필터 이동 시 하드웨어적인 결함 또는 다른 환경적인 극한 조건 등에 의해 필터 이동이 정상적으로 동작하지 못해 컬러만 변환되고 필터는 전환되지 못하는 경우가 발생될 수 있으며, 이 경우 정상적인 Day & Night 기능을 수행할 수 없게 된다.The filter movement method, which is the core of the Day & Night function, uses a motor to move the fixture equipped with the IR-Cut filter and Glass filter. When moving the filter, the filter movement may not operate normally due to a hardware defect or other extreme environmental conditions, resulting in only the color being converted and the filter not being switched. In this case, normal Day & Night functions may not be performed. do.

본 발명의 실시예는 감시 카메라의 주야간 모드 필터 전환 시에 하드웨어적인 필터 전환에서 에러가 발생됨을 검출함으로써, 컬러만 변환되고 필터는 전환되지 못하여 정상 동작을 수행하지 못하게 되는 문제점을 극복할 수 있는 감시 카메라의 필터전환 이상 검출 방법을 제공한다.An embodiment of the present invention detects that an error occurs in hardware filter switching when switching the day/night mode filter of a surveillance camera, thereby overcoming the problem of not performing normal operation because only the color is converted and the filter is not switched. Provides a method for detecting camera filter switching abnormalities.

상기 목적을 달성하기 위하여 본 발명의 실시예에 의한 감시 카메라의 필터전환 이상 검출 방법은, 주간 모드에 대응하는 제1 필터 및 야간 모드에 대응하는 제2 필터를 포함하는 감시 카메라의 필터전환 이상 검출 방법에 있어서, 상기 제1 필터 및 제2 필터를 각각 통과하여 산출된 영상 데이터 값을 비교 연산하는 제1 단계와, 상기 비교 연산의 결과값을 기 설정된 기준 데이터와 비교하여 상기 필터가 전환되는 도중 하드웨어적 결함이 발생되었는지 여부를 판단하는 제2 단계와, 필터 전환 이상이 검출된 것으로 판단된 경우 필터 재전환 시동 또는 사용자 알림을 수행하는 제3 단계를 포함한다. In order to achieve the above object, the method for detecting a filter switching abnormality of a surveillance camera according to an embodiment of the present invention includes a first filter corresponding to the day mode and a second filter corresponding to the night mode. A method comprising: a first step of comparing image data values calculated by passing through each of the first filter and the second filter; and comparing the result of the comparison operation with preset reference data while the filter is switched. It includes a second step of determining whether a hardware defect has occurred, and a third step of performing filter reswitching or performing a user notification when it is determined that a filter switching abnormality has been detected.

이 때, 상기 제1 필터는 IR-Cut 필터, 상기 제2 필터는 더미 글라스로 구현될 수 있으며, 상기 제1 단계는, 상기 주간 모드에서 야간 모드로, 또는 야간 모드에서 주간 모드로 필터가 하드웨어적으로 전환될 때, 상기 더미 글라스를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Y값과 IR-Cut 필터를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Y값의 비가 제1 기준값보다 큰 지 여부를 판단하는 제1-1 단계; 상기 더미 글라스를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Cr값과 IR-Cut 필터를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Cr값의 차가 제2 기준값보다 큰 지 여부를 판단하는 제1-2 단계를 포함할 수 있다.At this time, the first filter may be implemented as an IR-Cut filter and the second filter may be implemented as a dummy glass, and in the first step, the filter may be implemented as hardware from the day mode to the night mode or from the night mode to the day mode. When converted to red, whether the ratio of the Y value of the digital image data when captured using the dummy glass and the Y value of the digital image data when captured using the IR-Cut filter is greater than the first reference value. Step 1-1 of judging; 1-2 for determining whether the difference between the Cr value of the digital image data when captured using the dummy glass and the Cr value of the digital image data when captured using the IR-Cut filter is greater than the second reference value. May include steps.

또한, 상기 제2 단계는, 상기 제1-1 단계 및 제1-2 단계의 조건들을 모두 만족한 경우에는 정상 필터 전환 동작이 수행된 것으로 판단하고, 그렇지 않으면 필터 전환 동작에 에러가 발생된 것으로 판단할 수 있다.In addition, the second step determines that a normal filter switching operation has been performed when all of the conditions of the first step and the 1-2 step are satisfied. Otherwise, it is determined that an error has occurred in the filter switching operation. You can judge.

상기 제1 기준값은 1.05이고, 상기 제2 기준값은 5일 수 있다. The first reference value may be 1.05, and the second reference value may be 5.

상기 필터가 전환될 때 하드웨어적 결함으로 필터의 일부만 렌즈 상에 위치되었는지 판단하기 위해, 상기 전환되는 필터의 진행방향에 따라 진행하는 방향의 마지막 열의 디지털 영상 데이터를 이용하여 상기 제1-1 단계 및 제1-2 단계를 수행할 수 있다.In order to determine whether only a part of the filter is located on the lens due to a hardware defect when the filter is switched, the digital image data of the last row in the moving direction of the switched filter is used to determine the steps 1-1 and Steps 1-2 can be performed.

상기 전환되는 필터의 진행방향이 왼쪽에서 오른쪽인 경우, 진행하는 방향의 마지막 열을 포함하는 오른쪽 2열의 패치에서의 Y값 및 Cr값을 상기 제1-1 단계 및 제1-2 단계를 수행하거나, 또는 상기 전환되는 필터의 진행방향이 오른쪽에서 왼쪽인 경우, 진행하는 방향의 마지막 열을 포함하는 왼쪽 2열의 패치에서의 Y값 및 Cr값을 상기 제1-1 단계 및 제1-2 단계를 수행할 수 있다.If the moving direction of the switching filter is from left to right, perform steps 1-1 and 1-2 to determine the Y value and Cr value of the patch in the 2 right columns including the last column in the moving direction. , or when the moving direction of the switching filter is from right to left, the Y value and Cr value in the patch in the 2 left columns including the last column in the moving direction are performed in steps 1-1 and 1-2. It can be done.

이와 같은 본 발명의 실시예에 의하면, 감시 카메라의 주야간 모드 필터 전환 시에 하드웨어적인 필터 전환에서 에러가 발생됨을 검출함으로써, 컬러만 변환되고 필터는 전환되지 못하여 정상 동작을 수행하지 못하게 되는 문제점을 극복할 수 있다.According to this embodiment of the present invention, by detecting that an error occurs in hardware filter switching when switching the day/night mode filter of a surveillance camera, the problem of not performing normal operation because only the color is converted and the filter is not switched is overcome. can do.

도 1은 본 발명의 실시예에 의한 주야간 모드 전환 기능을 구비한 감시 카메라의 구성을 개략적으로 나타내는 블록도.
도 2a 및 도 2b는 도 1에 도시된 감시 카메라의 필터 전환부의 동작을 설명하는 도면.
도 3은 본 발명의 실시예에 의한 감시 카메라의 필터전환 이상 검출 방법을 설명하는 순서도.
1 is a block diagram schematically showing the configuration of a surveillance camera equipped with a day/night mode switching function according to an embodiment of the present invention.
FIGS. 2A and 2B are diagrams illustrating the operation of the filter switching unit of the surveillance camera shown in FIG. 1.
Figure 3 is a flowchart illustrating a method for detecting a filter change abnormality in a surveillance camera according to an embodiment of the present invention.

위 발명의 배경이 되는 기술 란에 기재된 내용은 오직 본 발명의 기술적 사상에 대한 배경 기술의 이해를 돕기 위한 것이며, 따라서 그것은 본 발명의 기술 분야의 당업자에게 알려진 선행 기술에 해당하는 내용으로 이해될 수 없다.The content described in the background technology column of the above invention is only intended to help understand the background technology of the technical idea of the present invention, and therefore, it can be understood as content corresponding to prior art known to those skilled in the art of the present invention. does not exist.

아래의 서술에서, 설명의 목적으로, 다양한 실시예들의 이해를 돕기 위해 많은 구체적인 세부 내용들이 제시된다. 그러나, 다양한 실시예들이 이러한 구체적인 세부 내용들 없이 또는 하나 이상의 동등한 방식으로 실시될 수 있다는 것은 명백하다. 다른 예시들에서, 잘 알려진 구조들과 장치들은 장치는 다양한 실시예들을 불필요하게 이해하기 어렵게 하는 것을 피하기 위해 블록도로 표시된다. In the description below, for purposes of explanation and to facilitate understanding of various embodiments, numerous specific details are set forth. However, it is clear that various embodiments may be practiced without these specific details or in one or more equivalent ways. In other instances, well-known structures and devices are shown in block diagrams to avoid unnecessarily obscuring the various embodiments.

첨부된 블록도의 각 블록은 컴퓨터 프로그램 인스트럭션들(실행 엔진)에 의해 수행될 수도 있으며, 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 블록도의 각 블록에서 설명된 기능들을 수행하는 수단을 생성하게 된다. Each block in the attached block diagram may be executed by computer program instructions (execution engine), and these computer program instructions may be mounted on a processor of a general-purpose computer, special-purpose computer, or other programmable data processing equipment, so that the computer or The instructions executed through the processor of other programmable data processing equipment create a means of performing the functions described in each block of the block diagram.

이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 블록도의 각 블록에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다.These computer program instructions may also be stored in computer-usable or computer-readable memory that can be directed to a computer or other programmable data processing equipment to implement a function in a particular manner, so that the computer-usable or computer-readable memory The instructions stored in can also produce manufactured items containing instruction means that perform the functions described in each block of the block diagram.

그리고, 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성하여 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 블록도의 각 블록에서 설명되는 기능들을 실행하기 위한 기능을 제공하는 것도 가능하다. In addition, computer program instructions can also be mounted on a computer or other programmable data processing equipment, so a series of operation steps are performed on the computer or other programmable data processing equipment to create a process that is executed by the computer and runs on the computer or other program. Instructions that perform possible data processing equipment may also provide functions for executing functions described in each block of the block diagram.

또한, 각 블록은 특정된 논리적 기능들을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있으며, 몇 가지 대체 실시 예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능하다. Additionally, each block may represent a module, segment, or portion of code containing one or more executable instructions for executing specified logical functions, and in some alternative embodiments, the functions mentioned in the blocks or steps may be sequenced. It is also possible to occur outside of .

즉, 도시된 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하며, 또한 그 블록들이 필요에 따라 해당하는 기능의 역순으로 수행되는 것도 가능하다.In other words, it is possible for the two blocks shown to be performed substantially at the same time, and it is also possible for the blocks to be performed in the reverse order of the corresponding functions as needed.

여기에서 사용된 용어는 특정한 실시예들을 설명하는 목적이고 제한하기 위한 목적이 아니다. 명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함한다" 고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 다른 정의가 없는 한, 여기에 사용된 용어들은 본 발명이 속하는 분야에서 통상적인 지식을 가진 자에게 일반적으로 이해되는 것과 같은 의미를 갖는다.The terminology used herein is for the purpose of describing particular embodiments and is not intended to be limiting. Throughout the specification, when a part is said to “include” a certain element, this means that it may further include other elements rather than excluding other elements, unless specifically stated to the contrary. Unless otherwise defined, the terms used herein have the same meaning as commonly understood by a person of ordinary skill in the field to which the present invention pertains.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 보다 상세히 설명하도록 한다.Hereinafter, embodiments of the present invention will be described in more detail with reference to the attached drawings.

도 1은 본 발명의 실시예에 의한 주야간 모드 전환 기능을 구비한 감시 카메라의 구성을 개략적으로 나타내는 블록도이다. 도 2a 및 도 2b는 도 1에 도시된 감시 카메라의 필터 전환부의 동작을 설명하는 도면이다.Figure 1 is a block diagram schematically showing the configuration of a surveillance camera equipped with a day/night mode switching function according to an embodiment of the present invention. FIGS. 2A and 2B are diagrams explaining the operation of the filter switching unit of the surveillance camera shown in FIG. 1.

도 1을 참조하면, 감시 카메라(100)는 디지털 신호 처리부(110), 주야간 판단부(120), 조명부(130), 필터부(140), 필터 전환부(150), 줌 렌즈(160), 줌렌즈 구동부(170), 포커스 렌즈(180), 포커스 렌즈 구동부(190), 촬상소자(200), 촬상소자 제어부(210) 및 영상 신호 처리부(220)를 포함한다. Referring to FIG. 1, the surveillance camera 100 includes a digital signal processor 110, a day/night determination unit 120, a lighting unit 130, a filter unit 140, a filter switching unit 150, a zoom lens 160, It includes a zoom lens driver 170, a focus lens 180, a focus lens driver 190, an imaging device 200, an imaging device controller 210, and an image signal processor 220.

디지털 신호 처리부(110)는 감시 카메라(100) 전체의 동작을 제어하며, 특히 주야간 판단부(120)의 주야간 판단 결과에 따라 조명부(130)를 점등/점멸시키는 제어신호를 출력하고, 필터부(140)의 동작을 제어한다. 또한 디지털 신호 처리부(110)는 줌렌즈 구동부(170), 포커스 렌즈 구동부(180) 및 촬상소자 제어부(210)의 동작을 제어하고, 영상 신호 처리부(220)의 영상 신호 처리 동작을 제어한다. The digital signal processing unit 110 controls the entire operation of the surveillance camera 100, and in particular outputs a control signal to turn on/flash the lighting unit 130 according to the day/night determination result of the day/night determination unit 120, and the filter unit ( 140) controls the operation. Additionally, the digital signal processing unit 110 controls the operations of the zoom lens driving unit 170, the focus lens driving unit 180, and the imaging device control unit 210, and controls the image signal processing operation of the image signal processing unit 220.

주야간 판단부(120)는 조도를 센싱하여 주야간의 변화를 감지하고 감지결과에 따라 주야간 신호를 생성하여 디지털 신호 처리부(110)로 출력한다. 주야간 판단부(120)는 조도 센싱 결과가 소정의 기준값(예: 4LuX) 이상인 경우, 주간(주간모드)이라고 판단하고, 조도 센싱 결과가 상기 기준갑 이하인 경우, 야간(야간모드)이라고 판단한다. The day/night determination unit 120 detects the change between day and night by sensing the illuminance, generates a day/night signal according to the detection result, and outputs it to the digital signal processor 110. The day/night determination unit 120 determines that it is daytime (day mode) when the illuminance sensing result is greater than or equal to a predetermined reference value (e.g., 4LuX), and determines that it is night (night mode) when the illuminance sensing result is less than or equal to the standard value.

한편, 감시 카메라(100)에는 광센서(CdS sensor, 미도시)가 설치되어 빛의 조도를 감지하여, 주야간을 판단하는 것이 바람직하다. 상기 광센서는 황화카드뮴(CdS)을 주성분으로 하며, 입사광 에너지에 따라 내부 저항이 변하는 특성을 지닌 CdS 광도전 셀로 형성하는 것이 바람직하다. CdS 광도전 셀은 입사광의 에너지가 클수록 저항값이 낮게 된다. 즉, 빛 에너지가 없을 때는 거의 절연체에 가깝게 되고, 입사 에너지를 받으면 그 입사 에너지에 대응하여 내부 저항이 작아지게 되므로 전류를 흘려 보낼 수 있게 된다. 이밖에 주야간 판단부(120)는 별도의 조도 센서(미도시)를 구비하여 조도 센서가 감지한 결과로부터 주간 또는 야간을 판단할 수도 있다. Meanwhile, it is desirable to install a light sensor (CdS sensor, not shown) in the surveillance camera 100 to detect the illuminance of light and determine day or night. The optical sensor contains cadmium sulfide (CdS) as its main ingredient, and is preferably formed as a CdS photoconductive cell, which has the characteristic of changing internal resistance depending on incident light energy. In CdS photoconductive cells, the greater the energy of the incident light, the lower the resistance value. In other words, when there is no light energy, it becomes almost like an insulator, and when it receives incident energy, the internal resistance decreases in response to the incident energy, allowing current to flow. In addition, the day/night determination unit 120 may be equipped with a separate illuminance sensor (not shown) to determine day or night based on the results detected by the illuminance sensor.

조명부(130)는 디지털 신호 처리부(110)로부터의 점등 제어신호 또는 점멸 제어신호에 의해 동작하며, 일 예로 발광다이오드(LED) 등의 소자로 구성될 수 있다. 주야간 판단부(120)에 의해 주간이라고 판단(주간 모드)되면, 디지털 신호 처리부(110)는 조명부(130)로 점멸 제어신호를 출력함으로써 조명부(130)는 점멸되고, 야간으로 판단(야간 모드)되면 디지털 신호 처리부(110)는 조명부(130)로 점등 제어신호를 출력함으로써 조명부(130)는 점등될 수 있다. The lighting unit 130 operates by a lighting control signal or a blinking control signal from the digital signal processing unit 110, and may be composed of an element such as a light emitting diode (LED). When the day/night determination unit 120 determines that it is daytime (day mode), the digital signal processor 110 outputs a blinking control signal to the lighting unit 130, causing the lighting unit 130 to blink and determines that it is night (night mode). When this happens, the digital signal processor 110 outputs a lighting control signal to the lighting unit 130, so that the lighting unit 130 can be turned on.

필터부(140)는 제1 필터(141), 제2 필터(142), 및 모터(143)을 포함하여 구성될 수 있다. 상기 필터부(140)는 디지털 신호 처리부(110)의 제어 하에, 주야간 판단부(130)의 감지결과에 따라 주간 모드인 경우에는 상기 제1 필터로서, IR 대역의 파장을 차단하는 IR-Cut 필터(141)를 렌즈 앞에 위치시켜 깨끗한 컬러 영상을 생성하고, 야간 모드인 경우 즉, 저조도 환경에서는 상기 제2 필터로서 더미 글라스(142)를 렌즈 앞에 위치시켜 모든 파장대의 영상을 입력 받게 한 후 흑백 영상을 생성하도록 할 수 있다. The filter unit 140 may include a first filter 141, a second filter 142, and a motor 143. The filter unit 140, under the control of the digital signal processor 110, is the first filter in the daytime mode according to the detection result of the day/night determination unit 130, and is an IR-Cut filter that blocks wavelengths in the IR band. (141) is placed in front of the lens to generate a clear color image, and in night mode, that is, in a low-light environment, a dummy glass 142 is placed in front of the lens as the second filter to receive images of all wavelengths, and then a black-and-white image is produced. can be created.

도 2a 및 도 2b를 참조하면, 필터 전환부(150)는 디지털 신호 처리부(110)의 제어 하게 주야간 판단부(130)의 감지결과에 따라 주간 모드인 경우, 상기 모터(143)를 동작시켜 IR-Cut 필터(141)를 렌즈 앞에 위치시키도록 구동하고, 야간 모드인 경우에는 상기 모터(143)를 동작시켜 더미 글라스(142)를 렌즈 앞에 위치시키도록 구동한다. Referring to FIGS. 2A and 2B, the filter switching unit 150 operates the motor 143 to control the digital signal processing unit 110 and operates the motor 143 when the day mode is in the day mode according to the detection result of the day/night determination unit 130. -The cut filter 141 is driven to be positioned in front of the lens, and in the case of night mode, the motor 143 is operated to position the dummy glass 142 in front of the lens.

도 1 내지 도 2에서는 상기 저조도 환경에서 제2 필터 (i.e., 더미 글라스)(142)가 렌즈 앞에 위치시키는 구조를 설명하고 있으나, 본 발명의 실시예가 이에 한정되는 것은 아니다. 일 예로, 상기 더미 글라스(142)를 구비하지 않고, 제1 필터 (i.e., IR-Cut 필터)(141)가 렌즈에 씌워지고 벗겨지는 형태로도 구현될 있다. 즉, 야간 모드에서 더미 글라스(142)를 사용하지 않고 렌즈 만을 이용하는 구조로서, 주간 모드에는 상기 모터(143)를 동작시켜 IR-Cut 필터(141)가 렌즈 앞에 위치하지만, 야간 모드에는 상기 더미 글라스(142)를 사용하지 않고, 단지 렌즈 앞에 위치한 상기 IR-Cut 필터(141)만을 제거하여 IR 대역의 파장을 차단하지 않게 할 수도 있다. 이 경우 상기 제2 필터(142)는 더미 글라스가 아닌 공기(air)가 될 수 있다. 1 and 2 illustrate a structure in which the second filter (i.e., dummy glass) 142 is positioned in front of the lens in the low-light environment, but the embodiment of the present invention is not limited thereto. As an example, without the dummy glass 142, the first filter (i.e., IR-Cut filter) 141 may be implemented in a form that is covered and peeled off the lens. That is, the structure uses only the lens without using the dummy glass 142 in the night mode. In the day mode, the IR-Cut filter 141 is positioned in front of the lens by operating the motor 143, but in the night mode, the dummy glass 142 is used. Instead of using 142, it is possible to remove only the IR-Cut filter 141 located in front of the lens so that it does not block wavelengths in the IR band. In this case, the second filter 142 may be air rather than dummy glass.

이와 같이 주간 모드 및/또는 야간 모드를 통해 필터링된 광신호는 줌 렌즈(160) 및 포커스 렌즈(180)를 투과한 후 촬상소자(200)의 수광면에 이르러 피사체의 상이 결상된다. 촬상소자(200)의 수광면에 결상되는 상은 광전 변환 처리에 의하여 전기적인 영상 신호로 변환된다. In this way, the optical signal filtered through the day mode and/or the night mode passes through the zoom lens 160 and the focus lens 180 and then reaches the light-receiving surface of the imaging device 200 to form an image of the subject. The image formed on the light-receiving surface of the imaging device 200 is converted into an electrical image signal through photoelectric conversion processing.

촬상소자(200)로는 광학 신호를 전기 신호로 변환하는 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal Oxide Semiconductor Image Sensor) 등을 사용할 수 있다. CMOS로서의 촬상소자(200)는 촬영에 필요한 소비 전력이 낮아 감시 카메라(100)의 전력 유지에 큰 강점이 있고, 제조단가가 비교적 저렴하여 촬상소자의 면적을 크게 만들기에 유리하며, 대량 생산이 용이하다. CCD로서의 촬상소자(200)는 CMOS에 비해 노이즈 발생이 훨씬 적고 이미지 정보 전송 속도가 매우 빨라 연속 촬영 시 저장속도가 빠르며, 화질이 우수하다는 장점이 있다. The imaging device 200 may be a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor Image Sensor) that converts optical signals into electrical signals. The imaging device 200 as a CMOS has a great advantage in maintaining the power of the surveillance camera 100 due to the low power consumption required for shooting. The manufacturing cost is relatively low, so it is advantageous to increase the area of the imaging device, and it is easy to mass produce. do. The imaging device 200 as a CCD has the advantage of generating much less noise and transmitting image information very quickly compared to CMOS, resulting in fast storage during continuous shooting and excellent image quality.

줌 렌즈(160) 및 포커스 렌즈(180)는 각각 줌 렌즈 구동부(170) 및 포커스 렌즈 구동부(180)에 의해 그 위치 등이 제어된다. 예를 들어 광각(wide angle)-줌(줌-아웃) 신호가 발생하면 줌 렌즈(160)의 포커스 거리(focal length)가 짧아져서 화각이 넓어지고, 망원(telephoto)-줌(줌-인) 신호가 발생하면 줌 렌즈(160)의 포커스 거리가 길어져서 화각이 좁아진다. The positions of the zoom lens 160 and the focus lens 180 are controlled by the zoom lens driver 170 and the focus lens driver 180, respectively. For example, when a wide angle-zoom (zoom-out) signal is generated, the focal length of the zoom lens 160 is shortened to widen the angle of view, and the telephoto (telephoto)-zoom (zoom-in) signal is generated. When a signal is generated, the focus distance of the zoom lens 160 becomes longer and the angle of view becomes narrower.

줌 렌즈(160)의 위치가 설정된 상태에서 포커스 렌즈(180)의 위치가 조정되므로, 화각은 포커스 렌즈(180)의 위치에 대하여 거의 영향을 받지 않는다. 이들 줌 렌즈 구동부(170), 포커스 렌즈 구동부(190) 및 촬상 소자 제어부(210)는 노출 정보, 초점 정보 등을 기준으로 디지털 신호 처리부(110)에서 연산된 결과에 따라 해당 구성부들을 제어한다. 이후, 상기 촬상소자(200)로부터 출력된 영상 신호는 영상 신호 처리부(220)에 출력되고, 상기 촬상소자(200)로부터 입력되는 영상 신호가 아날로그 신호인 경우 디지털 신호로 변환되고, 이는 디지털 신호 처리부(110)을 통해 상기 변환된 디지털 영상 신호에 대하여 각종의 화상 처리가 행해진다. 이러한 처리가 행해진 영상 신호는 감시 카메라(100) 내부에 임시 저장되었다가 디지털 비디오 레코더 또는 네트워크 비디오 레코더로 전송될 수 있다. 구체적으로 영상 신호 처리부(220)는 사람의 시각에 맞게 영상 데이터를 변환하도록 오토 화이트 밸런스(Auto White Balance)나 오토익스포저(Auto Exposure), 감마 코렉션(Gamma Correction) 등의 신호 처리를 행하여 화질을 개선하고, 개선된 화질의 영상 신호를 출력할 수 있다. 또한, 디지털 신호 처리부(110)에서는 색필터 배열보간(color filter array interpolation), 색 매트릭스(color matrix), 색보정(color correction), 색 향상(color enhancement) 등의 영상 처리를 수행할 수 있다.Since the position of the focus lens 180 is adjusted while the position of the zoom lens 160 is set, the angle of view is hardly affected by the position of the focus lens 180. These zoom lens driver 170, focus lens driver 190, and imaging device control unit 210 control the corresponding components according to results calculated by the digital signal processor 110 based on exposure information, focus information, etc. Thereafter, the image signal output from the imaging device 200 is output to the image signal processing unit 220, and if the image signal input from the imaging device 200 is an analog signal, it is converted into a digital signal, which is processed by the digital signal processing unit. Various image processing is performed on the converted digital video signal through 110. The video signal that has undergone this processing may be temporarily stored inside the surveillance camera 100 and then transmitted to a digital video recorder or network video recorder. Specifically, the image signal processing unit 220 improves image quality by performing signal processing such as Auto White Balance, Auto Exposure, and Gamma Correction to convert image data to suit human vision. It is possible to improve and output video signals with improved image quality. Additionally, the digital signal processor 110 may perform image processing such as color filter array interpolation, color matrix, color correction, and color enhancement.

본 발명의 실시예에 의한 감시용 카메라의 필터전환 이상 검출 방법 도 2에 도시된 바와 같은 감시 카메라 구동 장치 내부에서 수행될 수 있는데, 실시 예에 따라 동작 방법의 주 알고리즘은 장치 내의 주변 구성 요소들의 도움을 받아 제어부 즉, 디지털 신호 처리부(110) 내에서 수행될 수 있다. A method for detecting filter switching abnormalities in a surveillance camera according to an embodiment of the present invention may be performed inside a surveillance camera driving device as shown in FIG. 2. Depending on the embodiment, the main algorithm of the operation method is based on the detection of peripheral components within the device. With help, it can be performed within the control unit, that is, the digital signal processing unit 110.

필터 전환부(150)는 디지털 신호 처리부(110)의 제어 하에 주야간 판단부(130)의 감지결과에 따라 주간 모드인 경우, 상기 모터(143)를 동작시켜 IR-Cut 필터(141)를 렌즈 앞에 위치시키도록 구동하고, 야간 모드인 경우에는 상기 모터(143)를 동작시켜 더미 글라스(142)를 렌즈 앞에 위치시키도록 구동한다. When in day mode according to the detection result of the day/night determination unit 130 under the control of the digital signal processor 110, the filter switching unit 150 operates the motor 143 to place the IR-Cut filter 141 in front of the lens. In the case of night mode, the motor 143 is operated to position the dummy glass 142 in front of the lens.

주간 모드에서 IR-Cut필터(141)는 사람이 인식할 수 있는 가시광선 영역대만 통과시킬 수 있는 필터로 IR영역 대를 잘라내어 렌즈에 들어오도록 한다. 반면 야간 모드인 경우에는 모든 파장대역을 통과시켜 노이즈나 저조도 상황에 보다 잘 대응되도록 더미 글라스(142)로 전환을 하게 된다. 더미 글라스(142)는 모든 파장대역을 통과시킴으로써 IR-Cut 필터(141)와 비교할 때 렌즈에 맺히는 빛의 양이나 파장들이 차이가 발생된다.In day mode, the IR-Cut filter 141 is a filter that can only pass through the visible ray range that can be recognized by humans, and cuts off the IR ray range so that it enters the lens. On the other hand, in the case of night mode, all wavelength bands are passed through and switched to dummy glass 142 to better respond to noise or low-light situations. The dummy glass 142 passes all wavelength bands, resulting in a difference in the amount or wavelength of light condensing on the lens compared to the IR-Cut filter 141.

그러나, 하드웨어적인 결함이나 다른 여러 이유에 의해서 상기 필터 즉, 더미 글라스(142) 및 IR-Cut 필터(141)로 전환되지 않는 경우가 발생될 수 있다. 다시 말하면, 주간 모드에서 IR-Cut 필터(141)가 위치하도록 제어되지 않고, 야간 모드에서 더미 글라스(142)가 위치되도록 제어되지 않을 수 있으며, 이 경우 상기 오류를 파악하지 못하면 오작동이 된 상태로 영상을 촬상하게 된다. However, there may be cases where the filter is not switched to the dummy glass 142 and IR-Cut filter 141 due to hardware defects or various other reasons. In other words, the IR-Cut filter 141 may not be controlled to be positioned in the day mode, and the dummy glass 142 may not be controlled to be positioned in the night mode. In this case, if the above error is not detected, it may malfunction. Video is captured.

본 발명의 실시예는 이러한 문제점을 극복하기 위해 감시 카메라의 주야간 모드 필터 전환 시에 하드웨어적인 필터 전환에서 에러가 발생됨을 소프트웨어적으로 파악할 수 있는 감시 카메라의 필터전환 이상 검출 방법을 제공함을 목적으로 한다. In order to overcome these problems, the purpose of the embodiment of the present invention is to provide a method for detecting filter switching abnormalities in surveillance cameras that can detect through software that an error occurs in hardware filter switching when switching day/night mode filters of a surveillance camera. .

주간 모드에서 야간 모드로 필터 전환이 수행되면, 앞서 언급한 바와 같이 필터 전환부(150)가 필터부(140)의 모터(143)을 구동하여 렌즈 앞에 위치되었던 IR-Cut 필터(141)가 더미 글라스(142)로 전환된다. 도 2b를 참조하면, 본 발명의 실시예의 경우 상기 주간 모드에서 야간 모드로 필터 전환이 수행될 때 상기 필터부(140)는 오른쪽에서 왼쪽으로 이동할 수 있다.When the filter switching from day mode to night mode is performed, as mentioned above, the filter switching unit 150 drives the motor 143 of the filter unit 140 to turn the IR-Cut filter 141 located in front of the lens into a dummy. Converted to glass (142). Referring to FIG. 2B, in the embodiment of the present invention, when the filter is switched from the day mode to the night mode, the filter unit 140 may move from right to left.

마찬가지로, 야간 모드에서 주간 모드로 필터 전환이 수행되면, 필터 전환부(150)가 필터부(140)의 모터(143)을 구동하여 렌즈 앞에 위치되었던 더미 글라스(142)가 IR-Cut 필터(141)로 전환된다. 도 2a를 참조하면, 본 발명의 실시예의 경우 상기 야간 모드에서 주간 모드로 필터 전환이 수행될 때 상기 필터부(140)는 왼쪽에서 오른쪽으로 이동할 수 있다.Likewise, when a filter switch is performed from the night mode to the day mode, the filter switching unit 150 drives the motor 143 of the filter unit 140 to change the dummy glass 142 located in front of the lens to the IR-Cut filter 141. ) is converted to Referring to FIG. 2A, in the embodiment of the present invention, when the filter is switched from the night mode to the day mode, the filter unit 140 may move from left to right.

이와 같이 주간 모드에서 야간 모드로, 또는 야간 모드에서 주간 모드로 필터가 하드웨어적으로 전환될 때, 상기 필터 전환에 에러가 발생되었는지 즉, 필터가 제대로 전환되었는지 여부를 검출하는 방법으로서 본 발명의 실시예는 소정의 조건들을 비교 분석하여 감시 카메라의 필터전환에 대한 이상 검출을 소프트웨어적으로 파악할 수 있다. In this way, when the filter is hardware switched from day mode to night mode, or from night mode to day mode, the present invention is implemented as a method of detecting whether an error occurred in the filter switch, that is, whether the filter was switched properly. For example, by comparing and analyzing predetermined conditions, abnormal detection of filter switching of a surveillance camera can be identified through software.

도 3은 본 발명의 실시예에 의한 감시 카메라의 필터전환 이상 검출 방법을 설명하는 순서도이며, 이하에서는 도 1 내지 도 3을 참조하여 구체적인 감시 카메라의 필터전환 이상 검출 방법을 설명하도록 한다.Figure 3 is a flowchart explaining a method for detecting a filter switching abnormality in a surveillance camera according to an embodiment of the present invention. Hereinafter, a specific method for detecting a filter switching abnormality in a surveillance camera will be described with reference to Figures 1 to 3.

감시 카메라(100)의 필터부(140)는 디지털 신호 처리부(110)의 제어 하에, 주야간 판단부(130)의 감지결과에 따라 주간 모드인 경우에는 IR 대역의 파장을 차단하는 제1 필터 (IR-Cut 필터)(141)를 렌즈 앞에 위치시켜 깨끗한 컬러 영상을 생성하고, 야간 모드인 경우 즉, 저조도 환경에서는 제2 필터 (더미 글라스 또는 공기)(142)를 렌즈 앞에 위치시켜 모든 파장대의 영상을 입력 받게 한 후 흑백 영상을 생성하도록 할 수 있다. The filter unit 140 of the surveillance camera 100 is under the control of the digital signal processing unit 110, and in the case of day mode according to the detection result of the day/night determination unit 130, a first filter (IR) blocks wavelengths in the IR band. -Cut filter) (141) is placed in front of the lens to create a clear color image, and in night mode, that is, in a low-light environment, a second filter (dummy glass or air) (142) is placed in front of the lens to produce images in all wavelength ranges. After receiving input, you can create a black and white image.

본 발명의 실시예는 주간 모드에서 야간 모드로, 또는 야간 모드에서 주간 모드로 필터가 하드웨어적으로 전환될 때, 상기 감시 카메라(100)의 필터전환에 대한 이상 검출을 소프트웨어적으로 파악할 수 있는 소정의 조건들로서, 동일한 광원 하에서 IR-Cut 필터(141)를 통과하여 센싱된 디지털 영상 데이터 정보와, 더미 글라스(142)를 통과하여 센싱된 디지털 영상 데이터 정보를 비교하는 제1 조건 및 필터가 전환되는 도중 하드웨어적 결함으로 필터의 일부만 렌즈 상에 위치하게 되었는지 여부를 판단하는 제2 조건을 이용하며, 상기 제1 조건 및 제2 조건의 만족 여부에 따라 이를 모두 만족한 경우에는 감시 카메라의 필터가 제대로 전환된 것으로 판단하고, 그렇지 않은 경우에는 필터 전환 이상 검출로 판단하여 필터를 재전환하도록 모터를 시동하거나 사용자에게 알림을 수행할 수 있다.An embodiment of the present invention is a predetermined method that can detect anomalies in filter switching of the surveillance camera 100 in software when the filter is hardware switched from day mode to night mode, or from night mode to day mode. As the conditions, the first condition for comparing the digital image data information sensed through the IR-Cut filter 141 and the digital image data information sensed through the dummy glass 142 under the same light source and the filter is switched. The second condition is used to determine whether only part of the filter is located on the lens due to a hardware defect. If both the first and second conditions are satisfied, the filter of the surveillance camera is properly operated. It is determined that it has been switched, and if not, it is determined that a filter switching error has been detected and the motor can be started to re-switch the filter or a notification can be sent to the user.

다시 말하면, 본 발명의 실시예에 의한 감시 카메라의 필터전환 이상 검출 방법은, 주간 모드에 대응되는 제1 필터 및 야간 모드에 대응되는 제2 필터를 각각 통과하여 산출된 영상 데이터 값을 비교 연산하는 단계와, 상기 비교 연산의 결과값을 기 설정된 기준 데이터와 비교하여 필터가 전환되는 도중 하드웨어적 결함으로 필터의 일부만 렌즈 상에 위치하게 되었는지 여부를 판단하는 단계와, 필터 전환 이상이 검출된 것으로 판단된 경우 필터 재전환 시동 또는 사용자 알림을 수행하는 단계를 포함할 수 있다. In other words, the method of detecting a filter switching abnormality of a surveillance camera according to an embodiment of the present invention compares and calculates the image data values calculated by passing through the first filter corresponding to the day mode and the second filter corresponding to the night mode, respectively. A step of comparing the result of the comparison operation with preset reference data to determine whether only a part of the filter is located on the lens due to a hardware defect while the filter is being switched, and determining that a filter switching abnormality has been detected. If this happens, it may include a step of performing filter reswitching or user notification.

보다 구체적으로 상기 제1 조건에 대해 설명하면 다음과 같다.In more detail, the first condition is described as follows.

도 1에 도시된 감시 카메라(100)를 통해 촬영된 영상 신호는, 상기 영상 신호 처리부(220)를 통해 아날로그 RGB 영상신호가 디지털 영상신호 즉, 휘도신호인 Y와 색차신호인 Cb, Cr 신호로 변환되어 상기 디지털 신호 처리부(110)로 제공될 수 있다. The image signal captured through the surveillance camera 100 shown in FIG. 1 is an analog RGB image signal converted into a digital image signal, that is, a luminance signal Y and chrominance signals Cb and Cr signals through the image signal processor 220. It may be converted and provided to the digital signal processor 110.

이 때, 동일한 광원 조건 하에서 빛이 IR-Cut 필터(141)를 통과한 경우에 대응되는 디지털 영상 신호의 Y 값과, 더미 글라스(142)를 통과한 경우에 대응되는 디지털 영상 신호의 Y 값을 비교하면, IR-Cut 필터(141) 하에서는 광원의 일정 주파수 영역 (예: 적외선 주파수 영역)을 제거하기 때문에 상기 Y 값(Y(IR-cut))이 더미 글라스(142)를 통과하였을 때의 Y 값(Y(Dummy))보다 기대 값이 작게 된다. 즉, Y(Dummy) > Y(IR-cut) 조건을 기본적인 제1 조건 (제1-1 조건)으로 필터전환 이상 검출에 사용할 수 있다.At this time, under the same light source conditions, the Y value of the digital image signal corresponding to the case where the light passes through the IR-Cut filter 141 and the Y value of the digital image signal corresponding to the case where the light passes through the dummy glass 142 are determined. In comparison, since a certain frequency region (e.g., infrared frequency region) of the light source is removed under the IR-Cut filter 141, the Y value (Y(IR-cut)) when it passes through the dummy glass 142 The expected value becomes smaller than the value (Y(Dummy)). In other words, the condition Y(Dummy) > Y(IR-cut) can be used to detect filter switching abnormalities as the basic first condition (1-1 condition).

상기 제1-1 조건을 보다 구체적인 수식(수학식1)으로 정리하면 다음과 같다.The above 1-1 condition can be summarized in a more specific formula (Equation 1) as follows.

(수학식1)(Equation 1)

Y(Dummy) / Y(IR-Cut) > 제1기준값(A)Y(Dummy) / Y(IR-Cut) > First reference value (A)

더미 글라스(142)를 통과하였을 때의 Y값(Y(Dummy))과 IR-Cut 필터(141) 하에서의 Y값(Y(IR-Cut))의 반사율은 최소 5%이상 차이가 난다. 따라서 제1기준값(A)은 1.05임이 바람직하다.The reflectance of the Y value (Y(Dummy)) when passing through the dummy glass 142 and the Y value (Y(IR-Cut)) under the IR-Cut filter 141 differs by at least 5%. Therefore, it is desirable that the first reference value (A) is 1.05.

따라서, 필터 전환 동작이 수행된 경우, 더미 글라스(142)를 통과하였을 때의 Y값(Y(Dummy))과 IR-Cut 필터(141) 하에서의 Y값(Y(IR-Cut))의 비가 제1 기준값(A)보다 큰지 여부를 판단한다. 즉, 상기 제1-1 조건(수학식1)을 만족하는지 여부를 판단한다 (ST 110).Therefore, when a filter switching operation is performed, the ratio of the Y value (Y(Dummy)) when passing through the dummy glass 142 and the Y value (Y(IR-Cut)) under the IR-Cut filter 141 is 1 Determine whether it is greater than the reference value (A). That is, it is determined whether the 1-1 condition (Equation 1) is satisfied (ST 110).

이 때, 상기 제1-1 조건(수학식1)을 만족하면 다음 단계의 조건 만족 여부를 판단하고, 그렇지 않으면 필터 전환 동작에 에러가 발생된 것으로 판단한다 (ST 140). At this time, if the 1-1 condition (Equation 1) is satisfied, it is determined whether the condition of the next step is satisfied; otherwise, it is determined that an error has occurred in the filter switching operation (ST 140).

또한, 추가적으로 디지털 영상신호의 휘도신호인 Y값 외에 색차신호인 Cr값의 경우, IR-Cut 필터(141)에서 더미 글라스(142)로 전환 시에 제거되었던 빛의 파장 영역이 통과되기 때문에 IR-Cut 필터(141) 하에서의 Cr 값(CR(IR-Cut))이 더미 글라스(142)를 통과하였을 때의 Cr값(CR(Dummy))보다 작게 된다. 즉, CR(Dummy) > CR(IR-Cut) 조건을 추가적인 제1 조건 (제1-2 조건)으로 필터전환 이상 검출에 사용할 수 있다.Additionally, in the case of the Cr value, which is a color difference signal, in addition to the Y value, which is the luminance signal of a digital image signal, the wavelength region of light that was removed when switching from the IR-Cut filter 141 to the dummy glass 142 is passed through, so the IR- The Cr value (CR(IR-Cut)) under the cut filter 141 becomes smaller than the Cr value (CR(Dummy)) when passing through the dummy glass 142. In other words, the CR(Dummy) > CR(IR-Cut) condition can be used as an additional first condition (1st-2nd condition) to detect a filter switching abnormality.

다만, Cb값의 경우 색온도 별로 방향성이 다르게 나타나므로 본 발명의 실시예에서는 광원의 색온도와 무관하게 커지는 방향성을 갖는 Cr값을 활용하도록 한다. However, in the case of the Cb value, the directionality varies depending on the color temperature, so in the embodiment of the present invention, the Cr value with a directionality that increases regardless of the color temperature of the light source is used.

상기 제1-2 조건을 보다 구체적인 수식(수학식2)으로 정리하면 다음과 같다.The above conditions 1-2 can be summarized in a more specific equation (Equation 2) as follows.

(수학식2)(Equation 2)

CR(Dummy) - CR(IR-Cut) > 제2기준값(B)CR(Dummy) - CR(IR-Cut) > 2nd reference value (B)

상기 Cr값은 위치에 따라 음수와 양수로 표시되는데 더미 글라스(142)를 통과하였을 때의 Cr값(CR(Dummy))에 IR-Cut 필터(141) 하에서의 Cr 값(CR(IR-Cut))을 더하게 되면 최소한 제2기준값(B) 이상은 증가해야 한다. 본 발명의 실시예의 경우 상기 제2기준값(B)은 최소 5 이상으로 구현됨이 바람직하다.The Cr value is displayed as a negative or positive number depending on the position. The Cr value (CR(Dummy)) when passing through the dummy glass 142 and the Cr value (CR(IR-Cut)) under the IR-Cut filter 141 If added, it must increase by at least the second standard value (B). In the case of the embodiment of the present invention, the second reference value (B) is preferably implemented as at least 5 or more.

따라서, 필터 전환 동작이 수행된 경우, 더미 글라스(142)를 통과하였을 때의 Cr값(CR(Dummy))과 IR-Cut 필터(141) 하에서의 Cr값(CR(Dummy))의 차가 제2 기준값(B)보다 큰지 여부를 판단한다. 즉, 상기 제1-2 조건(수학식2)을 만족하는지 여부를 판단한다 (ST 130). Therefore, when a filter switching operation is performed, the difference between the Cr value (CR(Dummy)) when passing through the dummy glass 142 and the Cr value (CR(Dummy)) under the IR-Cut filter 141 is the second reference value. Determine whether it is greater than (B). That is, it is determined whether the first-second condition (Equation 2) is satisfied (ST 130).

이 때, 상기 필터부(140)의 진행방향에 따라 진행하는 방향의 마지막 열의 디지털 영상 데이터를 이용하여 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)을 적용한 결과, 결과적으로 상기 제1-1 조건 및 제1-2 조건을 모두 만족한 경우에는 정상 필터 전환 동작이 수행되었음으로 판단하고 (ST 130), 그렇지 않으면 필터 전환 동작에 에러가 발생된 것으로 판단한다 (ST 140). 또한, 필터 전환 이상이 검출된 것으로 판단된 경우 필터 재전환 시동 또는 사용자 알림을 수행할 수 있다.At this time, the 1-1 condition (Equation 1) and the 1-2 condition (Equation 2) are applied using the digital image data of the last column in the direction in which the filter unit 140 moves. As a result, if both the 1-1 condition and the 1-2 condition are satisfied, it is determined that a normal filter switching operation has been performed (ST 130). Otherwise, it is determined that an error has occurred in the filter switching operation. (ST 140). Additionally, if it is determined that a filter switching abnormality has been detected, filter reswitching may be initiated or a user notification may be performed.

이와 같은 제1 조건 즉, 제1-1 조건 및 제1-2 조건을 이용하여 필터전환 이상을 검출할 수 있는 기본적인 조건식은 마련되었으나, 상기 제1 조건은 필터가 전환되는 도중 하드웨어적 결함으로 필터의 일부만 렌즈 상에 위치된 경우에 해당하는 이상은 검출할 수 없다.A basic conditional expression has been prepared to detect a filter switching error using the first condition, that is, the 1-1 condition and the 1-2 condition, but the first condition is a hardware defect during filter switching. If only a portion of is located on the lens, the corresponding abnormality cannot be detected.

일 예로, IR-Cut 필터(141)가 더미 글라스(142)로 전환되는 도중에 멈춘 경우에 필터부(140) 전체 영역에 대한 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)를 적용하면 이상을 검출하지 못하고, 정상적인 전환이 수행된 것으로 잘못 판단할 수 있다. 따라서, 본 발명의 실시예는 제1 조건 외에 추가적인 제2 조건으로서 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)을 검출해 내는 영역을 제하는 조건을 추가로 적용할 수 있다. As an example, when the IR-Cut filter 141 stops while being converted to the dummy glass 142, the 1-1 condition (Equation 1) and the 1-2 condition (Equation 1) for the entire area of the filter unit 140 ( If Equation 2) is applied, an abnormality may not be detected and it may be mistakenly judged that a normal conversion has been performed. Therefore, the embodiment of the present invention adds a condition for excluding the area detecting the 1-1 condition (Equation 1) and the 1-2 condition (Equation 2) as an additional second condition in addition to the first condition. It can be applied.

본 발명의 실시예에서는 필터부(140)의 진행방향에 따라 진행하는 방향의 마지막 열의 디지털 영상 데이터를 이용하여 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)으로 검출한다.In an embodiment of the present invention, the 1-1 condition (Equation 1) and the 1-2 condition (Equation 2) are calculated using the digital image data of the last column in the direction in which the filter unit 140 moves. Detected with

즉, 도 2a에 도시된 바와 같이, 필터부(140)의 진행방향이 왼쪽에서 오른쪽인 경우, 진행하는 방향의 마지막 열을 포함하는 오른쪽 2열의 패치에서의 Y 값 및 Cr 값을 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)으로 검출한다. 마찬가지로, 도 2b에 도시된 바와 같이, 필터부(140)의 진행방향이 오른쪽에서 왼쪽인 경우에는 진행하는 방향의 마지막 열을 포함하는 왼쪽 2열의 패치에서의 Y 값 및 Cr 값을 상기 제1-1 조건 (수학식1) 및 제1-2 조건 (수학식2)으로 검출한다.That is, as shown in FIG. 2A, when the moving direction of the filter unit 140 is from left to right, the Y value and Cr value in the two right column patches including the last column in the moving direction are the first - Detected using condition 1 (Equation 1) and condition 1-2 (Equation 2). Likewise, as shown in FIG. 2B, when the moving direction of the filter unit 140 is from right to left, the Y value and Cr value of the patch in the left two columns including the last column in the moving direction are the first - Detected using condition 1 (Equation 1) and condition 1-2 (Equation 2).

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, the present invention has been described with specific details such as specific components and limited embodiments and drawings, but this is only provided to facilitate a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , those skilled in the art can make various modifications and variations from this description.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the described embodiments, and the scope of the patent claims described below as well as all modifications that are equivalent or equivalent to the scope of this patent claim shall fall within the scope of the spirit of the present invention. .

Claims (6)

주간 모드에 대응하는 제1 필터 및 야간 모드에 대응하는 제2 필터를 포함하는 감시 카메라의 필터전환 이상 검출 방법에 있어서,
상기 제1 필터를 통과하여 산출된 제1 영상 데이터 값과 상기 제2 필터를 통과하여 산출된 제2 영상 데이터 값을 비교 연산하는 제1 단계와,
상기 제1 영상 데이터 값과 상기 제2 영상 데이터 값의 비교 연산 결과값을 기 설정된 기준 데이터와 비교하여 상기 필터가 전환되는 도중 하드웨어적 결함이 발생되었는지 여부를 판단하는 제2 단계와,
필터 전환 이상이 검출된 것으로 판단된 경우 필터 재전환 시동 또는 사용자 알림을 수행하는 제3 단계를 포함하는 감시 카메라의 필터전환 이상 검출 방법.
In a method for detecting a filter switching abnormality of a surveillance camera including a first filter corresponding to a day mode and a second filter corresponding to a night mode,
A first step of comparing and calculating a first image data value calculated by passing the first filter and a second image data value calculated by passing the second filter;
A second step of determining whether a hardware defect occurred while the filter was switched by comparing a result of a comparison operation between the first image data value and the second image data value with preset reference data;
A method for detecting a filter switching abnormality in a surveillance camera, comprising a third step of performing filter reswitching or performing a user notification when it is determined that a filter switching abnormality has been detected.
◈청구항 2은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 2 was abandoned upon payment of the setup registration fee.◈ 제1 항에 있어서,
상기 제1 필터는 IR-Cut 필터, 상기 제2 필터는 더미 글라스로 구현되며,
상기 제1 단계는,
상기 주간 모드에서 야간 모드로, 또는 야간 모드에서 주간 모드로 필터가 하드웨어적으로 전환될 때,
상기 더미 글라스를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Y값과 IR-Cut 필터를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Y값의 비가 제1 기준값보다 큰 지 여부를 판단하는 제1-1 단계;
상기 더미 글라스를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Cr값과 IR-Cut 필터를 이용하여 촬영하였을 때의 디지털 영상 데이터의 Cr값의 차가 제2 기준값보다 큰 지 여부를 판단하는 제1-2 단계를 포함하는 감시 카메라의 필터전환 이상 검출 방법.
According to claim 1,
The first filter is implemented as an IR-Cut filter, and the second filter is implemented as a dummy glass,
The first step is,
When the filter is hardware switched from the day mode to the night mode, or from the night mode to the day mode,
1-1 for determining whether the ratio of the Y value of the digital image data when captured using the dummy glass and the Y value of the digital image data when captured using the IR-Cut filter is greater than the first reference value. step;
1-2 for determining whether the difference between the Cr value of the digital image data when captured using the dummy glass and the Cr value of the digital image data when captured using the IR-Cut filter is greater than the second reference value. A method for detecting filter switching abnormalities in a surveillance camera including the following steps.
◈청구항 3은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 3 was abandoned upon payment of the setup registration fee.◈ 제2 항에 있어서,
상기 제2 단계는,
상기 제1-1 단계 및 제1-2 단계의 조건들을 모두 만족한 경우에는 정상 필터 전환 동작이 수행된 것으로 판단하고, 그렇지 않으면 필터 전환 동작에 에러가 발생된 것으로 판단하는 감시 카메라의 필터전환 이상 검출 방법.
According to clause 2,
The second step is,
If all the conditions of step 1-1 and step 1-2 are satisfied, it is determined that a normal filter switching operation has been performed. Otherwise, it is determined that an error has occurred in the filter switching operation. Filter switching abnormality of a surveillance camera Detection method.
◈청구항 4은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 4 was abandoned upon payment of the setup registration fee.◈ 제2 항에 있어서,
상기 제1 기준값은 1.05이고, 제2 기준값은 5인 감시 카메라의 필터전환 이상 검출 방법.
According to clause 2,
A method for detecting a filter change abnormality in a surveillance camera where the first reference value is 1.05 and the second reference value is 5.
◈청구항 5은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 5 was abandoned upon payment of the setup registration fee.◈ 제2항에 있어서,
상기 필터가 전환될 때 하드웨어적 결함으로 필터의 일부만 렌즈 상에 위치되었는지 판단하기 위해, 상기 전환되는 필터의 진행방향에 따라 진행하는 방향의 마지막 열의 디지털 영상 데이터를 이용하여 상기 제1-1 단계 및 제1-2 단계를 수행하는 감시 카메라의 필터전환 이상 검출 방법.
According to paragraph 2,
In order to determine whether only a part of the filter is located on the lens due to a hardware defect when the filter is switched, the digital image data of the last row in the moving direction of the switched filter is used to determine the steps 1-1 and A method of detecting a filter switching abnormality of a surveillance camera performing steps 1-2.
◈청구항 6은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 6 was abandoned upon payment of the setup registration fee.◈ 제5 항에 있어서,
상기 전환되는 필터의 진행방향이 왼쪽에서 오른쪽인 경우, 진행하는 방향의 마지막 열을 포함하는 오른쪽 2열의 패치에서의 Y값 및 Cr값을 상기 제1-1 단계 및 제1-2 단계를 수행하거나, 또는
상기 전환되는 필터의 진행방향이 오른쪽에서 왼쪽인 경우, 진행하는 방향의 마지막 열을 포함하는 왼쪽 2열의 패치에서의 Y값 및 Cr값을 상기 제1-1 단계 및 제1-2 단계를 수행하는 감시 카메라의 필터전환 이상 검출 방법.
According to clause 5,
If the moving direction of the switching filter is from left to right, perform steps 1-1 and 1-2 to determine the Y value and Cr value of the patch in the 2 right columns including the last column in the moving direction. , or
When the moving direction of the switching filter is from right to left, the Y value and Cr value of the patch in the 2 left columns including the last column in the moving direction are calculated by performing steps 1-1 and 1-2. Method for detecting filter switching abnormalities in surveillance cameras.
KR1020190004938A 2019-01-15 2019-01-15 method for detecting filter switching error of surveillance camera KR102592230B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190004938A KR102592230B1 (en) 2019-01-15 2019-01-15 method for detecting filter switching error of surveillance camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190004938A KR102592230B1 (en) 2019-01-15 2019-01-15 method for detecting filter switching error of surveillance camera

Publications (2)

Publication Number Publication Date
KR20200088554A KR20200088554A (en) 2020-07-23
KR102592230B1 true KR102592230B1 (en) 2023-10-23

Family

ID=71894363

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190004938A KR102592230B1 (en) 2019-01-15 2019-01-15 method for detecting filter switching error of surveillance camera

Country Status (1)

Country Link
KR (1) KR102592230B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132718B (en) * 2021-04-20 2022-05-24 深圳市多酷科技有限公司 Day and night type image pickup device switching abnormality detection method, device, equipment and storage medium
CN113747149B (en) * 2021-08-26 2024-04-16 浙江大华技术股份有限公司 Abnormality detection method and device for optical filter, electronic device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100007174A (en) * 2008-07-11 2010-01-22 엘지전자 주식회사 Apparatus and method for switching photograph mode of monitoring camera
KR101341639B1 (en) * 2008-09-16 2013-12-16 삼성테크윈 주식회사 Camera for monitoring, apparatus and method for operating it
KR102116091B1 (en) * 2014-02-06 2020-05-27 한화테크윈 주식회사 Surveillance camera having division filters

Also Published As

Publication number Publication date
KR20200088554A (en) 2020-07-23

Similar Documents

Publication Publication Date Title
US9143704B2 (en) Image capturing device and method thereof
JP4612861B2 (en) Imaging device
US20160142681A1 (en) Surveillance camera and focus control method thereof
EP2747414B1 (en) Monitoring method and camera
US9001266B2 (en) Imaging device and light emission amount control method of the same
KR102592230B1 (en) method for detecting filter switching error of surveillance camera
JP7156352B2 (en) IMAGING DEVICE, IMAGING METHOD, AND PROGRAM
KR101042895B1 (en) InfraRed Lighting Apparatus
US8477221B2 (en) Image sensing system and correction method
WO2021230933A2 (en) Dual mode camera and quasi-bandpass filter
US10270979B2 (en) Automatically depth-of-field adjusting method and camera
WO2020026561A1 (en) Image processing device, image processing method, program and image-capturing device
KR101586698B1 (en) Surveillance camera
US20210297573A1 (en) Imaging device, control method, and storage medium
JP5014474B2 (en) Imaging device
US9906705B2 (en) Image pickup apparatus
KR101429510B1 (en) Apparatus for protecting image saturation
JP2016200741A (en) Imaging device
CN113612934B (en) Light intensity self-adaptive camera system based on IR-CUT
JP2008153848A (en) Image processing apparatus
CN112135012B (en) Image acquisition device and image acquisition method
JP2006166342A (en) Imaging apparatus and imaging system
KR102104408B1 (en) Surveillance camera utilizing sensor
US20240196088A1 (en) Focus control apparatus and method, image capturing apparatus, and recording medium
JP6388391B2 (en) Backlight discrimination device, control method thereof, control program, and imaging device

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