KR20210063207A - apparatus and method for image processing - Google Patents

apparatus and method for image processing Download PDF

Info

Publication number
KR20210063207A
KR20210063207A KR1020200094365A KR20200094365A KR20210063207A KR 20210063207 A KR20210063207 A KR 20210063207A KR 1020200094365 A KR1020200094365 A KR 1020200094365A KR 20200094365 A KR20200094365 A KR 20200094365A KR 20210063207 A KR20210063207 A KR 20210063207A
Authority
KR
South Korea
Prior art keywords
luminance
image
luminance information
value
image signal
Prior art date
Application number
KR1020200094365A
Other languages
Korean (ko)
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 US17/009,639 priority Critical patent/US11659141B2/en
Publication of KR20210063207A publication Critical patent/KR20210063207A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • H04N5/243
    • 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)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention relates to a video processing apparatus to increase a video data transmission compression rate and a video processing method thereof. According to an embodiment of the present invention, the video processing apparatus comprises: an area comparison unit receiving first luminance information corresponding to a first video signal and second luminance information corresponding to a second video signal, and generating third luminance information by using the first luminance information and the second luminance information; an area determination unit calculating a brightness value of the first video signal by using the first luminance information; a reliability determination unit calculating a reliability determination value of the first video signal by using the first luminance information; an extraction unit generating a luminance correction threshold of the first video signal by using the brightness level value of the first video signal output from the area determination unit and the reliability determination value of the first video signal output from the reliability determination unit; and an interpolation unit outputting corrected luminance information for the first luminance information by using the luminance correction threshold and the third luminance information.

Description

영상 처리 장치 및 방법{apparatus and method for image processing}Image processing apparatus and method {apparatus and method for image processing}

본 발명의 실시예는 감시 카메라 시스템에 관한 것으로, 보다 구체적으로는, 감시 카메라 시스템에 적용되는 영상 처리 장치 및 방법에 관한 것이다. An embodiment of the present invention relates to a surveillance camera system, and more particularly, to an image processing apparatus and method applied to a surveillance camera system.

최근에는 방범, 보안, 매장 관리 등 다양한 목적으로 건물 내부나 외부, 길거리 등에 감시 카메라 시스템이 설치되는 것이 일반적이다. 이와 같은 감시 카메라 시스템은 복수개의 카메라들이 유선 또는 무선으로 네트워크를 통하여 서로 연결되어 네트워크 카메라로서의 기능을 수행할 수 있다.In recent years, it is common to install a surveillance camera system inside or outside a building, on the street, etc. Such a surveillance camera system may perform a function as a network camera by connecting a plurality of cameras to each other through a network by wire or wirelessly.

상기 감시 카메라에서 촬영된 영상 데이터를 전송함에 있어, 상기 영상 데이터의 전송량을 줄이기 위해 다양한 기법의 압축 기술이 사용될 수 있다. 일 예로, 전송되는 영상 데이터를 복수의 블록들로 구분하여 상기 블록들 중 다양한 움직임이 많은 영역이 포함된 블록은 압축률을 줄이고, 반대로 움직임이 적은 영역이 포함된 블록은 압축률을 높임으로써, 전송 압축률을 극대화 하는 방법이 이용될 수 있다.In transmitting the image data captured by the surveillance camera, various compression techniques may be used to reduce the amount of image data transmitted. For example, by dividing transmitted image data into a plurality of blocks, a block including a region with a lot of various motions among the blocks decreases the compression rate, and conversely, by increasing the compression rate for a block including a region with low motion, the transmission compression rate A method of maximizing the

또한, 상기 네트워크 기반의 감시 카메라 시스템에 사용되는 감시 카메라는 24시간 가동해야 하는 경우가 대부분이므로 어두운 곳 혹은 야간과 같은 저조도 환경에서도 일정 이상 품질의 영상을 생성해야 하나, 저조도 환경에서는 영상에 노이즈가 발생할 가능성이 높다. 상기 영상 데이터의 품질을 향상시키기 위한 방법으로 영상의 변화량이 높은 부분(블록)의 휘도를 부스팅시키는 방법이 사용될 수 있으나, 이와 같은 영상 품질 개선 방법은 앞서 언급한 전송 압축률 등을 고려하지 않는다는 문제가 있다.In addition, since most of the surveillance cameras used in the network-based surveillance camera system need to be operated 24 hours a day, it is necessary to generate an image of a higher quality even in a low-light environment such as a dark place or at night, but in a low-light environment, there is noise in the image. likely to occur As a method for improving the quality of the image data, a method of boosting the luminance of a portion (block) with a high amount of change of an image may be used. However, such an image quality improvement method does not take into account the aforementioned transmission compression ratio. have.

따라서, 저조도 영역을 포함하는 블록이 부스팅될 경우 눈에 보이지 않는 저조도 노이즈도 부스팅될 수 있고, 이는 결과적으로 압축률을 저하시키거나 영상의 품질을 떨어뜨리는 문제를 야기할 수 있다. Accordingly, when the block including the low illuminance region is boosted, invisible low illuminance noise may also be boosted, which may result in a problem of lowering the compression rate or image quality.

본 발명의 실시예는 감시 카메라 시스템에 적용되는 영상 처리 장치 및 방법에 있어서, 원본 영상 데이터의 손실을 줄이면서, 저조도 노이즈에 적용될 수 있는 부스팅 현상을 억제하여 영상 데이터 전송 압축률을 높일 수 있는 영상 처리 장치 및 방법을 제공함을 그 목적으로 한다. In an image processing apparatus and method applied to a surveillance camera system, an embodiment of the present invention provides image processing capable of increasing image data transmission compression rate by suppressing a boosting phenomenon applicable to low-illuminance noise while reducing loss of original image data It is an object of the present invention to provide an apparatus and method.

상기 목적을 달성하기 위하여 본 발명의 실시예에 의한 영상 처리 장치는, 제1 영상신호에 대응하는 제1 휘도 정보 및 제2 영상신호에 대응하는 제2 휘도 정보를 수신하고, 상기 제1 휘도 정보 및 제2 휘도 정보를 이용하여 제3 휘도 정보를 생성하는 영역 비교부; 상기 제1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 밝기 정도 값을 산출하는 영역 판단부; 상기 제 1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 신뢰도 판단값을 산출하는 신뢰도 판단부; 상기 영역 판단부에서 출력되는 제1 영상신호의 밝기 정도 값 및 상기 신뢰도 판단부에서 출력되는 제1 영상신호의 신뢰도 판단값을 이용하여 상기 제1 영상신호의 휘도 보정 문턱값을 생성하는 추출부; 및 상기 휘도 보정 문턱값 및 상기 제3 휘도 정보를 이용하여 상기 제1 휘도 정보에 대한 보정된 휘도 정보를 출력하는 보간부를 포함한다.In order to achieve the above object, an image processing apparatus according to an embodiment of the present invention receives first luminance information corresponding to a first image signal and second luminance information corresponding to a second image signal, and the first luminance information and a region comparison unit generating third luminance information by using the second luminance information. an area determination unit calculating a brightness level value of the first image signal by using the first brightness information; a reliability determination unit for calculating a reliability determination value for the first image signal by using the first luminance information; an extractor configured to generate a luminance correction threshold value of the first image signal using the brightness level value of the first image signal output from the area determination unit and the reliability determination value of the first image signal output from the reliability determination unit; and an interpolator outputting corrected luminance information for the first luminance information using the luminance correction threshold and the third luminance information.

상기 제1 영상신호는 수신되는 한 프레임의 영상 신호들 중 제1 이미지 블록의 원 영상 신호이고, 상기 제2 영상신호는 필터에 의해 필터링된 상기 제1 이미지 블록의 영상 신호일 수 있다.The first image signal may be an original image signal of a first image block among received image signals of one frame, and the second image signal may be an image signal of the first image block filtered by a filter.

상기 제1 이미지 블록은 단일 픽셀로 구현되거나 또는 복수의 픽셀들을 포함하는 소정의 영역으로 구현될 수 있다.The first image block may be implemented as a single pixel or as a predetermined area including a plurality of pixels.

상기 필터는 밴드패스 필터로 구현될 수 있다.The filter may be implemented as a bandpass filter.

상기 영역 비교부는 하기 수학식 1을 통해 상기 제3 휘도 정보(Ic)를 생성할 수 있다.The region comparator may generate the third luminance information Ic through Equation 1 below.

[수학식 1][Equation 1]

If IE > Imax Ic = ImaxIf I E > Imax Ic = Imax

Elseif IE < Imin Ic = IminElseif I E < Imin Ic = Imin

Else Ic = IE Else Ic = I E

(IE: 제2 휘도 정보, Imax: 제1 영상신호를 포함한 이미지 블록들의 휘도 최대값, Imin: 제1 영상신호를 포함한 이미지 블록들의 휘도 최소값, IC: 제3 휘도 정보).(I E : second luminance information, Imax: maximum luminance value of image blocks including the first image signal, Imin: minimum luminance value of image blocks including the first image signal, I C : third luminance information).

상기 영역 판단부에서 산출되는 밝기 정도 값은 상기 제1 이미지 블록의 평균 휘도값일 수 있다.The brightness level value calculated by the area determination unit may be an average brightness value of the first image block.

상기 신뢰도 판단부에서 산출되는 신뢰도 판단값은 상기 제1 이미지 블록의 휘도와 그 주변의 픽셀들의 휘도를 비교한 결과에 대응하며, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 적을수록 낮은 신뢰도 판단값이 산출되고, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 높은 신뢰도 판단값이 산출될 수 있다.The reliability determination value calculated by the reliability determination unit corresponds to a result of comparing the luminance of the first image block with the luminance of neighboring pixels, and indicates that the difference between the luminance of the first image block and the luminance with the neighboring pixels is small. A lower reliability determination value may be calculated, and a higher reliability determination value may be calculated as the difference between the luminance of the first image block and the luminance of neighboring pixels is greater.

상기 추출부는 하기 수학식 4을 통해 상기 휘도 보정 문턱값(Th(x))을 산출하며,The extractor calculates the luminance correction threshold Th(x) through Equation 4 below,

[수학식 4][Equation 4]

Th(x) = n(x)

Figure pat00001
Figure pat00002
Th(x) = n(x)
Figure pat00001
Figure pat00002

(Yavg: 영역 판단부에서 산출되는 밝기 정도 값, n(x): 상기 신뢰도 판단부에 의해 산출되는 신뢰도 판단값, k: 임의의 상수)(Y avg : brightness value calculated by the area determination unit, n(x): reliability determination value calculated by the reliability determination unit, k: arbitrary constant)

상기 휘도 보정 문턱값(Th(x))은 0보다 크고 1보다 작은 범위에 포함될 수 있다.The luminance correction threshold Th(x) may be included in a range greater than 0 and less than 1.

상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 상기 제1 이미지 블록은 노이즈로 판단되며, 이 경우 상기 휘도 보정 문턱값은 1에 가까운 높은 값으로 산출될 수 있다.As the difference between the luminance of the first image block and the luminance of the surrounding pixels increases, the first image block is determined as noise. In this case, the luminance correction threshold may be calculated as a high value close to 1.

상기 보간부는 하기 수학식 5를 통해 상기 제1 휘도 정보(Yin)에 대한 보정된 휘도 정보(Yout)를 산출할 수 있다.The interpolator may calculate the corrected luminance information Y out with respect to the first luminance information Y in through Equation 5 below.

[수학식 5][Equation 5]

Yout = Ic * Th(x) + IE*(1-Th(x))Yout = Ic * Th(x) + I E *(1-Th(x))

(IC: 제3 휘도 정보, Th(x): 휘도 보정 문턱값, IE: 제2 휘도 정보)(I C : third luminance information, Th(x): luminance correction threshold, I E : second luminance information)

본 발명의 다른 실시예에 의한 영상 처리 방법은, 제1 영상신호에 대응하는 제1 휘도 정보 및 제2 영상신호에 대응하는 제2 휘도 정보를 수신하고, 상기 제1 휘도 정보 및 제2 휘도 정보를 이용하여 제3 휘도 정보를 생성하는 단계; 상기 제1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 밝기 정도 값을 산출하는 단계; 상기 제 1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 신뢰도 판단값을 산출하는 단계; 상기 제1 영상신호의 밝기 정도 값 및 상기 제1 영상신호의 신뢰도 판단값을 이용하여 상기 제1 영상신호의 휘도 보정 문턱값을 생성하는 단계; 및 상기 휘도 보정 문턱값 및 상기 제3 휘도 정보를 이용하여 상기 제1 휘도 정보에 대한 보정된 휘도 정보를 출력하는 단계를 포함한다.An image processing method according to another embodiment of the present invention includes receiving first luminance information corresponding to a first image signal and second luminance information corresponding to a second image signal, and the first luminance information and the second luminance information generating third luminance information using calculating a brightness level value for the first image signal using the first brightness information; calculating a reliability determination value for the first image signal by using the first luminance information; generating a luminance correction threshold value of the first image signal using a brightness level value of the first image signal and a reliability determination value of the first image signal; and outputting corrected luminance information for the first luminance information using the luminance correction threshold and the third luminance information.

상기 제1 영상신호는 수신되는 한 프레임의 영상 신호들 중 제1 이미지 블록의 원 영상 신호일 수 있다.The first image signal may be an original image signal of a first image block among the received image signals of one frame.

상기 제2 영상신호는 필터에 의해 필터링된 상기 제1 이미지 블록의 영상 신호일 수 있다.The second image signal may be an image signal of the first image block filtered by a filter.

상기 제1 이미지 블록은 단일 픽셀로 구현되거나 또는 복수의 픽셀들을 포함하는 소정의 영역으로 구현될 수 있다.The first image block may be implemented as a single pixel or as a predetermined area including a plurality of pixels.

상기 제3 휘도 정보(Ic)는 하기 수학식1을 통해 생성될 수 있다.The third luminance information Ic may be generated through Equation 1 below.

[수학식 1][Equation 1]

If IE > Imax Ic = ImaxIf I E > Imax Ic = Imax

Elseif IE < Imin Ic = IminElseif I E < Imin Ic = Imin

Else Ic = IE Else Ic = I E

(IE: 제2 휘도 정보, Imax: 제1 영상신호를 포함한 이미지 블록들의 휘도 최대값, Imin: 제1 영상신호를 포함한 이미지 블록들의 휘도 최소값, IC: 제3 휘도 정보).(I E : second luminance information, Imax: maximum luminance value of image blocks including the first image signal, Imin: minimum luminance value of image blocks including the first image signal, I C : third luminance information).

상기 밝기 정도 값은 상기 제1 이미지 블록의 평균 휘도값일 수 있다.The brightness level value may be an average brightness value of the first image block.

상기 신뢰도 판단값은 상기 제1 이미지 블록의 휘도와 그 주변의 픽셀들의 휘도를 비교한 결과에 대응하며, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 적을수록 낮은 신뢰도 판단값이 산출되고, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 높은 신뢰도 판단값이 산출될 수 있다.The reliability determination value corresponds to a result of comparing the luminance of the first image block with the luminance of surrounding pixels, and the smaller the difference between the luminance of the first image block and the luminance with neighboring pixels, the lower the reliability determination value. is calculated, and as the difference between the luminance of the first image block and the luminance of the surrounding pixels increases, a higher reliability determination value may be calculated.

상기 휘도 보정 문턱값(Th(x))은 하기 수학식4를 통해 산출되며,The luminance correction threshold Th(x) is calculated through Equation 4 below,

[수학식 4][Equation 4]

Th(x) = n(x)

Figure pat00003
Figure pat00004
Th(x) = n(x)
Figure pat00003
Figure pat00004

(Yavg: 영역 판단부에서 산출되는 밝기 정도 값, n(x): 상기 신뢰도 판단부에 의해 산출되는 신뢰도 판단값, k: 임의의 상수)(Y avg : brightness value calculated by the area determination unit, n(x): reliability determination value calculated by the reliability determination unit, k: arbitrary constant)

상기 휘도 보정 문턱값(Th(x))은 0보다 크고 1보다 작은 범위에 포함될 수 있다. The luminance correction threshold Th(x) may be included in a range greater than 0 and less than 1.

상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 상기 제1 이미지 블록은 노이즈로 판단되며, 이 경우 상기 휘도 보정 문턱값은 1에 가까운 높은 값으로 산출될 수 있다.As the difference between the luminance of the first image block and the luminance of the surrounding pixels increases, the first image block is determined as noise. In this case, the luminance correction threshold may be calculated as a high value close to 1.

상기 제1 휘도 정보(Yin)에 대한 보정된 휘도 정보(Yout)는 하기 수학식5를 통해 산출될 수 있다. The corrected luminance information Y out with respect to the first luminance information Y in may be calculated through Equation 5 below.

[수학식 5][Equation 5]

Yout = Ic * Th(x) + IE*(1-Th(x))Yout = Ic * Th(x) + I E *(1-Th(x))

(IC: 제3 휘도 정보, Th(x): 휘도 보정 문턱값, IE: 제2 휘도 정보)(I C : third luminance information, Th(x): luminance correction threshold, I E : second luminance information)

이와 같은 본 발명의 실시예에 의하면, 원본 영상 데이터의 손실을 줄이면서, 저조도 노이즈에 적용될 수 있는 부스팅 현상을 억제하여 영상 데이터 전송 압축률을 높일 수 있다. According to this embodiment of the present invention, it is possible to reduce the loss of original image data and suppress a boosting phenomenon that can be applied to low-illuminance noise to increase the image data transmission compression rate.

도 1은 본 발명의 실시예에 의한 감시 카메라 시스템의 구성을 개략적으로 나타내는 블록도.
도 2는 본 발명의 실시예에 의한 영상 처리 장치의 구성을 나타내는 블록도.
도 3은 본 발명의 실시예에 의한 영상 처리에 의해 생성된 영상 이미지의 일 예를 설명하는 도면.
도 4는 도 2의 영상 처리기의 구성을 나타내는 블록도.
도 5는 본 발명의 실시예에 의한 영상 처리 방법을 나타내는 순서도.
1 is a block diagram schematically showing the configuration of a surveillance camera system according to an embodiment of the present invention.
2 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention;
3 is a view for explaining an example of a video image generated by image processing according to an embodiment of the present invention;
4 is a block diagram illustrating the configuration of the image processor of FIG. 2 ;
5 is a flowchart illustrating an image processing method according to an embodiment of the present invention.

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

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

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

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

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

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

즉, 도시된 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하며, 또한 그 블록들이 필요에 따라 해당하는 기능의 역순으로 수행되는 것도 가능하다.That is, the two illustrated blocks may be substantially simultaneously performed, and also, the blocks may be performed in the reverse order of the corresponding functions, if necessary.

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

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

도 1은 본 발명의 실시예에 의한 감시 카메라 시스템의 구성을 개략적으로 나타내는 블록도이다.1 is a block diagram schematically showing the configuration of a surveillance camera system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시예에 의한 감시 카메라 시스템은, 네트워크 카메라(10), 게이트웨이(20), 및 네트워크(30)를 포함할 수 있다. 도 1에서는 설명의 편의를 위하여 하나의 네트워크 카메라(10)가 도시되어 있으나, 상기 네트워크 카메라(10)가 복수 개로 구현될 수 있음은 당업자에게 자명하다. Referring to FIG. 1 , a surveillance camera system according to an embodiment of the present invention may include a network camera 10 , a gateway 20 , and a network 30 . Although one network camera 10 is illustrated in FIG. 1 for convenience of description, it is apparent to those skilled in the art that a plurality of network cameras 10 may be implemented.

감시 카메라 시스템은, 게이트웨이(20)에서 수집된 네트워크 카메라(10)의 정보가 네트워크(30)를 통해 서버로 전송되는 구성을 제공할 수 있으며, 이에 관리자는 모니터 단말을 이용하여 서버에 전송된 정보를 모니터링할 수 있다. The surveillance camera system may provide a configuration in which the information of the network camera 10 collected by the gateway 20 is transmitted to the server through the network 30, whereby the administrator uses the monitor terminal to transmit the information to the server can be monitored.

네트워크 카메라(10)는 감시 영역을 촬영하여 감시 영역에 대한 영상을 획득하는 것으로, 이는 감시 또는 보안의 목적으로 감시 영역을 실시간으로 촬영할 수 있다. The network camera 10 captures the surveillance area to obtain an image of the surveillance area, which may capture the surveillance area in real time for the purpose of monitoring or security.

네트워크 카메라(10)는 패닝(panning)과 틸팅(tilting)이 가능하며 렌즈의 줌배율이 조절 가능한 PTZ 카메라일 수 있다. 일 예로, 상기 네트워크 카메라(10)는 180도 이상의 화각을 가지는 어안 카메라(fisheye camera)일 수 있다. 어안 카메라에서 촬영된 영상은 광각 영상으로서 다양한 왜곡을 가질 수 있다. The network camera 10 may be a PTZ camera capable of panning and tilting and adjustable zoom magnification of a lens. For example, the network camera 10 may be a fisheye camera having an angle of view of 180 degrees or more. An image captured by a fisheye camera may have various distortions as a wide-angle image.

또한, 네트워크 카메라(10)는 배터리로 구동되는 저전력 카메라일 수 있다. 저전력 카메라는 평상시 슬립 모드(sleep mode)를 유지하고, 주기적으로 깨어나(wake up) 이벤트가 발생하였는지 여부를 체크한다. 저전력 카메라는 이벤트가 발생한 경우 액티브 모드(active mode)로 전환되고, 이벤트가 발생하지 않은 경우 다시 슬립 모드로 복귀한다. 이와 같이, 저전력 카메라는 이벤트가 발생한 경우에만 액티브 모드를 유지함으로써 전력 소모를 줄일 수 있다. Also, the network camera 10 may be a battery-powered, low-power camera. The low-power camera normally maintains a sleep mode, and periodically wakes up to check whether an event has occurred. The low-power camera switches to an active mode when an event occurs, and returns to a sleep mode when an event does not occur. As such, the low-power camera can reduce power consumption by maintaining the active mode only when an event occurs.

네트워크 카메라(10)는 유무선 LAN(Local Area Network), 와이파이(Wi-Fi), 지그비(ZigBee), 블루투스(Bluetooth), 근거리 통신(Near Field Communication) 등 다양한 통신 방식을 이용하여 게이트웨이(20)와 통신할 수 있다. 예를 들면, 네트워크 카메라(10)는 ISM 대역(Industrial Scientific Medical band)의 무선 주파수(Radio Frequency)를 사용하는 저전력 무선 통신 프로토콜에 따라 게이트웨이(20)와 통신할 수 있다. The network camera 10 communicates with the gateway 20 using various communication methods such as wired/wireless Local Area Network (LAN), Wi-Fi, ZigBee, Bluetooth, and Near Field Communication. can communicate. For example, the network camera 10 may communicate with the gateway 20 according to a low-power wireless communication protocol using a radio frequency of an industrial scientific medical band (ISM).

게이트웨이(20)는 네트워크 카메라(10)로부터 전송된 정보에 기초하여 네트워크 카메라(10)의 상태를 인식할 수 있고, 인식된 네트워크 카메라(10)의 상태에 따라 다른 네트워크 카메라(10) 또는 서버에 명령 또는 알람을 전송할 수 있다. 게이트웨이(20)는 이더넷(Ethernet), 와이파이, 블루투스 등 다양한 유무선 통신 방식을 이용하여 서버에 정보를 전송할 수도 있고, 서버로부터 명령을 수신할 수도 있다. 네트워크(30)는 유선 네트워크 또는 무선 네트워크를 포함할 수 있다. 무선 네트워크는 2G(Generation) 또는 3G 셀룰러 통신 시스템, 3GPP(3rd Generation Partnership Project), 4G 통신 시스템, LTE(Long-Term Evolution), WiMAX(World Interoperability for Microwave Access) 등이 될 수 있다. The gateway 20 may recognize the state of the network camera 10 based on the information transmitted from the network camera 10 , and according to the recognized state of the network camera 10 , the gateway 20 may send information to another network camera 10 or a server according to the recognized state of the network camera 10 . Commands or alarms can be sent. The gateway 20 may transmit information to the server using various wired/wireless communication methods such as Ethernet, Wi-Fi, and Bluetooth, and may receive commands from the server. The network 30 may include a wired network or a wireless network. The wireless network may be a 2G (Generation) or 3G cellular communication system, a 3rd Generation Partnership Project (3GPP), a 4G communication system, Long-Term Evolution (LTE), World Interoperability for Microwave Access (WiMAX), or the like.

도 2는 본 발명의 실시예에 의한 영상 처리 장치의 구성을 나타내는 블록도이고, 도 3은 본 발명의 실시예에 의한 영상 처리에 의해 생성된 영상 이미지의 일 예를 설명하는 도면이다.FIG. 2 is a block diagram illustrating the configuration of an image processing apparatus according to an embodiment of the present invention, and FIG. 3 is a diagram for explaining an example of a video image generated by image processing according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 실시예에 의한 영상 처리 장치(100)는, 영상 수신기(110, image receiver), 영상 처리기(130, image processor), 인코더(150, encoder), 및 영상 송신기(170, image transmitter)를 포함할 수 있다.Referring to FIG. 2 , an image processing apparatus 100 according to an embodiment of the present invention includes an image receiver 110 , an image processor 130 , an encoder 150 , and an image transmitter ( 170, image transmitter).

상기 영상 처리 장치(100)는 도 1에 도시된 네트워크 카메라(10) 또는 게이트웨이(20)에 포함될 수 있으나, 본 발명의 실시예가 이에 한정되는 것은 아니다. The image processing apparatus 100 may be included in the network camera 10 or the gateway 20 shown in FIG. 1 , but the embodiment of the present invention is not limited thereto.

영상 수신기(110)는 네트워크 카메라(10)에 구비된 카메라 모듈(예: 렌즈 어셈블리)로부터 영상 데이터를 수신한다. 일 예로, 상기 영상 수신기(110)는 CCD(charge-coupled device) 모듈, CMOS(complementary metal-oxide-semiconductor) 모듈 등과 같은 카메라 모듈일 수 있다. 또한, 상기 영상 수신기(110)는 상기 네트워크 카메라(10)로부터 영상을 수신하는 통신 인터페이스일 수 있다. 이 때, 상기 영상 수신기(110)를 통해 수신되는 영상 데이터는 복수의 이미지 블록들을 포함하는 한 프레임의 영상 신호일 수 있다. The image receiver 110 receives image data from a camera module (eg, a lens assembly) included in the network camera 10 . For example, the image receiver 110 may be a camera module such as a charge-coupled device (CCD) module or a complementary metal-oxide-semiconductor (CMOS) module. Also, the image receiver 110 may be a communication interface for receiving an image from the network camera 10 . In this case, the image data received through the image receiver 110 may be an image signal of one frame including a plurality of image blocks.

영상 처리기(130)는 상기 카메라 모듈로부터 수신한 영상 데이터를 처리하고, 처리된 영상 데이터를 인코더(150)에 전송할 수 있다. 본 발명의 실시예의 경우, 상기 영상 처리기(130)는 영상 수신기(110)를 통해 수신한 영상 신호의 에지를 강조할 수 있다. 이 때, 상기 수신한 영상 신호의 에지는 한 프레임의 영상 이미지에 표시된 물체의 모서리 부분을 의미할 수 있다. 본 발명의 실시예는 한 프레임 영상의 에지를 강조하기 위해 즉, 상기 물체의 모서리 부분을 강조하기 위하여 영상의 밝기 변화가 큰 영역의 휘도를 부스팅하는 기법(샤프닝, Sharpening)을 적용할 수 있다. The image processor 130 may process the image data received from the camera module and transmit the processed image data to the encoder 150 . In an embodiment of the present invention, the image processor 130 may emphasize the edge of the image signal received through the image receiver 110 . In this case, the edge of the received video signal may mean a corner portion of the object displayed in the video image of one frame. In an embodiment of the present invention, a technique of boosting the luminance of a region having a large change in brightness of an image (shaping) may be applied to emphasize the edge of one frame image, that is, to emphasize the edge of the object.

이와 같은 샤프닝 기법은 밴드패스 필터(bandpass filter)와 영상 이미지의 블록별 휘도 정보를 이용할 수 있다. 상기 밴드패스 필터는 하이패스(high pass) 필터와 로우패스(lowpass) 필터를 조합하여 구현될 수 있다. 영상 데이터 중 고주파 영상 데이터는 한 프레임의 영상 신호 중 밝기가 낮은 값에서 높은 값으로 또는 높은 값에서 낮은 값으로 변하는 영역에 대응하는 영상 데이터를 의미하며, 이와 반대로 저주파 영상 데이터는 한 프레임의 영상 신호 중 밝기 변호가 없는 영역에 대응하는 영상 데이터를 의미한다. 따라서, 상기 밴드패스 필터를 샤프닝 기법은 휘도의 변화량이 높은 영역을 부스팅하고 노이즈를 줄여 시각적으로 선명한 영상을 얻는 기법을 말하는 것이다.Such a sharpening technique may use a bandpass filter and luminance information for each block of the video image. The bandpass filter may be implemented by combining a high pass filter and a lowpass filter. Among the image data, high-frequency image data means image data corresponding to a region in which the brightness changes from a low value to a high value or from a high value to a low value among the image signals of one frame. Conversely, the low-frequency image data refers to the image signal of one frame. It means image data corresponding to an area in which there is no brightness change. Accordingly, the bandpass filter sharpening technique refers to a technique for boosting a region with a high luminance variation and reducing noise to obtain a visually clear image.

도 3(a)는 샤프닝 기법이 적용되기 전의 영상 데이터를 표시하는 한 프레임의 영상 이미지를 나타내고, 도 3(b)는 샤프닝 기법이 적용된 후의 영상 데이터를 표시하는 한 프레임의 영상 이미지를 나타낸다.FIG. 3(a) shows a video image of one frame that displays image data before the sharpening technique is applied, and FIG. 3(b) shows a video image of one frame that displays image data after the sharpening technique is applied.

또한, 도 3(b)의 제1 이미지 블록(A)은 저휘도의 영상 데이터가 표시되는 영역을 포함한 블록이고, 제2 이미지 블록(B)은 고주파 영역 즉, 휘도의 변화량이 높은 영역의 영상 데이터가 표시되는 영역을 포함한 블록이며, 제3 이미지 블록(C)은 고휘도의 영상 데이터가 표시되는 영역을 포함한 블록이다. In addition, the first image block (A) of FIG. 3(b) is a block including a region in which image data of low luminance is displayed, and the second image block (B) is an image of a high-frequency region, that is, a region with a high luminance change. A block including an area in which data is displayed, and the third image block C is a block including an area in which high luminance image data is displayed.

도 3(a) 및 도 3(b)를 참조하면, 상기 샤프닝 기법을 적용함으로써 한 프레임의 영상 이미지에 표시된 물체의 모서리 부분 즉, 휘도 변화량이 높은 고주파 영역(예: 제2 이미지 블록(B))의 휘도가 부스팅된 결과를 확인할 수 있다.Referring to FIGS. 3A and 3B , by applying the sharpening technique, a corner of an object displayed in a video image of one frame, that is, a high-frequency region with a high luminance change (eg, a second image block (B)) ), you can see the boosted result.

인코더(150)는 영상 처리기(130)를 통해 처리된 영상을 압축할 수 있다. 일 예로, 상기 인코더(150)에 의한 영상 압축은 이전 영상 프레임의 이미지와 비교하여 움직임이 많은 동적인 영역을 포함하는 제1 블록들과 움직임의 변화가 없는 정적인 영역을 포함하는 제2 블록들로 구분한 뒤, 상기 제1 블록들에 대응하는 영상 데이터의 압축률은 줄이고, 제2 블록들에 대응하는 영상 데이터의 압축률을 높여 화질 열화를 최소화하는 기법을 사용할 수 있다. 그리고, 인코더(150)는 압축된 영상을 영상 송신기(170)에 전달한다. The encoder 150 may compress the image processed through the image processor 130 . For example, the image compression by the encoder 150 includes first blocks including a dynamic region with a large amount of motion compared to an image of a previous image frame, and second blocks including a static region with no change in motion. After dividing into , a technique for minimizing image quality deterioration by reducing the compression ratio of the image data corresponding to the first blocks and increasing the compression ratio of the image data corresponding to the second blocks may be used. Then, the encoder 150 transmits the compressed image to the image transmitter 170 .

영상 송신기(170)는 압축된 영상을 외부로 송신한다. 영상 송신기(170)는 압축된 영상을 게이트웨이(20) 또는 네트워크(30)로 송신할 수 있다. The image transmitter 170 transmits the compressed image to the outside. The image transmitter 170 may transmit the compressed image to the gateway 20 or the network 30 .

본 발명의 실시예에 의한 영상 처리 장치(100)는 도 1의 네트워크 카메라(10)에 포함되거나 또는 도 1의 네트워크 카메라(10)와는 별도의 장치로 구현될 수도 있다. 본 발명의 실시예에 의한 영상 처리 장치(100)에 포함된 구성 중 일부는 도 1의 네트워크 카메라(10)에 설치되고, 나머지 일부는 도 1의 네트워크 카메라(10)와는 별도의 장치에 설치될 수도 있다.The image processing apparatus 100 according to the embodiment of the present invention may be included in the network camera 10 of FIG. 1 or may be implemented as a device separate from the network camera 10 of FIG. 1 . Some of the components included in the image processing apparatus 100 according to the embodiment of the present invention are installed in the network camera 10 of FIG. 1 , and the remaining parts are installed in a device separate from the network camera 10 of FIG. 1 . may be

상기 영상 처리기(130)에 의한 샤프닝 기법이 상기 인코더(150)에 의한 압축 기법을 고려하지 않을 경우, 저조도 영역을 포함하는 블록, 일 예로 도 3(b)의 제1 이미지 블록(A)에 대응하는 영상 데이터들 또는 도 3(b)의 제2 이미지 블록(B) 중 일부 저조도 영역에 대응하는 영상 데이터들의 휘도 값이 부스팅될 경우 눈에 보이지 않는 저조도 노이즈도 부스팅될 수 있고, 이는 결과적으로 압축률을 저하시키거나 영상의 품질을 떨어뜨리는 문제를 야기할 수 있다.When the sharpening technique by the image processor 130 does not consider the compression technique by the encoder 150, it corresponds to a block including a low illuminance region, for example, the first image block A of FIG. 3(b). When the luminance values of the image data corresponding to the image data or the image data corresponding to some of the low-illuminance regions of the second image block B of FIG. 3(b) are boosted, invisible low-illuminance noise may also be boosted, which results in a compression ratio It may cause a problem of lowering the image quality or lowering the image quality.

보다 구체적으로, 상기 샤프닝 기법을 적용하면 한 프레임 영상에 표시된 물체의 모서리 부분 즉, 고주파 영역인 제2 이미지 블록(B)의 휘도가 부스팅되는데, 이 경우 상기 제2 이미지 블록(B) 중 저조도 영역에 대응하는 영상 데이터들에 포함된 저조도 노이즈 역시 부스팅될 수 있다. 이 때, 상기 제2 이미지 블록(B)이 상기 인코더(150)에 의해 동적인 영역을 포함하는 제1 블록에 해당하게 되면 낮은 데이터 압축률이 적용되는데, 이 경우 상기 부스팅된 저조도 노이즈에도 낮은 데이터 압축률이 적용되어 영상의 품질이 저하되는 문제가 발생될 수 있다. 본 발명의 실시예는 이와 같은 문제점을 극복하기 위하여 고안된 것으로서, 원본 영상 데이터의 손실을 줄이면서, 저조도 노이즈에 적용될 수 있는 부스팅 현상을 억제하여 영상 데이터 전송 압축률을 높일 수 있음을 특징으로 한다. More specifically, when the sharpening technique is applied, the luminance of the second image block B, which is the high-frequency region, is boosted at the edge of the object displayed in one frame image. In this case, the low-illuminance region of the second image block B is boosted. Low-illuminance noise included in image data corresponding to may also be boosted. At this time, when the second image block B corresponds to the first block including a dynamic region by the encoder 150, a low data compression rate is applied. In this case, a low data compression rate even with the boosted low-illuminance noise This may cause a problem in that the quality of the image is deteriorated. The embodiment of the present invention is devised to overcome such a problem, and is characterized in that it is possible to increase the compression rate of image data transmission by reducing the loss of original image data and suppressing a boosting phenomenon that can be applied to low-illuminance noise.

도 4는 도 2의 영상 처리기의 구성을 나타내는 블록도이다.4 is a block diagram illustrating the configuration of the image processor of FIG. 2 .

상기 영상 처리기(130)는 프로세서로 구현될 수 있으며, 상기 프로세서는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리 또는 통신모듈에 의해 상기 프로세서로 제공될 수 있다. 일 예로, 프로세서는 메모리와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다. The image processor 130 may be implemented as a processor, and the processor may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input/output operations. Instructions may be provided to the processor by a memory or communication module. As an example, the processor may be configured to execute a received instruction according to a program code stored in a recording device such as a memory.

도 4를 참조하면, 상기 영상 처리기(130)는 영역 비교부(132), 영역 판단부(134), 신뢰도 판단부(136), 추출부(138) 및 보간부(139)를 포함할 수 있다. 이 때, 프로세서로 구현되는 영상 처리기(130) 내의 구성요소들 즉, 영역 비교부(132), 영역 판단부(134), 신뢰도 판단부(136), 추출부(138) 및 보간부(139)는 영상 처리 장치(100)에 저장된 프로그램 코드가 제공하는 제어 명령에 의해 상기 영상 처리기(130)에서 수행되는 서로 다른 기능들을 구분하여 표현하는 것으로 이해할 수도 있다. Referring to FIG. 4 , the image processor 130 may include a region comparator 132 , a region determiner 134 , a reliability determiner 136 , an extractor 138 , and an interpolator 139 . . At this time, the components in the image processor 130 implemented as a processor, that is, the region comparator 132 , the region determiner 134 , the reliability determiner 136 , the extractor 138 , and the interpolator 139 . It may be understood that different functions performed by the image processor 130 are distinguished and expressed according to a control command provided by a program code stored in the image processing apparatus 100 .

보다 구체적으로, 영역 비교부(132)는 상기 영상 수신기(110)를 통해 수신되는 영상 신호들 중 제1 영상신호에 대응하는 제1 휘도 정보(Yin) 및 제2 영상신호에 대응하는 제2 휘도 정보(IE)를 수신하고, 상기 제1 휘도 정보 및 제2 휘도 정보를 이용하여 제3 휘도 정보(IC)를 생성하는 동작을 수행할 수 있다. 일 예로, 상기 제1 영상신호는 수신되는 한 프레임의 영상 신호들 중 제1 이미지 블록의 원 영상 신호일 수 있고, 상기 제2 영상신호는 필터링된 제1 영상신호 즉, 필터(131)를 통해 필터링된 상기 제1 이미지 블록의 영상 신호일 수 있다. 또한, 상기 제3 휘도 정보는 상기 제1 및 제2 휘도 정보를 이용하여 생성된 상기 제1 이미지 블록에 대응하는 휘도 정보일 수 있다. More specifically, the region comparator 132 may include a first luminance information Y in corresponding to a first image signal and a second luminance information Y in corresponding to a second image signal among the image signals received through the image receiver 110 . An operation of receiving the luminance information I E and generating the third luminance information I C by using the first luminance information and the second luminance information may be performed. For example, the first image signal may be an original image signal of a first image block among received image signals of one frame, and the second image signal is filtered through the filtered first image signal, that is, the filter 131 . It may be an image signal of the first image block. Also, the third luminance information may be luminance information corresponding to the first image block generated using the first and second luminance information.

영역 판단부(134)는 상기 제1 휘도 정보를 통해 상기 제1 영상신호에 대응하는 상기 제1 이미지 블록의 밝기 정도(Yavg) 값을 산출하는 동작을 수행하며, 상기 신뢰도 판단부(136)는 상기 제1 휘도 정보를 이용하여 상기 제1 영상신호에 대응하는 제1 이미지 블록에 대한 신뢰도 판단값(n(x))을 산출하는 동작을 수행할 수 있다. The area determination unit 134 calculates a value of the brightness degree (Y avg ) of the first image block corresponding to the first image signal through the first luminance information, and the reliability determination unit 136 . may perform an operation of calculating a reliability determination value n(x) for the first image block corresponding to the first image signal by using the first luminance information.

또한, 추출부(138)는 상기 제1 이미지 블록의 밝기 정도 및 신뢰도 판단값(n(x))을 이용하여 휘도 보정 문턱값(Th(x))을 생성하는 동작을 수행할 수 있으며, 상기 보간부(139)는 상기 휘도 보정 문턱값 및 상기 제3 휘도 정보를 이용하여 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 출력하는 동작을 수행할 수 있다. Also, the extractor 138 may perform an operation of generating a luminance correction threshold Th(x) using the brightness level and reliability determination value n(x) of the first image block, The interpolator 139 may output the corrected luminance information Y out corresponding to the first image block using the luminance correction threshold and the third luminance information.

이 때, 도 4에 도시된 필터(131)은 앞서 설명한 밴드패스 필터로 구현될 수 있다. 또한, 상기 제1 이미지 블록은 한 프레임을 구성하는 영상 신호들 중 적어도 하나의 픽셀을 포함하는 블록 영역일 수 있다. 일 예로, 상기 제1 이미지 블록은 단일 픽셀로 구현되거나, 복수의 픽셀들을 포함하는 소정의 영역으로 구현될 수도 있다. In this case, the filter 131 shown in FIG. 4 may be implemented as the aforementioned bandpass filter. Also, the first image block may be a block region including at least one pixel among image signals constituting one frame. For example, the first image block may be implemented as a single pixel or as a predetermined area including a plurality of pixels.

먼저 영역 비교부(132)의 동작을 설명하면 다음과 같다.First, the operation of the region comparison unit 132 will be described as follows.

앞서 언급한 바와 같이 영상 수신기(110)를 통해 수신되는 영상 데이터는 복수의 이미지 블록들을 포함하는 한 프레임의 영상 신호이고, 일반적으로 한 프레임의 영상 데이터에서 밝은 영역에 대응되는 이미지 블록들에서는 노이즈 발생이 비교적 적고, 어두운 영역에 대응되는 이미지 블록들에서는 노이즈가 발생하기 쉽다. As mentioned above, the image data received through the image receiver 110 is an image signal of one frame including a plurality of image blocks, and noise is generated in image blocks corresponding to bright areas in the image data of one frame in general. This is relatively small, and noise is likely to occur in image blocks corresponding to the dark region.

따라서, 밝은 영역에 대응되는 이미지 블록들에 대해서는 노이즈 발생이 적기 때문에 하이패스 필터를 적용시키는 것이 바람직하고, 어두운 영역에 대응되는 이미지 블록들에 대해서는 시각적으로 보이지 않더라도 노이즈들이 존재할 가능성이 높으므로 상기 하이패스 필터에 의해 노이즈가 부스팅되는 것을 최소화해야 한다. Therefore, it is preferable to apply a high-pass filter to image blocks corresponding to a bright area because noise is small, and to image blocks corresponding to a dark area, noises are highly likely to exist even though they are not visually visible. Noise boosting by the pass filter should be minimized.

이에 본 발명의 실시예에 의한 영상 처리기(130)는 일 예로 고주파 영역 (휘도 변화가 큰 영역)에서 강한 에지 부스팅으로 인해 야기되는 halo 현상을 제어하는 동작을 수행함을 특징으로 한다. Accordingly, the image processor 130 according to the embodiment of the present invention is characterized in that, for example, an operation of controlling a halo phenomenon caused by strong edge boosting is performed in a high frequency region (a region having a large luminance change).

영역 비교부(132)는 영상 수신기(110)를 통해 수신되는 영상 신호들 중 제1 이미지 블록의 원 영상 신호에 대응하는 제1 휘도 정보(Yin) 및 필터(131)를 통해 필터링된 상기 제1 이미지 블록의 영상 신호에 대응하는 제2 휘도 정보(IE)를 수신하고, 하기 수학식 1에 근거하여 제1 휘도 정보 및 제2 휘도 정보를 비교함으로써, 상기 제1 이미지 블록에 대응하는 제3 휘도 정보(IC)를 생성하는 동작을 수행한다. The region comparator 132 is configured to filter the first luminance information Y in corresponding to the original image signal of the first image block among the image signals received through the image receiver 110 and the filter 131 . The second luminance information I E corresponding to the image signal of the first image block is received, and the first luminance information and the second luminance information are compared based on the following Equation 1, whereby the first luminance information corresponding to the first image block is received. 3 An operation of generating the luminance information I C is performed.

Figure pat00005
Figure pat00005

수학식 1에서 I는 제1 이미지 블록의 휘도 정보로서, IE는 필터링된 상기 제1 이미지 블록에 대한 제2 휘도 정보(IE)이고, Imax는 제1 이미지 블록 또는 제1 이미지 블록를 포함한 인접한 이미지 블록들의 휘도 최대값이며, Imin는 제1 이미지 블록 또는 제1 이미지 블록를 포함한 인접한 이미지 블록들의 휘도 최소값을 의미한다. 또한, IC는 상기 수학식 1에 기반하여 영역 비교부(132)에 의해 출력되는 제1 이미지 블록의 제3 휘도 정보(IC)를 말한다.In Equation 1, I is the luminance information of the first image block, I E is the filtered second luminance information (I E ) for the first image block, and Imax is the first image block or an adjacent adjacent image block including the first image block. It is the maximum luminance value of the image blocks, and Imin means the minimum luminance value of the first image block or adjacent image blocks including the first image block. In addition, I C refers to the third luminance information I C of the first image block output by the area comparison unit 132 based on Equation 1 above.

상기 수학식1에 의하면, 상기 제1 이미지 블록은 필터(131)를 통해 생성된 제2 휘도 정보(IE)가 기 설정된 휘도 최대값(Imax)을 초과할 경우 영역 비교부(132)는 출력되는 휘도 정보를 상기 제2 휘도 정보(IE)가 아닌 휘도 최대값으로 설정한다. 또한, 상기 제1 이미지 블록은 필터(131)를 통해 생성된 제2 휘도 정보(IE)가 기 설정된 휘도 최소값(Imin) 미만인 경우 상기 영역 비교부(132)는 출력되는 휘도 정보를 상기 제2 휘도 정보(IE)가 아닌 휘도 최소값으로 설정한다. 결과적으로, 상기 영역 비교부(132)는 필터링된 제1 이미지 블록의 제2 휘도 정보(IE)의 최대 및 최소 한도를 설정함으로써, 상기 제2 휘도 정보(IE)가 필터에 의해 부스팅됨에 의해 야기되는 halo 현상을 제어할 수 있다. According to Equation 1, in the first image block, when the second luminance information I E generated through the filter 131 exceeds a preset maximum luminance value Imax, the area comparison unit 132 outputs The luminance information to be used is set as the maximum luminance value, not the second luminance information I E . In addition, in the first image block, when the second luminance information I E generated through the filter 131 is less than a preset minimum luminance value Imin, the area comparison unit 132 compares the output luminance information with the second luminance information. It is set to the minimum luminance value, not the luminance information I E . As a result, the region comparison unit 132 sets the maximum and minimum limits of the second luminance information I E of the filtered first image block, so that the second luminance information I E is boosted by the filter. It is possible to control the halo phenomenon caused by

영역 판단부(134)는 상기 제1 이미지 블록의 밝기 정도(Yavg)를 판단하는 동작을 수행할 수 있다.The area determination unit 134 may perform an operation of determining the brightness level Y avg of the first image block.

보다 구체적으로, 상기 영역 판단부(134)는 하기 수학식 2를 통해 제1 이미지 블록의 밝기 정도(Yavg) 값을 산출할 수 있다.More specifically, the area determining unit 134 may calculate the value of the brightness degree Y avg of the first image block through Equation 2 below.

Figure pat00006
Figure pat00006

상기 수학식 2는 제1 이미지 블록의 평균 휘도를 나타내는 것으로, 상기 제1 이미지 블록에 포함된 적어도 하나의 픽셀들에 대한 휘도값들의 평균값으로 상기 상기 제1 이미지 블록의 밝기 정도(Yavg) 값을 산출할 수 있다. 일 예로, 상기 제1 이미지 블록이 단일 픽셀로 구현되는 경우에는 상기 단일 픽셀의 휘도값이고, 상기 제1 이미지 블록이 복수의 픽셀들을 포함하는 소정의 영역인 경우에는 상기 복수 픽셀들에 대한 평균 휘도값이 될 수 있다. Equation 2 represents the average luminance of the first image block, and is an average value of luminance values of at least one pixel included in the first image block, and the brightness degree (Y avg ) value of the first image block can be calculated. For example, when the first image block is implemented as a single pixel, it is the luminance value of the single pixel, and when the first image block is a predetermined area including a plurality of pixels, the average luminance of the plurality of pixels can be a value.

신뢰도 판단부(136)는 상기 제1 이미지 블록의 유사도(Similarity)를 확인할 수 있는 신뢰도 판단값(n(x))을 산출하는 동작을 수행할 수 있다.The reliability determination unit 136 may perform an operation of calculating a reliability determination value n(x) capable of confirming the similarity of the first image block.

보다 구체적으로, 상기 신뢰도 판단부(136)에서 출력되는 신뢰도 판단값(n(x))은 하기 수학식 3을 통해 산출될 수 있으며, 이 때, 상기 제1 이미지 블록은 앞서 언급한 바와 같이 단일 픽셀로 구현될 수 있다. More specifically, the reliability determination value n(x) output from the reliability determination unit 136 may be calculated through Equation 3 below, and in this case, the first image block is a single image block as described above. It can be implemented with pixels.

Figure pat00007
Figure pat00007

상기 수학식3에 의하면, 상기 신뢰도 판단값(n(x))은 제1 이미지 블록(예: 특정 단일 픽셀)의 휘도(Y(x))와 그 주변의 픽셀들(Y(x-n))의 휘도를 비교한 결과에 대응하는 것으로, 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 적으면 유사도(Similarity)가 높은 것으로 판단하며, 이에 따른 상기 신뢰도 판단값(n(x))은 낮은 값으로 산출된다. According to Equation 3, the reliability determination value n(x) is the difference between the luminance Y(x) of the first image block (eg, a specific single pixel) and the surrounding pixels Y(xn). Corresponding to the result of comparing the luminance, if the difference between the luminance of the first image block and the luminance of the surrounding pixels is small, it is determined that the similarity is high, and the reliability judgment value n(x) according to this is determined is calculated as a low value.

반면에, 상기 제1 이미지 블록의 휘도(Y(x))와 그 주변의 픽셀들(Y(x-n))과의 휘도 차이가 클수록 유사도(Similarity)가 낮은 것으로 판단하며, 이에 따른 상기 신뢰도 판단값(n(x))은 높은 값으로 산출된다.On the other hand, as the difference between the luminance Y(x) of the first image block and the luminance Y(xn) of the surrounding pixels increases, it is determined that the similarity is lower, and thus the reliability determination value (n(x)) yields a high value.

즉, 상기 제1 이미지 블록에 대한 신뢰도 판단값이 높을수록 상기 제1 이미지 블록이 노이즈로 판단될 가능성이 높아질 수 있다.That is, the higher the reliability determination value for the first image block, the higher the probability that the first image block is determined as noise.

따라서, 신뢰도 판단부(136)는 상기 추출부(138)에서 생성되는 휘도 보정 문턱값(Th(x))의 신뢰도를 높이기 위해 새로운 변수인 신뢰도 판단값(n(x))을 산출하는 동작을 수행하는 것이다. 일 예로, 제1 이미지 블록이 노이즈인 경우 상기 제1 이미지 블록에 대한 유사도가 상당히 낮게 되므로, 상기 신뢰도 판단값(n(x))은 상당히 높은 값으로 산출될 수 있고, 이러한 정보를 미리 얻게 됨으로써 상기 추출부(138)에서 생성되는 휘도 보정 문턱값(Th(x))의 신뢰도를 높일 수 있다.Accordingly, the reliability determination unit 136 calculates the reliability determination value n(x), which is a new variable, in order to increase the reliability of the luminance correction threshold Th(x) generated by the extraction unit 138 . is to perform For example, when the first image block is noise, the degree of similarity to the first image block is significantly low, so the reliability determination value n(x) can be calculated to be a fairly high value. The reliability of the luminance correction threshold Th(x) generated by the extractor 138 may be increased.

즉, 상기 추출부(138)에서 생성되는 휘도 보정 문턱값(Th(x))은 영역 판단부(134)에 의한 제1 이미지 블록의 밝기 정도만 고려하는 것이 아니라, 인접한 픽셀들과의 편차를 통해 신뢰도를 높일 수 있는 것이다. That is, the luminance correction threshold value Th(x) generated by the extraction unit 138 does not only consider the brightness level of the first image block by the area determination unit 134, but through a deviation from adjacent pixels. It can increase reliability.

추출부(138)는 상기 영역 판단부(134)에서 출력되는 제1 이미지 블록의 밝기 정도(Yavg) 및 상기 신뢰도 판단부(136)에서 출력되는 신뢰도 판단값(n(x))을 이용하여 휘도 보정 문턱값(Th(x))을 생성하는 동작을 수행할 수 있다. The extraction unit 138 uses the brightness degree Y avg of the first image block output from the area determination unit 134 and the reliability determination value n(x) output from the reliability determination unit 136 . An operation of generating the luminance correction threshold Th(x) may be performed.

보다 구체적으로, 상기 추출부(138)는 하기 수학식 4을 통해 휘도 보정 문턱값(Th(x))를 산출할 수 있다.More specifically, the extractor 138 may calculate the luminance correction threshold Th(x) through Equation 4 below.

Figure pat00008
Figure pat00008

k는 임의의 상수상기 수학식 4의 n(x)는 검색 대상인 제1 이미지 블록을 구성하는 특정 픽셀의 신뢰도 판단 값으로서, 상기 n(x) 값을 이용하여 상기 수학식 4에 의한 휘도 보정 문턱값(Th(x))의 신뢰성을 판단할 수 있다.k is an arbitrary constant n(x) in Equation 4 is a reliability determination value of a specific pixel constituting a first image block to be searched, and the luminance correction threshold according to Equation 4 using the n(x) value The reliability of the value Th(x) may be determined.

상기 수학식 4에 의하면, 휘도 보정 문턱값(Th(x))은 신뢰도 판단값(n(x))과 정비례 관계이고, 제1 이미지 블록의 밝기 정도(Yavg)와는 반비례 관계이다. 또한, 상기 수학식4에 의하면, 상기 휘도 보정 문턱값(Th(x))은 0보다 크고 1보다 작은 범위에 포함된다 (0 < Th(x) < 1). According to Equation 4, the luminance correction threshold value Th(x) is directly proportional to the reliability determination value n(x), and is inversely proportional to the brightness level Y avg of the first image block. Also, according to Equation 4, the luminance correction threshold Th(x) is included in a range greater than 0 and less than 1 (0 < Th(x) < 1).

일 예로, 상기 검색 대상인 제1 이미지 블록이 노이즈인 경우 상기 제1 이미지 블록에 대한 유사도가 상당히 낮게 되므로, 상기 신뢰도 판단값(n(x))은 상당히 높은 값으로 산출되어, 상기 휘도 보정 문턱값(Th(x))은 1에 가까운 높은 값으로 추출될 수 있다.For example, when the first image block, which is the search target, is noise, the similarity to the first image block is significantly low, so the reliability determination value n(x) is calculated to be a fairly high value, and the luminance correction threshold value (Th(x)) can be extracted with a high value close to 1.

반면, 상기 제1 이미지 블록이 밝은 영역에 포함되어 주변 픽셀들과의 유사도가 높은 경우에는 이에 대한 상기 신뢰도 판단값(n(x))이 낮은 값으로 산출되어, 상기 휘도 보정 문턱값(Th(x))은 0에 가까운 낮은 값으로 추출될 수 있다.On the other hand, when the first image block is included in a bright area and has a high similarity with neighboring pixels, the reliability determination value n(x) is calculated as a low value, and the luminance correction threshold Th( x)) can be extracted with a low value close to zero.

따라서, 상기 추출부(138)는 상기 제1 이미지 블록의 밝기 정도(Yavg) 및 신뢰도 판단값(n(x))을 이용하여 저조도 상황에서의 노이즈 정도에 따른 유동적인 휘도 보정 문턱값을 추출할 수 있다. 마지막으로 보간부(139)는 상기 휘도 보정 문턱값(Th(x)) 및 상기 제3 휘도 정보(IC)를 이용하여 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 출력할 수 있다.Accordingly, the extraction unit 138 extracts a flexible luminance correction threshold value according to the noise level in a low-light situation by using the brightness level Y avg and the reliability determination value n(x) of the first image block. can do. Finally, the interpolator 139 outputs corrected luminance information Y out corresponding to the first image block using the luminance correction threshold Th(x) and the third luminance information I C . can do.

보다 구체적으로, 상기 보간부(139)는 하기 수학식 5을 통해 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 산출할 수 있다. More specifically, the interpolator 139 may calculate the corrected luminance information Y out corresponding to the first image block through Equation 5 below.

Figure pat00009
Figure pat00009

상기 수학식 5에 적용되는 IE는 필터링된 상기 제1 이미지 블록에 대한 제2 휘도 정보(IE)이고, IC는 앞서 설명한 상기 수학식 1에 기반하여 영역 비교부(132)에 의해 출력되는 제1 이미지 블록의 제3 휘도 정보(IC)이다. 또한, Th(x)는 상기 추출부(138)에 의해 생성되는 휘도 보정 문턱값(Th(x))이다.I E is applied to the equation (5) the second luminance information (I E) and, I C is above the equation output by the first area comparing unit 132 on the basis of on the filtered first image block The third luminance information (I C ) of the first image block to be In addition, Th(x) is the luminance correction threshold value Th(x) generated by the extractor 138 .

앞서 간략히 설명한 바와 같이 필터(131)를 거쳐 고주파 영역 (휘도 변화가 큰 영역)에서 강한 에지 부스팅으로 인해 야기되는 halo 현상을 제어하기 위해 상기 영역 비교부(132)는 수학식 1에서와 같은 anti-halo 기법을 이용하여 상기 필터링된 제2 휘도 정보(IE), 또는 최대/ 최소 휘도값으로 제한된 제3 휘도 정보(IC)를 출력한다. As briefly described above, in order to control a halo phenomenon caused by strong edge boosting in a high-frequency region (a region with a large luminance change) through the filter 131, the region comparator 132 performs the anti- The filtered second luminance information I E or third luminance information I C limited to maximum/minimum luminance values is output using a halo technique.

상기 보간부(139)는 영역 비교부(132)에서 출력되는 제2 휘도 정보(IE) 및 제3 휘도 정보(IC)와, 상기 추출부(138)에 의해 생성되는 휘도 보정 문턱값(Th(x))를 입력받아 수학식 5에 따른 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 산출하며, 이를 통해 영상 신호의 화질이 저하되지 않으면서 미세 노이즈를 제어 할 수 있게 된다. The interpolator 139 includes the second luminance information I E and the third luminance information I C output from the region comparator 132 , and a luminance correction threshold value ( ) generated by the extraction unit 138 . Th(x)) is received and corrected luminance information (Y out ) corresponding to the first image block is calculated according to Equation 5. Through this, it is possible to control fine noise without degrading the image quality of the image signal. there will be

예를 들어, 상기 제1 이미지 블록이 유사도(Similarity)가 높은 밝은 영역인 경우, 상기 신뢰도 판단부(136)에서 낮은 신뢰도 판단값(n(x))이 출력되어 이에 따라 보정 문턱값(Th(x))은 0에 가까운 낮은 값으로 추출될 수 있다.For example, when the first image block is a bright area having a high similarity, the reliability determination unit 136 outputs a low reliability determination value n(x), and accordingly, the correction threshold Th( x)) can be extracted with a low value close to zero.

따라서, 수학식 5에 의하면, 상기 보정 문턱값(Th(x))이 0에 가까운 값을 가지므로, 상기 보정된 휘도 정보(Yout)는 상기 제3 휘도 정보(IC)에 의한 영향이 거의 제거되고, 상기 제2 휘도 정보(IE)에 대응하는 값으로 보정되어 출력될 수 있다.Accordingly, according to Equation 5, since the correction threshold Th(x) has a value close to 0, the corrected luminance information Y out is not affected by the third luminance information I C . It may be almost removed and corrected to a value corresponding to the second luminance information I E .

다시 말하면, 상기 제1 이미지 블록이 밝은 영역에 포함되고 주변 픽셀들과의 유사도가 높은 경우에는 결국 노이즈가 아닌 것으로 판단하여 필터(131)의 하이패스 필터 부분을 통과한 제2 휘도 정보(IE)를 인코더(150)에 전송될 수 있도록 제어하는 것이다.In other words, the first case the image blocks contained in the light areas of high degree of similarity with the surrounding pixels, the second luminance which is determined that the end than the noise passing through the high-pass filter portion of the filter 131, the information (I E ) to be transmitted to the encoder 150 .

반면에, 상기 제1 이미지 블록이 유사도(Similarity)가 낮은 어두운 영역인 경우, 상기 신뢰도 판단부(136)에서 높은 신뢰도 판단값(n(x))이 출력되어 이에 따라 보정 문턱값(Th(x))은 1에 가까운 높은 값으로 추출될 수 있다.On the other hand, when the first image block is a dark area having a low similarity, the reliability determination unit 136 outputs a high reliability determination value n(x), and accordingly, the correction threshold Th(x) )) can be extracted with a high value close to 1.

따라서, 수학식 5에 의하면, 상기 보정 문턱값(Th(x))이 1에 가까운 값을 가지므로, 상기 보정된 휘도 정보(Yout)는 상기 제2 휘도 정보(IE)에 의한 영향이 거의 제거되고, 상기 제3 휘도 정보(IC)에 대응하는 값으로 보정되어 출력될 수 있다.Accordingly, according to Equation 5, since the correction threshold Th(x) has a value close to 1, the corrected luminance information Y out is not affected by the second luminance information I E . It may be almost removed and corrected to a value corresponding to the third luminance information I C .

다시 말하면, 상기 제1 이미지 블록이 어두운 영역에 포함되고 주변 픽셀들과의 유사도가 낮은 경우에 저조도 노이즈가 존재할 가능성이 높다고 판단할 수 있으므로, 최대/ 최소 휘도값으로 제한된 제3 휘도 정보(IC)를 인코더(150)에 전송될 수 있도록 제어하는 것이다.In other words, the first image, because blocks are included in a dark region where the degree of similarity between neighboring pixels may more likely be a low illuminance noise determine if low, the limited third luminance information as the maximum / minimum luminance value (I C ) to be transmitted to the encoder 150 .

다시 말하면, 영역 비교부(132)에서 출력되는 필터링된 제2 휘도 정보(IE) 및 최대/ 최소 휘도값으로 제한된 제3 휘도 정보(IC)는 anti-halo 기법이 적용된 결과값 및 에지 부스팅이 적용된 결과 값을 반영하고, 추출부(138)에 의해 생성되는 휘도 보정 문턱값(Th(x))은 상기 제1 이미지 블록의 밝기 정도(Yavg) 및 신뢰도 판단값(n(x))을 반영한 값이므로, 본 발명의 실시예에 의할 경우 상기 보정된 휘도 정보(Yout)가 인코더(150)에 전송됨으로써, 원본 영상 데이터의 손실을 줄이면서, 저조도 노이즈에 적용될 수 있는 부스팅 현상을 억제하여 영상 데이터 전송 압축률을 높일 수 있다. In other words, the filtered second luminance information I E output from the region comparator 132 and the third luminance information limited to maximum/minimum luminance values I C are the result value to which the anti-halo technique is applied and edge boosting. Reflecting the applied result value, the luminance correction threshold Th(x) generated by the extraction unit 138 is the brightness degree Y avg and the reliability determination value n(x) of the first image block. Since the value reflects , according to the embodiment of the present invention, the corrected luminance information (Y out ) is transmitted to the encoder 150, thereby reducing the loss of original image data and a boosting phenomenon that can be applied to low-illuminance noise. It is possible to increase the compression rate of video data transmission by suppressing the

도 5는 본 발명의 실시예에 의한 영상 처리 방법을 나타내는 순서도이다.5 is a flowchart illustrating an image processing method according to an embodiment of the present invention.

도 2, 3 및 도 5를 참조하여, 본 발명의 실시예에 의한 영상 처리 방법을 설명하면 다음과 같다. An image processing method according to an embodiment of the present invention will be described with reference to FIGS. 2, 3 and 5 .

먼저 영상 수신기(110)는 복수의 이미지 블록들을 포함하는 한 프레임의 영상 신호를 수신한다 (ST 500). 또한, 상기 영상 수신기(110)는 상기 수신 영상 신호 및 상기 영상 신호에 대응하는 휘도 정보를 영상 처리기(130)으로 출력할 수 있다. First, the image receiver 110 receives an image signal of one frame including a plurality of image blocks (ST 500). Also, the image receiver 110 may output the received image signal and luminance information corresponding to the image signal to the image processor 130 .

이후 상기 영상 처리기(130)의 영역 비교부(132)는, 영상 수신기(110)를 통해 수신되는 영상 신호들 중 제1 이미지 블록의 원 영상 신호에 대응하는 제1 휘도 정보(Yin)를 수신한다 (ST 510). Thereafter, the region comparator 132 of the image processor 130 receives first luminance information Y in corresponding to the original image signal of the first image block among the image signals received through the image receiver 110 . do (ST 510).

또한, 상기 영역 비교부(132)는 필터(131)를 통해 필터링된 상기 제1 이미지 블록의 영상 신호에 대응하는 제2 휘도 정보(IE)를 수신하고 (ST 520), 상기 제1 휘도 정보 및 제2 휘도 정보를 비교하여 제1 이미지 블록에 대응하는 제3 휘도 정보(IC)를 생성할 수 있다 (ST 530). Also, the region comparison unit 132 receives second luminance information I E corresponding to the image signal of the first image block filtered through the filter 131 (ST 520), and the first luminance information and comparing the second luminance information to generate third luminance information I C corresponding to the first image block (ST 530).

보다 구체적으로, 상기 영역 비교부(132)는 앞서 설명한 수학식 1에 근거하여 제1 휘도 정보 및 제2 휘도 정보를 비교함으로써, 상기 제1 이미지 블록에 대응하는 제3 휘도 정보(IC)를 생성하는 동작을 수행할 수 있으며, 이를 통해 상기 영역 비교부(132)는 필터링된 제1 이미지 블록의 제2 휘도 정보(IE)의 최대 및 최소 한도를 설정함으로써, 상기 제2 휘도 정보(IE)가 부스팅됨에 의해 야기되는 halo 현상을 제어할 수 있다. More specifically, the region comparator 132 compares the first luminance information and the second luminance information based on Equation 1 described above to obtain the third luminance information I C corresponding to the first image block. generating operation may be performed, and through this, the region comparison unit 132 sets the maximum and minimum limits of the second luminance information I E of the filtered first image block, so that the second luminance information I E ) can control the halo effect caused by boosting.

이후, 영역 판단부(134)는 상기 제1 이미지 블록의 밝기 정도(Yavg)를 판단하는 동작을 수행할 수 있다 (ST 540). 보다 구체적으로, 상기 영역 판단부(134)는 앞서 설명한 수학식 2를 통해 제1 이미지 블록의 밝기 정도(Yavg)를 산출할 수 있다.Thereafter, the area determining unit 134 may perform an operation of determining the brightness level Y avg of the first image block (ST 540 ). More specifically, the area determining unit 134 may calculate the brightness level Y avg of the first image block through Equation 2 described above.

또한, 신뢰도 판단부(136)는 상기 제1 이미지 블록의 신뢰도 판단값(n(x))을 산출하는 동작을 수행할 수 있다 (ST 550). 보다 구체적으로, 상기 신뢰도 판단부(136)는 앞서 설명한 수학식 3을 통해 제1 이미지 블록의 신뢰도 판단값(n(x))을 산출할 수 있다.Also, the reliability determination unit 136 may perform an operation of calculating the reliability determination value n(x) of the first image block (ST 550). More specifically, the reliability determination unit 136 may calculate the reliability determination value n(x) of the first image block through Equation 3 described above.

다음으로, 추출부(138)는 상기 제1 이미지 블록의 밝기 정도(Yavg) 및 신뢰도 판단값(n(x))을 이용하여 휘도 보정 문턱값(Th(x))을 생성하는 동작을 수행할 수 있다 (ST 560). 보다 구체적으로, 상기 추출부(138)는 앞서 설명한 수학식 4을 통해 휘도 보정 문턱값(Th(x))를 산출할 수 있다. Next, the extractor 138 generates a luminance correction threshold Th(x) using the brightness degree Y avg and the reliability determination value n(x) of the first image block. can (ST 560). More specifically, the extractor 138 may calculate the luminance correction threshold Th(x) through Equation 4 described above.

마지막으로, 보간부(139)는 상기 휘도 보정 문턱값(Th(x)) 및 상기 제3 휘도 정보(IC)를 이용하여 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 출력할 수 있다 (ST 570). 보다 구체적으로, 상기 보간부(139)는 앞서 설명한 수학식 5을 통해 상기 제 1이미지 블록에 대응하는 보정된 휘도 정보(Yout)를 산출할 수 있다. Finally, the interpolator 139 calculates the corrected luminance information Y out corresponding to the first image block using the luminance correction threshold Th(x) and the third luminance information I C . Can be printed (ST 570). More specifically, the interpolator 139 may calculate the corrected luminance information Y out corresponding to the first image block through Equation 5 described above.

이와 같은 본 발명의 실시예에 영상 처리 방법에 의하면, anti-halo 기법이 적용된 결과값 (제3 휘도 정보(IC)) 및 에지 부스팅이 적용된 결과 값(필터링된 제2 휘도 정보(IE))와, 이와 더불어 상기 제1 이미지 블록의 밝기 정도(Yavg) 및 신뢰도 판단값(n(x))을 반영하여 생성된 휘도 보정 문턱값(Th(x))을 이용하여 보정된 휘도 정보(Yout)가 생성되고 상기 보정된 휘도 정보(Yout)가 인코더(150)에 전송됨으로써, 원본 영상 데이터의 손실을 줄이면서, 저조도 노이즈에 적용될 수 있는 부스팅 현상을 억제하여 영상 데이터 전송 압축률을 높일 수 있다.According to the image processing method according to the embodiment of the present invention, the result value to which the anti-halo technique is applied (third luminance information (I C )) and the result value to which edge boosting is applied (filtered second luminance information (I E )) ) and the luminance information corrected using the luminance correction threshold Th(x) generated by reflecting the brightness degree Y avg and the reliability determination value n(x) of the first image block ( Y out ) is generated and the corrected luminance information Y out is transmitted to the encoder 150 , thereby reducing the loss of original image data and suppressing a boosting phenomenon that can be applied to low-illuminance noise to increase the image data transmission compression rate can

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

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

Claims (20)

제1 영상신호에 대응하는 제1 휘도 정보 및 제2 영상신호에 대응하는 제2 휘도 정보를 수신하고, 상기 제1 휘도 정보 및 제2 휘도 정보를 이용하여 제3 휘도 정보를 생성하는 영역 비교부;
상기 제1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 밝기 정도 값을 산출하는 영역 판단부;
상기 제 1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 신뢰도 판단값을 산출하는 신뢰도 판단부;
상기 영역 판단부에서 출력되는 제1 영상신호의 밝기 정도 값 및 상기 신뢰도 판단부에서 출력되는 제1 영상신호의 신뢰도 판단값을 이용하여 상기 제1 영상신호의 휘도 보정 문턱값을 생성하는 추출부; 및
상기 휘도 보정 문턱값 및 상기 제3 휘도 정보를 이용하여 상기 제1 휘도 정보에 대한 보정된 휘도 정보를 출력하는 보간부를 포함하는 영상 처리 장치.
A region comparator for receiving first luminance information corresponding to the first image signal and second luminance information corresponding to the second image signal, and generating third luminance information by using the first luminance information and the second luminance information ;
an area determination unit calculating a brightness level value of the first image signal by using the first brightness information;
a reliability determination unit for calculating a reliability determination value for the first image signal by using the first luminance information;
an extractor configured to generate a luminance correction threshold value of the first image signal using the brightness level value of the first image signal output from the area determination unit and the reliability determination value of the first image signal output from the reliability determination unit; and
and an interpolator outputting corrected luminance information for the first luminance information using the luminance correction threshold and the third luminance information.
제1 항에 있어서,
상기 제1 영상신호는 수신되는 한 프레임의 영상 신호들 중 제1 이미지 블록의 원 영상 신호이고,
상기 제2 영상신호는 필터에 의해 필터링된 상기 제1 이미지 블록의 영상 신호인 영상 처리 장치.
The method of claim 1,
The first image signal is an original image signal of a first image block among the received image signals of one frame,
The second image signal is an image signal of the first image block filtered by a filter.
제2 항에 있어서,
상기 제1 이미지 블록은 단일 픽셀로 구현되거나 또는 복수의 픽셀들을 포함하는 소정의 영역으로 구현되는 영상 처리 장치.
The method of claim 2,
The first image block is implemented as a single pixel or as a predetermined area including a plurality of pixels.
제2 항에 있어서,
상기 필터는 밴드패스 필터로 구현되는 영상 처리 장치.
The method of claim 2,
The filter is an image processing device implemented as a bandpass filter.
제1 항에 있어서,
상기 영역 비교부는 하기 수학식 1을 통해 상기 제3 휘도 정보(Ic)를 생성하는 영상 처리 장치.
[수학식 1]
If IE > Imax Ic = Imax
Elseif IE < Imin Ic = Imin
Else Ic = IE
(IE: 제2 휘도 정보, Imax: 제1 영상신호를 포함한 이미지 블록들의 휘도 최대값, Imin: 제1 영상신호를 포함한 이미지 블록들의 휘도 최소값, IC: 제3 휘도 정보).
The method of claim 1,
The region comparator generates the third luminance information Ic through Equation 1 below.
[Equation 1]
If I E > Imax Ic = Imax
Elseif I E < Imin Ic = Imin
Else Ic = I E
(I E : second luminance information, Imax: maximum luminance value of image blocks including the first image signal, Imin: minimum luminance value of image blocks including the first image signal, I C : third luminance information).
제2 항에 있어서,
상기 영역 판단부에서 산출되는 밝기 정도 값은 상기 제1 이미지 블록의 평균 휘도값인 영상 처리 장치.
The method of claim 2,
The brightness level value calculated by the area determination unit is an average brightness value of the first image block.
제2 항에 있어서,
상기 신뢰도 판단부에서 산출되는 신뢰도 판단값은 상기 제1 이미지 블록의 휘도와 그 주변의 픽셀들의 휘도를 비교한 결과에 대응하며,
상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 적을수록 낮은 신뢰도 판단값이 산출되고, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 높은 신뢰도 판단값이 산출되는 영상 처리 장치.
The method of claim 2,
The reliability determination value calculated by the reliability determination unit corresponds to a result of comparing the brightness of the first image block with the brightness of surrounding pixels,
A lower reliability judgment value is calculated as the difference between the luminance of the first image block and the luminance between the neighboring pixels is small, and a high reliability judgment value is calculated as the difference between the luminance of the first image block and the luminance between the neighboring pixels is large. image processing device.
제2 항에 있어서,
상기 추출부는 하기 수학식 4을 통해 상기 휘도 보정 문턱값(Th(x))을 산출하며,
[수학식 4]
Th(x) = n(x)
Figure pat00010
Figure pat00011

(Yavg: 영역 판단부에서 산출되는 밝기 정도 값, n(x): 상기 신뢰도 판단부에 의해 산출되는 신뢰도 판단값, k: 임의의 상수)
상기 휘도 보정 문턱값(Th(x))은 0보다 크고 1보다 작은 범위에 포함되는 영상 처리 장치.
The method of claim 2,
The extractor calculates the luminance correction threshold Th(x) through Equation 4 below,
[Equation 4]
Th(x) = n(x)
Figure pat00010
Figure pat00011

(Y avg : brightness value calculated by the area determination unit, n(x): reliability determination value calculated by the reliability determination unit, k: arbitrary constant)
The luminance correction threshold Th(x) is included in a range greater than 0 and less than 1.
제8 항에 있어서,
상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 상기 제1 이미지 블록은 노이즈로 판단되며, 이 경우 상기 휘도 보정 문턱값은 1에 가까운 높은 값으로 산출되는 영상 처리 장치.
The method of claim 8,
As the difference between the luminance of the first image block and the luminance of neighboring pixels increases, the first image block is determined as noise, and in this case, the luminance correction threshold is calculated as a high value close to 1.
제8 항에 있어서,
상기 보간부는 하기 수학식 5를 통해 상기 제1 휘도 정보(Yin)에 대한 보정된 휘도 정보(Yout)를 산출하는 영상 처리 장치.
[수학식 5]
Yout = Ic * Th(x) + IE*(1-Th(x))
(IC: 제3 휘도 정보, Th(x): 휘도 보정 문턱값, IE: 제2 휘도 정보)
The method of claim 8,
The interpolator is an image processing apparatus for calculating the corrected luminance information (Y out ) with respect to the first luminance information (Y in ) through the following Equation (5).
[Equation 5]
Yout = Ic * Th(x) + I E *(1-Th(x))
(I C : third luminance information, Th(x): luminance correction threshold, I E : second luminance information)
제1 영상신호에 대응하는 제1 휘도 정보 및 제2 영상신호에 대응하는 제2 휘도 정보를 수신하고, 상기 제1 휘도 정보 및 제2 휘도 정보를 이용하여 제3 휘도 정보를 생성하는 단계;
상기 제1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 밝기 정도 값을 산출하는 단계;
상기 제 1 휘도 정보를 이용하여 상기 제1 영상신호에 대한 신뢰도 판단값을 산출하는 단계;
상기 제1 영상신호의 밝기 정도 값 및 상기 제1 영상신호의 신뢰도 판단값을 이용하여 상기 제1 영상신호의 휘도 보정 문턱값을 생성하는 단계; 및
상기 휘도 보정 문턱값 및 상기 제3 휘도 정보를 이용하여 상기 제1 휘도 정보에 대한 보정된 휘도 정보를 출력하는 단계를 포함하는 영상 처리 방법.
receiving first luminance information corresponding to the first image signal and second luminance information corresponding to the second image signal, and generating third luminance information by using the first luminance information and the second luminance information;
calculating a brightness level value for the first image signal using the first brightness information;
calculating a reliability determination value for the first image signal by using the first luminance information;
generating a luminance correction threshold value of the first image signal using a brightness level value of the first image signal and a reliability determination value of the first image signal; and
and outputting corrected luminance information for the first luminance information using the luminance correction threshold and the third luminance information.
제11 항에 있어서,
상기 제1 영상신호는 수신되는 한 프레임의 영상 신호들 중 제1 이미지 블록의 원 영상 신호인 영상 처리 방법.
The method of claim 11,
The first image signal is an original image signal of a first image block among the received image signals of one frame.
제12 항에 있어서,
상기 제2 영상신호는 필터에 의해 필터링된 상기 제1 이미지 블록의 영상 신호인 영상 처리 방법.
The method of claim 12,
The second image signal is an image signal of the first image block filtered by a filter.
제12 항에 있어서,
상기 제1 이미지 블록은 단일 픽셀로 구현되거나 또는 복수의 픽셀들을 포함하는 소정의 영역으로 구현되는 영상 처리 방법.
The method of claim 12,
The image processing method in which the first image block is implemented as a single pixel or as a predetermined area including a plurality of pixels.
제11 항에 있어서,
상기 제3 휘도 정보(Ic)는 하기 수학식1을 통해 생성되는 영상 처리 방법.
[수학식 1]
If IE > Imax Ic = Imax
Elseif IE < Imin Ic = Imin
Else Ic = IE
(IE: 제2 휘도 정보, Imax: 제1 영상신호를 포함한 이미지 블록들의 휘도 최대값, Imin: 제1 영상신호를 포함한 이미지 블록들의 휘도 최소값, IC: 제3 휘도 정보).
The method of claim 11,
The third luminance information Ic is an image processing method that is generated through Equation 1 below.
[Equation 1]
If I E > Imax Ic = Imax
Elseif I E < Imin Ic = Imin
Else Ic = I E
(I E : second luminance information, Imax: maximum luminance value of image blocks including the first image signal, Imin: minimum luminance value of image blocks including the first image signal, I C : third luminance information).
제12 항에 있어서,
상기 밝기 정도 값은 상기 제1 이미지 블록의 평균 휘도값인 영상 처리 방법.
The method of claim 12,
The brightness level value is an average brightness value of the first image block.
제12 항에 있어서,
상기 신뢰도 판단값은 상기 제1 이미지 블록의 휘도와 그 주변의 픽셀들의 휘도를 비교한 결과에 대응하며,
상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 적을수록 낮은 신뢰도 판단값이 산출되고, 상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 높은 신뢰도 판단값이 산출되는 영상 처리 방법.
The method of claim 12,
The reliability determination value corresponds to a result of comparing the luminance of the first image block with the luminance of surrounding pixels,
A lower reliability judgment value is calculated as the difference between the luminance of the first image block and the luminance between the neighboring pixels is small, and a high reliability judgment value is calculated as the difference between the luminance of the first image block and the luminance between the neighboring pixels is large. Image processing method.
제12 항에 있어서,
상기 휘도 보정 문턱값(Th(x))은 하기 수학식4를 통해 산출되며,
[수학식 4]
Th(x) = n(x)
Figure pat00012
Figure pat00013

(Yavg: 영역 판단부에서 산출되는 밝기 정도 값, n(x): 상기 신뢰도 판단부에 의해 산출되는 신뢰도 판단값, k: 임의의 상수)
상기 휘도 보정 문턱값(Th(x))은 0보다 크고 1보다 작은 범위에 포함되는 영상 표시 방법.
The method of claim 12,
The luminance correction threshold Th(x) is calculated through Equation 4 below,
[Equation 4]
Th(x) = n(x)
Figure pat00012
Figure pat00013

(Y avg : brightness value calculated by the area determination unit, n(x): reliability determination value calculated by the reliability determination unit, k: arbitrary constant)
The luminance correction threshold value Th(x) is included in a range greater than 0 and less than 1.
제18 항에 있어서,
상기 제1 이미지 블록의 휘도와 주변 픽셀들과의 휘도 차이가 클수록 상기 제1 이미지 블록은 노이즈로 판단되며, 이 경우 상기 휘도 보정 문턱값은 1에 가까운 높은 값으로 산출되는 영상 처리 방법.
The method of claim 18,
As the difference between the luminance of the first image block and the luminance of the surrounding pixels increases, the first image block is determined as noise, and in this case, the luminance correction threshold is calculated as a high value close to 1.
제18 항에 있어서,
상기 제1 휘도 정보(Yin)에 대한 보정된 휘도 정보(Yout)는 하기 수학식5를 통해 산출되는 영상 처리 방법.
[수학식 5]
Yout = Ic * Th(x) + IE*(1-Th(x))
(IC: 제3 휘도 정보, Th(x): 휘도 보정 문턱값, IE: 제2 휘도 정보)
The method of claim 18,
The image processing method wherein the corrected luminance information (Y out ) with respect to the first luminance information (Y in ) is calculated through Equation (5) below.
[Equation 5]
Yout = Ic * Th(x) + I E *(1-Th(x))
(I C : third luminance information, Th(x): luminance correction threshold, I E : second luminance information)
KR1020200094365A 2019-11-22 2020-07-29 apparatus and method for image processing KR20210063207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/009,639 US11659141B2 (en) 2019-11-22 2020-09-01 Image processing apparatus and method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20190151395 2019-11-22
KR1020190151395 2019-11-22

Publications (1)

Publication Number Publication Date
KR20210063207A true KR20210063207A (en) 2021-06-01

Family

ID=76376040

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200094365A KR20210063207A (en) 2019-11-22 2020-07-29 apparatus and method for image processing

Country Status (1)

Country Link
KR (1) KR20210063207A (en)

Similar Documents

Publication Publication Date Title
US9842261B2 (en) Vehicle monitoring device and method of monitoring vehicle
US10574991B2 (en) Apparatus and method for processing image
US11659141B2 (en) Image processing apparatus and method
JP6751319B2 (en) Digital image preprocessing method and digital image preprocessing system
US11538316B2 (en) Surveillance system and control method thereof
US20240048672A1 (en) Adjustment of shutter value of surveillance camera via ai-based object recognition
US10778878B2 (en) Apparatus for processing image and method of processing image
KR20210063207A (en) apparatus and method for image processing
JP2023184501A (en) Anti-flicker filter mitigation for event-based sensor
US20230419505A1 (en) Automatic exposure metering for regions of interest that tracks moving subjects using artificial intelligence
JP2018026682A (en) Imaging device, setting device, image analyzer, image analysis system, and setting method
JP4508043B2 (en) Video surveillance device and video surveillance program
JP2010204404A (en) Monitoring camera and exposure control method for the same
JP5934993B2 (en) Image transmission apparatus and image transmission / reception system
CN108932847B (en) Method and device for collecting signal lamp image
US10070056B2 (en) Omnidirectional camera system
CN112788364A (en) Code stream dynamic adjusting device, method and computer readable storage medium
JP2014132706A (en) Monitor camera and monitor camera program
US20240046426A1 (en) Noise removal for surveillance camera image by means of ai-based object recognition
JP2022138333A (en) Image processing device, image processing method, and image processing program
KR102093474B1 (en) Method for processing image using Ethernet Camera and Apparatus therefor
CN113923341A (en) Electronic device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal