KR101418100B1 - Method And Apparatus for Encoding And Decoding Using Contradiction Test - Google Patents

Method And Apparatus for Encoding And Decoding Using Contradiction Test Download PDF

Info

Publication number
KR101418100B1
KR101418100B1 KR20100097491A KR20100097491A KR101418100B1 KR 101418100 B1 KR101418100 B1 KR 101418100B1 KR 20100097491 A KR20100097491 A KR 20100097491A KR 20100097491 A KR20100097491 A KR 20100097491A KR 101418100 B1 KR101418100 B1 KR 101418100B1
Authority
KR
South Korea
Prior art keywords
information
prediction information
prediction
candidate
reconstruction
Prior art date
Application number
KR20100097491A
Other languages
Korean (ko)
Other versions
KR20120037518A (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 KR20100097491A priority Critical patent/KR101418100B1/en
Priority to PCT/KR2011/007423 priority patent/WO2012047049A2/en
Publication of KR20120037518A publication Critical patent/KR20120037518A/en
Application granted granted Critical
Publication of KR101418100B1 publication Critical patent/KR101418100B1/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Abstract

The present invention relates to an apparatus and method for encoding and decoding using contradiction verification, and more particularly, to a coding and decoding apparatus and method using contradiction verification, in which prediction information of current information to be coded is selected from prediction information candidates belonging to a prediction information candidate set, An encoding apparatus for encoding first data, the method comprising: generating reconstruction information obtained by reconstructing the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set; and converting the prediction information of the reconstruction information into the prediction information candidate And a contradiction verification process of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data is determined using the prediction information of the reconstruction information, By performing on one or more prediction information candidates belonging to the information candidate set And a prediction information selector for selecting prediction information candidates that do not cause contradictions.

Description

[0001] The present invention relates to a method and apparatus for encoding and decoding using contradiction verification,

The present invention relates to encoding and decoding digital data, and more particularly, to a method and apparatus for encoding and decoding digital data using contradiction verification.

One of widely used methods for encoding digital data is to perform predictive encoding and decoding using information that can be accessed equally by an encoder and a decoder, and a function defined beforehand between an encoder and a decoder. That is, the encoder calculates prediction information on current data to be encoded using information that can be accessed in the same manner as the decoder and a previously defined function, and then performs predictive encoding on the current data using the predictive information. And predictive information on the current data predictively coded by using a previously defined function and information that can be accessed in the same manner as described above, and restores the predictive-coded current data using the predictive information. Generally, since the data to be currently encoded (hereinafter, referred to as 'current information') has a close correlation with information at an adjacent position of the current position, a function defined by the encoder and the decoder, (E.g., difference information) generated using the current information and the prediction information without encoding the current information itself after calculating the prediction information on the current information from the information in the position, And the coding efficiency is increased.

Generally, as the prediction information for the data to be encoded is similar to the current information, the coding efficiency is increased. Therefore, not only information of spatially adjacent positions, but also a plurality of pieces of prediction information composed of information of temporally or temporally adjacent positions or other information calculated by a method of combining them are selected as candidates, and among them, When the optimal one is selected and used, the predictive coding efficiency can be further increased.

However, in order for the decoder, receiving the encoded data from the encoder, to correctly recover the original current information, it must be able to determine what prediction information is used. The simplest encoding method for this purpose is to encode index information about which prediction information should be used by the decoder in order to normally recover the encoded current information from candidate information that can be used for prediction.

This method can increase predictive coding efficiency by selecting and using predictive information that is most similar to current information among information of neighboring locations that can be used spatially, temporally, or spatiotemporally. However, index information about which prediction information is used is added As well as to reduce the overall coding efficiency. In addition, when a larger number of prediction information candidates are provided and the optimum one is selected, the prediction coding efficiency is further increased. However, the index information to be encoded is also increased to indicate the selected optimum prediction candidate, It is.

As a simple example, when four prediction information candidates are used, the number of bits allocated to the index information to be encoded is two bits. However, when eight prediction information candidates are used, the number of bits allocated to the index information is three , The number of bits allocated to the index information increases as the number of prediction information candidates increases.

Therefore, the more the prediction information candidates are, the higher the prediction encoding efficiency can be, but the number of bits required to encode the index information about certain prediction information is increased as well, so that the improvement of the overall coding efficiency can not always be guaranteed.

1 is an exemplary diagram for explaining a predictive encoding method using prediction information.

In FIG. 1, a Candidate Set (CS) assumes a set of prediction information candidates that can be equally accessible as a function defined by the encoder and the decoder,

Figure 112010064642984-pat00001
Assumes prediction information candidates in the CS set, c assumes the current information, and d assumes differential information. The optimal prediction information for the current information is selected as shown in Equation (1).

Figure 112010064642984-pat00002

Referring to Equation (1), prediction information having the optimal coding cost (COST) among the prediction information candidates constituting the selected candidate set CS with respect to the current information c to be coded

Figure 112010064642984-pat00003
Is selected as the optimum prediction information. When the optimal prediction information for the current information is selected using Equation (1), the difference information between the current information and the selected optimal prediction information can be calculated by Equation (2).

Figure 112010064642984-pat00004

Referring to Equation (2), the coding efficiency can be increased by calculating the difference information between the current information and the optimum prediction information. However, as described above,

Figure 112010064642984-pat00005
To be used as prediction information
Figure 112010064642984-pat00006
In the case where any of the prediction information candidates is the optimum prediction information
Figure 112010064642984-pat00007
It is not always possible to guarantee the improvement of the compression efficiency. As described above, if the number of prediction information candidates increases, the compression efficiency may become worse.

In order to solve such a problem, according to the present invention, the encoding device and the decoding device respectively determine whether the prediction information is likely to be the best prediction information among the prediction information candidates, The present invention also provides a coding and decoding apparatus and a method thereof, which can minimize the amount of required bits even if the information required for informing the user of the information is not used or used.

In order to achieve the above object, according to the present invention, there is provided a coding method for coding first information generated using current information and prediction information, after selecting prediction information of current information to be coded from prediction information candidates belonging to a prediction information candidate set, An apparatus for generating reconstructed information reconstructed by reconstructing first data using an arbitrary predictive information candidate belonging to the predictive information candidate set, selecting predictive information of the reconstructed information from the predictive information candidate set, A contradiction verification process of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data is performed by using one or more By performing the prediction information candidates on the prediction information candidates, And a predictive information selection unit for selecting the beams.

According to another aspect of the present invention, there is provided a decoding apparatus for decoding encoded data generated by encoding current information using prediction information and restoring the encoded data into the current information, the decoding apparatus comprising: prediction means for selecting a prediction information candidate set for the current information; Information Candidate Government; Generating reconstructed information reconstructed by reconstructing the decoded encoded data using an arbitrary predictive information candidate belonging to the predictive information candidate set, selecting prediction information of the reconstructed information from the predictive information candidate set, The method comprising the steps of: determining whether or not the arbitrary prediction information candidates are likely to be the prediction information used to generate the encoded data by comparing the one or more prediction information candidates belonging to the prediction information candidate sets A prediction information selector for selecting prediction information candidates that do not generate contradictions and outputting prediction information of the current information among the selected prediction information candidates; And a reconstruction unit reconstructing the current information using the prediction information output from the prediction information selection unit and the decoded encoded data.

According to another aspect of the present invention, there is provided a method for generating prediction information, comprising: inputting first data generated using current information and prediction information of the current information and prediction information candidates belonging to a prediction information candidate set, Wherein the prediction information selection unit generates the reconstruction information by restoring the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set and sets the prediction information of the reconstruction information in the prediction information candidate set Wherein the method includes the steps of: determining whether the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data using the prediction information of the reconstruction information; To one or more prediction information candidates belonging to the prediction information candidate It provides predictive information sorting device characterized in that the inconsistency of the candidates belonging to the prediction information and remove the candidate prediction information occurs.

In yet another aspect, the present invention provides a method for encoding a first data generated by using predictive information of current information to be coded from predictive information candidates belonging to a predictive information candidate set and using the present information and the predictive information, The method comprising: generating restoration information by restoring the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set; Selecting prediction information prediction information from the prediction information candidate set; An inconsistency verification step of verifying whether the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data using the prediction information of the reconstruction information; And performing the steps on one or more prediction information candidates belonging to the prediction information candidate set to select prediction information candidates that do not cause contradiction among prediction information candidates belonging to the prediction information candidate set. And a coding method using the contradiction verification.

According to another aspect of the present invention, there is provided a decoding method for decoding current encoded information obtained by encoding current information using prediction information, the method comprising: selecting a prediction information candidate set for the current information; Generating reconstructed information by reconstructing the decoded encoded data using an arbitrary predictive information candidate belonging to the predictive information candidate set; Selecting prediction information prediction information from the prediction information candidate set; A contradiction verification step of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the encoded data using the prediction information of the reconstruction information; Performing the steps on one or more prediction information candidates belonging to the prediction information candidate set to select prediction information candidates for which no contradiction does not occur and outputting prediction information of the current information among the selected prediction information candidates; And reconstructing the current information using the prediction information of the current information and the decoded encoded data.

According to another aspect of the present invention, there is provided a method for generating prediction information, comprising: inputting first data generated using current information and prediction information of the current information and prediction information candidates belonging to a prediction information candidate set, The method comprising the steps of: generating reconstruction information by restoring the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set; Selecting prediction information prediction information from the prediction information candidate set; Performing an inconsistency verification process of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data using the prediction information of the reconstruction information; And removing the prediction information candidates in which contradictions have occurred among the prediction information candidates belonging to the prediction information candidate set by performing the steps on one or more prediction information candidates belonging to the prediction information candidate set. And provides information sorting methods.

According to the present invention, it is possible to increase the coding efficiency of current information by using a plurality of prediction information candidates, and to reduce or minimize the information (number of bits) required for expressing index information for a plurality of prediction information candidates Therefore, it is possible to guarantee an improved coding efficiency.

1 is an exemplary diagram for explaining a coding method using prediction information,
2 is a block diagram illustrating a configuration of an encoding apparatus using contradictory verification according to an embodiment of the present invention;
3 is an exemplary diagram for explaining encoding / decoding using contradictory verification according to an embodiment of the present invention;
4 is an exemplary diagram for explaining entropy encoding,
5 is a block diagram illustrating a detailed configuration of a prediction information selector applied to an encoding apparatus using contradictory verification according to an embodiment of the present invention.
6 is a flowchart illustrating an encoding method using contradictory verification according to an embodiment of the present invention.
7 is a block diagram illustrating a configuration of a decoding apparatus using contradiction verification according to an embodiment of the present invention.
8 is a block diagram illustrating a detailed configuration of a prediction information selector applied to a decoding apparatus using contradictory verification according to an embodiment of the present invention.
9 is a flowchart illustrating a decoding method using contradiction verification according to an embodiment of the present invention.

Hereinafter, some embodiments of the present invention will be described in detail with reference to exemplary drawings. It should be noted that, in adding reference numerals to the constituent elements of the drawings, the same constituent elements are denoted by the same reference symbols as possible even if they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

In describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are intended to distinguish the constituent elements from other constituent elements, and the terms do not limit the nature, order or order of the constituent elements. When a component is described as being "connected", "coupled", or "connected" to another component, the component may be directly connected or connected to the other component, Quot; may be "connected," "coupled," or "connected. &Quot;

2 is a block diagram illustrating a configuration of an encoding apparatus using contradiction verification according to an embodiment of the present invention.

The encoding apparatus 200 using the contradiction verification according to the embodiment of the present invention includes a prediction information candidate selection unit 210, a prediction information determination unit 220, a difference information calculation unit 230, and a prediction information selection unit 240, As shown in FIG.

The prediction information candidate selection unit 210 selects a prediction information candidate set (CS: Candidate Set) including one or more prediction information candidates with respect to the current information to be encoded. The prediction information candidate selection unit 210 selects different N (N > = 1) pieces of information that are equally accessible as a predefined function shared by the encoder and the decoder, according to Equation (3).

Figure 112010064642984-pat00008

In Equation (3)

Figure 112010064642984-pat00009
(n = 1, ..., N) represent different prediction information candidates that can be equally accessed by the functions defined by the encoder and the decoder,
Figure 112010064642984-pat00010
(n = 1, ..., N)).

3, block C is assumed to be a current block corresponding to current motion information to be coded, and block A, block B, and block C are assumed to be a current block corresponding to block D, It is assumed that the block includes predictive motion information.

Figure 112010064642984-pat00011
,
Figure 112010064642984-pat00012
,
Figure 112010064642984-pat00013
,
Figure 112010064642984-pat00014
Are assumed to be the motion information of the block A, the block B, the block C, and the block D, respectively,
Figure 112010064642984-pat00015
And the vertical component
Figure 112010064642984-pat00016
.

As shown in FIG. 3,

Figure 112010064642984-pat00017
Is assumed to be (-4, -1), and motion information of the prediction block
Figure 112010064642984-pat00018
,
Figure 112010064642984-pat00019
,
Figure 112010064642984-pat00020
(0, 0), (-2, -1), and (0, -2), respectively. In addition,
Figure 112010064642984-pat00021
.

However, this is only an illustrative example of the present invention, and the CS aggregate can select more motion information as candidate prediction motion information according to the implementation method or need. For example, motion information of a co-located block of a previous picture on the time axis or motion information of a block located at the upper left of the spatial axis may be used as candidate prediction motion information. Further, other motion information (for example, an average value or a middle value of a plurality of pieces of motion information) calculated using the motion information may be included. Further, for the components constituting the motion information, candidate prediction motion information (for example, a CS set including only a horizontal component or a CS set including only a vertical component, or a CS set including a combination of such components) It is possible. Finally, in the same manner as the conventional H.264 / AVC standard, when there is no intermediate value, average value, or usable predicted motion information candidate of the motion information of neighboring A, B, and C blocks, (0, 0)) may be used as a unique predictive motion information candidate. That is, the CS can be defined in various ways on the assumption that the definitions are shared in advance by the encoder and the decoder.

The prediction information determination unit 220 selects optimal prediction information that consumes the optimum cost with respect to the current information from the prediction information candidate set CS selected by the prediction information candidate selection unit 210 using a predetermined cost function. For example, the prediction information candidates may be input from the current information and prediction information selection unit 210 and the optimum prediction information may be selected according to Equation (4).

Figure 112010064642984-pat00022

Here, c represents the current information, and p represents an element (i.e., a prediction information candidate) of the CS set including the candidates selected by the prediction information candidate selection unit 210. [ In Equation 4 or Equation 1, argmin means to obtain prediction information p that optimizes the cost (COST) value. That is, although it is expressed as min in this case, an input argument giving the maximum value max may be obtained according to the definition of the cost function. In this case, it should be written as argmax, but it is supposed that argmin in Equation 4 or Equation 1 is used to obtain a value that optimizes the cost (COST) value. Therefore, in general, it is necessary to analyze Equation 4 or Equation 1 by obtaining an optimum value. In other words, argmin (ie, minimum value) is interpreted as a cost function that is advantageous from the viewpoint of predictive coding efficiency as it has a smaller value. Conversely, a cost function that is advantageous from the viewpoint of predictive coding efficiency , The optimal meaning should be interpreted as argmax (ie, maximum value).

Figure 112010064642984-pat00023
Function is determined as a cost function by a predetermined value obtained by combining the absolute value sum (SAD) of difference or difference information, the bit rate and distortion degree between the current information and the prediction information candidate, or the bit amount for the difference between the current information and the prediction information candidate . It may also be a predetermined function determined by the current information and the prediction information candidates.
Figure 112010064642984-pat00024
The
Figure 112010064642984-pat00025
And the optimal prediction information consuming the optimal cost determined through the function.

In the motion coding applied to the moving picture coding apparatus, for example,

Figure 112010064642984-pat00026
(-4, -1), predictive motion information candidate
Figure 112010064642984-pat00027
Is assumed to be {(0,0), (- 2, -1), (0, -2)},
Figure 112010064642984-pat00028
Function can be assumed.

Figure 112010064642984-pat00029

here,

Figure 112010064642984-pat00030
Is the current motion information (vector), corresponds to the current information c to be encoded in Equation (4)
Figure 112010064642984-pat00031
Corresponds to p in Equation 4 as a prediction information candidate belonging to CS,
Figure 112010064642984-pat00032
And the motion information of the motion vector. Also,
Figure 112010064642984-pat00033
Function calculates the amount of bits occupied by the difference value between the current motion information and the prediction motion information. FIG. 4 is a flowchart illustrating a method of calculating a bit amount using entropy encoding
Figure 112010064642984-pat00034
Here is an example of a function. 4, if the difference value is 1
Figure 112010064642984-pat00035
If the value is 3 or 2
Figure 112010064642984-pat00036
The value of < / RTI > In addition to the scheme shown in FIG. 4, an arithmetic coding or a modified function may be used.

Referring to Figure 4,

Figure 112010064642984-pat00037
To
Figure 112010064642984-pat00038
Predictive motion information for the current frame, i.e.,
Figure 112010064642984-pat00039
The cost of using
Figure 112010064642984-pat00040
Lt; RTI ID = 0.0 > 10 &
Figure 112010064642984-pat00041
The cost of using the prediction motion information as prediction motion information is
Figure 112010064642984-pat00042
6 bits,
Figure 112010064642984-pat00043
The cost of using the prediction motion information as prediction motion information is
Figure 112010064642984-pat00044
Lt; / RTI > Therefore, the optimal predicted motion information is
Figure 112010064642984-pat00045
The
Figure 112010064642984-pat00046
.

The difference information calculation unit 230 generates difference information using the current information and the optimum prediction information selected by the prediction information determination unit 220. The difference information can be calculated by Equation (6).

Figure 112010064642984-pat00047

In Equation (6)

Figure 112010064642984-pat00048
Function represents a function for performing a calculation process and a combination process predefined by the encoder and decoder by receiving the current information and the determined optimum prediction information,
Figure 112010064642984-pat00049
To
Figure 112010064642984-pat00050
Represents the function value obtained when inputting the function, that is, the data generated by using the current information and the optimum prediction information. In the present specification, for convenience of description,
Figure 112010064642984-pat00051
Lt; RTI ID = 0.0 > c < / RTI &
Figure 112010064642984-pat00052
That is, the difference information, but it is not limited to this, and the current information c and the determined prediction information
Figure 112010064642984-pat00053
May be a function for performing other operations and combination processes capable of measuring mutual similarity between the two.

[0052] Referring to the motion coding applied to the moving picture encoding apparatus, as described above, the determined optimum motion prediction information is

Figure 112010064642984-pat00054
The difference information can be calculated by Equation (7).

Figure 112010064642984-pat00055

Referring to Equation (7)

Figure 112010064642984-pat00056
(-2,0) as differential motion information, and corresponds to d in Equation (6).

The prediction information selection unit 240 performs contradiction verification to select prediction information candidates that are likely to be used as prediction information for the current information among the elements constituting the prediction information candidate set.

Some candidates in the prediction information candidate set may be predicted in advance that there is no possibility that the degree of correlation with current information is extremely lower than that of other candidates and the prediction information is not determined. The prediction information selection unit 240 performs contradiction verification proposed in the embodiment of the present invention to remove prediction information candidates that are not likely to be used as prediction information for the current information and to select only prediction information candidates that may be used as prediction information .

As will be described later, the information necessary for performing the contradiction verification is prediction information candidates belonging to the difference information and the prediction information candidate set CS, and the information is information shared between the encoding apparatus and the decoding apparatus. Therefore, the decoding apparatus can also perform the same contradiction verification as the encoding apparatus to select only the prediction information candidates likely to be used as the prediction information for the current information among the prediction information candidates belonging to the prediction information candidate set. Therefore, the prediction information selector 240 outputs the index information corresponding to the predicted information candidates by outputting the index information corresponding to the predicted information on the current information after assigning the index information only to the selected prediction information candidates, . If the number of selected prediction information candidates is one, index information may not be output. That is, in this case, since the decoder can know by itself that the number of selected prediction information candidates is one, it is possible to know which prediction information is present for the current information without referring to the separate index information.

In order to perform contradiction verification, the prediction information selection unit 240 may be configured such that any one prediction information candidate in the prediction information candidate set CS is used as prediction information for the current information, And restoration information is generated by restoring the information. Then, when it is assumed that the reconstruction information is to be encoded, an optimal prediction information candidate that consumes the optimum cost is selected from the prediction information candidate set. Then, it is verified whether the arbitrary one of the prediction information candidates is likely to be used as the prediction information of the current information (contradictory verification) by using the optimum prediction information candidate selected for the reconstruction information, Any one prediction information candidate is excluded from the prediction information candidate set. This process is performed on one or more prediction information candidates belonging to the prediction information candidate set to select only the prediction information candidates for which no contradiction has occurred.

Hereinafter, the process of the prediction information selection unit 240 performing the contradiction verification will be described in more detail with reference to FIG.

5 is a block diagram illustrating a detailed configuration of a prediction information selector applied to an encoding apparatus using contradictory verification according to an embodiment of the present invention.

The prediction information selector 240 according to an embodiment of the present invention includes a difference information reconstruction unit 510, an optimal prediction information candidate selection unit 520, a prediction information verification unit 530, and a prediction information candidate determination unit 540 . ≪ / RTI >

The difference information reconstruction unit 510 generates one or more reconstruction information using difference information output from the difference information calculation unit 230 and prediction information candidates belonging to a prediction information candidate set. The difference information reconstruction unit 510 can calculate reconstruction information using Equation (8).

Figure 112010064642984-pat00057

In Equation (8), d represents the difference information calculated by the difference information calculation unit 230,

Figure 112010064642984-pat00058
Represents a prediction information candidate of one of the different prediction information candidates selected by the prediction information candidate selection unit 210. [
Figure 112010064642984-pat00059
Function represents a function for calculating reconstruction information by inversely performing an operation process and a combination process defined by the encoder and the decoder in the difference information and the prediction information candidate,
Figure 112010064642984-pat00060
Is a prediction information candidate
Figure 112010064642984-pat00061
If you use
Figure 112010064642984-pat00062
The restoration information corresponding to the output information of the function is shown.

Here,

Figure 112010064642984-pat00063
Can be performed for each of the N different prediction information candidates belonging to the prediction information candidate set. However, the present invention is not limited thereto, and the number of prediction information candidates can be reduced in consideration of factors such as implementation efficiency and complexity. For example, the optimum prediction information candidate calculated by applying a cost function (a cost function adopted by the prediction information determination unit 220) to the reconstruction information reconstructed using the prediction information candidate selected as the optimal prediction information from the prediction information candidates is , It is always the same as the optimal prediction information determined by the prediction information determination unit 220, so that it can always be 'true' when verifying the contradictions described below. Therefore, the reconstruction information may not be generated for the prediction information candidate selected as the optimum prediction information from among the prediction information candidates. However, the present invention is not limited to this,
Figure 112010064642984-pat00064
May be repeatedly performed for each of the different prediction information candidates belonging to the prediction information candidate set in consideration of factors such as implementation efficiency and complexity. For example, when there are a plurality of encoding methods as well as a predictive encoding method, and when an optimum encoding method should be selected in terms of rate-distortion cost or other cost function, it can be repeatedly performed for cost calculation purposes.

Referring again to the motion encoding applied to the moving picture encoding apparatus, for example,

Figure 112010064642984-pat00065
(-2, 0), the predicted motion information candidate
Figure 112010064642984-pat00066
The difference information restoring unit 510 can generate restoration information according to Equations (9) to (11), assuming that {(0, 0), .

Figure 112010064642984-pat00067

Figure 112010064642984-pat00068

Figure 112010064642984-pat00069

Referring to Equation 9,

Figure 112010064642984-pat00070
Among the prediction motion information candidates selected by the prediction information candidate selection unit 210,
Figure 112010064642984-pat00071
Is the optimal prediction information for the current information,
Figure 112010064642984-pat00072
(-2,0) as restored motion information restored from the restored motion information. Further, referring to Equation (10)
Figure 112010064642984-pat00073
Among the prediction motion information candidates selected by the prediction information candidate selection unit 210,
Figure 112010064642984-pat00074
Is optimal prediction information,
Figure 112010064642984-pat00075
(-4, -1) as restored motion information restored from the restored motion information. Referring to Equation (11)
Figure 112010064642984-pat00076
Among the prediction motion information candidates selected by the prediction information candidate selection unit 210,
Figure 112010064642984-pat00077
Is optimal prediction information,
Figure 112010064642984-pat00078
(-2, -2) as restored motion information restored from the restored motion information. here,
Figure 112010064642984-pat00079
,
Figure 112010064642984-pat00080
,
Figure 112010064642984-pat00081
(8)
Figure 112010064642984-pat00082
.

The optimal prediction information candidate selection unit 520 determines optimum prediction information candidates for consuming the optimum cost using the prediction information candidates belonging to the prediction information candidate set for each of the reconstruction information reconstructed by the difference information reconstruction unit 510 . The optimum prediction information candidate selection unit 520 receives the reconstruction information reconstructed by the difference information reconstruction unit 510 and the prediction information candidates selected by the prediction information candidate selection unit 210, It is possible to select the optimum prediction information candidates corresponding to the optimum prediction information candidates.

Figure 112010064642984-pat00083

In Equation (12)

Figure 112010064642984-pat00084
The reconstruction information restored by the difference information restoration unit 510, p is an element of the CS set including candidates selected by the prediction information candidate selection unit 210,
Figure 112010064642984-pat00085
The restoration information restored by the difference information restoring unit 510,
Figure 112010064642984-pat00086
The optimal prediction information candidates are selected. here
Figure 112010064642984-pat00087
The function can use the same function as the function used in Equation (4). Likewise, the meaning of argmin should be interpreted in the same way as the explanation of Equation (4).

Referring again to the motion coding applied to the moving picture encoding apparatus, restoration motion information

Figure 112010064642984-pat00088
= (- 2, 0),
Figure 112010064642984-pat00089
= (-4, -1) and
Figure 112010064642984-pat00090
= - (- 2, -2) by applying Equations (13) to (15).

Figure 112010064642984-pat00091

Figure 112010064642984-pat00092

Figure 112010064642984-pat00093

Referring to Equation (13), the difference information reconstructing unit 510 reconstructs

Figure 112010064642984-pat00094
= (- 2, 0) and the prediction motion information candidate
Figure 112010064642984-pat00095
= {(0,0), (- 2, -1), (0, -2)},
Figure 112010064642984-pat00096
Is used as predictive motion information, the cost
Figure 112010064642984-pat00097
Lt; RTI ID = 0.0 > 6 &
Figure 112010064642984-pat00098
Is used as predictive motion information, the cost
Figure 112010064642984-pat00099
4 bits,
Figure 112010064642984-pat00100
Is used as predictive motion information, the cost
Figure 112010064642984-pat00101
Lt; / RTI > Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00102
The
Figure 112010064642984-pat00103
.

Referring to Equation (14), the difference information reconstructing unit 510 reconstructs

Figure 112010064642984-pat00104
= (-4, -1) and the prediction motion information candidate
Figure 112010064642984-pat00105
= {(0,0), (- 2, -1), (0, -2)},
Figure 112010064642984-pat00106
Is used as predictive motion information, the cost
Figure 112010064642984-pat00107
Lt; RTI ID = 0.0 > 10 &
Figure 112010064642984-pat00108
Is used as predictive motion information, the cost
Figure 112010064642984-pat00109
6 bits,
Figure 112010064642984-pat00110
Is used as predictive motion information, the cost
Figure 112010064642984-pat00111
Lt; / RTI > Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00112
The
Figure 112010064642984-pat00113
.

Referring to Equation (15), the difference information reconstructing unit 510 reconstructs

Figure 112010064642984-pat00114
= (- 2, -2) and the prediction motion information candidate
Figure 112010064642984-pat00115
= {(0,0), (- 2, -1), (0, -2)},
Figure 112010064642984-pat00116
Is used as predictive motion information, the cost
Figure 112010064642984-pat00117
Lt; RTI ID = 0.0 > 10 &
Figure 112010064642984-pat00118
Is used as predictive motion information, the cost
Figure 112010064642984-pat00119
4 bits,
Figure 112010064642984-pat00120
Is used as predictive motion information, the cost
Figure 112010064642984-pat00121
Lt; / RTI > Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00122
The
Figure 112010064642984-pat00123
.

The prediction information verification unit 530 uses the optimal prediction information candidates selected by the optimum prediction information candidate selection unit 520 for the reconstruction information, and outputs the prediction information candidate used for generating the reconstruction information as prediction information for the current information It performs an inconsistency verification that verifies whether there is a possibility of being used.

In one embodiment for performing the contradiction verification, it is determined whether the prediction information candidates used for generating the reconstruction information and the optimal prediction information candidates for the reconstruction information are identical or not. If they match, It can be verified that a contradiction has occurred.

That is, the criterion for determining the prediction information candidates in the CS that optimize the cost for the current information according to the criterion for determining the optimum prediction information for the current information, that is, according to Equation (4), is known in advance for both the encoding apparatus and the decoding apparatus . Therefore, if it is assumed that the difference information is obtained using an arbitrary element in the CS, an optimal prediction information candidate for optimizing the cost according to Equation (12) is selected in the CS for the restored reconstruction information using this element , And if the optimal prediction information candidate is the same as any one element in the CS assumed above, it can be determined that no contradiction has occurred. That is, the above assumption may not be wrong. On the other hand, if they are not the same, it is determined that a contradiction has occurred. That is, the above assumption can not be true. If the information in the CS assumed in the above is the optimum prediction information actually used by the encoding apparatus, the reconstruction information generated using the assumed information in the CS will be the current information, and the optimal prediction information candidate Will be information within the assumed CS. That is, if the prediction information candidate used to generate the reconstruction information does not coincide with the optimal prediction information candidate for the reconstruction information, the prediction information candidate used to generate the reconstruction information is likely to be prediction information for the current information Since there is no, it can be seen that a contradiction has occurred.

The contradiction verification process performed by the prediction information verifying unit 530 will be described using Equation (16).

Figure 112010064642984-pat00124

In equation (16)

Figure 112010064642984-pat00125
The optimal prediction information candidate selected by the optimum prediction information candidate selection unit 520,
Figure 112010064642984-pat00126
The prediction information candidate selecting unit 210 assumes arbitrary prediction information among the different prediction information candidates selected by the prediction information candidate selecting unit 210. [

Although Equation (16) can be performed for each of the different prediction information candidates selected by the prediction information candidate selecting unit 210, the present invention is not limited thereto and may be performed less than the number of prediction information candidates depending on factors such as implementation efficiency and complexity It is possible.

Referring again to the motion coding applied to the moving picture encoding apparatus, Equation (16) can be expressed as Equations (17) to (19).

Figure 112010064642984-pat00127

Figure 112010064642984-pat00128

Figure 112010064642984-pat00129

Referring to Equation (17), the optimal prediction motion information candidate selected by the optimal prediction information candidate selection unit 520

Figure 112010064642984-pat00130
The
Figure 112010064642984-pat00131
(17) is verified as " false ".

Referring to Equation (18), the optimal prediction motion information candidate selected by the optimal prediction information candidate selection unit 520

Figure 112010064642984-pat00132
The
Figure 112010064642984-pat00133
(18) is verified as " true ".

Referring to Equation (19), the optimal prediction motion information candidate selected by the optimal prediction information candidate selection unit 520

Figure 112010064642984-pat00134
The
Figure 112010064642984-pat00135
, Equation (19) is verified as " false ".

In the above description, it has been described that contradiction verification is performed by matching the prediction information candidates used for generating the reconstruction information with the optimal prediction information candidates for the reconstruction information. However, the present invention is not limited to this, There may be various methods for verifying whether or not the prediction information candidates used to generate reconstruction information are likely to be used as prediction information for the current information.

For example, as another embodiment for performing contradiction verification, the difference between the bit amount X of the difference information obtained by subtracting the reconstruction information and the optimal prediction information candidates for the reconstruction information from the current information and the prediction information for the current information Information, that is, the difference information calculator 230 may compare the bit amounts Y of the difference information generated according to Equation (6) with each other to perform contradiction verification. That is, in this realization example, if X <Y, it is verified that a contradiction has occurred, and otherwise, it can be verified that no contradiction occurs. This is explained as follows.

If the prediction information candidate used to generate the reconstruction information is the actual prediction information for the current information, the reconstruction information will be the same as the current information, so the optimal prediction information candidate for the reconstruction information will be the same as the actual prediction information for the current information . Therefore, in this case, X = Y, and in this case, it can be determined that at least a contradiction does not occur. On the other hand, if the prediction information candidate used to generate the reconstruction information is not the actual prediction information for the current information, the reconstruction information will have a different value from the current information, and thus, If the bit amount X for the difference information between the optimal prediction information candidates is compared with the bit amount Y, X <Y may occur. However, based on the amount of bits previously known by the encoder and decoder

Figure 112010064642984-pat00136
According to the optimal prediction information candidate selection method using Equation (4), the bit amount Y can not be larger than the difference information bit amount X when other prediction information candidates are used as prediction values. Therefore, if X < Y occurs, it means that a contradiction occurs, and the reason why the contradiction occurs is that the prediction information candidate used for generating reconstruction information can not be an appropriate prediction information candidate. That is, X < Y means that the prediction information candidate used to generate the reconstruction information is not likely to be the actual prediction information for the current information, so that the result of the contradiction verification becomes &quot; false &quot;.

In the realization example of the above contradiction verification, it is considered that a contradiction occurs only in the case of X < Y. In the case of X < Y in the above realization example, Another embodiment is also possible in which case it is determined that contradiction also occurs. In this realization example, the index information is given to the prediction information candidates in the CS set by a certain rule. for example,

Figure 112010064642984-pat00137
First candidate in
Figure 112010064642984-pat00138
The second candidate
Figure 112010064642984-pat00139
The index information is given so as not to be larger than the bit amount of the index information corresponding to
Figure 112010064642984-pat00140
for
Figure 112010064642984-pat00141
A rule for giving index information so as not to give index information of a bit amount larger than the bit amount of the index information to the index information is determined and these rules are shared by both the encoding apparatus and the decoding apparatus. By defining these rules for the index information assignment, the coding apparatus and the decoding apparatus can know the magnitude of the bit amount of the index information given to each prediction information candidate. Therefore, even if X and Y are the same, an index information bit amount Y 'for indicating prediction information on the current information and an index information bit amount X' for indicating a prediction information candidate used for generating reconstruction information, , It can be verified that the contradiction occurs if Y '>X', that is, the result of the contradiction verification is 'false'.

Also, in the above-described contradiction verification, the bit amounts of the difference information or the index information are compared with each other. However, it is also possible to realize the contradiction verification by comparing the sum of the bit amounts of the difference information and the index information with each other. For this, index information can be given to the prediction information candidates in the CS set according to a certain rule as described above. for example,

Figure 112010064642984-pat00142
First candidate in
Figure 112010064642984-pat00143
The second candidate
Figure 112010064642984-pat00144
The index information is given so as not to be larger than the bit amount of the index information corresponding to
Figure 112010064642984-pat00145
for
Figure 112010064642984-pat00146
A rule for giving index information so as not to give index information of a bit amount larger than the bit amount of the index information to the index information is determined and these rules are shared by both the encoding apparatus and the decoding apparatus. By defining these rules for the index information assignment, the coding apparatus and the decoding apparatus can know the magnitude of the bit amount of the index information given to each prediction information candidate. Therefore, the bit amount (X) of the difference information obtained by subtracting the reconstruction information and the optimal prediction information candidate for the reconstruction information from each other, the bit amount (Y) of the difference information between the current information and the prediction information for the current information, (Y ') corresponding to the current information is used for the index information bit amount X' given to the prediction information candidate used to generate the current information and the index information bit amount Y ' (Y + Y ') is compared with the bit amount (X + X') corresponding to the reconstruction information, it is determined that a contradiction occurs if (X + X ''.

The prediction information candidate determination unit 540 selects the prediction information candidates from the prediction information candidate set based on the verification result of the prediction information verification unit 530. [ That is, the prediction information verification unit 530 selects only the prediction information candidates that have been verified as 'true', and excludes the prediction information candidates that have been verified as 'false'.

For example, in Equation (17), 'Equation (18)' and 'Equation (19) are verified as'False','True' and 'False'

Figure 112010064642984-pat00147
The candidate motion information candidate
Figure 112010064642984-pat00148
Wow
Figure 112010064642984-pat00149
Except
Figure 112010064642984-pat00150
Constitute a set.

On the other hand, the prediction information candidate determining unit 540 assigns index information to the selected prediction information candidates on the basis of predefined rules, and outputs index information corresponding to the optimum prediction information determined by the prediction information determining unit 220 can do. Therefore, index information is not given to all the prediction information candidates included in the prediction information candidate set, and index information is given only to the prediction information candidates selected by the prediction information candidate determining unit 540. Therefore, .

On the other hand, the prediction information candidate determining unit 540 may not assign the index information when there is one selected prediction information candidate. This is because the decoding apparatus according to the embodiment of the present invention to be described later selects prediction information candidates in the same manner as in the encoding apparatus, and if the selected prediction information candidate is one, the decoding apparatus decides the prediction information without receiving the index information It is because.

6 is a flowchart illustrating an encoding method using contradictory verification according to an embodiment of the present invention.

The encoding method using contradictory verification according to an exemplary embodiment of the present invention selects optimal prediction information that consumes an optimum cost with respect to current information to be encoded from prediction information candidates belonging to a prediction information candidate set, And can be applied to a coding method for generating difference information using prediction information.

The encoding method using contradiction verification according to an exemplary embodiment of the present invention includes a difference information restoring step (S610) of restoring differential information using prediction information candidates belonging to a prediction information candidate set to generate at least one reconstruction information; An optimal prediction information candidate selection step (S620) of selecting optimal prediction information candidates that consume the optimum cost by using the prediction information candidates belonging to the prediction information candidate set for each of the one or more pieces of reconstruction information; And a prediction information candidate used for generating the reconstruction information using the optimal prediction information candidate for reconstruction information (i.e., a prediction information candidate used for restoring difference information in the difference information reconstruction step) A verification step (S630) of verifying whether or not there is a possibility of being used (contradiction verification); And a prediction information candidate determination step (S640) for selecting, from the prediction information candidate sets, only the prediction information candidates for which the result of the contradiction verification is 'true' based on the contradiction verification result performed in the prediction information verification step.

The difference information restoring step S610 may generate restoration information using all of the prediction information candidates belonging to the prediction information candidate set. Further, the difference information restoring step S610 may further include, It is also possible to generate restoration information using all the prediction information candidates excepted.

Meanwhile, the prediction information candidate determination step S640 may output index information corresponding to the optimal prediction information after assigning index information to the selected prediction information candidates. If there is one selected prediction information, May not be given.

The processes performed by the difference information restoring step S610, the optimum prediction information candidate selecting step S620, the prediction information verifying step S630 and the prediction information candidate determining step S640 are performed by the difference information restoring unit 510, The optimum prediction information candidate selecting unit 520, the prediction information verifying unit 530, and the prediction information candidate determining unit 540, the detailed description will be omitted.

Hereinafter, a decoding apparatus using contradiction verification according to an embodiment of the present invention will be described with reference to FIGS. 7 and 8. FIG.

7 is a block diagram illustrating a configuration of a decoding apparatus using contradiction verification according to an embodiment of the present invention.

The decoding apparatus 700 using the contradiction verification according to an embodiment of the present invention may include a prediction information candidate selection unit 710, a prediction information selection unit 720, and a reconstruction information calculation unit 730.

The prediction information candidate selection unit 710 selects a prediction information candidate set including one or more prediction information candidates related to the current information. The prediction information candidate selecting unit 710 selects the same prediction information candidate set in the same manner as the prediction information candidate selecting unit 210 of the encoding apparatus 200. [

3, block D is assumed to be a current block corresponding to current motion information to be decoded, and block A, block B, and block C are predicted to be predicted for block D, Assuming a block including motion information, the predictive motion information candidate set, like the motion picture encoding apparatus,

Figure 112010064642984-pat00151
to be.

The predictive information selector 720 receives the decoded encoded data (the differential information D can be considered as one example) generated by decoding the encoded data transmitted from the above-described encoding apparatus and the predictive information candidate selecting unit 710, And performs prediction verification based on the verification result to select the prediction information candidates that have not been verified by the contradiction from the prediction information candidate set. The prediction information selector 720 performs an inversion verification process and a prediction information candidate selection process in the same manner as the prediction information selector 240 of the encoding apparatus 200. In this specification, since the encoded data received from the encoding device refers to data obtained by encoding difference information, the decoded encoded data will be differential information. However, the present invention is not limited to this,

Figure 112010064642984-pat00152
May be different data values depending on how you define them.

In addition, the prediction information selector 720 assigns index information to each of the prediction information candidates selected in accordance with a predefined rule shared with the encoding apparatus 200, and outputs the same index as the index information received from the encoding apparatus 200 Prediction information candidate having information can be determined as the optimum prediction information and output to the reconstruction information calculation unit 730. [

On the other hand, when there is one selected prediction information candidate, the prediction information candidate becomes the optimum prediction information, so that it is possible not to add additional index information. At this time, the decoding apparatus 700 may not receive the index information for the optimum prediction information from the encoding apparatus 200. [

The prediction information selection unit 720 will be described later with reference to Fig.

The reconstruction information calculator 730 reconstructs the reconstructed encoded data generated by decoding the optimal prediction information received from the predictive information selector 720 and the data received from the encoder 200 The difference information of the realization example will be described). The reconstruction information can be calculated by Equation (20).

Figure 112010064642984-pat00153

In Equation (20)

Figure 112010064642984-pat00154
Assuming that the function is the same as Equation 8,
Figure 112010064642984-pat00155
Assumes the optimal prediction information selected by the prediction information selector 720, d assumes the difference information received, and R assumes reconstruction information.

The predictive information selector 720 selects a predictive motion information candidate set as in the predictive information selector 240 of the encoding apparatus 200. For example,

Figure 112010064642984-pat00156
Between
Figure 112010064642984-pat00157
. This will be described in more detail with reference to FIG.

The difference motion information transmitted from the encoding device 200

Figure 112010064642984-pat00158
Is (-2, 0), and the optimal predicted motion information is
Figure 112010064642984-pat00159
The reconstruction information can be calculated by Equation (21).

Figure 112010064642984-pat00160

Referring to Equation 18,

Figure 112010064642984-pat00161
(-4, -1) as restoration motion information, which is the same as the current motion information of the block D to be coded in FIG.

8 is a block diagram illustrating a detailed configuration of a prediction information selector applied to a decoding apparatus using contradictory verification according to an embodiment of the present invention.

The prediction information selector 720 according to the embodiment of the present invention has the same structure as that of the prediction information selector 240 of the encoder 200 and includes a difference information reconstructor 810, an optimal prediction information candidate selector 820 A prediction information verification unit 830, and a prediction information candidate determination unit 840.

The difference information reconstruction unit 810 generates reconstruction information using the difference information generated by decoding the data received from the encoding apparatus 200 and the prediction information candidates input from the prediction information candidate selection unit 710. [ The difference information restoring unit 810 can generate restoration information according to Equation (8) as in the difference information restoring unit 510 of the encoding apparatus 200. [

For example, motion decoding applied to a moving picture decoding apparatus will be described.

Figure 112010064642984-pat00162
(-2, 0), the predicted motion information candidate
Figure 112010064642984-pat00163
, The difference information restoration unit 810 can generate restoration information according to Equations (9) to (11), assuming that {0, 0, .

Referring to Equations (9) to (11), among the prediction motion information candidates selected by the prediction information candidate selecting unit 710

Figure 112010064642984-pat00164
Restored motion information
Figure 112010064642984-pat00165
Is (-2, 0)
Figure 112010064642984-pat00166
Restored motion information
Figure 112010064642984-pat00167
(-4, -1), and
Figure 112010064642984-pat00168
Restored motion information
Figure 112010064642984-pat00169
(-2, -2).

The optimal prediction information candidate selection unit 820 selects optimal prediction information candidates that consume the optimal cost using the prediction information candidates belonging to the prediction information candidate set for each of the one or more pieces of reconstruction information restored by the difference information restoration unit 810 . The optimum prediction information candidate selection unit 820 determines optimal prediction information candidates in the same manner as the optimum prediction information candidate selection unit 520 of the encoding apparatus 200 and applies the optimum prediction information candidates Can be determined.

Describing again the motion decoding applied to the moving picture decoding apparatus, the restored motion information

Figure 112010064642984-pat00170
= (-2, 0),
Figure 112010064642984-pat00171
= (-4, -1),
Figure 112010064642984-pat00172
= - (- 2, -2), it is possible to determine an optimal predicted motion information candidate.

By applying Equation (13), restoration motion information

Figure 112010064642984-pat00173
= (- 2, 0), the prediction motion information candidate
Figure 112010064642984-pat00174
= {(0, 0), (- 2, -1), (0, -2)
Figure 112010064642984-pat00175
Is used as predictive motion information, the cost
Figure 112010064642984-pat00176
Lt; RTI ID = 0.0 &gt; 6 &
Figure 112010064642984-pat00177
Is used as predictive motion information, the cost
Figure 112010064642984-pat00178
4 bits,
Figure 112010064642984-pat00179
Is used as predictive motion information, the cost
Figure 112010064642984-pat00180
Lt; / RTI &gt; Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00181
The
Figure 112010064642984-pat00182
.

On the other hand, by applying Equation (14)

Figure 112010064642984-pat00183
= (-4, -1), the prediction motion information candidate
Figure 112010064642984-pat00184
= {(0, 0), (- 2, -1), (0, -2)
Figure 112010064642984-pat00185
Is used as predictive motion information, the cost
Figure 112010064642984-pat00186
Lt; RTI ID = 0.0 &gt; 10 &
Figure 112010064642984-pat00187
Is used as predictive motion information, the cost
Figure 112010064642984-pat00188
6 bits,
Figure 112010064642984-pat00189
Is used as predictive motion information, the cost
Figure 112010064642984-pat00190
Lt; / RTI &gt; Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00191
The
Figure 112010064642984-pat00192
.

Further, by applying Equation (15), restoration motion information

Figure 112010064642984-pat00193
= (- 2, -2), the prediction motion information candidate
Figure 112010064642984-pat00194
= {(0, 0), (- 2, -1), (0, -2)
Figure 112010064642984-pat00195
Is used as predictive motion information, the cost
Figure 112010064642984-pat00196
Lt; RTI ID = 0.0 &gt; 10 &
Figure 112010064642984-pat00197
Is used as predictive motion information, the cost
Figure 112010064642984-pat00198
4 bits,
Figure 112010064642984-pat00199
Is used as predictive motion information, the cost
Figure 112010064642984-pat00200
Lt; / RTI &gt; Therefore, the optimal predicted motion information candidate
Figure 112010064642984-pat00201
The
Figure 112010064642984-pat00202
.

The prediction information verifying unit 830 uses the optimal prediction information candidates for the reconstruction information to generate prediction information candidates used to generate the reconstruction information (i.e., prediction information used by the difference information reconstructing unit 810 to reconstruct the difference information Candidate) is likely to have been used as prediction information for the current information. The prediction information verifying unit 830 performs contradiction verification in the same manner as the prediction information verifying unit 530 of the encoding apparatus 200 and can perform contradiction verification by applying Equation (16), for example.

For example, motion estimation and decoding applied to the moving picture decoding apparatus may be performed using Equation (17) to Equation (19). As described above, optimal motion information candidates selected by the optimal prediction information candidate selecting unit 820

Figure 112010064642984-pat00203
Wow
Figure 112010064642984-pat00204
All
Figure 112010064642984-pat00205
(17) and (19) are verified as &quot; false &quot;, and the optimal predictive motion information candidate
Figure 112010064642984-pat00206
The
Figure 112010064642984-pat00207
(18) is verified as &quot; true &quot;.

In the above description, it has been described that the contradiction verification is performed through the matching between the prediction information candidate used for generating the reconstruction information and the optimum prediction information candidate for the reconstruction information. However, the present invention is not limited to this, The difference information between the current information and the prediction information for the current information, that is, the difference information between the current information and the prediction information for the current information, that is, It may be possible to perform the contradiction verification by comparing the bit amounts of the difference information generated by decoding the received data. It is also possible to use the bit amount of the index information given to the prediction information candidate used for generating the reconstruction information, It is further contemplated to perform the contradiction verification by comparing the bit amounts of the index information to be given It may also contain more.

As another embodiment, as described in the encoding apparatus, in the above-described contradiction verification, the bit amounts of the difference information are compared with each other. However, contradiction verification is performed by comparing the sum of the bit amounts of the difference information and the index information with each other You can do it. That is, the sum of the bit amount of the difference information obtained by subtracting the reconstruction information and the optimal prediction information candidate for the reconstruction information from each other and the bit amount of the index information added to the prediction information candidate used to generate the reconstruction information, It is possible to perform contradiction verification by comparing the bit amount of the difference information generated by decoding the encoded data received from the apparatus with the sum of the bit amount of the index information with respect to the prediction information of the current information received from the encoding apparatus.

Since the process of verifying the contradiction of the decoding apparatus is the same as the process of verifying the contradiction in the coding apparatus, the detailed description will be omitted.

The prediction information candidate determining unit 840 selects the prediction information candidates from the prediction information candidate sets selected by the prediction information candidate selecting unit 710 based on the verification result of the prediction information verifying unit 830. [

For example, in the case of the motion decoding applied to the moving picture decoding apparatus, the verification result of Equations (17) to (19) is proved as "false", the equation (18) is "true", and the equation (19) Prediction motion information candidate

Figure 112010064642984-pat00208
The candidate motion information candidate
Figure 112010064642984-pat00209
Wow
Figure 112010064642984-pat00210
Except
Figure 112010064642984-pat00211
Thereby constituting a set.

As can be seen from this example, the predictive motion information candidates finally selected in the decoding apparatus 700 according to the embodiment of the present invention and the predictive motion information candidates finally selected in the encoding apparatus 700 become equal to each other.

On the other hand, the prediction information candidate determining unit 840 determines the prediction information candidates based on the predefined rules shared with the encoding apparatus 200 (e.g., assigning fixed length codewords (e.g., 000, 001, 010, ...), the variable length codeword can be assigned), and the prediction information candidate corresponding to the index information received from the encoding device 200 is output as the optimum prediction information for the current information .

If there is one selected prediction information candidate, the prediction information candidate determining unit 840 can output the prediction information candidate as optimal prediction information without adding index information separately. At this time, There is no need to receive index information.

9 is a flowchart illustrating a decoding method using contradiction verification according to an embodiment of the present invention.

The decoding method using contradiction verification according to an embodiment of the present invention can be applied to a decoding method of receiving differential information from an encoder and restoring the received differential information into current information.

The decoding method using the contradiction verification according to an embodiment of the present invention includes a prediction information candidate selection step (S910) for selecting a prediction information candidate set related to current information; A difference information restoring step (S920) of generating at least one restoration information using the difference information and the prediction information candidates belonging to the prediction information candidate set; An optimum prediction information candidate selection step (S930) of determining an optimal prediction information candidate that consumes an optimum cost using prediction information candidates belonging to a prediction information candidate set for each of the one or more pieces of reconstruction information; (I.e., a prediction information candidate used for restoring differential information in the differential information restoring step) used for generating the restoration information using the optimal prediction information candidate for restoration information is used as prediction information for the current information (Step S940) of verifying whether or not there is a possibility that the information is likely to have arrived (step S940); And a prediction information candidate determination step (S950) of selecting only the prediction information candidates for which there is no contradiction from the prediction information candidate sets based on the contradiction verification result of the prediction information verification step.

Here, the prediction information candidate determination step S950 may include assigning index information based on a predefined rule shared with the encoding apparatus 200 for the selected prediction information candidates, and then adding the index information received from the encoding apparatus 200 It is possible to output the prediction information candidate having the same index information as the optimum prediction information.

On the other hand, in the prediction information candidate determination step (S950), when there is one selected prediction information candidate, the prediction information candidate can be output as optimal prediction information without adding index information separately.

The processes performed by the prediction information candidates selection step S910, difference information restoration step S920, optimal prediction information candidate selection step S930, prediction information verification step S940, and prediction information candidate determination step S950, The information candidate selecting unit 710, the difference information restoring unit 810, the optimum prediction information candidate selecting unit 820, the prediction information verifying unit 830 and the prediction information candidate determining unit 840 The detailed description is omitted.

While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. That is, within the scope of the present invention, all of the components may be selectively coupled to one or more of them. In addition, although all of the components may be implemented as one independent hardware, some or all of the components may be selectively combined to perform a part or all of the functions in one or a plurality of hardware. As shown in FIG. The codes and code segments constituting the computer program may be easily deduced by those skilled in the art. Such a computer program can be stored in a computer-readable storage medium, readable and executed by a computer, thereby realizing an embodiment of the present invention. As the storage medium of the computer program, a magnetic recording medium, an optical recording medium, a carrier wave medium, or the like may be included.

Furthermore, the terms "comprises", "comprising", or "having" described above mean that a component can be implanted unless otherwise specifically stated, But should be construed as including other elements. All terms, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. Commonly used terms, such as predefined terms, should be interpreted to be consistent with the contextual meanings of the related art, and are not to be construed as ideal or overly formal, unless expressly defined to the contrary.

The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas falling within the scope of the same shall be construed as falling within the scope of the present invention.

As described above, according to the embodiment of the present invention, it is possible to increase the coding efficiency of the current information by using a plurality of prediction information candidates, and to reduce the number of information (bits) required to represent the index information of a plurality of prediction information candidates It is a very useful invention because it can not be added or minimized.

510: difference information restoration unit 520: optimal prediction information candidate selection unit
530: prediction information verifying unit 540: prediction information candidate determining unit

Claims (45)

delete A coding apparatus for coding first data generated using current information and prediction information after selecting prediction information of current information to be coded from prediction information candidates belonging to a prediction information candidate set,
Generating reconstruction information by reconstructing the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set, selecting prediction information of the reconstruction information from the prediction information candidate set, The method comprising the steps of: determining whether an arbitrary prediction information candidate is likely to be the prediction information used to generate the first data using at least one prediction information candidate belonging to the prediction information candidate set To thereby select prediction information candidates for which no contradiction does not occur,
And a decoding unit for decoding the encoded data.
3. The method of claim 2,
Wherein the verification of the contradiction verifies whether or not the prediction information of the reconstruction information matches the arbitrary prediction information candidate and verifies that a contradiction occurs when the prediction information does not match.
3. The method of claim 2,
Wherein the contradiction verification is performed by comparing a bit amount of the second data generated using the reconstruction information and the prediction information of the reconstruction information with the bit amount of the first data to verify whether or not a contradiction occurs. And
5. The method of claim 4,
The bit amount of the index information indicating the prediction information of the current information and the bit amount of the index information indicating the arbitrary prediction information candidate used for generating the reconstruction information are compared with each other, And further verifying whether or not the occurrence of a contradiction has occurred.
3. The method of claim 2,
The contradiction verification may be performed by comparing a bit amount of the second data generated using the reconstruction information and the prediction information of the reconstruction information with a bit amount of the index information indicating the arbitrary prediction information candidate used to generate the reconstruction information And verifies whether or not a contradiction occurs by comparing a sum of a bit amount of the first data and a sum of bit amounts of index information indicating prediction information of the current information with each other.
3. The method of claim 2,
Wherein the prediction information of the reconstruction information is selected using a cost function having the reconstruction information and prediction information candidates belonging to the prediction information candidate set as input values.
8. The method of claim 7,
Wherein the cost function calculates a cost by calculating at least one of a difference between input values, an absolute sum of differences of input values, a bit amount required to code a difference of input values, and a bit rate-distortion. Encoding apparatus using verification.
3. The method of claim 2,
Wherein the prediction information selector outputs index information corresponding to prediction information of the current information after assigning index information to the prediction information candidates for which the contradiction does not occur.
3. The method of claim 2,
Wherein the prediction information selector does not give index information when there is one prediction information candidate in which the contradiction does not occur.
3. The method of claim 2,
Wherein the first data is differential data between the current information and the prediction information.
5. The method of claim 4,
And the second data is differential data between the reconstruction information and the prediction information of the reconstruction information.
delete A decoding apparatus which decodes encoded data generated by encoding current information using prediction information and reconstructs the encoded data into the current information,
A prediction information candidate selecting unit for selecting a prediction information candidate set for the current information;
Generating reconstructed information reconstructed by reconstructing the decoded encoded data using an arbitrary predictive information candidate belonging to the predictive information candidate set, selecting prediction information of the reconstructed information from the predictive information candidate set, The method comprising the steps of: determining whether or not the arbitrary prediction information candidates are likely to be the prediction information used to generate the encoded data by comparing the one or more prediction information candidates belonging to the prediction information candidate sets A prediction information selector for selecting prediction information candidates that do not generate contradictions and outputting prediction information of the current information among the selected prediction information candidates; And
A reconstruction unit for reconstructing the current information using the prediction information of the current information outputted from the prediction information selection unit and the decoded encoded data,
And a decoding unit for decoding the encoded data.
15. The method of claim 14,
Wherein the verification of the contradiction verifies whether the prediction information of the reconstruction information matches the arbitrary prediction information candidate and verifies that a contradiction occurs when the prediction information does not match.
15. The method of claim 14,
Wherein the contradiction verification is performed by verifying whether or not a contradiction occurs by comparing a bit amount of third data generated using the reconstruction information and prediction information of the reconstruction information with a bit amount of the decoded encoded data.
15. The method of claim 14,
And an index indicating a bit amount of the index information indicating the prediction information of the current information and the arbitrary prediction information candidate used for generating the reconstruction information when it is verified that the contradiction does not occur as a result of the contradiction verification And comparing the bit amounts of the information with each other to further verify whether a contradiction occurs or not.
15. The method of claim 14,
Wherein the contradiction verification is a sum of a bit amount of the third data generated using the reconstruction information and the prediction information of the reconstruction information and a bit amount of the index information indicating the arbitrary prediction information candidate used for generating the reconstruction information And comparing the sum of the bit amount of the decoded encoded data with the sum of the bit amount of the index information indicating the prediction information of the current information received from the encoding device to verify the occurrence of a contradiction.
15. The method of claim 14,
The prediction information selector may output index information to the prediction information candidates for which the contradiction does not occur and output a prediction information candidate having the same index information as the index information received from the encoder as prediction information for the current information Decoding device using the contradiction verification feature.
delete delete 17. The method of claim 16,
And the third data is differential data between the reconstruction information and the prediction information of the reconstruction information.
A prediction information selector for receiving first information and prediction information candidates belonging to a prediction information candidate set generated by using current information and prediction information of the current information and reducing the number of prediction information candidates belonging to the prediction information candidate set,
A difference information reconstructing unit for reconstructing the reconstructed information reconstructed by using an arbitrary prediction information candidate belonging to the prediction information candidate set;
An optimal prediction information candidate selecting unit for selecting prediction information of the reconstruction information from the prediction information candidate set;
And a step of determining whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data by using the prediction information of the reconstruction information, A prediction information verifying unit for performing prediction for one or more prediction information candidates; And
A prediction information candidate deciding unit for deciding a prediction information candidate in which a contradiction has occurred among the prediction information candidates belonging to the prediction information candidate set,
The predictive information selection apparatus comprising:
24. The apparatus of claim 23, wherein the prediction information candidate determining unit comprises:
And provides the index information only to the prediction information candidates for which no contradiction has occurred.
delete delete delete delete delete delete delete delete delete A decoding method for decoding encoded data generated by encoding current information using prediction information and restoring the current information,
Selecting a prediction information candidate set for the current information;
Generating reconstructed information by reconstructing the decoded encoded data using an arbitrary predictive information candidate belonging to the predictive information candidate set;
Selecting prediction information prediction information from the prediction information candidate set;
A contradiction verification step of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the encoded data using the prediction information of the reconstruction information;
Generating the reconstruction information, selecting the prediction information of the reconstruction information in the prediction information candidate set, and performing the contradiction verification step on one or more prediction information candidates belonging to the prediction information candidate set, And outputting the prediction information of the current information among the selected prediction information candidates; And
And restoring the current information using the prediction information of the current information and the decoded encoded data
And decrypting the decrypted decrypted data.
35. The method of claim 34,
Wherein the verification of the contradiction verifies whether or not the prediction information of the reconstruction information matches the arbitrary prediction information candidate, and verifies that a contradiction occurs when the prediction information does not match.
35. The method of claim 34,
Wherein the contradiction verification is performed by using a contradiction verification method that verifies whether a contradiction occurs by comparing a bit amount of the third data generated using the reconstruction information and the prediction information of the reconstruction information with the bit amount of the decoded encoded data .
35. The method of claim 34,
And an index indicating a bit amount of the index information indicating the prediction information of the current information and the arbitrary prediction information candidate used for generating the reconstruction information when it is verified that the contradiction does not occur as a result of the contradiction verification Further comprising the step of comparing the bit amounts of the information with each other to verify whether a contradiction occurs or not.
35. The method of claim 34,
The contradiction verification may be performed by comparing a bit amount of the third data generated using the reconstruction information and the prediction information candidate of the reconstruction information with a bit amount of the index information used to generate the prediction information candidate used to generate the reconstruction information And comparing the sum of the bit amount of the decoded encoded data with the sum of the bit amount of the index information indicating the prediction information of the current information received from the encoding device to verify whether or not a contradiction occurs.
35. The method of claim 34,
And outputs prediction information candidates having the same index information as the index information received from the encoding device as prediction information for the current information, Decoding method.
35. The method of claim 34,
And outputs the prediction information candidate as prediction information for the current information when there is one prediction information candidate in which the contradiction does not occur.
A predictive information selection method for inputting first data and prediction information candidates belonging to a prediction information candidate set using current information and prediction information of the current information and reducing the number of prediction information candidates belonging to the prediction information candidate set,
Generating reconstruction information by restoring the first data using an arbitrary prediction information candidate belonging to the prediction information candidate set;
Selecting prediction information prediction information from the prediction information candidate set;
Performing an inconsistency verification process of verifying whether or not the arbitrary prediction information candidate is likely to be the prediction information used to generate the first data using the prediction information of the reconstruction information; And
Performing the steps on one or more prediction information candidates belonging to the prediction information candidate set to remove a prediction information candidate in which contradictory prediction information candidates belonging to the prediction information candidate set are removed
Wherein the predictive information selection method comprises the steps of:
42. The method of claim 41,
And assigning index information only to prediction information candidates for which no contradiction has occurred.
delete delete delete
KR20100097491A 2010-10-06 2010-10-06 Method And Apparatus for Encoding And Decoding Using Contradiction Test KR101418100B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR20100097491A KR101418100B1 (en) 2010-10-06 2010-10-06 Method And Apparatus for Encoding And Decoding Using Contradiction Test
PCT/KR2011/007423 WO2012047049A2 (en) 2010-10-06 2011-10-06 Method and apparatus for encoding and decoding using contradiction verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20100097491A KR101418100B1 (en) 2010-10-06 2010-10-06 Method And Apparatus for Encoding And Decoding Using Contradiction Test

Publications (2)

Publication Number Publication Date
KR20120037518A KR20120037518A (en) 2012-04-20
KR101418100B1 true KR101418100B1 (en) 2014-07-14

Family

ID=45928245

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20100097491A KR101418100B1 (en) 2010-10-06 2010-10-06 Method And Apparatus for Encoding And Decoding Using Contradiction Test

Country Status (2)

Country Link
KR (1) KR101418100B1 (en)
WO (1) WO2012047049A2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100001078A (en) * 2008-06-26 2010-01-06 에스케이 텔레콤주식회사 Method and apparatus for encoding and decoding motion vector
KR20120035769A (en) * 2010-10-06 2012-04-16 에스케이 텔레콤주식회사 Method and apparatus for encoding and decoding motion vector

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812197A (en) * 1995-05-08 1998-09-22 Thomson Consumer Electronics, Inc. System using data correlation for predictive encoding of video image data subject to luminance gradients and motion
CA2574127A1 (en) * 2002-01-18 2003-07-31 Kabushiki Kaisha Toshiba Video encoding method and apparatus and video decoding method and apparatus
JP4999859B2 (en) * 2006-10-30 2012-08-15 日本電信電話株式会社 Prediction reference information generation method, moving image encoding and decoding method, apparatus thereof, program thereof, and storage medium storing the program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100001078A (en) * 2008-06-26 2010-01-06 에스케이 텔레콤주식회사 Method and apparatus for encoding and decoding motion vector
KR20120035769A (en) * 2010-10-06 2012-04-16 에스케이 텔레콤주식회사 Method and apparatus for encoding and decoding motion vector

Also Published As

Publication number Publication date
KR20120037518A (en) 2012-04-20
WO2012047049A3 (en) 2012-07-12
WO2012047049A2 (en) 2012-04-12

Similar Documents

Publication Publication Date Title
US11570467B2 (en) Method for coding and an apparatus
CN110169061B (en) Coding and decoding electronic device and method
JP7145252B2 (en) Video decoding method
TWI559745B (en) Method for coding and an apparatus
KR102000451B1 (en) Enhanced intra prediction mode signaling
KR20160130731A (en) Video encoding and decoding method and apparatus using the same
US20190098312A1 (en) Image prediction method and related device
KR20110027480A (en) Motion vector coding method and apparatus and video coding method and apparatus by using same
KR20110045908A (en) Motion Vector Coding Method and Apparatus by Using Partitioning Space and Video Coding Method and Apparatus Using Same
JP2010517405A (en) Video encoding method and apparatus, video decoding method and apparatus
KR102600670B1 (en) Motion vector prediction method and device, encoder, and decoder
KR101721345B1 (en) Video encoding method, video encoding device, and video encoding program
KR20130004181A (en) Method and apparatus for encoding and decoding motion information using skip mode
KR101418100B1 (en) Method And Apparatus for Encoding And Decoding Using Contradiction Test
KR101543313B1 (en) Motion Vector Coding Method and Apparatus by Using Partitioning Space and Video Coding Method and Apparatus Using Same
KR101500300B1 (en) Selective Low-Power Video Codec with Interaction Between Encoder and Decoder, and an Encoding/Decoding Method Thereof
KR101543310B1 (en) Motion Vector Coding Method and Apparatus by Using Partitioning Space and Video Coding Method and Apparatus Using Same
KR101543309B1 (en) Motion Vector Coding Method and Apparatus by Using Partitioning Space and Video Coding Method and Apparatus Using Same
JP6438376B2 (en) Video encoding apparatus, video decoding apparatus, video encoding method, video decoding method, video encoding program, and video decoding program
KR101543323B1 (en) Motion Vector Coding Method and Apparatus by Using Partitioning Space and Video Coding Method and Apparatus Using Same
KR20120035769A (en) Method and apparatus for encoding and decoding motion vector
KR20130069681A (en) Motion vector encoding/decoding method and apparatus and video encoding/decoding method and apparatus
KR20130041000A (en) Motion vector encoding/decoding method and apparatus and video encoding/decoding method and apparatus
KR20130097958A (en) Device and method for encoding/decoding motion information

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
FPAY Annual fee payment

Payment date: 20170703

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180703

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190626

Year of fee payment: 6