KR0141192B1 - Data writing method and apparatus for trick play - Google Patents

Data writing method and apparatus for trick play

Info

Publication number
KR0141192B1
KR0141192B1 KR1019940016328A KR19940016328A KR0141192B1 KR 0141192 B1 KR0141192 B1 KR 0141192B1 KR 1019940016328 A KR1019940016328 A KR 1019940016328A KR 19940016328 A KR19940016328 A KR 19940016328A KR 0141192 B1 KR0141192 B1 KR 0141192B1
Authority
KR
South Korea
Prior art keywords
coefficient
run length
trick play
length coding
quantization
Prior art date
Application number
KR1019940016328A
Other languages
Korean (ko)
Other versions
KR960005557A (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 KR1019940016328A priority Critical patent/KR0141192B1/en
Publication of KR960005557A publication Critical patent/KR960005557A/en
Application granted granted Critical
Publication of KR0141192B1 publication Critical patent/KR0141192B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10037A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

움직임이 많은 화상을 적절히 표현할 수 있는 디지탈 비디오테이프레코더의 트릭플레이용 데이타 작성방법 및 이에 적합한 장치가 개시된다.Disclosed are a method for creating a data for trick play of a digital video tape recorder capable of appropriately representing a moving image, and an apparatus suitable for the same.

본 발명에 따른 트릭플레이용 데이타의 작성방법은 DCT변환계수중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 양자화하는 과정; 양자화된 AC계수를 주파수순서에 따라 목표비트량에 맞추어 런렝스코딩하는 과정; 런렝스코딩의 결과를 평가하여 큰 값을 갖는 AC계수가 많이 포함되도록 양자화스텝을 적응적으로 조정하여 양자화과정 및 런렝스코딩과정을 반복시키는 평가과정; 및 DC계수와 런렝스코딩과정에서 양자화된 AC계수 및 적용된 양자화스텝으로서 트릭플레이용 데이타를 작성하는 과정을 포함함을 특징으로 한다.A method for generating trick play data according to the present invention includes the steps of quantizing an AC coefficient excluding a DC coefficient among DCT conversion coefficients by a given quantization step; Runlength coding the quantized AC coefficient according to the frequency order according to the target bit quantity; An evaluation process of evaluating the result of run length coding and quantizing step by adaptively adjusting the quantization step to include a large number of AC coefficients having a large value, thereby repeating the quantization process and run length coding process; And generating a trick play data as a quantized AC coefficient and an applied quantization step in the DC coefficient and the run length coding process.

본 발명에 따른 트릭플레이용 데이타 작성방법은 트릭플레이용 데이타작성시 큰 값을 갖는 AC계수를 될수록 많이 포함시키도록 함으로서 화상의 움직임성분을 충분히 재생할 수 있게 하는효과를 갖는다.The method for creating trick play data according to the present invention has an effect of sufficiently reproducing a motion component of an image by including more AC coefficients having a larger value when creating trick play data.

Description

트릭플레이용 데이타 작성방법 및 장치Method and device for creating data for trick play

제1도는 종래의 압축보호화장치를 보이는 블록도이다.1 is a block diagram showing a conventional compression protection device.

제2도는 제1도에 있어서 DCT변환부에서의 변환결과를 보이는 도면이다.FIG. 2 is a diagram showing the conversion result of the DCT converter in FIG.

제3도는 본 발명에 따른 트릭플레이용 데이타 작성방법을 보이는 도면이다.3 is a diagram showing a method for creating trick play data according to the present invention.

제4도는 본 발명에 따른 트릭플레이용 데이타 작성장치의 일 실시예를 보이는 블록도이다.4 is a block diagram showing an embodiment of a trick play data generating apparatus according to the present invention.

본 발명은 디지탈 비디오테이프레코더의 트릭플레이용 데이타 작성방법에 관한 것으로서 더욱 상세하게는 움직임성분이 많은 화상을 적절히 재생할 수 있게 하는 트릭플레이용 데이타를 작성하는 개선된 방법 및 장치에 관한 것이다.TECHNICAL FIELD The present invention relates to a method for creating trick play data of a digital video tape recorder, and more particularly, to an improved method and apparatus for generating trick play data for enabling a proper reproduction of a large number of motion components.

트릭플레이(trick play)는 비디오테이프레코더(video tape recodetr)를 정상재생모드(PLAY)에서의 속도보다 빠른 속도로 전진 혹은 후진시켜 탐색하는 동작을 일컫는다.Trick play refers to an operation in which the video tape recorder is moved forward or backward at a faster speed than the normal play mode PLAY.

아날로그 비디오테이프레코더에서는 신호가 주사순서에 따라 일정한 패턴으로 기록되어져 있고, 프레임 영상신호들 간에는 어느 정도의 상관성이 있으므로 기록된 신호의 일부를 규칙적으로 샘플링하고, 이들을 적절히 조합시켜 원화상을 재현시킬 수 있지만 디지탈비디오테이프레코더에 있어서는 데이타블록이 아날로그비디오테이프레코더에서와 같이 규칙적으로 기록되어져 있지 않으므로 이와 같은 방식으로는 원화상의 재생이 불가능하다.In the analog video tape recorder, the signals are recorded in a certain pattern according to the scanning order, and there is some correlation between the frame video signals, so that a part of the recorded signals can be regularly sampled, and appropriately combined to reproduce the original image. However, in the digital video tape recorder, since the data blocks are not regularly recorded as in the analog video tape recorder, the original picture cannot be reproduced in this manner.

따라서, 디지탈 비디오테이프레코더에서는 기록시 트릭플레이용의 데이타블록을 따로 만들어서 정상재생용의 데이타블록에 적절히 섞어기록시키는 기술이 구사된다.Therefore, in the digital video tape recorder, a technique of making separate data blocks for trick play during recording and mixing them appropriately into the data blocks for normal reproduction is used.

트릭플레이용의 데이타블록은 정상재생용의 데이타블록에 비해 상대적으로 적은 정보량을 갖도록 하여 빠른 속도의 재생에 대응할 수 있도록 한다.The data block for trick play has a relatively small amount of information compared to the data block for normal play, and can cope with high speed playback.

이는 트릭플레이시에는 정상재생시보다 화질이 저하되더라도 상관없다는 논리에 근거한다.This is based on the logic that during trick play, the image quality may be lowered than during normal play.

본 출원인에 의해 출원된 특허출원 94-3495(1994.2.25.)에는 정상재생용의 데이타블록과 트릭플레이용의 데이타블록을 교대로 기록시켜두는 기술이 개시되어져 있다.Patent application 94-3495 (1994.2.25) filed by the present applicant discloses a technique for alternately recording data blocks for normal reproduction and data blocks for trick play.

DCT(Discrete Cosine Transform)기반의 영상압축부호화방식에서는 통상 8×8 화소 크기의 블록을 DCT변환시킨 결과로서 발생되는 주파수영역의 변환계수 중에서 DC 계수와 몇개의 저주파수성분의 AC계수를 포함하는 트릭플레이용의 데이타블록을 생성한다.In DCT (Discrete Cosine Transform) based image compression coding, a trick play that includes DC coefficients and AC coefficients of several low frequency components among transform coefficients in the frequency domain generated as a result of DCT transformation of a block having a size of 8x8 pixels. Create a datablock for the dragon.

DCT변환의 결과 신호의 에너지의 배부분은 DC를 포함한 저주파수영역에 집중되므로 DC계수를 포함한 몇개의 AC계수만으로도 트릭플레이에 적합한 화질의 영상신호를 재생할 수 있다.As a result of the DCT conversion, a portion of the energy of the signal is concentrated in the low frequency region including the DC, so that only a few AC coefficients including the DC coefficient can reproduce the video signal having the image quality suitable for trick play.

그러나, 움직임이 큰 화상신호의 경우에는 원래의 화상을 충분히 재생할 수 없다. 그이유는 움직임이 큰 화상신호는 고주파성분을 많이 포함하는 데 트릭플에이용 데이타블록에 포함되는 DCT변환계수는 이러한 고주파수계수를 배제하고 있기 때문이다.However, in the case of an image signal with a large movement, the original image cannot be reproduced sufficiently. This is because a large-motion image signal contains a lot of high frequency components, and the DCT conversion coefficient included in the trickle-use data block excludes this high frequency coefficient.

따라서, 본 발명은 상기의 문제점을 해결하기 위하여 창출된 것으로서 움직임이 큰 화상신호도 충분히 재생하기에 적합한 트릭플레이용 데이타 작성방법을 제공함을 그 목적으로 한다.Accordingly, an object of the present invention is to provide a method for creating a trick play data suitable for sufficiently reproducing a large motion image signal, which has been created to solve the above problems.

본 발명의 다른 목적은 움직임이 큰 화상신호도 충분히 재생하기에 적합한 트릭플레이용 데이타 작성장치를 제공하는 것에 있다.Another object of the present invention is to provide a trick play data generating apparatus suitable for sufficiently reproducing a large moving image signal.

상기의 목적을 달성하는 본 발명에 따른 트릭플레이용 데이타의 작성방법은 DCT변환계수 중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 양자화하는 과정; 양자화된 AC계수를 주파수순서에 따라 목표비트량에 맞추어 런렝스코딩 하는 과정; 런렌스코딩의 결과를 평가하여 큰 값을 갖는 AC계수가 많이 포함되도록 양자화스텝을 적응적으로 조정하여 양자화과정 및 런렝스코딩 과정을 반복시키는 평가과정; 및 DC계수와 런렝스코딩과정에서 양자화던 AC계수 및 적용된 양자화스텝으로서 트릭플레이용 데이타를 작성하는 과정을 포함함을 특징으로 한다.According to the present invention, there is provided a method of generating trick play data, the method comprising: quantizing an AC coefficient excluding a DC coefficient among DCT conversion coefficients by a given quantization step; Runlength coding the quantized AC coefficient according to the frequency order according to the target bit quantity; Evaluating the results of the runlencoding and adaptively adjusting the quantization step to include a large number of AC coefficients to repeat the quantization process and the runlength coding process; And generating data for trick play as the quantized AC coefficient and the applied quantization step in the DC coefficient and the run length coding process.

상기의 다른 목적을 달성하는 본 발명에 따른 트릭플레이용 데이타 작성장치는 DCT변환계수중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 양자화 하는 양자화기; 양자화기에서 양자화된 변환계수를 주어진 목표비트량에 의해 런렝스코딩 하는 런렝스코딩부; 런렝스코딩부(48)에서의 런렝스코딩시 포함되지 않은 AC변환계수를 검사하여1보다 큰 값을 갖는 AC변환계수가 있을 경우 양자화부(46)에서 적용되는 양자화스텝을 증가시켜 양자화 및 런렝스코딩을 재차 수행하게하고, 1보다 큰 값을 갖는 AC변환계수가 없을 경우에는 양자화 및 런렝스코딩을 종료하게 하는 런렝스코딩 평가부; 런렝스코딩 평가부에 의해 코딩의 종료가 인지되면 DC계수,런렝스코딩부에서의 출력 및 양자화부에 적용된 양자화스텝을 출력하는 트릭플레이용 데이타처리부를 포함함을 특징으로 한다.According to another aspect of the present invention, there is provided a trick play data generating apparatus comprising: a quantizer for quantizing an AC coefficient excluding a DC coefficient among DCT conversion coefficients by a given quantization step; A run-length coder configured to run-length code the transform coefficients quantized in the quantizer by a given target bit amount; If there is an AC conversion coefficient having a value greater than 1 by checking the AC conversion coefficient not included in the run length coding in the run length coding unit 48, the quantization step applied by the quantization unit 46 is increased to quantize and run. A run length coding evaluation unit to perform length coding again, and to terminate quantization and run length coding when there is no AC conversion coefficient having a value greater than 1; When the end of the coding is recognized by the run length coding evaluation unit, it comprises a trick play data processing unit for outputting the DC coefficient, the output from the run length coding unit and the quantization step applied to the quantization unit.

이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.

제1도는 종래의 트릭플레이용 데이타 작성장치를 보이는 것으로서, 특허출원 94-3459에 개시된 내용을 보이는 것이다.Fig. 1 shows a conventional trick play data generating apparatus, showing the contents disclosed in patent application 94-3459.

제1도에 도시된 장치는 정상재생용 데이타와 트릭플레이용 데이타를 병렬적으로 생성하고 이를 멀티플렉스(multiplex)시켜 출력하는 구조를 갖는다.The apparatus shown in FIG. 1 has a structure for generating normal reproduction data and trick play data in parallel, multiplexing them, and outputting the same.

블록형성부(11)는 입력되는 프레임 영상데이타를 8×8화소 크기의 DCT변화블록으로 변환시켜 출력한다.The block forming unit 11 converts the input frame image data into a DCT change block having a size of 8x8 pixels and outputs the converted image.

제1DCT변환부(12)는 시간영역의 DCT변환블럭을 주파수영역의 64개의 DCT변환계수로 변환시켜 출력한다.The first DCT converter 12 converts the DCT conversion blocks in the time domain into 64 DCT conversion coefficients in the frequency domain and outputs them.

제1DCT변환부(12)에서의 변화결과 신호의 에너지는 DC계수를 포함한 저주파수영역에 집중되게 된다.The energy of the change result signal in the first DCT converter 12 is concentrated in the low frequency region including the DC coefficient.

양자화부(13)는 제1DCT변화부(12)에서 출력되는 DCT변환계수를 소정의 양자화스텝에 의해 양자화한다.The quantization unit 13 quantizes the DCT transform coefficient output from the first DCT change unit 12 by a predetermined quantization step.

가변장부호화부(14)는 양자화부(13)에서 출력되는 데이타를 압축시켜 멀티플레서(18)로 출력한다.The variable length encoder 14 compresses the data output from the quantization unit 13 and outputs the compressed data to the multiplexer 18.

블록재형성부(15)는 블록형성부(11)에서 형성된 DCT변환블럭에 포함된 화소를 소정의 규칙에 따라 서브샘플링(sub-sampling)하여 트릭플레이용 DCT변환블럭은 인접된 블록들 사이에서 샘플링된것일 수도 있고, 어느 정도로 떨어진 블록들 사이에서 추출된 것일 수도 있다.The block reforming unit 15 sub-samples the pixels included in the DCT conversion block formed by the block forming unit 11 according to a predetermined rule, so that the trick play DCT conversion block is sampled between adjacent blocks. It may be taken, or it may be extracted between blocks separated to some extent.

제2DCT변화부(16)은 제1DCT변환부(12)와 같은 동작을 하며, 시간영역의 트릭플레이용 DCT변화블럭을 주파수영역의 64개의 DCT변환계수로 변환시켜 출력한다.The second DCT converter 16 operates in the same manner as the first DCT converter 12, and converts the DCT change blocks for trick play in the time domain into 64 DCT conversion coefficients in the frequency domain and outputs the converted DCT conversion coefficients.

트릭블레이용 데이타처리부(17)는 DCT변환결과로서 생성된 변환계수에서 DC를 포함한 몇개의 AC계수만을 갖는 트릭플레이용 데이타를 형성하여 멀티플렉서(18)로 출력한다.The trick-blade data processor 17 forms the trick play data having only a few AC coefficients including DC from the conversion coefficient generated as the DCT conversion result and outputs the trick play data to the multiplexer 18.

멀티플렉서(18)는 소정의 순서에 따라 가변장부호화부(14)에서 제공되는 정상재생용 데이타 혹은 트릭플레이용 데이타처리부(17)에서 제공되는 트릭플레이용 데이타를 멀티플렉스시켜 출력한다.The multiplexer 18 multiplexes the normal play data provided by the variable length encoding unit 14 or the trick play data provided by the trick play data processing unit 17 in a predetermined order.

멀티플렉서(18)로부터 출력되는 데이타는 에러정정부호화부(19)를 통하여 에러정정부호가 부가된 후 기록부(도시되지 않음)를 통하여 테이프에 기록되게 된다.The data output from the multiplexer 18 is recorded on the tape through a recording unit (not shown) after the error correction code is added through the error correction code unit 19.

제2도는 DCT변환결과로서 발생하는 변환계수를 보이는 도면이다.2 is a diagram showing a conversion coefficient generated as a DCT conversion result.

8×8화소 크기의 DCT변환블럭을 DCT변환한 결과로서 생성되는 변환계수는 하나의 DC계수와 63개의 AC계수를 포함한다.The conversion coefficient generated as a result of the DCT conversion of the 8 × 8 pixel DCT conversion block includes one DC coefficient and 63 AC coefficients.

제2도에 있어서 좌상측에는 있은 것은 DC계수이고, 우하측에는 63번째의 AC계수이다. 또한, 좌상측으로 갈수록 주파수성분이 낮아지도록 배치되어져 있다.In FIG. 2, the upper left side is the DC coefficient, and the lower right side is the 63rd AC coefficient. Moreover, it arrange | positions so that a frequency component may become low toward the upper left side.

DCT변환의 결과 신호의 에너지의 대부분은 DC를 포함한 몇개의 저주파수에 집중되므로 이들만으로도 원화상을 어느 정도 재생할 수 있다.As a result of the DCT conversion, most of the signal's energy is concentrated at a few low frequencies, including DC, so that they can reproduce the original picture to some extent.

이를 이용하기 위하여 트릭플레이용의 데이타는 DC계수 및 몇 개의 AC계수만을 포함하도록 되어 있다.In order to use this, the data for trick play is to include only a DC coefficient and a few AC coefficients.

구체적인 방법으로서는 DC계수를 포함한 저주파수의 계수부터 공지의 지그재그스캔(zigzag scan)방법에 의해 스캔하고, 이를 목표비트량이 도달할 때까지 런렝스코딩(run-length coding)을 수행한다.As a specific method, scanning is performed by a known zigzag scan method from a low frequency coefficient including a DC coefficient, and run-length coding is performed until the target bit amount is reached.

런렝스코딩의 결과 트릭플레이용의 데이타에 포함되는 계수의 수는 불특정하게 된다.As a result of run length coding, the number of coefficients included in the data for trick play is unspecified.

런렝스코딩은 DC계수부터 주파수순서로 수행되므로 복원된 계수의 순서(index)도 DC계수부터 차례로 정렬되게 된다.Since run-length coding is performed in the order of the DC coefficients and the frequency, the index of the restored coefficients is also arranged in order from the DC coefficients.

그러나, 화상신호의 움직임성분이 큰 경우에는 신호의 에너지가 고주파수쪽으로 많이 분포되게 되며 이 경우 저주파수성분만으로는 원화상을 충분히 재현하기가 어렵기 때문에 고주파수성분을 보다 많이 포함시켜 줄 필요가 있다.However, when the motion component of the image signal is large, the energy of the signal is distributed to the high frequency side. In this case, since it is difficult to sufficiently reproduce the original image only by the low frequency component, it is necessary to include more high frequency components.

제3도는 본 발명에 따른 트릭플레이용 데이타형성방법을 보이는 흐름도이다.3 is a flowchart showing a method of forming a data for trick play according to the present invention.

본 발명에 있어서는 트릭플레이용의 데이타를 작성함에 있어서 기존의 방법에서처럼 변환계수의 순서 즉, 저주파수로부터 고주파수로의 순서에 따라 AC계수를 선정하되 변환계수의 양자화스텝을 가변시켜 런렝스코딩의 결과에 포함되는 상대적으로 큰 값의 AC계수의 수가 증대되도록 하는 것을 특징으로 한다.In the present invention, when generating data for trick play, the AC coefficient is selected according to the order of the conversion coefficient, that is, the order from the low frequency to the high frequency, as in the conventional method, but the quantization step of the conversion coefficient is varied so that It is characterized by increasing the number of relatively large AC coefficients included.

먼저, DCT변환의 결과로서 발생되는 변환계수에서 DC계수를 제외한 AC계수를 주어진 초기양자화스텝에 의해 양자화한다(300단계).First, the AC coefficient excluding the DC coefficient from the transform coefficient generated as a result of the DCT conversion is quantized by the given initial quantization step (step 300).

300단계에서 양자화된 결과를 목표비트량에 맞추어 런렝스코딩한다(310단계).In operation 300, the quantized result is runlength-coded according to the target bit amount.

런렝스코딩시에 포함되지 않은 계수의 크기를 검사하여 양자화시 적용된 양자화스텝보다 큰 값을 갖는 계수가 있는 가를 검사한다(32단계).By checking the magnitude of the coefficient not included in the run coding, it is checked whether there is a coefficient having a value larger than the quantization step applied in the quantization (step 32).

적용된 양자화스텝보다 큰 값을 갖는 계수가 있으면 330단계에서 양자화스텝을 증가시키고 300단계로 복귀한다.If there is a coefficient having a value larger than the applied quantization step, the quantization step is increased in step 330 and the flow returns to step 300.

양자화의 결과 AC계수들 중에서 양자화스텝보다 작은 값들은 0이 되고, 양자화스텝보다 큰 값들만이 0이 아닌 값을 갖게 된다.As a result of the quantization, values smaller than the quantization step are zero among AC coefficients, and only values larger than the quantization step have a nonzero value.

양자화스텝의 크기가 증가될수록 큰 값을 갖는 고주파수의 AC계수가 포함될 확률이 높아진다.As the size of the quantization step increases, the probability of including a high frequency AC coefficient with a large value increases.

움직임성분이 많은 화상일수록 고주파수성분의 AC계수의 크기가 증대되므로 양자화스텝을 적응적으로 변경시킴에 의해 큰 값을 갖는 고주파수성분의 AC계수를 포함시킬 수 있다. 이러한 조작의 결과 재생화상에서의 움직임성분을 충분히 재생할 수 있게 된다.Since the larger the number of motion components, the higher the AC coefficient of the high frequency component is, the AC coefficient of the high frequency component having a larger value can be included by adaptively changing the quantization step. As a result of this operation, it is possible to sufficiently reproduce the motion component in the reproduced image.

움직임성분의 큰 화상의 트릭플레이용 데이타를 작성함에 있어서 양자화스텝의 증가에 의해 변환계수의 해상도(변환계수를 표현하기 위한 분해능)가 저하되지만 이는 움직임성분을 표현하는 정도와 트레이드오프(trade off)관계에 있으므로 피할 수는 없다.In creating the trick-play data of a large motion component image, the resolution of the transform coefficient (resolution for expressing the transform coefficient) decreases due to the increase in the quantization step. It is in a relationship and cannot be avoided.

불필요한 고주파수영역에 존재하는 큰 값의 AC계수에 의해 변환계수의 해상도가 지나치게 저하되는 것을 방지하기 위하여 310단계에서 검사대상이 되는 주파수성분의 범위를 제한할 수 있다. 예를 들면, 10번째 AC계수까지만으로 검사대상을 제한함으로써 불필요한 고주파수영역이 포함되는 것을 제한하게 된다.In order to prevent the resolution of the conversion coefficient from being excessively degraded by the large AC coefficient present in the unnecessary high frequency region, the range of the frequency component to be inspected may be limited in step 310. For example, by limiting the inspection object to only the tenth AC coefficient, the unnecessary high frequency region is limited.

적용된 양자화스텝보다 큰 값을 갖는 계수가 없으면 DC계수, 310단계에서 런렝스코딩시 포함된 AC계수 및 적용된 양자화스텝을 런렝스코딩하여 트릭플레이용 데이타로서 출력한다(340단계).If there is no coefficient having a larger value than the applied quantization step, the DC coefficient, the AC coefficient included in the run length coding in step 310, and the applied quantization step are run length coded and output as the trick play data (step 340).

제4도는 본 발명에 따른 트릭플레이용 데이타 작성방법에 적합한 장치를 보이는 블록도로서 MPEG(Moving Picture Expert Group)규격에 의해 압축부호화된 데이타열로부터 트릭플레이용의 데이타를 형성하는 장치의 예를 보이는 것이다.4 is a block diagram showing a device suitable for a trick play data creation method according to the present invention, showing an example of a device for forming trick play data from a data string compressed and encoded by MPEG (Moving Picture Expert Group) standard. will be.

주지하는 바화 같이 MPEG규격에 의해 압축부호화된 결과로서 I화상(Intra picture). P화상(Previous picture) 및 B화상(Bidirectional picture)이 발생된다.I picture (Intra picture) as a result of compression encoding according to MPEG standard as well known. P picture (Previous picture) and B picture (Bidirectional picture) are generated.

이중에서 I화상은 트릭플레이등에서의 기준화상이 되는 것으로서 다른 화상에 상관없이 독자적으로 복원될 수 있는 화상이다.Among them, the I picture is a reference picture in trick play or the like and can be independently restored without regard to other pictures.

트릭플레이용 데이타는 I화상의 데이타중에서 추출된다.The trick play data is extracted from the data of the I picture.

제4도에 도시된 장치에 있어서, 참조부호 40은 압축부호화된 화상데이타로부터 I화상의 데이타열만을 추출하기 위한 버퍼메모리이고, 42는 버퍼메모리(40)로부터 출력되는 I화상의 데이타열로부터 압축부호화되기 이전의 양자호된 변환계수를 복원하기 위한 가변장복호화기이고, 44는 가변장 복호화기(42)호부터 출력되는 양자화된 변환계수를 역양자화하여 원래의 변환계수를 복원하는 역양자화기이다.In the apparatus shown in FIG. 4, reference numeral 40 denotes a buffer memory for extracting only the data string of the I image from the compressed coded image data, and 42 is compressed from the data string of the I image output from the buffer memory 40. A variable length decoder for restoring the quantized transform coefficients before encoding, and 44 is an inverse quantizer for dequantizing the quantized transform coefficients output from the variable length decoder 42 and restoring the original transform coefficients. to be.

46은 역양자화기(44)로부터 출력되는 변환계수중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 재양자화하는 양자화기이고, 48은 양자화기(46)에서 양자화된 변환계수를 주어진 목표비트량에 의해 런렝스코딩하는 런렝스코딩부이고, 50은 런렝스코딩된 결과를 평가하여 양자화스텝을 재조정하는 런렝스코딩 평가부이다. 그리고 52는 런렝스코딩 평가부(50)에 의해 코딩의 종료가 인지되면 DC계수, 런렝스코딩부(48)에서의 출력 및 양자화부(46)에서 적용된 양자화스텝을 런렝스코딩하여 출력하는 트릭플레이용 데이타처리부이다.46 is a quantizer which requantizes the AC coefficient excluding the DC coefficient among the transform coefficients output from the inverse quantizer 44 by a given quantization step, and 48 is a target bit amount of the given quantized transform coefficient by the quantizer 46. The run length coding unit performs run length coding, and 50 is a run length coding evaluation unit that evaluates the run length coded result and readjusts the quantization step. 52 is a trick to run-length code the DC coefficient, the output from the run length coding unit 48 and the quantization step applied by the quantization unit 46 when the end of coding is recognized by the run length coding evaluation unit 50. Play data processing section.

화상의 데이타열과 트릭플레이용 데이타처리부(52)에서 출력되는 트릭플레이용 데이타는 멀티플렉서(54)를 통하여 기록부(도시되지 않음)에 제공되어 테이프에 기록되게 된다.The data sequence of the image and the trick play data output from the trick play data processing unit 52 are provided to a recording unit (not shown) through the multiplexer 54 to be recorded on the tape.

양자화부(46)은 초기동작시에는 주어진 초기양자화스텝에 의해 양자화를 수행하고, 이후에는 런렝스코딩 평가부(50)에 의해 조정된 양자화스텝을 적용하여 양자화를 수행한다.In the initial operation, the quantization unit 46 performs quantization by a given initial quantization step, and then performs quantization by applying the quantization step adjusted by the run length coding evaluation unit 50.

양자화부(46)에서 양자화된 결과는 런렝스코딩부(48)에서 목표비트량에 맞추어 런렝스코딩된다.The quantized result in the quantization unit 46 is run length coded in accordance with the target bit amount in the run length coding unit 48.

런렝스코딩시 포함되는 AC변환계수의 수는 불특정이다.The number of AC conversion factors involved in run length coding is unspecified.

런렝스코딩 평가부(50)는 런렝스코딩부(48)에서의 런렝스코딩시 포함되지 않는 AC변환계수를 검사하여 1보다 큰 값을 갖는 AC변환계수가 있는 가를 검사한다.The run length coding evaluation unit 50 checks whether the AC conversion coefficient having a value greater than 1 by checking the AC conversion coefficient not included in the run length coding in the run length coding unit 48.

1보다 큰 값을 갖는 AC변환계수가 있을 경우 양자화부(46)에서 적용되는 양자화스텝을 증가시킨다. 1보다 큰 값을 갖는 AC변환계수가 없을 경우에는 트릭플레이용 데이타처리부(52)를 제어하여 DC계수, 런렝스코딩부(48)에서 런렝스코딩시 포함된 AC변환계수 및 양자화부(46)에서 적용된 양자화스템을 런렝스코딩하게 된다.If there is an AC conversion coefficient having a value greater than 1, the quantization step applied by the quantization unit 46 is increased. If there is no AC conversion coefficient having a value greater than 1, the DC conversion coefficient and the quantization unit 46 included in the run length coding by the run coefficient coding unit 48 are controlled by controlling the data processing unit 52 for trick play. Run quantization of the quantization system applied in.

상술한 바와 같이 본 발명에 따른 트릭플레이용 데이타 작성방법은 트릭플레이용 데이타작성시 큰 값을 갖는 AC계수를 될수록 많이 포함시키도록 함으로서 화상의 움직임성분을 충분히 재생할 수 있게 하는 효과를 갖는다.As described above, the method for creating a trick play data according to the present invention has an effect of sufficiently reproducing a motion component of an image by including more AC coefficients having a larger value when creating a trick play data.

본 명세서에 있어서, 양자화부에서의 양자화스텝을 적응적으로 조정하도록 하는 예가 개시되고 있지만 양자화스텝을 소정의 값으로 고정시켜 비적응적으로 사용할 수도 있음을 주지하여야 한다. 이때 설정되는 양자화스텝은 화상의 움직임량에 따라 결정될 수 있게 하거나, 표현하고자 하는 움직임성분의 크기에 따라 결정된 것일 수도 있다.In this specification, an example of adaptively adjusting the quantization step in the quantization unit is disclosed, but it should be noted that the quantization step may be fixed to a predetermined value and used non-adaptively. In this case, the quantization step may be determined according to the amount of motion of the image or may be determined according to the size of the motion component to be expressed.

Claims (3)

DCT변환계수중에서 DC계수 및 몇개의 AC계수로서 트릭플레이용 데이타를 작성하는 방법에 있어서, 상기 DCT변화계수중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 양자화하는 과정; 상기 양자화된 AC계수를 주파수순서에 따라 목표비트량에 맞추어 런렝스코딩하는 과정; 사익 런렝스코딩의 결과를 평가하여 큰 값을 갖는 AC계수가 많이 포함되도록 양자화스텝을 적응적으로 조정하여 상기 양자화과정 및 런렝스코딩과정을 반복시키는 평가과정; 및 DC계수와 런렝스코딩과정에서 양자화된 AC계수 및 적용된 양자호스텝으로서 트릭플레이용 데이타를 작성하는 과정을 포함하는 트릭플레이용 데이타 작성방법.CLAIMS 1. A method for generating trick play data as a DC coefficient and some AC coefficients in a DCT conversion coefficient, the method comprising: quantizing an AC coefficient excluding a DC coefficient among the DCT change coefficients by a given quantization step; Runlength coding the quantized AC coefficient according to a frequency order according to a target bit amount; Evaluating the results of the sound run length coding and adaptively adjusting the quantization step to include a large number of AC coefficients to repeat the quantization process and run length coding process; And generating data for trick play as a quantized AC coefficient and an applied quantum hose step in a DC coefficient and run length coding process. 제1항에 있어서, 상기 평가과정은 상기 런렝스코딩에 포함되지않은 AC계수를 검사하여 적용된 양자화스텝보다 큰 값을 갖는 AC계수가 남아있지 않을 때까지 양자화스텝을 조정하며 상기 양자화과정 및 런렝스코딩과정을 반복시키는 것을 특징으로 하는 트릭플레이용 데이타 작성방법.The method of claim 1, wherein the evaluation process examines an AC coefficient not included in the run length coding and adjusts the quantization step until there is no AC coefficient having a value larger than the applied quantization step. A method of creating data for trick play, characterized by repeating the coding process. DCT변환계수중에서 DC계수 및 몇개의 AC계수로서 트릭플레이용 데이타를 작성하는 장치에 있어서, DCT변환계수중에서 DC계수를 제외한 AC계수를 주어진 양자화스텝에 의해 양자화하는 양자화기; 상기 양자화기에서 양자화된 변환계수를 주어진 목표비트량에 의해 런렝스코딩하는 런렝스코딩부; 상기 런렝스코딩부에서의 런렝스코딩시 포함되지 않은 AC변환계수를 검사하여 1보다 큰 값을 갖는 AC변환계수가 있을 경우 상기 양자화부에서 적용되는 양자화스텝을 증가시켜 양자화 및 런렝스코딩을 재차 수행하게하고, 1보다 큰 값을 갖는 AC변환계수가 없을 경우에는 양자화 및 런렝스코딩을 종료하게 하는 런렝스코딩 평가부; 상기 런렝스코딩 평가부에 의해 코딩의 종료가 인지되면 DC계수, 런렝스코딩부에서의 출력 및 양자화부에 적용된 양자화스텝을 출력하는 트릭플레이용 데이타처리부를 포함하는 트릭플레이용 데이타 작성장치.An apparatus for generating trick play data as a DC coefficient and some AC coefficients in a DCT conversion coefficient, comprising: a quantizer for quantizing an AC coefficient excluding a DC coefficient in a DCT conversion coefficient by a given quantization step; A run-length coder configured to run-length code the transform coefficients quantized by the quantizer by a given target bit amount; If there is an AC conversion coefficient having a value greater than 1 by checking the AC conversion coefficient not included in the run length coding in the run length coding unit, the quantization step applied in the quantization unit is increased to repeat the quantization and run length coding. A run length coding evaluation unit configured to perform quantization and run length coding when there is no AC conversion coefficient having a value greater than 1; And a trick play data processing unit for outputting a DC coefficient, an output from the run length coding unit, and a quantization step applied to the quantization unit when the end of coding is recognized by the run length coding evaluation unit.
KR1019940016328A 1994-07-07 1994-07-07 Data writing method and apparatus for trick play KR0141192B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940016328A KR0141192B1 (en) 1994-07-07 1994-07-07 Data writing method and apparatus for trick play

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940016328A KR0141192B1 (en) 1994-07-07 1994-07-07 Data writing method and apparatus for trick play

Publications (2)

Publication Number Publication Date
KR960005557A KR960005557A (en) 1996-02-23
KR0141192B1 true KR0141192B1 (en) 1998-07-15

Family

ID=19387512

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940016328A KR0141192B1 (en) 1994-07-07 1994-07-07 Data writing method and apparatus for trick play

Country Status (1)

Country Link
KR (1) KR0141192B1 (en)

Also Published As

Publication number Publication date
KR960005557A (en) 1996-02-23

Similar Documents

Publication Publication Date Title
US6160844A (en) Processing digitally encoded signals
JP2881886B2 (en) Video signal encoding method and apparatus therefor
US7010034B2 (en) Video compression
EP0627852B1 (en) Digital video signal recording/reproducing apparatus
EP0627858A2 (en) Apparatus for further compressing and recording encoded digital video data streams
AU686848B2 (en) Method and apparatus for recording digital video signals
JPH0583696A (en) Picture encoding device
KR100383684B1 (en) Perceptual compression and robust bitrate control system
JPH0879704A (en) Method and apparatus for coding fixed bit rate and tracking method for high speed search using them
JP2921358B2 (en) Image coding device
US5291283A (en) Decoding apparatus of a compressed digital video signal
US6574368B1 (en) Image processing method, image processing apparatus and data storage media
KR20000035571A (en) Apparatus and method for modifying compressed video without recomputing motion vectors
KR0141192B1 (en) Data writing method and apparatus for trick play
JPH0549021A (en) High efficient coder
KR0160621B1 (en) Method and device for image compression and decompression
KR100338725B1 (en) Pictures coding method approximating coding bits to target coding bits and apparatus therefor
KR0170735B1 (en) Jpeg
KR100234239B1 (en) Method and apparatus of quantizing for decreasing blocking effect
JPH06315143A (en) Image processor
JPH10174101A (en) Image compression coding and decoding device and image compression coding and decoding method
JP3136523B2 (en) Image conversion device
JPH06292020A (en) Method and device for decoding picture code
JPS62193382A (en) System and device for encoding and decoding picture signal
JPH06113258A (en) Frame processing unit in digital video signal recorder

Legal Events

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

Payment date: 20050228

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee