KR100772753B1 - Video decoder for preventing degradation of image quality - Google Patents

Video decoder for preventing degradation of image quality Download PDF

Info

Publication number
KR100772753B1
KR100772753B1 KR1020050135211A KR20050135211A KR100772753B1 KR 100772753 B1 KR100772753 B1 KR 100772753B1 KR 1020050135211 A KR1020050135211 A KR 1020050135211A KR 20050135211 A KR20050135211 A KR 20050135211A KR 100772753 B1 KR100772753 B1 KR 100772753B1
Authority
KR
South Korea
Prior art keywords
frame
average value
current frame
video decoder
unit
Prior art date
Application number
KR1020050135211A
Other languages
Korean (ko)
Other versions
KR20070071597A (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 KR1020050135211A priority Critical patent/KR100772753B1/en
Publication of KR20070071597A publication Critical patent/KR20070071597A/en
Application granted granted Critical
Publication of KR100772753B1 publication Critical patent/KR100772753B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • H04N19/45Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder performing compensation of the inverse transform mismatch, e.g. Inverse Discrete Cosine Transform [IDCT] mismatch

Abstract

본 발명은 화질열화 방지 비디오 디코더에 관한 것으로, 특히 양자화 파라미터를 이용하여 프레임의 화질 열화 정도를 예측하고 해당 프레임이 일정 수준 이상으로 화질 열화가 발생되었다고 판단되면 해당 프레임의 표시를 생략함으로써 화질의 열화 현상을 숨기는 기술에 관한 것이다.The present invention relates to a video decoder for preventing image quality deterioration. In particular, the present invention relates to a video decoder for predicting image quality deterioration using a quantization parameter, and when it is determined that the image quality deteriorates to a certain level or more, the display of the frame is omitted. It's about technology that hides the phenomenon.

본 발명에 따른 화질열화 방지 비디오 디코더는 가변장 디코더부, 역양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부를 더 포함한다.The video decoder according to the present invention is a video decoder including a variable length decoder, an inverse quantizer, an IDCT unit, and a motion compensator, in which a display of a corresponding frame is omitted when a quality degradation of a certain level or more occurs in a current frame. The apparatus further includes a frame display selection unit.

Description

화질열화 방지 비디오 디코더{VIDEO DECODER FOR PREVENTING DEGRADATION OF IMAGE QUALITY}Video decode prevention video decoder {VIDEO DECODER FOR PREVENTING DEGRADATION OF IMAGE QUALITY}

도 1은 종래 기술의 MPEG 디코더의 기본구조를 나타내는 블록도.1 is a block diagram showing the basic structure of a conventional MPEG decoder.

도 2는 본 발명의 실시예에 따른 화질열화 방지 비디오 디코더의 블록도.2 is a block diagram of a video deterioration prevention video decoder according to an embodiment of the present invention.

도 3은 도 2의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도.3 is a flowchart for explaining an operation of a video deterioration prevention video decoder of FIG.

도 4는 본 발명의 다른 실시예에 따른 화질열화 방지 비디오 디코더의 블록도.4 is a block diagram of a video deterioration prevention video decoder according to another embodiment of the present invention.

도 5는 도 4의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도.FIG. 5 is a flowchart for explaining an operation of a video deterioration prevention video decoder of FIG. 4. FIG.

도 6은 본 발명의 또 다른 실시예에 따른 화질열화 방지 비디오 디코더의 블록도.6 is a block diagram of a video deterioration prevention video decoder according to another embodiment of the present invention.

도 7은 도 6의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도.7 is a flowchart for explaining an operation of a video deterioration prevention video decoder of FIG. 6.

< 도면의 주요 부분의 부호의 설명 ><Description of Signs of Major Parts of Drawings>

10 : 가변장 디코더부 20 : 역양자화부10 variable variable decoder 20 inverse quantization unit

30 : IDCT부 40 : 움직임보상부30: IDCT unit 40: motion compensation unit

50 : 디스플레이 메모리 60 : VOP 헤더 파서50: display memory 60: VOP header parser

100 : 프레임표시선택부 110 : 비교부100: frame display selection unit 110: comparison unit

120 : 평균값계산부 130 : 비교부120: average value calculation unit 130: comparison unit

140 : 가중평균값계산부 150 : 비교부140: weighted average value calculation unit 150: comparison unit

본 발명은 화질열화 방지 비디오 디코더에 관한 것으로, 특히 양자화 파라미터를 이용하여 프레임의 화질 열화 정도를 예측하고 해당 프레임이 일정 수준 이상으로 화질 열화가 발생되었다고 판단되면 해당 프레임의 표시를 생략함으로써 화질의 열화 현상을 숨기는 기술에 관한 것이다.The present invention relates to a video decoder for preventing image quality deterioration. In particular, the present invention relates to a video decoder for predicting image quality deterioration using a quantization parameter, and when it is determined that the image quality deteriorates to a certain level or more, the display of the frame is omitted. It's about technology that hides the phenomenon.

도 1은 종래 기술의 MPEG 디코더의 기본구조를 나타내는 블록도이다.1 is a block diagram showing the basic structure of a conventional MPEG decoder.

도 1을 참조하면, 종래의 MPEG 디코더는 가변장 디코더부(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50)로 구성된다.Referring to FIG. 1, a conventional MPEG decoder includes a variable length decoder 10, an inverse quantization unit 20, an IDCT unit 30, a motion compensator 40, and a display memory 50.

가변장 디코더부(10)는 데이터를 (런 길이, 레벨)로 표시하는 런 길이 부호화(Run Length Encoding)와 발생확률이 높은 데이터에 짧은 부호를 할당하고 발생확률이 낮은 데이터에 긴 부호를 할당하는 가변장 부호화(Variable Length Encoding)된 데이터를 디코딩한다.The variable length decoder unit 10 assigns a short code to data having a high probability of occurrence and a run length encoding for displaying data in (run length, level) and a long code to a data having a low probability of occurrence. Decode the variable length encoded data.

역양자화부(20)는 가변장 디코더(10)에서 출력되는 이산 코사인 계수들을 양자화 파라미터(Quantization Parameter)에 따라 역양자화하여 주파수 공간상의 에너지 분포로 변환한다.The inverse quantizer 20 inversely quantizes the discrete cosine coefficients output from the variable length decoder 10 according to a quantization parameter to convert energy distribution in frequency space.

IDCT부(30)는 역양자화 과정에 의한 주파수 공간상의 에너지 분포를 역이산 코사인 변환(Inverse Discrete Cosine Transform)하여 원래의 영상 신호를 복원한 다.The IDCT unit 30 restores the original video signal by performing an inverse discrete cosine transform on the energy distribution in the frequency space by the inverse quantization process.

움직임보상부(40)는 이전 픽처와 현재 입력된 B 픽처 또는 P 픽처에 대한 움직임 벡터를 이용하여 원래의 영상을 복원한다.The motion compensator 40 reconstructs the original image by using motion vectors of the previous picture and the currently input B picture or P picture.

복원된 영상 데이터는 디스플레이 메모리(50)에 저장되어 화면으로 출력된다.The restored image data is stored in the display memory 50 and output to the screen.

종래의 동영상 압축 기법인 MPEG-1,2,4, H.26x 등의 DCT(Discrete Cosine Transform) 기반의 압축 영상들은 압축률을 양자화 파라미터를 변화시켜 조절하였다.The compressed images based on the Discrete Cosine Transform (DCT) such as MPEG-1, 2, 4, and H.26x, which are conventional video compression techniques, are adjusted by changing the quantization parameter.

통신망을 통하여 동영상을 전송하는 경우에는 전송 선로의 대역폭이 한정되어 있기 때문에 고정 비트율을 유지하기 위해 양자화 파라미터를 조절하는 비트율 제어기를 통해 인코딩을 수행하게 된다.In case of transmitting a video through a communication network, since the bandwidth of the transmission line is limited, encoding is performed through a bit rate controller that adjusts a quantization parameter to maintain a fixed bit rate.

그런데, 영상의 복잡도가 높아지거나 이전 영상 대비 급격한 변화가 일어나는 경우에는 정보량이 늘어나게 되고 따라서 생성되는 비트량 또한 늘어나게 된다. 이때, 비트율 제어기는 양자화 파라미터를 조절하여 압축률을 크게 하므로, 화질이 열화되는 문제점이 발생한다. However, when the complexity of the image increases or a sudden change occurs compared to the previous image, the amount of information increases and thus the amount of generated bits also increases. In this case, since the bit rate controller adjusts the quantization parameter to increase the compression rate, a problem arises in that image quality deteriorates.

상기 문제점을 해결하기 위해, 본 발명은 양자화 파라미터를 이용하여 프레임의 화질 열화 정도를 예측하고 해당 프레임이 일정 수준 이상으로 화질 열화가 발생되었다고 판단되면 해당 프레임의 표시를 생략함으로써 화질의 열화 현상을 숨 겨 성능 향상을 가져오는 것을 목적으로 한다.In order to solve the above problems, the present invention predicts the degree of deterioration of image quality using a quantization parameter and hides the deterioration of image quality by omitting the display of the frame when it is determined that the image quality deteriorates to a certain level or more. It aims to bring performance improvement.

본 발명에 따른 화질열화 방지 비디오 디코더는 가변장 디코더부, 역양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부를 더 포함한다.The video decoder according to the present invention is a video decoder including a variable length decoder, an inverse quantizer, an IDCT unit, and a motion compensator, in which a display of a corresponding frame is omitted when a quality degradation of a certain level or more occurs in a current frame. The apparatus further includes a frame display selection unit.

또한, 본 발명에 따른 화질열화 방지 비디오 디코더는 가변장 디코더부, 역양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부; 및 현재 프레임의 양자화 파라미터와 소정의 문턱값을 비교하여 프레임 생략 여부를 판단하는 비교부를 더 포함한다.In addition, the video deterioration prevention video decoder according to the present invention is a video decoder including a variable length decoder, an inverse quantization unit, an IDCT unit, a motion compensation unit, the display of the frame when the image quality degradation of a certain level or more occurs in the current frame A frame display selection unit to be omitted; And a comparing unit comparing the quantization parameter of the current frame with a predetermined threshold to determine whether the frame is omitted.

또한, 본 발명에 따른 화질열화 방지 비디오 디코더는 가변장 디코더부, 역양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부; 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대한 양자화 파라미터의 평균값을 구하는 평균값계산부; 및 현재 프레임의 양자화 파라미터와 상기 평균값계산부에서 계산된 평균값의 차를 소정의 문턱값과 비교하여 프레임 생략 여부를 판단하는 비교부를 더 포함한다.In addition, the video deterioration prevention video decoder according to the present invention is a video decoder including a variable length decoder, an inverse quantization unit, an IDCT unit, a motion compensation unit, the display of the frame when the image quality degradation of a certain level or more occurs in the current frame A frame display selection unit to be omitted; An average value calculating section for obtaining an average value of quantization parameters for frames during a predetermined window size preceding the current frame; And a comparison unit determining whether the frame is omitted by comparing a difference between the quantization parameter of the current frame and the average value calculated by the average value calculator with a predetermined threshold.

또한, 본 발명에 따른 화질열화 방지 비디오 디코더는 가변장 디코더부, 역 양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부; 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대해 각 프레임의 양자화 파라미터와 각 프레임의 가중치의 곱의 평균값을 구하는 가중평균값계산부; 및 현재 프레임의 양자화 파라미터와 상기 가중평균값계산부에서 계산된 가중평균값의 차를 소정의 문턱값과 비교하여 프레임 생략 여부를 판단하는 비교부를 더 포함한다.In addition, the video deterioration prevention video decoder according to the present invention is a video decoder including a variable length decoder, an inverse quantization unit, an IDCT unit, and a motion compensation unit. A frame display selection unit to be omitted; A weighted average value calculating section for obtaining an average value of a product of weights of each frame and quantization parameters of each frame for frames during a predetermined window size preceding the current frame; And a comparison unit determining whether the frame is omitted by comparing a difference between the quantization parameter of the current frame and the weighted average value calculated by the weighted average value calculator with a predetermined threshold.

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

도 2는 본 발명의 실시예에 따른 화질열화 방지 비디오 디코더의 블록도이다.2 is a block diagram of a video deterioration prevention video decoder according to an embodiment of the present invention.

도 2를 참조하면, 화질열화 방지 비디오 디코더는 가변장 디코더부(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50), VOP 헤더 파서(60), 프레임표시선택부(100), 비교부(110)를 포함한다.Referring to FIG. 2, the video deterioration prevention video decoder includes a variable length decoder 10, an inverse quantizer 20, an IDCT unit 30, a motion compensator 40, a display memory 50, and a VOP header parser ( 60, a frame display selection unit 100, and a comparison unit 110.

도 2의 가변장 디코더부(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50)의 구성은 도 1의 구성과 동일하다.The configuration of the variable length decoder 10, the inverse quantization unit 20, the IDCT unit 30, the motion compensator 40, and the display memory 50 of FIG. 2 is the same as that of FIG. 1.

VOP 헤더 파서(VOP Header Parser)(60)는 VOP 헤더로부터 현재 프레임의 양자화 파라미터(QP)를 읽어온다.The VOP Header Parser 60 reads the quantization parameter QP of the current frame from the VOP header.

비교부(110)는 현재 프레임의 양자화 파라미터(QP)와 소정의 문턱값(threshold)을 비교한다. 문턱값은 달성하고자 하는 화질에 따라 적정하게 정할 수 있다.The comparator 110 compares the quantization parameter QP of the current frame with a predetermined threshold. The threshold value can be appropriately determined according to the image quality to be achieved.

프레임표시선택부(100)는 비교부(110)의 비교결과에 따라 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 현재 프레임의 표시를 생략할지를 결정한다.The frame display selection unit 100 determines whether to omit the display of the current frame when a quality deterioration of a predetermined level or more occurs in the current frame according to the comparison result of the comparison unit 110.

도 3은 도 2의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도이다.FIG. 3 is a flowchart illustrating an operation of a video deterioration prevention video decoder of FIG. 2.

도 3을 참조하여, 도 2의 화질열화 방지 비디오 디코더의 동작을 설명한다.Referring to FIG. 3, the operation of the video deterioration prevention video decoder of FIG. 2 will be described.

비교부(110)는 VOP 헤더 파서(60)로부터의 읽어온 현재 프레임의 양자화 파라미터(QP)와 소정의 문턱값을 비교한다(S300).The comparator 110 compares the quantization parameter QP of the current frame read from the VOP header parser 60 with a predetermined threshold value (S300).

만약 현재 프레임의 양자화 파라미터(QP)가 소정의 문턱값보다 크면 현재 프레임의 표시를 생략한다(S310). 그렇지 않은 경우에는 복원된 영상 데이터를 디스플레이 메모리(50)로 전송하여 화면으로 출력되게 한다(S320).If the quantization parameter QP of the current frame is larger than a predetermined threshold, the display of the current frame is omitted (S310). Otherwise, the restored image data is transmitted to the display memory 50 to be output to the screen (S320).

도 2의 화질열화 방지 비디오 디코더는 구성이 가장 간단한 장점이 있지만, 전체적으로 압축률이 높은 영상의 경우 심한 끊김 현상이 발생하는 단점도 있다.The video deterioration prevention video decoder of FIG. 2 has the simplest configuration, but has the disadvantage that severe disconnection occurs in the case of an image having a high compression ratio as a whole.

도 4는 본 발명의 다른 실시예에 따른 화질열화 방지 비디오 디코더의 블록도이다.4 is a block diagram of a video deterioration prevention video decoder according to another embodiment of the present invention.

도 4를 참조하면, 화질열화 방지 비디오 디코더는 가변장 디코더부(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50), VOP 헤더 파서(60), 프레임표시선택부(100), 평균값계산부(120), 비교부(130)를 포함한다.Referring to FIG. 4, the video deterioration prevention video decoder includes a variable length decoder 10, an inverse quantization unit 20, an IDCT unit 30, a motion compensation unit 40, a display memory 50, and a VOP header parser ( 60, a frame display selection unit 100, an average value calculation unit 120, and a comparison unit 130.

도 4의 가변장 디코더(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50)의 구성은 도 1의 구성과 동일하고, VOP 헤더 파서(60), 프 레임표시선택부(100)의 구성은 도 2의 구성과 동일하다.The configuration of the variable length decoder 10, the inverse quantization unit 20, the IDCT unit 30, the motion compensation unit 40, and the display memory 50 of FIG. 4 is the same as that of FIG. 1, and the VOP header parser ( 60), the structure of the frame display selection unit 100 is the same as that of FIG.

평균값계산부(120)는 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대한 양자화 파라미터의 평균값을 구한다.The mean value calculator 120 calculates an average value of the quantization parameter for frames during a predetermined window size preceding the current frame.

윈도우 사이즈를 w라 하고, 윈도우 사이즈 동안의 현재 프레임에 선행하는 프레임의 양자화 파라미터를 각각 QP(n-1), QP(n-2), ..., QP(n-w)라 하면, 평균값은 다음 식에 의해 구해진다.If the window size is w and the quantization parameters of the frame preceding the current frame during the window size are QP (n-1), QP (n-2), ..., QP (nw), respectively, the average value is Obtained by the formula

Figure 112005078381949-pat00001
Figure 112005078381949-pat00001

비교부(130)는 현재 프레임의 양자화 파라미터(QP(n))와 평균값계산부(120)에서 계산된 평균값(QPavg(n))의 차를 소정의 문턱값과 비교한다. 문턱값은 달성하고자 하는 화질에 따라 적정하게 정할 수 있다.The comparison unit 130 compares the difference between the quantization parameter QP (n) of the current frame and the average value QPavg (n) calculated by the average value calculator 120 with a predetermined threshold. The threshold value can be appropriately determined according to the image quality to be achieved.

도 5는 도 4의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도이다.FIG. 5 is a flowchart illustrating an operation of a video deterioration prevention video decoder of FIG. 4.

도 5를 참조하여, 도 4의 화질열화 방지 비디오 디코더의 동작을 설명한다.Referring to FIG. 5, the operation of the video deterioration prevention video decoder of FIG. 4 will be described.

평균값계산부(120)는 VOP 헤더 파서(60)로부터의 읽어온 현재 프레임에 선행하는 소정의 윈도우 사이즈(w) 동안의 프레임들에 대한 양자화 파라미터의 평균값(QPavg(n))을 구한다(S330).The average value calculator 120 calculates an average value QPavg (n) of the quantization parameters for frames during a predetermined window size w preceding the current frame read from the VOP header parser 60 (S330). .

비교부(130)는 현재 프레임의 양자화 파라미터(QP(n))와 평균값계산부(120)에서 계산된 평균값(QPavg(n))의 차를 소정의 문턱값과 비교한다(S340).The comparison unit 130 compares the difference between the quantization parameter QP (n) of the current frame and the average value QPavg (n) calculated by the average value calculator 120 with a predetermined threshold value (S340).

만약 현재 프레임의 양자화 파라미터(QP(n))와 평균값(QPavg(n))의 차가 소정의 문턱값보다 크면 현재 프레임의 표시를 생략한다(S350). 그렇지 않은 경우에 는 복원된 영상 데이터를 디스플레이 메모리(50)로 전송하여 화면으로 출력되게 한다(S360).If the difference between the quantization parameter QP (n) and the average value QPavg (n) of the current frame is larger than a predetermined threshold, the display of the current frame is omitted (S350). Otherwise, the restored image data is transmitted to the display memory 50 to be output to the screen (S360).

도 4의 화질열화 방지 비디오 디코더는 현재 프레임이 일정 윈도우 사이즈 동안의 이전 프레임들보다 화질 열화 정도가 큰 경우에만 프레임의 표시를 생략하므로 전체적으로 압축률이 높은 영상의 경우에도 끊김 현상을 방지할 수 있다.The video deterioration prevention video decoder of FIG. 4 omits the display of the frame only when the current frame has a higher quality deterioration degree than the previous frames during the predetermined window size, thereby preventing a drop even in the case of an image having a high compression ratio.

도 6은 본 발명의 또 다른 실시예에 따른 화질열화 방지 비디오 디코더의 블록도이다.6 is a block diagram of a video deterioration prevention video decoder according to another embodiment of the present invention.

도 6을 참조하면, 화질열화 방지 비디오 디코더는 가변장 디코더부(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50), VOP 헤더 파서(60), 프레임표시선택부(100), 가중평균값계산부(140), 비교부(150)를 포함한다.Referring to FIG. 6, the video deterioration prevention video decoder includes a variable length decoder 10, an inverse quantization unit 20, an IDCT unit 30, a motion compensation unit 40, a display memory 50, and a VOP header parser ( 60, a frame display selection unit 100, a weighted average value calculation unit 140, and a comparison unit 150.

도 6의 가변장 디코더(10), 역양자화부(20), IDCT부(30), 움직임보상부(40), 디스플레이 메모리(50)의 구성은 도 1의 구성과 동일하고, VOP 헤더 파서(60), 프레임표시선택부(100)의 구성은 도 2의 구성과 동일하다.The configuration of the variable length decoder 10, the inverse quantization unit 20, the IDCT unit 30, the motion compensator 40, and the display memory 50 of FIG. 6 is the same as that of FIG. 1, and the VOP header parser ( 60), the structure of the frame display selection unit 100 is the same as that of FIG.

가중평균값계산부(140)는 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대해 각 프레임의 양자화 파라미터와 각 프레임의 가중치의 곱의 평균값을 구한다.The weighted average calculator 140 calculates an average value of a product of the quantization parameter of each frame and the weight of each frame with respect to the frames during the predetermined window size preceding the current frame.

윈도우 사이즈를 w라 하고, 윈도우 사이즈 동안의 현재 프레임에 선행하는 프레임의 양자화 파라미터를 각각 QP(n-1), QP(n-2), ..., QP(n-w)라 하고, 각 프레임의 가중치를 각각 W(n-1), W(n-2), ..., W(n-w)라 하면, 가중평균값은 다음 식 에 의해 구해진다.The window size is w, and the quantization parameters of the frame preceding the current frame during the window size are QP (n-1), QP (n-2), ..., QP (nw), respectively. If the weights are W (n-1), W (n-2), ..., W (nw), respectively, the weighted average value is obtained by the following equation.

Figure 112005078381949-pat00002
Figure 112005078381949-pat00002

현재 프레임에 가까운 프레임의 양자화 파라미터가 현재 프레임에서 먼 프레임의 양자화 파라미터보다 중요하므로, 현재 프레임에 선행하는 상기 각 프레임의 가중치는 현재 프레임에 가까운 프레임일수록 큰 값을 가지는 것이 바람직하다. 가중치는 달성하고자 하는 화질에 따라 적정하게 정할 수 있다.Since the quantization parameter of the frame close to the current frame is more important than the quantization parameter of the frame far from the current frame, the weight of each frame preceding the current frame is preferably larger as the frame closer to the current frame. The weight can be appropriately determined according to the image quality to be achieved.

비교부(150)는 현재 프레임의 양자화 파라미터(QP(n))와 가중평균값계산부(140)에서 계산된 가중평균값(QPw(n))의 차를 소정의 문턱값과 비교한다. 문턱값은 달성하고자 하는 화질에 따라 적정하게 정할 수 있다.The comparison unit 150 compares the difference between the quantization parameter QP (n) of the current frame and the weighted average value QPw (n) calculated by the weighted average value calculator 140 with a predetermined threshold. The threshold value can be appropriately determined according to the image quality to be achieved.

도 7은 도 6의 화질열화 방지 비디오 디코더의 동작을 설명하는 순서도이다.FIG. 7 is a flowchart illustrating an operation of a video deterioration prevention video decoder of FIG. 6.

도 7을 참조하여, 도 6의 화질열화 방지 비디오 디코더의 동작을 설명한다.Referring to FIG. 7, the operation of the video deterioration prevention video decoder of FIG. 6 will be described.

가중평균값계산부(140)는 VOP 헤더 파서(60)로부터의 읽어온 현재 프레임에 선행하는 소정의 윈도우 사이즈(w) 동안의 프레임들에 대한 양자화 파라미터의 가중평균값(QPw(n))을 구한다(S370).The weighted average calculation unit 140 obtains a weighted average value QPw (n) of quantization parameters for frames during a predetermined window size w preceding the current frame read from the VOP header parser 60 ( S370).

비교부(150)는 현재 프레임의 양자화 파라미터(QP(n))와 가중평균값계산부(140)에서 계산된 가중평균값(QPw(n))의 차를 소정의 문턱값과 비교한다(S380).The comparison unit 150 compares the difference between the quantization parameter QP (n) of the current frame and the weighted average value QPw (n) calculated by the weighted average value calculator 140 with a predetermined threshold (S380).

만약 현재 프레임의 양자화 파라미터(QP(n))와 가중평균값(QPw(n))의 차가 소정의 문턱값보다 크면 현재 프레임의 표시를 생략한다(S390). 그렇지 않은 경우에는 복원된 영상 데이터를 디스플레이 메모리(50)로 전송하여 화면으로 출력되게 한다(S400).If the difference between the quantization parameter QP (n) and the weighted average value QPw (n) of the current frame is larger than a predetermined threshold, the display of the current frame is omitted (S390). Otherwise, the restored image data is transmitted to the display memory 50 to be output to the screen (S400).

도 6의 화질열화 방지 비디오 디코더도 현재 프레임이 일정 윈도우 사이즈 동안의 이전 프레임들보다 화질 열화 정도가 큰 경우에만 프레임의 표시를 생략하므로, 전체적으로 압축률이 높은 영상의 경우에 끊김 현상을 방지할 수 있다. 또한 가중치를 사용하므로 이전 프레임들에 대비한 현재 프레임의 화질 열화 정도를 보다 정밀하게 계산할 수 있다.The video deterioration prevention video decoder of FIG. 6 also omits the display of the frame only when the current frame has a higher quality deterioration degree than the previous frames for a certain window size, thereby preventing a drop in the case of an image having a high compression ratio as a whole. . In addition, since the weight is used, the image quality deterioration degree of the current frame compared to the previous frames can be more accurately calculated.

본 발명에 따른 화질열화 방지 비디오 디코더는 다음과 같은 효과를 가진다.The video deterioration prevention video decoder according to the present invention has the following effects.

첫째, 기존의 비디오 인코더의 설계 변경 없이 비디오 디코더의 수정만으로 적용이 가능하므로, 기존에 생성된 컨텐츠들에 대해 화질 개선을 기대할 수 있다.First, since it can be applied only by modifying the video decoder without changing the design of the existing video encoder, the image quality can be expected to be improved for the generated contents.

둘째, 피사체의 급격한 동작이나 복잡도의 증가로 인한 화질 열화를 일정 수준 감출 수 있는 기능을 제공하므로 특히 전송 선호의 대역폭이 결정된 상태에서 인코딩되는 비디오 스트리밍 서비스 또는 VOD 서비스에서 효과적으로 사용될 수 있다.Second, since it provides a function of suppressing image quality deterioration due to a sudden movement of an object or an increase in complexity, it can be effectively used in a video streaming service or a VOD service, which is encoded in a state where a transmission preference bandwidth is determined.

셋째, 소정의 윈도우 사이즈의 선행 프레임들의 양자화 파라미터를 고려하므로, 전체적으로 압축률이 높은 영상의 경우에도 끊김 현상을 방지할 수 있다.Third, since the quantization parameter of the preceding frames having a predetermined window size is taken into consideration, it is possible to prevent the dropout even in the case of an image having a high compression ratio as a whole.

아울러 본 발명의 바람직한 실시예는 예시의 목적을 위한 것으로, 당업자라면 첨부된 특허 청구범위의 기술적 사상과 범위를 통해 다양한 수정, 변경, 대체 및 부가가 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구범위에 속하는 것으로 보아야 할 것이다.In addition, a preferred embodiment of the present invention is for the purpose of illustration, those skilled in the art will be able to various modifications, changes, replacements and additions through the spirit and scope of the appended claims, such modifications and changes are the following claims It should be seen as belonging to a range.

Claims (5)

가변장 디코더부, 역양자화부, IDCT부, 움직임보상부를 포함하는 비디오 디코더에 있어서,A video decoder comprising a variable length decoder, an inverse quantizer, an IDCT unit, and a motion compensation unit, 현재 프레임에 일정 수준 이상의 화질 열화가 발생한 경우 해당 프레임의 표시를 생략하는 프레임표시선택부를 더 포함하는 것을 특징으로 하는 화질열화 방지 비디오 디코더.And a frame display selection unit for omitting display of the corresponding frame when a certain level or more of image quality degradation occurs in the current frame. 제 1 항에 있어서,The method of claim 1, 현재 프레임의 양자화 파라미터와 소정의 문턱값을 비교하여 프레임 생략 여부를 판단하는 비교부를 더 포함하는 것을 특징으로 하는 화질열화 방지 비디오 디코더.And a comparator for comparing whether a frame is omitted by comparing a quantization parameter of a current frame with a predetermined threshold value. 제 1 항에 있어서,The method of claim 1, 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대한 양자화 파라미터의 평균값을 구하는 평균값계산부; 및An average value calculating section for obtaining an average value of quantization parameters for frames during a predetermined window size preceding the current frame; And 현재 프레임의 양자화 파라미터와 상기 평균값계산부에서 계산된 평균값의 차를 소정의 문턱값과 비교하여 프레임 생략 여부를 판단하는 비교부A comparator that determines whether to omit the frame by comparing a difference between the quantization parameter of the current frame and the average value calculated by the average value calculator with a predetermined threshold 를 더 포함하는 것을 특징으로 하는 화질열화 방지 비디오 디코더.Deterioration prevention video decoder, characterized in that it further comprises. 제 1 항에 있어서,The method of claim 1, 현재 프레임에 선행하는 소정의 윈도우 사이즈 동안의 프레임들에 대해 각 프레임의 양자화 파라미터와 각 프레임의 가중치의 곱의 평균값을 구하는 가중평균값계산부; 및A weighted average value calculating section for obtaining an average value of a product of weights of each frame and quantization parameters of each frame for frames during a predetermined window size preceding the current frame; And 현재 프레임의 양자화 파라미터와 상기 가중평균값계산부에서 계산된 가중평균값의 차를 소정의 문턱값과 비교하여 프레임 생략 여부를 판단하는 비교부A comparator that determines whether to omit the frame by comparing a difference between the quantization parameter of the current frame and the weighted average value calculated by the weighted average value calculator with a predetermined threshold 를 더 포함하는 것을 특징으로 하는 화질열화 방지 비디오 디코더.Deterioration prevention video decoder, characterized in that it further comprises. 제 4 항에 있어서,The method of claim 4, wherein 현재 프레임에 선행하는 상기 각 프레임의 가중치는 현재 프레임에 가까운 프레임일수록 큰 값을 가지는 것을 특징으로 하는 화질열화 방지 비디오 디코더.The weight of each frame preceding the current frame has a larger value as the frame closer to the current frame has a higher value.
KR1020050135211A 2005-12-30 2005-12-30 Video decoder for preventing degradation of image quality KR100772753B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050135211A KR100772753B1 (en) 2005-12-30 2005-12-30 Video decoder for preventing degradation of image quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050135211A KR100772753B1 (en) 2005-12-30 2005-12-30 Video decoder for preventing degradation of image quality

Publications (2)

Publication Number Publication Date
KR20070071597A KR20070071597A (en) 2007-07-04
KR100772753B1 true KR100772753B1 (en) 2007-11-01

Family

ID=38506711

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050135211A KR100772753B1 (en) 2005-12-30 2005-12-30 Video decoder for preventing degradation of image quality

Country Status (1)

Country Link
KR (1) KR100772753B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100376904B1 (en) 1994-11-18 2003-06-02 산요 덴키 가부시키가이샤 Video decoding device to control encoded video data
KR100396971B1 (en) 1994-11-29 2003-11-03 산요덴키가부시키가이샤 Video decoder having error detection and processing function of encoded vided data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100376904B1 (en) 1994-11-18 2003-06-02 산요 덴키 가부시키가이샤 Video decoding device to control encoded video data
KR100396971B1 (en) 1994-11-29 2003-11-03 산요덴키가부시키가이샤 Video decoder having error detection and processing function of encoded vided data

Also Published As

Publication number Publication date
KR20070071597A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
KR101213513B1 (en) Fast macroblock delta qp decision
US8194735B2 (en) Video encoding apparatus and video encoding method
KR100850705B1 (en) Method for adaptive encoding motion image based on the temperal and spatial complexity and apparatus thereof
KR100468726B1 (en) Apparatus and method for performing variable bit rate control in real time
US7653129B2 (en) Method and apparatus for providing intra coding frame bit budget
US10616594B2 (en) Picture encoding device and picture encoding method
KR100850706B1 (en) Method for adaptive encoding and decoding motion image and apparatus thereof
JP2963416B2 (en) Video encoding method and apparatus for controlling bit generation amount using quantization activity
US9036699B2 (en) Video coding
KR20040011100A (en) Advanced method for rate control and apparatus thereof
US9014268B2 (en) Video encoder and its decoder
US20120195364A1 (en) Dynamic mode search order control for a video encoder
JP4485996B2 (en) Image encoding apparatus and image encoding program
JP5093349B2 (en) Image compression apparatus and image restoration apparatus
JP2019114905A (en) Dynamic picture image encoder, dynamic picture image encoding method and computer program for dynamic picture image encoding
KR100772753B1 (en) Video decoder for preventing degradation of image quality
JP4586340B2 (en) Encoding apparatus, encoding method, and program
KR20130032807A (en) Method and apparatus for encoding a moving picture
JP4857243B2 (en) Image encoding apparatus, control method therefor, and computer program
KR20040104831A (en) Method and device for compressing image data
JP2740746B2 (en) Video compression device
JP2012105128A (en) Image encoder
KR20090037288A (en) Method for real-time scene-change detection for rate control of video encoder, method for enhancing qulity of video telecommunication using the same, and system for the video telecommunication
JP4186544B2 (en) Encoding apparatus, encoding method, program, and recording medium
KR100761475B1 (en) Image display device and method for image quality improvement

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
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20121004

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20131002

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee