专利摘要:
PURPOSE: An apparatus for selecting a coding mode is provided to allow easy search by coding important information while reducing the amount of code in coding inputted image. CONSTITUTION: An apparatus for selecting a coding mode includes the first memory unit (300) for storing frame data of inputted images. The second memory unit(304) stores previous frame data. A motion prediction unit(114) compares the frame data currently inputted that are stored in the first memory unit and the previous frame data stored at the second memory unit to detect motion vector values by blocks. A SAD test unit(306) codes the frame data in an intra scheme if the SAD value of the input frame data from the motion prediction unit exceeds the predetermined SAD threshold value. The SAD test unit also outputs a coding select information(S) for coding the frame in an inter scheme if the SAD value of the inputted frame data does not exceed the SAD threshold value.
公开号:KR20010053814A
申请号:KR1019990054329
申请日:1999-12-01
公开日:2001-07-02
发明作者:최성규
申请人:윤종용;삼성전자 주식회사;
IPC主号:
专利说明:

Apparatus and method for selecting a coding method of an image coding system {APPARATUS AND METHOD FOR SELECTING CODING TYPE OF A IMAGECODING SYSTEM}
[5] TECHNICAL FIELD The present invention relates to image processing, and more particularly, to an encoding apparatus and method of an image encoding system for efficiently intra-frame encoding an image at a low bit rate.
[6] In general, the inter-frame correlation of an image encoding system is an intra method that performs information compression according to intra-frame correlation without considering correlation with other frames, and data closest to its own data in other frame data. There is an Inter method that finds and encodes only a difference component of two data.
[7] 1 is a block diagram of a coding system using a conventional interframe correlation. Referring to FIG. 1, the discrete cosine transform (DCT) unit 104 applies DCT, an algorithm for converting frame data of an input image from a spatial domain to a frequency domain, to perform a DCT transform. The quantizer 106 quantizes the DCT coefficients generated by the DCT transform. The de_quantizer 108 dequantizes the quantized DCT coefficients to restore the DCT coefficients. The IDCT unit inverts the DCT transformed frame data and restores the original data. The prediction memory unit 115 stores previous frame data in order to use inter-frame correlation, and the motion predictor 114 compares the currently input frame data applied through the video input terminal with the previous frame data to perform block-by-block motion. Output the vector value. At this time, the input frame data is encoded by either an intra scheme or an inter scheme, and data of a block in which a motion vector value is output is coded only with a difference component from a block found in a previous frame. The coding control 102 determines the quantization step size according to the amount of data to be encoded.
[8] FIG. 2 illustrates an example of frame data encoded by the encoding system of FIG. 1. Referring to FIG. 2, a frame denoted by I is a frame on which intra coding is performed, and a frame denoted by P is used to predict the previous frame. A frame coded using B and a frame denoted by B denotes a frame coded using prediction in the previous and next frames.
[9] However, the encoding method in the conventional encoding system as shown in FIG. 1 is a method of encoding between frames in advance, as shown in FIG. 2, in which I, B, and P frames are determined to be repeatedly performed in units of several frames. Since the encoding method is determined based on a fixed amount or only the amount of data to be output, the frame having little difference from the previous frame is coded as an I frame requiring a high bit rate, or vice versa. There is a problem such as coding, and in a special case in which important information exists when a difference with the previous frame occurs, there is a problem that is not efficient.
[10] As described above, in the encoding method of the conventional video encoding system, the encoding method between frames is determined in advance, or the encoding method is determined based on only the amount of data to be output. There is a problem of encoding P or B in a part where there are many differences from the frame, and in a special case in which important information exists when a difference from the previous frame occurs, there is a problem that is not efficient.
[11] Accordingly, an object of the present invention is to provide an apparatus and method for selecting an encoding method of an image encoding system, which reduces an amount of code and faithfully encodes important information and makes retrieval easier in encoding an input image.
[1] 1 is a block diagram of a conventional video encoding system;
[2] 2 is a diagram illustrating an example of conventional prediction coded frame data;
[3] 3 is a block diagram of a video encoding system according to an embodiment of the present invention;
[4] 4 is a flowchart illustrating a coding scheme selection process using inter-frame SAD according to an embodiment of the present invention.
[12] In order to achieve the above object, the present invention provides a method of detecting an SAD value of input frame data by selecting an encoding method using an inter-frame SAD input from an image encoding system, and the detected SAD value is preset. Checking whether the SAD threshold is exceeded, if the SAD value of the input frame exceeds the threshold, encoding the frame in an intra manner, and the SAD value of the input frame If not exceeding, characterized in that it comprises a step of encoding the frame by the inter scheme.
[13] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Many specific details are set forth in the following description and in the accompanying drawings, in order to provide a more thorough understanding of the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.
[14] 3 is a block diagram of an encoding system using interframe correlation according to an embodiment of the present invention. Referring to FIG. 3, the coding system according to an exemplary embodiment of the present invention adds a first memory unit 300, a second memory unit 304, and a SAD checker 306 to the configuration of the conventional coding system of FIG. 1. It is equipped with.
[15] In operation below, when frame data of an input image is input from an image input apparatus such as a camera, the frame data is recorded in the first memory unit 300 and simultaneously input to the motion predictor 114. Then, the motion predictor 114 detects the SAD value (difference component value) for each block by comparing the currently input frame data stored in the first memory unit 300 with previous frame data stored in the prediction memory unit 115. The previous frame data of the prediction memory unit 115 is stored in the second memory unit 304 and the frame data currently being encoded is recorded in the prediction memory unit 115. The SAD means a difference component value between a previous frame obtained by accumulating the difference between the pixel of the current frame and the pixel of the previous frame by each block. In this case, as described above, the SAD value for each block in the one-frame period generated from the motion predictor 114 is sequentially applied to the SAD checker 306. Accordingly, the SAD checker 306 receives the motion predictor 114 from the motion predictor 114. The encoding control unit 302 applies encoding selection information S that determines whether to encode the input frame in an intra scheme or an inter scheme by comparing the SAD value of the input frame data with a preset SAD threshold. Let's do it. Accordingly, the encoding control unit 302 determines whether to encode the input frame in the intra system or the inter system according to the encoding selection information S from the SAD inspection unit 306.
[16] 4 is a flowchart illustrating a process of the SAD checker 306 determining encoding selection information based on SAD values of input frame data according to an embodiment of the present invention. Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 3 and 4.
[17] First, image data input in units of frames from an image input apparatus such as a camera is stored in the first memory unit 300 and simultaneously input to the motion predictor 114. Then, the motion predictor 114 detects SAD values for each block of one frame data of the current input image and sequentially outputs the SAD values to the SAD checker 306. Accordingly, the SAD checker 306 proceeds to step 402 in response to step 400 of FIG. 4 and sequentially checks each block SAD value of 1 frame data applied from the motion predictor 114. . Subsequently, the SAD checker 306 proceeds to step 404 to check whether all SAD values for each block of one frame of data are input.
[18] In this case, if all the SAD values for each block of one frame data are input, the motion vector inspecting unit 306 proceeds to step 406 to check whether the SAD value of the one frame data exceeds a preset SAD threshold. The threshold refers to a reference value of the input frame data SAD for selecting an encoding method capable of encoding the input frame data more efficiently among the intra method and the inter method.
[19] In this case, if the SAD value of the input frame data exceeds the preset threshold in step 406, the SAD checker 306 proceeds to step 408 to select an encoding to encode the input frame data in an intra scheme. The information S is output to the encoding control unit 302. In contrast, when the SAD value of the input frame data does not exceed the preset threshold in step 406, the SAD checker 306 proceeds to step 410 to encode the input frame data in an inter scheme. The selection information S is outputted to the encoding control unit 302.
[20] Accordingly, the encoding control unit 302 encodes the input frame data by the encoding method selected from the SAD inspection unit 306 in response to the encoding selection information S applied from the SAD inspection unit 306, according to the SAD value of the frame data. More efficient encoding will be performed.
[21] As described above, the present invention encodes the conventional encoding method irrespective of the degree of motion of an input image. Therefore, the intra coding method is only performed on an image having important information, unlike an image having important information when a motion occurs. Encoding can be performed to increase the efficiency of the encoding and to facilitate the retrieval.
权利要求:
Claims (2)
[1" claim-type="Currently amended] In the encoding selection device of the video encoding system,
A first memory unit for storing frame data of an input image;
A second memory unit for storing previous frame data;
A motion predictor which detects and outputs a motion vector value for each block by comparing the currently input frame data stored in the first memory unit with previous frame data stored in the second memory unit;
When the SAD value of the input frame data output from the motion predictor exceeds a preset SAD threshold, the frame data is encoded in an intra scheme, and the SAD value of the input frame data does not exceed the threshold. And an SAD checker for outputting encoding selection information for encoding the frame by an inter scheme.
[2" claim-type="Currently amended] In the encoding method selection method using the inter-frame SAD input from the video encoding system,
Detecting a SAD value of input frame data;
Checking whether the detected SAD value exceeds a preset SAD threshold value;
If the SAD value of the input frame exceeds the threshold, encoding the frame in an intra manner;
If the SAD value of the input frame does not exceed the threshold value, the encoding method selection method comprising the step of encoding the frame by the inter scheme
类似技术:
公开号 | 公开日 | 专利标题
US10165271B2|2018-12-25|Image prediction encoding device, image prediction decoding device, image prediction encoding method, image prediction decoding method, image prediction encoding program, and image prediction decoding program
US10205960B2|2019-02-12|Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, moving picture encoding program, and moving picture decoding program
US8599923B2|2013-12-03|Motion vector encoding device and decoding device
JP6207116B2|2017-10-04|Method and apparatus for encoding surveillance video
KR100750136B1|2007-08-21|Method and apparatus for encoding and decoding of video
JP3776921B2|2006-05-24|Image coding method
EP1098528B1|2002-01-02|Devicefor predicting and decoding image
ES2389766T3|2012-10-31|Decoding of a block of quantified transform coefficients, where an even parity of the sum of the inverse quantized transform coefficients is adjusted to an odd parity
US20150016516A1|2015-01-15|Method for intra prediction improvements for oblique modes in video coding
US7177360B2|2007-02-13|Video encoding method and video decoding method
KR100451326B1|2004-10-06|Image predictive decoding method, image predictive decoding apparatus, image predictive coding method, image predictive coding apparatus, and data storage media
US5602549A|1997-02-11|System for variable length decoding digital transmission data which has been compressed by selecting a scanning pattern
US20140044367A1|2014-02-13|Apparatus and method for coding/decoding image selectively using discrete cosine/sine transform
TWI399097B|2013-06-11|System and method for encoding video, and computer readable medium
JP3933718B2|2007-06-20|System for processing signals representing images
RU2189700C2|2002-09-20|Device for compression of videosignal presenting image and device for fixation of noise filtration in signal
US7474699B2|2009-01-06|Moving picture encoding/transmission system, moving picture encoding/transmission method, and encoding apparatus, decoding apparatus, encoding method decoding method and program usable for the same
US8098731B2|2012-01-17|Intraprediction method and apparatus using video symmetry and video encoding and decoding method and apparatus
US7016544B2|2006-03-21|Digital image encoding and decoding method and digital image encoding and decoding device using the same
DE69738262T2|2008-08-14|Video encoding and video decoding device
US7738714B2|2010-06-15|Method of and apparatus for lossless video encoding and decoding
TWI523501B|2016-02-21|A method and an apparatus for encoding or decoding a video signal
JP3888597B2|2007-03-07|Motion compensation coding apparatus and motion compensation coding / decoding method
US6721359B1|2004-04-13|Method and apparatus for motion compensated video coding
US8649431B2|2014-02-11|Method and apparatus for encoding and decoding image by using filtered prediction block
同族专利:
公开号 | 公开日
US20020118754A1|2002-08-29|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
法律状态:
1999-12-01|Application filed by 윤종용, 삼성전자 주식회사
1999-12-01|Priority to KR1019990054329A
2001-07-02|Publication of KR20010053814A
优先权:
申请号 | 申请日 | 专利标题
KR1019990054329A|KR20010053814A|1999-12-01|1999-12-01|Apparatus and method for selecting coding type of a imagecoding system|
[返回顶部]