KR20040062110A - Moving picture encoder and method for coding using the same - Google Patents

Moving picture encoder and method for coding using the same Download PDF

Info

Publication number
KR20040062110A
KR20040062110A KR1020020088432A KR20020088432A KR20040062110A KR 20040062110 A KR20040062110 A KR 20040062110A KR 1020020088432 A KR1020020088432 A KR 1020020088432A KR 20020088432 A KR20020088432 A KR 20020088432A KR 20040062110 A KR20040062110 A KR 20040062110A
Authority
KR
South Korea
Prior art keywords
image
signal
video
frame
encoder
Prior art date
Application number
KR1020020088432A
Other languages
Korean (ko)
Inventor
윤도현
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020020088432A priority Critical patent/KR20040062110A/en
Publication of KR20040062110A publication Critical patent/KR20040062110A/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/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • H04N19/615Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding using motion compensated temporal filtering [MCTF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
    • H04N9/78Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase for separating the brightness signal or the chrominance signal from the colour television signal, e.g. using comb filter

Landscapes

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

Abstract

PURPOSE: A motion picture encoding system and a coding method are provided to obtain natural screen quality even when carrying out skipping of image signals for keeping a transmission bit rate in a communication system having a low bit transmission rate. CONSTITUTION: A motion picture encoding system includes an image signal receiving part(33), an image signal conversion part(35), a temporal filtering processor(36), an encoder(37), and a video encoder(39). The image signal receiving part receives image signals photographed by a camera. The image signal converting part converts the image signals of the image signal receiving part to luminance and color difference signal. The temporal filtering processor calculates and accumulates mean values for skipped image frames among image signals input from the image signal conversion part. The encoder encodes the image signals applied from the temporal filtering processor. The video encoder mixes the encoded images with other coding signals.

Description

동영상 인코딩 시스템 및 코딩방법{MOVING PICTURE ENCODER AND METHOD FOR CODING USING THE SAME}Video encoding system and coding method {MOVING PICTURE ENCODER AND METHOD FOR CODING USING THE SAME}

본 발명은 동영상 인코딩 시스템 및 코딩방법에 관한 것으로, 보다 구체적으로는 IMT-2000과 같은 양방향 영상 송수신 시스템에서 낮은 비트스트림 전송 율에도 불구하고 자연스러운 영상을 얻을 수 있는 동영상 인코딩 시스템 및 코딩방법에 관한 것이다.The present invention relates to a video encoding system and a coding method, and more particularly, to a video encoding system and a coding method capable of obtaining a natural video in spite of a low bitstream transmission rate in a bidirectional video transmission / reception system such as IMT-2000. .

현재, 그리고 미래의 통신 환경은 유선과 무선의 영역 구분이나, 지역 국가의 구분을 초월할 만큼 급변하고 있으며, 특히 IMT-2000 등으로 대별되는 미래 통신 환경은 영상과 음성은 물론 사용자가 필요로 하는 다양한 정보를 실시간으로, 또는 종합적으로 제공하는 환경으로 구축되어 가는 추세이다.The current and future communication environments are rapidly changing beyond the distinction between wired and wireless areas and regional countries. In particular, future communication environments, such as IMT-2000, require users as well as video and audio. The trend is to build an environment that provides various information in real time or comprehensively.

또한, 개인 휴대 통신 시스템의 발달은 현재 셀룰러폰이나 PCS등에서도 단순히 음성 통신만을 수행하던 차원에서 벗어나서 문자 정보의 전송은 물론, 개인 휴대 통신 단말기를 이용해서 무선으로 인터넷에 접속하거나, TV에서나 보던 동영상들을 송신할 수 있도록 개발되어지고 있다.In addition, the development of the personal mobile communication system is not only a voice communication in the cellular phone or PCS, but also to transmit text information as well as to access the Internet wirelessly using a personal mobile communication terminal, or to watch videos on TV It is being developed to transmit the data.

특히, 동영상을 디지털 데이터로 가공하여 실시간으로 전송하고 또 이 것을 수신하여 디스플레이 하는 디지털 텔레비전 시스템과, 실시간으로 전송되는 동영상을 IMT2000을 이용한 개인 휴대 단말기 등에서는 필수적인 요소로 자리 잡아 가고있는 실정이다.In particular, a digital television system that processes a video into digital data, transmits the data in real time, receives the video, and displays the video, and the video transmitted in real time is becoming an essential element in a personal portable terminal using the IMT2000.

이것은 종래에는 휴대 단말기가 사람의 음성만을 송수신 하도록 되어 있었으나, 멀티 미디어의 개발과 디지털 정보처리 기술의 발달로 인하여 음성, 영상 등 다양한 정보들을 송신할 수 있게 되었다.In the related art, the portable terminal transmits and receives only human voice. However, due to the development of multimedia and the development of digital information processing technology, various information such as voice and video can be transmitted.

이와 같은 기술이 상용화될 수 있었던 것은 무엇보다도 아날로그 영상 신호를 양자화, 가변장부호화등 특수한 디지털 처리를 한 다음, 이를 디지털 정보에 포함시켜 송신하고, 수신되는 단말기에서는 이를 반대로 디코딩함으로써 빠른 전송 속도와 보다 풍부한 정보량을 송수신 하도록 한 동영상 압축기술의 발달이 크게 기여하였다.Above all, this technology has been commercialized. First of all, the analog video signal is subjected to special digital processing such as quantization and variable length encoding, and then included in the digital information and transmitted. The development of video compression technology, which makes it possible to send and receive rich amounts of information, greatly contributed.

영상 신호를 부호화하여 비트스트림 상태로 전송할 때, 전송 율은 인코더에서 부호화되는 효율을 향상시키고, 아울러 디코더에서 디코딩할 때의 효율을 향상시킨다.When the video signal is encoded and transmitted in the bitstream state, the transmission rate improves the efficiency encoded by the encoder and also the efficiency when decoded by the decoder.

따라서, 부호화를 진행할 때 각각의 영상 프레임 들에 대한 비트량은 전송 비트율을 조절하는데 매우 중요한 요소로 작용하여 부호화 비트율과 전송 비트율 조절에 화질 개선에 중요한 이슈로 등장하고 있다.Therefore, the bit rate of each image frame is very important factor in controlling the transmission bit rate when encoding, and has emerged as an important issue in improving image quality in encoding bit rate and transmission bit rate control.

도 1은 종래 기술에 따른 비디오 인코더 영역에서의 신호처리를 과정을 도시한 도면이다.1 is a diagram illustrating a process of signal processing in a video encoder region according to the prior art.

도 1에 도시된 바와 같이, 카메라(1)를 통하여 촬영한 신호는 아날로그 영상 신호인데, 상기 아날로그 영상 신호를 영상신호 수신부(3)에서 수신한 후, 이를 디지털 영상 신호로 변환한다.As shown in FIG. 1, a signal photographed through the camera 1 is an analog video signal, and the analog video signal is received by the video signal receiver 3 and then converted into a digital video signal.

상기 영상신호 수신부(3)에서는 상기 카메라(1)에서 촬영된 영상 신호를 디지털 영상 신호로 변환한 후에 상기 영상신호 전환부(5)에 인가하여 각각의 영상 프레임당 화소들이 휘도 값과 색차 값을 갖는 형태로 전환한다. 그러면, 아날로그 영상 신호들이 영상 프레임의 각각의 화소에 대한 하나의 디지털 값을 갖게된다.The image signal receiving unit 3 converts the image signal photographed by the camera 1 into a digital image signal and then applies the image signal to the image signal converting unit 5 so that the pixels of each image frame can obtain a luminance value and a color difference value. Switch to the form that has. The analog image signals then have one digital value for each pixel of the image frame.

이와 같이, 상기 카메라(1)에서 촬영된 영상 신호가 휘도값과 색차 값의 디지털 신호로 변환되면, 이를 인코더(7)에 입력하여 부호화를 진행한다.As described above, when the image signal photographed by the camera 1 is converted into a digital signal having a luminance value and a color difference value, it is input to the encoder 7 to perform encoding.

영상 신호를 부호화하는 것은 이산여현변환(DCT), 양자화, 가변장부호화등을 거쳐서 하나의 비트스트림 형태로 변환을 시키고, 마친 가지로 촬영된 영상 신호에 포함되어 있는 음성 신호도 음성 부호화 과정을 거쳐서 압축된다.The encoding of the video signal is performed through discrete cosine transform (DCT), quantization, variable length encoding, etc. into one bitstream, and the audio signal included in the captured video signal is also subjected to the audio encoding process. Is compressed.

상기와 같이 카메라에서 촬영된 영상 신호가 영상 또는 음성 별로 부호화를 진행한 다음, 이를 비디오 인코더(9)에서 통합하여 외부로 비트스트림 형태로 송신하게 된다.As described above, the video signal photographed by the camera is encoded for each image or voice, and then integrated in the video encoder 9 to be transmitted in the form of a bitstream to the outside.

도 2는 종래 기술에 따른 전송 비트율을 조절하는 동영상 부호화기의 구조를 도시한 블록도 이다.2 is a block diagram illustrating a structure of a video encoder for controlling a transmission bit rate according to the prior art.

도 2에 도시된 바와 같이, 카메라에서 촬영된 영상 신호가 휘도와 색차 신호로 전환된 후 인코더에 입려되면, 상기 인코더에서는 영상 신호를 부호화하여 압축하게 되고, 이를 비트스트림 형태로 외부 공간에 전송한다.As shown in FIG. 2, when an image signal photographed by a camera is converted into a luminance and chrominance signal and applied to an encoder, the encoder encodes and compresses the image signal and transmits it to an external space in the form of a bitstream. .

외부로부터 인가되는 비디오 신호는 외부 전송을 위하여 부호화를 진행하고, 또한 부호화된 영상을 다시 복원하고 저장하여 외부로부터 인가되는 비디오 신호를 계속적으로 부호화하는데, 계산량과 부호화 효율을 높인다.The video signal applied from the outside performs encoding for external transmission, and also reconstructs and stores the encoded image to continuously encode the video signal applied from the outside, thereby increasing the amount of calculation and encoding efficiency.

이와 같은 동영상 부호화기는 외부로부터 전송해오는 비디오 신호를 이산여현변환을 하는 DCT(Discrete Cosine Transform: 21)와, 상기 DCT에서 이산여현변환된 비디오 신호를 주파수 형태로 양자화 하는 양자화부(23)와, 상기 양자화부(23)에서 양자화된 영상 프레임의 복원을 위하여 역양자화와 역DCT 변환을 시키는 역양자화부(25), 역DCT(27)와, 양자화된 영상 블록 들을 가변장(엔트로피) 부호화를 하여 외부로 전송하도록 하는 VLC(Variable Length Coding: 20)와, 외부로부터 인가되는 비디오 신호들 중에서 움직임이 발생한 영상에 대하여는 움직임 예측 및 보상을 위한 움직임 예측기(29)와, 상기 움직임 예측을 위하여 참조 영상을 제공하는 영상 메모리(28)와, 상기 양자화부(23)에서 양자화된 영상 프레임의 비트율을 조절하여 전송하는 비트율 컨트롤러(21)로 구성되어 있다.Such a video encoder includes a DCT (Discrete Cosine Transform) 21 for discrete cosine transforming a video signal transmitted from the outside, a quantization unit 23 for quantizing a discrete cosine transformed video signal in DCT in frequency form, and Inverse quantization unit 25, inverse DCT 27, which performs inverse quantization and inverse DCT transformation, and variable length (entropy) encoding of quantized image blocks to restore the quantized image frame VLC (Variable Length Coding) 20 for transmitting a signal, a motion predictor 29 for motion prediction and compensation for a motion generated image from external video signals, and a reference picture for motion prediction And a bit rate controller 21 for adjusting and transmitting the bit rate of the image frame quantized by the quantization unit 23. .

도면에서는 도시하였지만, 설명하지 않은 22a와 22b는 신호들을 합산하는 가산기를 나타낸다.Although shown in the figure, 22a and 22b, which are not described, represent adders for summing signals.

상기와 같은 구조를 갖는 동영상 부호화기는 비디오 신호가 최초 영상 프레임인 경우에는 이산여현변환, 양자화를 한 다음, 참조 영상이 부호화되지 않았으므로 자신의 영상 프레임 내에서 영상 블록을 예측할 수 있는 인트라(Intra) 모드 부호화 과정을 진행한다.The video encoder having the structure described above may perform discrete cosine transform and quantization when the video signal is the first image frame, and then predict the image block within its own image frame because the reference image is not encoded. The mode encoding process is performed.

하지만, 이후에 입력되는 비디오 신호는 상기 인트라 모드 부호화를 한 영상 프레임을 기준으로 움직임이 발생한 P 픽쳐라고 할 때, 각각의 움직임이 발생한 블록에 대하여 인트라 부호화를 할 것인지, 움직임 예측 값을 구하여 최초 부호화된 영상 프레임 내의 블록 들을 사용하여 영상을 재현할 것인지를 적절히 선택하여 부호화 성능을 높인다.However, when the video signal to be input is a P picture having motion based on the intra-mode encoded video frame, whether to perform intra coding on each block in which motion occurs or to obtain a motion prediction value for the first coding The encoding performance is improved by appropriately selecting whether to reproduce an image using blocks in the received image frame.

상기 인트라 모드에 의하여 최초 부호화가 진행된 영상 프레임은 이전 영상 프레임이 존재하지 않으므로 자체 내에서 예측을 한 후 부호화가 진행된다. 따라서 하나의 영상 프레임에 대한 비트율이 매우 큰 것이 일반적이다.Since the video frame initially encoded by the intra mode does not exist in the previous video frame, the encoding is performed after the prediction is performed in itself. Therefore, it is common that the bit rate of one image frame is very large.

그리고 상기 인트라 영상 프레임(I-프레임)이후에 오는 영상 프레임은 P 픽쳐라고 하는데, P 픽쳐의 부호화 방법은 움직임 추정에 의하여 이루어지므로 I 프레임에 비하여 상대적으로 작은 비트량으로 부호화가 된다.An image frame following the intra image frame (I-frame) is called a P picture. Since the encoding method of the P picture is performed by motion estimation, the image frame is encoded with a smaller bit amount than the I frame.

인코더에서는 부호화가 진행된 비트스트림을 채널에 따라 적당한 전송 비트율로 보내게되는데, 이를 조절하기 위하여 상기 비트율 컨트롤러(11)가 조절한다. 즉 상기 비트율 컨트롤러(11)는 부호화가 되는 영상 프레임의 비트율이 큰 경우에는 영상 프레임 단위 또는 매크로 블록 단위로 양자화 Q 값을 크게 하여 부호화를 줄이거나, 부호화가 된 영상 프레임 들의 스킵하는 방식으로 전송 비트율을 맞춘다.The encoder sends the encoded bitstream at an appropriate transmission bit rate according to the channel, which is adjusted by the bit rate controller 11 to adjust this. That is, when the bit rate of the encoded video frame is large, the bit rate controller 11 reduces the encoding by increasing the quantized Q value in the unit of the image frame or the macroblock, or skips the encoded image frames. To match.

특히, IMT-2000과 같은 양방향 영상 시스템에서는 기존의 무선 통신망에 비해서 증가된 대역폭을 가지고 있고, 이 증가된 대역폭을 이용해서 영상 전화를 구현할 수 있다.In particular, bidirectional video systems such as IMT-2000 have increased bandwidth compared to existing wireless communication networks, and video telephony can be implemented using the increased bandwidth.

상기 부호화기에서 부호화되는 영상 프레임 내에 움직임이 없는 경우에는 압축률이 매우 높고, 빠른 부호화가 가능하지만, 영상 프레임 내에 움직임이 많은 경우에는 부호화 압축률이 떨어질 뿐만 아니라 전송 비트율(64kbps~384kbps) 에 맞추어 영상 비트스트림을 전송할 수 없게된다.When there is no motion in the video frame encoded by the encoder, the compression rate is very high and fast encoding is possible. However, when there is a lot of motion in the video frame, the coding compression rate decreases and the video bitstream is adapted to the transmission bit rate (64 kbps to 384 kbps). Will not be able to transmit.

그러나, 일반적으로 사용되는 IMT-2000과 같은 영상 단말기에서는 인터넷이나 LAN에 비하여 대역폭이 협소하고, 영상 비트스트림의 전송율도 낮기 때문에 영상을 전송할 때, 이러한 단점을 보완하기 위하여 양자화(Q) 값을 높여 부호화를 진행하는데 Q값이 높음으로 해서 데이터 압축률은 향상시킬 수 있지만 화질 저하가 크다는 문제가 있다.However, video terminals such as IMT-2000, which are generally used, have a narrower bandwidth and lower bit rate of video bitstream than the Internet or LAN, so that the quantization (Q) value is increased to compensate for these drawbacks. Although the data compression ratio can be improved due to the high Q value during encoding, there is a problem in that the image quality deterioration is large.

또한, 전송되는 영상 프레임을 스킵하여 전송 프레임 율을 떨어뜨리는 방법은 디스플레이 되는 영상이 연속되지 않고 끊겨지는 형태로 디스플레이 되어 화면 품위가 떨어지는 단점이 있다.In addition, the method of reducing the transmission frame rate by skipping the transmitted image frame has a disadvantage in that the screen quality is degraded because the displayed image is displayed in a continuous and disconnected form.

본 발명은, IMT-2000과 같은 낮은 비트 전송률을 갖는 통신 시스템에서 전송 비트율을 유지하기 위하여 영상 프레임의 스킵 과정을 실시하여도 자연스러운 화질을 얻을 수 있는 동영상 인코딩 시스템 및 코딩방법을 제공함에 그 목적이 있다.An object of the present invention is to provide a video encoding system and a coding method capable of obtaining natural image quality even if a video frame skipping process is performed to maintain a transmission bit rate in a communication system having a low bit rate such as IMT-2000. have.

도 1은 종래 기술에 따른 비디오 인코더 영역에서의 신호처리를 과정을 도시한 도면.1 is a diagram illustrating a process of signal processing in a video encoder region according to the prior art.

도 2는 종래 기술에 따른 전송 비트율을 조절하는 동영상 부호화기의 구조를 도시한 블록도.2 is a block diagram illustrating a structure of a video encoder for adjusting a transmission bit rate according to the related art.

도 3은 본 발명에 따른 비디오 인코더 영역에서의 신호처리 과정을 도시한 도면.3 is a diagram illustrating a signal processing procedure in a video encoder region according to the present invention.

도 4는 본 발명에 따른 시간 필터링(Temporal filtering) 프로세서의 입출력 구조를 도시한 도면.4 illustrates an input / output structure of a temporal filtering processor according to the present invention.

도 5는 본 발명에 따른 시간 필터링(Temporal filtering) 프로세서의 신호 처리를 설명하기 위한 플로챠트.5 is a flowchart for explaining signal processing of a temporal filtering processor according to the present invention;

*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

1: 카메라 3: 영상 신호 수신부1: camera 3: video signal receiver

5: 영상신호 전환부 7: 인코더5: video signal switching unit 7: encoder

9: 비디오 인코더 21: DCT9: Video Encoder 21: DCT

23: 양자화부 25: 역양자화부23: quantization unit 25: inverse quantization unit

27: 역DCT 28: 영상 메모리27: reverse DCT 28: image memory

29: 모션 예측기(MP)29: Motion predictor (MP)

상기한 목적을 달성하기 위한, 본 발명에 따른 동영상 인코딩 시스템은,In order to achieve the above object, a video encoding system according to the present invention,

카메라에 의하여 촬영된 영상 신호를 수신하는 영상 신호 수신부;An image signal receiver configured to receive an image signal photographed by a camera;

상기 영상 신호 수신부로부터 영상 신호를 휘도와 색차 신호로 변환하는 영상 신호 전환부;An image signal conversion unit for converting an image signal into a luminance and color difference signal from the image signal receiving unit;

상기 영상 신호 전환부로부터 입력되는 영상 신호 중에서 스킵되는 영상 프레임에 대하여 평균 값을 계산하여 누적하는 시간 필터링(Temporal filtering) 프로세서;A temporal filtering processor that calculates and accumulates an average value of skipped image frames among the image signals input from the image signal conversion unit;

상기 시간 필터링(Temporal filtering) 프로세서로부터 영상 신호를 인가 받아 부호화하는 인코더; 및An encoder receiving and encoding an image signal from the temporal filtering processor; And

상기 인코더에서 부호화된 영상을 다른 부호화 신호화 함께 혼합하는 비디오인코더;를 포함하는 것을 특징으로 한다.And a video encoder for mixing the image coded by the encoder together with other coded signals.

여기서, 상기 시간 필터링(Temporal filtering) 프로세서는 인코더에서 부호화된 이전 영상 프레임을 저장하는 인터널 프레임 버퍼가 배치되어 있고, 상기 인터널 프레임 버퍼에서는 스킵되는 영상 프레임과 저장되어 있는 이전 영상 프레임을 이용하여 평균 값을 누적하여 고주파 성분을 줄이는 것을 특징으로 한다.In this case, the temporal filtering processor includes an internal frame buffer for storing a previous video frame encoded by an encoder, and the internal frame buffer uses a skipped video frame and a stored previous video frame. The average value is accumulated to reduce the high frequency component.

또한, 본 발명의 다른 실시 예에 의한 동영상 코딩방법은,In addition, the video coding method according to another embodiment of the present invention,

입력되는 영상 신호를 휘도 신호와 색차 신호로 변환하는 단계;Converting an input video signal into a luminance signal and a color difference signal;

상기 변환된 영상 신호와 영상 신호의 영상 프레임의 부호화 또는 스킵 여부를 판단할 수 있는 신호를 시간 필터링(Temporal filtering) 프로세서에 입력하는 단계;Inputting a signal for determining whether to encode or skip the converted image signal and the image frame of the image signal to a temporal filtering processor;

상기 영상 프레임별 스킵 신호가 인가되는 경우에는 스킵되는 영상 프레임에 대하여 상기 시간 필터링(Temporal filtering) 프로세서의 인터널 프레임 버퍼에서 저장된 이전 영상 프레임과의 평균 값을 누적시키면서 계산하는 단계; 및When the skip signal for each image frame is applied, calculating an average value with respect to a previous image frame stored in an internal frame buffer of the temporal filtering processor for the skipped image frame; And

상기 시간 필터링(Temporal filtering) 프로세서에서는 누적되어 계산된 평균 값을 다음 스킵되지 않고 부호화를 진행하는 영상 신호가 인가될 때 인코더에 전송하는 단계;를 포함하는 것을 특징으로 한다.And in the temporal filtering processor, transmitting the accumulated average value to the encoder when an image signal for encoding is applied without being skipped next.

여기서, 상기 시간 필터링(Temporal filtering) 프로세서에 입력되는 스킵되는 영상 프레임 각각에 대하여 평균 값을 구하여 합산하고, 상기 시간 필터링(Temporal filtering) 프로세서를 처음 구동할 때에는 부호화하는 영상 프레임 신호를 입력하는 것을 특징으로 한다.Here, an average value of each skipped image frame input to the temporal filtering processor is obtained and summed, and when the temporal filtering processor is initially driven, an image frame signal to be encoded is input. It is done.

특히, 상기 시간 필터링(Temporal filtering) 프로세서에 입력되는 영상 신호가 부호화 신호인 경우에는 바로 인코더로 전송하여 부호화를 진행하는 것을 특징으로 한다.In particular, when an image signal input to the temporal filtering processor is an encoded signal, the encoding is performed by directly transmitting to an encoder.

본 발명에 의하면, 입력되는 영상 신호에서 움직임이 많은 영상에 대하여 고주파 성분을 줄이고, 스킵되는 각각의 영상 프레임에 대하여 이전 영상 프레임과 평균 값을 누적시켜 영상 스킵에도 불구하고 자연스러운 화면 품위를 얻을 수 있는 이점이 있다.According to the present invention, a high frequency component is reduced for an image having a lot of motion in an input image signal, and a natural screen quality can be obtained despite the image skip by accumulating the previous image frame and the average value for each image frame being skipped. There is an advantage.

이하, 첨부한 도면에 의거하여 본 발명의 바람직한 실시 예를 자세히 설명하도록 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 비디오 인코더 영역에서의 신호처리 과정을 도시한 도면이다.3 is a diagram illustrating a signal processing procedure in a video encoder region according to the present invention.

도 3에 도시된 바와 같이, 카메라(31)를 통하여 촬영한 신호는 아날로그 영상 신호인데, 상기 아날로그 영상 신호를 영상신호 수신부(33)에 인가하여 디지털 영상 신호로 변환한다.As shown in FIG. 3, the signal photographed by the camera 31 is an analog video signal, and the analog video signal is applied to the video signal receiver 33 and converted into a digital video signal.

상기 영상신호 수신부에서 디지털 영상 신호로 변환한 다음, 이를 영상신호 전환부(35)에 입력하여 각각의 영상 프레임당 화소들이 휘도 값과 색차 값을 갖는 형태로 전환한다. 그러면, 아날로그 영상 신호들이 영상 프레임의 각각의 화소에대한 하나의 디지털 값을 갖게된다.The image signal receiving unit converts the digital image signal into a digital image signal and inputs the same to the image signal switching unit 35 to convert the pixels of each image frame into luminance and color difference values. The analog image signals then have one digital value for each pixel of the image frame.

본 발명에서는 상기 카메라에서 촬영된 영상 신호가 상기 영상신호 전환부에서 휘도값과 색차 값의 디지털 신호로 변환된 되면, 이를 인코더(37)에 입력하기 전에 시간 필터링(Temporal filtering) 프로세서(36)를 배치하여 스킵 영상 프레임에 대하여 고주파 성분을 줄이는 과정을 진행한 다음 이를 상기 인코더(37)에 입력 시켜 부호화를 진행한다.In the present invention, when the image signal photographed by the camera is converted into a digital signal of the luminance value and the color difference value by the image signal conversion unit, the temporal filtering processor 36 is input before inputting it to the encoder 37. The process of reducing the high frequency component of the skipped image frame is performed and inputted to the encoder 37 to perform encoding.

영상 신호를 부호화하는 것은 이산여현변환(DCT), 양자화, 가변장부호화등을 거쳐서 하나의 비트스트림 형태로 변환을 시키고, 마찬가지로 촬영된 영상 신호에 포함되어 있는 음성 신호도 음성 부호화 과정을 거쳐서 압축한다.The encoding of a video signal is performed through a discrete cosine transform (DCT), quantization, variable length encoding, and the like into one bitstream, and similarly, an audio signal included in the captured video signal is compressed through a speech encoding process. .

상기 시간 필터링(Temporal filtering) 프로세서(36)는 인코더(37)가 동작하기 전에 동작되도록 하여 이전 영상 프레임이 스킵 되었는지 여부에 따라 내부에 배치되어 있는 인터널 프레임 버퍼(Internal frame buffer)에서는 스킵된 영상 프레임들의 평균 값을 계산한다.The temporal filtering processor 36 is operated before the encoder 37 operates so that the skipped image is stored in an internal frame buffer disposed therein according to whether a previous video frame is skipped. Calculate the average value of the frames.

스킵 되지 않은 영상 프레임에 대해서는 곧바로 인코더(37)에 입력하여 영상 신호를 부호화한다. 그리고 처음 시작하는 영상 프레임은 인트라 모드이므로 부호화된 영상 프레임으로 취급하여 상기 인터널 프레임 버퍼에 영상 프레임을 저장한다.Video frames that are not skipped are immediately input to the encoder 37 to encode the video signals. Since the first starting video frame is an intra mode, the first video frame is treated as an encoded video frame and stored in the internal frame buffer.

상기 인코더(37)에서 부호화가 진행된 영상 비트스트림은 다른 음성 압축 신호들과 비디오 인코더(39)에서 합해진후, 이를 비트스트림 형태로 전송하게 된다.The video bitstream encoded by the encoder 37 is combined with other audio compression signals by the video encoder 39 and then transmitted in the form of a bitstream.

도 4는 본 발명에 따른 시간 필터링(Temporal filtering) 프로세서의 입출력구조를 도시한 도면이다.4 is a diagram illustrating an input / output structure of a temporal filtering processor according to the present invention.

도 4에 도시된 바와 같이, 시간 필터링(Temporal filtering) 프로세서 내부에는 스킵 되는 영상 프레임을 저장하는 인터널 프레임 버퍼(Internal frame buffer)가 배치되어 스킵(skip)되는 부호화된 이전 영상 프레임에 대해서 고주파 성분을 줄이기 위하여 평균 값을 누적해서 계산한다.As shown in FIG. 4, an internal frame buffer for storing skipped video frames is disposed inside a temporal filtering processor, and a high frequency component is generated for an encoded previous video frame that is skipped. The mean value is accumulated cumulatively to reduce.

Is Previous Frame Coded 값이 인코더에서 코딩되었는 경우에는 "1", 인코더에서 코딩되지 않았을 경우에는 "0"의 값을 갖는다.Is Previous Frame Coded has a value of "1" if coded in the encoder and "0" if not coded in the encoder.

상기 시간 필터링(Temporal filtering) 프로세서에서는 영상 신호가 휘도 신호와 색차 신호로 변환된 신호를 인가 받으면서, 상기 Is Previous Frame Coded 값이 "1" 또는 "0"의 값을 갖는지를 판단한다.The temporal filtering processor determines whether the Is Previous Frame Coded value has a value of "1" or "0" while receiving a signal obtained by converting an image signal into a luminance signal and a color difference signal.

입력되는 영상이 "0"으로서 스킵되는 영상인 경우에는 상기 시간 필터링(Temporal filtering) 프로세서 내부에 배치되어 있는, 인터널 프레임 버퍼에서 스킵되는 영상 프레임과 이전에 상기 인터널 프레임 버퍼에 저장되어 있는 영상 프레임의 평균 값을 누적하여 구한다.If the input image is an image skipped as "0", the image frame skipped in the internal frame buffer disposed in the temporal filtering processor and the image previously stored in the internal frame buffer The cumulative average value of frames is obtained.

하지만, 입력되는 영상이 "1"으로서 부호화된 영상 프레임인 경우에는 상기 시간 필터링(Temporal filtering) 프로세서에서는 입력 영상을 곧 바로 인코더에 입력하여 비트스트림 형태로 외부로 전송한다.However, when the input image is an image frame encoded as "1", the temporal filtering processor immediately inputs the input image to the encoder and transmits the input image to the outside in the form of a bitstream.

또한, 인코더가 처음 시작할 때에는 영상 신호가 인트라 모드이므로 즉, 이전 부호화 영상이 존재하지 않으므로 "1"로 셋팅시켜 인코더에서 부호화를 진행하도록 한다.In addition, when the encoder first starts, since the video signal is an intra mode, that is, the previous encoded video does not exist, the encoder is set to "1" so that the encoder performs the encoding.

도 5는 본 발명에 따른 시간 필터링(Temporal filtering) 프로세서의 신호 처리를 설명하기 위한 플로챠트이다.5 is a flowchart for explaining signal processing of a temporal filtering processor according to the present invention.

도 5에 도시된 바와 같이, 타겟 프레임 율을 조정하기 위해서 또는 타겟 비트율을 저정하기 위해서 시간 필터링(Temporal filtering) 프로세서에 Is Previous Frame Coded 값을 판단한다(S501).As illustrated in FIG. 5, an Is Previous Frame Coded value is determined by a temporal filtering processor to adjust a target frame rate or to store a target bit rate (S501).

상기 Is Previous Frame Coded 값 "0"의 값을 나타내는 경우에는 영상 프레임을 스킵하는 것이므로 상기 시간 필터링(Temporal filtering) 프로세서 내부에 배치되어 있는 인터널 프레임 버퍼에서 스킵 되는 영상 프레임과 이전에 부호화를 한 영상 프레임 간의 평균 값을 구한다(S502).If the value of the Is Previous Frame Coded value "0" indicates a value, the video frame is skipped, and thus the video frame skipped from the internal frame buffer disposed in the temporal filtering processor and the previously coded image are skipped. The average value between the frames is obtained (S502).

이전에 인터널 프레임 버퍼에 저장되어 있는 영상 프레임과 스킵을 하는 새로운 영상 프레임의 평균 값을 구한 다음, 상기 인터널 프레임 버퍼에 저장한 다고 인코더에 전송한다.An average value of a video frame previously stored in the internal frame buffer and a new video frame skipped is obtained, and then stored in the internal frame buffer and transmitted to the encoder.

예를 들어 N번째 영상 프레임을 부호화하고, k개의 영상 프레임이 스킵되어서 N+k+1번째 영상 프레임을 부호화할 때, N+1번째 영상 프레임부터 N+k+1 번째 영상 프레임까지 평균 값을 누적하여 N+k+1번째 영상 프레임을 부호화할 때 입력한다.For example, when the Nth video frame is encoded and k video frames are skipped to encode the N + k + 1th video frame, the average value is calculated from the N + 1th video frame to the N + k + 1th video frame. Input when accumulating the N + k + 1st image frames.

영상 프레임 들의 평균 값을 누적하는 방법은 다음과 같다.The method of accumulating an average value of image frames is as follows.

(N+1번째 영상 프레임)/(2k+1) + (N+2번째 영상 프레임)/(2k) + (N+3번째 영상 프레임)/(2k-1) + ........(N+k번째 영상 프레임)/(22) + (N+k+1번째 영상 프레임)/(21) 순서로 평균값을 누적한다.(N + 1 th picture frame) / (2 k + 1 ) + (N + 2 th picture frame) / (2 k ) + (N + 3 th picture frame) / (2 k-1 ) + .... The average value is accumulated in the order of (N + k th video frame) / (2 2 ) + (N + k + 1 th video frame) / (2 1 ).

따라서, 스킵 되는 영상 프레임 들의 화소 데이터가 부호화되는 영상 프레임을 기준으로 가중치를 가지고 누적해서 더해지게 된다.Therefore, the pixel data of skipped image frames are added with a weight based on the image frame to be encoded.

만약, 스킵 되는 영상 프레임 들에서 움직임이 거의 없는 경우에는 일정한 화면 영역의 화소들은 평균값을 계산하더라도 거의 변하지 않게 된다.If there is little motion in skipped image frames, the pixels of a certain screen area are hardly changed even when the average value is calculated.

하지만, 영상 프레임의 영상들의 움직임이 많은 경우에는 화면 영역의 화소들은 시간 필터링(Temporal filtering) 프로세서에 의해서 화면에서 움직인 만큼 화소 값들이 번지게 된다.However, when there are many movements of the images in the image frame, the pixels in the screen area are spread as much as they move on the screen by a temporal filtering processor.

이렇게 움직임이 발생한 부분의 화소들을 필터링(filtering) 함으로써, 비디오 인코딩 시에 움직임이 많은 영역에서 고주파 성분이 적게 발생하게 되고, 따라서 인코딩에 사용되는 비트량이 줄어들게 된다.By filtering the pixels in the portion where the motion is generated, less high frequency components are generated in a region having a lot of motion during video encoding, thus reducing the amount of bits used for encoding.

영상 프레임에 대한 비트량이 줄어들게 되면 전체적으로 스킵 되는 영상 프레임이 줄어들게 되고, 따라서 인코딩된 비트스트림을 디코딩해서 볼 때, 훨씬 더 부드러운 영상을 재현할 수 있게된다.If the bit rate for the video frame is reduced, the skipped video frame will be reduced as a whole. Thus, when decoding the encoded bitstream, a much smoother image can be reproduced.

상기 Is Previous Frame Coded 값 "1"의 값을 나타내는 경우에는 영상 프레임에 대하여 스킵이 없는 것으로 판단하므로, 영상 신호의 첫 번째 영상 프레임 또는 이전 영상 프레임이 코딩된 경우이므로, 이를 곧바로 인코더에 전송하여 부호화를 진행한다(S503).When the value of the Is Previous Frame Coded value "1" is shown, since it is determined that there is no skip for the video frame, since the first video frame or the previous video frame of the video signal is coded, it is immediately transmitted to the encoder for encoding. Proceed to step S503.

이상에서 자세히 설명된 바와 같이, 본 발명은 스킵 되는 영상 프레임에 대한 고주파 성분을 줄인 다음 인코더에 영상 신호를 전송하여 코딩함으로써 자연스러운 영상을 얻을 수 있는 효과가 있다.As described in detail above, the present invention has the effect of obtaining a natural image by reducing the high frequency component of the skipped image frame and then transmitting and coding the image signal to the encoder.

아울러, 스킵 되는 영상 프레임을 시간 필터링(Temporal filtering) 프로세서의 인터널 버퍼에서 고주파 성분을 줄임으로써 인코딩에 사용되는 비트량을 줄여 전체적으로 스킵 되는 영상 프레임의 개수를 줄여 화질 품위를 향상시킬 수 있는 이점이 있다.In addition, by reducing the high frequency component of the skipped video frame in the internal buffer of the temporal filtering processor, it is possible to reduce the amount of bits used for encoding, thereby reducing the number of skipped video frames to improve image quality. have.

본 발명은 상기한 실시 예에 한정되지 않고, 이하 청구 범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변경 실시가 가능할 것이다.The present invention is not limited to the above-described embodiments, and various changes can be made by those skilled in the art without departing from the gist of the present invention as claimed in the following claims.

Claims (7)

카메라에 의하여 촬영된 영상 신호를 수신하는 영상 신호 수신부;An image signal receiver configured to receive an image signal photographed by a camera; 상기 영상 신호 수신부로부터 영상 신호를 휘도와 색차 신호로 변환하는 영상 신호 전환부;An image signal conversion unit for converting an image signal into a luminance and color difference signal from the image signal receiving unit; 상기 영상 신호 전환부로부터 입력되는 영상 신호 중에서 스킵 되는 영상 프레임에 대하여 평균 값을 계산하여 누적하는 시간 필터링(Temporal filtering) 프로세서;A temporal filtering processor that calculates and accumulates an average value of skipped image frames among the image signals input from the image signal conversion unit; 상기 시간 필터링(Temporal filtering) 프로세서로부터 영상 신호를 인가 받아 부호화하는 인코더; 및An encoder receiving and encoding an image signal from the temporal filtering processor; And 상기 인코더에서 부호화된 영상을 다른 부호화 신호화 함께 혼합하는 비디오인코더; 를 포함하는 것을 특징으로 하는 동영상 인코딩 시스템.A video encoder which mixes the image coded by the encoder with other coded signals; Video encoding system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 시간 필터링(Temporal filtering) 프로세서는 인코더에서 부호화된 이전 영상 프레임을 저장하는 인터널 프레임 버퍼가 배치되어 있는 것을 특징으로 하는 동영상 인코딩 시스템.The temporal filtering processor is a video encoding system, characterized in that an internal frame buffer for storing the previous video frame encoded by the encoder. 제 2 항에 있어서,The method of claim 2, 상기 인터널 프레임 버퍼에서는 스킵 되는 영상 프레임과 저장되어 있는 이전 영상 프레임을 이용하여 평균 값을 누적하여 고주파 성분을 줄이는 것을 특징으로 하는 동영상 인코딩 시스템.The internal frame buffer is a video encoding system, characterized in that to reduce the high-frequency components by accumulating the average value by using the skipped video frame and the stored previous video frame. 입력되는 영상 신호를 휘도 신호와 색차 신호로 변환하는 단계;Converting an input video signal into a luminance signal and a color difference signal; 상기 변환된 영상 신호와 영상 신호의 영상 프레임의 부호화 또는 스킵 여부를 판단할 수 있는 신호를 시간 필터링(Temporal filtering) 프로세서에 입력하는 단계;Inputting a signal for determining whether to encode or skip the converted image signal and the image frame of the image signal to a temporal filtering processor; 상기 영상 프레임별 스킵 신호가 인가되는 경우에는 스킵 되는 영상 프레임에 대하여 상기 시간 필터링(Temporal filtering) 프로세서의 인터널 프레임 버퍼에서 저장된 이전 영상 프레임과의 평균 값을 누적시키면서 계산하는 단계; 및When the skip signal for each image frame is applied, calculating an average value with respect to the previous image frame stored in the internal frame buffer of the temporal filtering processor for the skipped image frame; And 상기 시간 필터링(Temporal filtering) 프로세서에서는 누적되어 계산된 평균값을 다음 스킵되지 않고 부호화를 진행하는 영상 신호가 인가될 때 인코더에 전송하는 단계;를 포함하는 것을 특징으로 하는 동영상 코딩방법.And transmitting, at the temporal filtering processor, the accumulated average value to an encoder when a video signal for encoding is applied without being skipped next. 제 4 항에 있어서,The method of claim 4, wherein 상기 시간 필터링(Temporal filtering) 프로세서에 입력되는 스킵 되는 영상 프레임 각각에 대하여 평균값을 구하여 합산하는 것을 특징으로 하는 동영상 코딩방법.And calculating an average value for each skipped image frame input to the temporal filtering processor. 제 4 항에 있어서,The method of claim 4, wherein 상기 시간 필터링(Temporal filtering) 프로세서를 처음 구동할 때에는 부호화하는 영상 프레임 신호를 입력하는 것을 특징으로 하는 동영상 코딩방법.And a video frame signal to be encoded when first driving the temporal filtering processor. 제 4 항에 있어서,The method of claim 4, wherein 상기 시간 필터링(Temporal filtering) 프로세서에 입력되는 영상 신호가 부호화 신호인 경우에는 바로 인코더로 전송하여 부호화를 진행하는 것을 특징으로 하는 동영상 코딩방법.And if the video signal input to the temporal filtering processor is a coded signal, the video signal is directly transmitted to an encoder to perform encoding.
KR1020020088432A 2002-12-31 2002-12-31 Moving picture encoder and method for coding using the same KR20040062110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020088432A KR20040062110A (en) 2002-12-31 2002-12-31 Moving picture encoder and method for coding using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020088432A KR20040062110A (en) 2002-12-31 2002-12-31 Moving picture encoder and method for coding using the same

Publications (1)

Publication Number Publication Date
KR20040062110A true KR20040062110A (en) 2004-07-07

Family

ID=37353563

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020088432A KR20040062110A (en) 2002-12-31 2002-12-31 Moving picture encoder and method for coding using the same

Country Status (1)

Country Link
KR (1) KR20040062110A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100714695B1 (en) * 2005-07-16 2007-05-04 삼성전자주식회사 Method for performing rate control by picture dropping and picture composition, video encoder, and transcoder thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100714695B1 (en) * 2005-07-16 2007-05-04 삼성전자주식회사 Method for performing rate control by picture dropping and picture composition, video encoder, and transcoder thereof

Similar Documents

Publication Publication Date Title
US9942570B2 (en) Resource efficient video processing via prediction error computational adjustments
EP1497990B1 (en) Method and device for indicating quantizer parameters in a video coding system
JP4234607B2 (en) Coding transform coefficient in image / video encoder and / or decoder
US20070025441A1 (en) Method, module, device and system for rate control provision for video encoders capable of variable bit rate encoding
JP2006054902A (en) Image coding method
JP4470431B2 (en) Data processing apparatus and method
JP3651706B2 (en) Video encoding device
EP1820350A1 (en) Method of coding and decoding moving picture
US20060133491A1 (en) Video codec
KR100770873B1 (en) Method and apparatus of controling bit rate in image encoding
KR20040046320A (en) Method for moving picture coding
KR100627494B1 (en) Moving picture encoder and method for c0ding moving picture using the same
KR20040062110A (en) Moving picture encoder and method for coding using the same
KR100586103B1 (en) Method for moving picture coding
KR20040046055A (en) Method for electrical transmission bit rate control of moving picture
KR20040062109A (en) Method for moving picture coding
KR20010104058A (en) Adaptive quantizer according to DCT mode in MPEG2 encoder
KR20040039809A (en) Moving picture encoder and method for coding using the same
KR100627493B1 (en) Moving picture encoder and method for coding using the same
KR20040032286A (en) Method for moving picture coding
KR20040035012A (en) Moving picture codec and method for preventing of moving picture error
JP2002010266A (en) Image information conversion apparatus and its method
KR20150102874A (en) Method for coding image by using adaptive coding scheme and device for coding image using the method
KR20040031948A (en) Method for moving picture decoding
KR20040031868A (en) Method for coding moving picture

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination