KR920008268Y1 - Clipping circuit in discrete cosine transform - Google Patents

Clipping circuit in discrete cosine transform Download PDF

Info

Publication number
KR920008268Y1
KR920008268Y1 KR2019890019909U KR890019909U KR920008268Y1 KR 920008268 Y1 KR920008268 Y1 KR 920008268Y1 KR 2019890019909 U KR2019890019909 U KR 2019890019909U KR 890019909 U KR890019909 U KR 890019909U KR 920008268 Y1 KR920008268 Y1 KR 920008268Y1
Authority
KR
South Korea
Prior art keywords
data
output
frame memory
block
adder
Prior art date
Application number
KR2019890019909U
Other languages
Korean (ko)
Other versions
KR910013393U (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 KR2019890019909U priority Critical patent/KR920008268Y1/en
Publication of KR910013393U publication Critical patent/KR910013393U/en
Application granted granted Critical
Publication of KR920008268Y1 publication Critical patent/KR920008268Y1/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/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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

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

Abstract

내용 없음.No content.

Description

영상신호의 압축 부호화 장치에서의 클리핑회로Clipping Circuit in Compression Coding Device of Image Signal

제1도는 종래의 영상신호 압축 부호화장치의 회로도.1 is a circuit diagram of a conventional video signal compression encoding apparatus.

제2도는 본 고안의 영상신호 압축 부호화장치의 회로도.2 is a circuit diagram of a video signal compression encoding apparatus of the present invention.

제3도는 본 고안에 따른 클리핑회로이다.3 is a clipping circuit according to the present invention.

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

22 : 입력처리기 24 : 블럭구성기22: input processor 24: block constructor

28 : 감산기 30 : 변환 부호화기28 subtractor 30 transform encoder

32 : 양자화기 36 : 역양자화기32: quantizer 36: inverse quantizer

38 : 역변환 부호화기 40 : 가산기38: inverse transform encoder 40: adder

42 : 프레임 메모리 44 : 클리핑회로42: frame memory 44: clipping circuit

46 : 버퍼 48 : 메모리46: buffer 48: memory

본 고안은 영상신호의 압축 부호화 장치에 관한 것으로, 특히 영상신호 압축 부호화 장치에서 압축된 영상신호를 재생시 영상잠음에 의한 에러를 제한하는 클리핑회로(Dlipping Circuit)에 관한 것이다.The present invention relates to a compression encoding apparatus for a video signal, and more particularly, to a clipping circuit for limiting an error due to video locking when playing a compressed video signal in a video signal compression encoding apparatus.

통상의 영상신호를 전화망을 통해 상데방에게 전송하려면, 영상신호를 디지탈 변환하고 이를 적은량의 디지탈 데이터로 압축 전송하여야 한다.In order to transmit a normal video signal to the upper chamber through a telephone network, it is necessary to digitally convert the video signal and compress it to a small amount of digital data.

상기와 같이 영상신호를 디지탈 변환하여 압축 전송하는 장치를 압축부호화 장치라하며, 종래의 영상신호 압축 부호화 장치를 살피면 제1도와 같다.A device for digitally converting and compressing a video signal as described above is called a compression encoder, and a conventional video signal compression encoder is shown in FIG. 1.

제1도는 종래의 영상신호의 압축 부호화 장치의 회로도로서, 궁지의 압축 부호화 장치의 회로도이다.1 is a circuit diagram of a conventional compression coding apparatus for a video signal, and is a circuit diagram of a final compression coding apparatus.

상기 제1도와 같이 구성된 종래의 압축 부호화 장치의 입력라인(20)에 아나로그 영상신호가 입력되면, 입력처리기(22)에 의하여 상기 아나로그 영상신호는 디지탈로 변환되며, 디지탈로 변환된 신호는 여파되어 블럭구성기(24)에 입력된다.When the analog image signal is input to the input line 20 of the conventional compression encoding apparatus configured as shown in FIG. 1, the analog image signal is converted into digital by the input processor 22, and the signal converted into digital is The filter is input to the block constructer 24.

상기 블럭구성기(24)에 입력되어진 디지탈 영상신호는 주사순서에 따라 입력 영상신호를 블럭단위로 구성한다. 이때 프레임 메모리(42)로부터는 전 프레임에서 공간적으로 동일한 위치에 있는 동일 크기의 한 블럭의 영상신호치를 내부 메모리에서 읽어내어 감산기(28)에 입력시킨다. 상기 감산기(28)는 상기 블럭구성기(24)에서 출력되는 블럭단위의 영상신호와 프레임 메모리(42)의 출력데이터를 감산하여 공간적으로 동일한 위치에서의 차이를 산출하는데 이 차이를 예측 오차치라 한다.The digital video signal input to the block configurator 24 configures the input video signal in units of blocks in the scanning order. At this time, from the frame memory 42, the video signal value of one block of the same size at the same position spatially in the previous frame is read from the internal memory and inputted to the subtractor 28. The subtractor 28 subtracts the video signal of the block unit output from the block configurator 24 and the output data of the frame memory 42 to calculate a difference at a spatially identical position. This difference is called a prediction error value. .

이러한 예측 오차치들을 변환 부호화기(30)에서 변환 부호화한 다음 양자화기(32)에서 양자화하여 라인(34)으로 전송하게 된다.The prediction error values are transform-coded by the transform encoder 30 and then quantized by the quantizer 32 and transmitted to the line 34.

한편 다음 프레임의 부호화를 위하여 역양자화기(36)와 역변환 부호화기(38)에서 변환 부호화기(30) 및 양자화기(32)의 역과정을 거쳐 가산기(40)에서 예측치와 예측 오차치를 가산하여 프레임 메모리(42)에 저장한다.On the other hand, in order to encode the next frame, the inverse quantizer 36 and the inverse transform encoder 38 perform the inverse process of the transform encoder 30 and the quantizer 32, and the adder 40 adds the prediction value and the prediction error value to the frame memory. Save at 42.

따라서 출력라인(34)으로는 현재의 영상블럭에서 이전에 전송된 영상블럭 데이터가 감산되어진 데이터만이 전송되며, 프레임 메모리(42)에는 이전에 전송된 영상블럭 데이터에 현재 라인(34)로 전송되는 데이터가 가산되어 새로이 기록된다.Therefore, only the data from which the image block data previously transmitted is subtracted from the current image block is transmitted to the output line 34, and the frame memory 42 is transmitted to the current line 34 from the previously transmitted image block data. The added data is added and newly recorded.

수신측은 송신측의 역과정을 밞으면 된다.The receiving side needs to know the reverse process of the transmitting side.

상기 감산기(28)에서 출력된 예측 오차치들은 변환 부호화기(30)에서 프레임내 2차원 변환(Intraframe 2D Transform)된다. 이때의 변환으로는 이미 실용화된 DCT(Discretc Cosine Transform : 불연속 코사인 변환), DFT(Discrete Fourier Transfor : 불연속 퓨리에 급수변환)등의 방식을 사용할 수 있다.The prediction error values output from the subtractor 28 are intraframe 2D transformed by the transform encoder 30. In this case, DCT (Discrete Cosine Transform) and DFT (Discrete Fourier Transfor) can be used.

입력 처리기(22)가 상기와 같은 제1도의 압축 부호화 장치에서 아나로그 영상을 8비트의 디지탈로 변환하여 8비트의 영상 데이타를 입력시켜 주게 될 경우 가산기(40)에 의하여 재생되어 프레임 메모리(42)에 저장되는 영상데이타는 8비트이어야 한다.When the input processor 22 converts the analog image into 8-bit digital data and inputs 8-bit image data in the compression encoding apparatus of FIG. 1, the input processor 22 is reproduced by the adder 40 and the frame memory 42 The video data stored in) should be 8 bits.

이때 입력 영상신호를 8비트의 디지탈 데이터로서 제한하는 이유는 CCIR 권고안 6에 권고된 영상신호 디지탈 부호화의 표준으로써 휘도신호의 레벨을 0∼255(휘도신호의 샘플링을 8비트로 할당 : 28=255)의 범위로 제한하여 영상신호를 처리하는 시스템과의 호환성을 유지토록 하였기 때문이다.The reason for limiting the input video signal as a digital data of 8 bits by 8 bits allocated to sampling of the CCIR Recommendation 60-255 the level of the luminance signal as a standard of the video signal digital coding recommendations to the (luminance signal: 2 8 = 255 This is because it is limited to the range of) to maintain compatibility with the system for processing video signals.

따라서 제1도의 프레임 메모리(42)에 저장되는 데이터는 입력처리기(22)와 블럭구성기(24)를 거쳐 만들어지는 한프레임의 영상데이터는 감산기(28), 변환 부호화기(30), 양자화기(30), 역양자화기(32), 역부호화 변환기(38), 가산기(40)를 거쳐 복원되는 데이터인데, 최종적으로 프레임 메모리(42)에 저장되는 데이터는 8비트에 해당하는 0∼255레벨의 데이터 값이어야 함을 알 수 있다.Accordingly, the data stored in the frame memory 42 of FIG. 1 is subtracted by the subtractor 28, the transform encoder 30, and the quantizer by using the input processor 22 and the block configurator 24. 30), the data is recovered through the inverse quantizer 32, the decode converter 38, and the adder 40. Finally, the data stored in the frame memory 42 is 0 to 255 levels corresponding to 8 bits. It can be seen that it must be a data value.

그러나 상기와 같은 종래의 압축 보호화 장치는 변환부호화기(30), 양자화기(32)〈 역양자화기(36), 역변환부호화기(38)의 과정을 거치는 동안 변환처리(tgansform operation) 및 양자화처리(Quautization)시에 발생하는 에러의 영향으로 인하여 신호가 가져야 하는 범위를 벗어나는 경우가 발생하게 되면, 이로인해 신호범위의 경계값으로 재생영상의 데이타값을 제한하도록 하는 것이 요구된다.However, the conventional compression protection apparatus as described above has a tgansform operation and a quantization process during the processes of the transform encoder 30, the quantizer 32, the inverse quantizer 36, and the inverse transform encoder 38. If a signal is out of the range that the signal should have due to the effect of an error occurring during quautization, it is therefore required to limit the data value of the reproduced image to the boundary value of the signal range.

따라서 본 고안의 목적은 영상신호 압축 부호화 장치에서 압축되었던 영상신호를 재생할 경우 재생된 영상의 밝기가 잡음으로 인하여 정해진 영역을 벗어나는 것을 방지하는 클리핑회로(Clipping Circuit)를 재공함에 있다.Accordingly, an object of the present invention is to provide a clipping circuit that prevents the brightness of the reproduced image from departing from a predetermined region due to noise when reproducing the image signal compressed by the image signal compression encoding apparatus.

상기 목적을 달성하기 위한 본 고안은 상기 가산기(40)와 프레임 메모리(42) 사이에 접속되며 상기 가산기(40)로부터 출력되는 재생데이터(RD)가 음수의 값을 가질때 인에이블 되어 상기 재생데이터(RD)의 경계 데이터를 상기 프레임 메모리(42)에 버퍼링 입력시키는 버퍼(46)와, 상기 재생 데이터(RD)가 양수값을 가질때 인에이블되어 상기 재생 데이터(RD)가 지정하는 번지의 클리핑 데이터를 상기 메모리(42)에 입력시키는 메모리(48)로 구성됨을 특징으로 한다.The present invention for achieving the above object is connected between the adder 40 and the frame memory 42 and is enabled when the reproduction data RD output from the adder 40 has a negative value, thereby enabling the reproduction data ( A buffer 46 for buffering and inputting boundary data of RD into the frame memory 42, and when the reproduction data RD has a positive value, is enabled so that clipping data of the address designated by the reproduction data RD is acquired. It is characterized by consisting of a memory 48 to be input to the memory 42.

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

제2도는 본 고안에 따른 영상신호의 압축 부호화 장치의 블럭도로서, 전술한 제1도의 구성중 프레임 메모리(42)와 가산기(40)의 사이에 변환처리 에러 및 양자화 에러를 제거하는 클리핑회로(44)가 접속 구성되며 그 이외의 구성 및 참조번호는 제1도와 동일하다.2 is a block diagram of an apparatus for compressing and encoding a video signal according to the present invention, and includes a clipping circuit for removing a conversion process error and a quantization error between the frame memory 42 and the adder 40 in the above-described configuration of FIG. 44) is connected and other configurations and reference numerals are the same as in FIG.

제3도는 본 고안의 클리밍 회로도로서, 소정 비트의 재생 데이터(RD)의 최상위 비트(MSB)의 반전신호에의해 인에이블되어 클리핑 경계값(Clipping boundary Data)를 버퍼링 출력하는 버퍼(46)와, 상기 재생 데이터(RD)의 최상위 비트(MSB)를 입력하여 인에이블되며 소망하는 클링핑 범위인 데이터를 입력 어드레스에 대응시키어 저장하고 있으며, 상기 소정 비트의 재생데이터를 어드레스로 하여 클링핑 데이터를 출력하는 메모리(48)와, 상기 재생 데이터(RD)의 최상위 비트(MSB)를 반전하여 상기 버퍼(46)에 인에이블 신호를 제공하는 인버터(50)로 구성된다.3 is a buffering circuit diagram of the present invention, which is enabled by an inverted signal of the most significant bit MSB of the reproduction data RD of a predetermined bit, and is buffered to output a clipping boundary data. The most significant bit MSB of the reproduction data RD is input to store data corresponding to an input address, which is enabled and a desired clipping range, and clinking data is stored using the reproduction data of the predetermined bit as an address. And an inverter 50 for inverting the most significant bit MSB of the reproduction data RD and providing an enable signal to the buffer 46.

이때 상기한 제3도의 구성중 메모리(48)내에는 재생신호 데이터를 어드레스로 하여 상기 어드레스에 소망하는 클리핑 데이터를 마스킹하여야 한다.At this time, in the memory 48 of the configuration of FIG. 3, the clipping data desired for the address should be masked using the reproduction signal data as an address.

상기한 제2도의 동작에를 제3도를 참조하여 설명함에 있어 입력처리기(22)에서 처리하는 것은 8비트의 아나로그/디지탈 변환한 것을 일예로 설명한다.In the above-described operation of FIG. 2 with reference to FIG. 3, the processing by the input processor 22 will be described as an example of 8-bit analog / digital conversion.

지금 아나로그 영상신호가 라인(20)으로 입력되면, 입력처리기(22)는 입력되는 상기의 아나로그 영상신호를 8비트의 디지탈 데이터로 변환하고, 대역 여파하여 출력한다.When the analog video signal is input to the line 20 now, the input processor 22 converts the analog video signal, which is input, into 8-bit digital data, and filters the band.

이때 블럭구성기(24)는 주사 순서에 따라 입력되는 영상신호를 블럭단위로 구성하여 감산기(28)로 출력한다.At this time, the block configurator 24 configures the input image signals in block units and outputs them to the subtractor 28.

상기와 같이 동작중 프레임 메모리(42)로부터는 전술한 바와같이 전 프레임에서 동일 위치에 있는 동일크기의 한 블럭의 영상신호치를 내부 메모리에서 읽어 감산기(8)로 출력한다.As described above, from the frame memory 42 during operation, the video signal values of one block of the same size at the same position in the previous frame are read from the internal memory and outputted to the subtractor 8.

이때 감산기(28)는 상기 블럭구성기(24)의 출력, 즉, 현재 입력영상신호의 블럭에서 이전 프레임의 블럭 영상데이터를 감산하여된 예측 오차치인 예측 오차데이터를 변환 부호화기(30)에 입력시킨다.At this time, the subtractor 28 inputs the prediction error data, which is the prediction error value obtained by subtracting the block image data of the previous frame from the block of the current input image signal, that is, the block encoder 24, to the transform encoder 30. .

따라서 감산기(28)을 거쳐서 변환 부호화기(30)에 입력되는 신호는 9비트로 된다. 상기 감산기(28)로부터 출력된 데이터중 MSB(최상위 비트)는 나머지 8비트의 데이터가 양수 또는 음수인지를 나타내는 사인비트(Sign bit)이다. 상기 감산기(28)에 의하여 9비트로 되어진 예측오차(감산 데이터)가 변환 부호화기(30) 및 양자화기(32)의 동작에 의하여 변환 부호화 과정과 양자화 과정을 거쳐 전송로(34)로 출력된다.Therefore, the signal input to the transform encoder 30 via the subtractor 28 is 9 bits. The MSB (most significant bit) of the data output from the subtractor 28 is a sign bit indicating whether the remaining 8 bits of data are positive or negative. The predictive error (subtracted data), which is 9 bits by the subtractor 28, is output to the transmission path 34 through a transform encoding process and a quantization process by operations of the transform encoder 30 and the quantizer 32.

한편 상기 전송로(34)로 정송되는 데이터는 역양자화기(36)로 입력되어 역양자화된후 역변환부호화기(38)로 입력되어 역부호화 변환되어 가산기(40)로 출력된다. 따라서 가산기(40)에는 상기 역양자화기(36)와 역부호화변환기(38)의 동작에 의한 양자화 에러 및 변환처리에 의한 에러가 포함된 신호가 입력된다.Meanwhile, the data transmitted to the transmission path 34 is input to the inverse quantizer 36, inversely quantized, and then to the inverse transform encoder 38, inversely encoded, and output to the adder 40. Therefore, the adder 40 receives a signal including a quantization error caused by the operations of the inverse quantizer 36 and the decode converter 38 and an error caused by the conversion process.

상기 가산기(40)에 의하여 프레임 메모리(42)로부터 출력되는 예측치, 즉, 공간적으로 동일위칭 있는 동일크기의 블럭데이터와 현재 상기 전송로(34)로 출력되는 데이터가 가산되면 10비트의 재생 데이터(RD)로 된다. 이때 역부호화 변환기(38)에서 출력되는 9비트 데이터와 프레임 메모리(42)에서 출력되는 8비트의 데이터가 가산되어 10비트의 재생 데이터(RD) 즉, -512∼512의 레벨의 데이터로 변환되는 것은 비트 데이터의 가산에 의한 캐리출력(발생) 또는 바로우의 발생 때문이다. [상기 가산기(40)의 출력데이터 10비트중 최상위 비트(MSB)는 나머지 9비트값의 양, 음의 부호를 나타냄]When the prediction value output from the frame memory 42 by the adder 40, that is, block data having the same size spatially and the data currently output to the transmission path 34, is added to the 10-bit reproduction data ( RD). At this time, the 9-bit data output from the decode converter 38 and the 8-bit data output from the frame memory 42 are added and converted into 10-bit reproduction data RD, that is, data of -512 to 512 levels. This is because of the generation of carry output (occurrence) or barrow by addition of bit data. [Most Significant Bit (MSB) of 10-bit Output Data of Adder 40 Represents Positive and Negative Signs of Remaining 9-bit Value]

따라서 에러가 포함된 10비트의 재생데이터(RD)를 본래의 형태인 8비트, 즉, 0∼255레벨의 값으로 만들어 프레임 메모리(42)에 저장하여야 하며, 이와 같은 동작은 제3도에 도시된 클리핑회로(44)의 동작에 의해 이루어 진다.Therefore, the 10-bit reproduction data RD containing the error must be stored in the frame memory 42 by making the original form 8 bits, that is, a value of 0 to 255 levels. Such an operation is illustrated in FIG. By the operation of the clipping circuit 44.

원래의 입력 영상신호는 양의 값만을 가지게 되지면 재생되는 신호는 역양자화기(36) 및 역부호화 변환기(38), 가산기(40)의 동작에 의한 중간과정의 에러 삽입때문에 음의 값을 가질수 있게된다.If the original input video signal has only a positive value, the reproduced signal may have a negative value due to an intermediate insertion of an error by the operations of the inverse quantizer 36, the decode converter 38, and the adder 40. Will be.

상기와 같이 역영자화기(36), 역부호화 변환기(38) 및 가산기(40)의 동작에 의해 상기 가산기(40)로부터 출력되는 10비트의 재생 데이터(RD : Reconstruted Data)가 음의 값(최상의 비트MSB를 제외한 나머지 9비트의 값이 -512∼-1)을 가질 경우 상기 재생 데이터의 최상위 비트(MSB)이 사인비트가 "1"이 된다.As described above, the 10-bit reconstructed data (RD) output from the adder 40 is negative due to the operations of the inverse magnetizer 36, the decode converter 38, and the adder 40. If the remaining 9 bits except the bit MSB have a value of -512 to -1, the most significant bit MSB of the reproduction data has a sign bit of "1".

상기 가산기(40)로부터 출력되는 재생 데이터(RD)의 최상위 비트(MSB)는 제3도에 도시된 메모리(48)의 인에이블 단자(/OE)[여기서 "/"는 반전 상태의 논리를 나타내는 "_"인 BAR를 의미함]로 입력된과 동시에 인버터에 의해 반전되어 버퍼(46)의 인에이블 단자(/OE)로 입력된다.The most significant bit MSB of the reproduction data RD output from the adder 40 is the enable terminal / OE of the memory 48 shown in FIG. 3 (where "/" represents logic of an inverted state). Means "BAR which is" _ "] and is inverted by the inverter and input to the enable terminal (/ OE) of the buffer 46.

따라서 상기 재생 데이터(RD)의 최상위 비트(MSB)인 사인비트의 논리가 "1"인 경우에는 메모리(48)는 디스에이블(Disable)되며, 버퍼(46)만이 인버터(50)의 출력에 의해 반전된 "로우"의 출력에 인에이블(Enale)되어진다. 상기와 같이 버퍼(46)가 인에이블되면, 외부에서 미리 설정되어 상기 버퍼(46)의 데이터 입력단자(Din)로 입력되는 8비트의 클리핑 경계값(Data)(실질적으로는 "0"을 세팅하면됨)이 제2도의 프레임 메모리(42)의 데이터 입력단자로 버퍼링됨으로써 상기 프레임 메모리(42)는 상기 버퍼(46)를 통하여 입력되는 클리핑 경계값을 저장하게 된다.Therefore, when the logic of the sign bit that is the most significant bit MSB of the reproduction data RD is "1", the memory 48 is disabled, and only the buffer 46 is caused by the output of the inverter 50. Enabled to the inverted "low" output. When the buffer 46 is enabled as described above, an 8-bit clipping boundary Data (substantially "0") set in advance and input to the data input terminal Din of the buffer 46 is set. The buffer memory 42 is buffered to the data input terminal of the frame memory 42 of FIG. 2 so that the frame memory 42 stores the clipping boundary value input through the buffer 46.

만일 상기 가산기(40)로부터 출력되는 재생 데이터(RD)가 양의 값(최상의 비트MSB를 제외한 나머지 9비트의 값이 0∼512)일 경우에는 상기 재생 데이터(RD)의 최상위 비트(MSB)인 사인비트가 논리 "0"으로 출력됨으로써 인버터(50)의 출력은 논리'1"로 되며, 이로인해 제3도의 버퍼(46)는 디스에이블되고 메모리(48)만이 인에이블된다.If the reproduction data RD outputted from the adder 40 is a positive value (the values of 9 bits other than the most significant bit MSB are 0 to 512), the most significant bit MSB of the reproduction data RD is The output of inverter 50 becomes logic '1' as the sine bit is output to logic " 0 ", thereby disabling buffer 46 in FIG. 3 and enabling memory 48 only.

상기한 바와 같이 상기 재생데이터(RD)의 최상위 비트(MSB)인 사인비트가 논리 "0"으로 되면, 상기 메모리(48)은 재생 데이터(RD)의 나머지 9비트를 어드레스로 하여 어드레스 값에 미리 세팅된 클리핑 데이터를 출력한다.As described above, when the sine bit, which is the most significant bit MSB of the reproduction data RD, becomes logic " 0 ", the memory 48 pre-addresses the address value with the remaining 9 bits of the reproduction data RD as an address. Output the set clipping data.

이때 상기 메모리(48)에는 입력 어드레스, 즉, 재생 데이터(RD)에 대한 클리핑 범위의 클리핑 데이터가 어드레스에 대응하여 저장되어 있다.At this time, the memory 48 stores an input address, that is, clipping data of a clipping range for the reproduction data RD in correspondence with the address.

예를들면, 0∼255의 어드레스 영역(2진수로 "0 0000 0000∼0 111111)의 각각에는 0∼255(2진수로 "0,000,0000∼0,1111.1111)레벨의 데이터가 저장되어 있으며, 어드레스 256∼512(2진수로 0,1111,1111)의 값이 저장되어 있어 출력되는 데이터의 값이 255의 레벨을 넘지않도록 클리핑하게된다.For example, in each of the 0 to 255 address areas ("0 0000 0000 to 0 111111 in binary"), data of 0 to 255 ("0000,0000 to 0,1111.1111 in binary") is stored. Values of 256 to 512 (0,1111 and 1111 in binary) are stored so that the value of the output data is clipped so as not to exceed the level of 255.

따라서 상기 메모리(48)는 어드레스 단자(A0∼A8)로 입력되는 9비트의 재생 테이터(RD)에 대응하는 클리핑 데이터를 내부 영역에서 리이드하여 프레임 메모리(42)로 출력된다.Therefore, the memory 48 reads the clipping data corresponding to the 9-bit reproduction data RD input to the address terminals A0 to A8 in the internal region and outputs the clipping data to the frame memory 42.

그러므로, 상기의 클리핑회로(44)는 역양자화기(36)과 역부호화 변환기(38), 가산기(40)에 의해 재생되어 -512∼512의 값을 가지는 재생 데이터(RD)를 0∼256의 레벨을 가지는 표준 레벨의 데이터로 클리핑하여 상기 프레임 메모리(42)로 전송하게 된다.Therefore, the clipping circuit 44 is reproduced by the inverse quantizer 36, the decode converter 38, and the adder 40 so that the reproduction data RD having a value of -512 to 512 is 0 to 256. The data is clipped to standard level data having a level, and transmitted to the frame memory 42.

상기와 같은 동작에 의해 입력되는 영상신호의 범위가 다르게 되거나 영상신호의 클리핑(Cliping)의 범위를 바꾸고자 할때에는 메모리(48)내의 데이타 값을 바꾸어 주기만하면 되기 때문에 임의로 재생 데이터(RD)에 대한 클리핑(Clipping) 범위를 바꿀수 있다.When the range of the video signal inputted by the above operation is changed or when the clipping range of the video signal is changed, it is only necessary to change the data value in the memory 48. You can change the clipping range.

상술한 바와 같이 본 고안은 영상신호를 압축하였다가 재생하였을 때 재생된 영상의 밝기가 압축과정에서 발생하는 에러의 영향으로 신호가 가져야 하는 전체 범위를 벗어날 경우 메모리소자를 이용하여 클리핑함으로써 클리핑 범위를 임의로 정할 수 있는 이점이 있다.As described above, the present invention compresses the clipping range by using a memory element when the brightness of the reproduced image is out of the entire range that the signal should have due to the error generated during the compression process when the image signal is compressed and reproduced. There is an advantage that can be arbitrarily determined.

Claims (1)

(정정)아날로그 영상신호를 변환하여 출력하는 입력처리기(22), 상기 입력처리기(22)의 출력데이터를 주사순서를 따라 블럭단위의 데이터로 구성하여 출력하는 블럭구성기(24), 전 프레임에서 공간적으로 동일한 위치의 동일크기의 블럭 데이터를 출력하는 프레임 메모리(42)와, 상기 블럭 구성기(24)의 데이터로부터 상기 프레임 메모리(42)에서 출력된 전 프레임의 블럭데이터를 감산 출력하는 감산기(28), 상기 감산기(28)의 출력을 변환 부호화하고 양자화 출력하는 변환 부호화기(30) 및 양자화기(32)와, 상기 양자화기(32)의 출력을 역양자화기 및 역변환 부호화하는 역양자화기(36) 및 역변환 부호화기(38)와, 상기 역변환 부호화기(38)의 출력과 상기 프레임 메모리(42)의 데이터를 가산하여 재생 데이터(RD)를 출력하는 가산기(40)를 구비한 영상신호의 압축 부호화 장치에서의 클리핑 회로에 있어서, 상기 가산기(40)와 프레임 메모리(42)의 사이에 접속되면 상기 가산기(40)로부터 출력되는 재생 데이터(RD)가 음수값을 가질때 인에이블 되어 미리 설정된 상기 재생데이터(RD)의 경계 데이터를 상기 프레임 메모리(42)에 버퍼링 입력시키는 버퍼(46)와, 상기 재생 데이터(RD)가 양수값을 가질때 인에이블되어 상기 재생 데이터(RD)가 지정되는 번지의 클리핑 데이터를 상기 메모리(42)에 입력시키는 메모리(48)로 구성됨을 특징으로 하는 클리핑회로.(Correction) An input processor 22 for converting and outputting an analog video signal, a block configurator 24 for outputting the output data of the input processor 22 in block units in a scanning order and outputting the data in all frames. A frame memory 42 for outputting block data of the same size at a spatially identical position, and a subtractor for subtracting and outputting block data of all frames output from the frame memory 42 from data of the block configurator 24 ( 28, a transform encoder 30 and a quantizer 32 for transform encoding and quantizing the output of the subtractor 28, and an inverse quantizer for inverse quantizing and inverse transform encoding the output of the quantizer 32 ( 36) and an inverse transform encoder 38, and an adder 40 which adds the output of the inverse transform encoder 38 and the data of the frame memory 42 to output reproduction data RD. In the clipping circuit in the display device, when the playback data RD output from the adder 40 has a negative value when connected between the adder 40 and the frame memory 42, the preset playback is enabled. A buffer 46 for buffering and inputting boundary data of the data RD into the frame memory 42 and a clipping of the address where the reproduction data RD is designated when the reproduction data RD has a positive value. And a memory (48) for inputting data into the memory (42).
KR2019890019909U 1989-12-27 1989-12-27 Clipping circuit in discrete cosine transform KR920008268Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019890019909U KR920008268Y1 (en) 1989-12-27 1989-12-27 Clipping circuit in discrete cosine transform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019890019909U KR920008268Y1 (en) 1989-12-27 1989-12-27 Clipping circuit in discrete cosine transform

Publications (2)

Publication Number Publication Date
KR910013393U KR910013393U (en) 1991-07-30
KR920008268Y1 true KR920008268Y1 (en) 1992-11-14

Family

ID=19293971

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019890019909U KR920008268Y1 (en) 1989-12-27 1989-12-27 Clipping circuit in discrete cosine transform

Country Status (1)

Country Link
KR (1) KR920008268Y1 (en)

Also Published As

Publication number Publication date
KR910013393U (en) 1991-07-30

Similar Documents

Publication Publication Date Title
EP0595562B1 (en) Method and apparatus for quantization and inverse-quantization of picture data
JPH03139988A (en) Method and device for recovering image
JPH0378382A (en) Adaptive quantizing encoder/decoder
US5107519A (en) Coding device and a decoding device
US6028637A (en) Apparatus and method of inter-block predictive coding/decoding and storage medium storing coded signal
US5970172A (en) Hadamard transform coding/decoding device for image signals
US5528606A (en) Error correcting apparatus
JPH0522715A (en) Picture encoder
KR920008268Y1 (en) Clipping circuit in discrete cosine transform
JPS5857836A (en) Forecasting encoder
JP2841362B2 (en) High efficiency coding device
JP3166501B2 (en) Image recompression method and image recompression device
JPH07153195A (en) Digital recording device
JP3251286B2 (en) Method and encoder and decoder for digital transmission and / or recording of component encoded color television signals
JP3227931B2 (en) Encoding device and decoding device
KR950005624B1 (en) Image compressing & encoding apparatus and method
JP2797411B2 (en) Encoding device
KR950008486B1 (en) Vlc coding method
JP2869164B2 (en) Image encoding and decoding device
JP3143970B2 (en) Image coding device
JP2604058B2 (en) Image encoding and decoding device
KR0148136B1 (en) Inter/intramode code method and apparatus
KR100206924B1 (en) Encoder and decoder in image processing system
KR0147952B1 (en) Image encoder
JPH0614314A (en) High efficiency encoder

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
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20021031

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee