KR100299485B1 - Noise removal method for motion picture encoding - Google Patents

Noise removal method for motion picture encoding Download PDF

Info

Publication number
KR100299485B1
KR100299485B1 KR1019970081043A KR19970081043A KR100299485B1 KR 100299485 B1 KR100299485 B1 KR 100299485B1 KR 1019970081043 A KR1019970081043 A KR 1019970081043A KR 19970081043 A KR19970081043 A KR 19970081043A KR 100299485 B1 KR100299485 B1 KR 100299485B1
Authority
KR
South Korea
Prior art keywords
signal
noise
video signal
component
difference
Prior art date
Application number
KR1019970081043A
Other languages
Korean (ko)
Other versions
KR19990060799A (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 KR1019970081043A priority Critical patent/KR100299485B1/en
Priority to US09/221,980 priority patent/US6408104B1/en
Publication of KR19990060799A publication Critical patent/KR19990060799A/en
Application granted granted Critical
Publication of KR100299485B1 publication Critical patent/KR100299485B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: A noise removal method for motion picture encoding is provided to eliminate noise without generating blocking phenomenon and to improve picture quality. CONSTITUTION: A differential signal between the current input video signal having noise and a previous signal from which noise was removed is obtained. A pure signal component having no noise is extracted from the differential signal. Variable gain control is carried out for the differential signal to reduce noise component. The extracted signal is added to the signal component having reduced noise component to remove noise, and noise filtering is performed to recover deteriorated resolution.

Description

동영상 부호화를 위한 노이즈 제거방법Noise Reduction Method for Video Coding

본 발명은 동영상 부호화를 위한 노이즈 제거방법에 관한 것으로서 특히, 노이즈를 포함하는 입력 동영상신호에서 노이즈 필터링된 신호성분을 미리 추출하고 그 나머지 신호만을 1-a로 대표되는 이득 제어경로상에서 이득을 제어함으로써 블럭화 현상을 발생시키지 않고 노이즈 필터링을 수행할 수 있도록 한 동영상 부호화를 위한 노이즈 제거방법에 관한 것이다.The present invention relates to a noise removing method for video encoding, and more particularly, by extracting a noise-filtered signal component from an input video signal including noise in advance and controlling only a gain on a gain control path represented by 1-a. The present invention relates to a noise removing method for video encoding that enables noise filtering to be performed without generating a blocking phenomenon.

종래에 동영상 부호화기로서 예를 들면 MPEG2 동영상 부호화기에서 이루어지는 노이즈 제거는 도1과 같이 1-a로 대표되는 신호경로상에서의 이득 제어에 의존하고 있다.Background Art [0002] Noise removal, for example, in an MPEG2 video encoder as a video encoder, relies on gain control on a signal path represented by 1-a as shown in FIG.

도1은 종래의 노이즈 제거방법을 적용한 동영상 부호화기로서, 블럭단위로 처리되는 입력영상신호의 오차신호를 추출하기 위한 감산기(101)와, 상기 감산기(101)의 출력신호에 대하여 1-a(a는 이득)의 이득제어를 수행하는 이득 제어기(102)와, 상기 이득 제어된 신호의 DCT변환과 양자화를 수행하는 DCT/양자화부(103)와, 상기 DCT 및 양자화된 신호를 역변환하는 IQ/IDCT변환부(104)와, 상기 역변환된 신호와 움직임 추정보상부(107)의 출력을 가산하여 출력하는 가산기(105)와, 상기 가산된 신호를 저장하는 메모리(106)와, 상기 메모리(106)의 출력신호에 대하여 움직임 추정과 보상을 수행하는 움직임 추정보상부(107)와, 상기 DCT 및 양자화된 신호를 비트스트림으로 변환하여 출력하기 위한 출력부(VLC/FIFO)(108)로 구성되며, 그 동작은 다음과 같다.FIG. 1 is a video encoder using a conventional noise reduction method, and includes a subtractor 101 for extracting an error signal of an input video signal processed in units of blocks, and 1-a (a) with respect to an output signal of the subtractor 101. FIG. A gain controller 102 for gain control of gain), a DCT / quantizer 103 for performing DCT conversion and quantization of the gain controlled signal, and an IQ / IDCT for inverting the DCT and quantized signal. A transform unit 104, an adder 105 for adding and outputting the inverse transformed signal and the output of the motion estimation compensator 107, a memory 106 for storing the added signal, and the memory 106 A motion estimation compensator 107 for performing motion estimation and compensation on an output signal of the output signal, and an output unit (VLC / FIFO) 108 for converting the DCT and the quantized signal into a bitstream and outputting the bitstream. The operation is as follows.

노이즈를 포함하는 입력신호(g(i,j,k))(i,j는 프레임상에서의 영상처리단위 2차원 좌표, k는 시간축 프레임상의 상기 i,j에 해당하는 시간축정보)는 노이즈 성분(n(i,j,k))과 신호성분(f(i,j,k))의 합으로 본다.The input signal g (i, j, k) containing noise (i, j is an image processing unit two-dimensional coordinate on a frame, k is time axis information corresponding to i, j on a time axis frame), and a noise component ( It is regarded as the sum of n (i, j, k)) and the signal component f (i, j, k).

그래서 이 부호화기에서는 f(i,j,k)=f(i,j,k-1)+(1-a){g(i,j,k)-f(i,j,k-1)}의 방법으로 노이즈 제거를 수행한다.So in this encoder f (i, j, k) = f (i, j, k-1) + (1-a) {g (i, j, k) -f (i, j, k-1)} Perform noise reduction in the method of.

즉, 현재 프레임의 화소(g(i,j,k))에서 이전 프레임의 화소(f(i,j,k-1))를 감산하여 그 차값을 구하고, 이 차값에 따라서 이득값(a)를 제어하는 것으로, 현재 프레임과 이전 프레임의 화소값의 차가 크면 이득(a)을 즈가시켜서 노이즈 성분을 감소시키는 방법으로 노이즈 제거를 수행하는 것이다.That is, the difference value is obtained by subtracting the pixel f (i, j, k-1) of the previous frame from the pixel g (i, j, k) of the current frame, and the gain value (a) according to the difference value. In this case, when the difference between the pixel value of the current frame and the previous frame is large, noise removal is performed by reducing the noise component by increasing the gain (a).

입력신호(g(i,j,k))는 감산기(101)에서 이전 프레임의 화소(f(i,j,k-1)와 감산되어 이득 제어기(201)에 입력되고, 그 차값의 대소에 따라서 이득(a)이 증감됨으로써 노이즈를 저감시키며, 여기서 인트라/인터모드(Intra/Inter Mode)에 따른 이득 제어수행 여부를 스위칭제어한다.The input signal g (i, j, k) is subtracted from the pixel f (i, j, k-1) of the previous frame by the subtractor 101 and input to the gain controller 201, and the magnitude of the difference value is reduced. Therefore, the gain (a) is increased or decreased to reduce the noise, and switching control is performed whether or not to perform gain control according to the intra / inter mode.

이득 제어되어 노이즈가 저감된 신호는 DCT/양자화부(103)에 입력되어 이산코사인변환(DCT:Discreetre Cosine Transform) 및 양자화됨으로써 주파수정보로 변환되고 또 양자화된 신호는 IQ/IDCT변환부(104)에서 역양자화 및 역DCT변환되어 가산기(105)를 통해 메모리(106)에 입력된다.The signal whose gain is controlled and the noise is reduced is input to the DCT / quantization unit 103, and converted into frequency information by Discrete Cosine Transform (DCT) and quantization, and the quantized signal is converted into IQ / IDCT conversion unit 104. Inverse quantization and inverse DCT conversion are input into the memory 106 through the adder 105.

메모리된 신호는 움직임 추정보상부(107)에서 움직임 추정과 보상이 수행된 다음 해당 신호를 출력하게되며, 출력부(108)는 노이즈 제거와 양자화된 신호를 가변장부호화(VLC:Variable Length Coding) 및 FIFO메모리를 거처서 비트스트림으로 출력하게 된다.The memorized signal is output by the motion estimation compensator 107 after motion estimation and compensation is performed, and the output unit 108 removes noise and quantizes the quantized signal (VLC: Variable Length Coding). And a FIFO memory to output a bitstream.

이와같은 종래의 노이즈 제거방법을 적용한 동영상 부호화기는 인터모드에서만 노이즈 필터링을 수행하기 때문에 필터링을 하지않는 경로에서는 노이즈가 그대로 남게되는 단점이 있고, 또한 이전 1화소만 사용하기 때문에 노이즈 제거가 불완전하며 더구나 블럭킹 현상(Blocking Effect)을 크게한다.Since the video encoder using the conventional noise removal method performs noise filtering only in the inter mode, the noise remains in the unfiltered path. Also, since only one pixel is used, the noise removal is incomplete and furthermore. Increase the blocking effect.

도2는 이러한 블럭킹 현상을 설명하기 위한 도면이다.2 is a view for explaining such a blocking phenomenon.

도2의 (a)와 같이 원래의 이미지(original image)에 대하여 블럭단위의 움직임 추정보상이 수행되기 때문에 예측된 이미지(predicted image)와는 블럭경계점에서 불연속점(201)이 생기게 된다.As shown in FIG. 2A, since motion estimation compensation is performed on a block basis with respect to the original image, a discontinuous point 201 is generated at a block boundary point with the predicted image.

즉, 도2의 (b)와같이 노이즈를 포함하는 입력신호와 예측된 신호의 차값에 해당하는 오차신호(mc error image)가 도2의 (c)와같이 1-a의 이득 제어를 통해서 노이즈 제거된다고 하더라도 도2의 (d)와 같이 필터링된 신호(filtered image)는 인접 블럭간의 경계점에서 불연속점(202)이 여전히 생기게 되어, 블럭 경계점에서의 블럭킹 현상에 의한 화질저하가 초래된다.That is, an error signal (mc error image) corresponding to the difference between the input signal including noise and the predicted signal as shown in FIG. 2 (b) is obtained through the gain control of 1-a as shown in FIG. Even if it is removed, the filtered signal as shown in FIG. 2 (d) still has discontinuities 202 at the boundary points between adjacent blocks, resulting in deterioration in image quality due to blocking at the block boundary points.

종래의 노이즈 제거방법과 이 것을 적용한 동영상 부호화기는 노이즈 제거성능이 움직임 추정/보상부분의 동작과 밀접한 관계가 있다.In the conventional noise elimination method and the video encoder using the same, the noise elimination performance is closely related to the motion estimation / compensation operation.

즉, 효과적인 노이즈 제거를 위해서는 g(i,j,k)-g(i-dx,j-dx,k-1)=n(i,j,k) -n(i-dx,j-dx,k-1)이 되도록 f(i,j,k)=f(i-dx,j-dx,k-1)을 만족시키는 변위(dx,dy)를 각 화소단위로 정확하게 찾아야 하는 것이다.In other words, to effectively remove noise, g (i, j, k) -g (i-dx, j-dx, k-1) = n (i, j, k) -n (i-dx, j-dx, The displacement (dx, dy) that satisfies f (i, j, k) = f (i-dx, j-dx, k-1) so as to be k-1) must be accurately found in each pixel unit.

그러나, MPEG2 동영상 부호화기에서는 블럭단위로 변위(dx,dy)를 찾기 때문에 화소단위의 정확한 변위를 보장할 수 없고, 따라서 g(i,j,k)-g(i-dx,j-dx,k-1)이 노이즈 성분 이외에 신호성분까지도 상당히 포함하게 되고, 이 것을 1-a의 이득제어를 통해서 제어하는 형태로 노이즈 필터링된 영상에는 필연적으로 블럭간의 불연속점에 의한 블럭킹 현상/화질저하가 초래됨은 물론, 순수한 신호성분 까지도 함께 저감되는 문제점이 초래된다.However, since the MPEG2 video encoder finds displacements (dx, dy) in blocks, it is impossible to guarantee accurate displacements in pixels. Therefore, g (i, j, k) -g (i-dx, j-dx, k -1) includes a large amount of signal components in addition to the noise component, and the blocking effect / deterioration of image quality is inevitably caused by the discontinuous point between blocks in the noise filtered image in the form of controlling this through the gain control of 1-a. Of course, even pure signal components are reduced.

본 발명은 노이즈를 포함하고 있는 입력신호에 대하여 순수한 신호성분이라고 판정할수 있는한 최대한의 신호성분을 추출하고(signal preserving), 그 나머지 신호만을 1-a의 이득제어경로의 이득상수(a)를 통하여 제어함으로써 블럭킹현상을 발생시키지 않고 노이즈 제거를 수행할 수 있도록 한 동영상 부호화를 위한 노이즈 제거방법을 제공한다.The present invention extracts the maximum signal component as long as it can determine that it is a pure signal component with respect to the input signal that contains noise, and obtains only the remaining signal with a gain constant (a) of the gain control path of 1-a. The present invention provides a noise removal method for video encoding that enables noise removal to be performed without generating blocking.

또한, 본 발명은 상기 순수한 신호성분의 추출시에 소정의 가중치를 줌으로써, 노이즈를 제거할 화소의 인접화소와의 관계를 고려할 때 급격한 신호의 변화가 있을 경우에도 효과적인 노이즈 제거가 가능하도록 한 동영상 부호화를 위한 노이즈 제거방법을 제공한다.In addition, the present invention provides a video encoding to effectively remove noise even when there is a sudden signal change by considering a relationship with adjacent pixels of pixels to remove noise by giving a predetermined weight when the pure signal component is extracted. Provides a method for removing noise for

도1은 종래의 노이즈 제거방법을 적용한 MPEG2 동영상 부호화기의 블럭도1 is a block diagram of an MPEG2 video encoder to which a conventional noise removing method is applied.

도2는 종래의 노이즈 제거방법에서의 블럭킹효과를 설명하기 위한 도면2 is a diagram for explaining a blocking effect in a conventional noise removing method.

도3은 본 발명의 노이즈 제거방법을 적용한 동영상 부호화기의 제 1 실시예의 블럭도3 is a block diagram of a first embodiment of a video encoder to which the noise removing method of the present invention is applied;

도4는 본 발명의 노이즈 제거방법을 설명하기 위한 파형도Figure 4 is a waveform diagram for explaining the noise removing method of the present invention

도5는 본 발명의 노이즈 제거방법을 적용한 동영상 부호화기의 제 2 실시예의 블럭도5 is a block diagram of a second embodiment of a video encoder to which the noise removing method of the present invention is applied.

도3은 본 발명의 제 1 실시예로서, 노이즈를 포함하는 입력신호에서 노이즈를 제거한 신호성분을 추출하기 위한 신호추출부(300)와, 입력신호와 이전 프레임의 신호성분과의 오차신호에 대하여 상기 신호추출부의 추출정보와의 노이즈 제거 연산 및 이득제어 경로를 이루는 감산기(302),이득제어기(303),가산기(304)와, 상기 연산 및 이득 제어된 신호의 DCT변환과 양자화를 수행하는 DCT/양자화부(305)와, 상기 DCT 및 양자화된 신호를 역변환하는 IQ/IDCT변환부(306)와, 상기 역변환된 신호와 움직임 추정보상부(309)의 출력을 가산하여 출력하는 가산기(307)와, 상기 가산된 신호를 저장하는 메모리(308)와, 상기 메모리(308)의 출력신호에 대하여 움직임 추정과 보상을 수행하는 움직임 추정보상부(309)와, 상기 DCT 및 양자화된 신호를 비트스트림으로 변환하여 출력하기 위한 출력부(VLC/FIFO)(310)로 구성되며, 그 동작은 다음과 같은 일련의 연산 수행과정으로 이루어진다.3 illustrates a signal extracting unit 300 for extracting a signal component from which noise is removed from an input signal including noise, and an error signal between an input signal and a signal component of a previous frame. A subtractor 302, a gain controller 303, and an adder 304 constituting a noise elimination operation and a gain control path with the extraction information of the signal extraction unit, and a DCT for performing DCT conversion and quantization of the operation and gain controlled signal. / Quantizer 305, an IQ / IDCT converter 306 for inversely transforming the DCT and quantized signal, and an adder 307 for adding and outputting the outputs of the inverse transformed signal and the motion estimation compensator 309. And a memory 308 for storing the added signal, a motion estimation compensator 309 for performing motion estimation and compensation on the output signal of the memory 308, and a bitstream of the DCT and the quantized signal. Convert to output Consists of one output unit (VLC / FIFO) (310), the operation is performed in the following sequence of operations performed procedure.

f(i,j,k)=f(i,j,k-1)+(1-a){{g(i,j,k)-f(i,j,k-1)}-L(g(i,j,k)-f(i,j,k-1))}+L(g(i,j,k)-f(i,j,k-1))으로서 그 의미는;f (i, j, k) = f (i, j, k-1) + (1-a) {{g (i, j, k) -f (i, j, k-1)}-L ( g (i, j, k) -f (i, j, k-1))} + L (g (i, j, k) -f (i, j, k-1)), meaning that;

노이즈를 포함하는 현재 프레임의 입력신호(g(i,j,k))와 이전 프레임(k-1)의 예측신호(f(i,j,k-1))의 차이값을 오차신호로서 구하는 과정과, 이 오차신호에 대하여 신호라고 판정될 최대한의 성분을 뽑아내서(signal preserving) 신호성분을 추출하는 과정과, 상기 추출된 신호성분과 상기 오차신호와의 차이값에 대하여 1-a의 이득제어를 수행하여 신호와 노이즈 차이의 레벨에 대응하는 가변이득제어를 통한 노이즈성분의 제거를 수행하는 과정과, 상기 노이즈 성분이 제거된 신호에 상기 추출된 신호성분을 가산하여 노이즈 제거됨과 함께 노이즈 필터링 과정에서 저하된 해상도를 회복할 수 있도록 하는 과정으로 수행되는 것이다.The difference between the input signal g (i, j, k) of the current frame including the noise and the prediction signal f (i, j, k-1) of the previous frame k-1 is obtained as an error signal. Extracting a signal component by extracting a signal preserving maximum component to be determined as a signal with respect to the error signal, and gain of 1-a with respect to a difference value between the extracted signal component and the error signal. Performing control to remove noise components through variable gain control corresponding to the level of the difference between the signal and the noise; adding the extracted signal components to the signal from which the noise components have been removed; This is done in order to recover the reduced resolution.

이러한 본 발명의 동영상 부호화를 위한 노이즈 제거작용을 도4를 더 참조하여 설명하면 다음과 같다.The noise removing operation for video encoding according to the present invention will be described with reference to FIG. 4 as follows.

도4의 (a)와 같이 입력신호(original image)(g(i,j,k))가 감산기(301)에 입력된다.As shown in FIG. 4A, an input signal original image g (i, j, k) is input to the subtractor 301.

감산기(301)는 이 입력신호(g(i,j,k))와 예측된 신호(f(i,j,k-1))-움직임 추정 보상부(309)의 출력신호-를 감산하여 도4의 (b)와 같이 오차신호(motion cmpensation error image)를 구하여 출력한다.The subtractor 301 subtracts this input signal g (i, j, k) and the predicted signal f (i, j, k-1)-the output signal of the motion estimation compensator 309. Obtain and output an error signal (motion cmpensation error image) as shown in 4 (b).

이 오차신호에 대하여 신호 추출부(300)는 노이즈를 제거한 순수한 신호라고 판정될 최대한의 성분을 '신호성분'으로 추출하여 소정의 가중치(L)를 주고 출력한다.The signal extracting unit 300 extracts the maximum component to be determined as a pure signal without noise as a 'signal component' and gives a predetermined weight L to the error signal.

이와같이 노이즈를 포함하는 입력신호에서 신호성분만을 추출해내는 방법은 L()로 표현되는 함수로 주어진다. 구체적으로,As such, the method of extracting only signal components from an input signal including noise is given by a function expressed by L (). Specifically,

1. 오차신호의 평균값을 블럭단위로 취하는 방법,1. A method of taking the average value of error signals in blocks;

2. 화소단위로 저역통과필터링을 수행하는 방법,2. a low pass filtering method pixel by pixel;

3. 화소단위로 인접화소의 급격한 변위를 고려하여 적응적 평균값을 취하는 방법 등 3가지의 방법으로 신호성분만을 추출해낸다.3. Only the signal components are extracted in three ways, taking into account the sudden displacement of adjacent pixels in pixel units.

평균값을 블럭단위로 취하는 방법은 가장 간단한 구성과 계산을 수행하게 되며, 화소단위로 저역통과필터링을 수행하는 방법은 평균값을 취하는 방법보다 복잡하나 적응적 가중치 평균값을 취하는 방법보다는 간단하고 적은 계산량으로 화소단위의 노이즈 필터링을 가능하게 하며, 적응적 가중치 평균값을 취하는 방법은 구성이 복잡하고 많은 계산량이 요구되지만, 화소의 급격한 변위가 있을 경우에는 가중치를 줄여주는 방법을 사용함으로써 노이즈 필터링 효과가 가장 우수하게 확보될 수 있다.The method of taking the average value in units of blocks performs the simplest configuration and calculation. The method of performing low pass filtering in units of pixels is more complicated than the method of taking average values, but the pixels are simpler and less computationally than the method of taking adaptive weighted average values. It is possible to filter the noise in units, and the method of taking the adaptive weighted average value is complicated to construct and requires a large amount of calculation. However, when there is a sudden displacement of the pixel, the method of reducing the weight is the best. Can be secured.

블럭단위로 평균값을 구하는 방법은 g(i,j,k)와 f(i,j,k-1)에 대하여 각각의 차이값을 누산하고 그 것을 블럭사이즈로 제산함으로써 간단하게 구해진다.The average value is calculated in block units by simply accumulating the difference values for g (i, j, k) and f (i, j, k-1) and dividing them by the block size.

화소단위로 저역통과필터링을 수행하는 방법은 g(i,j,k)와 f(i,j,k-1)의 차이값에 대하여 i,j위치에 따라 가중치를 주고 이 것들을 필터링될 화소를 기준으로 인접화소와의 폭(-W,+W)에 해당하는 만큼 누산함으로써 간단하게 구해진다.The low-pass filtering method in pixel units is weighted according to the positions i and j for the difference between g (i, j, k) and f (i, j, k-1), and the pixels to be filtered are selected. It is obtained simply by accumulating as much as the width (-W, + W) with adjacent pixels as a reference.

화소단위로 적응적 가중치 평균을 구하는 방법 또한, 화소단위 저역통과 필터링과 동일하며, 단지 이 경우에는 노이즈의 진폭과 필터링될 화소를 기준으로 전후 위치의 화소와의 변위정도를 고려하여, 노이즈의 진폭과 인접화소의 변위정도의 차이값이 큰 것을 -W,+W 사이에서 누산한 결과를 기준으로 그 차이값이 크면 가중치를 줄여주고, 작으면 가중치를 늘려주는 필터링을 수행한다.The method of obtaining the adaptive weighted average on a pixel basis is also the same as the low pass filtering on a pixel basis. In this case, the amplitude of the noise is considered in consideration of the amplitude of the noise and the displacement of the pixels in the front and rear positions with respect to the pixel to be filtered. Based on the result of accumulating between -W and + W, the difference between the displacement of the and the adjacent pixels is large. If the difference is large, the weight is reduced and if it is small, the weight is increased.

위와같이 하여 도4의 (c)와같이 구한 신호성분 L(g(i,j,k)-f(i,j,k-1))은 노이즈 필터링연산 및 이득제어와 이 과정 수행후의 신호에 순수한 신호성분으로서 보전한 신호로 다시 가산해 주게 된다.The signal component L (g (i, j, k) -f (i, j, k-1)) obtained as shown in FIG. 4 (c) is applied to the noise filtering operation and gain control and the signal after performing this process. It is added as a pure signal component to the preserved signal.

즉, 감산기(302)에서는 오차신호(g(i,j,k)-f(i,j,k-1))와 상기 순수한 신호성분으로 추출해낸 L(g(i,j,k)-f(i,j,k-1))의 차이값을 연산출력하고, 이득제어기(303)에서는 이 차이값에 대하여 그 차이값의 대소에 따른 이득(a)의 가변제어를 통해서 도4의 (d)와같이 필터링(temporal filtering)된 이득제어된 신호를 출력하게 된다.That is, the subtractor 302 uses the error signals g (i, j, k) -f (i, j, k-1) and L (g (i, j, k) -f extracted from the pure signal components. The difference value of (i, j, k-1)) is calculated and output, and the gain controller 303 uses the variable control of gain (a) according to the magnitude of the difference value with respect to the difference value (d) in FIG. Outputs a gain controlled signal filtered by temporal filtering.

위의 과정은 결국, 노이즈가 제거된 신호성분에 1-a의 이득상수(a)로 대표되는 신호경로로부터 순수한 신호성분(f(i,j,k))을 가지고 있는 부분에 대하여 노이즈 필터링 과정에서 저하된 해상도를 회복하기 위한 신호를 추출하는 일련의 과정이되는 것이다.The above process results in a noise filtering process for a portion having pure signal components f (i, j, k) from the signal path represented by the gain constant (a) of 1-a in the signal components without noise. In this is a series of processes to extract the signal to recover the degraded resolution.

이렇게 하여 이득제어기(303)에서 출력된 신호에 상기 신호추출부(300)에서 추출된 순수한 신호성분 L(g(i,j,k)-f(i,j,k-1))을 가산기(304)를 이용하여 가산해 줌으로써, 노이즈 필터링 과정에서 저하된 해상도를 회복할 수 있게한다.In this way, the pure signal component L (g (i, j, k) -f (i, j, k-1)) extracted by the signal extraction unit 300 is added to the signal output from the gain controller 303 ( By using the method 304, it is possible to recover the resolution degraded during the noise filtering process.

이후에는 DCT/양자화부(305)의 양자화 과정을 거쳐서 역변환부(306)에 의해서 역양자화 및 역DCT변환을 수행하고 이 것을 가산기(307)에서 이전 프레임의 예측신호와 가산한 결과를 메모리(308)에 저장하고 이 저장된 신호에 대하여 움직임 추정 보상부(309)에서 움직임 추정 보상하는 과정, 위 과정을 거쳐서 노이즈 필터링된 신호에 대하여 DCT/양자화부(305)의 양자화 과정을 거쳐서 출력부(310) (VLC/FIFO)로 출력(비트 스트림)되는 과정을 수행하게 된다.Subsequently, inverse quantization and inverse DCT transformation is performed by the inverse transformer 306 through the quantization process of the DCT / quantization unit 305, and the result of adding the prediction signal of the previous frame to the memory 308 by the adder 307. The motion estimation compensation unit 309 performs motion estimation compensation on the stored signal, and the output unit 310 undergoes the quantization of the DCT / quantization unit 305 with respect to the noise filtered signal through the above process. A process of outputting (bit stream) to (VLC / FIFO) is performed.

도4의 (f)는 최종적으로 노이즈 필터링된 신호(f(i,j,k))(Filtered image)를 나타내며, 블럭 경계점에서의 신호단절이 저감되어 블럭킹 현상이 저감되었음을 보이고 있다.FIG. 4 (f) shows a final noise-filtered signal f (i, j, k) (Filtered image), and shows that the blocking phenomenon is reduced by reducing the signal disconnection at the block boundary point.

도5는 본 발명의 동영상 부호화를 위한 노이즈 제거방법을 적용한 노이즈 제거장치의 제 2 실시예로서,5 is a second embodiment of a noise removing apparatus to which a noise removing method for video encoding according to the present invention is applied.

노이즈를 포함하는 입력신호에서 노이즈를 제거한 신호성분을 추출하기 위한 신호추출부(500)와, 상기 추출된 신호성분에 대하여 가변되는 이득(a)으로 제어되는 이득 제어기(501)와, 상기 입력신호에 대하여 가변되는 이득(1-a)으로 제어되는 이득 제어기(502)와, 상기 입력 영상신호와 이전 프레임 영상신호와의 차분신호를 구하기 위한 감산기(511) 및 이 감산기(511)의 차분신호값에 따라서 상기 이득(a)를 가변제어하는 이득 가변기(512)와, 상기 이득 제어기(501,502)의 출력값을 가산하는 가산기(503)와, 상기 가산기(503)의 출력값과 이전 프레임의 신호성분과의 오차신호에 대하여 그 차이값을 출력하는 감산기(504)와, 상기 연산 및 이득 제어된 신호의 DCT변환과 양자화를 수행하는 DCT/양자화부(505)와, 상기 DCT 및 양자화된 신호를 역변환하는 IQ/IDCT변환부(506)와, 상기 역변환된 신호와 움직임 추정보상부(509)의 출력을 가산하여 출력하는 가산기(507)와, 상기 가산된 신호를 저장하는 메모리(508)와, 상기 메모리(508)의 출력신호에 대하여 움직임 추정과 보상을 수행하는 움직임 추정보상부(509)와, 상기 DCT 및 양자화된 신호를 비트스트림으로 변환하여 출력하기 위한 출력부(VLC/FIFO)(510)로 구성되며, 그 동작은 다음과 같은 일련의 연산 수행과정으로 이루어진다.A signal extractor 500 for extracting a signal component from which noise is removed from an input signal including noise, a gain controller 501 controlled by a gain a varying with respect to the extracted signal component, and the input signal A gain controller 502 controlled with a gain (1-a) variable with respect to the subtractor, a subtractor 511 for obtaining a difference signal between the input video signal and the previous frame video signal, and the difference signal value of the subtractor 511 A gain variable 512 for variably controlling the gain a, an adder 503 for adding output values of the gain controllers 501 and 502, an output value of the adder 503, a signal component of a previous frame, A subtractor 504 for outputting a difference value with respect to an error signal of a DCT, a DCT / quantizer 505 for performing DCT conversion and quantization of the operation and gain controlled signal, and an inverse transform for the DCT and quantized signal. IQ / IDCT conversion unit 506, An adder 507 for adding and outputting the inverse transformed signal and the output of the motion estimation compensator 509, a memory 508 for storing the added signal, and a motion estimation for the output signal of the memory 508 And a motion estimation compensator 509 for performing compensation, and an output unit (VLC / FIFO) 510 for converting and outputting the DCT and the quantized signal into a bitstream. It consists of a calculation operation process of.

f(i,j,k)=f(i,j,k-1)+(1-a){g(i,j,k)}+(a){L(g(i,j,k)-f(i,j,k-1))}으로서 그 의미는;f (i, j, k) = f (i, j, k-1) + (1-a) {g (i, j, k)} + (a) {L (g (i, j, k) -f (i, j, k-1))}, meaning;

노이즈를 포함하는 현재 프레임의 입력신호(g(i,j,k))와 이전 프레임(k-1)의 예측신호(f(i,j,k-1))로부터 신호라고 판정될 최대한의 성분을 추출하는 과정과, 상기 신호성분과 상기 입력신호에 대하여 오차신호값에 따른 각각의 이득(a,1-a)제어를 수행하는 과정과, 상기 이득제어된 값을 합한 값과 이전 프레임의 예측신호와의 차이값을 구하여 노이즈 필터링된 신호값으로 출력하는 과정을 수행하는 것이다.Maximum component to be determined as a signal from the input signal g (i, j, k) of the current frame including the noise and the predicted signal f (i, j, k-1) of the previous frame k-1. Extracting a signal, performing gain (a, 1-a) control on the signal component and the input signal according to an error signal value, and adding the gain-controlled value to a prediction of a previous frame. The process of obtaining a difference value from the signal and outputting it as a noise-filtered signal value.

이러한 본 발명의 동영상 부호화를 위한 노이즈 제거작용은 도3으로부터 출발한다.The noise removing operation for video encoding of the present invention starts from FIG.

즉, 도3의 실시예는That is, the embodiment of Figure 3

f(i,j,k)=f(i,j,k-1)+(1-a){{g(i,j,k)-f(i,j,k-1)}-L(g(i,j,k)-f(i,j,k-1))}+L(g(i,j,k)-f(i,j,k-1))의 과정인데, 여기서 이전 프레임(k-1)의 예측된 신호성분(f(i,j,k))이 그 때 추출된 신호성분(L(f(i,j,k-1))과 동일한 것으로 간주함으로써 도5의 실시예를 구현한 것이다.f (i, j, k) = f (i, j, k-1) + (1-a) {{g (i, j, k) -f (i, j, k-1)}-L ( g (i, j, k) -f (i, j, k-1))} + L (g (i, j, k) -f (i, j, k-1)), where previous 5 by considering the predicted signal component f (i, j, k) of the frame k-1 to be the same as the signal component L (f (i, j, k-1) extracted at that time. An embodiment is implemented.

즉, f(i,j,k) = f(i,j,k-1)+(1-a){{g(i,j,k)-f(i,j,k-1)}That is, f (i, j, k) = f (i, j, k-1) + (1-a) {{g (i, j, k) -f (i, j, k-1)}

-L(g(i,j,k)-f(i,j,k-1))}+L(g(i,j,k)-f(i,j,k-1))-L (g (i, j, k) -f (i, j, k-1))} + L (g (i, j, k) -f (i, j, k-1))

= f(i,j,k-1)+(1-a){g(i,j,k)-f(i,j,k-1)}= f (i, j, k-1) + (1-a) {g (i, j, k) -f (i, j, k-1)}

+(a){L(g(i,j,k)-f(i,j,k-1))}+ (a) {L (g (i, j, k) -f (i, j, k-1))}

= f(i,j,k-1)+(1-a){(g(i,j,k)}+(a){L(g(i,j,k)-f(i,j,k-1))}= f (i, j, k-1) + (1-a) {(g (i, j, k)} + (a) {L (g (i, j, k) -f (i, j, k-1))}

의 과정으로 하여, 입력신호(g(i,j,k))와 예측된 신호(f(i,j,k-1))로부터 신호추출부(500)에서 순수한 신호성분 L(g(i,j,k))을 추출해내고, 현재 입력영상신호와 이전 프레임의 영상신호에 대하여 감산기(511)에서 차분신호를 구하고, 이 차분신호값에 따라서 이득 가변기(512)가 이득 제어기(501)의 이득(a)을 제어하며, 상기 추출된 순수한 신호성분값을 이득 제어기(501)를 통과시켜 이득(a)을 취하며, 입력신호에 대하여 그대로 이득(1-a)을 취하여 이 두값을 가산한 결과로부터 이전 프레임의 예측된 신호와의 차이값을 구함으로써 노이즈 필터링을 수행하는 것이다.In the process of, the signal extracting unit 500 from the input signal g (i, j, k) and the predicted signal f (i, j, k-1) is pure signal component L (g (i, j, k)), and the difference signal is obtained from the subtractor 511 with respect to the current input video signal and the video signal of the previous frame, and the gain variable 512 of the gain controller 501 according to the difference signal value is obtained. Gain (a) is controlled, the extracted pure signal component value is passed through the gain controller 501 to obtain a gain (a), and the gain (1-a) is added to the input signal as it is and these two values are added. Noise filtering is performed by obtaining a difference value from the predicted signal of the previous frame from the result.

이후의 양자화, 역양자화, 메모리 및 움직임 추정과 보상, 비트스트림 변환은 상기한 바와 동일하게 수행된다.Subsequent quantization, inverse quantization, memory and motion estimation and compensation, and bitstream conversion are performed as described above.

도5의 실시예와 도3의 실시예는 다음과 같은 차이점을 가진다.The embodiment of FIG. 5 and the embodiment of FIG. 3 have the following differences.

즉, 필터링할 화소의 관점에서 볼 때 도5의 실시예는 이전 프레임의 화소도 함께 고려하여 필터링을 할 수 있는 경우이고, 도3의 실시예는 차분신호만을 고려하는 차이가 있다.That is, from the viewpoint of the pixel to be filtered, the embodiment of FIG. 5 may filter in consideration of the pixels of the previous frame, and the embodiment of FIG. 3 has a difference considering only the difference signal.

그래서, 도5의 실시예로 구현할 경우에는 노이즈 필터의 필터 지원 영역의 데이타를 보다 일반화된 방법으로 이용할 수 있기 때문에 노이즈 제거효과를 도3의 경우보다 크게할 수 있는 장점이 있다.Thus, when the embodiment of FIG. 5 is implemented, the data of the filter support area of the noise filter may be used in a more generalized manner, thereby increasing the noise removing effect than the case of FIG.

따라서, 입력 영상에 존재하는 노이즈 성분이 클 경우에 적합하며, 노이즈 성분이 작을 경우에는 도4의 구성이 계산량 면에서 유리하기 때문에 이 노이즈 성분이 작은 경우에 적용하면 유용하다.Therefore, it is suitable when the noise component present in the input image is large, and when the noise component is small, it is useful to apply it when the noise component is small because the configuration of Fig. 4 is advantageous in terms of calculation amount.

도5의 실시예에서 이루어지는 신호추출의 방법은 상기 도4의 그 것과 동일하게 이루어진다.The signal extraction method in the embodiment of FIG. 5 is the same as that of FIG.

본 발명의 동영상 부호화를 위한 노이즈 제거방법과 그 장치에 의하면, 노이즈 필터링된 신호성분을 미리 추출해내고, 그 나머지 신호만을 가지고 이득제어를 통한 필터링을 한 후에 원래의 순수한 상기 추출 신호성분을 가산해 줌으로써 신호의 해상도를 유지하면서 노이즈 성분을 제거할 수 있다.According to the noise removing method and apparatus therefor according to the present invention, the noise-filtered signal components are extracted in advance, and after filtering through gain control with only the remaining signals, the original pure extracted signal components are added. Noise components can be removed while maintaining the resolution of the signal.

또한, 블럭단위로 영상을 처리함에 있어 이 것을 고려한 노이즈 필터링을 수행하기 때문에 블럭킹 현상을 줄이고, 화질의 향상을 기대할 수 있다.In addition, since processing of the image in block units performs noise filtering in consideration of this, it is possible to reduce the blocking phenomenon and to improve the image quality.

Claims (6)

노이즈를 포함하는 현재 입력영상신호와 이전의 노이즈 제거된 영상신호와의 차분신호를 구하는 오차신호 추출과정과, 상기 오차신호에 대하여 노이즈를 제거한 순수한 신호성분만을 추출하는 신호추출과정과, 상기 오차신호와 상기 추출된 신호와의 차이값에 대하여 그 레벨에 따른 가변이득제어를 통해서 노이즈 성분을 저감시키는 노이즈 저감과정과, 상기 노이즈 저감된 신호성분에 상기 추출된 신호를 가산하여 노이즈를 제거하는 동시에 노이즈 필터링 과정에서 저하된 해상도를 회복할 수 있도록 하는 과정으로 제어함을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.An error signal extraction process for obtaining a difference signal between a current input video signal including noise and a previous noise canceled video signal, a signal extraction process for extracting only pure signal components from which noise is removed from the error signal, and the error signal And a noise reduction process for reducing a noise component through a variable gain control according to the level with respect to a difference value between the extracted signal and a noise obtained by adding the extracted signal to the noise reduced signal component to remove noise. Noise reduction method for video encoding characterized in that the control to the process to recover the reduced resolution during the filtering process. 제 1 항에 있어서, 상기의 신호추출과정은 블럭단위로 영상신호의 평균값으로 구하는 것을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.The method of claim 1, wherein the signal extraction process is performed as an average value of a video signal in units of blocks. 제 1 항에 있어서, 상기의 신호추출과정은 화소단위로 저역통과필터링을 수행하여 구하는 것을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.The method of claim 1, wherein the signal extraction process is performed by performing low pass filtering on a pixel-by-pixel basis. 제 1 항에 있어서, 상기의 신호추출과정은 필터링될 화소를 기준으로 전후 위치의 화소와의 변위정도를 고려하여 그 변위정도에 대응하는 적응적 가중치를 부여하여 구하는 것을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.The method of claim 1, wherein the signal extraction process is performed by applying an adaptive weight corresponding to the degree of displacement in consideration of the degree of displacement with the pixels in the front and rear positions on the basis of the pixel to be filtered. How to remove noise. 노이즈를 포함하는 현재 입력영상신호와 이전의 노이즈 제거된 영상신호로부터 노이즈를 제거한 순수한 신호성분만을 추출하는 신호추출과정과, 상기 입력 영상신호 및 상기 추출된 신호를 각각 가변이득제어하는 과정과, 상기 추출된 영상신호와 상기 가변이득제어된 신호를 합한 신호와 이전 영상신호와의 차이값으로 노이즈 필터링된 영상신호를 출력하는 과정으로 제어함을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.A signal extraction process of extracting only pure signal components from which noise is removed from a current input video signal including noise and a previous noise canceled video signal, variable gain control of the input video signal and the extracted signal, respectively; And outputting a noise-filtered video signal based on a difference between the sum of the extracted video signal and the variable gain-controlled signal and the previous video signal. 제 5 항에 있어서, 입력영상신호와 이전 프레임의 영상신호의 차분신호를 구하여 이 차분신호레벨에 따라서 상기의 가변이득제어를 수행함을 특징으로 하는 동영상 부호화를 위한 노이즈 제거방법.6. The method of claim 5, wherein the variable gain control is performed according to the difference signal level by obtaining the difference signal between the input video signal and the video signal of the previous frame.
KR1019970081043A 1997-12-31 1997-12-31 Noise removal method for motion picture encoding KR100299485B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019970081043A KR100299485B1 (en) 1997-12-31 1997-12-31 Noise removal method for motion picture encoding
US09/221,980 US6408104B1 (en) 1997-12-31 1998-12-29 Method and apparatus for eliminating noise in a video signal encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970081043A KR100299485B1 (en) 1997-12-31 1997-12-31 Noise removal method for motion picture encoding

Publications (2)

Publication Number Publication Date
KR19990060799A KR19990060799A (en) 1999-07-26
KR100299485B1 true KR100299485B1 (en) 2001-10-27

Family

ID=37528727

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970081043A KR100299485B1 (en) 1997-12-31 1997-12-31 Noise removal method for motion picture encoding

Country Status (1)

Country Link
KR (1) KR100299485B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100345286B1 (en) * 2000-07-05 2002-07-25 한국과학기술원 Moving picture encoder and moving picture encoding method
CN117389434B (en) * 2023-12-12 2024-03-29 基合半导体(宁波)有限公司 Signal detection method applied to touch screen, device and storage medium

Also Published As

Publication number Publication date
KR19990060799A (en) 1999-07-26

Similar Documents

Publication Publication Date Title
KR0165497B1 (en) Post processing apparatus and method for removing blocking artifact
US5568196A (en) Motion adaptive noise reduction filter and motion compensated interframe coding system using the same
KR100304660B1 (en) Method for encoding video signals by accumulative error processing and encoder
KR100203710B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
JP3678481B2 (en) Video data post-processing method
KR20040058929A (en) Advanced method for encoding video based on DCT and apparatus thereof
KR20050009372A (en) Method and apparatus of video noise reduction
JP3209171B2 (en) Video encoding device
JP2000078578A (en) Technique for video communication using encoding match filter device
US5675386A (en) Method for encoding motion image and apparatus therefor
JPH11177993A (en) Moving image encoding device
KR100299485B1 (en) Noise removal method for motion picture encoding
US6408104B1 (en) Method and apparatus for eliminating noise in a video signal encoder
WO2000001158A1 (en) Encoder and encoding method
KR100463508B1 (en) Gain Control Method for Noise Reduction of Video Encoder
JPH08274996A (en) Image processing unit
KR100287214B1 (en) Method and system for encoding motion pictures
JPH0678296A (en) Picture coding device and picture noise elimination device
KR100229795B1 (en) Improved image decoding system
KR100286220B1 (en) apparatus and method for adaptative quantizing in image coder
JP2007516639A (en) Encoding method and encoding apparatus
KR0122744B1 (en) Apparatus for cording picture by adaptive processing
KR100203663B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203676B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203629B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream

Legal Events

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

Payment date: 20070418

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee