KR100229791B1 - Adaptive image coding system having functions for controlling bandpath of video signals - Google Patents

Adaptive image coding system having functions for controlling bandpath of video signals Download PDF

Info

Publication number
KR100229791B1
KR100229791B1 KR1019960024044A KR19960024044A KR100229791B1 KR 100229791 B1 KR100229791 B1 KR 100229791B1 KR 1019960024044 A KR1019960024044 A KR 1019960024044A KR 19960024044 A KR19960024044 A KR 19960024044A KR 100229791 B1 KR100229791 B1 KR 100229791B1
Authority
KR
South Korea
Prior art keywords
frame
block
value
encoding
signal
Prior art date
Application number
KR1019960024044A
Other languages
Korean (ko)
Other versions
KR980007727A (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 KR1019960024044A priority Critical patent/KR100229791B1/en
Publication of KR980007727A publication Critical patent/KR980007727A/en
Application granted granted Critical
Publication of KR100229791B1 publication Critical patent/KR100229791B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • H04N19/635Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by filter definition or implementation details
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • 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/172Methods 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 picture, frame or field
    • 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/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/439Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using cascaded computational arrangements for performing a single operation, e.g. filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

본 발명은, 부호화하고자 하는 해당 프레임의 픽셀값 평균과 각 프레임의 평균값에 근거한 이전 소정시간 동안의 다수의 프레임의 단시간 통계에 의거하여 입력 영상의 장면전환을 검출하고, 그 검출결과에 따른 영상의 장면전환시에 필터링을 통한 대역 제한 기법을 이용하여 입력 영상신호의 고주파 성분을 적응적으로 제거 함으로써, 부호화후의 비트 발생량을 효율적으로 조절할 수 있도록 한 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템에 관한 것으로, 이를 위하여 본 발명은, 부호화를 위해 순차 입력되는 프레임 각각에 대해 픽셀의 평균값을 추출하고; 추출된 평균값들을 이용하여 입력되는 해당 프레임에 대한 예측값을 추출하고, 입력되는 매 프레임 각각에 대해 그 평균(MIp)값과 추출된 예측값간의 예측오차값을 산출하며, 매 프레임 각각에 대해 산출된 예측오차값의 평균과 표준편차를 산출하여 기설정된 소정시간 동안의 단시간 통계를 산출하며; 현재 입력 프레임의 통계적 특성과 산출된 단시간 특성간의 비교결과에 의거하여 현재 입력 프레임에 대해 필터링 기법을 이용하여 그 통과 대역을 제한하고; 현재 입력 프레임 자체 또는 필터링 기법을 통해 고주파 성분이 제거된 대역 제한 프레임을 DCT, 양자화, VLC 기법 등을 갖는 부호화 수단에 선택적으로 제공하는 기술적수단을 포함함으로써, 입력 영상에서 큰 복잡도를 갖는 장면전환 상황이 발생하더라도 부호화 수단에서의 양자화시 과도한 스텝 사이즈의 증가 없이 부호화후 발생되는 비트량을 효과적으로 조절할 수 있는 것이다.According to the present invention, a scene change of an input image is detected based on short-time statistics of a plurality of frames for a predetermined time period based on the average pixel value of the corresponding frame to be encoded and the average value of each frame, The present invention relates to an adaptive video encoding system having a band limit function for efficiently controlling the amount of bits generated after encoding by adaptively removing a high frequency component of an input video signal by using a band limiting technique through filtering during scene changeover. To this end, the present invention is to extract the average value of the pixel for each frame sequentially input for encoding; Using the extracted average values, a prediction value for the corresponding frame is extracted, and a prediction error value between the average (MIp) value and the extracted prediction value is calculated for each input frame, and the prediction calculated for each frame Calculating short-time statistics for a predetermined time by calculating an average and a standard deviation of the error values; Limiting the passband of the current input frame using a filtering technique based on a comparison result between the statistical characteristics of the current input frame and the calculated short-time characteristics; A scene change situation having a large complexity in the input image by including technical means for selectively providing a band-limited frame from which a high frequency component has been removed through the current input frame itself or a filtering technique to an encoding means having a DCT, quantization, or VLC technique. Even if this occurs, the amount of bits generated after encoding can be effectively adjusted without excessive step size increase during quantization in the encoding means.

Description

대역 제한 기능을 갖는 적응적인 영상 부호화 시스템Adaptive Video Coding System with Band Limit Function

제1도는 본 발명의 바람직한 실시예에 따른 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템의 블럭구성도.1 is a block diagram of an adaptive video encoding system having a band limit function according to a preferred embodiment of the present invention.

제2도는 제1도의 전처리 블럭에 대한 세부적인 블럭구성도.2 is a detailed block diagram of the preprocessing block of FIG.

제3도는 본 발명에 따라 입력 영상이 장면전환 부분일 때 일예로서 8×8 픽셀 블럭에 대하여 하나의 고정된 레벨로 결정되는 고주파 성분 제한을 위한 결정 영역을 도시한 도면.3 is a view showing a determination region for high frequency component limitation determined as one fixed level for an 8x8 pixel block as an example when the input image is a scene change portion according to the present invention;

제4도는 본 발명에 따라 입력 영상이 장면전환 부분일 때 일예로서 8×8 픽셀 블럭에 대하여 그 복잡정도에 의거하여 적응적으로 결정되는 고주파 성분 제한을 위한 결정 영역을 도시한 도면.4 is a view showing a decision region for limiting high frequency components that is adaptively determined based on the complexity of an 8x8 pixel block as an example when the input image is a scene change portion according to the present invention.

제5도는 본 발명에 따라 일예로서 8×8 픽셀 블럭에 대한 예시도.5 is an exemplary diagram for an 8x8 pixel block as an example in accordance with the present invention.

제6도는 본 발명에 따른 일예로써 차수가 7인 1차원 저역 통과 필터계수를 도시한 예시도.6 is an exemplary view showing a one-dimensional low pass filter coefficient of order 7 as an example according to the present invention.

제7도는 본 발명의 다른 실시예에 따른 일예로써 (0,4)위치에서의 수평 방향 필터링과 (3,0)위치에서의 수직 방향 필터링 과정을 도시한 예시도.7 is an exemplary diagram illustrating a horizontal filtering process at (0,4) and a vertical filtering process at (3,0) as an example according to another exemplary embodiment of the present invention.

제8도는 본 발명의 다른 실시예에 따른 일예로써 3×3 차수의 2차원 저역통과 필터계수를 도시한 예시도.8 is an exemplary view showing a 2D lowpass filter coefficient of 3x3 order as an example according to another embodiment of the present invention.

제9도는 위치에서의 2차원 필터링 과정을 도시한 예시도.9 is an exemplary diagram illustrating a two-dimensional filtering process at a position.

제10도는 본 발명의 다른 실시예에 따른 제2도에 도시된 프레임 예측 블럭의 세부적인 블럭구성도.10 is a detailed block diagram of a frame prediction block shown in FIG. 2 according to another embodiment of the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100, 180 : 프레임 메모리 110 : 전처리 블럭100, 180: frame memory 110: preprocessing block

115 : 스위칭 블럭 120 : 감산기115: switching block 120: subtractor

130 : 영상 부호화 블럭 140 : 엔트로피 부호화 블럭130: image coding block 140: entropy coding block

150 : 전송 버퍼 160 : 영상 복호화 블럭150: transmission buffer 160: video decoding block

170 : 가산기 190 : 현재 프레임 예측 블럭170: adder 190: current frame prediction block

1110 : 통계적 특성 산출 블럭 1120 : 제어 블럭1110: statistical characteristic calculation block 1120: control block

1130 : 메모리 블럭 1140 : 대역 제한 블럭1130: memory block 1140: band limit block

1141 : DCT 블럭 1143 : 양자화 블럭1141: DCT block 1143: quantization block

1145 : 주파수 선택기 1147 : 역양자화 블럭1145 frequency selector 1147 dequantization block

1149 : IDCT 블럭1149: IDCT block

본 발명은 영상신호를 압축 부호화하는 영상 부호화 시스템에 관한 것으로, 더욱 상세하게는 압축 부호화를 위해 입력되는 소정시간 동안의 다수의 프레임 신호에 대한 평균값을 이용하여 입력 영상의 장면전환을 검출하고, 이 검출결과에 상응하여 부호화후의 발생 비트량을 적응적으로 조절하는 데 적합한 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템에 관한 것이다.The present invention relates to a video encoding system for compression encoding video signals. More particularly, the present invention relates to a video encoding system that detects a scene change of an input video using an average value of a plurality of frame signals during a predetermined time input for compression encoding. The present invention relates to an adaptive video encoding system having a band limit function suitable for adaptively adjusting the amount of generated bits after encoding in accordance with a detection result.

이 기술분야에 잘 알려진 바와같이 이산된 영상신호의 전송은 아날로그 신호보다 좋은 화질을 유지할 수 있다. 일련의 이미지 "프레임"으로 구성된 비디오 신호가 디지털 형태로 표현될 때, 특히 고품질 텔레비젼(일명 HDTV라 함)의 경우 상당한 양의 데이터가 전송되어야 한다. 그러나 종래의 전송 채널의 사용 가능한 주파수 영역은 제한되어 있으므로, 많은 양의 디지털 데이터를 전송하기 위해서는 전송되는 데이터를 압축하여 그 양을 줄일 필요가 있다. 이와같이 데이터를 압축하는 다양한 압축 기법 중에서, 확률적 부호화 기법과 시간적, 공간적 압축 기법을 결합한 하이브리드 부호화 기법이 가장 효율적인 것으로 알려져 있으며, 이러한 기법들은, 예를들면 세계 표준화 기구에 의해 그 표준안이 이미 제정된 MPEG-1 및 MPEG­2등의 권고안에 광범위하게 개시되어 있다.As is well known in the art, the transmission of discrete video signals can maintain better image quality than analog signals. When a video signal consisting of a series of image "frames" is represented in digital form, a significant amount of data must be transmitted, especially for high quality televisions (aka HDTVs). However, since the usable frequency range of the conventional transmission channel is limited, in order to transmit a large amount of digital data, it is necessary to compress the transmitted data and reduce the amount thereof. Among the various compression methods for compressing data, hybrid coding which combines probabilistic coding with temporal and spatial compression is known to be the most efficient, and these techniques have been proposed by the World Standards Organization for example. It is widely disclosed in recommendations such as MPEG-1 and MPEG2.

대부분의 하이브리드 부호화 기법은 움직임 보상 DCPM(차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화)등을 이용한다. 움직임 보상 DPCM은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분신호를 만들어내는 방법이다. 이 방법은 예를들어 Staffan Ericsson의 "Fixed and Adaptive Predictors for Hybrid Predictive/Transform Coding", IEEE Transactions on Communication, COM­33, NO.12 (1985년, 12월), 또는 Ninomiy와 Ohtsuka의 "A motion Compensated Interframe Coding Scheme for Television Pictures", IEEE Transactions on Communication, COM­30, NO.1(1982년, 1월)에 기재되어 있다.Most hybrid coding techniques use motion compensated DCPM (differential pulse code modulation), two-dimensional DCT (discrete cosine transform), quantization of DCT coefficients, VLC (variable length coding), and the like. The motion compensation DPCM determines a motion of an object between a current frame and a previous frame, and predicts a current frame according to the motion of the object to generate a difference signal representing a difference between the current frame and a predicted value. This can be done for example in Staffan Ericsson's "Fixed and Adaptive Predictors for Hybrid Predictive / Transform Coding", IEEE Transactions on Communication, COM33, NO.12 (December 1985, December), or "A motion Compensated Interframe" by Ninomiy and Ohtsuka. Coding Scheme for Television Pictures ", IEEE Transactions on Communication, COM30, NO.1 (January, 1982).

일반적으로, 이차원 DCT는 영상 데이터간의 공간적 리던던시를 이용하거나 제거하는 것으로써, 디지털 영상 데이터 블럭, 예를들면 8×8 블럭을 DCT 변환계수로 변환한다. 이 기법은 Chen과 Pratt의 "Scene Adaptive Coder", IEEE Transactions on Communication, COM­32, NO.3 (1984년, 3월)에 개시되어 있다. 이러한 DCT 변환계수는 양자화기, 지그재그 주사, VLC등을 통해 처리됨으로써 전송할 데이터의 양을 효과적으로 감축(또는 압축)할 수 있다.In general, two-dimensional DCT converts digital image data blocks, for example, 8x8 blocks, into DCT conversion coefficients by using or removing spatial redundancy between image data. This technique is described in Chen and Pratt's "Scene Adaptive Coder", IEEE Transactions on Communication, COM # 32, NO.3 (March, 1984). The DCT conversion coefficient may be processed through a quantizer, zigzag scan, VLC, etc. to effectively reduce (or compress) the amount of data to be transmitted.

보다 상세하게, 움직임 보상 DPCM에서는 현재 프레임과 이전 프레임간에 추정된 물체의 움직임에 따라, 현재 프레임을 이전 프레임으로부터 예측한다. 이와 같이 추정된 움직임은 이전 프레임과 현재 프레임간의 변위를 나타내는 2차원 움직임 벡터로 나타낼 수 있다.More specifically, the motion compensation DPCM predicts the current frame from the previous frame according to the motion of the object estimated between the current frame and the previous frame. The estimated motion may be represented by a two-dimensional motion vector representing the displacement between the previous frame and the current frame.

통상적으로, 물체의 변위를 추정하는 데에는 여러 가지 접근 방법이 있다. 이들은 일반적으로 두개의 타입으로 분류되는 데, 그중 하나는 블럭 매칭 알고리즘을 이용하는 블럭단위 움직임 추정 방법이고 다른 하나는 화소순환 알고리즘을 이용하는 화소단위 움직임 추정 방법이다.Typically, there are several approaches to estimating the displacement of an object. These are generally classified into two types, one of which is a block-by-block motion estimation method using a block matching algorithm and the other is a pixel-by-pixel motion estimation method using a pixel circulation algorithm.

상기와 같이 물체의 변위를 추정하는 움직임 추정 방법중, 화소단위 움직임 추정 방법을 이용하면 변위는 각각의 화소 전부에 대해 구해진다. 이러한 방법은 화소값을 더 정확히 추정할 수 있고 스케일 변화(예를들어, 영상면에 수직한 움직임인 주밍(zooming))도 쉽게 다를 수 있다는 장점을 갖는 반면에, 움직임 벡터가 모든 화소 각각에 대해 결정되기 때문에, 다량의 움직임 벡터들이 발생하는 데 실질적으로 모든 움직임 벡터를 수신기로 전송하다는 것은 불가능하다.In the motion estimation method for estimating the displacement of an object as described above, the displacement is obtained for all of the pixels using the pixel-based motion estimation method. This method has the advantage that the pixel value can be estimated more accurately and the scale change (e.g., zooming, which is a movement perpendicular to the image plane) can be easily different, while the motion vector is different for each pixel. Since it is determined, it is impossible to transmit substantially all the motion vectors to the receiver as large amounts of motion vectors occur.

또한, 블럭단위 움직임 추정에서는, 현재 프레임의 소정 크기의 블럭을 이전 프레임의 소정 범위의 탐색영역내에서 한 화소씩 이동하면서 대응 블럭들과 비교하여 그 오차값이 최소인 최적 정합블럭을 결정하며, 이것으로부터, 전송되는 현재 프레임에 대해 블럭 전체에 대한 프레임간 변위 벡터(프레임간에 블럭이 이동한 정도)가 추정된다. 여기에서, 현재 프레임과 이전 프레임간의 대응하는 두 블럭간의 유사성 판단은, 이 기술분야에 잘 알려진 바와같은, 평균 절대차와 평균 제곱차 등이 주로 사용된다.In addition, in block-by-block motion estimation, a block having a predetermined size of the current frame is moved by one pixel in a search range of a previous frame and compared with the corresponding blocks to determine an optimal matching block having a minimum error value. From this, the interframe displacement vector (the degree of block movement between frames) for the entire block is estimated for the current frame to be transmitted. Here, in determining the similarity between two corresponding blocks between the current frame and the previous frame, the average absolute difference, the mean square difference, etc. are mainly used, as is well known in the art.

한편, 상술한 바와같은 부호화 기법, 즉 움직임 보상 DPCM, 2차원 DCT, DCT 계수의 양자화 및 VLC(또는 엔트로피 부호화) 등의 부호화 기법을 통해 부호화된 영상 비트 스트림은 영상 부호화 시스템의 출력측에 구비되는 전송 버퍼에 저장된 다음 전송시점이 되면 원격지 수신측으로의 송신을 위해 전송기로 보내진다. 여기에서의 전송시점은 전송 버퍼의 크기(즉, 용량)와 전송율에 관계되며, 전송 버퍼에서의 오동작(데이터 오버플로우(overflow) 또는 데이터 언더플로우(underflow))이 발생하지 않도록 제어된다.On the other hand, the image bit stream encoded by the encoding technique as described above, that is, the encoding scheme such as motion compensation DPCM, two-dimensional DCT, DCT coefficient quantization and VLC (or entropy encoding) is transmitted to the output side of the image encoding system. The next transmission point stored in the buffer is sent to the transmitter for transmission to the remote destination. The transmission time here is related to the size (i.e. capacity) and transfer rate of the transmission buffer and is controlled so that no malfunction (data overflow or data underflow) in the transmission buffer occurs.

보다 상세하게, 여러 가지 요인(예를들면, 입력 영상의 장면전환)으로 인해 부호화시에 각 프레임마다 발생되는 비트량이 달라지게 되는데, 이러한 점을 고려하여 영상 부호화 시스템에서는, 평균 전송율이 일정하게 유지될 수 있도록 출력측 전송 버퍼의 제어를 수행한다. 즉, 영상 부호화 시스템에서는 출력측 전송 버퍼의 데이터 충만상태 정보에 근거하여 현재 부호화하고 있는 프레임 이전까지의 비트 발생량을 조사하고 있다가 현재 프레임에서 할당해야 하는 비트량을 조절한다. 다시말해, 종래의 전형적인 영상 부호화 시스템에서는 출력측 전송 버퍼의 데이터 충만 상태 정보에 의거하여 실질적으로 양자화 스텝 사이즈(QP)를 제어함으로써 부호화 시스템에서의 발생 비트량을 조절, 즉 이전까지 비트 발생량이 많으면 양자화 스텝 사이즈를 크게 조절하여 비트 발생량을 줄이고, 이와 반대의 경우에는 양자화 스텝 사이즈를 작게 조절하여 비트 발생량을 늘리는 등의 방법을 통해 비트 발생량을 조절하고 있다.More specifically, the amount of bits generated for each frame at the time of encoding is changed due to various factors (for example, scene change of the input image). In view of this, in the video encoding system, the average bit rate is kept constant. The control of the output side transmission buffer is performed. That is, the video encoding system checks the bit generation amount up to the frame currently encoded based on the data fullness state information of the output transmission buffer and adjusts the bit amount to be allocated in the current frame. In other words, in the conventional typical video encoding system, the amount of bits generated in the encoding system is adjusted by controlling the quantization step size (QP) substantially based on the data full state information of the output transmission buffer, that is, if the amount of bits generated before has been large, The bit generation amount is controlled by reducing the bit generation amount by adjusting the step size largely, and in the opposite case, by adjusting the quantization step size small to increase the bit generation amount.

그러나, 상술한 바와같이 출력측 전송 버퍼의 데이터 충만상태 정보에 의거하여 양자화 스텝 사이즈를 조절함으로써 비트 발생량을 조절하는 종래 방법은, 각 프레임에 해당하는 영상 데이터를 동일한 전송율로 부호화하여 전송하고자 하는 경우에 있어서, 부호화하고자 하는 입력 영상이 장면전환 영상, 즉 시간축상에서 프레임간의 상관도가 낮은 영상인 경우, 움직임 보상과 같은 부호화 처리 과정에서 그 효율이 떨어져 비트 발생량이 많아지게 되는 데 이로 인해 양자화 스텝 사이즈가 커져 결과적으로 재생 영상에서의 심각한 화질 열화가 야기된다는 문제를 갖는다.However, as described above, the conventional method of adjusting the bit generation amount by adjusting the quantization step size based on the data fullness state information of the output side transmission buffer is to transmit the video data corresponding to each frame at the same data rate. In the case where the input image to be encoded is a scene change image, that is, an image having low correlation between frames on the time axis, the efficiency is lowered in the encoding process such as motion compensation, thereby increasing the amount of bits generated. As a result, there is a problem that serious image quality deterioration is caused in the reproduced image.

따라서, 본 발명은 상술한 종래기술의 문제점을 해결하기 위한 것으로, 부호화하고자 하는 해당 프레임의 픽셀값 평균과 각 프레임의 평균값에 근거한 이전 소정시간 동안의 다수의 프레임의 단시간 통계에 의거하여 입력 영상의 장면전환을 검출하고, 그 검출결과에 따른 영상의 장면전환시에 그 통과 대역을 제한하여 입력 영상신호의 고주파 성분을 적응적으로 제거함으로써, 부호화후의 비트 발생량을 효율적으로 조절할 수 있는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템을 제공하는 데 그 목적이 있다.Accordingly, the present invention is to solve the above-described problems of the prior art, and based on the short-time statistics of a plurality of frames for a predetermined time based on the average of the pixel value of the corresponding frame to be encoded and the average value of each frame. By detecting the scene change and adaptively removing the high frequency components of the input video signal by limiting the pass band during the scene change of the image according to the detection result, a band limit function that can efficiently adjust the amount of bits generated after encoding is provided. It is an object of the present invention to provide an adaptive image encoding system.

상기 목적을 달성하기 위하여 본 발명은, 입력되는 현재 프레임을 자체에 대해 이산 코사인 변화, 양자화 및 엔트로피 부호화를 수행하는 인트라 부호화 모드와, 상기 현재 프레임과 이 현재 프레임 및 재구성된 이전 프레임을 이용하는 움직임 추정, 보상을 통해 얻어지는 예측 프레임간의 차분신호에 대해 이산 코사인 변화, 양자화 및 엔트로피 부호화를 수행하는 인터 부호화 모드를 갖는 부호화 수단을 포함하는 영상 부호화 시스템에 있어서, 부호화를 위해 순차 입력되는 프레임 각각에 대해 그 통계적 특성을 나타내는 픽셀들의 평균(MIp)값을 추출하는 통계적 특성 산출블럭; 기설정된 소정시간 동안 만큼 상기 추출된 각 프레임에 대한 평균(MIp)값을 순차적으로 저장하는 메모리 블럭; 상기 저장된 소정시간 동안에 상응하는 복수의 프레임에 대한 평균(MIp)값들을 이용하여 입력되는 해당 프레임에 대한 예측값을 추출하고, 입력되는 매 프레임 각각에 대해 그 평균(MIp)값과 상기 추출된 예측값간의 예측오차값을 산출하며, 매 프레임 각각에 대해 산출된 상기 예측오차값의 평균과 표준편차를 산출하여 상기 기설정된 소정시간 동안의 단시간 통계를 산출하고, 상기 단시간 통계 산출에 이용된 프레임들 보다 시간적으로 후에 존재하는 현재 입력 프레임의 통계적 특성과 상기 산출된 단시간 통계간의 비교결과에 의거하여 부호화를 위해 입력되는 상기 현재 입력 프레임의 필터링 제어신호를 발생하는 제어블럭; 상기 발생된 필터링 제어신호에 따라 결정되는 필터계수에 의거하여 부호화를 위해 입력되는 상기 현재 입력 프레임에 필터링 기법을 적용하여 고주파 성분을 제거함으로써 대역 제한된 프레임을 발생하는 대역 제한 블럭; 및 상기 제어 블럭으로부터 제공되는 상기 단시간 통계와 상기 현재 입력 프레임의 통계적 특성간의 비교 결과에 의거하여 발생하는 절환 제어신호에 따라 절환되어, 입력되는 상기 현재 입력 프레임 자체 또는 상기 대역 제한된 프레임을 상기 부호화 수단에 제공하는 스위칭 수단을 더 포함하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템을 제공한다.In order to achieve the above object, the present invention provides an intra encoding mode for performing discrete cosine change, quantization, and entropy encoding on an input current frame, and motion estimation using the current frame, the current frame, and a reconstructed previous frame. And an encoding unit having an inter encoding mode for performing discrete cosine change, quantization, and entropy encoding on a difference signal between predicted frames obtained through compensation, comprising: for each frame sequentially input for encoding; A statistical characteristic calculation block for extracting an average Mp value of pixels representing the statistical characteristic; A memory block that sequentially stores an average Mp value for each extracted frame for a predetermined time period; Extracting a predicted value for a corresponding frame input by using the average (MIp) values for a plurality of frames corresponding to the stored predetermined time, and between the average (MIp) value and the extracted predicted value for each input frame A prediction error value is calculated, and the average and standard deviation of the prediction error values calculated for each frame are calculated to calculate short-time statistics for the predetermined time, and is more temporal than the frames used for calculating the short-time statistics. A control block for generating a filtering control signal of the current input frame input for encoding based on a comparison result between the statistical characteristics of the current input frame and the calculated short-time statistics; A band limiting block generating a band limited frame by removing a high frequency component by applying a filtering technique to the current input frame input for encoding based on a filter coefficient determined according to the generated filtering control signal; And the encoding means converting the current input frame itself or the band limited frame, which is switched according to a switching control signal generated based on a comparison result between the short-time statistics provided from the control block and the statistical characteristics of the current input frame. It provides an adaptive video encoding system having a band limiting function further comprising a switching means for providing.

본 발명의 상기 및 기타 목적과 여러 가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

앞에서 이미 기술한 바와같이, 영상신호의 효율적인 부호화를 위해 움직임보상 DPCM, 2차원 DCT, DCT 계수의 양자화 및 VLC(또는 엔트로피 부호화)등의 부호화 기법을 채용하는 하이브리드 부호화 시스템에 있어서, 입력 영상이 인접 프레임간의 시간축상에서 상관도가 낮은 장면전환 영상인 경우, 많은 비트 발생량으로인해 양자화 스텝 사이즈가 과도하게 커져 재생영상에서의 화질열화(양자화 오차로 인한 화질열화)가 야기될 수 있는데, 본 발명에서는 이러한 점을 고려하여 먼저 입력 영상이 장면전환 부분인지의 여부를 검출하여 장면전환 부분인 것으로 판단되면 일정시간(즉, 장면전환이 진행되는 동안) 동안 필터링 기법 등을 이용해 입력 영상의 대역을 적응적으로 제한하여 인간의 시각특성에 비교적 둔감한 고주파 성분을 제거함으로써, 부호화후에 발생되는 비트량의 증가를 억제한다는 데 가장 큰 기술적인 특징을 갖는 것으로, 이러한 기술적 수단을 통해 부호화시의 양자화 오차를 최소화함으로써 보다 자연스러운 재생 영상을 얻을 수 있다.As described above, in the hybrid encoding system employing encoding techniques such as motion compensation DPCM, two-dimensional DCT, quantization of DCT coefficients, and VLC (or entropy encoding) for efficient encoding of video signals, the input video is adjacent to each other. In the case of a scene transition image having a low correlation on the time axis between frames, the quantization step size becomes excessively large due to a large amount of bits, which may cause deterioration of image quality (deterioration of image quality due to quantization error) in the present invention. In consideration of this, if it is determined whether the input video is a scene change part and first determines that the scene is a scene change part, the band of the input image can be adaptively adjusted using a filtering technique for a predetermined time (ie, during a scene change). By restricting and removing high frequency components that are relatively insensitive to human visual characteristics Used to suppress an increase in the amount of bits generated to have the greatest technical feature, it is possible to obtain a more natural reproduced image by minimizing the quantization error in encoding through such technical means.

도면1은 본 발명의 바람직한 실시예에 따른 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템에 대한 블럭구성도를 나타낸다. 동도면에 도시된 바와같이, 본 발명의 영상 부호화 시스템은 제1프레임 메모리(100), 전처리 블럭(110), 스위칭 블럭(115), 감산기(120), 영상 부호화 블럭(130), 엔트로피 부호화 블럭(140), 전송 버퍼(150), 영상 복호화 블럭(160), 가산기(170), 제2프레임 메모리(180) 및 현재 프레임 예측 블럭(190)을 포함한다.1 is a block diagram of an adaptive video encoding system having a band limit function according to an embodiment of the present invention. As shown in the figure, the image encoding system of the present invention includes a first frame memory 100, a preprocessing block 110, a switching block 115, a subtractor 120, an image encoding block 130, an entropy encoding block. 140, a transmission buffer 150, an image decoding block 160, an adder 170, a second frame memory 180, and a current frame prediction block 190.

도면1을 참조하면, 입력되는 현재 프레임 신호는 입력측의 제1프레임 메모리(100)에 저장되는 데, 이러한 제1프레임 메모리(100)에 저장되는 현재 프레임 신호는 라인 L11을 통해 후술되는 스위칭 블럭(115)의 일측 입력 b에 연결되고, 또한 라인 L12를 통해 도면2를 참조하여 후에 상세하게 기술되는 전처리 블럭(110)으로 제공된다. 여기에서, 스위칭 블럭(115)의 타측 입력 c는 라인 L14를 통해 전처리 블럭(110)의 일측 출력(프레임 신호 출력)에 연결되며, 이러한 스위칭 블럭(115)의 절환은 라인 L13을 통해 전처리 블럭(110)으로부터 제공되는 입력 프레임 신호의 통계적 특성 산출에 기초한 제어신호(CS)에 의해 수행된다. 이와같은 스위칭 블럭(115)의 구체적인 절환동작에 대해서는 후에 상세하게 기술될 것이다.Referring to FIG. 1, an input current frame signal is stored in the first frame memory 100 on the input side. The current frame signal stored in the first frame memory 100 is a switching block (described later through line L11). And connected to one side input b of 115, and also through line L12 to preprocessing block 110, described in detail later with reference to FIG. Here, the other input c of the switching block 115 is connected to one side output (frame signal output) of the preprocessing block 110 via the line L14, and the switching of the switching block 115 is performed through the line L13. By control signal CS based on the statistical characteristic calculation of the input frame signal provided from 110. The specific switching operation of such a switching block 115 will be described later in detail.

한편, 전처리 블럭(110)은 본 발명에서 가장 특징적인 구성부재를 이루는 것으로, 본 발명에 따라 라인 L12를 통해 제1프레임 메모리(100)로부터 제공되는 프레임 신호의 분석 및 조사를 통해 그 통계적 특성, 즉 각 입력 프레임 신호의 평균값을 산출하고, 이와같이 각 프레임별로 평균(MIp)(픽셀값들의 평균)을 산출한 다수의 프레임(예를들면, 30 프레임)에 대한 일정시간(예를들면, 1초) 동안의 통계적 특성 정보에 기초하여 산출되는 단시간 통계에 의거하여 입력 영상신호가 장면전환 부분인지의 여부를 판단하며, 여기에서의 판단결과 입력 영상이 장면전환 부분이면 필터링 기법 등을 적용하여 입력되는 각 프레임 신호의 통과 대역을 제한하여 인간의 시각특성에 비교적 둔감한 고주파성분을 적응적으로 제거한 다음 라인 L15를 통해 스위칭 블럭(115)의 입력 c로 제공한다. 이러한 전처리 블럭(110)의 구체적인 동작과정에 대해서는 첨부된 도면2를 참조하여 후에 상세하게 기술된 것이다.Meanwhile, the preprocessing block 110 constitutes the most characteristic constituent member in the present invention. The statistical characteristics, through the analysis and investigation of the frame signal provided from the first frame memory 100 through the line L12 according to the present invention, In other words, the average value of each input frame signal is calculated, and a predetermined time (for example, 1 second) for a plurality of frames (for example, 30 frames) for which the average MIp (average of pixel values) is calculated for each frame. Determining whether the input video signal is a scene change part based on short-term statistics calculated based on the statistical characteristic information. By restricting the pass band of each frame signal, adaptively removes high frequency components that are relatively insensitive to human visual characteristics, and then enters the switching block 115 through the line L15. Provided as force c. Detailed operation of the preprocessing block 110 will be described later in detail with reference to the accompanying drawings.

다른한편, 스위칭 블럭(115)에서는 전처리 블럭(110)으로부터의 절환 제어신호 CS에 의거하여 라인 L11상의 입력 프레임 신호 또는 라인 L15상의 대역 제한된 프레임 신호를 라인 L16상에 연결하며, 라인 L16상의 프레임 신호(입력 프레임 신호 자체 또는 대역 제한된 프레임 신호)는 스위치(SW)를 경유하여 감산기(120) 또는 영상 부호화 블럭(130)으로 제공되고, 또한 현재 프레임 예측 블럭(190)으로 제공된다. 여기에서, 스위치(SW)는 도시 생략된 시스템 제어기, 예를들면 마이크로 프로세서로 부터의 제어에 따라 그 접점을 절환하는 것으로, 인트라 모드 부호화시에는 라인 L16 상의 고정접점이 라인 L17상의 가변접점에 연결되고, 인터 모드 부호화시에는 라인 L16상의 고정접점이 감산기(120)의 입력에 연결된다. 따라서, 후술되는 영상 부호화 블럭(130)에서는 인트라 모드 부호화시에 DCT, 양자화 등의 기법을 이용하여 라인 L17상의 현재 프레임 신호 자체(입력 프레임 신호 또는 전처리 블럭(110)을 통해 대역 제한된 프레임 신호)를 부호화하며, 인터 모드 부호화시에 DCT, 양자화 등의 기법을 이용하여 라인 L18 상의 에러신호(라인 L16상의 현재 프레임 신호와 라인 L22상의 예측된 프레임 신호간의 차분치)를 부호화하게 될 것이다. 즉, 인트라 모드 부호화에서는 움직임 추정, 보상 기법의 사용없이 바로 입력 프레임 신호 자체를 부호화(DCT, 양자화, 엔트로피 부호화 등)하는 데, 여기에서의 부호화는 실질적으로 인터 모드 부호화에서의 과정과 거의 동일하므로 이하에서는 이해의 증진과 설명의 편의를 위해 일예로서 인터 모드 부호화의 경우라 가정한다.On the other hand, the switching block 115 connects the input frame signal on the line L11 or the band limited frame signal on the line L15 on the line L16 based on the switching control signal CS from the preprocessing block 110, and the frame signal on the line L16. (The input frame signal itself or the band limited frame signal) is provided to the subtractor 120 or the image coding block 130 via the switch SW, and also to the current frame prediction block 190. Here, the switch SW switches the contact points according to control from a system controller (not shown), for example, a microprocessor. In the intra mode encoding, the fixed contact point on the line L16 is connected to the variable contact point on the line L17. In inter-mode encoding, the fixed contact on the line L16 is connected to the input of the subtractor 120. Accordingly, the image encoding block 130 described later uses DCT, quantization, or the like to encode the current frame signal itself (an input frame signal or a frame signal limited through the preprocessing block 110) on the line L17 during intra mode encoding. In the inter-mode encoding, the error signal on the line L18 (the difference between the current frame signal on the line L16 and the predicted frame signal on the line L22) will be encoded using a technique such as DCT or quantization. In other words, in the intra mode encoding, the input frame signal itself is encoded (DCT, quantization, entropy encoding, etc.) without using motion estimation and compensation techniques. Since the encoding here is substantially the same as that of the inter mode encoding. In the following description, it is assumed that inter-mode encoding is an example for the purpose of understanding and convenience of explanation.

먼저, 감산기(120)에서는 라인 L16 및 스위치(SW)를 통해 제공되는 고주파 성분이 제거되지 않거나 혹은 고주파 성분이 선택적으로 제거된 현재 프레임 신호로부터 라인 L21를 통해 후술되는 현재 프레임 예측 블럭(190)으로부터 제공되는 이동 물체에 대하여 움직임 보상된 예측된 현재 프레임 신호를 감산하며, 그 결과 데이터, 즉 차분화소값을 나타내는 에러신호는 영상 부호화 블럭(130)을 통해 이산 코사인 변환(DCT)과 이 기술분야에서 잘 알려진 양자화 방법들중의 어느 하나를 이용함으로서, 일련의 양자화된 DCT 변환계수들로 부호화된다. 이때, 영상 부호화 블럭(130)에서의 에러신호에 대한 양자화는 라인 L23을 통해 후술되는 출력측 전송 버퍼(150)으로부터 제공되는 데이터 충만상태 정보에 따라 결정되는 양자화 파라메터(QP)에 의거하여 그 스텝 사이즈가 조절된다.First, in the subtractor 120 from the current frame prediction block 190 described later through the line L21 from the current frame signal from which the high frequency component provided through the line L16 and the switch SW is not removed or the high frequency component is selectively removed. The motion compensated predicted current frame signal is subtracted with respect to the provided moving object, and as a result, the data, i.e., the error signal representing the differential pixel value, is transmitted through the image coding block 130 in the discrete cosine transform (DCT) and the technical field. By using any of the well-known quantization methods, it is encoded into a series of quantized DCT transform coefficients. At this time, the quantization of the error signal in the image encoding block 130 is based on the step size based on the quantization parameter QP determined according to the data fullness state information provided from the output side transmission buffer 150 described later through the line L23. Is adjusted.

다음에, 라인 L19상의 양자화된 DCT변환계수들은 엔트로피 부호화 블럭(140)과 영상 복호화 블럭(160)으로 각각 보내진다. 여기에서, 엔트로피 부호화 블럭(140)에 제공된 양자화된 DCT 변환계수들은, 예를들면 가변길이 부호화 기법 등을 통해 부호화되어 출력측의 전송 버퍼(150)에 제공되며, 이와같이 부호화된 영상신호는 수신측으로의 전송을 위해 도시 생략된 전송기로 전달된다.Next, the quantized DCT transform coefficients on line L19 are sent to entropy coding block 140 and image decoding block 160, respectively. Here, the quantized DCT transform coefficients provided to the entropy coding block 140 are encoded by, for example, a variable length coding scheme, and provided to the transmission buffer 150 at the output side. It is delivered to the transmitter not shown for transmission.

한편, 영상 부호화 블럭(130)으로부터 영상 복호화 블럭(160)에 제공되는 라인 L19 상의 양자화된 DCT 변환계수들은 역양자화 및 역이산 코사인 변환을 통해 다시 복원된 프레임 신호로 변환된 다음, 다음단의 가산기(170)에 제공되며, 가산기(170)에서는 영상 복호화 블럭(160)으로부터의 복원된 프레임 신호와 라인 L21를 통해 후술되는 현재 프레임 예측 블럭(190)으로부터 제공되는 예측된 현재 프레임신호를 가산하여 재구성된 이전 프레임 신호를 생성하며, 이와같이 재구성된 이전 프레임 신호는 제2프레임 메모리(180)에 저장된다. 따라서, 이러한 경로를 통해 부호화 처리되는 매 프레임에 대한 바로 이전 프레임 신호가 계속적으로 갱신되며, 이와같이 갱신되는 재구성된 이전 프레임 신호는 움직임 추정, 보상을 위해 하기에 기술되는 현재 프레임 예측 블럭(190)으로 제공된다.On the other hand, the quantized DCT transform coefficients on the line L19 provided from the image coding block 130 to the image decoding block 160 are converted into a frame signal reconstructed again through inverse quantization and inverse discrete cosine transform, and then added to the next stage. And a reconstructed frame signal from the image decoding block 160 and a predicted current frame signal provided from the current frame prediction block 190 to be described later through the line L21. Generated previous frame signal, and the reconstructed previous frame signal is stored in the second frame memory 180. Therefore, the immediately previous frame signal for every frame encoded through this path is continuously updated, and the reconstructed previous frame signal thus updated is sent to the current frame prediction block 190 described below for motion estimation and compensation. Is provided.

다른한편, 현재 프레임 예측 블럭(190)에서는, 고주파 성분이 제거되지 않은 라인 L16 상의 현재 프레임 신호 또는 본 발명에 따른 전처리 블럭(110)으로부터 제공되는 라인 L16 상의 고주파 성분이 선택적으로 제거된 현재 프레임 신호와 상기한 제2프레임 메모리(180)로부터 제공되는 라인 L20 상의 재구성된 이전 프레임 신호에 기초하여 블럭 매칭 알고리즘을 이용해 재구성된 이전 프레임의 기설정 탐색범위(예를들면, 32×32 또는 16×16 탐색범위)에서 소정의 블럭(예를들면, 16×16 또는 8×8 DCT블럭)단위로 움직임을 추정하여 현재 프레임을 예측한 다음 라인 L21 상에 예측된 현재 프레임 신호를 발생하여 상술한 감산기(120)와 가산기(170)에 각각 제공한다.On the other hand, in the current frame prediction block 190, the current frame signal on the line L16 in which the high frequency component is not removed or the current frame signal in which the high frequency component on the line L16 provided from the preprocessing block 110 according to the present invention is selectively removed. And a preset search range (eg, 32 × 32 or 16 × 16) of the previous frame reconstructed using the block matching algorithm based on the reconstructed previous frame signal on the line L20 provided from the second frame memory 180 described above. In the search range, the motion is estimated by a predetermined block (for example, 16 × 16 or 8 × 8 DCT blocks), the current frame is predicted, and the predicted current frame signal is generated on the line L21 and the subtractor ( 120 and an adder 170, respectively.

또한, 현재 프레임 예측 블럭(190)은 선택되는 각 블럭(16×16 또는 8×8 블럭)들에 대한 움직임 벡터들의 세트를 라인 L22 상에 발생하여 전술한 엔트로피 부호화 블럭(140)에 제공한다. 여기에서, 검출되는 움직임 벡터들의 세트들은 현재 프레임의 블럭(16×16 또는 8×8 블럭)과 이전 프레임내의 기설정 탐색영역(예를들면, 32×32 또는 16×16 탐색범위)에서 예측된 가장 유사한 후보 블럭간의 변위이다. 따라서, 전술한 엔트로피 부호화 블럭(140)에서는 라인 L22 상의 움직임 벡터들의 세트들과 더불어 라인 L19 상의 양자화된 DCT 변환계수들은, 예를들면 가변길이 부호화 기법 등을 통해 부호화하여 부호화된 비트 스트림을 발생한다.The current frame prediction block 190 also generates a set of motion vectors for each selected block (16x16 or 8x8 blocks) on line L22 and provides it to the entropy coding block 140 described above. Here, the sets of motion vectors detected are predicted in the block of the current frame (16x16 or 8x8 block) and the preset search area (e.g., 32x32 or 16x16 search range) in the previous frame. It is the displacement between the most similar candidate blocks. Accordingly, in the entropy coding block 140 described above, the quantized DCT transform coefficients on the line L19 together with the sets of the motion vectors on the line L22 generate an encoded bit stream by, for example, a variable length coding technique. .

다음에, 본 발명에서 가장 특징적인 부분을 이루며, 입력 영상이 장면전환 부분인지의 여부를 판단하여 입력 영상이 장면전환 부분일 때, 필터링 기법 등을 이용한 대역 제한을 통해 입력 영상의 고주파 성분을 선택적으로 제거하며, 이와같이 대역 제한된 영상신호를 입력 프레임 신호로서 라인 L16 상에 제공하는 전처리 블럭(110)에서의 동작과정에 대하여 상세하게 설명한다.Next, it is the most characteristic part of the present invention, and it is determined whether the input image is a scene change part, and when the input image is a scene change part, the high frequency component of the input image is selectively selected through band limitation using a filtering technique or the like. The operation process in the preprocessing block 110 for providing the band-limited video signal as an input frame signal on the line L16 will be described in detail.

도면2는 도면1에 도시된 전처리 블럭에 대한 세부적인 블럭구성도를 나타낸다. 동도면에 도시된 바와같이, 본 발명의 전처리 블럭(110)은 통계적 특성 산출 블럭(1110), 제어 블럭(1120), 메모리 블럭(1130) 및 대역 제한 블럭(1140)을 포함한다.FIG. 2 shows a detailed block diagram of the preprocessing block shown in FIG. As shown in the figure, the preprocessing block 110 of the present invention includes a statistical characteristic calculation block 1110, a control block 1120, a memory block 1130, and a band limiting block 1140.

도면2를 참조하면, 통계적 특성 산출 블럭(1110)에서는 라인 L12 상의 입력 영상을 제공받아 현재의 영상이 장면전환을 위한 영상인지의 여부를 판단할 수 있는 파라메터를 산출하는 데, 본 발명에서는 이러한 파라메터로서 영상신호의 평균값 MIp를 이용한다. 즉, 일예로서 현재 입력되는 영상을 Ip라 할 때, (x,y)의 위치에서 Ip 영상의 화소값은 Ip(x,y)이다.Referring to FIG. 2, the statistical characteristic calculation block 1110 receives an input image on the line L12 and calculates a parameter for determining whether the current image is an image for scene change. The average value MIp of the video signal is used. That is, as an example, when the current input image is Ip, the pixel value of the Ip image at the position of (x, y) is Ip (x, y).

따라서, 입력되는 각 프레임 신호의 평균값 MIp는 다음의 [수식1]과 같이 구해진다.Therefore, the average value MIp of each input frame signal is obtained as shown in Equation 1 below.

[수식 1][Equation 1]

상기한 [수식 1]에서 M,N은 각각 정수값으로서 영상신호의 수평, 수직방향의 크기를 나타낸다. 그런다음, 이와같이 추출된 파라메터, 즉 각 프레임의 평균값 MIp는 다음단의 제어 블럭(1120)으로 제공된다.In the above Equation 1, M and N are integer values, respectively, indicating the horizontal and vertical directions of the video signal. Then, the parameters thus extracted, that is, the average value MIp of each frame, are provided to the next control block 1120.

본 발명에서 장면전환 부분인지를 판단하는 데 사용하고자 하는 통계적 특성 정보로서 상술한 바와같이 추출되는 평균값 MIp를 이용하는 이유는 입력 영상신호가 장면전환 부분이 아니면 상기와 같이 추출된 영상신호의 통계적 특성(평균)이 이전의 영상신호와 크게 다르지 않고, 이와 반대로 입력 영상신호가 장면전환 부분이면 추출된 영상신호의 통계적 특성이 이전 영상신호의 통계적 특성과 많이 다르게 나타나기 때문이다. 따라서, 본 발명에서는 통계적 특성값의 시간적인 변화를 이용하여 입력 영상에 대한 장면전환 여부를 판단하며, 이러한 판단은 후술되는 제어 블럭(1120)에서 수행될 것이다.The reason for using the average value MIp extracted as described above as the statistical characteristic information to be used for determining whether the scene transition part is the scene change part is that if the input video signal is not the scene change part, (Average) is not significantly different from the previous video signal. On the contrary, if the input video signal is a scene change part, the statistical characteristics of the extracted video signal appear much different from the statistical characteristics of the previous video signal. Therefore, in the present invention, it is determined whether or not to change the scene for the input image by using the temporal change of the statistical characteristic value, this determination will be performed in the control block 1120 described later.

즉, 제어 블럭(1120)에서는 상기한 통계적 특성 산출 블럭(1110)으로부터 제공되는 파라메터, 즉 각 프레임의 평균(MIp)값들을 이용하여 현재의 입력 영상이 장면전환 부분인지의 여부를 판단하며, 이러한 판단신호는 라인 L14를 통해 다음단의 저역 통과 필터링 블럭(1140)으로 제공된다. 즉, 영상신호의 장면전환 부분에서는 시간적인 변화가 많아 이전 영상과 현재 영상 사이에 유사성이 많지 않게 되는 데, 그 결과 움직임 보상과 같은 부호화 시스템의 처리과정에서 부호화의 효율이 떨어져 부호화시에 많은 양의 비트가 발생하게 되므로써, 양자화 단계에서의 큰 양자화 오차(수신측의 복원된 재생 영상에서 블럭킹 현상으로 인한 화질열화를 야기시키는 원인이 됨)를 수반하게 된다. 따라서, 본 발명에서는 이와같이 영상의 장면전환시에 발생되는 이러한 현상을 줄이기 위하여 입력 영상의 장면전환을 검출한다.That is, the control block 1120 determines whether the current input image is a scene change part using the parameters provided from the statistical characteristic calculation block 1110, that is, the average (MIp) value of each frame. The decision signal is provided to the next pass low pass filtering block 1140 via line L14. That is, in the scene change part of the video signal, there is not much similarity between the previous video and the current video due to the change in time. As a result, the encoding efficiency is low during the processing of the coding system such as motion compensation. By generating a bit of, a large quantization error in the quantization step (which causes a deterioration in image quality due to a blocking phenomenon in the reconstructed reproduced video on the receiver side) is accompanied. Accordingly, the present invention detects the scene change of the input image in order to reduce such a phenomenon occurring during the scene change of the image.

보다 상세하게, 제어 블럭(1120)에서는 입력 영상의 장면전환 검출을 위하여 일정시간 동안(예를들면, 1초)의 통계적 특성(단시간 통계)과 통계적 특성 산출 블럭(1110)으로부터 입력되는 해당 프레임의 파라메터(평균값)값을 비교하여 그 장면전환 여부를 판단하는 데, 이와같은 단시간 통계를 구하는 과정은 다음과 같다.More specifically, in the control block 1120, the statistical characteristics (short-term statistics) for a predetermined time (for example, one second) and the corresponding frame input from the statistical characteristic calculation block 1110 are used to detect the scene change of the input image. The parameter (average) value is compared to determine whether the scene is changed. The procedure for obtaining such short-time statistics is as follows.

먼저, 입력 영상에 대한 일정시간 동안의 통계적 특성을 구하는 과정은 여러 가지 방법이 있을 수 있으나, 본 발명에서는 1차원 예측장치를 이용하여 기산출된 과거 일정시간 동안의 통계적 특성으로부터 현재 입력되는 파라메터에 대한 값을 예측한다. 그런다음, 이와같은 예측값과 입력 프레임의 통계적 특성값의 오차를 산출하며, 여기에서 산출되는 예측오차에 의거하여 현재의 입력 영상이 장면전환 영산인지의 여부를 판단한다. 이와같은 계산을 위해 제어 블럭(1120)에서는 통계적 특성 산출 블럭(1110)에서 매 프레임마다 입력되는 MIp 값을 메모리 블럭(1130)에 저장한다. 여기에서의 1차원 예측과정은 다음과 같다.First, there are various methods for obtaining a statistical characteristic for a predetermined time with respect to an input image. However, in the present invention, a parameter that is currently input from a statistical characteristic for a predetermined time previously calculated using a one-dimensional prediction device is used. Predict the value for Then, an error between the predicted value and the statistical characteristic value of the input frame is calculated, and it is determined whether or not the current input image is scene change production based on the predicted error calculated therein. For this calculation, the control block 1120 stores the MIp value input every frame in the statistical characteristic calculation block 1110 in the memory block 1130. Here, the one-dimensional prediction process is as follows.

예를들어, n­1 시점에 입력되는 변수가 x(n­1)이고 출력되는 변수가 y(n­1)이라 가정하면, 이전에 출력된 값을 피드백 시킴으로서 피드백값인 y(n­1)과 바로 이전에 입력된 값(x(n­1))으로부터 n시점에 입력되는 x(n)의 예측값 y(n)과 예측오차값 e(n)는 각각 다음의 수식으로 계산된다.For example, assuming that the variable input at time n1 is x (n1) and the output variable is y (n1), the feedback value y (n1) and the immediately input value are fed back by feeding back the previously output value. The predicted value y (n) and the predicted error value e (n) of x (n) input at time n from (x (n1)) are respectively calculated by the following equation.

[수식 2][Formula 2]

(상기 수식에서 p값은 상수로서 0과 1사이의 실수값이고, absolute는 절대값을 취하는 연산이다. y(n), x(n) 값은 현재의 n의 시점을 기준으로 한 값이므로 다음 프레임의 계산을 위해 제어 블럭(1120)의 출력신호를 계산한 다음, y(n) 값은 y(n-1)으로 메모리 블럭(1130)에 저장하고, x(n) 값은 x(n-1) 값으로 메모리 블럭(1130)에 저장하여 다음 프레임의 x(n)이 입력되면 이 값들을 이용하여 상기한 수식을 계산한다.)(In the above formula, p value is a constant value between 0 and 1, and absolute is an operation that takes an absolute value. Y (n) and x (n) values are based on the current point of time n. After calculating the output signal of the control block 1120 to calculate the frame, the y (n) value is stored in the memory block 1130 as y (n-1), and the x (n) value is x (n−). 1) If the value is stored in the memory block 1130 and x (n) of the next frame is input, the above equation is calculated using these values.)

즉, y(n) 값은 x(n)값을 예측한 값으로서 이 값은 이전에 출력된 y(n-1)값과 이전에 입력된 x(n)값으로부터 계산되는 데, 제어 블럭(1120)에서는 현재 입력된 x(n)값이 들어오면 y(n)의 값(즉, 과거에 발생된 값으로부터 현재의 값을 예측한 값)으로부터 e(n), 즉 예측오차를 계산하고, 이 계산된 값으로부터 입력 영상이 장면전환 부분인지의 여부를 판단한다.That is, the y (n) value is the value predicted by the x (n) value, which is calculated from the y (n-1) value previously output and the x (n) value previously input. In operation 1120, when an x (n) value currently input is input, e (n), that is, a prediction error is calculated from a value of y (n) (that is, a value predicted from a past generated value). From this calculated value, it is determined whether the input video is a scene change part.

한편, 상기한 [수식 2]에서 p값은 장면전환이 발생되는 주기나 혹은 최소한의 발생간격에 맞게 설정할 수 있는데, 본 발명에서는 일예로서 1초 동안의 시간으로 가정하였다. 즉 영상신호의 장면이 매 1초 간격으로 계속 발생할 수 있다는 것을 가정한 것이다. 만일, 이 값(p)을 너무 작게 설정하게 되면 실제로 영상신호가 짧은 시간간격으로 계속 발생하는 것을 가정하는 결과가 되어 실제 영상신호의 특성과는 맞지 않은 것이고, 또한 p값을 너무 크게 설정하게 되면 마찬가지로 실제 영상신호의 특성과는 맞지 않게 된다. 이러한 시간을 t라 하면 영상신호의 통계를 구하는데는 t초 동안의 영상 데이터만을 이용하는 것이다. 즉, 상기한 [수식 2]에서 p값이 크면(즉, 1값에 근접하는 경우) y(n-1)에 곱해지는 값이 작아지므로 짧은 시간동안의 통계만을 이용하는 결과가 되고, p값으로 작은 값(즉, 0에 가까운 값)이 주어지면 장시간 동안의 영상신호 특성을 이용하여 현재 프레임의 특성을 예측하는 것이 된다. 따라서, 영상신호의 프레임 레이트를 FR(frame/sec)이라고 하면, 한 프레임의 시간은 1/FR에 해당한다. 그러므로, t초 동안의 시간을 정하게 되면 p값을 구할 수 있으며, 이러한 과정은 다음의 수식과 같이 계산된다.On the other hand, in the above [Formula 2], the p value can be set according to the cycle or the minimum occurrence interval of the scene transition occurs, in the present invention, as an example, it is assumed that the time for 1 second. That is, it is assumed that the scene of the video signal can be continuously generated every 1 second. If the value (p) is set too small, the result is assuming that the video signal continues to occur at short time intervals, which is not consistent with the characteristics of the actual video signal. Similarly, it does not match the characteristics of the actual video signal. If this time is t, only t seconds of video data is used to calculate the statistics of the video signal. In other words, when [p] in Equation 2 is large (i.e., close to 1), the value multiplied by y (n-1) becomes smaller, resulting in using only statistics for a short time. Given a small value (ie, a value close to zero), the characteristics of the current frame are predicted using the characteristics of the image signal for a long time. Therefore, when the frame rate of the video signal is FR (frame / sec), the time of one frame corresponds to 1 / FR. Therefore, if the time for t seconds is determined, p value can be obtained, and this process is calculated by the following equation.

[수식 3][Equation 3]

(여기에서, threshold(임계값)는 무시할 수 있는 값의 기준임.)(Here, threshold is the criterion for negligible values.)

일예로서, t초 이전의 영상신호들에 대한 통계를 무시할 수 있도록 곱해 주는 최대값으로서 임계값(threshold)을 0.01로 q값은 0.666667이고 q값은 1-0.215=0.785로 계산된다. 따라서, 제어 블럭(1120)에서는 이와같이 설정된 q값을 이용하여 y(n)값을 계산한다. 이때, q값을 구하는 과정은 임계값과 밀접한 관계가 있는데, 이 값은 만일 1초 동안의 특성을 이용한다고 하면 30 프레임 동안의 특성만을 이용하는 경우이므로 31 프레임에서의 영상신호 특성에 대하여 곱하는 값으로 이해하면 될 것이다.As an example, the threshold value is 0.01, the q value is 0.666667, and the q value is calculated as 1-0.215 = 0.785 as a maximum value multiplying the statistics of video signals before t seconds so as to be ignored. Therefore, the control block 1120 calculates the y (n) value using the q value set as described above. At this time, the process of obtaining q value is closely related to the threshold value. This value is multiplied by the image signal characteristic at 31 frames because if the characteristic is used for 1 second, only the characteristic for 30 frames is used. You will understand.

다음에, 상술한 바와같은 과정을 통해 계산된 예측오차(e(n))를 이용하여 제어 블럭(1120)의 출력값을 추출하는 과정은 다음과 같다.Next, a process of extracting the output value of the control block 1120 using the prediction error e (n) calculated through the above process is as follows.

먼저, 제어 블럭(1120)에서는 상술한 바와같이 매 프레임마다 계산되는 예측 오차값을 이용하여 일정시간 동안의 예측오차 평균(Me)과 표준편차(Se)를 계산하는데, 이러한 평균 Me와 표준편차 Se를 계산하는 과정은 다음과 같다.First, the control block 1120 calculates the prediction error mean Me and the standard deviation Se for a predetermined time by using the prediction error values calculated for each frame as described above. The mean Me and the standard deviation Se are calculated. The process of calculating is as follows.

전술한 바와같이 영상신호의 통계는 입력 영상신호의 평균값, 즉 MIp 인데, 이 값을 이용하여 전술한 [수식 2]의 x(n)으로 가정하면 각각의 예측오차값인 eMIp의 값을 계산할 수 있다. 이때, 적용하는 과정은 입력값인 x(n)대신에 평균값 MIp의 값으로 간주하여 각각의 계산과정을 통하여 예측치를 구하고 오차값인 eMIp를 계산하면 된다. 그런다음, 그 결과값을 이용하여 이 값의 1초 동안의 평균과 표준편차값을 구하면 Me, Se 값을 계산할 수 있다. 즉, 영상신호의 프레임 레이트가 30인 경우에 1초 동안의 예측오차에 대한 평균과 표준편차의 값은 각각 30개가 발생하며, 이 값의 평균과 표준편차를 구하면 된다.As described above, the statistics of the video signal are the average value of the input video signal, that is, MIp. Using this value, assuming that x (n) of Equation 2 described above, the value of each prediction error value eMIp can be calculated. have. In this case, the application process may be regarded as the average value MIp instead of the input value x (n), and the prediction value may be calculated through each calculation process, and the error value eMIp may be calculated. Then, you can calculate the Me and Se values by using the resulting values to find the mean and standard deviation over one second. That is, when the frame rate of the video signal is 30, 30 average and standard deviation values for the prediction error for 1 second are generated, respectively, and the average and standard deviation of these values are obtained.

한편, 상기한 바와같이 계산되는 예측오차값은 매 프레임마다 발생하므로 하나의 새로운 예측오차값이 계산되면 과거 31번째 프레임에서 계산한 예측오차값을 버리고 새로 계산된 예측오차값으로 대치하여 다음 계산에 이용한다. 따라서, 이와같은 계산을 위해서 메모리 블럭(1130)에서는 제어 블럭(1120)에서 매 프레임마다 입력되는 MIp값을 이용하여 계산된 예측오차의 값들인 eMIp를 1초 동안 저장하고 있어야 한다.Meanwhile, since the prediction error value calculated as described above occurs every frame, when one new prediction error value is calculated, the prediction error value calculated in the past 31st frame is discarded and replaced with the newly calculated prediction error value to the next calculation. I use it. Therefore, for this calculation, the memory block 1130 should store eMIp, which is values of prediction errors calculated by using the MIp value input every frame in the control block 1120, for 1 second.

따라서, 제어 블럭(1120)에서 현재 계산된 예측오차의 값을 eMIp(0)라 하면, 제어 블럭(1120)에서의 출력신호 B는 상기와 같이 계산된 3개의 통계값 eMIp, Me, Se를 이용하여 다음의 수식과 같이 계산된다.Therefore, if the value of the prediction error currently calculated in the control block 1120 is eMIp (0), the output signal B in the control block 1120 uses the three statistical values eMIp, Me, Se calculated as described above. It is calculated as follows.

[수식 4][Equation 4]

따라서, 상기한 바와같이 산출되어 라인 L14상에 발생된 출력신호 B는 대역제한 블럭(1140)으로 제공되는 데, 라인 L14상의 출력신호 B가 0인 경우에는 현재 입력되는 영상신호의 특성인 MIp(0)의 값이 이전의 단시간 특성과 비교하여 그다지 변화가 많지 않으므로 장면전환 부분이 아님을 의미하고, 이와달리 라인 L14상의 출력신호 B가 1인 경우에는 현재 입력되는 영상신호의 특성이 이전의 단시간 특성과 비교하여 변화가 많은 부분이므로 장면전환 부분임을 의미한다. 즉, 제어 블럭(1120)에서는 각 프레임의 통계적 특성에 기초한 이전 소정시간 동안의 프레임에서 얻는 단시간 통계를 이용하여 현재 입력 프레임의 픽셀값 평균이 갑자기 변하는 지의 여부를 검출하며, 그 검출결과에 의거하여 현재 입력 영상이 장면전환 영상인지의 여부를 판단한다.Therefore, the output signal B calculated as described above and generated on the line L14 is provided to the band limiting block 1140. When the output signal B on the line L14 is 0, MIp (the characteristic of the video signal currently input) The value of 0) means that it is not a scene change part because there is not much change compared with the previous short time characteristic. On the other hand, when the output signal B on the line L14 is 1, the characteristic of the currently input video signal is the previous short time. Compared to the characteristic, it means that it is a scene change part because there are many changes. That is, the control block 1120 detects whether or not the average of the pixel value of the current input frame suddenly changes by using the short-time statistics obtained from the frame for the previous predetermined time based on the statistical characteristics of each frame, and based on the detection result It is determined whether the current input video is a scene change video.

그 결과, 대역 제한 블럭(1140)에서는 이와같은 라인 L14상의 출력신호 B에 의거하여 도면1의 제1프레임 메모리(100)로부터 제공되는 라인 L12상의 현재 프레임 신호에 대해 적절한 대역 제한 처리, 즉 필터링을 수행하여 기설정된 고주파 성분이 제거된 프레임 신호를 라인 L15상에 발생한다. 라인 L12상의 입력 프레임 신호를 필터링할 때, 대역 제한 블럭(1140)에서는, 일예로서 도면3에 도시된 바와같이, Z(1,7),Z(2,6)이하의 값을 모두 제로(0)값으로 매핑 처리하여 그 대역폭을 제한, 필터링을 수행하게 된다. 그런다음, 고주파 성분이 제거된 출력 프레임 신호는 도면1의 스위칭 블럭(115)의 c­a 결로를 경유하여 라인 L16에 연결된다.As a result, the band limiting block 1140 performs appropriate band limiting processing, that is, filtering on the current frame signal on the line L12 provided from the first frame memory 100 of FIG. 1 based on the output signal B on the line L14. A frame signal from which a predetermined high frequency component is removed is generated on a line L15. When filtering the input frame signal on the line L12, in the band limiting block 1140, as shown in Fig. 3 as an example, all values below Z (1,7) and Z (2,6) are zero (0). ), The bandwidth is limited and filtered. The output frame signal from which the high frequency component has been removed is then connected to the line L16 via the c­a condensation of the switching block 115 of FIG.

다른한편, 제어 블럭(1120)에서는 본 발명에 따라 후술되는 대역 제한 블럭(1140)이 입력 프레임 신호를 필터링하여 고주파 성분이 제거된 프레임 신호를 발생하도록 구성될 때, 고정된 하나의 레벨(즉, 필터계수)로 입력 프레임을 필터링하지 않고, 입력 영상의 복잡도 등을 고려하여 적응적(또는 선택적)으로 필터링할 수 있도록 그의 출력신호 B를 다음의 수식과 같이 계산할 수 있다.On the other hand, in the control block 1120, when the band limiting block 1140 described below according to the present invention is configured to filter the input frame signal to generate a frame signal from which high frequency components have been removed, The output signal B may be calculated as shown in the following equation so that the input frame may be filtered adaptively (or selectively) in consideration of the complexity of the input image without filtering the input frame.

[수식 5][Equation 5]

따라서, 상기한 바와같이 산출되어 라인 L14상에 발생된 출력신호 B는 대역 제한 블럭(1140)으로 제공되는 데, 라인 L14상의 출력신호 B가 1인 경우에는 현재 입력되는 영상신호의 특성인 MIp(0)의 값이 이전의 단시간 특성과 비교하여 그다지 변화가 많지 않으므로 장면전환 부분이 아님을 의미하고, 이와달리 라인 L14상의 출력신호 B가 2,3,4인 경우에는 현재 입력되는 영상신호의 특성이 이전의 단시간 특성과 비교하여 변화가 많은 부분이므로 장면전환 부분임을 의미한다. 즉, 제어 블럭(1120)에서는 각 프레임의 통계적 특성에 기초한 이전 소정시간 동안의 프레임에서 얻은 단시간 통계를 이용하여 현재 입력 프레임의 픽셀값 평균이 갑자기 변하는 지의 여부를 검출하며, 그 검출결과에 의거하여 현재 입력 영상이 장면전환 영상인지의 여부를 판단한다.Therefore, the output signal B calculated as described above and generated on the line L14 is provided to the band limiting block 1140. When the output signal B on the line L14 is 1, MIp (the characteristic of the video signal currently input) The value of 0) means that it is not a scene change part because there is not much change compared with the previous short time characteristic, and when the output signal B on the line L14 is 2, 3, 4, the characteristic of the currently input video signal Compared with the previous short-time characteristic, it means that it is a scene change part because there is much change. That is, the control block 1120 detects whether or not the average of the pixel value of the current input frame is suddenly changed by using the short time statistics obtained from the frame for the previous predetermined time based on the statistical characteristics of each frame, and based on the detection result. It is determined whether the current input video is a scene change video.

그 결과, 대역 제한 블럭(1140)에서는 이와같은 라인 L14상의 출력신호 B에 의거하여 도면1의 제1프레임 메모리(100)으로부터 제공되는 라인 L12상의 현재 프레임 신호에 대해 그에 상응하는 적절한 대역 제한 처리, 즉 적응적인 필터링을 수행한다. 즉, 라인 L12상의 입력 프레임 신호를 필터링할 때, 대역 제한 블럭(1140)에서는, 일예로서 도면4에 도시된 바와같이, 입력 영상의 복잡도에 근거하는 제어 블럭(1120)으로부터의 출력신호 B에 상응하여 그 출력값 이하(즉, 도면4에서 점선 이하의 값)의 값을 제로(0)값으로 매핑 처리하여 그 대역폭을 제한, 필터링을 수행하게 된다. 다시말해, 본 실시예에 따르면, 입력 프레임의 복잡정도에 따라 입력 프레임 신호의 고주파 성분 제거레벨을 선택적(또는 적응적)으로 조절한다.As a result, in the band limiting block 1140, on the basis of the output signal B on the line L14, a corresponding band limiting process corresponding to the current frame signal on the line L12 provided from the first frame memory 100 of FIG. In other words, adaptive filtering is performed. That is, when filtering the input frame signal on the line L12, the band limiting block 1140 corresponds to the output signal B from the control block 1120 based on the complexity of the input image, as shown in FIG. 4 as an example. By mapping the value below the output value (that is, the value below the dotted line in FIG. 4) to a zero value, the bandwidth is limited and filtered. In other words, according to this embodiment, the high frequency component removal level of the input frame signal is selectively (or adaptively) adjusted according to the complexity of the input frame.

그런다음, 상기와 같이 고주파 성분이 적응적(또는 선택적)으로 제거된 출력프레임 신호는 도면1의 스위칭 블럭(114)의 c­a 경로를 경유하여 라인 L16 상에 연결된다. 따라서, 도면1의 영상 부호와 블럭(130)에서는 인간의 시각특성에 비교적 둔감한 고주파 성분이 선택적 또는 적응적으로 제거된 라인 L17 상의 프레임 신호를 DCT, 양자화 등의 기법을 이용한 부호화를 수행하게 될 것이다.Then, the output frame signal from which the high frequency component is adaptively (or selectively) removed as described above is connected on the line L16 via the c \ a path of the switching block 114 of FIG. Accordingly, in the image code and the block 130 of FIG. 1, the frame signal on the line L17 in which the high frequency component relatively insensitive to the human visual characteristics is selectively or adaptively removed is encoded using DCT, quantization, or the like. will be.

또한, 제어 블럭(1120)에서는 현재 프레임의 순차 입력에 따라 메모리 블럭(1130)에 저장된 각 프레임에 대한 예측오차 eMIp값들을 순차적으로 갱신, 즉 하나의 새로운 프레임에 대한 eMIp(0)가 입력되면 기저장된 eMIp(30)의 값을 eMIp(29)의 값으로, eMIp(29)의 값을 eMIp(28)의 값으로, 순차 대치하여 최종적으로 eMIp(1)의 값을 eMIp(0)의 값으로 대치함으로써, 하나의 입력 영상에 대해 새롭게 갱신된 단시간 통계의 산출을 가능하게 하며, 이러한 갱신과정은 매 프레임이 입력될 때마다 수행된다. 결국, 통계적 특성 산출 블럭(1110)에서 추출된 각 프레임에 대한 파라메터가 메모리 블럭(1130)에 저장되는 시간은 30프레임 동안에 해당하고, 30프레임이 지나면 단시간 통계의 산출에 이용되지 않게 된다. 이와같이 단시간 통계 산출을 위해 각 프레임의 파라메터를 저장하는 메모리 블럭(1130)은, 예를들면 선입선출 버퍼 등을 이용하여 간단하게 구성할 수 있을 것이다.In addition, the control block 1120 sequentially updates the prediction error eMIp values for each frame stored in the memory block 1130 according to the sequential input of the current frame, that is, when the eMIp (0) for one new frame is inputted. The stored value of eMIp (30) is replaced by the value of eMIp (29), the value of eMIp (29) is replaced by the value of eMIp (28), and finally the value of eMIp (1) is converted to the value of eMIp (0). By replacing, it is possible to calculate a newly updated short time statistic for one input image, and this updating process is performed every frame. As a result, the time for which the parameter for each frame extracted from the statistical characteristic calculation block 1110 is stored in the memory block 1130 corresponds to 30 frames, and after 30 frames, the parameter is not used to calculate short-time statistics. As such, the memory block 1130 that stores the parameters of each frame for short-term statistical calculation may be simply configured using, for example, a first-in, first-out buffer.

한편, 제어 블럭(1120)에서는 메모리 블럭(1130)에 저장된 30 프레임의 eMIp를 이용하여 산출되는 소정시간(예를들면 1초)동안의 이전 입력 영상에 대한 단시간 통계와 현재의 입력 영상의 통계적 특성 파라메터(MIp)에 의거하여 현재 입력 영상이 장면전환 부분인지 여부를 판단할 때 그 판단결과에 기초하여 도면 1의 스위칭 블럭(115)에서의 접점 절환을 위한 제어신호 CS(예를들면, 하이 또는 로우 레벨을 갖는 논리신호)를 라인 L13상에 발생한다.Meanwhile, in the control block 1120, the short-time statistics of the previous input image and the statistical characteristics of the current input image for a predetermined time (for example, 1 second) calculated using 30 frames of eMIp stored in the memory block 1130. When it is determined whether the current input image is a scene change part based on the parameter MIp, the control signal CS (eg, high or high) for switching the contact point in the switching block 115 of FIG. A logic signal having a low level) is generated on the line L13.

다시말해, 제어 블럭(1120)에서는 이전 영상에 대한 소정시간 동안의 단시간 통계와 현재 입력 영상의 통계적 특성(MIp)과의 비교결과, 현재 입력 영상이 장면전환 부분이 아닌 것으로 판단될 때, 라인 L13상에 하이 또는 로우 레벨의 논리신호를 발생하여 도면1에 도시된 스위칭 블럭(115)의 b­a가 연결되도록 제어하고, 이와는 달리 현재 입력 영상이 장면전환 부분인 것으로 판단될 때, 라인 L13상에 로우 또는 하이 레벨의 논리신호를 발생하여 도면1에 도시된 스위칭 블럭(115)의 c­a가 연결되도록 제어한다. 그 결과, 제어 블럭(1120)으로부터 제공되는 라인 L13상의 제어신호 CS에 의거하여, 스위칭 블럭(115) b­a가 연결되면 라인 L11상의 현재 입력 프레임 신호 자체가 적응적인 인트라/인터 모드 부호화를 위한 라인 L16상에 연결되고, 반대로 스위칭 블럭(115)의 c­a가 연결되면 전술한 대역 제한 블럭(1140)에서 제공되는 라인 L15상의 프레임 신호 또는 고주파 성분이 제거된 프레임 신호가 라인 L16상에 연결된 것이다.In other words, in the control block 1120, when it is determined that the current input image is not the scene change part as a result of comparing the short-time statistics for a predetermined time with respect to the previous image and the statistical characteristic (MIp) of the current input image, the line L13. A logic signal of high or low level is generated on the control block so that ba of the switching block 115 shown in FIG. 1 is connected. Alternatively, when it is determined that the current input image is a scene change part, it is low on line L13. Alternatively, a high level logic signal is generated to control ca of the switching block 115 shown in FIG. 1 to be connected. As a result, based on the control signal CS on the line L13 provided from the control block 1120, if the switching block 115 ba is connected, the current input frame signal itself on the line L11 is the line L16 for adaptive intra / inter mode encoding. On the contrary, when ca of the switching block 115 is connected, the frame signal on the line L15 provided by the band limiting block 1140 or the frame signal from which the high frequency component is removed is connected on the line L16.

다른한편, 본 발명에 따라 대역 제한 블럭(1140)이 필터링을 통해 고주파 성분이 제거된 프레임 신호를 입력 프레임 신호로써 라인 L15상에 발생하도록 구성될 때, 그 고주파 성분 제거를 위한 방법으로는 1차원 저역 통과 필터링 기법, 2차원 저역 통과 필터링 기법, 이산 푸리에 변환(Discrete Fourier Transform : 이하 DET라 약칭함)을 이용한 대역 제한 기법 및 이산 코사인 변환(Discrete Cosine Transform : 이하 DCT 라 약칭함)을 이용한 대역 제한 기법 등을 들 수 있다On the other hand, when the band limiting block 1140 is configured to generate a frame signal from which high frequency components have been removed through filtering, on the line L15 as an input frame signal, the method for removing the high frequency components is one-dimensional. Low pass filtering, 2D low pass filtering, band limiting using Discrete Fourier Transform (DET), and band limiting using Discrete Cosine Transform (DCT). Techniques, etc.

상기한 바와같이 본 발명에 따라 인간의 시각특성에 비교적 둔감한 고주파 성분이 제거된 프레임을 입력 프레임 신호로써 제공하고자 할 때, 그 고주파 성분을 제거하는 기법들중 하나인 1차원 저역 통과 필터링 기법은, 입력되는 영상신호에 저역 통과 필터를 곱함으로써 수행된다. 즉, N×M의 한 블럭(예를들면, 8×8 블럭)의 영상에 대한 각 필셀의 값을 f(x,y)라 할 때, 일예로서 도면5에 도시된 바와같이 한 블럭이 8×8의 블럭인 경우, 픽셀의 수평 및 수직 방향으로의 위치값 x 및 y는 0에서 7사이의 정수값을 갖으며, 각 값들은 0에서 255사이의 레벨값을 갖는다. 즉, 도면5로부터 알 수 있는 바와같이, 8×8 블럭의 각 픽셀의 수평 및 수직 방향의 위치값은 f(0,0)에서 f(7,7)의 값을 갖는다.As described above, when providing a frame from which a high frequency component relatively insensitive to human visual characteristics is removed as an input frame signal as described above, one-dimensional low pass filtering technique, which is one of techniques for removing the high frequency component, This is performed by multiplying the low pass filter by the input video signal. That is, when the value of each pixel for an image of one block of N × M (for example, 8 × 8 block) is f (x, y), one block is 8 as shown in FIG. 5 as an example. In the case of a block of x8, the position values x and y of the pixel in the horizontal and vertical directions have integer values between 0 and 7, and each value has a level value between 0 and 255. That is, as can be seen from Fig. 5, the position values in the horizontal and vertical directions of each pixel of the 8x8 block have a value of f (0,0) to f (7,7).

한편, 본 발명에서의 1차원 저역 통과 필터로서는, 일예로서 도면6에 도시된 바와같이, 1차원 저역 통과 필터계수가 7개의 차수를 갖는 것이라 가정하여 도시하였다. 이러한 저역 통과 필터는 입력 영상신호의 샘플링 주파수가 fs인 경우 그 주파수 대역폭이 fs/2이므로 이 신호를 fs/4의 주파수 대역폭을 갖도록 대역 제한하는 저주파 통과 필터를 예로 든 것이다.On the other hand, as the one-dimensional low pass filter in the present invention, as shown in Fig. 6 as an example, it is assumed that the one-dimensional low pass filter coefficient has seven orders. The low pass filter is an example of a low pass filter that band-limits the signal to have a frequency bandwidth of fs / 4 because the frequency bandwidth is fs / 2 when the sampling frequency of the input video signal is fs.

따라서, 대역 제한 블럭(1140)에서 본 발명에 따라 영상신호를 1차원 저역 통과 필터링하는 과정은 입력 영상신호가 수평 및 수직 방향으로의 2차원 신호이므로 각각의 방향에 대하여 1차원 저역 통과 필터링을 수행함으로써 구현할 수 있다. 이러한 과정에 대해서는 (0,4)위치에서의 수평 방향 필터링과 (3,0)위치에서의 수직 방향 필터링 과정을 도시한 도면7에 상세하게 도시되어 있다. 즉, (x,y)의 위치에서 수직 방향으로 저역 통과 필터링된 신호를 z(x,y)라고 하면, 이것은 아래의 수식에 의해 계산된다.Therefore, in the band limiting block 1140, the process of performing one-dimensional low pass filtering on the image signal according to the present invention performs one-dimensional low pass filtering on each direction since the input image signal is a two-dimensional signal in the horizontal and vertical directions. This can be achieved by This process is illustrated in detail in FIG. 7 which shows a horizontal filtering process at (0,4) and a vertical filtering process at (3,0). That is, if the low pass filtered signal in the vertical direction at the position of (x, y) is z (x, y), this is calculated by the following equation.

[수식 6][Equation 6]

상기한 [수식 6]에서 T는 필터의 차수를 의미하므로, T=7이다. 따라서, u,v 값은 -3에서 3사이의 정수값을 갖는다. 또한, 상기한 [수식 6]에서 k(u)값은 필터계수값이고, f(x,y) 값은 픽셀값이다. 만일, 상기한 [수식 5]에서 f(x,y-u)의 (y-u)값이 0보다 작아지면 0으로 하고, 혹은 전체 한 프레임의 영상 크기에 해당하는 M-1 값보다 커지는 경우에는 M-1값으로 해 준다. 이것은, 그 영역, 즉 0에서 M-1 사이에서만 픽셀값이 존재하므로 이 영역을 넘는 경우에는 끝값으로 설정해 주는 방법인 것으로, 이러한 필터링 방법은 이 기술분야에 이미 공지된 기술이다.In the above Equation 6, T means the order of the filter, so T = 7. Thus, u and v values have integer values between -3 and 3. In the above Equation 6, the k (u) value is a filter coefficient value, and the f (x, y) value is a pixel value. If the (yu) value of f (x, yu) in Equation 5 is smaller than 0, it is set to 0, or when it is larger than the M-1 value corresponding to the image size of one frame, M-1 Value. This is a method of setting the end value when the pixel value exists only in the area, that is, 0 to M-1, and this filtering method is a technique known in the art.

따라서, 상기한 [수식 6]에서와 같이 모든 픽셀의 위치에서 필터링을 수행하면, 일예로서 도면 7에 도시된 바와같이, 수평 및 수직 방향으로 1차원 필터링한 결과를 얻을 수 있다. 이때, 본 발명에 따라 모든 픽셀의 위치에서 이러한 필터링을 수행하는 과정에서 수평방향 필텅링을 먼저 수행하고, 수평 방향 필터링된 결과에 대해 다시 수직 방향 필터링을 수행하거나 혹은 그 순서를 바꾸어서 수행할 수도 있다.Therefore, if the filtering is performed at all pixel positions as shown in [Equation 6], as shown in FIG. 7 as an example, one-dimensional filtering in the horizontal and vertical directions can be obtained. In this case, in the process of performing such filtering at all pixel positions, horizontal filtering may be performed first, and then vertical filtering may be performed again or the order of the horizontal filtering may be changed again. .

한편, 상술한 바와같은 1차원 저역 통과 필터링시에 기설정된(또는 고정된)하나의 필터계수만을 이용하여 입력 영상신호의 고주파 성분을 완전 제거 또는 부분제거하도록 구성할 수도 있으나, 입력 영상의 복잡정도를 고려하여 그 복잡도를 크기에 따라 복수의 필터계수(예를들면, 4개 등)를 사용하여 입력 영상의 고주파 성분제거를 적응적(또는 선택적)으로 제거하도록 구성할 수도 있다. 이때, 복수의 필터계수를 이용하여 입력 프레임을 적응적으로 필터링할 경우, 기설정된 하나의 필터계수를 이용한 영상 필터링에 비해 하드웨어의 구현은 다소 복잡해질 수 있으나 도면1의 영상 부호화 블럭(130)의 양자화 과정에서 양자화 스텝 사이즈의 고정밀한(촘촘한)제어가 가능하다는 또다른 장점을 갖는다. 따라서, 이와같이 복수의 필터계수를 이용하여 적응적으로 필터링하는 경우에 대해서는 그 적용범위에 따라 선택적으로 응용할 수 있을 것이다.On the other hand, the one-dimensional low-pass filtering as described above may be configured to completely remove or partially remove the high frequency components of the input video signal by using only one preset filter coefficient (or fixed), but the complexity of the input video In consideration of this, the complexity may be configured to adaptively (or selectively) remove high frequency components of the input image using a plurality of filter coefficients (for example, four). In this case, when the input frame is adaptively filtered using a plurality of filter coefficients, the hardware implementation may be more complicated than the image filtering using one preset filter coefficient, but the image encoding block 130 of FIG. Another advantage is that in the quantization process, precise control of the quantization step size is possible. Therefore, in the case of adaptive filtering using a plurality of filter coefficients as described above, it may be selectively applied according to its application range.

다른한편, 입력 프레임의 고주파 성분 제거를 위한 기법들중 2차원 저역 통과 필터링은, 도면5에 도시된 바와같이, N×M의 한 블럭(예를들면, 8×8블럭)의 영상에 대한 각 필셀의 값을 f(x,y)라 하고, 일예로서 도면8에 도시된 바와같이, 2차원 저역 통과 필터계수가 3개의 차수를 갖는 9차수를 갖는 것이라 가정하면, 하기에 기술되는 수식에서와 같이 필터계수 k에 의해 좌우되는 데, k(0,0)의 값은 1/2이고, 그 이외의 값은 1/16의 값을 갖는다.On the other hand, two-dimensional low pass filtering among the techniques for the high frequency component removal of the input frame, as shown in Fig. 5, is performed for each block of an image of one block of NxM (e.g., 8x8 blocks). Assume that the value of the pixel is f (x, y), and as an example, as shown in Fig. 8, the two-dimensional low pass filter coefficient has a 9th order having 3 orders. Similarly, it depends on the filter coefficient k. The value of k (0,0) is 1/2, and the other values have a value of 1/16.

따라서, 대역 제한 블럭 (1140)에서 본 발명에 따라 라인 L12상의 입력 프레임 신호를 2차원 저역 통과 필터링하는 과정은, 예를들면 f(3,3)의 위치에서 필터링을 수행하는 과정을 보여주는 도면9에 도시된 바와같다. 도면9에 있어서, 필터계수와 겹치는 픽셀간의 곱을 모두 더하면 필터링한 결과를 얻게 된다. (x,y)의 위치에서 2차원 저역 통과 필터링된 신호를 Z(x,y)라고 하면, 이 값은 아래의 수식에 의해 계산된다.Accordingly, the process of performing the two-dimensional low pass filtering of the input frame signal on the line L12 in the band limiting block 1140 according to the present invention, for example, shows a process of performing filtering at the position of f (3,3). As shown in. In Fig. 9, the sum of the product between the filter coefficient and the overlapping pixels gives a filtered result. If the two-dimensional low pass filtered signal at the position of (x, y) is called Z (x, y), this value is calculated by the following equation.

[수식 7][Formula 7]

상기한 수식에서 T는 필터의 차수를 의미하므로, T=3이다. 따라서, u값은 -1에서 1사이의 정수값을 갖는다. 또한, 상기한 수식에서 k(u,v)값은 필터계수 값이고, f(x,y)값은 픽셀값이다. 이때, 전술한 1차원 저역 통과 필터링에서와 마찬가지고, 상기한 수식에서 f(x-u,y-v)의 (x-u),(y-v)값이 0보다 작아지면 0으로 하고, 혹은 전체 한 프레임의 영상 크기에 해당하는 M-1값보다 커지는 경우에는 M-1값으로 해 준다. 따라서, 상기 수식에서와 같이 모든 픽셀의 위치에서 필터링을 수행하면, 일예로서 도면9에 도시된 바와같이, 수평 및 수직 방향으로 2차원 필터링한 결과를 얻을 수 있다.In the above formula, T means the order of the filter, so T = 3. Thus, the u value has an integer value between -1 and 1. In the above equation, k (u, v) is a filter coefficient value, and f (x, y) is a pixel value. At this time, the same as in the above-described one-dimensional low-pass filtering, if the (xu), (yv) value of f (xu, yv) is less than 0 in the above formula is set to 0, or corresponds to the image size of one frame If the value becomes larger than the M-1 value, the M-1 value is used. Therefore, if the filtering is performed at the positions of all the pixels as in the above formula, as shown in FIG. 9, for example, two-dimensional filtering in the horizontal and vertical directions can be obtained.

다른한편, 입력 프레임의 고주파 성분 제거를 위한 기법들중 DFT를 이용한 대역 제한 기법을 채용하는 경우, 대역 제한 블럭(1140)은 전술한 제어 블럭(1120)으로 제공되는 주파수 영역 구분을 위한 대역폭을 결정하는 출력신호 B에 의거하여 입력 영상에서 시각에 비교적 둔감한 고주파 성분을 제한하는 데, 그 과정은 실질적으로 2차원 주파수 변환과정과 주파수 선택과정으로 구분할 수 있으며, 이때 2차원 주파수 변환과정에서는 이산 푸리에 변환(DFT)을 이용하고, 주파수 선택과정에서는 제어 블럭(1120)으로부터 제공되는 출력신호 B에 의거하여 DFT 변환된 영상신호의 통과 대역을 결정한다.On the other hand, when the band limiting technique using the DFT is adopted among the techniques for removing the high frequency components of the input frame, the band limiting block 1140 determines the bandwidth for frequency domain division provided to the control block 1120 described above. On the basis of the output signal B to limit the high frequency components which are relatively insensitive to the time in the input image, the process can be substantially divided into two-dimensional frequency conversion process and frequency selection process. In the frequency selection process, a passband of the DFT-converted video signal is determined based on the output signal B provided from the control block 1120.

다음에, 대역 제한 블럭(1140)에서 라인 L12 상의 입력 프레임을 2차원 DFT변환하고, 또한 대역폭 결정을 위한 출력신호 B에 의거하여 2차원 DFT 변환된 영상신호의 주파수를 선택하는 과정에 대하여 상세하게 설명한다.Next, in the band limiting block 1140, the input frame on the line L12 is two-dimensional DFT transformed and the frequency of the two-dimensional DFT-converted video signal is selected based on the output signal B for bandwidth determination in detail. Explain.

먼저, 대역 제한 블럭(1140)은 입력 영상신호가 갖는 공간영역의 유사성을 이용하는 것으로, 아래의 수식에 의거하여 공간영역의 영상신호(픽셀 데이터)를 푸리에 함수를 이용하여 M×N단위, 예를들면 8×8 단위의 주파수 영역의 2차원 DFT 변환계수들로 변환한다.First, the band limiting block 1140 uses the similarity of the spatial domain of the input image signal. The band-limited block 1140 uses the Fourier function to convert the image signal (pixel data) of the spatial domain using a Fourier function, for example, according to the following equation. For example, two-dimensional DFT transform coefficients of a frequency domain of 8x8 units are converted.

[수식 8]Equation 8

상기 수식에서 f(u,v)는 각 픽셀의 값을, u는 수평방향의 위치를, v는 수직 방향으로의 픽셀의 위치를 나타낸다. 따라서, N×M 블럭의 각 픽셀에 대한 값은 다음과 같은 값을 갖는다. 즉, N=8인 경우 u 및 v는 0과 7사이의 값을 갖는다. 이때, 각 값들은 0에서 255사이의 정수값을 갖는다. 또한, 상기 수식에서 Z(k,l)은 변환된 신호를 의미하고, k,l은 각각 수평 및 수직 방향으로의 주파수 성분을 의미한다. 따라서, N=8인 경우에는 8×8 DFT 블럭, 즉 공간영역의 신호가 주파수 영역의 신호로 변환된다.In the above formula, f (u, v) denotes the value of each pixel, u denotes the position in the horizontal direction, and v denotes the position of the pixel in the vertical direction. Therefore, the value for each pixel of the N × M block has the following value. That is, when N = 8 u and v have a value between 0 and 7. At this time, each value has an integer value between 0 and 255. In addition, in the above formula, Z (k, l) means a converted signal, and k, l means frequency components in the horizontal and vertical directions, respectively. Therefore, when N = 8, an 8x8 DFT block, that is, a signal in the spatial domain is converted into a signal in the frequency domain.

보다 상세하게, 대역 제한 블럭(1140)에서는 상술한 바와같은 과정을 통해 얻어진 DFT 변환계수들에 대하여, 라인 L14를 통해 제어 블럭(1120)으로부터 제공되는 대역폭 결정을 위한 출력신호 B에 의거하여 그 통과되는 주파수 대역을 결정한다. 이때, 전술한 [수식 5]에서와 같이 대역폭 결정을 위한 출력신호 B는 1에서 4사이의 정수값으로 설정할 수 있는데, 이에 따라 선택되는 주파수는 다음과 같다.More specifically, in the band limiting block 1140, the DFT conversion coefficients obtained through the above-described process are passed based on the output signal B for bandwidth determination provided from the control block 1120 through the line L14. Determine the frequency band to be At this time, as shown in Equation 5, the output signal B for bandwidth determination may be set to an integer value between 1 and 4, and the selected frequency is as follows.

즉, 대역 제한 블럭(1140)에서는 변환된 주파수 Z(k,l)에서 특정한 주파수를 선택한다. 여기에서, k,l은 0에서 N-1사이의 정수값이다. 따라서, 대역 제한 블럭(1140)에서 출력되는 값은 특정 주파수 성분(즉, 고주파 성분)이 제거된 신호가 된다. 예를들어, N=8인 경우에, 일예로서 도면 4에 도시된 바와같이, 그 통과 주파수 대역이 결정될 것이다.That is, the band limiting block 1140 selects a specific frequency from the converted frequency Z (k, l). Here, k, l is an integer value between 0 and N-1. Accordingly, the value output from the band limit block 1140 becomes a signal from which a specific frequency component (ie, a high frequency component) is removed. For example, in the case of N = 8, as shown in FIG. 4 as an example, the pass frequency band will be determined.

따라서, 도면4에 도시된 바와같이, 라인 L14를 통해 제어 블럭(1120)으로부터 대역 제한 블럭(1140)으로 제공되는 대역폭 결정을 위한 출력신호 B에 따라 각각에 해당하는 점선 이하의 주파수는 모두 0으로 하여 선택하지 않는다. 즉, 도면 4에서 B값이 4인 경우에는 Z(1,7), Z(2,6)등과 같은 점선 이하의 주파수는 모두 0으로 매핑 처리되는 것이다. 이와는 달리 하나의 하나의 기설정 필터계수를 이용하여 제어 블럭(1120)으로부터의 출력신호 B에 응답하여 소정 레벨 이상의 고주파 성분을 제한(고정된 레벨 이상의 고주파 성분을 0으로 대체 등)하도록 구성할 수도 있으며, 이 경우 적응적인(또는 선택적인)대역 제한에 비해 그 구현이 다소 용이할 것이다.Accordingly, as shown in FIG. 4, the frequency below the dotted line corresponding to each of the frequencies according to the output signal B for determining the bandwidth provided from the control block 1120 to the band limiting block 1140 via the line L14 is all zero. Do not choose. That is, when the B value is 4 in FIG. 4, all frequencies below the dotted line such as Z (1,7), Z (2,6), etc. are mapped to 0. Alternatively, a single predetermined filter coefficient may be used to limit high frequency components of a predetermined level or higher (replace high frequency components of a fixed level or more with 0, etc.) in response to the output signal B from the control block 1120. In this case, the implementation will be somewhat easier compared to the adaptive (or optional) band limitation.

다음에, 상술한 바와같이 영상의 복잡도에 기초하여 결정되는 대역폭 결정을 위한 출력신호 B값에 따라 특정영역의 주파수(고주파 성분)가 제거된 DFT 변환계수들(주파수 영역의 신호)은 아래의 수식을 통해 원래의 공간영역의 신호로 역변환된다.Next, as described above, the DFT transform coefficients (signals in the frequency domain) from which the frequency (high frequency component) of the specific region is removed according to the output signal B value for determining the bandwidth determined based on the complexity of the image are expressed as follows. The inverse is transformed into the original spatial signal.

[수식 9][Equation 9]

상기 수식에서 f(u,v)는 각 픽셀의 값을 의미하고, u 및 v는 수평 및 수직 방향으로의 픽셀의 위치를 의미하며, Z(k,l)은 변환된 신호를 의미하고, k,l은 각각 수평 및 수직 방향으로의 주파수 성분을 의미한다. 따라서, N=8인 경우에는 주파수 영역의 8×8 DFT블럭들은 공간영역의 신호(픽셀 데이터)로 변환된다.In the above formula, f (u, v) denotes the value of each pixel, u and v denote the position of the pixel in the horizontal and vertical directions, Z (k, l) denotes the converted signal, and k denotes frequency components in the horizontal and vertical directions, respectively. Therefore, when N = 8, 8x8 DFT blocks in the frequency domain are converted into a signal (pixel data) in the spatial domain.

그 결과, 대역 제한 블럭(1140)에서는 라인 L15 상에 입력 영상이 장면전환 부분일 때 그 영상의 복잡도에 따라 특정영역의 주파수가 선택적으로 제거된 영상 신호, 즉 입력 영상의 복잡도에 근거하여 산출되는 대역폭 결정을 위한 출력신호 B에 따라 영상의 고주파 성분이 선택적(또는 적응적)으로 제거된 프레임 신호(특정영역의 고주파 성분이 0값으로 대체된 영산신호)를 발생하며, 여기에서 발생된 신호(인간의 시각특성에 비교적 운감한 고주파 성분이 선택적으로 제거된 프레임 신호)는 도면1의 스위칭 블럭(115)의 c­a 및 라인 L16을 경유하여 감산기(120) 및 현재 프레임 예측 블럭(190)으로 각각 제공(인터 모드 부호화)되거나 스위칭 블럭(115)의 c­a 및 라인 L17을 경유하여 영상 부호화 블럭(130)으로 제공(인트라 모드 부호화)될 것이다.As a result, in the band limiting block 1140, when the input image is the scene change portion on the line L15, the image signal is selectively calculated based on the complexity of the input image, that is, the frequency of the specific region is selectively removed according to the complexity of the image. According to the output signal B for bandwidth determination, a frame signal in which the high frequency component of the image is selectively (or adaptively) removed is generated (a zeroing signal in which a high frequency component of a specific region is replaced with a zero value). A frame signal in which high frequency components which are relatively inferior to human visual characteristics are selectively removed) are provided to the subtractor 120 and the current frame prediction block 190 via ca and line L16 of the switching block 115 of FIG. (Inter mode encoding) or provided to the image encoding block 130 via ca and line L17 of the switching block 115 (intra mode encoding).

다른한편, 입력 프레임의 고주파 성분 제거를 위한 기법들중 DCT를 이용한 대역 제한 기법을 채용하는 경우, 대역 제한 블럭(1140)은 전술한 제어 블럭(1120)으로 제공되는 주파수 영역 구분을 위한 대역폭을 결정하는 출력신호 B에 의거하여 입력 영상에서 시각에 비교적 둔감한 고주파 성분을 제한하는 데, 그 과정은 실질적으로 2차원 주파수 변환과정과 주파수 선택과정으로 구분할 수 있으며, 이때 2차원 주파수 변환과정에서는 이산 코사인 변환(DCT)을 이용하고, 주파수 선택과정에서는 제어 블럭(1120)으로부터 제공되는 출력신호 B에 의거하여 DCT변환된 영상신호의 통과 대역을 결정한다.On the other hand, when the band limiting technique using DCT is employed among the techniques for removing high frequency components of the input frame, the band limiting block 1140 determines the bandwidth for frequency domain division provided to the control block 1120 described above. On the basis of the output signal B to limit the high frequency components which are relatively insensitive to the time in the input image, the process can be divided into two-dimensional frequency conversion process and frequency selection process. In this case, discrete cosine is used in the two-dimensional frequency conversion process. By using the conversion (DCT), in the frequency selection process, the pass band of the DCT-converted video signal is determined based on the output signal B provided from the control block 1120.

다음에, 대역 제한 블럭(1140)에서 입력 영상을 2차원 DCT 변환하고, 또한 주파수 영역 구분을 위한 대역폭을 결정하는 출력신호 B에 의거하여 2차원 DCT 변환된 영상신호의 주파수를 선택하는 과정에 대하여 첨부된 도면10을 참조하여 상세하게 설명한다.Next, a process of selecting a frequency of the 2D DCT transformed image signal based on the output signal B for determining the bandwidth for frequency domain division and inputting the 2D DCT transformed image in the band limiting block 1140. It will be described in detail with reference to the accompanying Figure 10.

먼저, 대역 제한 블럭(1140)에서는 입력 영상에 대하여 2차원 DCT 변환을 수행하는 데, 이 기술분야에 잘 알려진 바와같이, DCT 변환과정은 영상신호의 공간적인 유사성을 잘 반영한다고 알려진 것으로, 이러한 DCT 변환기법은 영상신호를 부호화하는 과정에서 많이 응용되는 것이다. 따라서, 여기에서의 상세한 언급은 생략한다. 따라서, 본 실시예에서는 입력 영상이 장면전환 부분일 때, 이러한 특성(공간적인 유사성 반영)을 갖는 DCT 변환을 영상신호의 복잡도에 따른 효과적인 주파수 선택 기법으로 이용한다. 이와같은 본 발명에서의 주파수 선택과정은 단순한 주파수 변환 기법에 비해 영상신호의 특성을 보다 잘 반영하여 주파수 영역으로 반환하게 되므로, 결과적으로 입력 영상에 대한 주파수 선택시에 그 효율을 높일 수 있다.First, the band limiting block 1140 performs 2D DCT conversion on the input image. As is well known in the art, the DCT conversion process is known to reflect the spatial similarity of the image signal. The converter method is widely applied in the process of encoding a video signal. Therefore, detailed description is omitted here. Therefore, in the present embodiment, when the input image is a scene change part, DCT transform having such characteristics (reflecting spatial similarity) is used as an effective frequency selection technique according to the complexity of the image signal. Such a frequency selection process in the present invention returns to the frequency domain by better reflecting the characteristics of the image signal than a simple frequency conversion technique, and as a result, it is possible to increase the efficiency when selecting a frequency for the input image.

도면10은 도면2에 도시된 본 발명에 따른 대역 제한 블럭(1140)에 대한 세부적인 블럭구성도를 나타낸다. 동도면에 도시된 바와같이, 대역 제한 블럭(1140)은 DCT 블럭(1141), 양자화 블럭(1143), 주파수 선택기 (1145), 역양자화 블럭(1147) 및 IDCT 블럭(1149)을 포함한다.FIG. 10 shows a detailed block diagram of the band limiting block 1140 according to the present invention shown in FIG. As shown in the figure, the band limiting block 1140 includes a DCT block 1141, a quantization block 1143, a frequency selector 1145, an inverse quantization block 1147, and an IDCT block 1149.

도면10에 있어서, DCT 블럭(1141)은 영상신호가 갖는 공간영역의 유사성을 이용하는 것으로, 아래의 수식에 의거하여 공간영역의 영상신호(픽셀 데이터)를 코사인함수를 이용하여 M×N단위, 예를들면 8×8 단위의 주파수 영역의 2차원 DCT 변환계수들로 변환하여 다음단의 양자화 블럭(1143)에 제공한다.In Fig. 10, the DCT block 1141 uses the similarity of the spatial domain of the video signal, and according to the following expression, the video signal (pixel data) of the spatial domain is co-signed by MxN units, for example. For example, two-dimensional DCT transform coefficients of a frequency domain of 8x8 units are converted and provided to the next quantization block 1143.

[수식 10]Equation 10

상기 수식에서 F(u,v)는 변환된 DCT 계수를 의미하고, f(x,y)는 입력 영상 신호를 의미한다. 여기에서, x,y는 픽셀 데이터의 가로 및 세로 방향의 위치를 의미하고, u,v는 변환된 DCT 계수에서 가로 및 세로 방향의 주파수를 의미한다. 그런다음, 양자화 블럭(1143)에서는 상기한 수식을 통해 2차원 변환된 DCT 계수들에 대해, 예를들면 비선형 연산을 통해 유한한 개수의 값으로 양자화한다. 이때, DCT 변환계수의 양자화 과정에서 QP값을 이용하는데, 변환된 DCT 계수를 F(u,v)라 하면, F(u,v)/(2*QP)를 수행하여 정수값을 취하는 연산이 대표적인 양자화 과정의 예라고 할 수 있다.In the above equation, F (u, v) means the transformed DCT coefficient, and f (x, y) means the input image signal. Here, x, y means the position in the horizontal and vertical direction of the pixel data, u, v means the frequency in the horizontal and vertical direction in the transformed DCT coefficients. The quantization block 1143 then quantizes the two-dimensional transformed DCT coefficients using the above-described equation, for example, using a nonlinear operation to a finite number of values. In this case, the QP value is used in the quantization process of the DCT transform coefficient. When the transformed DCT coefficient is F (u, v), an operation of performing an integer value by performing F (u, v) / (2 * QP) is performed. This is an example of a representative quantization process.

한편, 주파수 선택기(1145)에서는 상술한 바와같은 과정을 통해 양자화된 DCT 변환계수들에 대하여, 라인 L14를 통해 도면2의 제어 블럭(1120)으로부터 제공되는 대역폭 결정을 위한 출력신호 B에 의거하여 그 통과되는 주파수를 결정한다. 이때, 전술한 [수식 5]에서와 같이 대역폭 결정을 위한 출력신호 B는 1에서 4사이의 정수값으로 설정할 수 있는 데, 이에 따라 선택되는 주파수는 다음과 같다.On the other hand, the frequency selector 1145 uses the output signal B for bandwidth determination provided from the control block 1120 of FIG. 2 through the line L14 for the DCT transform coefficients quantized through the above-described process. Determine the frequency passed. In this case, as shown in Equation 5, the output signal B for bandwidth determination may be set to an integer value between 1 and 4, and the selected frequency is as follows.

즉, 주파수 선택기(1145)에서는 변환된 주파수 Z(k,l)에서 특정한 주파수를 선택한다. 여기에서, k,l은 0에서 N-1사이의 정수값이다. 따라서, 주파수 선택기(1145)에서 출력되는 값은 특정 주파수 성분(즉, 고주파 성분)이 제거된 신호가 된다. 예를들어, N=8인 경우에 도면4에 도시된 바와같이 그 통과 주파수가 결정될 것이다.That is, the frequency selector 1145 selects a specific frequency from the converted frequency Z (k, l). Here, k, l is an integer value between 0 and N-1. Therefore, the value output from the frequency selector 1145 becomes a signal from which a specific frequency component (ie, a high frequency component) is removed. For example, when N = 8, its pass frequency will be determined as shown in FIG.

따라서, 도면4에 도시된 바와같이, 라인 L14를 통해 제어 블럭(1120)으로부터 주파수 선택기(1145)로 제공되는 대역폭 결정을 위한 출력신호 B에 따라 각각에 해당하는 점선 이하의 주파수는 모두 0으로 하여 선택하지 않는다. 즉, 도면4에서 B값이 4인 경우에는 Z(1,7), Z(2,6)등과 같은 점선 이하의 주파수는 모두 0으로 매핑 처리되는 것이다. 이와는 달리 하나의 하나의 기설정 필터계수를 이용하여 제어 블럭(1120)으로부터의 출력신호 B에 응답하여 소정 레벨 이상의 고주파 성분을 제한(고정된 레벨 이상의 고주파 성분을 0으로 대체 등)하도록 구성할 수도 있으며, 이 경우 적응적인(또는 선택적인)대역 제한에 비해 그 구현이 다소 용이할 것이다.Therefore, as shown in FIG. 4, the frequency below the dotted line corresponding to each of the frequencies according to the output signal B for determining the bandwidth provided from the control block 1120 to the frequency selector 1145 through the line L14 is all zero. Do not choose. That is, in the case where the B value is 4 in FIG. 4, frequencies below the dotted line such as Z (1,7), Z (2,6), etc. are all mapped to 0. FIG. Alternatively, a single predetermined filter coefficient may be used to limit high frequency components of a predetermined level or higher (replace high frequency components of a fixed level or more with 0, etc.) in response to the output signal B from the control block 1120. In this case, the implementation will be somewhat easier compared to the adaptive (or optional) band limitation.

다음에, 상술한 바와같이 입력 영상이 장면전환 부분일 때, 입력 영상의 복잡정도에 기초하여 결정되는 대역폭 결정을 위한 출력신호 B값에 따라 특정영역의 주파수(고주파 성분)가 제거된 양자화된 DCT 변환계수들은 다음단의 역양자화 블럭(1147) 및 IDCT 블럭(1149)을 통해 원신호(픽셀 데이터)로 복원된다. 이때, IDCT 블럭(1149)에서의 역양자화된 DCT 변환계수의 역변환과정은 아래의 수식에 도시된 바와같다.Next, as described above, when the input image is a scene change part, the quantized DCT from which the frequency (high frequency component) of the specific region is removed according to the output signal B value for bandwidth determination determined based on the complexity of the input image. The conversion coefficients are restored to the original signal (pixel data) through the next inverse quantization block 1147 and the IDCT block 1149. At this time, the inverse transformation process of the inverse quantized DCT transformation coefficient in the IDCT block 1149 is as shown in the following equation.

[수식 11][Equation 11]

상기 수식에서 f(x,y)는 역변환된 영상신호(픽셀 데이터)를 의미하고, F(u,v)는 변환된 DCT 계수를 의미한다. 여기에서, u,v는 변환된 DCT 계수에서 가로 및 세로 방향의 주파수를 의미하고, x,y는 픽셀 데이터의 가로 및 세로 방향의 위치를 의미한다.In the above equation, f (x, y) means inversely transformed video signal (pixel data), and F (u, v) means transformed DCT coefficient. Here, u, v means frequencies in the horizontal and vertical directions in the transformed DCT coefficients, and x, y means positions in the horizontal and vertical directions of the pixel data.

그 결과, IDCT 블럭(1149)에서는 라인 L15상에 입력 영상이 장면전환 부분일 때 그 영상의 복잡도에 따라 특정영역의 주파수가 선택적으로 제거된 영상신호, 즉 입력 영상의 복잡도에 근거하여 산출되는 대역폭 결정을 위한 출력신호 B에 따라 영상의 고주파 성분이 선택적(또는 적응적)으로 제거된 프레임 신호(특정영역의 고주파 성분이 0값으로 대체된 영상신호)를 발생하며, 여기에서 발생된 신호(인간의 시각특성에 비교적 둔감한 고주파 성분이 선택적으로 제거된 프레임 신호)는 도면1의 스위칭 블럭(115)의 c­a 및 라인 L16을 경유하여 감산기(120) 및 현재 프레임 예측 블럭(190)으로 각각 제공(인터 모드 부호화)되거나 스위칭 블럭(115)의 c­a 및 라인 L17을 경유하여 영상 부호화 블럭(130)으로 제공(인트라 모드 부호화)될 것이다.As a result, in the IDCT block 1149, when the input image is the scene change portion on the line L15, the bandwidth calculated based on the complexity of the input image, that is, the image signal from which the frequency of a specific region is selectively removed according to the complexity of the image. According to the output signal B for the determination, a frame signal in which the high frequency component of the image is selectively (or adaptively) removed (the image signal in which the high frequency component of the specific region is replaced with 0 value) is generated. Frame signals in which the high frequency components are relatively insensitive to the visual characteristics of?) Are provided to the subtractor 120 and the current frame prediction block 190 via ca and line L16 of the switching block 115 of FIG. Inter mode encoding) or provided to the image encoding block 130 via ca and line L17 of the switching block 115 (intra mode encoding).

그 결과, 도면1의 영상 부호화 블럭(130)에서는, 입력 영상이 복잡한 장면전환 부분인 경우, 상술한 바와같이 적응적인 대역 제한(1차원 또는 2차원 저역 통과 필터링, DFT 또는 DCT를 이용한 대역 제한)을 통해 인간의 시각에 비교적 둔감한 영상의 고주파 성분을 제거한 상태에서 부호화(양자화)를 수행하게 되므로, 시각적으로 중요한 성분인 저주파 신호에 대해 양자화 오차가 적게 생기도록 하면서 부호화할 수 있는 것이다. 만일, 복잡한 장면전환 영상임에도 불구하고 본 발명에서와 같이 주파수의 통과 대역폭을 적응적으로 제한(고주파 성분 제거)하지 않게 되면, 결과적으로 부호화후에 발생되는 비트량이 많아져 양자화 스텝 사이즈가 커지게 되므로 모든 주파수 대역(고주파에서 저주파 대역)에 대하여 양자화 오차가 많이 발생되고, 그 결과 수신측의 재생 영상에서 양자화로 인한 화질열화가 야기될 것이다.As a result, in the image encoding block 130 of FIG. 1, when the input image is a complicated scene change part, as described above, the adaptive band limiting (band or limiting using one-dimensional or two-dimensional low pass filtering, DFT or DCT) Through encoding (quantization) is performed in the state in which the high frequency component of the image is relatively insensitive to human vision, it can be encoded while generating a low quantization error for the low frequency signal, which is a visually important component. If, despite the complex scene transition image, the band pass frequency is not adaptively limited (reduced high frequency components) as in the present invention, the amount of bits generated after encoding increases, resulting in a large quantization step size. A large number of quantization errors occur in the frequency band (high frequency to low frequency band), and as a result, image quality degradation due to quantization will be caused in the playback image on the receiving side.

이상 설명한 바와같이 본 발명에 따르면, 소망하는 비트율의 부호화를 위해 영상 부호화 시스템에 입력되는 입력 영상에 대해 이전의 소정시간 동안의 복수의 프레임에 대한 단시간 통계와 현재 입력되는 영상 프레임의 통계적 특성을 이용하여 현재 부호화를 위해 입력되는 영상이 복잡한 장면전환 부분인지를 판단하며, 그 판단결과 입력 영상이 복잡한 장면전환 부분인 경우 필터링 기법을 이용한 적응적인 대역 제한을 적용하여 인간의 시각특성에 둔감한 영상신호의 고주파 성분을 일차적으로 제거한 다음 인터 또는 인트라 모두 부호화에서 DCT, 양자화 등의 부호화를 수행하도록 함으로써, 입력 영상에서 큰 복잡도를 갖는 장면전환 상황이 발생하더라도 양자화 단계에서의 과도한 양자화 스텝 사이즈의 증가 없이 부호화후 발생되는 비트량을 효과적으로 조절할 수 있다.As described above, according to the present invention, the short-term statistics of a plurality of frames for a predetermined time and the statistical characteristics of the currently input video frame are used for the input video input to the video encoding system for encoding the desired bit rate. It is determined whether the video inputted for current encoding is a complex scene change part. As a result of the determination, if the input image is a complex scene change part, an image signal insensitive to human visual characteristics is applied by applying an adaptive band limit using a filtering technique. By first removing the high-frequency components of the encoding and then performing encoding such as DCT and quantization in both inter and intra encoding, even if a scene transition situation with a large complexity occurs in the input image, encoding without increasing an excessive quantization step size in the quantization step The amount of bits generated after Typically it can be adjusted.

따라서, 본 발명에 의하면, 수신측에서 부호화된 영상을 복원하여 디스플레이 할 때, 재생 영상에서 필연적으로 나타나는 양자화 오차로 인한 화질열화를 효과적으로 억제시킬 수 있다.Therefore, according to the present invention, it is possible to effectively suppress deterioration in image quality due to quantization error inevitably present in the reproduced image when the encoded image is restored and displayed on the receiving side.

Claims (12)

입력되는 현재 프레임을 자체에 대해 이산 코사인 변환, 양자화 및 엔트로피 부호화를 수행하는 인트라 부호화 모드와, 상기 현재 프레임과 이 현재 프레임 및 재구성된 이전 프레임을 이용하는 움직임 추정, 보상을 통해 얻어지는 예측 프레임간의 차분신호에 대해 이산 코사인 변환, 양자화 및 엔트로피 부호화를 수행하는 인터 부호화 모드를 갖는 부호화 수단을 포함하는 영상 부호화 시스템에 있어서, 부호화를 위해 순차 입력되는 프레임 각각에 대해 그 통계적 특성을 나타내는 픽셀들의 평균(MIp)값을 추출하는 통계적 특성 산출 블럭; 기설정된 소정시간 동안 만큼 상기 추출된 각 프레임에 대한 평균(MIp)값을 순차적으로 저장하는 메모리 블록; 상기 저장된 소정시간 동안에 상응하는 복수의 프레임에 대한 평균(MIp)값들을 이용하여 입력되는 해당 프레임에 대한 예측값을 추출하고, 입력되는 매 프레임 각각에 대해 그 평균(MIp)값과 상기 추출된 예측값간의 예측오차값을 산출하며, 매 프레임 각각에 대해 산출된 상기 예측오차값의 평균과 표준편차를 산출하여 상기 기설정된 소정시간 동안의 단시간 통계를 산출하고, 상기 단시간 통계 산출에 이용된 프레임들보다 시간적으로 후에 존재하는 현재 입력 프레임의 통계적 특성과 상기 산출된 단시간 통계간의 비교결과에 의거하여 부호화를 위해 입력되는 상기 현재 입력 프레임의 필터링 제어신호를 발생하는 제어 블럭; 상기 발생된 필터링 제어신호에 따라 결정되는 필터계수에 의거하여 부호화를 위해 입력되는 상기 현재 입력 프레임에 필터링 기법을 적용하여 고주파 성분을 제거함으로써 대역 제한된 프레임을 발생하는 대역 제한 블럭; 및 상기 제어 블럭으로부터 제공되는 상기 단시간 통계와 상기 현재 입력 프레임의 통계적 특성간의 비교결과에 의거하여 발생하는 절환 제어신호에 따라 절환되어, 입력되는 상기 현재 입력 프레임 자체 또는 상기 대역 제한된 프레임을 상기 부호화 수단에 제공하는 스위칭 수단을 더 포함하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.Intra-coding mode for performing discrete cosine transform, quantization, and entropy encoding on an input current frame, and a differential signal between the current frame and a prediction frame obtained through motion estimation and compensation using the current frame and a reconstructed previous frame. An image encoding system comprising encoding means having an inter encoding mode for performing discrete cosine transform, quantization, and entropy encoding for a pixel, comprising: an average Mp of pixels representing a statistical property for each frame sequentially input for encoding A statistical characteristic calculation block for extracting a value; A memory block that sequentially stores an average MIp value for each of the extracted frames for a predetermined time period; Extracting a predicted value for a corresponding frame input by using the average (MIp) values for a plurality of frames corresponding to the stored predetermined time, and between the average (MIp) value and the extracted predicted value for each input frame A prediction error value is calculated, and the average and standard deviation of the prediction error values calculated for each frame are calculated to calculate short-time statistics for the predetermined time period, and the temporal time is higher than the frames used for calculating the short-time statistics. A control block for generating a filtering control signal of the current input frame input for encoding based on a comparison result between the statistical characteristics of the current input frame existing later and the calculated short-time statistics; A band limiting block generating a band limited frame by removing a high frequency component by applying a filtering technique to the current input frame input for encoding based on a filter coefficient determined according to the generated filtering control signal; And the encoding means converting the current input frame itself or the band limited frame, which is switched according to a switching control signal generated based on a comparison result between the short-time statistics provided from the control block and the statistical characteristics of the current input frame. An adaptive video encoding system having a band limiting function, further comprising a switching means for providing. 제1항에 있어서, 상기 기설정된 소정시간 동안의 복수의 프레임은, 상기 부호화를 위해 입력되는 프레임에 시간적으로 바로 인접하는 이전의 30 프레임인 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The adaptive video encoding system of claim 1, wherein the plurality of frames for a predetermined time period is a previous 30 frames immediately adjacent in time to the frame input for the encoding. . 제1항에 있어서, 상기 대역 제한 블럭은, 그 값이 서로 다른 복수의 필터계수중 어느 하나를 이용하는 1차원 저역 통과 필터링을 통해 상기 현재 입력 프레임의 고주파 성분 레벨을 선택적으로 제거하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The method of claim 1, wherein the band limiting block selectively removes a high frequency component level of the current input frame through one-dimensional low pass filtering using any one of a plurality of filter coefficients having different values. Adaptive Video Coding System with Band Limit Function. 제3항에 있어서, 상기 1차원 저역 통과 필터링은, 상기 8×8 블럭내의 각 픽셀 위치의 수평­수직 또는 수직­수평 방향으로 순차 수행되는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.4. The adaptive video encoding system of claim 3, wherein the one-dimensional low pass filtering is sequentially performed in a horizontal ­ vertical or vertical ­ horizontal direction of each pixel position in the 8x8 block. 제1항에 있어서, 상기 대역 제한 블럭은, 2차원 저역 통과 필터링을 통해 상기 현재 입력 프레임의 고주파 성분을 제거하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The adaptive video encoding system of claim 1, wherein the band limiting block removes high frequency components of the current input frame through two-dimensional low pass filtering. 제5항에 있어서, 상기 대역 제한 블럭은, 그 값이 서로 다른 복수의 필터계수중의 어느 하나를 이용하여 상기 현재 입력 프레임의 고주파 성분 레벨을 선택적으로 제거하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.6. The band limiting block of claim 5, wherein the band limiting block selectively removes a high frequency component level of the current input frame by using one of a plurality of filter coefficients having different values. Adaptive Video Coding System. 제1항에 있어서, 상기 대역 제한 블럭은, 상기 현재 입력 프레임에 대한 공간영역의 영상신호를 이산 푸리에 변환을 이용하여 M×N 블럭 단위의 주파수 영역의 DFT 변환계수들로 변환하고, 상기 발생된 대역 제한을 위한 필터링 제어신호에 의거하여 상기 변환된 DFT 변환계수 블럭들에 대한 고주파 통과 대역을 결정하며, 상기 변환된 각 DFT 변환계수 블럭의 고주파 통과 대역을 상기 결정된 대역폭으로 제한하고, 상기 대역폭이 제한된 각 DFT 블럭들 각각에 대해 역이산 푸리에 변환을 통해 원신호로 복원함으로써 상기 대역 제한된 프레임 신호를 발생하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The method of claim 1, wherein the band limiting block converts the video signal in the spatial domain for the current input frame into DFT transform coefficients in the frequency domain in M × N block units using a Discrete Fourier Transform. Determine a high frequency pass band for the converted DFT transform coefficient blocks based on a filtering control signal for band limitation, limit the high pass band of each converted DFT transform coefficient block to the determined bandwidth, And the band limited frame signal is generated by reconstructing the original signal through an inverse discrete Fourier transform for each of the limited DFT blocks. 제7항에 있어서, 상기 현재 입력 프레임의 대역폭 제한은, 상기 입력 프레임의 복잡정도에 따라 기설정된 복수의 레벨중의 어느 한 레벨로 적응적으로 수행되는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The method of claim 7, wherein the bandwidth limit of the current input frame is adaptively performed with any one of a plurality of levels preset according to the complexity of the input frame. Video encoding system. 제7항 또는 제8항에 있어서, 상기 대역폭 제한은, 상기 변환된 각 DFT변환계수 블럭들에 대해 상기 결정된 대역폭 이하의 고주파 성분을 제로(0)값으로 매핑하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The bandwidth limiting function of claim 7 or 8, wherein the bandwidth limiting function maps a high frequency component below the determined bandwidth to a zero value for each of the transformed DFT transform coefficient blocks. Adaptive Image Coding System. 제1항에 있어서, 상기 대역 제한 블럭은 : 상기 현재 입력 프레임 신호에 대한 공간영역의 영상신호를 코사인함수를 이용하여 M×N블럭 단위의 주파수 영역의 2차원 DCT 변환계수들로 변환하는 이산 코사인 변환수단; 상기 M×N 단위의 2차원 DCT 변환계수 블럭들에 대해 양자화 파라메터값을 이용하여 유한한 개수의 값으로 양자화하는 양자화 수단; 상기 제어 블럭으로부터 제공되는 상기 필터링 제어신호에 의거하여 상기 양자화된 DCT 변환계수 블럭들에 대한 고주파 통과 대역을 결정하며, 상기 양자화된 각 DCT 변환계수 블럭의 고주파 통과 대역을 상기 결정된 대역폭으로 제한하는 주파수 선택 수단; 및 상기 대역폭이 제한된 양자화된 각 DCT 블럭들 각각에 대해 역양자화 및 역이산 코사인 변환을 수행하여 부호화전의 원신호로 복원하여 대역 제한된 프레임을 발생하며, 상기 대역 제한된 프레임을 상기 고주파 성분이 제거된 프레임 신호로써 상기 스위칭 수단에 제공하는 영상 복원 수단으로 이루어진 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The method of claim 1, wherein the band limiting block is: Discrete cosine for converting the video signal in the spatial domain for the current input frame signal into a two-dimensional DCT transform coefficients of the frequency domain in the unit of M × N block using a cosine function Conversion means; Quantization means for quantizing the two-dimensional DCT transform coefficient blocks in M × N units using a quantization parameter value to a finite number of values; A frequency for determining a high frequency pass band for the quantized DCT transform coefficient blocks based on the filtering control signal provided from the control block, and limiting a high frequency pass band of each of the quantized DCT transform coefficient blocks to the determined bandwidth Selection means; And performing inverse quantization and inverse discrete cosine transform on each of the bandwidth-limited quantized DCT blocks to reconstruct the original signal before encoding to generate a band-limited frame. And an image restoring means provided to said switching means as a signal. 제10항에 있어서, 상기 현재 입력 프레임의 대역폭 제한은, 상기 입력 프레임의 복잡정도에 상응하여 기설정된 복수의 레벨중의 어느 한 레벨로 적응적으로 수행되는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.12. The adaptation of claim 10, wherein the bandwidth limitation of the current input frame is adaptively performed at any one of a plurality of levels preset according to the complexity of the input frame. Video encoding system. 제10항 또는 제11항에 있어서, 상기 대역폭 제한은, 상기 변환된 각 DCT 변환계수 블럭들에 대해 상기 결정된 대역폭 이하의 고주파 성분을 제로(0)값으로 매핑하는 것을 특징으로 하는 대역 제한 기능을 갖는 적응적인 영상 부호화 시스템.The bandwidth limiting function of claim 10 or 11, wherein the bandwidth limiting function maps a high frequency component below the determined bandwidth to a zero value for each of the transformed DCT transform coefficient blocks. Adaptive Image Coding System.
KR1019960024044A 1996-06-26 1996-06-26 Adaptive image coding system having functions for controlling bandpath of video signals KR100229791B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960024044A KR100229791B1 (en) 1996-06-26 1996-06-26 Adaptive image coding system having functions for controlling bandpath of video signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960024044A KR100229791B1 (en) 1996-06-26 1996-06-26 Adaptive image coding system having functions for controlling bandpath of video signals

Publications (2)

Publication Number Publication Date
KR980007727A KR980007727A (en) 1998-03-30
KR100229791B1 true KR100229791B1 (en) 1999-11-15

Family

ID=19463569

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960024044A KR100229791B1 (en) 1996-06-26 1996-06-26 Adaptive image coding system having functions for controlling bandpath of video signals

Country Status (1)

Country Link
KR (1) KR100229791B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100922941B1 (en) * 2002-11-04 2009-10-22 삼성전자주식회사 Appratus and method of an energy-based adaptive DCT/IDCT

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3985978A4 (en) * 2019-06-24 2023-02-15 Hyundai Motor Company Method and apparatus for intra prediction coding of video data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100922941B1 (en) * 2002-11-04 2009-10-22 삼성전자주식회사 Appratus and method of an energy-based adaptive DCT/IDCT

Also Published As

Publication number Publication date
KR980007727A (en) 1998-03-30

Similar Documents

Publication Publication Date Title
KR100203710B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
RU2189700C2 (en) Device for compression of videosignal presenting image and device for fixation of noise filtration in signal
KR100295006B1 (en) Real-time encoding of video sequence employing two encoders and statistical analysis
CA1333501C (en) Hierarchical encoding method and apparatus for efficiently communicating image sequences
KR100229791B1 (en) Adaptive image coding system having functions for controlling bandpath of video signals
KR100229792B1 (en) Improved image coding system having functions for adaptively determining image coding mode
KR100229793B1 (en) Improved image coding system having functions for adaptively determining image coding mode
KR100220586B1 (en) Adaptive image coding system having functions for controlling bandpath of video signals
KR100203714B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203682B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203709B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203659B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203703B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203677B1 (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
KR100203630B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203675B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203685B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203628B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203663B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203627B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100203625B1 (en) An improved image coding system having functions for controlling generated amount of coded bit stream
KR100203698B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
KR100229795B1 (en) Improved image decoding system
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: 20120801

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee