WO2018143687A1 - Method and apparatus for performing transformation by using row-column transform - Google Patents

Method and apparatus for performing transformation by using row-column transform Download PDF

Info

Publication number
WO2018143687A1
WO2018143687A1 PCT/KR2018/001378 KR2018001378W WO2018143687A1 WO 2018143687 A1 WO2018143687 A1 WO 2018143687A1 KR 2018001378 W KR2018001378 W KR 2018001378W WO 2018143687 A1 WO2018143687 A1 WO 2018143687A1
Authority
WO
WIPO (PCT)
Prior art keywords
transform
inverse
row
column
matrix
Prior art date
Application number
PCT/KR2018/001378
Other languages
French (fr)
Korean (ko)
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 엘지전자(주)
Publication of WO2018143687A1 publication Critical patent/WO2018143687A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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

Definitions

  • the present invention relates to a method and apparatus for encoding / decoding a video signal, and more particularly to a row-column having better characteristics or orthogonality or separabiity to a given target transform.
  • a technique for designing a transform (row-column transform, hereinafter referred to as 'RCT').
  • Compression coding refers to a series of signal processing techniques for transmitting digitized information through a communication line or for storing in a form suitable for a storage medium.
  • Media such as an image, an image, an audio, and the like may be a target of compression encoding.
  • a technique of performing compression encoding on an image is called video image compression.
  • Next-generation video content will be characterized by high spatial resolution, high frame rate and high dimensionality of scene representation. Processing such content would result in a tremendous increase in terms of memory storage, memory access rate, and processing power.
  • the present invention proposes a method of improving coding efficiency through a new transform design.
  • the present invention seeks to design a transform that provides a low complexity and reasonable coding gain.
  • the present invention intends to design a row-column transform (RCT) that approximates a target transform well.
  • RCT row-column transform
  • An object of the present invention is to provide a method of designing a row-column transform (RCT) having characteristics of orthogonality or separability.
  • RCT row-column transform
  • the present invention proposes an encoder / decoder structure to reflect a new transform design.
  • the present invention provides a method for improving coding efficiency through a new transform design.
  • the present invention provides a method for designing a row-column transfum (RCT) that can approximate more important transform basis vectors by applying weights to transform basis vectors.
  • the present invention provides a method of designing all row-column transforms (RCTs) to have orthogonality, respectively.
  • the present invention provides a method of approximating by multiplying a permutation matrix before a target transform in order to increase an approximation of a row-column transform (RCT).
  • RCT row-column transform
  • the present invention provides a method of designing a separable row-column transform (RCT) having only one transform in a row direction and one in a column direction.
  • RCT separable row-column transform
  • the present invention provides a method of applying an absolute value operator when applying a Hungarian method to find a substitution matrix.
  • the present invention can design a much more efficient row-column transformation in terms of encoding efficiency and complexity when applying transform to encode and transmit still images or moving images. As such, the coding efficiency can be improved through the new transform design.
  • FIG. 1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
  • FIG. 2 is a schematic block diagram of a decoder in which decoding of a video signal is performed according to an embodiment to which the present invention is applied.
  • FIG. 3 is a diagram illustrating a division structure of a coding unit according to an embodiment to which the present invention is applied. It is a figure for demonstrating.
  • FIG. 4 is an embodiment to which the present invention is applied and shows a schematic block diagram of an RCT unit to which an RCT is applied.
  • FIG. 5 is an embodiment to which the present invention is applied and is a diagram for explaining a process of applying ROT.
  • FIG. 6 is a diagram for describing a process of applying an RCT in which two substitution matrices (P, Q) are used as an embodiment to which the present invention is applied.
  • FIG. 7 and 8 illustrate schematic block diagrams of an RCT unit for determining an RCT using two substitution matrices (P, Q) and an inverse RCT unit corresponding thereto according to embodiments to which the present invention is applied.
  • FIG. 9 is an embodiment to which the present invention is applied and is a flowchart illustrating a process of obtaining RCT coefficients.
  • FIG. 10 is a flowchart illustrating a process of performing decoding based on RCT coefficients according to an embodiment to which the present invention is applied.
  • the present invention relates to a row transform set based on a given transformation matrix (H) and an error tolerance parameter in a method for performing a transformation using a row-column transform.
  • H transformation matrix
  • RCT Row-Column Transform
  • the first and second substitution matrices are derived through an optimization process, and the optimization process is determined based on matching between a row-column transform (RCT) matrix and the given transform matrix (H), A row-column transform matrix is derived using the row transform set and the column transform set.
  • RCT row-column transform
  • H given transform matrix
  • the present invention is characterized in that the weight is applied in the process of inducing RCT.
  • the RCT matrix may be weighted to transform basis vectors.
  • the type Garlician method is applied, and the type Garlician method is performed by using an input to which the absolute value operator is applied.
  • each of the transforms in the row transform set and the column transform set is orthogonal.
  • each of the row transform set and the column transform set is a separable transform having a single transform.
  • the present invention utilizes a row-column transform to perform an inverse transform.
  • CLAIMS 1.
  • a method comprising: receiving a video signal; Obtaining coefficients from the video signal through entropy decoding and dequantization; Performing inverse-permutation and inverse-transform on the coefficients; And reconstructing the video signal using an inverse transformed coefficient, wherein the inverse transformed coefficient is applied by a first inverse transform matrix, an inverse-column transform set, an inverse-row transform set, and a second inverse transform matrix in order. It provides a method characterized in that it is obtained by.
  • performing the inverse transform comprises: applying a first inverse substitution matrix to the coefficients; Performing an inverse-column transform on coefficients to which the first inverse substitution matrix is applied; Performing an inverse-row transform on the inverse-column transformed coefficients; And applying a second inverse substitution matrix to the inverse-row transformed coefficients.
  • the inverse transform matrix is characterized by being weighted to transform basis vectors.
  • each transform in the inverse-row transform set and the inverse-column transform set is characterized by being orthogonal.
  • each of the inverse-row transform set and the inverse-column transform set is a separable transform having a single transform.
  • the present invention utilizes a row-column transform to perform the transformation.
  • a row transform set, a column transform set, and first and second substitution matrices are based on a given transformation matrix H and an error tolerance parameter.
  • a quantization unit configured to perform quantization on the quantized RCT coefficients, and an entropy encoding unit performing entropy encoding on the quantized RCT coefficients, wherein the RCT coefficients include the first substitution matrix, the row transform set, the column transform set, and the second transform coefficient.
  • An apparatus is provided which is obtained by applying a substitution matrix in order.
  • the present invention provides an apparatus for performing inverse transformation using a row-column transform, comprising: a receiver configured to receive a video signal; An entropy decoding unit for entropy decoding the residual signal; An inverse quantizer for inversely quantizing the entropy decoded residual signal to obtain a coefficient; An inverse transform unit performing inverse-permutation and inverse transform on the coefficients; And a reconstruction unit for reconstructing the video signal by using an inverse transform coefficient, wherein the inverse transform coefficient is applied by a first inverse transform matrix, an inverse-column transform set, an inverse-row transform set, and a second inverse transform matrix in order. It provides an apparatus characterized in that it is obtained by.
  • FIG. 1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
  • the encoder 100 includes an image segmentation unit 110, the conversion unit (1 20), a quantization unit 130, an inverse quantization unit 140, an inversion unit 150, a filtering unit (ISO) , Decryption It may include a decoded picture buffer (DPB) 170, an inter predictor 180, an intra predictor 185, and an entropy encoder 190.
  • the image divider 110 may divide an input image (or a picture or a frame) input to the encoder 100 into one or more processing units.
  • the processing unit encoding a tree unit may be: (Transform Unit ⁇ ) (CTU : Coding Tree Unit), coding units (CU:: Coding Unit), prediction unit (PU Prediction Unit) or a conversion unit.
  • the terms are only used for the convenience of description of the present invention, the present invention is not limited to the definition of the terms.
  • the term coding unit is used as a unit used in encoding or decoding a video signal, but the present invention is not limited thereto and may be appropriately interpreted according to the present invention.
  • the encoder 100 may generate a residual signal by subtracting a prediction signal output from the inter predictor 180 or the intra predictor 185 from the input image signal, and generate the residual signal. Is transmitted to the conversion unit 120>.
  • the transform unit 120 may generate a transform coefficient by applying a transform technique to the residual signal.
  • the conversion process may be applied to pixel blocks having the same size as the square, or may be applied to blocks of variable size rather than square.
  • the conversion technique described in the present invention may be applied to pixel blocks having the same size as the square, or may be applied to blocks of variable size rather than square.
  • RCT Row-Column Transform
  • the RCT unit may be included in or replaced with the conversion unit.
  • the transform unit may use various transform techniques, and one of them may use RCT.
  • the present invention provides a method for improving coding efficiency through a new transform design.
  • the present invention provides a method of designing a Row-Column Transform (RCT) that can approximate more important transform basis vectors by applying weights to transform basis vectors.
  • RCT Row-Column Transform
  • the present invention provides a method of designing all row-column transforms (RCTs) to have orthogonality.
  • the present invention also provides a method of approximating by multiplying a permutation matrix before a target transform in order to increase the approximation of a row-column transform (RCT).
  • RCT row-column transform
  • the present invention provides a method of designing a separable row-column transform (RCT) having only one transform in a row direction and one in a column direction.
  • RCT separable row-column transform
  • the present invention provides a method of applying an absolute value operator when applying a Hungarian method to find a substitution matrix.
  • the quantization unit 130 quantizes the transform coefficients to the entropy encoding unit 190.
  • the entropy encoding unit 190 may entropy-code the quantized signal and output the quantized signal in a bitstream.
  • the quantized signal output from the quantization unit 130 may be used to generate a prediction signal.
  • the quantized signal may recover the residual signal by applying inverse quantization and inverse transformation through inverse quantization unit 140 and inverse transform unit 150 in a loop.
  • the reconstructed signal may be generated by adding the reconstructed residual signal to a prediction signal output from the inter predictor 180 or the intra predictor 185.
  • deterioration of the block boundary may occur due to the quantization error generated in the above compression process. This phenomenon is called blocking artifacts, which is one of the important factors in evaluating image quality.
  • a filtering process may be performed. Through this filtering process, the image quality can be improved by removing the blocking degradation and reducing the error of the current picture.
  • the filtering unit 160 applies filtering to the reconstruction signal and outputs it to the reproduction apparatus or transmits the decoded picture buffer to the decoded picture buffer 170.
  • the filtered signal transmitted to the decoded picture buffer 170 may be used as the reference picture in the inter predictor 180. As such, by using the filtered picture as a reference picture in the inter prediction mode, not only image quality but also encoding efficiency may be improved.
  • the decoded picture buffer 170 references the filtered picture in the inter prediction unit 180. You can save it for use as a picture.
  • the inter prediction unit 180 performs temporal prediction and / or spatial prediction to remove temporal redundancy and / or spatial redundancy with reference to a reconstructed picture.
  • the reference picture used to perform the prediction is a transformed signal that has been quantized and dequantized in units of blocks at the time of encoding / decoding, a blocking artifact or a ringing artifact may exist. have.
  • the inter prediction unit 180 may interpolate the signals between pixels in sub-pixel units by applying a lowpass filter in order to solve the performance degradation caused by the block continuity or quantization.
  • the subpixel refers to a virtual pixel generated by applying an interpolation filter
  • the integer pixel refers to an actual pixel existing in the reconstructed picture.
  • the interpolation method linear interpolation, bi-linear interpolation, and Wiener filter may be applied.
  • the interpolation filter may be applied to a reconstructed picture to improve the precision of prediction.
  • the inter prediction unit 180 generates an interpolation pixel by applying an interpolation filter to integer pixels, and uses an interpolated block composed of interpolated pixels as a prediction block. Predictions can be performed.
  • the intra predictor 185 may predict the current block by referring to sample poles around the block to which current encoding is to be performed.
  • the intra The prediction unit 185 may perform the following process to perform intra prediction. First, reference samples necessary for generating a prediction signal may be prepared. The prediction signal may be generated using the prepared reference sample. Then, the prediction mode is encoded. In this case, the reference sample may be prepared through reference sample padding and / or reference sample filtering. Since the reference sample has been predicted and reconstructed, there may be a quantization error. Accordingly, the reference sample filtering process may be performed for each prediction mode used for intra prediction to reduce such an error.
  • a prediction signal generated through the inter predictor 180 or the intra predictor 185 may be used to generate a reconstruction signal or to generate a residual signal.
  • 2 is a schematic block diagram of a decoder in which decoding of a video signal is performed as an embodiment to which the present invention is applied.
  • the decoder 200 includes a parser (not shown), an entropy decoder 210, an inverse quantizer 220, an inverse transformer 230, a filter 240, and a decoded picture buffer (DPB). It may include a decoded picture buffer unit) 250, an inter predictor 260, and an intra predictor 265.
  • the reconstructed video signal output through the decoder 200 may be reproduced through the reproducing apparatus.
  • the decoder 200 may receive a signal output from the encoder 100 of FIG. 1, and the received signal may be entropy decoded through the entropy decoding unit 210. have.
  • the inverse quantization unit 220 obtains a transform coefficient from the entropy decoded signal using the quantization stem size information.
  • the inverse transform unit 230 inversely transforms the transform coefficient to obtain a residual signal.
  • the present invention provides a method of designing a new RCT transform, and the embodiments described herein may be applied. In addition, the processes of the embodiments described in the encoder may be reversely applied.
  • a reconstructed signal is generated by adding the obtained residual signal to a prediction signal output from the inter predictor 260 or the intra predictor 265.
  • the filtering unit 240 applies filtering to the reconstructed signal and outputs the filtering to the reproducing apparatus or transmits it to the decoded picture buffer unit 250.
  • the filtered signal transmitted to the decoded picture buffer unit 250 may be used as the reference picture in the inter predictor 260.
  • FIG. 3 is a diagram for describing a division structure of a coding unit according to an embodiment to which the present invention is applied.
  • the encoder converts one image (or picture) into a rectangular coding tree unit (CTU). Coding Tree Unit) can be divided into units. Then, one CTU is sequentially encoded according to a raster scan order. For example, the size of the CTU may be set to any one of 64x64, 32x32, and 16x16, but the present invention is not limited thereto.
  • the encoder may select and use the size of the CTU according to the resolution of the input video or the characteristics of the input video.
  • the CTU may include a coding tree block (CTB) for luma components and a coding tree block (CTB) for two chroma components.
  • One CTU may be decomposed into a quadtree (QT) structure.
  • QT quadtree
  • one CTU may be divided into four units having a square shape and each side is reduced by half in length.
  • the decomposition of this QT structure can be done recursively.
  • the root node of the QT may be associated with a CTU.
  • the QT may be split until it reaches a leaf node, where the leaf node may be referred to as a coding unit (CU).
  • CU coding unit
  • a CU may mean a basic unit of coding in which an input image is processed, for example, intra / inter prediction is performed.
  • the CU may include a coding block (CB) for luma components and a CB for two chroma components.
  • the size of the CU may be determined by any one of 64 ⁇ 6 4 , 32 ⁇ 32, 16 ⁇ 16, and 8 ⁇ 8.
  • the present invention is not limited thereto, and in the case of a high resolution image, the size of the CU may be larger or more diverse.
  • a CTU corresponds to a root node and has a smallest depth (ie, level 0) value.
  • the CTU may not be divided according to the characteristics of the input image. In this case, the CTU corresponds to a CU.
  • the CTU may be decomposed in QT form, and as a result, lower nodes having a depth of level 1 may be generated. And, a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 1 corresponds to a CU.
  • CU a
  • CU a
  • CU b
  • CU j
  • FIG. 3 (b) CU (a), CU (b), and CU (j), which perform on nodes a, b, and j, are divided once in the CTU and have a depth of level 1.
  • At least one of the nodes having a depth of level 1 may be split into QT again.
  • a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 2 corresponds to a CU.
  • CU (C), CU (h), CU (i) which complies with nodes c, h and i, are divided twice in the CTU and have a depth of level 2.
  • At least one of the nodes having a depth of 2 may be divided into QTs.
  • a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 3 corresponds to a CU.
  • CU (d), CU (e), CU (f), and CU (g) for nodes d, e, f, and g are divided three times in the CTU, and level 3 Has a depth of
  • the maximum size or the minimum size of the CU may be determined according to characteristics (eg, resolution) of the video image or in consideration of encoding efficiency. In addition, information on this or information capable of deriving the information may be included in the bitstream. Can be.
  • a CU having a maximum size may be referred to as a largest coding unit (LCU), and a CU having a minimum size may be referred to as a smallest coding unit (SCU).
  • LCU largest coding unit
  • SCU smallest coding unit
  • a CU having a tree structure may be hierarchically divided with predetermined maximum depth information (or maximum level information).
  • Each partitioned CU may have depth information. Since the depth information indicates the number and / or degree of division of the CU, the depth information may include information about the size of the CU.
  • the size of the SCU can be obtained by using the size and maximum depth information of the LCU. Or conversely, using the size of the SCU and the maximum depth information of the tree, the size of the LCU can be obtained.
  • information indicating whether the corresponding CU is split may be delivered to the decoder.
  • the information may be defined as a split pull lag, and may be represented by a syntax element "split_cu_f lag".
  • the division flag may be included in all CUs except the SCU. For example, if the split flag value is '1', the CU is divided into 4 CUs again, and if the split flag value is 0, the CU is no longer divided and the coding process for the CU is not divided. Can be performed.
  • the division process of the OJ has been described as an example, but the QT structure described above may also be applied to the division process of a transform unit (TU), which is a basic unit for performing transformation.
  • TU transform unit
  • a TU may be hierarchically divided into QT structures from a CU to be coded.
  • a CU may correspond to a root node of a tree for a transform unit (TU).
  • the TU divided from the CU may be divided into smaller lower TUs.
  • the size of the TU may be determined by any one of 32x32, 16x16, 8x8, and 4x4.
  • the present invention is not limited thereto, and in the case of a high resolution image, the size of the TU may be larger or more diverse.
  • information indicating whether the corresponding TU is divided may be delivered to the decoder.
  • the information may be defined as a split transform flag and may be represented by a syntax element "split_transform_flag".
  • the division conversion flag may be included in all TUs except the TU of the minimum size. For example, when the value of the division conversion flag is '1', the corresponding TU is divided into four TUs again. When the value of the division conversion flag is '0', the corresponding TU is no longer divided.
  • a CU is a basic unit of coding in which intra prediction or inter prediction is performed. It can be divided into: (Prediction Unit PU) units of the input picture predicting unit CU in order to more efficiently coded.
  • (Prediction Unit PU) units of the input picture predicting unit CU in order to more efficiently coded.
  • the PU is a basic unit for generating a prediction block, and may generate different prediction blocks in PU units within one CU.
  • the PU may be divided differently according to whether an intra prediction mode or an inter prediction mode is used as a coding mode of a CU to which the PU belongs.
  • 4 is an embodiment to which the present invention is applied and shows a schematic block diagram of an RCT unit to which an RCT is applied.
  • the present invention provides an RCT in which transformations that are not two-dimensional separable are defined based on sets of one-dimensional linear transformations and basis ordering permutation.
  • the invention provides RCT by optimizing the set of one-dimensional .linear transforms applied to the rows and columns of blocks, given non-separable block transforms for the region of interest in the image, and obtaining alignment substitution for the optimal transform coefficients.
  • Equation (1) the first basis vector (b a vector si s) of the j-th row conversion, it can be expressed by the following matrix shown in Equation (1).
  • Equation 2 an RCT matrix, G (N 2 xN 2 ), may be defined as Equation 2 below.
  • the transformation of the block X can be obtained by applying a substitution matrix after obtaining G T x.
  • Row-Column Transform (RCT) Design The optimal row-column (RC) approximation of the desired transform matrix H 3 ⁇ 4 ( ⁇ ''; ⁇ ' ) can be expressed as an optimization problem in .
  • Equation 4 is due to a P permutation matrix constraint, "is a joint optimization statement.
  • a row-column (RC) constraint for G can be explicitly written as follows. , Where J is the j th column of C ' '' . At this time, B 3 ⁇ 4 C (3 "'is the same as Equation 5 .
  • Equation 8 If you replace Mr. 'in Equation 5 Equation 6 can be derived.
  • is the (i, j> th NXN partition of the matrix H and ⁇ can be expressed as Equation (8).
  • the RCT unit 400 to which the present invention is applied may largely include an RCT inducing unit 410 and an RCT applying unit 420.
  • the RCT derivation unit 410 generates a row transform set, a column transform set, and a permutation matrix based on a given transformation matrix ⁇ and an error tolerance parameter. ) Can be induced.
  • the substitution matrix may be derived through an optimization process.
  • the optimization process may be determined by matching a Low-C and n Transform (RCT) matrix with the given transform matrix (H).
  • RCT matrix may be derived using the row transform set and the column transform set.
  • the row-column transform matrix may mean the matrix G of Equations 2 and 3 above.
  • the RCT applying unit 420 may obtain a transform coefficient based on the row transform set and the column transform set.
  • the transformation coefficient may be obtained by performing a column transformation after performing a row transformation.
  • the RCT applying unit 420 may obtain a row-column transform (RCT) coefficient by applying the substitution matrix to the transform coefficient.
  • RCT row-column transform
  • the operation of the RCT unit 400 is divided into the RCT inducing unit 410 and the RCT applying unit 420, but the present invention is not limited thereto, and the process of obtaining the RCT coefficient is It can be understood that the conversion unit 120 is performed.
  • the RCT unit 400 may be included in, or replaced with, the conversion unit.
  • the transform unit may use various transformation techniques, and one of them may use RCT.
  • FIG. 5 is a diagram for describing a process in which an RCT and a substitution matrix are applied as an embodiment to which the present invention is applied.
  • the present invention uses a Row-Column Transform (RCT) as a new method for approximating non-separable transforms.
  • RCT Row-Column Transform
  • the RCT may be defined as a set of one-dimensional transforms applied to the rows and columns of the signal blocks followed by substitution of coefficients.
  • the RCT proposed as an embodiment of the present invention is more of a non-separable transform It is advantageous in that it can maintain the complexity of separable transforms while providing good approximations.
  • RCT requires 2N 3 (or multiply-adds of 21 ⁇ 2 109 ⁇ in case fast conversion is used, while general non-separable conversion). (non-separable transform) has the computational complexity of.
  • FIG. 6 is a diagram illustrating a process of designing an RCT in which two substitution matrices (P, Q) are used as an embodiment to which the present invention is applied.
  • the present invention provides various embodiments for designing a Row-Column Transform (RCT) in a new way to better approximate a target transform.
  • RCT Row-Column Transform
  • Weighted Row-Column Transform (RCT) Design Algorithm An embodiment of the present invention provides a method of designing a weighted RCT (hereinafter, referred to as a weighted RCT 'or a weighted RCT'). .
  • Equation 9 may be used to find the weighted RCT.
  • Equation 9 minimize "'H” PG) -d "ia ⁇ ⁇ P T w J '
  • G represents an RCT matrix
  • P represents a substitution matrix
  • weight w is defined by the following equation (10).
  • Equations 9 and 10 may be applied to the RCT design algorithms Al, A2, and A3 described herein.
  • Forward transform (forward transform) and inverse transformation (inverse transform) with respect to the embodiments 2 uses both of the substitution matrix Q and p are the same as PG Q ⁇ f Q T T T GP respectively.
  • P and Q may be applied to all embodiments, but in the embodiments 1,2 and 4, Q may be regarded as a case of identity matrix I.
  • G may consist of a row, converting the (s row transform) and the heat conversion (column transform). For example, ⁇ is equal to multiplying 1 ( ⁇ " for each row (i-th row) and then multiplying C (j) 1 ⁇ for each column (j-th column), where G is each It is equivalent to multiplying C (j) for the column (column j) and then multiplying R "> for each row (column i).
  • Example 4 which will be described below, since a separable row-column transform (RCT) is presented, all R ( “are the same as R and It may mean that all c (j> are equal to c.
  • RCT row-column transform
  • the first substitution matrix Q is applied to block X, and After performing the row transformation and the column transformation, a series of processes for obtaining the transformation coefficient Y can be confirmed by applying the second substitution matrix P.
  • the RCT unit 700 to which the present invention is applied may be divided into a first substitution matrix application unit 710, a row transformation application unit 720, a column transformation application unit 730, and a second substitution matrix application unit. 740 may include.
  • the first substitution matrix applying unit 710 may apply a first substitution matrix Q to the pixel data X.
  • the RCT unit 700 may first perform row transformation and column transformation.
  • the row transformation may be performed by the row transformation application unit 720
  • the column transformation may be performed by the column transformation application unit 730.
  • the second substitution matrix applying unit 740 applies the second substitution matrix P by Transformation coefficient Y can be obtained.
  • the inverse RCT unit 800 to which the present invention is applied may be divided into a first inverse substitution matrix application unit 810, an inverse-row transformation application unit 820, an inverse-column transformation application unit 830, and the like.
  • a second inverse substitution matrix application 840 .
  • the inverse RCT unit 800 obtains the pixel data X by applying an inverse transform to a transform coefficient.
  • the first inverse-substitution matrix applying unit 810 may apply a first inverse-substitution matrix ( ⁇ ⁇ ) to the transform coefficient (k).
  • the inverse RCT unit 800 may first perform inverse-column conversion and then perform inverse-row transformation.
  • the inverse-column transformation may be performed by the inverse-% conversion application unit 820, and the inverse-row transformation may be performed by the inverse-row transformation application unit 830.
  • the second inverse substitution matrix applying unit 840 may obtain the transform coefficient ⁇ by applying the second substitution matrix.
  • the present embodiment it is assumed that both ⁇ and Q are applied and that R ′′) and c ( j ) may be differently applied to each row and column, but the present invention is not limited thereto.
  • the configuration of FIGS. 6 to 8 may be applied to each embodiment.
  • X and Y have a 2D block data type, but the present invention is not limited thereto, and a lexicographical order (eg The conversion matrix can be applied after converting to 1D vector according to, row-first or column-first.
  • the block data to which the substitution matrix is applied may be converted back into a 2D block data type in order to apply a row direction or a column direction transformation.
  • the order may be according to the dictionary order.
  • the present invention provides a method for determining a column transform C (i) when the row transform R (i) and the substitution matrix P are fixed.
  • L k ⁇ A ⁇ is the k th basis vector of the i th row transformation and l JX l is the first basis vector of the j th row transformation.
  • is a matrix of H divided by the same size and has the dimension of XN.
  • diag (P T w) diag (P T z) may be used.
  • diag (x) represents a function that finds the NxN diagonal matrix by placing the Nxl input vector x on the diagonal line of the NxN matrix and setting the remaining elements to zero.
  • equations (12) to (14) can be used to determine the column transform (C ) .
  • Equation 14 C (i) represents a column transform, which can be calculated by multiplying two orthogonal matrices by V '. And the above V c ⁇ f 'in two orthogonal matrices can be derived by applying Singular Value Decomposition (SVD) to Equation (13).
  • the present invention provides a column transform C (i) and substitution. When the matrix (P) is fixed, it provides a way to determine the row transform 13 ⁇ 4.
  • Equation 18 The matrix H in Equation 16 is equal to H in Equation 11.
  • 11 represents a row transform, which can be calculated by multiplying two orthogonal matrices by,. And in the two orthogonal matrices,
  • the invention relates to a method of designing an orthogonal RCT.
  • the algorithm Al represents a flow to which the scheme described in Equations 11 to 18 is applied.
  • step 1 the encoder is k k0, G (0), P (0) I, R U) — CC ( ⁇ C ;, for all /, c— ⁇ ) may be initialized, wherein steps 4 to 7 correspond to Equations 11 to 14, which are row transforms. ) The process of determining the column transform C (i) when R (i) and the substitution matrix (P) are fixed.
  • Steps 8 to 11 are based on Equations 15 to IS, and include column transform C (i) and a substitution matrix.
  • (P) is fixed, the row A process of determining a row transform R ′′ ) is shown.
  • the column transforms C (i) obtained from the above steps 4 to 7 are input to the above steps 8 to 11, and the row transforms obtained from the current while-loop iteration R (i) column transforms transform) C (i) can be used in the next while-loop iteration.
  • the while-loop is repeated until the amount of change in the error value obtained in step 15 becomes small enough to converge.
  • the weight is also reflected (for example, diag (P T w) or diag (P T Z )), and when the change amount (c) of the difference is hardly changed.
  • the substitution matrix P is obtained in step 13
  • G and ⁇ W T are input to a Hungarian method algorithm, which can be confirmed by Equation 19 below.
  • P (k) represents a P matrix value in the k-th iteration
  • G (k) can be interpreted in the same manner.
  • Equation 21 an optimal substitution matrix P may be obtained by Equation 21 below, and an optimal substitution matrix Q may be obtained by Equation 22 below. Equation 21
  • Tr ( ') denotes a trace (trace)
  • p represents the substitution matrix
  • Equation 22 can be solved by finding an optimal assignment between H and G column vectors, and the type Garian method can be applied. Through this, an optimal substitution matrix Q can be obtained.
  • the present invention provides an overall algorithm for a new substitution method for RCT design, as shown in Table 2 below.
  • Algorithm A2 represents an exemplary flow for the method of Equations 20-22. For example, steps 11 to 12 first find P (k), and then Q (k) is determined as the new P (k). Steps 11 to 12 may be performed in reverse. For example, first Q (k) is determined and then Q (k) can be used to determine P (k).
  • the substitution matrix Q of Equation 20 may be used for the RCT design in the algorithms ⁇ 1, A2, and A3.
  • Algorithm A2 solves Equations 20 and 22 to find transform matrix G 'and substitution matrix P', Q * (step 16).
  • the encoder transforms a given A row transform set, a column transform set and a permutation matrix can be derived based on the matrix H and the error tolerance parameter.
  • the substitution matrix may mean a matrix obtained by replacing a row of an identity matrix.
  • the encoder can perform initialization such as k — 0, G (0) — I, P (0) — I, Q (0) —] :, c — ⁇ (step 1). If C> ⁇ , k ⁇ / f N ( ⁇ ⁇ ' ' ⁇ ' ⁇ ⁇ ⁇ ' ) can be obtained (steps 3 to 6). In this case, singular value decomposition with respect to Equation (16)
  • the encoder may acquire or derive G ij ⁇ ⁇ ⁇ ⁇ ⁇ using Equation 18 (step 7).
  • ⁇ ( ⁇ ) ⁇ ⁇ instead of G can be described by the following equation (23).
  • P (k) and Q (k) mean P and Q substitution matrices in the k-th while-loop iteration, and P (k) obtained in step 11 may be used to obtain Q in step 12. Can be.
  • step 14 the amount of difference between QHP and G is calculated. If the amount of change of the difference is small enough, the while-loop is terminated.
  • the present invention provides a method of designing a separable RCT with only unique transformations for row and column directions.
  • the separable RCT may mean that a single transform exists in the row and column directions, respectively.
  • the method of determining one row direction transformation is represented by Equation 24 below.
  • the present invention proposes the following two methods for determining one row direction transformation.
  • Equation 2 5 is a transformation commonly used in the row direction The formula for finding the j th column. Ie 2
  • the present invention proposes the following two methods for determining one thermal direction conversion.
  • Equation 28 is an i-th column vector of the forward transform c T applied to all columns.
  • Equation 26 Denotes the j-th block diagonal matrix divided by the same size in ⁇ as shown in Equation 26, and has an NxN dimension.
  • r is the j th column of the transformation matrix R commonly used in the row direction r
  • step 5 When deriving R (C) in step 4 (step 5), it is assumed that C (R) is given and fixed. Steps 4 and 5 may be switched.
  • matrices such as unit matrix, discrete cosine transform (DCT), karhunen—loeve transform (KLT), and sparse orthonormal transform (SOT), such as R, ml , and C ma may be starting points.
  • DCT discrete cosine transform
  • KLT karhunen—loeve transform
  • SOT sparse orthonormal transform
  • step 9 the difference between HP and G is calculated, and if there is little change, the algorithm is considered to have converged and the while-loop Will end.
  • Example 5 A method of using an absolute value operator when applying a Hungarian method to find a substitution matrix
  • the present invention proposes a method of applying an absolute operator when applying a Hungarian method to find a substitution matrix.
  • the input J of the Hungarian method can be understood and defined in the following equation (30).
  • the present invention is not limited thereto, and the input J may be modified according to the Hungarian algorithm.
  • the present invention proposes a method of using J calculated by the following equation (31) as an input to a type Garian algorithm.
  • Denotes an absolute value operator for each element. If the G r H matrix is input directly to the Hungarian algorithm (where the cost matrix can be-G T H o ⁇ ), the elements of the matrix are negative. It may have a sign. If there is an element with a large absolute value and a negative sign in the G T H matrix, the absolute value of the dot product is excluded except that the corresponding base vector pairs (the base vector of G and the base vector of H) are in opposite directions. Although the matching is good because the value is large, the phenomenon may be excluded from the matching by considering the corresponding cost value large.
  • Equation 32 the problem of finding an optimal allocation may be summarized as in Equation 32 below.
  • the encoder may derive the row transform set, the column transform set, and the first and second substitution matrices based on the given transformation matrix) and the error tolerance parameter (S910).
  • the first and second substitution matrices are derived through an optimization process, and the optimization process is performed by using a low-column transform (RCT) matrix with the given transform matrix (H). It can be determined based on the match.
  • RCT low-column transform
  • the row-column transform matrix may be derived using the row transform set and the column transform set, wherein the RCT matrix is weighted to transform basis vectors. It features.
  • the type Garlician method is applied, the type Garlician method may be performed by using an input to which the absolute value operator is applied.
  • each of the transforms in the row transform set and the column transform set is orthogonal.
  • each of the row transform set and the column transform set is a separable transform having a single transform.
  • the encoder may obtain a Row-Column Transform (RCT) coefficient based on the row transform set, the column transform set, and the first and second substitution matrices (S920).
  • RCT Row-Column Transform
  • the first substitution matrix, the row transformation set, the column transformation set, and the nearly b substitution matrix may be sequentially applied.
  • the encoder may perform quantization and entropy encoding on the RCT coefficients (S930).
  • 10 is a flowchart illustrating a process of performing decoding based on RCT coefficients according to an embodiment to which the present invention is applied.
  • the decoder to which the present invention is applied may receive a video signal.
  • the decoder may obtain transform coefficients from the video signal through entropy decoding and inverse quantization.
  • the transform coefficient may refer to a Row-Column Transform (RCT) coefficient to which the present invention is applied, and the RCT coefficient may mean that the embodiments described herein are applied.
  • RCT Row-Column Transform
  • the decoder comprises: a first station for the substitution matrix transform coefficients - can be applied to (1 st inverse permutation matrix) ( S1010).
  • the decoder may perform an inverse-column transform on coefficients to which the first inverse substitution matrix is applied (S1020).
  • the decoder may perform an inverse-row transform on the inverse-column transformed coefficient (S1030).
  • the decoder it is possible to apply the second reverse substitution matrix (2 nd inverse- permutation matrix) for an inverse transform coefficients (S1040).
  • the inverse transform matrix used in the inverse transform process may be weighted to transform basis vectors.
  • each transform in the inverse-row transform set and the inverse-column transform set is all orthogonal.
  • each of the inverse-row transform set and the inverse-column transform set is a separable transform having a single transform.
  • the decoder may reconstruct the video signal using the pixel data (S1050).
  • the embodiments described herein may be implemented and performed on a processor, microprocessor, controller, or chip.
  • the functional units illustrated in FIGS. 1, 2, 4, and 7 to 8 may be implemented by a computer, a processor, a microprocessor, a controller, or a chip.
  • the decoder and encoder to which the present invention is applied include a multimedia broadcasting transmitting and receiving device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real time communication device such as video communication, a mobile streaming device, Storage media, camcorders, video on demand (VoD) service providing devices, internet streaming service providing devices, three-dimensional (3D) video devices, video telephony video devices, and medical video devices, and the like, for processing video signals and data signals Can be used for.
  • a multimedia broadcasting transmitting and receiving device include a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real time communication device such as video communication, a mobile streaming device, Storage media, camcorders, video on demand (VoD) service providing devices, internet streaming service providing devices, three-dimensional (3D) video devices, video telephony video devices, and medical video devices, and the like, for processing video signals and
  • the processing method to which the present invention is applied can be produced in the form of a program executed by a computer, and can be stored in a computer-readable recording medium.
  • Multimedia data having a data structure according to the present invention can also be stored in a computer-readable recording medium.
  • the computer readable recording medium includes all kinds of storage devices for storing computer readable data.
  • the computer-readable recording medium may include, for example, a Blu-ray disc (BD), a universal serial bus (USB), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the Computer-readable recording media include media embodied in the form of carrier waves (eg, transmission over the Internet).
  • the bit stream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.

Abstract

The present invention provides a method for performing transformation by using a row-column transform, the method comprising the steps of: deriving a row transform set, a column transform set, and first and second permutation matrices on the basis of a given transform matrix (H) and a given error tolerance parameter; acquiring row-column transform (RCT) coefficients on the basis of the row transform set, the column transform set, and the first and second permutation matrices; and performing quantization and entropy-encoding of the RCT coefficients, wherein the RCT coefficients are acquired by applying the first permutation matrix, the row transform set, the column transform set, and the second permutation matrix in that order.

Description

【명세서】  【Specification】
【발명의 명칭】  [Name of invention]
행-열 변환을 이용하여 변환을 수행하는 방법 및 장치  Method and apparatus for performing transformation using row-column transformation
【기술분야】  Technical Field
본 발명은 비디오 신호의 인코딩 /디코딩 방법 및 장치에 관한 것이며, 보다 구체적으로 주어진 타겟 변환 ( target transform)에 보다 잘 근사하거나 직교성 ( orthogonality) 또는 분리 가능성 ( separabi l ity )의 특성을 갖는 행-열 변환 (Row- Column Transform , 이하 ' RCT '라 함)을 설계하는 기술에 관한 것이다.  The present invention relates to a method and apparatus for encoding / decoding a video signal, and more particularly to a row-column having better characteristics or orthogonality or separabiity to a given target transform. A technique for designing a transform (row-column transform, hereinafter referred to as 'RCT').
【배경기술】  Background Art
압축 부호화란 디지털화한 정보를 통신 회선을 통해 전송하거나, 저장 매체에 적합한 형태로 저장하기 위한 일련의 신호 처리 기술을 의미한다. 영상, 이미지, 음성 등의 미디어가 압축 부호화의 대상이 될 수 있으며, 특히 영상을 대상으로 압축 부호화를 수행하는 기술을 비디오 영상 압축이라고 일컫는다. 차세대 비디오 컨텐츠는 고해상도 ( high spatial resolution) , 고프레임율 (high f rame rate ) 및 영상 표현의 고차원화 ( high dimensionality of scene representation)라는 특징을 갖게 될 것이다. 그러한 컨텐츠를 처리하기 위해서는 메모리 저장 (memory storage ) , 메모리 액세스율 (memory access rate ) 및 처리 전.력 ( processing power) 측면에서 엄청난 증가를 가져올 것이다.  Compression coding refers to a series of signal processing techniques for transmitting digitized information through a communication line or for storing in a form suitable for a storage medium. Media such as an image, an image, an audio, and the like may be a target of compression encoding. In particular, a technique of performing compression encoding on an image is called video image compression. Next-generation video content will be characterized by high spatial resolution, high frame rate and high dimensionality of scene representation. Processing such content would result in a tremendous increase in terms of memory storage, memory access rate, and processing power.
따라서 , 차세대 비디오 컨텐츠를 보다 효율적으로 처리하기 위한 새로운 코딩 를을 디자인할 필요가 있다. 특히 , 변환 ( transform)을 적용할 때 부호화 효율과 복잡도 측면에서 훨씬 효율적인 변환을 설계할 필요가 있다. As a result, new ways to process next-generation video content more efficiently You need to design your coding. In particular, when applying transform, it is necessary to design a transform that is much more efficient in terms of encoding efficiency and complexity.
【발명의 상세한 설명】  [Detailed Description of the Invention]
【기술적 과제】  [Technical problem]
본 발명은 새로운 변환 디자인을 통해 코딩 효율을 향상시키는 방법을 제안하고자 한다.  The present invention proposes a method of improving coding efficiency through a new transform design.
본 발명은 저복잡도의 합리적인 코딩 이득을 제공하는 변환을 디자인하고자 한다.  The present invention seeks to design a transform that provides a low complexity and reasonable coding gain.
본 발명은 타겟 변환에 잘 근사화하는 RCT ( Row- Column Transform)를 디자인하고자 한다.  The present invention intends to design a row-column transform (RCT) that approximates a target transform well.
본 발명은 직교성 ( orthogonal ity) 또는 분리 가능성 ( separability)의 특성을 갖는 RCT ( Row- Column Transform)를 설계하는 방법을 제공하고자 한다.  An object of the present invention is to provide a method of designing a row-column transform (RCT) having characteristics of orthogonality or separability.
본 발명은 새로운 변환 디자인을 반영하기 위한 인코더 /디코더 구조를 제안하고자 한다.  The present invention proposes an encoder / decoder structure to reflect a new transform design.
【기술적 해결방법】  Technical Solution
본 발명은 새로운 변환 디자인을 통해 코딩 효율을 향상시키는 방법을 제공한다.  The present invention provides a method for improving coding efficiency through a new transform design.
본 발명은 변환 기저 백터들에 가중치를 적용하여 보다 중요한 변환 기저 백터들에 잘 근사할 수 있는 RCT ( Row- Column Transf orm)를 설계하는 방법을 제공한다. 본 발명은 모든 RCT ( Row- Column Transform)들이 각각 직교성 ( orthogonality)을 갖도록 설계하는 방법을 제공한다. The present invention provides a method for designing a row-column transfum (RCT) that can approximate more important transform basis vectors by applying weights to transform basis vectors. The present invention provides a method of designing all row-column transforms (RCTs) to have orthogonality, respectively.
본 발명은 RCT ( Row- Column Transform)의 근사도를 높이기 위해 타겟 변환 ( target transform) 앞에 치환 행렬 (permutation matrix )을 곱하여 근사하는 방법올 제공한다.  The present invention provides a method of approximating by multiplying a permutation matrix before a target transform in order to increase an approximation of a row-column transform (RCT).
본 발명은 행 방향과 열 방향에 대해 각각 유일한 변환만을 갖는 분리 가능한 RCT ( separable Row- Column Transform)를 설계하는 방법을 제공한다.  The present invention provides a method of designing a separable row-column transform (RCT) having only one transform in a row direction and one in a column direction.
본 발명은 치환 행렬을 찾기 위해 형가리안 방법 ( Hungarian method)을 적용할 때 절대값 연산자를 적용하는 방법을 제공한다.  The present invention provides a method of applying an absolute value operator when applying a Hungarian method to find a substitution matrix.
【발명의 효과】  【Effects of the Invention】
본 발명은 정지 영상 또는 동영상을 부호화 하여 전송하기 위해 변환 ( transform)을 적용할 때 부호화 효율과 복잡도 측면에서 훨씬 효율적인 행-열 변환을 설계할 수 있다. 이와 같이, 새로운 변환 디자인을 통해 코딩 효율을 향상시킬 수 있다.  The present invention can design a much more efficient row-column transformation in terms of encoding efficiency and complexity when applying transform to encode and transmit still images or moving images. As such, the coding efficiency can be improved through the new transform design.
【도면의 간단한 설명】  [Brief Description of Drawings]
도 1은 본 발명이 적용되는 실시예로서, 비디오 신호의 인코딩이 수행되는 인코더의 개략적인 블록도를 나타낸다.  1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
도 2는 본 발명이 적용되는 실시예로서, 비디오 신호의 디코딩이 수행되는 디코더의 개략적인 블록도를 나타낸다 .  2 is a schematic block diagram of a decoder in which decoding of a video signal is performed according to an embodiment to which the present invention is applied.
도 3은 본 발명이 적용되는 실시예로서, 코딩 유닛의 분할 구조를 설명하기 위한 도면이다. 3 is a diagram illustrating a division structure of a coding unit according to an embodiment to which the present invention is applied. It is a figure for demonstrating.
도 4는 본 발명이 적용되는 실시예로서, RCT가 적용되는 RCT부의 개략적인 블록도를 나타낸다 .  4 is an embodiment to which the present invention is applied and shows a schematic block diagram of an RCT unit to which an RCT is applied.
도 5는 본 발명이 적용되는 실시예로서 , ROT가 적용되는 과정을 설명하기 위한 도면이다.  5 is an embodiment to which the present invention is applied and is a diagram for explaining a process of applying ROT.
도 6은 본 발명이 적용되는 실시예로서 , 2개의 치환 행렬 (P,Q)이 이용되는 RCT를 적용하는 과정을 설명하기 위한 도면이다.  6 is a diagram for describing a process of applying an RCT in which two substitution matrices (P, Q) are used as an embodiment to which the present invention is applied.
도 7 및 도 8은 본 발명이 적용되는 실시예들로서, 2개의 치환 행렬 (P,Q)이 이용되는 RCT를 결정하는 RCT부 및 그에 대응되는 역 RCT부의 개략적인 블록도를 나타낸다.  7 and 8 illustrate schematic block diagrams of an RCT unit for determining an RCT using two substitution matrices (P, Q) and an inverse RCT unit corresponding thereto according to embodiments to which the present invention is applied.
도 9는 본 발명이 적용되는 실시예로서 , RCT 계수를 획득하는 과정을 설명하기 위한 흐름도이다.  9 is an embodiment to which the present invention is applied and is a flowchart illustrating a process of obtaining RCT coefficients.
도 10은 본 발명이 적용되는 실시예로서 , RCT 계수에 기초하여 디코딩을 수행하는 과정을 설명하기 위한 흐름도이다.  10 is a flowchart illustrating a process of performing decoding based on RCT coefficients according to an embodiment to which the present invention is applied.
【발명의 실시를 위한 최선의 형태】  [Best form for implementation of the invention]
본 발명은, 행-열 변환 (Row-Column Transform)을 이용하여 변환을 수행하는 방법에 있어서 , 주어진 변환 행렬 (H) 및 에러 공차 파라미터 (error tolerance parameter)에 기초하여 행 변환 셋 (row transform set) , 열 변환 셋 (column transform set) 및 제 1, 제 2 치환 행렬들 (permutation matrices)을 유도하는 단계 ; 상기 행 변환 셋 , 상기 열 변환 셋 및 상기 제 1, 제 2 치환 행렬들에 기초 여 RCT( Row- Column Transform) 계수를 획득하는 단계; 및 상기 RCT 계수에 대해 양자화 및 엔트로피 인코딩을 수행하는 단계를 포함하되, 상기 RCT 계수는 상기 제 1 치환 행렬, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 2 치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 방법을 제공한다. The present invention relates to a row transform set based on a given transformation matrix (H) and an error tolerance parameter in a method for performing a transformation using a row-column transform. ), Deriving a column transform set and first and second permutation matrices; Obtaining a Row-Column Transform (RCT) coefficient based on the row transform set, the column transform set, and the first and second substitution matrices. step; And performing quantization and entropy encoding on the RCT coefficients, wherein the RCT coefficients are obtained by sequentially applying the first substitution matrix, the row transform set, the column transform set, and the second substitution matrix. It provides a method characterized in that.
본 발명에서, 상기 제 1, 제 2 치환 행렬은 최적화 과정올 통해서 유도되고, 상기 최적화 과정은 RCT( Row- Column Transform) 행렬과 상기 주어진 변환 행렬 (H)과의 매칭에 기초하여 결정되고, 상기 RCT( Row- Column Transform) 행렬은 상기 행 변환 셋 및 상기 열 변환 셋을 이용하여 유도되는 것을 특징으로 한다.  In the present invention, the first and second substitution matrices are derived through an optimization process, and the optimization process is determined based on matching between a row-column transform (RCT) matrix and the given transform matrix (H), A row-column transform matrix is derived using the row transform set and the column transform set.
본 발명은, RCT를 유도하는 과정에서 가중치가 적용된 것을 특징으로 한다. 예를 들어, 상기 RCT 행렬은 변환 기저 백터 (transform basis vector)들에 가중치가 적용된 것을 특징으로 한다.  The present invention is characterized in that the weight is applied in the process of inducing RCT. For example, the RCT matrix may be weighted to transform basis vectors.
본 발명에서, 상기 최적화 과정은 형가리안 방법이 적용되고, 상기 형가리안 방법은 절대값 연산자가 적용된 입력을 이용함으로써 수행되는 것을 특징으로 한다.  In the present invention, the type Garlician method is applied, and the type Garlician method is performed by using an input to which the absolute value operator is applied.
본 발명에서 , 상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 한다 .  In the present invention, each of the transforms in the row transform set and the column transform set is orthogonal.
본 발명에서 , 상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 각각은 싱글 변환 (single transform)을 갖는 분리가능한 변환인 것을 특징으로 한다.  In the present invention, each of the row transform set and the column transform set is a separable transform having a single transform.
본 발명은, 행―열 변환 (Row-Column Transform)을 이용하여 역변환을 수행하는 방법에 있어서, 비디오 신호를 수신하는 단계; 상기 비디오 신호로부터 엔트로피 디코딩 및 역양자화를 통해 계수를 획득하는 단계; 상기 계수에 대해 역치환 (inverse-permutation) 및 역변환 (inverse- transform)을 수행하는 단계; 및 역변환된 계수를 이용하여 상기 비디오 신호를 복원하는 단계를 포함하되, 상기 역변환된 계수는 제 1 역치환 행렬, 역- 열 변환 셋, 역-행 변환 셋 및 제 2 역치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 방법을 제공한다. The present invention utilizes a row-column transform to perform an inverse transform. CLAIMS 1. A method, comprising: receiving a video signal; Obtaining coefficients from the video signal through entropy decoding and dequantization; Performing inverse-permutation and inverse-transform on the coefficients; And reconstructing the video signal using an inverse transformed coefficient, wherein the inverse transformed coefficient is applied by a first inverse transform matrix, an inverse-column transform set, an inverse-row transform set, and a second inverse transform matrix in order. It provides a method characterized in that it is obtained by.
본 발명에서, 상기 역변환 수행 단계는, 상기 계수에 대해 제 1 역치환 행렬을 적용하는 단계; 상기 제 1 역치환 행렬이 적용된 계수에 대해 역-열 변환 (inverse-column transform)을 수행하는 단계 ; 상기 역 -열 변환된 계수에 대해 역 -행 변환 (inverse- row transform)을 수행하는 단계 ; 및 상기 역-행 변환된 계수에 대해 제 2 역치환 행렬을 적용하는 단계를 포함하는 것을 특징으로 한다.  In the present invention, performing the inverse transform comprises: applying a first inverse substitution matrix to the coefficients; Performing an inverse-column transform on coefficients to which the first inverse substitution matrix is applied; Performing an inverse-row transform on the inverse-column transformed coefficients; And applying a second inverse substitution matrix to the inverse-row transformed coefficients.
본 발명에서, 역변환 행렬은 변환 기저 백터 (transform basis vector)들에 가중치가 적용된 것을 특징으로 한다 .  In the present invention, the inverse transform matrix is characterized by being weighted to transform basis vectors.
본 발명에서 , 상기 역-행 (row) 변환 셋 및 상기 역-열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 한다 .  In the present invention, each transform in the inverse-row transform set and the inverse-column transform set is characterized by being orthogonal.
본 발명에서, 상기 역-행 (row) 변환 셋 및 상기 역-열 (column) 변환 셋 각각은 싱글 변환 (single transform)을 갖는 분리가능한 변환인 것을 특징으로 한다.  In the present invention, each of the inverse-row transform set and the inverse-column transform set is a separable transform having a single transform.
본 발명은, 행 -열 변환 (Row-Column Transform)을 이용하여 변환을 수행하는 장치에 있어서 , 주어진 변환 행렬 (H) 및 에러 공차 파라미터 (error tolerance parameter)에 기초하여 행 변환 셋 (row transform set) , 열 변환 셋 (column transform set) 및 제 1, 제 2 치환 행렬들 (permutation matrices)을 유도하고, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 1, 제 2 치환 행렬들에 기초히 "여 RCT( Row -Column Transform) 계수를 획득하는 변환부; 상기 RCT 계수에 대해 양자화를 수행하는 양자화부; 및 상기 양자화된 RCT 계수에 대해 엔트로피 인코딩을 수행하는 엔트로피 인코딩부를 포함하되, 상기 RCT 계수는 상기 제 1 치환 행렬, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 2 치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 장치를 제공한다. The present invention utilizes a row-column transform to perform the transformation. In a performing apparatus, a row transform set, a column transform set, and first and second substitution matrices are based on a given transformation matrix H and an error tolerance parameter. a transformation unit for deriving permutation matrices and acquiring " RCT " coefficients based on the row transform set, the column transform set, and the first and second substitution matrices; A quantization unit configured to perform quantization on the quantized RCT coefficients, and an entropy encoding unit performing entropy encoding on the quantized RCT coefficients, wherein the RCT coefficients include the first substitution matrix, the row transform set, the column transform set, and the second transform coefficient. An apparatus is provided which is obtained by applying a substitution matrix in order.
본 발명은, 행-열 변환 (Row-Column Transform)을 이용하여 역변환을 수행하는 장치에 있어서, 비디오 신호를 수신하는 수신부; 상기 레지듀얼 신호를 엔트로피 디코딩하는 엔트로피 디코딩부; 상기 엔트로피 디코딩된 레지듀얼 신호를 역양자화하여 계수를 획득하는 역양자화부; 상기 계수에 대해 역치환 ( inverse-permutation) 및 역변환 (inverse— transform)을 수행하는 역변환부; 및 역변환된 계수를 이용하여 상기 비디오 신호를 복원하는 복원부를 포함하되, 상기 역변환된 계수는 제 1 역치환 행렬, 역-열 변환 셋, 역-행 변환 셋 및 제 2 역치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 장치를 제공한다. The present invention provides an apparatus for performing inverse transformation using a row-column transform, comprising: a receiver configured to receive a video signal; An entropy decoding unit for entropy decoding the residual signal; An inverse quantizer for inversely quantizing the entropy decoded residual signal to obtain a coefficient; An inverse transform unit performing inverse-permutation and inverse transform on the coefficients; And a reconstruction unit for reconstructing the video signal by using an inverse transform coefficient, wherein the inverse transform coefficient is applied by a first inverse transform matrix, an inverse-column transform set, an inverse-row transform set, and a second inverse transform matrix in order. It provides an apparatus characterized in that it is obtained by.
【발명의 실시를 위한 형태】  [Form for implementation of invention]
이하, 첨부된 도면을 참조하여 본 발명의 실시예의 구성과 그 작용을 설명하며, 도면에 의해서 설명되는 본 발명의 구성과 작용은 하나의 실시예로서 설명되는 것이며, 이것에 의해서 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다. Hereinafter, with reference to the accompanying drawings, the configuration and operation of the embodiment of the present invention The configuration and operation of the present invention described with reference to the drawings will be described as one embodiment, and the technical idea and core construction and operation of the present invention are not limited thereto.
아울러, 본 발명에서 사용되는 용어는 가능한 한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 특정한 경우는 출원인이 임의로 선정한 용어를 사용하여 설명한다. 그러한 경우에는 해당 부분의 상세 설명에서 그 의미를 명확히 기재하므로 , 본 발명의 설명에서 사용된 용어의 명칭만으로 단순 해석되어서는 안 될 것이며 그 해당 용어의 의미까지 파악하여 해석되어야 함을 밝혀두고자 한다 .  In addition, the terminology used in the present invention was selected as a general term widely used as possible now, in a specific case will be described using terms arbitrarily selected by the applicant. In such a case, since the meaning is clearly described in the detailed description of the relevant part, it should not be interpreted simply by the name of the term used in the description of the present invention, and it should be understood that the meaning of the term should be understood and interpreted. .
또한, 본 발명에서 사용되는 용어들은 발명을 설명하기 위해 선택된 일반적인 용어들이나, 유사한 의미를 갖는 다른 용어가 있는 경우 보다 적절한 해석을 위해 대체 가능할 것이다. 예를 들어, 신호, 데이터, 샘폴, 픽쳐, 프레임, 블록 등의 경우 각 코딩 과정에서 적절하게 대체되어 해석될 수 있을 것이다. 또한, 파티셔닝 (partitioning) , 분해 (decomposition) , 스플리팅 (splitting) 및 분할 (division) 등의 경우에도 각 코딩 과정에서 적절하게 대체되어 해석될 수 있을 것이다. 도 1은 본 발명이 적용되는 실시예로서, 비디오 신호의 인코딩이 수행되는 인코더의 개략적인 블록도를 나타낸다.  In addition, terms used in the present invention may be replaced for more appropriate interpretation when there are general terms selected to describe the invention or other terms having similar meanings. For example, signals, data, samples, pictures, frames, blocks, etc. may be appropriately replaced and interpreted in each coding process. In addition, partitioning, decomposition, splitting, and division may be appropriately replaced and interpreted in each coding process. 1 is a schematic block diagram of an encoder in which encoding of a video signal is performed as an embodiment to which the present invention is applied.
도 1을 참조하면 , 인코더 (100)는 영상 분할부 (110) , 변환부 (120) , 양자화부 (130) , 역양자화부 (140) , 역변환부 (150) , 필터링부 (ISO) , 복호 픽쳐 버퍼 (DPB: Decoded Picture Buffer) (170) , 인터 예측부 (180) , 인트라 예측부 (185) 및 엔트로피 인코딩부 (190)를 포함하여 구성될 수 있다. 영상 분할부 (110)는 인코더 (100)에 입력된 입력 영상 (Input image) (또는, 픽쳐 , 프레임 )를 하나 이상의 처리 유닛으로 분할할 수 있다. 예를 들어, 상기 처리 유닛은 코딩 트리 유닛 (CTU: Coding Tree Unit) , 코딩 유닛 (CU: Coding Unit) , 예측 유닛 (PU: Prediction Unit) 또는 변환 유닛 (Τϋ: Transform Unit)일 수 있다. 1, the encoder 100 includes an image segmentation unit 110, the conversion unit (1 20), a quantization unit 130, an inverse quantization unit 140, an inversion unit 150, a filtering unit (ISO) , Decryption It may include a decoded picture buffer (DPB) 170, an inter predictor 180, an intra predictor 185, and an entropy encoder 190. The image divider 110 may divide an input image (or a picture or a frame) input to the encoder 100 into one or more processing units. For example, the processing unit encoding a tree unit may be: (Transform Unit Τϋ) (CTU : Coding Tree Unit), coding units (CU:: Coding Unit), prediction unit (PU Prediction Unit) or a conversion unit.
다만, 상기 용어들은 본 발명에 대한 설명의 편의를 위해 사용할 뿐이며, 본 발명은 해당 용어의 정의에 한정되지 않는다. 또한, 본 명세서에서는 설명의 편의를 위해, 비디오 신호를 인코딩 또는 디코딩하는 과정에서 이용되는 단위로써 코딩 유닛이라는 용어를 사용하지만, 본 발명은 그에 한정되지 않으며 발명 내용에 따라 적절하게 해석 가능할 것이다.  However, the terms are only used for the convenience of description of the present invention, the present invention is not limited to the definition of the terms. In addition, in the present specification, for convenience of description, the term coding unit is used as a unit used in encoding or decoding a video signal, but the present invention is not limited thereto and may be appropriately interpreted according to the present invention.
인코더 (100)는 입력 영상 신호에서 인터 예측부 (180) 또는 인트라 예측부 (185)로부터 출력된 예측 신호 (prediction signal)를 감산하여 잔여 신호 (residual signal)를 생성할 수 있고, 생성된 잔여 신호는 변환부 (120〉로 전송된다.  The encoder 100 may generate a residual signal by subtracting a prediction signal output from the inter predictor 180 or the intra predictor 185 from the input image signal, and generate the residual signal. Is transmitted to the conversion unit 120>.
변환부 (120)는 잔여 신호에 변환 기법을 적용하여 변환 계수 (transform coef f icient )를 생성할 수 있다. 변환 과정은 정사각형의 동일한 크기를 갖는 픽셀 블록에 적용될 수도 있고, 정사각형이 아닌 가변 크기의 블록에도 적용될 수 있다. 상기 변환 기법으로 본 발명에서 설명하는 The transform unit 120 may generate a transform coefficient by applying a transform technique to the residual signal. The conversion process may be applied to pixel blocks having the same size as the square, or may be applied to blocks of variable size rather than square. The conversion technique described in the present invention
RCT( Row- Column Transform)이 이용될 수 있으며 , 본 명세서에서 이를 RCT부라 명명한다. RCT부는 상기 변환부에 포함되거나, 대체되어 적용될 수 있다. 또한,상기 변환부는 다양한 변환 기법들을 이용할 수 있고, 그 중 하나로 RCT를 이용할 수 있다 . Row-Column Transform (RCT) may be used, which is used herein. Named the RCT department. The RCT unit may be included in or replaced with the conversion unit. In addition, the transform unit may use various transform techniques, and one of them may use RCT.
본 발명은 새로운 변환 디자인을 통해 코딩 효율을 향상시키는 방법을 제공한다.  The present invention provides a method for improving coding efficiency through a new transform design.
예를 들어, 본 발명은 변환 기저 백터들에 가중치를 적용하여 보다 중요한 변환 기저 백터들에 잘 근사할 수 있는 RCT( Row— Column Transform)를 설계하는 방법을 제공한다.  For example, the present invention provides a method of designing a Row-Column Transform (RCT) that can approximate more important transform basis vectors by applying weights to transform basis vectors.
또한, 본 발명은 모든 RCT( Row -Column Transform)들이 각각 직교성 (orthogonality)을 갖도록 설계하는 방법을 제공한다.  In addition, the present invention provides a method of designing all row-column transforms (RCTs) to have orthogonality.
또한, 본 발명은 RCT( Row- Column Transform)의 근사도를 높이기 위해 타겟 변환 (target transform) 앞에 치환 행렬 (permutation matrix)을 곱하여 근사하는 방법을 제공한다 .  The present invention also provides a method of approximating by multiplying a permutation matrix before a target transform in order to increase the approximation of a row-column transform (RCT).
또한, 본 발명은 행 방향과 열 방향에 대해 각각 유일한 변환만을 갖는 분리 가능한 RCT (separable Row- Column Transform)를 설계하는 방법을 제공한다.  In addition, the present invention provides a method of designing a separable row-column transform (RCT) having only one transform in a row direction and one in a column direction.
또한, 본 발명은 치환 행렬을 찾기 위해 형가리안 방법 (Hungarian method)을 적용할 때 절대값 연산자를 적용하는 방법을 제공한다.  In addition, the present invention provides a method of applying an absolute value operator when applying a Hungarian method to find a substitution matrix.
이에 대한 구체적인 실시예들은 본 명세서에서 보다 상세히 설명하도록 한다.  Specific embodiments thereof will be described in more detail herein.
양자화부 (130)는 변환 계수를 양자화하여 엔트로피 인코딩부 (190)로 전송하고, 엔트로피 인코딩부 (190)는 양자화된 신호 (quantized signal)를 엔트로피 코딩하여 비트스트림으로 출력할 수 있다. The quantization unit 130 quantizes the transform coefficients to the entropy encoding unit 190. In addition, the entropy encoding unit 190 may entropy-code the quantized signal and output the quantized signal in a bitstream.
양자화부 (130)로부터 출력된 양자화된 신호 (quantized signal)는 예측 신호를 생성하기 위해 이용될 수 있다. 예를 들어, 양자화된 신호 (quantized signal)는 루프 내의 역양자화부 (140) 및 역변환부 (150)를 통해 역양자화 및 역변환을 적용함으로써 잔여 신호를 복원할 수 있다 . 복원된 잔여 신호를 인터 예측부 (180) 또는 인트라 예측부 (185)로부터 출력된 예측 신호 (prediction signal)에 .더함으로써 복원 신호 ( reconstructed signal) > 생성될 수 있다.  The quantized signal output from the quantization unit 130 may be used to generate a prediction signal. For example, the quantized signal may recover the residual signal by applying inverse quantization and inverse transformation through inverse quantization unit 140 and inverse transform unit 150 in a loop. The reconstructed signal may be generated by adding the reconstructed residual signal to a prediction signal output from the inter predictor 180 or the intra predictor 185.
한편, 위와 같은 압축 과정에서 발생한 양자화 에러에 의해 블록 경계가 보이는 열화가 발생될 수 있다. 이러한 현상을 블록킹 열화 (blocking artifacts)라고 하며 , 이는 화질을 평가하는 중요한 요소 중의 하나이다. 이러한 열화를 줄이기 위해 필터링 과정을 수행할 수 있다. 이러한 필터링 과정을 통해 블록킹 열화를 제거함과 동시에 현재 픽쳐에 대한 오차를 줄임으로써 화질을 향상시킬 수 있게 된다.  Meanwhile, deterioration of the block boundary may occur due to the quantization error generated in the above compression process. This phenomenon is called blocking artifacts, which is one of the important factors in evaluating image quality. In order to reduce such deterioration, a filtering process may be performed. Through this filtering process, the image quality can be improved by removing the blocking degradation and reducing the error of the current picture.
필터링부 (160)는 복원 신호에 필터링을 적용하여 이를 재생 장치로 출력하거나 복호 픽쳐 버퍼 (170)에 전송한다. 복호 픽쳐 버퍼 (170)에 전송된 필터링된 신호는 인터 예측부 (180)에서 참조 픽쳐로 사용될 수 있다. 이처럼 , 필터링된 픽쳐를 화면간 예측 모드에서 참조 픽쳐로 이용함으로써 화질 뿐만 아니라 부호화 효율도 향상시킬 수 있다.  The filtering unit 160 applies filtering to the reconstruction signal and outputs it to the reproduction apparatus or transmits the decoded picture buffer to the decoded picture buffer 170. The filtered signal transmitted to the decoded picture buffer 170 may be used as the reference picture in the inter predictor 180. As such, by using the filtered picture as a reference picture in the inter prediction mode, not only image quality but also encoding efficiency may be improved.
복호 픽쳐 버퍼 (170)는 필터링된 픽쳐를 인터 예측부 (180)에서의 참조 픽쳐로 사용하기 위해 저장할 수 있다. The decoded picture buffer 170 references the filtered picture in the inter prediction unit 180. You can save it for use as a picture.
인터 예측부 (180)는 복원 픽쳐 (reconstructed picture)를 참조하여 시간적 중복성 및 /또는 공간적 중복성을 제거하기 위해 시간적 예측 및 /또는 공간적 예측을 수행한다. 여기서, 예측을 수행하기 위해 이용되는 참조 픽쳐는 이전 시간에 부호화 /복호화 시 블록 단위로 양자화와 역양자화를 거친 변환된 신호이기 때문에 , 블로킹 아티팩트 (blocking artifact)나 링잉 아티팩트 (ringing artifact)가 존재할 수 있다.  The inter prediction unit 180 performs temporal prediction and / or spatial prediction to remove temporal redundancy and / or spatial redundancy with reference to a reconstructed picture. Here, since the reference picture used to perform the prediction is a transformed signal that has been quantized and dequantized in units of blocks at the time of encoding / decoding, a blocking artifact or a ringing artifact may exist. have.
따라서 , 인터 예측부 (180)는 이러한 신호의 블연속이나 양자화로 인한 성능 저하를 해결하기 위해, 로우패스 필터 (lowpass filter)를 적용함으로써 픽셀들 사이의 신호를 서브 픽셀 단위로 보간할 수 있다. 여기서, 서브 픽셀은 보간 필터를 적용하여 생성된 가상의 화소를 의미하고, 정수 픽셀은 복원된 픽쳐에 존재하는 실제 화소를 의미한다. 보간 방법으로는 선형 보간, 양선형 보간 (bi-linear interpolation) , 위너 필터 (wiener filter) 등이 적용될 수 있다.  Accordingly, the inter prediction unit 180 may interpolate the signals between pixels in sub-pixel units by applying a lowpass filter in order to solve the performance degradation caused by the block continuity or quantization. Herein, the subpixel refers to a virtual pixel generated by applying an interpolation filter, and the integer pixel refers to an actual pixel existing in the reconstructed picture. As the interpolation method, linear interpolation, bi-linear interpolation, and Wiener filter may be applied.
보간 필터는 복원 픽쳐 (reconstructed picture)에 적용되어 예측의 정밀도를 향상시킬 수 있다. 예를 들어 , 인터 예측부 (180)는 정수 픽셀에 보간 필터를 적용하여 보간 픽샐올 생성하고, 보간 픽셀들 (interpolated pixels)로 구성된 보간 블록 (interpolated block)을 예측 블록 (prediction block)으로 사용하여 예측올 수행할 수 있다.  The interpolation filter may be applied to a reconstructed picture to improve the precision of prediction. For example, the inter prediction unit 180 generates an interpolation pixel by applying an interpolation filter to integer pixels, and uses an interpolated block composed of interpolated pixels as a prediction block. Predictions can be performed.
한편 , 인트라 예측부 (185)는 현재 부호화를 진행하려고 하는 블록의 주변에 있는 샘폴들을 참조하여 현재 블록을 예측할 수 있다. 상기 인트라 예측부 (185)는 인트라 예측을 수행하기 위해 다음과 같은 과정을 수행할 수 있다. 먼저, 예측 신호를 생성하기 위해 필요한 참조 샘플을 준비할 수 있다. 그리고, 준비된 참조 샘플을 이용하여 예측 신호를 생성할 수 있다. 이후, 예측 모드를 부호화하게 돤다. 이때, 참조 샘플은 참조 샘플 패딩 및 /또는 참조 샘플 필터링을 통해 준비될 수 있다. 참조 샘플은 예측 및 복원 과정을 거쳤기 때문에 양자화 에러가 존재할 수 있다. 따라서, 이러한 에러를 줄이기 위해 인트라 예측에 이용되는 각 예측 모드에 대해 참조 샘플 필터링 과정이 수행될 수 있다. 상기 인터 예측부 (180) 또는 상기 인트라 예측부 (185)를 통해 생성된 예측 신호 (prediction signal)는 복원 신호를 생성하기 위해 이용되거나 잔여 신호를 생성하기 위해 이용될 수 있다. 도 2는 본 발명이 적용되는 실시예로서, 비디오 신호의 디코딩이 수행되는 디코더의 개략적인 블록도를 나타낸다. Meanwhile, the intra predictor 185 may predict the current block by referring to sample poles around the block to which current encoding is to be performed. The intra The prediction unit 185 may perform the following process to perform intra prediction. First, reference samples necessary for generating a prediction signal may be prepared. The prediction signal may be generated using the prepared reference sample. Then, the prediction mode is encoded. In this case, the reference sample may be prepared through reference sample padding and / or reference sample filtering. Since the reference sample has been predicted and reconstructed, there may be a quantization error. Accordingly, the reference sample filtering process may be performed for each prediction mode used for intra prediction to reduce such an error. A prediction signal generated through the inter predictor 180 or the intra predictor 185 may be used to generate a reconstruction signal or to generate a residual signal. 2 is a schematic block diagram of a decoder in which decoding of a video signal is performed as an embodiment to which the present invention is applied.
도 2를 참조하면, 디코더 (200)는 파싱부 (미도시) , 엔트로피 디코딩부 (210) , 역양자화부 (220) , 역변환부 (230) , 필터링부 (240) , 복호 픽쳐 버퍼 (DPB: Decoded Picture Buffer Unit) (250) , 인터 예측부 (260) 및 인트라 예측부 (265)를 포함하여 구성될 수 있다.  Referring to FIG. 2, the decoder 200 includes a parser (not shown), an entropy decoder 210, an inverse quantizer 220, an inverse transformer 230, a filter 240, and a decoded picture buffer (DPB). It may include a decoded picture buffer unit) 250, an inter predictor 260, and an intra predictor 265.
그리고, 디코더 (200)를 통해 출력된 복원 영상 신호 (reconstructed video signal)는 재생 장치를 통해 재생될 수 있다.  The reconstructed video signal output through the decoder 200 may be reproduced through the reproducing apparatus.
디코더 (200)는 도 1의 인코더 (100)로부터 출력된 신호을 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부 (210)를 통해 엔트로피 디코딩될 수 있다. The decoder 200 may receive a signal output from the encoder 100 of FIG. 1, and the received signal may be entropy decoded through the entropy decoding unit 210. have.
역양자화부 (220)에서는 양자화 스템 사이즈 정보를 이용하여 엔트로피 디코딩된 신호로부터 변환 계수 (transform coef f icient )를 획득한다.  The inverse quantization unit 220 obtains a transform coefficient from the entropy decoded signal using the quantization stem size information.
역변환부 (230)에서는 변환 계수를 역변환하여 잔여 신호 (residual signal)를 획득하게 된다. 여기서 , 본 발명은 새로운 RCT 변환을 디자인하는 방법을 제공하며, 본 명세서에서 설명한 실시예들이 적용될 수 있다. 그리고, 인코더에서 설명한 실시예들의 과정이 역으로 적용될 수 있다.  The inverse transform unit 230 inversely transforms the transform coefficient to obtain a residual signal. Here, the present invention provides a method of designing a new RCT transform, and the embodiments described herein may be applied. In addition, the processes of the embodiments described in the encoder may be reversely applied.
획득된 잔여 신호를 인터 예측부 (260) 또는 인트라 예측부 (265)로부터 출력된 예측 신호 (prediction signal)에 더함으로써 복원 신호 (reconstructed signal)가 생성된다 .  A reconstructed signal is generated by adding the obtained residual signal to a prediction signal output from the inter predictor 260 or the intra predictor 265.
필터링부 (240)는 복원 신호 (reconstructed signal)에 필터링을 적용하여 이를 재생 장치로 출력하거나 복호 픽쳐 버퍼부 (250)에 전송한다. 복호 픽쳐 버퍼부 (250)에 전송된 필터링된 신호는 인터 예측부 (260)에서 참조 픽쳐로 사용될 수 있다.  The filtering unit 240 applies filtering to the reconstructed signal and outputs the filtering to the reproducing apparatus or transmits it to the decoded picture buffer unit 250. The filtered signal transmitted to the decoded picture buffer unit 250 may be used as the reference picture in the inter predictor 260.
본 명세서에서 , 인코더 (100)의 변환부 (120) 및 각 기능 유닛들에서 설명된 실시예들은 각각 디코더의 역변환부 (230) 및 대웅되는 기능 유닛들에도 동일하게 적용될 수 있다. 도 3은 본 발명이 적용되는 실시예로서 , 코딩 유닛의 분할 구조를 설명하기 위한 도면이다.  In the present specification, the embodiments described in the transform unit 120 and the respective functional units of the encoder 100 may be equally applied to the inverse transform unit 230 and the functional units of the decoder, respectively. 3 is a diagram for describing a division structure of a coding unit according to an embodiment to which the present invention is applied.
인코더는 하나의 영상 (또는 픽쳐)을 사각형 형태의 코딩 트리 유닛 (CTU: Coding Tree Unit) 단위로 분할할 수 있다. 그리고, 래스터 스캔 순서 (raster scan order)에 따라 하나의 CTU 씩 순차적으로 인코딩한다. 예를 들어, CTU의 크기는 64x64, 32x32, 16x16 중 어느 하나로 정해질 수 있으나, 본 발명은 이에 한정되지 않는다. 인코더는 입력된 영상의 해상도 또는 입력된 영상의 특성 등에 따라 CTU의 크기를 선택하여 사용할 수 있다. CTU은 휘도 (luma) 성분에 대한 코딩 트리 블록 (CTB: Coding Tree Block)과 이에 대웅하는 두 개의 색차 (chroma) 성분에 대한 코딩 트리 블록 (CTB: Coding Tree Block)을 포함할 수 있다. The encoder converts one image (or picture) into a rectangular coding tree unit (CTU). Coding Tree Unit) can be divided into units. Then, one CTU is sequentially encoded according to a raster scan order. For example, the size of the CTU may be set to any one of 64x64, 32x32, and 16x16, but the present invention is not limited thereto. The encoder may select and use the size of the CTU according to the resolution of the input video or the characteristics of the input video. The CTU may include a coding tree block (CTB) for luma components and a coding tree block (CTB) for two chroma components.
하나의 CTU은 쿼드트리 (quadtree, 이하 ' QT '라 함) 구조로 분해될 수 있다. 예를 들어, 하나의 CTU은 정사각형 형태를 가지면서 각 변의 길이가 절반씩 감소하는 4개의 유닛으로 분할될 수 있다. 이러한 QT 구조의 분해는 재귀적으로 수행될 수 있다.  One CTU may be decomposed into a quadtree (QT) structure. For example, one CTU may be divided into four units having a square shape and each side is reduced by half in length. The decomposition of this QT structure can be done recursively.
도 3을 참조하면 , QT의 투트 노드 (root node)는 CTU와 관련될 수 있다. QT는 리프 노드 (leaf node)에 도달할 때까지 분할될 수 있고, 이때 상기 리프 노드는 코딩 유닛 (CU: Coding Unit)으로 지칭될 수 있다.  Referring to FIG. 3, the root node of the QT may be associated with a CTU. The QT may be split until it reaches a leaf node, where the leaf node may be referred to as a coding unit (CU).
CU는 입력 영상의 처리 과정, 예컨대 인트라 (intra)/인터 (inter) 예측이 수행되는 코딩의 기본 단위를 의미할 수 있다. CU는 휘도 (luma) 성분에 대한 코딩 블록 (CB: Coding Block)과 이에 대웅하는 두 개의 색차 (chroma) 성분에 대한 CB를 포함할 수 있다. 예를 들어, CU의 크기는 64X64, 32x32, 16x16, 8x8 중 어느 하나로 정해질 수 있으나, 본 발명은 이에 한정되지 않으며, 고해상도 영상일 경우, CU의 크기는 더 커지거나 다양해질 수 있다. 도 3을 참조하면 , CTU는 루트 노드 (root node)에 해당되고, 가장 작은 깊이 (depth) (즉, 레벨 0) 값을 가진다. 입력 영상의 특성에 따라 CTU가 분할되지 않을 수도 있으며, 이 경우 CTU은 CU에 해당된다. A CU may mean a basic unit of coding in which an input image is processed, for example, intra / inter prediction is performed. The CU may include a coding block (CB) for luma components and a CB for two chroma components. For example, the size of the CU may be determined by any one of 64 × 6 4 , 32 × 32, 16 × 16, and 8 × 8. However, the present invention is not limited thereto, and in the case of a high resolution image, the size of the CU may be larger or more diverse. Referring to FIG. 3, a CTU corresponds to a root node and has a smallest depth (ie, level 0) value. The CTU may not be divided according to the characteristics of the input image. In this case, the CTU corresponds to a CU.
CTU은 QT 형태로 분해될 수 있으며, 그 결과 레벨 1의 깊이를 가지는 하위 노드들이 생성될 수 있다. 그리고, 레벨 1의 깊이를 가지는 하위 노드에서 더 이상 분할되지 않은 노드 (즉, 리프 노드)는 CU에 해당한다. 예를 들어 , 도 3 (b)에서 노드 a, b 및 j에 대웅하는 CU(a) , CU(b) , CU(j)는 CTU에서 한 번 분할되었으며, 레벨 1의 깊이를 가진다.  The CTU may be decomposed in QT form, and as a result, lower nodes having a depth of level 1 may be generated. And, a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 1 corresponds to a CU. For example, in FIG. 3 (b), CU (a), CU (b), and CU (j), which perform on nodes a, b, and j, are divided once in the CTU and have a depth of level 1. FIG.
레벨 1의 깊이를 가지는 노드 중 적어도 어느 하나는 다시 QT 형태로 분할될 수 있다. 그리고, 레벨 2의 깊이를 가지는 하위 노드에서 더 이상 분할되지 않은 노드 (즉, 리프 노드)는 CU에 해당한다. 예를 들어 , 도 3(b)에서 노드 c, h 및 i에 대웅하는 CU(C) , CU(h) , CU(i)는 CTU에서 두 번 분할되었으며, 레벨 2의 깊이를 가진다.  At least one of the nodes having a depth of level 1 may be split into QT again. And, a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 2 corresponds to a CU. For example, in FIG. 3 (b), CU (C), CU (h), CU (i), which complies with nodes c, h and i, are divided twice in the CTU and have a depth of level 2. FIG.
또한, 레벨 2의 깊이를 가지는 노드 중 적어도 어느 하나는 다시 QT 형태로 분할될 수 있다. 그리고, 레벨 3의 깊이를 가지는 하위 노드에서 더 이상 분할되지 않은 노드 (즉, 리프 노드)는 CU에 해당한다 . 예를 들어 , 도 3 (b)에서 노드 d, e, f, g에 대웅하는 CU(d) , CU(e) , CU ( f ) , CU(g)는 CTU에서 3번 분할되었으며, 레벨 3의 깊이를 가진다.  In addition, at least one of the nodes having a depth of 2 may be divided into QTs. And, a node that is no longer partitioned (ie, a leaf node) in a lower node having a depth of level 3 corresponds to a CU. For example, in FIG. 3 (b), CU (d), CU (e), CU (f), and CU (g) for nodes d, e, f, and g are divided three times in the CTU, and level 3 Has a depth of
인코더에서는 비디오 영상의 특성 (예를 들어 , 해상도)에 따라서 혹은 부호화의 효율을 고려하여 CU의 최대 크기 또는 최소 크기를 결정할 수 있다. 그리고, 이에 대한 정보 또는 이를 유도할 수 있는 정보가 비트스트림에 포함될 수 있다 . 최대 크기를 가지는 CU를 최대 코딩 유닛 ( LCU : Largest Coding Unit )이라고 지칭하며 , 최소 크기를 가지는 CU를 최소 코딩 유닛 ( SCU : Smallest Coding Unit )이라고 지칭할 수 있다. In the encoder, the maximum size or the minimum size of the CU may be determined according to characteristics (eg, resolution) of the video image or in consideration of encoding efficiency. In addition, information on this or information capable of deriving the information may be included in the bitstream. Can be. A CU having a maximum size may be referred to as a largest coding unit (LCU), and a CU having a minimum size may be referred to as a smallest coding unit (SCU).
또한, 트리 구조를 갖는 CU는 미리 정해진 최대 깊이 정보 (또는, 최대 레벨 정보)를 가지고 계층적으로 분할될 수 있다. 그리고, 각각의 분할된 CU는 깊이 정보를 가질 수 있다. 깊이 정보는 CU의 분할된 횟수 및 /또는 정도를 나타내므로, CU의 크기에 관한 정보를 포함할 수도 있다.  In addition, a CU having a tree structure may be hierarchically divided with predetermined maximum depth information (or maximum level information). Each partitioned CU may have depth information. Since the depth information indicates the number and / or degree of division of the CU, the depth information may include information about the size of the CU.
LCU가 QT 형태로 분할되므로, LCU의 크기 및 최대 깊이 정보를 이용하면 SCU의 크기를 구할 수 있다 . 또는 역으로 , SCU의 크기 및 트리의 최대 깊이 정보를 이용하면, LCU의 크기를 구할 수 있다.  Since the LCU is divided into QT forms, the size of the SCU can be obtained by using the size and maximum depth information of the LCU. Or conversely, using the size of the SCU and the maximum depth information of the tree, the size of the LCU can be obtained.
하나의 CU에 대하여, 해당 CU이 분할 되는지 여부를 나타내는 정보가 디코더에 전달될 수 있다. 예를 들어, 상기 정보는 분할 풀래그로 정의될 수 있으며, 신택스 엘리먼트 " split_cu_f lag"로 표현될 수 있다. 상기 분할 플래그는 SCU을 제외한 모든 CU에 포함될 수 있다. 예를 들어, 상기 분할 플래그의 값이 ' 1 '이면 해당 CU는 다시 4개의 CU으로 나누어지고, 상기 분할 플래그의 값이 · 0 '이면 해당 CU는 더 이상 나누어지지 않고 해당 CU에 대한 코딩 과정이 수행될 수 있다.  For one CU, information indicating whether the corresponding CU is split may be delivered to the decoder. For example, the information may be defined as a split pull lag, and may be represented by a syntax element "split_cu_f lag". The division flag may be included in all CUs except the SCU. For example, if the split flag value is '1', the CU is divided into 4 CUs again, and if the split flag value is 0, the CU is no longer divided and the coding process for the CU is not divided. Can be performed.
앞서 도 3의 실시예에서는 OJ의 분할 과정에 대해 예로 들어 설명하였으나, 변환을 수행하는 기본 단위인 변환 유닛 ( TU : Transform Unit )의 분할 과정에 대해서도 상술한 QT 구조를 적용할 수 있다.  In the embodiment of FIG. 3, the division process of the OJ has been described as an example, but the QT structure described above may also be applied to the division process of a transform unit (TU), which is a basic unit for performing transformation.
TU는 코딩하려는 CU로부터 QT 구조로 계층적으로 분할될 수 있다 . 예를 들어 , CU는 변환 유닛 (TU)에 대한 트리의 루트 노트 (root node)에 해당될 수 있다. A TU may be hierarchically divided into QT structures from a CU to be coded. example For example, a CU may correspond to a root node of a tree for a transform unit (TU).
TU는 QT 구조로 분할되므로 CU로부터 분할된 TU는 다시 더 작은 하위 TU로 분할될 수 있다. 예를 들어, TU의 크기는 32x32, 16x16, 8x8, 4x4 중 어느 하나로 정해질 수 있으나, 본 발명은 이에 한정되지 않으며, 고해상도 영상일 경우, TU의 크기는 더 커지거나 다양해질 수 있다.  Since the TU is divided into QT structures, the TU divided from the CU may be divided into smaller lower TUs. For example, the size of the TU may be determined by any one of 32x32, 16x16, 8x8, and 4x4. However, the present invention is not limited thereto, and in the case of a high resolution image, the size of the TU may be larger or more diverse.
하나의 TU에 대하여, 해당 TU이 분할 되는지 여부를 나타내는 정보가 디코더에 전달될 수 있다. 예를 들어, 상기 정보는 분할 변환 플래그로 정의될 수 있으며, 신택스 엘리먼트 "split_transform_flag"로 표현될 수 있다. 상기 분할 변환 플래그는 최소 크기의 TU을 제외한 모든 TU에 포함될 수 있다. 예를 들어 , 상기 분할 변환 플래그의 값이 '1'이면 해당 TU은 다시 4개의 TU으로 나누어지고, 상기 분할 변환 플래그의 값이 '0'이면 해당 TU은 더 이상 나누어지지 않는다.  For one TU, information indicating whether the corresponding TU is divided may be delivered to the decoder. For example, the information may be defined as a split transform flag and may be represented by a syntax element "split_transform_flag". The division conversion flag may be included in all TUs except the TU of the minimum size. For example, when the value of the division conversion flag is '1', the corresponding TU is divided into four TUs again. When the value of the division conversion flag is '0', the corresponding TU is no longer divided.
상기에서 설명한 바와 같이, CU는 인트라 예측 또는 인터 예측이 수행되는 코딩의 기본 단위이다. 입력 영상을 보다 효과적으로 코딩하기 위하여 CU를 예측 유닛 (PU: Prediction Unit) 단위로 분할할 수 있다. As described above, a CU is a basic unit of coding in which intra prediction or inter prediction is performed. It can be divided into: (Prediction Unit PU) units of the input picture predicting unit CU in order to more efficiently coded.
PU는 예측 블록을 생성하는 기본 단위로서, 하나의 CU 내에서도 PU 단위로 서로 다르게 예측 블록을 생성할 수 있다. PU는 PU가 속하는 CU의 코딩 모드로 인트라 예측 모드가 사용되는지 인터 예측 모드가 사용되는지에 따라 상이하게 분할될 수 있다. 도 4는 본 발명이 적용되는 실시예로서 , RCT가 적용되는 RCT부의 개략적인 블록도를 나타낸다 . The PU is a basic unit for generating a prediction block, and may generate different prediction blocks in PU units within one CU. The PU may be divided differently according to whether an intra prediction mode or an inter prediction mode is used as a coding mode of a CU to which the PU belongs. 4 is an embodiment to which the present invention is applied and shows a schematic block diagram of an RCT unit to which an RCT is applied.
본 발명은 2차원 분리 가능하지 않은 변환들이 1차원 선형 변환의 세트들 및 기저 정렬 치환 (basis ordering permutation 기초하여 정의되는 RCT를 제공한다.  The present invention provides an RCT in which transformations that are not two-dimensional separable are defined based on sets of one-dimensional linear transformations and basis ordering permutation.
본 발명은, 이미지 내 관심 영역에 대한 분리 가능하지 않은 블록 변환들이 주어지면, 블록들의 행들 및 열들에 적용되는 1차원 .선형 변환들의 세트를 최적화하고, 최적 변환 계수에 대한 정렬 치환을 획득함으로써 RCT를 설계할 수 있다. 이를 통해 최적화된 RCTs (Row- Column Transforms)가 분리 가능하지 않은 변환들의 압축 성능에 매우 근접하는 한편 분리 가능한 변환들의 연산 복잡도를 유지할 수 있다.  The invention provides RCT by optimizing the set of one-dimensional .linear transforms applied to the rows and columns of blocks, given non-separable block transforms for the region of interest in the image, and obtaining alignment substitution for the optimal transform coefficients. Can be designed. This allows optimized row-column transforms (RCTs) to be very close to the compression performance of non-separable transforms while maintaining the computational complexity of separable transforms.
RCT (Row-Column Transform) 정의 Low-Column Transform (RCT) Definition
N X N 블록 X의 변환을 고려할 때 , X = vec (X) 를 블록 X의 행 -우선 정렬 (row-major ordering)에 의해 획득된 백터라고 하자. 그리고, 1차원 선 형 변환들의 두 세트를 R = {R(i),..., R<N)} 및 C = {C(j),..., C(N)}라고 표시 하기로 한다. 여기서 , R(i) 및 C(j) (i, j=l,...,N)는 (NxN) 행렬을 나타낸다. rt ― L11 12 ' ' ' 1 ΛΓ 」 ᄆ -i ᄂ' ᅳ LL'l *-2 '-W J 느 가기" 블톡의 i번째 행 및 j번째 열을 변환하기 위해 이용된다. 여기서, k , ^ ' ^ i번째 행 변환의 k번째 기저 백터 (basis vector)이고 C? J (Λ χΐ)는 j번째 행 변환의 1번째 기저 백터 (basis vector)이다, 를 행렬로 표현하면 다음 수학식 1과 같다. Considering the transform of NXN block X, let X = vec (X) is a vector obtained by row-major ordering of block X. Then, two sets of one-dimensional linear transformations are denoted as R = {R (i) , ..., R <N) } and C = {C (j) , ..., C (N) }. do. Where R (i) and C (j) (i, j = l, ..., N) represent the (N × N) matrix. rt-L 1 1 1 2 '''1 Λ Γ ''k -i b' ᅳ L L 'l * -2' -WJ Slow 'Used to convert the i th row and j th column of the flick. , k, ^ '^ the k-th base vector of the i-th row transformation C ? J (χΐ Λ) is the first basis vector (b a vector si s) of the j-th row conversion, it can be expressed by the following matrix shown in Equation (1).
[수학식 1]  [Equation 1]
0 0
00
Figure imgf000022_0001
Figure imgf000022_0001
상기 수학식 1을 이용하여 RCT 행렬, G(N2xN2)은 다음 수학식 2와 같ᄋ 정의할 수 있다. Using Equation 1, an RCT matrix, G (N 2 xN 2 ), may be defined as Equation 2 below.
[수학식 2]  [Equation 2]
Figure imgf000022_0002
Figure imgf000022_0002
이를 다시 표시하면 다음 수학식 3과 같다  If you display it again,
[수학식 3]  [Equation 3]
G= [B1e1^ B2C^ ... BNC^] G = [B 1 e 1 ^ B 2 C ^ ... B N C ^ ]
따라서, 블록 X의 변환은 GTx를 획득한 후 치환 행렬을 적용함으로써 획 득될 수 있다. RCT (Row-Column Transform) 디자인 바람직한 변환 행렬 (desired transform matrix) H ¾(Λ' ' ;< Λ' )의 최적의 행-열 (RC) 근사화는 다음 수학식 4의 최적화 문제로 표현될 수 있다. Therefore, the transformation of the block X can be obtained by applying a substitution matrix after obtaining G T x. Row-Column Transform (RCT) Design The optimal row-column (RC) approximation of the desired transform matrix H ¾ (Λ '';<Λ' ) can be expressed as an optimization problem in .
[수학식 4] minimize IIHP― Gll  Equation 4 minimize IIHP Gll
G.P 1 GP 1
subject to G:二 row-column transform  subject to G : 二 row-column transform
P := permutation matrix 여기서, li '1는 프로베니우스 놈 (Frobenius norm)을 나타내고, G는 RCT 행렬을 나타내며, P는 치환 행렬을 나타낸다. 상기 수학식 4는 P 치환 행 렬 게약 (permutation matrix constraint)에 기인히 "는 결합 최적화 문게이 다. G에 대한 행-열 (RC) 제약을 다음과 같이 명시적으로 작성할 수 있다.
Figure imgf000023_0001
라 하면, 여기서 JC'' '의 j 번째 열 (column)을 나타낸다. 이때 , B¾C(3"'는 다음 수학식 5와 같다.
P: = permutation matrix where li '1 represents Frobenius norm, G represents an RCT matrix, and P represents a substitution matrix. Equation 4 is due to a P permutation matrix constraint, "is a joint optimization statement. A row-column (RC) constraint for G can be explicitly written as follows.
Figure imgf000023_0001
, Where J is the j th column of C ''' . At this time, B ¾ C (3 "'is the same as Equation 5 .
[수학식 5] r  Equation 5 r
Figure imgf000023_0002
상기 수학식 3에서의 8?(:씨'를 상기 수학식 5로 대체하면 다음 수학식 6이 유도될 수 있다.
Figure imgf000023_0002
8 ? (: If you replace Mr. 'in Equation 5 Equation 6 can be derived.
[수학식 6]  [Equation 6]
Λ(ΛΓΛ (Λ Γ ) Γ
Figure imgf000024_0001
C ; V 여기서 , G는 N2xN2이고 상기 수학식 6에서의 각 NxN 블록 성분 (즉,
Figure imgf000024_0001
C; V where G is N 2 xN 2 and each N × N block component in Equation 6 above (ie,
i, j=l,...,N 에 대하여 1 "J )은 탱크 -1 행렬 (rank-1 matrix)이다. 상 기 수학식 4에서 최적의 치환 행렬을 P* 라고 가정하면, H :HP+이므로, 상기 수학식 4의 목표 함수 (objective function)은 다음 수학식 7과 같을 수 있다 For i, j = l, ..., N, 1 "J is the tank-1 matrix. Assuming that the optimal substitution matrix in Equation 4 is P * , H:Since HP + , the objective function of Equation 4 may be as shown in Equation 7 below.
[수학식 7]  [Equation 7]
Figure imgf000024_0002
여기서 , ^는 행렬 H의 (i, j>번째 N X N 파티션이고 ή는 다음 수학식 8과 같이 표현될 수 있다.
Figure imgf000024_0002
Here, ^ is the (i, j> th NXN partition of the matrix H and ή can be expressed as Equation (8).
[수학식 8]
Figure imgf000025_0001
」 상기 도 4를 살펴보면 , 본 발명이 적용되는 RCT부 (400)는 크게 RCT 유도부 (410)와 RCT 적용부 (420)를 포함할 수 있다.
[Equation 8]
Figure imgf000025_0001
Referring to FIG. 4, the RCT unit 400 to which the present invention is applied may largely include an RCT inducing unit 410 and an RCT applying unit 420.
상기 RCT 유도부 (410)는 주어진 변환 행렬 (Η) 및 에러 공차 파라!기터 (error tolerance parameter)에 기초하여 행 변환 셋 (row transform set) , 열 변환 셋 (column transform set) 및 치환 행렬 (permutation matrix)을 유도할 수 있다. 여기서 , 상기 치환 행렬은 최적화 과정을 통해서 유도될 수 있다. 상기 최적화 과정은 RCT(Row-C이而 n Transform) 행렬과 상기 주어진 변환 행렬 (H)과의 매칭을 통해 결정될 수 있다. 그리고, 상기 RCT( Row- Column Transform) 행렬은 상기 행 변환 셋 및 상기 열 변환 셋을 이용하여 유도될 수 있다. 예를 들어, 상기 RCT(Row- Column Transform) 행렬은 상기 수학식 2 및 수학식 3의 행렬 G를 의미할 수 있다.  The RCT derivation unit 410 generates a row transform set, a column transform set, and a permutation matrix based on a given transformation matrix ƒ and an error tolerance parameter. ) Can be induced. In this case, the substitution matrix may be derived through an optimization process. The optimization process may be determined by matching a Low-C and n Transform (RCT) matrix with the given transform matrix (H). The RCT matrix may be derived using the row transform set and the column transform set. For example, the row-column transform matrix may mean the matrix G of Equations 2 and 3 above.
상기 RCT 적용부 (420)는 상기 행 변환 셋 및 상기 열 변환 셋에 기초하여 변환 계수를 획득할 수 있다. 예를 들어 , 상기 변환 계수는 행 (row) 변환을 수행한 후 열 (column) 변환을 수행함으로써 획득될 수 있다.  The RCT applying unit 420 may obtain a transform coefficient based on the row transform set and the column transform set. For example, the transformation coefficient may be obtained by performing a column transformation after performing a row transformation.
상기 RCT 적용부 (420)는 상기 변환 계수에 상기 치환 행렬을 적용함으로써 RCT( Row- Column Transform) 계수를 획득할 수 있다. 본 실시예에서는 상기 RCT부 (400)의 동작을 상기 RCT 유도부 (410)와 상기 RCT 적용부 (420)로 구분하여 설명하였지만, 본 발명은 이에 한정되지 않으며 , 상기 RCT 계수를 획득하는 과정은 상기 변환부 (120)에서 수행된다고 이해될 수 있다. The RCT applying unit 420 may obtain a row-column transform (RCT) coefficient by applying the substitution matrix to the transform coefficient. In the present embodiment, the operation of the RCT unit 400 is divided into the RCT inducing unit 410 and the RCT applying unit 420, but the present invention is not limited thereto, and the process of obtaining the RCT coefficient is It can be understood that the conversion unit 120 is performed.
상기 RCT부 (400)는 상기 변환부에 포함되거나, 대체되어 적용될 수 있다 . 또한,상기 변환부는 다양한 변환 기법들을 이용할 수 있고 , 그 중 하나로 RCT를 이용할 수 있다. 도 5는 본 발명이 적용되는 실시예로서, RCT와 치환 행렬이 적용되는 과정을 설명하기 위한 도면이다.  The RCT unit 400 may be included in, or replaced with, the conversion unit. In addition, the transform unit may use various transformation techniques, and one of them may use RCT. FIG. 5 is a diagram for describing a process in which an RCT and a substitution matrix are applied as an embodiment to which the present invention is applied.
상기 도 5(a) ~5(d)를 살펴보면 , 블록 X에 대하여 행 변환을 수행하고 열 변환을 수행한 후, 치환 행렬 (P)을 적용함으로써 변환 계수 Y를 획득하는 일련의 과정을 확인할 수 있다.  5 (a) to 5 (d), after performing row transformation and column transformation on block X, a series of processes for obtaining a transformation coefficient Y by applying a substitution matrix P can be confirmed. have.
본 발명은, 분리 가능하지 않은 변환을 근사화하기 위한 새로운 방법으로 RCT( Row -Column Transform)를 이용한다. 여기서, 상기 RCT는, 계수들의 치환이 뒤따르는, 신호 블록들의 행들 및 열들에 적용되는 1차원 변환들의 세트로 정의될 수 있다. The present invention uses a Row-Column Transform (RCT) as a new method for approximating non-separable transforms. Here, the RCT may be defined as a set of one-dimensional transforms applied to the rows and columns of the signal blocks followed by substitution of coefficients.
xN 블록에 대해 RCT를 디자인 또는 결정하는 것은, (2N+1) 개의 행렬들 (즉, (NxN) 변환 행렬들 R(i>, C(i), i = l,...,N, 및 (N2xN2) 치환 행렬 P) 간의 결합 최적화에 의존한다 . Designing or determining the RCT for an xN block consists of (2N + 1) matrices (ie, (N × N) transformation matrices R (i> , C (i) , i = l, ..., N, and It depends on the joint optimization between (N 2 × N 2 ) substitution matrices P).
본 발명의 일실시예로 제안되는 RCT는 분리 가능하지 않은 변환들의 더 양호한 근사화들 (better approximations)을 제공하면서 분리 가능한 변환들의 복잡도를 유지할 수 있다는 점에서 장점이 있다. 특히, (NxN) 블록들을 변환하기 위하여 , RCT는 2N3 (또는 빠른 변환이 사용되는 경우에는 21^2109^의 곱셈 -덧셈 (multiply-adds)을 필요로 하는 반면에 일반적인 분리 가능하지 않은 변환 (non-separable transform)은 의 연산 복잡도를 갖는다. The RCT proposed as an embodiment of the present invention is more of a non-separable transform It is advantageous in that it can maintain the complexity of separable transforms while providing good approximations. In particular, in order to transform (NxN) blocks, RCT requires 2N 3 (or multiply-adds of 21 ^ 2 109 ^ in case fast conversion is used, while general non-separable conversion). (non-separable transform) has the computational complexity of.
이하에서는, RCT를 디자인하는 다양한 실시예들에 대해 상세히 살펴보도록 한다. 도 6은 본 발명이 적용되는 실시예로서 , 2개의 치환 행렬 (P,Q)이 이용되는 RCT를 디자인하는 과정을 설명하기 위한 도면이다.  Hereinafter, various embodiments of designing an RCT will be described in detail. FIG. 6 is a diagram illustrating a process of designing an RCT in which two substitution matrices (P, Q) are used as an embodiment to which the present invention is applied.
본 발명은, 타겟 변환에 보다 잘 근사화하기 위한 새로운 방법으로 RCT( Row -Column Transform)를 설계히 "는 다양한 실시예들을 게공한다.  The present invention provides various embodiments for designing a Row-Column Transform (RCT) in a new way to better approximate a target transform.
이하에서는, RCT를 디자인하는 방법에 대해 상세히 살펴보도록 한다 .  Hereinafter, the method of designing the RCT will be described in detail.
(실시여 ll) weighted RCT (Row-Column Transform) 디자인 알고리즘 본 발명의 일실시예는, 가중치를 고려하는 RCT (이하, 、가중치 RCT' 또 는 Weighted RCT'라 함)를 디자인하는 방법을 제공한다 . Weighted Row-Column Transform (RCT) Design Algorithm An embodiment of the present invention provides a method of designing a weighted RCT (hereinafter, referred to as a weighted RCT 'or a weighted RCT'). .
상기 가중치 RCT를 찾기 위해 다음 수학식 9가 이용될 수 있다.  Equation 9 may be used to find the weighted RCT.
[수학식 9] minimize "' H "P-G)-d "ia^PTw J' 여기서 , G는 RCT 행렬을 나타내고, P는 치환 행렬을 나타내며, 가중치 w는 다음 수학식 10에 의해 정의된다 . [Equation 9] minimize "'H" PG) -d "ia ^ P T w J ' Here, G represents an RCT matrix, P represents a substitution matrix, and the weight w is defined by the following equation (10).
[수학식 10]  [Equation 10]
τ  τ
= WW ≤Ή
Figure imgf000028_0001
상기 수학식 9, 10의 가중치 방법 (weighting method)은 본 명세서에서 설명하는 RCT 디자인 알고리즘들 (Al, A2, A3)에 적용될 수 있다.
= WW ≤Ή
Figure imgf000028_0001
The weighting method of Equations 9 and 10 may be applied to the RCT design algorithms Al, A2, and A3 described herein.
2개의 치환 행렬 Q와 p를 모두 사용하는 실시예들에 대해서 순방향 변환 (forward transform)과 역변환 (inverse transform)은 각각 PGTQ≤f QTGPT 과 같다 . 기본적으로 모든 실시예들에 대해 P, Q를 모두 적용할 수 있으나, 실시예 1,2,4 의 경우는 Q가 단위 행렬 (identity matrix) I 인 경우라고 볼 수 있다. Forward transform (forward transform) and inverse transformation (inverse transform) with respect to the embodiments 2 uses both of the substitution matrix Q and p are the same as PG Q≤f Q T T T GP respectively. Basically, P and Q may be applied to all embodiments, but in the embodiments 1,2 and 4, Q may be regarded as a case of identity matrix I.
G는 행 ' 변환들 (row transform들)과 열 변환들 (column transform)들로 구성될 수 있다. 예를 들어 , ^는 각 행 (row) (i번째 행)에 대해 1 (^"를 곱한 다음 각 열 (column) (j번째 열)에 대해 C(j)1^ 곱하는 것과 같고, G는 각 열 (column) (j번째 열)에 대해 C(j)를 곱한 다음 각 행 (row) (i번째 행)에 대해 R">를 곱하는 것과 같다. G may consist of a row, converting the (s row transform) and the heat conversion (column transform). For example, ^ is equal to multiplying 1 ( ^ " for each row (i-th row) and then multiplying C (j) 1 ^ for each column (j-th column), where G is each It is equivalent to multiplying C (j) for the column (column j) and then multiplying R "> for each row (column i).
이하에서 설명하게 될 실시예 4의 경우, 분리가능한 RCT( separable row- column transform)를 제시하고 있으므로, 모든 R ("들이 R로 동일하고 모든 c(j>들이 c로 동일한 경우를 의미할 수 있다. 일실시예로, 상기 도 6 (a) -6(f)를 살펴보면 , 블록 X에 대하여 제 1 치환 행렬 (Q)를 적용하고, 행 변환을 수행하고 열 변환을 수행한 후, 제 2 치환 행렬 (P)를 적용함으로써 변환 계수 Y를 획득하는 일련의 과정을 확인할 수 있다. 이때, NXN 블록에 대해 RCT를 디자인 또는 결정하는 것은, (2N+2) 개의 행렬들 (즉, (NxN) 변환 행렬들 R(i), C(j), i, j = l,...,N, 및 2개의 치환 행렬들 P, Q) 간의 결합 최적화에 의존할 수 있다. 도 7 및 도 8은 본 발명이 적용되는 실시예들로서, 2개의 치환 행렬 (P,Q)이 이용되는 RCT를 결정하는 RCT부 및 그에 대웅되는 역 RCT부의 개략적인 블록도를 나타낸다 . In Example 4, which will be described below, since a separable row-column transform (RCT) is presented, all R ( "are the same as R and It may mean that all c (j> are equal to c. In one embodiment, referring to FIGS. 6 (a) -6 (f), the first substitution matrix Q is applied to block X, and After performing the row transformation and the column transformation, a series of processes for obtaining the transformation coefficient Y can be confirmed by applying the second substitution matrix P. Here, designing or determining the RCT for the NXN block, Between (2N + 2) matrices (ie, (N × N) transformation matrices R (i) , C (j) , i, j = l, ..., N, and two substitution matrices P, Q) 7 and 8 illustrate embodiments to which the present invention may be applied, and schematically illustrate an RCT unit for determining an RCT using two substitution matrices (P, Q) and an inverse RCT unit corresponding thereto. Shows a block diagram.
상기 도 7을 살펴보면, 본 발명이 적용되는 RCT부 (700)는 크게 제 1 치환 행렬 적용부 (710) , 행 변환 적용부 (720) , 열 변환 적용부 (730)및 제 2 치환 행렬 적용부 (740)를 포함할 수 있다.  Referring to FIG. 7, the RCT unit 700 to which the present invention is applied may be divided into a first substitution matrix application unit 710, a row transformation application unit 720, a column transformation application unit 730, and a second substitution matrix application unit. 740 may include.
먼저 , 상기 RCT부 (700)에 픽셀 데이터 (X)가 입력되면, 제 1 치환 행렬 적용부 (710)는 상기 픽셀 데이터 (X)에 대하여 제 1 치환 행렬 (Q)를 적용할 수 있다. 그리고, 상기 RCT부 (700)는 먼저 행 변환을 수행하고 열 변환을 수행할 수 있다. 여기서 , 상기 행 변환은 행 변환 적용부 (720)에서 수행될 수 있고, 상기 열 변환은 열 변환 적용부 (730)에서 수행될 수 있다.  First, when the pixel data X is input to the RCT unit 700, the first substitution matrix applying unit 710 may apply a first substitution matrix Q to the pixel data X. In addition, the RCT unit 700 may first perform row transformation and column transformation. Here, the row transformation may be performed by the row transformation application unit 720, and the column transformation may be performed by the column transformation application unit 730.
이후, 제 2 치환 행렬 적용부 (740)는 제 2 치환 행렬 (P)를 적용함으로써 변환 계수 Y를 획득할 수 있다. 상기 도 8을 살펴보면, 본 발명이 적용되는 역 RCT부 (800)는 크게 제 1 역치환 행렬 적용부 (810) , 역 -행 변환 적용부 (820) , 역 -열 변환 적용부 (830) 및 게 2 역치환 행렬 적용부 (840)를 포함할 수 있다. 먼저 , 상기 역 RCT부 (800)는 변환 계수 (Υ)에 대해 역변환을 적용함으로써 픽샐 데이터 (X)를 획득한다. Then, the second substitution matrix applying unit 740 applies the second substitution matrix P by Transformation coefficient Y can be obtained. Referring to FIG. 8, the inverse RCT unit 800 to which the present invention is applied may be divided into a first inverse substitution matrix application unit 810, an inverse-row transformation application unit 820, an inverse-column transformation application unit 830, and the like. A second inverse substitution matrix application 840 . First, the inverse RCT unit 800 obtains the pixel data X by applying an inverse transform to a transform coefficient.
제 1 역 -치환 행렬 적용부 (810)는 상기 변환 계수 (Υ)에 대하여 제 1 역 - 치환 행렬 (∑^)를 적용할 수 있다. 그리고, 상기 역 RCT부 (800)는 먼저 역-열 변환올 수행하고 역-행 변환을 수행할 수 있다. 여기서, 상기 역-열 변환은 역- % 변환 적용부 (820)에서 수행될 수 있고, 상기 역 -행 변환은 역 -행 변환 적용부 (830)에서 수행될 수 있다.  The first inverse-substitution matrix applying unit 810 may apply a first inverse-substitution matrix (∑ ^) to the transform coefficient (k). In addition, the inverse RCT unit 800 may first perform inverse-column conversion and then perform inverse-row transformation. Here, the inverse-column transformation may be performed by the inverse-% conversion application unit 820, and the inverse-row transformation may be performed by the inverse-row transformation application unit 830.
이후, 제 2 역치환 행렬 적용부 (840)는 제 2 치환 행렬 ( )를 적용함으로써 변환 계수 Υ를 획득할 수 있다. 본 실시예들은, Ρ, Q가 모두 적용되고 각 행 (row)과 열 (column) 별로 R")와 c(j)가 다르게 적용될 수 있는 것을 가정하고 있으나, 본 발명은 이에 한정되지 않는다. 예를 들어, 본 명세서 내 각 실시예에 적용가능하도록 P, Q, R<i> , c(j>를 설정할 경우, 상기 도 6 내지 8의 구성은 각 실시예에 적용될 수 있다. 일례로, Q = I, R(i) = R for all i, C(j) = C for all j와 같이 설정할 수 있다. 다른 실시예로, 상기 도 7, 8에서, X, Y는 2D 블록 데이터 형태를 갖는 것을 가정하나, 본 발명은 이에 한정되지 않으며, 치환 행렬 적용을 위해 사전적 순서 (lexicographical order) (예를 들어 , 행 -우선 (row- first ) 또는 열 -우선 (column-first) )에 따라 1D 백터로 변환한 후 치환 행렬을 적용할 수 있다. Thereafter, the second inverse substitution matrix applying unit 840 may obtain the transform coefficient 계수 by applying the second substitution matrix. In the present embodiment, it is assumed that both Ρ and Q are applied and that R ″) and c ( j ) may be differently applied to each row and column, but the present invention is not limited thereto. For example, when P, Q, R <i>, and c (j> are set to be applicable to each embodiment in the present specification, the configuration of FIGS. 6 to 8 may be applied to each embodiment. = I, R (i) = R for all i, C (j) = can be set as C for all j. In another embodiment, in FIGS. 7 and 8, it is assumed that X and Y have a 2D block data type, but the present invention is not limited thereto, and a lexicographical order (eg The conversion matrix can be applied after converting to 1D vector according to, row-first or column-first.
그리고, 치환 행렬이 적용된 블록 데이터는 행 (row) 방향 또는 열 (column) 방향 변환을 적용하기 위해 다시 2D 블록 데이터 형태로 변환될 수 있다. 이때, 순서는 상기 사전적 순서에 따를 수 있다.  In addition, the block data to which the substitution matrix is applied may be converted back into a 2D block data type in order to apply a row direction or a column direction transformation. In this case, the order may be according to the dictionary order.
(실시여 12) 직교 RCT (orthogonal Row一 Column Transform) 디자인 알고리즘 (12) Orthogonal Row One Column Transform Design Algorithm
본 발명은 행 변환 (row transform) R(i) 및 치환 행렬 (P)가 고정되어 있을 때 , 열 변환 (column transform) C(i) 을 결정하는 방법을 제공한다. The present invention provides a method for determining a column transform C (i) when the row transform R (i) and the substitution matrix P are fixed.
1차원 선형 변환들의 두 세트를 R = {R(i) , ..., R(N) } 및 C = {C(i) , ..., Two sets of one-dimensional linear transformations are given by R = {R (i) , ..., R (N) } and C = {C (i) , ...,
C(N) }라고 표시하기로 한다. 여기서, "^、 ' 二 Lrl Γ2 ' ' ' r;V -i 및 ᄂ - lCl C2 CN I (i, j = l, ...,N )는 (NxN) 행렬을 나타내고, 각각 블록의 i번째 행과 j번째 열을 변환하기 위해 이용된다. 여기서, r(' ) ( \Τ y 1 C (N )}. Where " ^, '二 L r l Γ 2'''r; V -i and b -l C l C 2 C NI (i, j = l, ..., N) represents the (NxN) matrix , To convert the i th row and the j th column of the block, respectively, where r (') (\ Τ y 1
L k ^ A 丄 는 i번째 행 변환의 k번째 기저 백터 (basis vector)이고 lJ X l)는 j번째 행 변환의 1번째 기저 백터 (basis vector)이다. L k ^ A丄 is the k th basis vector of the i th row transformation and l JX l is the first basis vector of the j th row transformation.
본 발명이 적용되는 직교 RCT를 디자인하기 위해 다음 수학식 11이 이용될 수 있다, In order to design an orthogonal RCT to which the present invention is applied, Can be used ,
[수학식 11]  [Equation 11]
H= HP-diag(PTwj = Hy Η2 Λ H N H = HP-diag (P T wj = H y Η 2 Λ HN
여기서, ^은 H를 동일한 크기로 나눈 행렬이며, X N의 차원을 갖는다. diag(PTw) 대신에 diag(PTz)가 이용될 수도 있다. diag(x)는 Nxl 입력 백터 x를 NxN 행렬의 대각 (diagonal) 라인에 위치시키고 나머지 요소들 (elements)은 0으로 설정함으로써 NxN 대각 행렬을 구하는 함수를 나타낸다. Where ^ is a matrix of H divided by the same size and has the dimension of XN. Instead of diag (P T w), diag (P T z) may be used. diag (x) represents a function that finds the NxN diagonal matrix by placing the Nxl input vector x on the diagonal line of the NxN matrix and setting the remaining elements to zero.
본 발명은, 열 변환 (column transform) C )를 결정하기 위해 다음 수학식 12 내지 14를 이용할 수 있다. In the present invention, the following equations (12) to (14) can be used to determine the column transform (C ) .
[수학식 12] [Equation 12]
Figure imgf000032_0001
)T
Figure imgf000032_0001
) T
[수학식 13]  [Equation 13]
[수학식 14] [Equation 14]
^기 수학식 14에서, C(i)는 열 변환 (column transform)을 나타내고, 이는 2개의 직교 행렬 에 , V' 을 곱함으로써 계산될 수 있다. 그리고, 상기 2개의 직교 행렬 에 , Vc {f' 는 상기 수학식 13의 에 특이값 분해 (Singular Value Decomposition, SVD)를 적용함으로써 유도될 수 있다. 또한, 본 발명은 열 변환 (column transform) C(i) 및 치환. 행렬 (P)가 고정되어 있을 때, 행 변환 transform) 1¾">를 결정하는 방법을 제공한다. In Equation 14, C (i) represents a column transform, which can be calculated by multiplying two orthogonal matrices by V '. And the above V c { f 'in two orthogonal matrices can be derived by applying Singular Value Decomposition (SVD) to Equation (13). In addition, the present invention provides a column transform C (i) and substitution. When the matrix (P) is fixed, it provides a way to determine the row transform 1¾.
본 발명은, 행 변환 (row transform) R">를 결정하기 위해 다음 수학식 15 내지 18을 이용할 수 있다.  In the present invention, the following equations (15 to 18) may be used to determine a row transform R ">.
[수학식 15]
Figure imgf000033_0001
[Equation 15]
Figure imgf000033_0001
[수학식 16]  [Equation 16]
Figure imgf000033_0002
Figure imgf000033_0002
[수학식 17]  [Equation 17]
H>2c, row row row H > 2 c, row row row
[수학식 18] 상기 수학식 16에서의 행렬 H 는 상기 수학식 11에서의 H 와 같다. 상기 수학식 18에서 , 11 는 행 변환 (row transform)을 나타내고, 이는 2개의 직교 행렬 에 , 을 곱함으로써 계산될 수 있다. 그리고, 상기 2개의 직교 행렬 에, , 는 상기 수학식 17의 Equation 18 The matrix H in Equation 16 is equal to H in Equation 11. In Equation 18, 11 represents a row transform, which can be calculated by multiplying two orthogonal matrices by,. And in the two orthogonal matrices,
IT ) J-f ^(2) ... {j IT) Jf ^ (2) ... { j
L / ' °'2 .1 ">^Li J I .에 특이값 분해 (Singular ValueL / '°' 2. Singular Value Decomposition to 1 "> ^ L i JI.
Decomposition, SVD)를 적용함으로써 유도될 수 있다 . 일실시예로 , 본 발명은 직교 RCT를 디자인하는 방법에 Can be derived by applying Decomposition (SVD). In one embodiment, the invention relates to a method of designing an orthogonal RCT.
알고리즘을 제공하며 , 이는 다음 표 1과 같다. An algorithm is provided, which is shown in Table 1 below.
[표 1] (알고리즘 A1) Table 1 (Algorithm A1)
Require: Transform matm: H, weight matrix W, and error tolerance parameter ε*-1 Require: Transform matm: H, weight matrix W, and error tolerance parameter ε * -1
Initialize k —0' G(0) ― I, P(0) ― J, Ri) <- ΐξ^, C( ― C앓 for all 2, and c ^ while c > ε do^ Initialize k —0 'G (0) ― I, P (0) ― J, R i) <-ΐξ ^, C ( ― C suffer for all 2, and c ^ while c> ε do ^
k ^ k + \ and HP(k-l)-diag(p(l -l)Tw) or HP(k -\)- diag{p(k - )T z)^ for ί = 1, ...N do» k ^ k + \ and HP (kl) -diag (p (l -l) T w) or HP (k-\)-diag (p (k-) T z) ^ for ί = 1, ... N do »
B^H^U^V^ - apply SVD to Β^Η, '  B ^ H ^ U ^ V ^-apply SVD to Β ^ Η, '
^=^ Γ ' apply^ = ^ Γ '' apply
Figure imgf000035_0001
11: end forv
Figure imgf000035_0001
11: end forv
12: G build amatnx through (6) with R(i) and
Figure imgf000035_0002
12: G build amatnx through (6) with R (i) and
Figure imgf000035_0002
13: P(k) «— solve (13) given G and HWW (Hunganan method)^ 13: P (k) «— solve (13) given G and HWW (Hunganan method) ^
14: G(k) ― 14: G (k) ―
15: c ― J (HP(k - 1) - G(Jt - 1) ) · diag(p(k -l)Tw) - \\ (HP(k) - or
Figure imgf000035_0003
15: c-J (HP (k-1)-G (Jt-1)) diag (p (k -l) T w)-\\ (HP (k)-or
Figure imgf000035_0003
I {HP(k- 1)― G(k― 1))· diag{p(k - 1)r2) ᅳ - 1| {HP(k) - G(h))- diag(p(k)r ζ) . I {HP (k-1)-G (k-1)) diag {p (k-1) r 2) ᅳ-1 | {HP (k) -G (h))-diag (p (k) r ζ).
16: end whiles  16: end whiles
17: Return G*ᅳ G(k), P'ᅳ P(k) ^  17: Return G * ᅳ G (k), P 'ᅳ P (k) ^
상기 알고리즘 Al은 상기 수학식 11 내지 수학식 18에서 설명한 방식이 적용되는 플로우를 나타낸다. The algorithm Al represents a flow to which the scheme described in Equations 11 to 18 is applied.
먼저, 상기 인코더는, 상기 단계 1에서, kᅳ 0, G(0) ᅳ工, P(0)
Figure imgf000035_0004
I, RU) ― C C( - C;, for all /,c—∞와 같이 초기화를 수행할 수 있다 . 상기 단계 4 내지 7은 상기 수학식 11 내지 14에 대응되고, 이는 행 변환 (row transform) R(i) 및 치환 행렬 (P)가 고정되어 있을 때, 열 변환 (column transform) C(i) 을 결정하는 과정을 나타낸다 .
First, in step 1, the encoder is k k0, G (0), P (0)
Figure imgf000035_0004
I, R U) — CC ( −C ;, for all /, c—∞) may be initialized, wherein steps 4 to 7 correspond to Equations 11 to 14, which are row transforms. ) The process of determining the column transform C (i) when R (i) and the substitution matrix (P) are fixed.
상기 단계 8 내지 11은 상기 수학식 15 내지 IS에 대웅되고, 열 변환 (column transform) C(i) 및 치환 행렬 . (P)가 고정되어 있을 때, 행 변환 (row transform) R")를 결정하는 과정을 나타낸다. Steps 8 to 11 are based on Equations 15 to IS, and include column transform C (i) and a substitution matrix. When (P) is fixed, the row A process of determining a row transform R ″ ) is shown.
상기 단계 4 내지 7로부터 획득된 열 변환 (column transform) C(i) 들은 상기 단계 8 내지 11에 입력되고, 현재의 while- loop iteration에서 구해진 행 변환 (row transform) R(i) 열 변환 (column transform) C(i) 들은 다음 while-loop iteration에서 이용될 수 있다. The column transforms C (i) obtained from the above steps 4 to 7 are input to the above steps 8 to 11, and the row transforms obtained from the current while-loop iteration R (i) column transforms transform) C (i) can be used in the next while-loop iteration.
상기 while- loop는 상기 단계 15에서 구한 오차 값의 변화량이 층분히 작아져서 수렴될 때까지 반복된다. 상기 단계 15에서 HP와 G와의 차이값을 구할 때도 가중치가 반영되며 (예를 들어, diag(PTw) 또는 diag (PT Z) ) , 상기 차이값의 변화량 (c)이 거의 변하지 않을 때 while-loop를 빠져 나오게 된다. 상기 단계 13에서 치환 행렬 P를 구할 때, G와 服 WT를 형가리안 방법 (Hungarian method) 알고리즘에 입력하게 되는데 이는 다음 수학식 19를 통해 확인할 수 있다. 여기서 , P (k)은 k번째 iteration에서의 P 행렬 값을 나타내고, G(k)도 동일하게 해석될 수 있다. The while-loop is repeated until the amount of change in the error value obtained in step 15 becomes small enough to converge. When calculating the difference between HP and G in step 15, the weight is also reflected (for example, diag (P T w) or diag (P T Z )), and when the change amount (c) of the difference is hardly changed. Exit the while-loop. When the substitution matrix P is obtained in step 13, G and 服 W T are input to a Hungarian method algorithm, which can be confirmed by Equation 19 below. Here, P (k) represents a P matrix value in the k-th iteration, and G (k) can be interpreted in the same manner.
[수학식 19]  [Equation 19]
P* = argmin (HP- G)-W ' , where W = diag(PTw) P * = argmin (HP-G) -W ', where W = diag (P T w)
= argmin Tr{wT . (HP-G)T{HP- G) = argmin Tr {w T. (HP-G) T (HP-G)
e  e
= argmin Tr((pT HT HP-2GTHP+ GTG)-WW t \ = argmin Tr ((p T H T HP-2G T HP + G T G) -WW t \
= argmax Tr[G THPWWT) = argmax Tr (G T HPWW T )
= argmax 7r(GrHiWr) = argmax 7r (G r HiW r )
(실시여 )3) RCT (Row-Column Transform) 디자인을 위한 새로운 치환 방법 본 발명은 RCT 디자인을 위한 새로운 치환 방법을 제공한다 . RCT 행렬 G의 근사 정도 ( approximation quality)는 다음 수학식 20과 같이 치환 행렬 Q의 선끕셈 (pre -multiplication)을 통해 향상될 수 있다. [수학식 20 ] 3) New substitution for RCT (Row-Column Transform) design Method The present invention provides a new substitution method for RCT design. The approximation quality of the RCT matrix G may be improved through pre-multiplication of the substitution matrix Q as shown in Equation 20 below. Equation 20
|2 | 2
minimize QHP― Q IF  minimize QHP― Q IF
a,r,Q 여기서, G는 RCT 행렬을 나타내고, P , Q는 치환 행렬을 나타낸다. 상기 수학식 20에서 최적의 치환 행렬 P는 다음 수학식 21에 의해 획득될 수 있고, 최적의 치환 행렬 Q는 다음 수학식 22에 의해 획득될 수 있다. [수학식 21 ]  a, r, Q where G represents an RCT matrix and P, Q represents a substitution matrix. In Equation 20, an optimal substitution matrix P may be obtained by Equation 21 below, and an optimal substitution matrix Q may be obtained by Equation 22 below. Equation 21
Tr (GTQHP) Tr (G T QHP)
p 여기서, Tr(') 은 트레이스 ( trace )를 나타내고, p는 치환 행렬을 나타낸다. p Here, Tr ( ') denotes a trace (trace), p represents the substitution matrix.
[수학식 22 ] Equation 22
Q* G)T (QHPᅳ G , O, T , Q * G) T (QHP ᅳ G, O , T,
-f-
Figure imgf000037_0001
-f-
Figure imgf000037_0001
= argmin Ί>{ΗΤΗΡΡτ )- TrilHPG1 Q) = argmin Ί> (Η Τ ΗΡΡ τ )-TrilHPG 1 Q)
Q  Q
- argmax ΤΓ(ΗΊ GO) where Η = Ρ Η and G = G argmax ΤΓ (Η Ί GO) where Η = Ρ Η and G = G
상기 수학식 22 는 H 와 G 의 열 백터들 간의 최적의 할당 (optimal assignment)을 찾음으로써 해결될 수 있으며, 형가리안 방법이 적용될 수 있다. 이를 통해 최적의 치환 행렬 Q가 획득될 수 있다.  Equation 22 can be solved by finding an optimal assignment between H and G column vectors, and the type Garian method can be applied. Through this, an optimal substitution matrix Q can be obtained.
상기 수학식 21 에세 P,Q 중 단 하나의 치환 행렬만이 최적화 과정에 이용될 수 있다. 이때, 나머지 치환 행렬은 단위 행렬 (identity matrix)로 설정되어야 한다. 일실시예로, 본 발명은 RCT 디자인을 위한 새로운 치환 방법에 대한 전체적인 알고리즘을 제공하며, 이는 다음 표 2와 같다.  Only one substitution matrix of P and Q in Equation 21 may be used for the optimization process. In this case, the remaining substitution matrix should be set as an identity matrix. In one embodiment, the present invention provides an overall algorithm for a new substitution method for RCT design, as shown in Table 2 below.
[표 2] (알고리즘 A2) Table 2 (Algorithm A 2 )
Require: Transform matrix H and error tolerance parameter Require: Transform matrix H and error tolerance parameter
1: Initialize c —Q, G(0)
Figure imgf000039_0001
I , P(0) ― I , Q(0) ― I
1: Initialize c —Q, G (0)
Figure imgf000039_0001
I, P (0)-I, Q (0)-I
2: while c > ε do*1 2: while c> ε do * 1
3: k ^ k + I and H Q(k- V)HP k - 1)^  3: k ^ k + I and H Q (k- V) HP k-1) ^
4: for J = 1, ..N do^1 4: for J = 1, ..N do ^ 1
5: for j = 1, ...N do '  5: for j = 1, ... N do '
6: (α^,ΐ^.,ν ) —apply SVD to in (8)^  6: (α ^, ΐ ^., Ν) —apply SVD to in (8) ^
7: <— cr^iiyV^ , using (6) and (10)*-·  7: <— cr ^ iiyV ^, using (6) and (10) *-·
8: endfoiv  8: endfoiv
9: end for- 1 9: end for- 1
10: G build a matrix through (6) with R(l) and C( ,i = 1, . .N- 11: P(k) ^ solve (13) given Q{k -\)T G and H (Hungarian method),— ! 10: G build a matrix through (6) with R (l) and C ( , i = 1, .N- 11: P (k) ^ solve (13) given Q (k-\) T G and H ( Hungarian method), — !
12: Q(k) solve (E10) given P(k)T HT and GT (Hungarian tnethod> 12: Q (k) solve (E10) given P (k) T H T and G T (Hungarian tnethod>
13: G(k) ―  13: G (k) ―
14: c-
Figure imgf000039_0002
14 : c-
Figure imgf000039_0002
15: end whiles 15: end whiles
Figure imgf000039_0003
Figure imgf000039_0003
상기 알고리즘 A2 는 상기 수학식 20 내지 22 의 방법에 대한 예시적인 플로우를 나타낸다. 예를 들어 , 상기 단계 11 내지 12 는 P(k)를 먼저 찾은 후, Q(k)는 새로운 P(k)로 결정된다. 상기 단계 11 내지 12 는 역으로 수행될 수도 있다. 예를 들어 , 먼저 Q(k)가 결정되고, 이후 Q(k)가 P(k)를 결정하기 위해 이용될 수 있다. 상기 수학식 20 의 치환 행렬 Q 는 본 명세서 내 알고리즘 Ά1, A2, A3 에서 RCT 디자인을 위해 이용될 수 있다 .  Algorithm A2 represents an exemplary flow for the method of Equations 20-22. For example, steps 11 to 12 first find P (k), and then Q (k) is determined as the new P (k). Steps 11 to 12 may be performed in reverse. For example, first Q (k) is determined and then Q (k) can be used to determine P (k). The substitution matrix Q of Equation 20 may be used for the RCT design in the algorithms Ά1, A2, and A3.
상기 알고리즘 A2는 변환 행렬 G' 및 치환 행렬 P' , Q*를 찾기 위해 상기 수학식 2022를 해결한다 (단계 16ᅳ) . 예를 들어, 인코더는 주어진 변환 행렬 (H) 및 에러 공차 파라미터 (error tolerance parameter)에 기초하여 행 변환 셋 (row transform set) , 열 변환 셋 (column transform set) 및 치환 행렬 (permutation matrix)을 유도할 수 있다. 여기서 , 상기 치환 행렬은 단위 행렬 (identity matrix)의 행 (row)을 치환함으로써 획득되는 행렬을 의미할 수 있다. 상기 인코더는, k — 0, G(0) ― I, P(0) ― I, Q(0) ― ]:, c — ∞ 와 같이 초기화를 수행할 수 있다 (단계 1) . C > ε 이면 , k λ/ f N
Figure imgf000040_0001
에 대해 (σύ'' ύ'νύ') 를 획득할 수 있다 (단계 3 내지 6) . 이때, 상기 수학식 16의 에 대해 특이값 분해 (Singular Value Decomposition,
Algorithm A2 solves Equations 20 and 22 to find transform matrix G 'and substitution matrix P', Q * (step 16). For example, the encoder transforms a given A row transform set, a column transform set and a permutation matrix can be derived based on the matrix H and the error tolerance parameter. Here, the substitution matrix may mean a matrix obtained by replacing a row of an identity matrix. The encoder can perform initialization such as k — 0, G (0) — I, P (0) — I, Q (0) —] :, c — ∞ (step 1). If C> ε, k λ / f N
Figure imgf000040_0001
( Σ ύ ' ' ύ ' ν ύ ' ) can be obtained (steps 3 to 6). In this case, singular value decomposition with respect to Equation (16)
SVD)가 적용될 수 있다. T SVD) may be applied. T
그리고, 상기 인코더는, 상기 수학식 18을 이용하여 Gij ^ συιι ίν 를 획득 또는 유도할 수 있다 (단계 7) . 상기 단계 11 에서 ρ 를 구할 때, G대신에 ρ( -ι)Γσ를 사용하는 것은 다음 수학식 23으로 설명될 수 있다. [수학식 23]
Figure imgf000040_0002
여기서 , P(k)와 Q(k)는 k번째 while -loop iteration에서의 P, Q 치환 행렬을 의미하며 , 상기 단계 11에서 구한 P(k)는 상기 단계 12에서 Q를 획득하기 위해 이용될 수 있다. 상기 단계 14에서는 QHP와 G와의 차이값이 얼마나 변했는지를 계산하고, 상기 차이값의 변화량이 충분히 작으면 while-loop를 종료하게 된다.
The encoder may acquire or derive G ij ^ σ υ ιιί ν using Equation 18 (step 7). When obtaining ρ in step 11, using ρ (−ι) Γ σ instead of G can be described by the following equation (23). [Equation 23]
Figure imgf000040_0002
Here, P (k) and Q (k) mean P and Q substitution matrices in the k-th while-loop iteration, and P (k) obtained in step 11 may be used to obtain Q in step 12. Can be. In step 14, the amount of difference between QHP and G is calculated. If the amount of change of the difference is small enough, the while-loop is terminated.
(실시예 4) 분리가능한 RCT (separable Row-Column Transform) 디자인 방법 Example 4 Separable Row-Column Transform (RCT) Design Method
본 발명은 행 방향과 열 방향에 대해 각기 유일한 변환만을 갖는 분리가능한 RCT를 디자인하는 방법을 제공한다 . 여기서 , 분리가능한 RCT는 행 , 열 방향으로 각각 하나의 변환 (single transform)이 존재하는 것올 의미할 수 있다.  The present invention provides a method of designing a separable RCT with only unique transformations for row and column directions. Here, the separable RCT may mean that a single transform exists in the row and column directions, respectively.
일실시예로, 하나의 행 방향 변환을 결정하는 방법은 다음 수학식 24와 같다.  In one embodiment, the method of determining one row direction transformation is represented by Equation 24 below.
[수학식 24]  [Equation 24]
Figure imgf000041_0001
where H = HP and W = 여기서, R은 행 방향 변환을 나타내고, ^ = [Γΐ Γ? " ' 로 표현될 수 있다.
Figure imgf000041_0001
where H = HP and W = where R stands for row direction transformation and ^ = [ Γΐ Γ? It can be expressed as "' .
상기 수학식 24에서 diag (PTw) 대신에 diag (PTz)를 사용할 수 있으며 , diag(PTz)를 사용하는 경우에는 f^^diag^^)이 된다 . 본 발명은, 하나의 행 방향 변환을 결정하기 위해 다음의 2가지 방법을 제안한다 When in the above formula 24 can be used for diag (P T z) in place of diag (P T w), using the diag (T P z) there is a f ^^ ^^ diag). The present invention proposes the following two methods for determining one row direction transformation.
1) 비직교 변환 (non- orthogonal transform)  1) non-orthogonal transform
[수학식 25]
Figure imgf000042_0001
[Equation 25]
Figure imgf000042_0001
여기서 , rs 는 비직교 행 방향 변환 (non-orthogonal row- directional transform)을 나타낸다. 그리고, 는 C1 =
Figure imgf000042_0002
... - j 1로 구성되며 C는 모든 열 (column)에 대해 공통적으로 적용되는 변환 행렬을 의미한다. 여기서 , C1 ᅳ 해당 순방향 변환 (forward transform)을 의미한다. W j 는 상기 수학식
Where r s represents a non-orthogonal row-directional transform. And, C 1 =
Figure imgf000042_0002
... consists of j 1 and C stands for the transformation matrix that is commonly applied to all columns. Here, C 1 ᅳ means a forward transform. W j is the above equation
24로부터 주어진 ^ 에서 동일한 크기로 나뉘어진 j번째 블록 대각 행렬을 나타내며, NxN 차원을 가진다. 예를 들어, 다음 수학식 26과 같다. It represents the j-th block diagonal matrix divided by the same size in ^ given from 24 and has the dimension NxN. For example, the following equation (26) is obtained.
[수학식 26]  [Equation 26]
Figure imgf000042_0003
상기 수학식 25는 행 방향에서 공통적으로 사용되는 변환 j번째 열을 구하기 위한 수식이다. 즉, 2
Figure imgf000042_0003
Equation 2 5 is a transformation commonly used in the row direction The formula for finding the j th column. Ie 2
관계를 만족한다. Satisfy the relationship.
2) 직교 변환 (orthogonal transform) 2) orthogonal transform
[수학식 27]
Figure imgf000043_0001
s = u rrooww∑ πnm"·· I
[Equation 27]
Figure imgf000043_0001
s = u rrooww∑ πnm "·· I
R = U row V 'T  R = U row V 'T
' r1'ow 'r 1' ow
여기서, 행렬 s에 특이값 분해를 적용할 수 있으며, 상  Here, singular value decomposition can be applied to the matrix s,
2개의 직교 행렬들 U , 1너 유도하기 위해 계산된다. 그리고,  Two orthogonal matrices U, 1 are computed to derive one. And,
R을 결정하기 위해 이들을 곱할 수 있다 본 발명은, 하나의 열 방향 변환올 결정하기 위해 다음의 2가지 방법을 제안한다.  These can be multiplied to determine R. The present invention proposes the following two methods for determining one thermal direction conversion.
1) 비직교 변환 (non- orthogonal transform)  1) non-orthogonal transform
[수학식 28] 一 ― t1 2 cv J , where c{ 5,(28) 一 ― t 1 2 c v J, where c { 5,
Figure imgf000043_0002
Figure imgf000043_0002
여기서, c 는 비직교 - 열 방향 변환 (non— orthogonal row- directional transform)을 나타낸다 . 상기 수학식 28은 모든 열에 적용되는 순방향 변환 cT의 i번째 열 백터Where c stands for non—orthogonal row-directional transform. Equation 28 is an i-th column vector of the forward transform c T applied to all columns.
?;를 구하기 위한 것이다. 는 상기 수학식 26과 같이 ^에서 동일한 크기로 나뉘어진 j번째 블록 대각 행렬을 가리키며 , NxN 차원을 가진다. It is to ask. Denotes the j-th block diagonal matrix divided by the same size in ^ as shown in Equation 26, and has an NxN dimension.
그리고, r,는 행 방향에서 공통적으로 사용되는 변환 행렬 R의 j번째 열
Figure imgf000044_0001
r
And r, is the j th column of the transformation matrix R commonly used in the row direction
Figure imgf000044_0001
r
백터를 가리킨다.즉, N 의 관계를 만족한다. Points to a vector, i.e. satisfies the relationship of N.
2 ) 직교 변환 ( orthogonal transform) 2) orthogonal transform
[수학식 29 ]  Equation 29
S = b(;ol/ 여기서, 행렬 s에 특이값 분해를 적용할 수 있으며, 상기 S = b (; ol/ where singular value decomposition can be applied to the matrix s, where
2개의 직교 행렬들 Vrnl , U 을 유도하기 위해 계산된다. 그리고, 열 방향 변환 C를 결정하기 위해 이들을 곱할 수 있다. Calculated to derive two orthogonal matrices V rnl , U. Then, they can be multiplied to determine the column direction transformation C.
[표 3 ] (알고리즘 A3 : Table 3 (Algorithm A3:
Require: Transform matrix H, weight matrix W, and error tolerance parameter ε·-Require: Transform matrix H, weight matrix W, and error tolerance parameter ε-
1: Initialize k —0, G(0) ― I , F(0)ᅳ I, R C ― Cini! andc ^oo
Figure imgf000045_0001
1: Initialize k — 0, G (0) ― I, F (0) ᅳ I, RC ― C ini! andc ^ oo
Figure imgf000045_0001
4: R *~ Find an orthogonal or non-orthogonal row transform using (El 2) or (E15)'1 4: R * ~ Find an orthogonal or non-orthogonal row transform using (El 2) or (E15) ' 1
5: C <— Find an orthogonal or non- orthogonal column transform using (E17) or (E19)  5: C <— Find an orthogonal or non- orthogonal column transform using (E17) or (E19)
6: G «— build a matnx through (6) with R and C where = r)2) =A = ήΚΓ) = r, , c< ^c =A =c^ = c.i 니 "6: G «— build a matnx through (6) with R and C where = r) 2) = A = ή ΚΓ) = r ,, c < ^ c = A = c ^ = c . i knee "
7: P k) «— solve (13) given G and HWW (Hungarian method)'' 7: P k) «— solve (13) given G and HWW (Hungarian method) ''
8: G k) ― G,'  8: G k)-G, '
9: c - J (HP(k - 1) - G{k - l))-diag(p(k - l)r - 1| {HP(k) - G(k))-diag{p(k)rw) or9: c-J (HP (k-1)-G (k-l))-diag (p (k-l) r -1 | {HP (k)-G (k))-diag {p (k ) r w) or
I {HP(k- 1)― G(k - 1))· diag(p(k - 1)rz) ― || {HP(k)―I {HP (k-1)-G (k-1)) diag (p (k-1) r z) || {HP (k) ―
Figure imgf000045_0002
,
Figure imgf000045_0002
,
10: end while*  10: end while *
11: Return G* G(k), P* <- P(k) 상기 알고리즘 A3은 분리가능한 RCT를 디자인하기 위한 전체적인 플로우를 나타낸다. 11: Return G * G (k), P * <-P (k) The algorithm A3 represents the overall flow for designing a detachable RCT.
단계 4(단계 5)에서 R(C)를 유도할 때, C(R)은 주어지고 고정된 것으로 가정한다. 상기 단계 4, 5는 스위치될 수 있다.  When deriving R (C) in step 4 (step 5), it is assumed that C (R) is given and fixed. Steps 4 and 5 may be switched.
또한, R,ml , Cma 와 같이, 단위 행렬, DCT (Discrete Cosine Transform) , KLT ( Karhunen— Loeve Transform) , SOT ( sparse orthonormal transform)와 같은 행렬들은 시작점이 될 수 있다. 상기 단계 4에서는 상기 수학식 25, 27을 이용하여 C가 고정되었다고 가정하고 R을 구하는 것을 나타내고, 상기 단계 5에서는 상기 단계 4로부터 구한 R를 이용하여 상기 수학식 28, 29를 이용하여 C를 획득한다 . Also, matrices such as unit matrix, discrete cosine transform (DCT), karhunen—loeve transform (KLT), and sparse orthonormal transform (SOT), such as R, ml , and C ma may be starting points. In step 4, it is assumed that C is fixed using Equations 25 and 27, and R is obtained. In step 5, C is obtained using Equations 28 and 29 using R obtained from step 4. do .
상기 단계 9에서는 HP와 G와의 차이값이 얼마나 변하는지를 계산한 후, 변화량이 거의 없으면 알고리즘이 수렴되었다고 간주하여 while- loop를 종료하게 된다. In step 9, the difference between HP and G is calculated, and if there is little change, the algorithm is considered to have converged and the while-loop Will end.
(실시예 5) 치환 행렬을 찾기 위해 형가리안 방법 (Hungarian method)을 적용할 때 절대값 연산자를 이용하는 방법 Example 5 A method of using an absolute value operator when applying a Hungarian method to find a substitution matrix
본 발명은 치환 행렬을 찾기 위해 헝가리안 방법 (Hungarian method)을 적용할 때 절대값 연산자 (absolute operator)를 적용하는 방법을 제안한다.  The present invention proposes a method of applying an absolute operator when applying a Hungarian method to find a substitution matrix.
예를 들어, G, H의 열 백터들 간의 최적의 할당을 찾기 위해 형가리안 방법을 적용할 때, 형가리안 방법의 입력 J는 다음 수학식 30에 이해 정의될 수 있다.  For example, when applying the Hungarian method to find the optimal allocation between the column vectors of G and H, the input J of the Hungarian method can be understood and defined in the following equation (30).
[수학식 30]  Equation 30
J = GT H J = G T H
다만, 본 발명이 이에 제한되는 것은 아니며 헝가리안 알고리즘에 따라 입력 J는 수정될 수 있다.  However, the present invention is not limited thereto, and the input J may be modified according to the Hungarian algorithm.
본 발명은, 다음의 수학식 31에 의해 계산된 J를 형가리안 알고리즘의 입력으로서 이용하는 방법을 제안한다 .  The present invention proposes a method of using J calculated by the following equation (31) as an input to a type Garian algorithm.
[수학식 31]
Figure imgf000046_0001
Equation 31
Figure imgf000046_0001
여기서, | · | 는 엘리먼트 (element) 별 절대값 연산자를 나타낸다. 헝가리안 알고리즘에 GrH 행렬이 그대로 입력되는 경우 (이때 , 코스트 (cost) 행렬은 - GT H o\ 될 수 있다) , 해당 행렬의 엘리먼트는 음의 부호를 가질 수 있다. 만약, GTH 행렬에 절대값이 크면서 음의 부호를 가지는 엘리먼트가 존재하는 경우, 해당 기저 백터 쌍 (G의 기저 백터 및 H의 기저 백터)이 서로 방향이 반대인 것을 제외한다면 내적의 절대값이 크기 때문에 매칭이 잘 되는 상황임에도 불구하고, 해당 코스트 값을 크게 간주하여 매칭에서 제외되는 현상이 발생할 수 있다. 따라서, 상기 수학식 31에서와 같이 형가리안 방법의 입력에 절대값을 취함으로써, 위와 같은 문제점을 해결하고, 기저 백터 쌍의 방향이 반대가 되는 경우까지 고려하여 최적의 솔루션을 찾을 수 있다. 이를 통해, 앞서 설명한 RCT 디자인 알고리즘의 수렴 속도가 빨라질 수 있고, 부호화 /복호화 관점에서 타겟 변환에 더욱 근사하는 RCT를 설계할 수 있다. 따라서, 상기 수학식 31의 행렬 J를 사용하면 최적의 할당을 찾는 문제는 다음의 수학식 32와 같이 정리될 수 있다. Where | · | Denotes an absolute value operator for each element. If the G r H matrix is input directly to the Hungarian algorithm (where the cost matrix can be-G T H o \), the elements of the matrix are negative. It may have a sign. If there is an element with a large absolute value and a negative sign in the G T H matrix, the absolute value of the dot product is excluded except that the corresponding base vector pairs (the base vector of G and the base vector of H) are in opposite directions. Although the matching is good because the value is large, the phenomenon may be excluded from the matching by considering the corresponding cost value large. Therefore, by taking an absolute value on the input of the Hungarian method as shown in Equation 31, the above solution can be solved and the optimal solution can be found by considering the case where the direction of the base vector pair is reversed. Through this, the convergence speed of the RCT design algorithm described above can be increased, and an RCT closer to the target transform can be designed in terms of encoding / decoding. Therefore, when the matrix J of Equation 31 is used, the problem of finding an optimal allocation may be summarized as in Equation 32 below.
[수학식 32] = argmax[Equation 32] = argmax
Figure imgf000047_0001
Figure imgf000047_0001
도 9는 본 발명이 적용되는 실시예로서, RCT 계수를 획득하는 과정을 설명하기 위한 흐름도이다. 인코더는 주어진 변환 행렬 ) 및 에러 공차 파라미터에 기초하여 행 변환 셋, 열 변환 셋 및 제 1,2 치환 행렬을 유도할 수 있다 (S910) . 여기서 , 상기 제 1, 제 2 치환 행렬은 최적화 과정을 통해서 유도되고, 상기 최적화 과정은 RCT (Row-Column Transform) 행렬과 상기 주어진 변환 행렬 (H)과의 매칭에 기초하여 결정될 수 있다. 9 is an embodiment to which the present invention is applied and is a flowchart illustrating a process of obtaining RCT coefficients. The encoder may derive the row transform set, the column transform set, and the first and second substitution matrices based on the given transformation matrix) and the error tolerance parameter (S910). Here, the first and second substitution matrices are derived through an optimization process, and the optimization process is performed by using a low-column transform (RCT) matrix with the given transform matrix (H). It can be determined based on the match.
일실시예로, 상기 RCT( Row- Column Transform) 행렬은 상기 행 변환 셋 및 상기 열 변환 셋을 이용하여 유도될 수 있으며, 상기 RCT 행렬은 변환 기저 백터 (transform basis vector)들에 가중치가 적용된 것을 특징으로 한다.  In one embodiment, the row-column transform matrix may be derived using the row transform set and the column transform set, wherein the RCT matrix is weighted to transform basis vectors. It features.
일실시예로,상기 최적화 과정은 형가리안 방법이 적용되고, 상기 형가리안 방법은 절대값 연산자가 적용된 입력을 이용함으로써 수행될 수 있다. 일실시예로,상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 한다.  In one embodiment, the type Garlician method is applied, the type Garlician method may be performed by using an input to which the absolute value operator is applied. In one embodiment, each of the transforms in the row transform set and the column transform set is orthogonal.
일실시예로, 상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 각각은 싱글 변환 (single transform)올 갖는 분리가능한 변환인 것을 특징으로 한다 . 상기 인코더는, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 1,2 치환 행렬에 기초하여 RCT( Row- Column Transform) 계수를 획득할 수 있다 (S920) . 여기서, 상기 제 1 치환 행렬, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 거 b 치환 행렬이 순서대로 적용될 수 있다.  In an embodiment, each of the row transform set and the column transform set is a separable transform having a single transform. The encoder may obtain a Row-Column Transform (RCT) coefficient based on the row transform set, the column transform set, and the first and second substitution matrices (S920). Here, the first substitution matrix, the row transformation set, the column transformation set, and the nearly b substitution matrix may be sequentially applied.
상기 인코더는, 상기 RCT 계수에 대해 양자화 및 엔트로피 인코딩을 수행할 수 있다 (S930) . 도 10은 본 발명이 적용되는 실시예로서, RCT 계수에 기초하여 디코딩을 수행하는 과정을 설명하기 위한 흐름도이다.  The encoder may perform quantization and entropy encoding on the RCT coefficients (S930). 10 is a flowchart illustrating a process of performing decoding based on RCT coefficients according to an embodiment to which the present invention is applied.
본 발명이 적용되는 디코더는, 비디오 신호를 수신할 수 있다. 상기 디코더는, 상기 비디오 신호로부터 엔트로피 디코딩 및 역양자화를 통해 변환 계수를 획득할 수 있다. 여기서, 상기 변환 계수는 본 발명이 적용되는 RCT( Row- Column Transform) 계수를 의口 1할 수 있고, 상기 RCT 계수는 본 명세서에서 설명한 실시예들이 적용된 것을 의미할 수 있다. The decoder to which the present invention is applied may receive a video signal. The decoder may obtain transform coefficients from the video signal through entropy decoding and inverse quantization. Here, the transform coefficient may refer to a Row-Column Transform (RCT) coefficient to which the present invention is applied, and the RCT coefficient may mean that the embodiments described herein are applied.
상기 디코더는, 변환 계수에 대해 제 1 역치환 행렬 (1st inverse - permutation matrix)를 적용할 수 있다 (S1010) . The decoder comprises: a first station for the substitution matrix transform coefficients - can be applied to (1 st inverse permutation matrix) ( S1010).
상기 디코더는, 제 1 역치환 행렬이 적용된 계수에 대해 역-열 변환 (inverse -column transform)을 수행할 수 있다 (S1020) .  The decoder may perform an inverse-column transform on coefficients to which the first inverse substitution matrix is applied (S1020).
상기 디코더는, 역 -열 변환된 계수에 대해 역 -행 변환 (inverse -row transform)을 수행할 수 있다 (S1030) .  The decoder may perform an inverse-row transform on the inverse-column transformed coefficient (S1030).
상기 디코더는, 역변환된 계수에 대해 제 2 역치환 행렬 (2nd inverse- permutation matrix)를 적용할 수 있다 (S1040) . The decoder, it is possible to apply the second reverse substitution matrix (2 nd inverse- permutation matrix) for an inverse transform coefficients (S1040).
일실시예로, 역변환 과정에서 이용되는 역변환 행렬은 변환 기저 백터 (transform basis vector)들에 가중치가 적용된 것일 수 있다.  In an embodiment, the inverse transform matrix used in the inverse transform process may be weighted to transform basis vectors.
일실시예로, 상기 역-행 (row) 변환 셋 및 상기 역-열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 한다.  In one embodiment, each transform in the inverse-row transform set and the inverse-column transform set is all orthogonal.
일실시예로, 상기 역-행 (row) 변환 셋 및 상기 역-열 (column) 변환 셋 각각은 싱글 변환 (single transform)을 갖는 분리가능한 변환인 것을 특징으로 한다.  In one embodiment, each of the inverse-row transform set and the inverse-column transform set is a separable transform having a single transform.
상기 디코더는, 픽셀 데이터를 이용하여 비디오 신호를 복원할 수 있다 (S1050) . 상기 기술된 것과 같이, 본 발명에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트를러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 상기 도 1, 도 2, 도 4 및 도 7 내지 도 8에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트를러 또는 칩 상에서 구현되어 수행될 수 있다. The decoder may reconstruct the video signal using the pixel data (S1050). As described above, the embodiments described herein may be implemented and performed on a processor, microprocessor, controller, or chip. For example, the functional units illustrated in FIGS. 1, 2, 4, and 7 to 8 may be implemented by a computer, a processor, a microprocessor, a controller, or a chip.
또한, 본 발명이 적용되는 디코더 및 인코더는 멀티미디어 방송 송수신 장치, 모바일 통신 단말, 홈 시네마 비디오 장치, 디지털 시네마 비디오 장치, 감시용 카메라, 비디오 대화 장치, 비디오 통신과 같은 실시간 통신 장치, 모바일 스트리밍 장치 , 저장 매체, 캠코더 , 주문형 비디오 (VoD) 서비스 제공 장치 , 인터넷 스트리밍 서비스 제공 장치 , 3차원 (3D) 비디오 장치 , 화상 전화 비디오 장치, 및 의료용 비디오 장치 등에 포함될 수 있으며, 비디오 신호 및 데이터 신호를 처리하기 위해 사용될 수 있다 .  In addition, the decoder and encoder to which the present invention is applied include a multimedia broadcasting transmitting and receiving device, a mobile communication terminal, a home cinema video device, a digital cinema video device, a surveillance camera, a video chat device, a real time communication device such as video communication, a mobile streaming device, Storage media, camcorders, video on demand (VoD) service providing devices, internet streaming service providing devices, three-dimensional (3D) video devices, video telephony video devices, and medical video devices, and the like, for processing video signals and data signals Can be used for.
또한, 본 발명이 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 발명에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크 (BD) , 범용 직렬 버스 (USB) , ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파 (예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트 스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다. In addition, the processing method to which the present invention is applied can be produced in the form of a program executed by a computer, and can be stored in a computer-readable recording medium. Multimedia data having a data structure according to the present invention can also be stored in a computer-readable recording medium. The computer readable recording medium includes all kinds of storage devices for storing computer readable data. The computer-readable recording medium may include, for example, a Blu-ray disc (BD), a universal serial bus (USB), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. Can be. Also, the Computer-readable recording media include media embodied in the form of carrier waves (eg, transmission over the Internet). In addition, the bit stream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
【산업상 이용가능성】  Industrial Applicability
이상, 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서 , 다양한 다른 실시예들을 개량, 변경 , 대체 또는 부가 등이 가능할 것이다.  As mentioned above, preferred embodiments of the present invention are disclosed for purposes of illustration, and those skilled in the art can improve and change various other embodiments within the spirit and technical scope of the present invention disclosed in the appended claims below. , Replacement or addition would be possible.

Claims

【청구의 범위】 【청구항 1】 [Range of claims] [claim 1]
【청구항 1】  [Claim 1]
행-열 변환 (Row— Column Transform)을 이용하여 변환을 수행하는 방법에 있어서,  In a method of performing a transform using a row—column transform,
주어진 변환 행렬 (H) 및 에러 공차 파라미터 (error tolerance parameter)에 기초하여 행 변환 셋 (row transform set) , 열 변환 셋 (column transform set) 및 게 1, 제 2 치환 행렬들 (permutation matrices)을 유도하는 단계 ;  Derive a row transform set, a column transform set and the first and second permutation matrices based on a given transformation matrix (H) and an error tolerance parameter Doing;
상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 1, 제 2 치환 행렬들에 기초하여 RCT( Row -Column Transform) 계수를 획득하는 단계; 및  Obtaining a Row-Column Transform (RCT) coefficient based on the row transform set, the column transform set, and the first and second substitution matrices; And
상기 RCT 계수에 대해 양자화 및 엔트로피 인코딩을 수행하는 단계 를 포함하되 ,  Performing quantization and entropy encoding on the RCT coefficients,
상기 RCT 계수는 상기 제 1 치환 행렬, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 2 치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 방법 .  Wherein the RCT coefficients are obtained by sequentially applying the first substitution matrix, the row transformation set, the column transformation set, and the second substitution matrix.
【청구항 2】  [Claim 2]
제 1항에 있어서,  The method of claim 1,
상기 제 1, 제 2 치환 행렬은 최적화 과정을 통해서 유도되고, 상기 최적화 과정은 RCT( Row- Column Transform) 행렬과 상기 주어진 변환 행렬 (H)과의 매칭에 기초하여 결정되고, 상기 RCT( Row -Column Transform) 행렬은 상기 행 변환 셋 및 상기 열 변환 셋을 이용하여 유도되는 것을 특징으로 하는 방법 . The first and second substitution matrices are derived through an optimization process, and the optimization process is determined based on matching between a row-column transform (RCT) matrix and the given transform matrix (H), The row-column transform (RCT) matrix is derived using the row transform set and the column transform set.
【청구항 3】  [Claim 3]
제 2항에 있어서,  The method of claim 2,
상기 RCT 행렬은 변환 기저 백터 (transform basis vector)들에 가중치가 적용된 것을 특징으로 하는 방법 .  And wherein the RCT matrix is weighted to transform basis vectors.
【청구항 4】  [Claim 4]
제 2항에 있어서,  The method of claim 2,
상기 최적화 과정은 형가리안 방법이 적용되고, 상기 형가리안 방법은 절대값 연산자가 적용된 입력을 이용함으로써 수행되는 것을 특징으로 하는 방법.  And the optimization process is performed by using a type-Garian method, and the type-Garian method is performed by using an input to which an absolute value operator is applied.
【청구항 5】 [Claim 5]
제 1항에 있어서,  The method of claim 1,
상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 하는 방법 .  Wherein each transform in the row transform set and the column transform set is all orthogormal.
【청구항 6】  [Claim 6]
제 1항에 있어서,  The method of claim 1,
상기 행 (row) 변환 셋 및 상기 열 (column) 변환 셋 각각은 싱글 변환 (single transform)을 갖는 분리가능한 변환인 것을 특징으로 하는 방법 .  Wherein each of the row transform set and the column transform set is a separable transform having a single transform.
【청구항 7】 [Claim 7]
행-열 변환 (Row-Column Transform)을 이용하여 역변환을 수행하는 방법에 있어서, 비디오 신호를 수신하는 단계; In the method for performing inverse transformation using a row-column transform, Receiving a video signal;
상기 비디오 신호로부터 엔트로피 디코딩 및 역양자화를 통해 계수를 획득하는 단계 ;  Obtaining coefficients from the video signal through entropy decoding and dequantization;
상기 계수에 대해 역치환 ( inverse -permutation) 및 역변환〈 inverse - transform)을 수행하는 단계; 및  Performing inverse -permutation and inverse transform on the coefficients; And
역변환된 계수를 이용하여 상기 비디오 신호를 복원하는 단계  Reconstructing the video signal using an inverse transformed coefficient
를 포함하되 ,  Including but
상기 역변환된 계수는 제 1 역치환 행렬, 역-열 변환 셋, 역-행 변환 셋 및 제 2 역치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 방법 .  Wherein the inverse transformed coefficients are obtained by applying a first inverse substitution matrix, an inverse-column transformation set, an inverse-row transformation set, and a second inverse substitution matrix in sequence.
【청구항 8】 [Claim 8]
거 항에 있어서, 상기 역변환 수행 단계는,  The method of claim 10, wherein performing the inverse transform comprises:
상기 계수에 대해 제 1 역치환 행렬을 적용하는 단계;  Applying a first inverse substitution matrix to the coefficients;
상기 제 1 역치환 행렬이 적용된 계수에 대해 역 -열 변환 ( inverse - column transform)을 수행하는 단계 ;  Performing an inverse-column transform on coefficients to which the first inverse substitution matrix is applied;
상기 역 -열 변환된 계수에 대해 역 -행 변환 ( irwerse - row transform)올 수행하는 단계 ; 및  Performing an inverse-row transform on the inverse-column transformed coefficients; And
상기 역-행 변환된 계수에 대해 제 2 역치환 행렬을 적용하는 단계  Applying a second inverse substitution matrix to the inverse-row transformed coefficients
를 포함하는 것을 특징으로 하는 방법 .  Method comprising a.
【청구항 9】  [Claim 9]
거) 7항에 있어서,  G)
역변환 행렬은 변환 기저 백터 ( transform basis vector)들에 가중치가 적용된 것을 특징으로 하는 방법. The inverse transformation matrix is applied to the transform basis vectors. Weighted to the method.
【청구항 10]  [Claim 10]
제 7항에 있어서,  The method of claim 7, wherein
상기 역-행 (row) 변환 셋 및 상기 역-열 (column) 변환 셋 내의 각 변환은 모두 직교 (orthogormal)인 것을 특징으로 하는 방법 .  Wherein each transform in the inverse-row transform set and the inverse-column transform set is all orthogormal.
【청구항 11】  [Claim 11]
제 7항에 있어서,  The method of claim 7, wherein
상기 역-행 (row) 변환 셋 및 상기 역 -열 (column) 변환 셋 각각은 싱글 변환 (single transform)을 갖는 분리가능한 변환인 것을 특징으로 하는 방법.  Wherein each of said inverse-row transform set and said inverse-column transform set is a separable transform having a single transform.
【청구항 12】 [Claim 12]
행-열 변환 (Row-Column Transform)을 이용하.여 변환을 수행하는 장치에 있어서,  In a device that performs a transformation using a row-column transform,
주어진 변환 행렬 (H) 및 에러 공차 파라미터 (error tolerance parameter)어 1 기초하여 행 변환 셋 (row transform set) , 열 변환 λΑ (column transform set) 및 제 1, 게 2 치환 행렬들 (permutation matrices)을 유도하고, 상기 행 변환 셋 , 상기 열 변환 셋 및 상기 제 1, 제 2 치환 행렬들에 기초^ "여 RCT( Row -Column Transform) 계수를 획득하는 변환부; Based on the given transformation matrix (H) and error tolerance parameter 1 row transform set, column transform λ (column transform set) and first, crab 2 permutation matrices A transform unit for deriving and obtaining RCT coefficients based on the row transform set, the column transform set, and the first and second substitution matrices;
상기 RCT 계수에 대해 양자화를 수행하는 양자화부; 및  A quantization unit performing quantization on the RCT coefficients; And
상기 양자화된 RCT 계수에 대해 엔트로피 인코딩을 수행하는 엔트로피 인코딩부 를 포함하되 , An entropy encoding unit that performs entropy encoding on the quantized RCT coefficients Including but
상기 RCT 계수는 상기 제 1 치환 행렬, 상기 행 변환 셋, 상기 열 변환 셋 및 상기 제 2 치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 장치 .  Wherein the RCT coefficient is obtained by applying the first substitution matrix, the row transformation set, the column transformation set, and the second substitution matrix in order.
【청구항 13】  [Claim 13]
행-열 변환 ( Row- Column Transform)을 이용하여 역변환을 수행하는 장치에 있어서,  In the apparatus for performing the inverse transformation using a row-column transformation,
비디오 신호를 수신하는 수신부;  A receiver for receiving a video signal;
상기 레지듀얼 신호를 엔트로피 디코딩하는 엔트로피 디코딩부;  An entropy decoding unit for entropy decoding the residual signal;
상기 엔트로피 디코딩된 레지듀얼 신호를 역양자화하여 계수를 획득하는 역양자화부 ;  An inverse quantization unit for inversely quantizing the entropy decoded residual signal to obtain a coefficient;
入 o1 "기 계수에 대해 역치환 ( inverse -permutation) 및 역변환 ( inverse - trans form)을 수행하는 역변환부; 및 入 o 1 " inverse transform unit for performing inverse-permutation and inverse (transverse) on the coefficient; and
역변환된 계수를 이용하여 상기 비디오 신호를 복원하는 복원부  A reconstruction unit for reconstructing the video signal using an inverse transformed coefficient
를 포함하되 ,  Including but
상기 역변환된 계수는 제 1 역치환 행렬, 역-열 변환 셋, 역-행 변환 셋 및 제 2 역치환 행렬이 순서대로 적용됨으로써 획득되는 것을 특징으로 하는 장치 .  And the inverse transformed coefficients are obtained by applying a first inverse substitution matrix, an inverse-column transformation set, an inverse-row transformation set, and a second inverse substitution matrix in sequence.
PCT/KR2018/001378 2017-02-01 2018-02-01 Method and apparatus for performing transformation by using row-column transform WO2018143687A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762453477P 2017-02-01 2017-02-01
US62/453,477 2017-02-01

Publications (1)

Publication Number Publication Date
WO2018143687A1 true WO2018143687A1 (en) 2018-08-09

Family

ID=63039943

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/001378 WO2018143687A1 (en) 2017-02-01 2018-02-01 Method and apparatus for performing transformation by using row-column transform

Country Status (1)

Country Link
WO (1) WO2018143687A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224828A (en) * 2019-07-17 2019-09-10 江苏南工科技集团有限公司 A kind of Encryption Algorithm based on quantum techniques

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080020947A (en) * 2006-08-25 2008-03-06 엔비디아 코포레이션 Method and system for performing two-dimensional transform on data value array with reduced power consumption
KR20120098500A (en) * 2011-02-25 2012-09-05 삼성전자주식회사 Method for transforming and inverse-transforming image, and apparatus using the same
KR20140119822A (en) * 2011-10-18 2014-10-10 주식회사 케이티 Method for encoding image, method for decoding image, image encoder, and image decoder
WO2014200322A2 (en) * 2013-06-14 2014-12-18 삼성전자 주식회사 Signal conversion method and device
KR20150090206A (en) * 2013-01-30 2015-08-05 인텔 코포레이션 Content adaptive parametric transforms for coding for next generation video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080020947A (en) * 2006-08-25 2008-03-06 엔비디아 코포레이션 Method and system for performing two-dimensional transform on data value array with reduced power consumption
KR20120098500A (en) * 2011-02-25 2012-09-05 삼성전자주식회사 Method for transforming and inverse-transforming image, and apparatus using the same
KR20140119822A (en) * 2011-10-18 2014-10-10 주식회사 케이티 Method for encoding image, method for decoding image, image encoder, and image decoder
KR20150090206A (en) * 2013-01-30 2015-08-05 인텔 코포레이션 Content adaptive parametric transforms for coding for next generation video
WO2014200322A2 (en) * 2013-06-14 2014-12-18 삼성전자 주식회사 Signal conversion method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224828A (en) * 2019-07-17 2019-09-10 江苏南工科技集团有限公司 A kind of Encryption Algorithm based on quantum techniques
WO2021008561A1 (en) * 2019-07-17 2021-01-21 江苏南工科技集团有限公司 An encryption algorithm employing quantum technology
CN110224828B (en) * 2019-07-17 2023-06-20 江苏南工科技集团有限公司 Encryption algorithm based on quantum technology

Similar Documents

Publication Publication Date Title
KR101901355B1 (en) Method and apparatus for performing graph-based prediction using optimazation function
US11265549B2 (en) Method for image coding using convolution neural network and apparatus thereof
CN107431813B (en) Method and apparatus for processing video signal using graph-based transform
US11575914B2 (en) Transform-based image coding method and device
KR102385399B1 (en) Method and apparatus for configuring a rendition for video compression
US10567763B2 (en) Method and device for processing a video signal by using an adaptive separable graph-based transform
EP3334163A1 (en) Device and method for performing transform by using singleton coefficient update
US11368691B2 (en) Method and device for designing low-complexity calculation DST7
US11470316B2 (en) Method and device for performing transformation by using layered-givens transform
US20190349602A1 (en) Method and apparatus for performing transformation using layered givens transform
US20210329249A1 (en) Image coding method based on secondary transform and apparatus therefor
KR101912769B1 (en) Method and apparatus for decoding/encoding video signal using transform derived from graph template
EP4294012A1 (en) Video coding method on basis of secondary transform, and device for same
US20220303537A1 (en) Method and device for encoding/decoding video signal by using optimized conversion based on multiple graph-based model
WO2017057922A1 (en) Method and device for encoding/decoding a video signal by using graph-based lifting transform
KR20170074948A (en) Method and apparatus for performing graph-based transformation using generalized graph parameters
KR20180089858A (en) Method and apparatus for performing transform using layered givens transform
WO2018143687A1 (en) Method and apparatus for performing transformation by using row-column transform
WO2017057923A1 (en) Method for encoding/decoding video signal by using single optimized graph
US11503292B2 (en) Method and apparatus for encoding/decoding video signal by using graph-based separable transform
US20230137884A1 (en) Transform-based image coding method and apparatus therefor
US20210195241A1 (en) Method and device for performing transform using row-column transforms

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18748089

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18748089

Country of ref document: EP

Kind code of ref document: A1