WO2015009068A1 - 비트 뎁스 및 컬러 포맷의 변환을 동반하는 업샘플링 필터를 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 - Google Patents
비트 뎁스 및 컬러 포맷의 변환을 동반하는 업샘플링 필터를 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 Download PDFInfo
- Publication number
- WO2015009068A1 WO2015009068A1 PCT/KR2014/006466 KR2014006466W WO2015009068A1 WO 2015009068 A1 WO2015009068 A1 WO 2015009068A1 KR 2014006466 W KR2014006466 W KR 2014006466W WO 2015009068 A1 WO2015009068 A1 WO 2015009068A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- layer image
- enhancement layer
- unit
- phase difference
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/187—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
- H04N19/33—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/59—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
Definitions
- the present invention relates to a method and apparatus for video encoding / decoding through image upsampling.
- one picture is divided into macroblocks to encode an image. Then, each macroblock is predictively encoded using inter prediction or intra prediction.
- Inter prediction is a method of compressing an image by removing temporal redundancy between pictures
- motion estimation coding is a representative example.
- Motion estimation encoding predicts blocks of the current picture using at least one reference picture, respectively.
- the predetermined evaluation function is used to search for a reference block most similar to the current block in a predetermined search range.
- the current block is predicted based on the reference block, and the residual block generated by subtracting the prediction block generated as a result of the prediction from the current block is encoded.
- interpolation is performed on the search range of the reference picture to perform prediction more accurately to generate subpixels smaller than the pixel unit (integer pel unit), and inter prediction is performed based on the generated subpixels. do.
- the present invention proposes a method of determining an upsampling filter in order to interpolate sample values accurately for each sampling position according to the upsampling ratio.
- a scalable video encoding method and a scalable video decoding method for converting a color format by changing a scalability magnification of a luma pixel and a scalability magnification of a chroma pixel are provided.
- a scalable video encoding method and a scalable video decoding method for scaling up a bit depth when upsampling through an integer-based operation are proposed.
- a scalable video encoding method includes: determining a reference layer image corresponding to the enhancement layer image among base layer images for inter-layer prediction of an enhancement layer image; Determining a phase difference between pixels of the enhancement layer image and the reference layer image according to a magnification between the enhancement layer images and the reference layer image and a color format of the enhancement layer; Selecting at least one filter coefficient set corresponding to the determined phase difference among filter coefficient data including filter coefficient sets corresponding to phase differences; Generating an upsampled reference layer image in which the resolution of the reference layer image is enlarged to the magnification by performing interpolation filtering on the reference layer image using the selected filter coefficient set; Obtaining a prediction error between the upsampled reference layer image and the enhancement layer image; Generating an enhancement layer bitstream including the prediction error and a scalable codec that performs the interpolation filtering; And generating a base layer bitstream by encoding the base layer images.
- the generating of the upsampled reference layer image may include converting a bit depth of the reference layer image so that the upsampled reference layer image corresponds to bit depths of the enhancement layer images. Can be.
- the step of converting the bit depth may be characterized by converting the bit depth of the reference layer image larger than 8 bits.
- the determining of the phase difference between the pixels may include determining a phase difference between the luma pixel of the reference layer image and the luma pixel of the enhancement layer image according to the magnification; And determining a phase difference between the chroma pixel of the reference layer image and the chroma pixel of the enhancement layer image according to the magnification and the color format of the enhancement layer.
- the determining of the phase difference between the chroma pixels may include determining a chroma pixel magnification according to the magnification and the color format of the enhancement layer; And determining a phase difference between the chroma pixel of the reference layer image and the chroma pixel of the enhancement layer image according to the chroma pixel magnification.
- the color format of the enhancement layer may be characterized in that the ratio of the luma pixel and the two chroma pixels is 4: 2: 2 or 4: 4: 4.
- the video encoding method may further include determining positions of samples used for interpolation filtering among the reference layer images.
- a point of the enhancement layer image corresponding to an origin of the upsampled reference layer image Obtaining an offset component of the enhancement layer image, and determining the prediction error by comparing the enhancement layer image from which the offset component is removed with the upsampled reference layer image. It may be characterized by determining.
- a video decoding method includes reconstructing the enhancement layer image by using the prediction error and the upsampled reference layer image.
- the generating of the upsampled reference layer image may further include converting a bit depth of the reference layer image so that the upsampled reference layer image corresponds to bit depths of the enhancement layer images. can do.
- the step of converting the bit depth may be characterized by converting the bit depth of the reference layer image larger than 8 bits.
- the determining of the phase difference between the pixels may include determining a phase difference between the luma pixel of the reference layer image and the luma pixel of the enhancement layer image according to the magnification; And determining a phase difference between the chroma pixel of the reference layer image and the chroma pixel of the enhancement layer image according to the magnification and the color format of the enhancement layer.
- the determining of the phase difference between the chroma pixels may include determining a chroma pixel magnification according to the magnification and the color format of the enhancement layer; And determining a phase difference between the chroma pixel of the reference layer image and the chroma pixel of the enhancement layer image according to the chroma pixel magnification.
- the converting of the color format may include converting the color format of the reference layer image such that a ratio of luma pixels to two chroma pixels is 4: 2: 2 or 4: 4: 4. have.
- the video decoding method may further include determining positions of samples used for interpolation filtering in the reference layer image.
- the video decoding method may determine a point of the enhancement layer image corresponding to the origin of the upsampled reference layer image.
- the method may further include determining an offset component of the enhancement layer image, and reconstructing the enhancement layer image comprises performing the offset component of the enhancement layer image by using the upsampled reference layer image and the prediction error. It may be characterized by restoring the remaining portions.
- a scalable video encoding apparatus includes: a filter data storage configured to store filter coefficient sets corresponding to phase differences; Determining a phase difference between a pixel of the reference layer image and a pixel of the enhancement layer image based on a magnification of the reference layer image selected from the base layer, an enhancement layer image corresponding to the reference layer image, and a color format of the enhancement layer, A filter selector which selects a filter coefficient set corresponding to the determined phase difference among the filter coefficient data; An upsampling unit which performs interpolation filtering on the reference layer image by using the selected filter coefficient set; A prediction error obtaining unit obtaining a prediction error between the upsampled reference layer image and the enhancement layer image; A base layer encoder configured to generate a base layer bitstream by performing encoding on the base layer image; A video encoding apparatus including an enhancement layer encoder configured to generate an enhancement layer bitstream including the prediction error and a scalable codec for performing interpolation filtering is provided.
- a scalable video decoding apparatus includes: a filter data storage configured to store filter coefficient sets corresponding to phase differences; Obtain a scalable codec that performs interpolation filtering based on a prediction error between an upsampled reference layer image and an enhancement layer image, a magnification between the enhancement layer image and a reference layer image, and a color format of the enhancement layer from an enhancement layer bitstream.
- An enhancement layer bitstream decoder An enhancement layer bitstream decoder; A base layer bitstream decoder configured to generate a base layer image from the base layer bitstream; A filter selection unit for selecting a filter coefficient set corresponding to a phase difference determined from the scalable codec among filter set sets stored in the filter data storage unit; An upsampling unit configured to obtain the upsampled reference layer image by performing the interpolation filtering on the reference layer image according to the selected filter coefficient set; Provided is a video decoding method including an enhancement layer acquirer configured to obtain an enhancement layer image by using the prediction error and the upsampled reference layer image.
- a computer-readable recording medium having a program recorded thereon for executing the video encoding method proposed above is provided.
- a computer-readable recording medium having recorded thereon a program for executing the video decoding method proposed above.
- FIG. 1 is a block diagram of an image upsampling apparatus according to various embodiments.
- 4A and 4B show the location of reference pixels for upsampling filtering.
- 5A-5D show the distribution of luma pixels and chroma pixels in 4: 2: 0, 4: 2: 2 and 4: 4: 4 color formats.
- FIG. 6 shows the distribution of low resolution / high resolution luma pixels and low resolution / high resolution chroma pixels when the magnification between the low resolution image and the high resolution image is 2 when there is no change in the 4: 2: 0 color format.
- 10A-10D illustrate filter coefficients used in an upsampling filter according to the phase of interpolation pixels.
- FIG 11 shows an offset between an upsampled reference layer image and an enhancement layer image.
- FIG. 12A is a block diagram of a scalable video encoding apparatus, according to various embodiments.
- 12B is a block diagram of a scalable video decoding apparatus, according to various embodiments.
- FIG. 13A is a flowchart of a scalable video encoding method, according to various embodiments.
- 13B is a flowchart of a scalable video decoding method, according to various embodiments.
- FIG. 14 is a block diagram of a scalable video encoding system, according to various embodiments.
- 15A is a block diagram of a video encoding apparatus based on coding units having a tree structure, according to various embodiments.
- 15B is a block diagram of a video decoding apparatus based on coding units having a tree structure, according to various embodiments.
- 16 illustrates a concept of coding units, according to various embodiments.
- 17A is a block diagram of an image encoder based on coding units, according to various embodiments.
- 17B is a block diagram of an image decoder based on coding units, according to various embodiments.
- 18 is a diagram illustrating deeper coding units according to depths, and partitions, according to various embodiments.
- 19 illustrates a relationship between a coding unit and transformation units, according to various embodiments.
- 20 is a diagram of deeper encoding information according to depths, according to various embodiments.
- 21 is a diagram of deeper coding units according to depths, according to various embodiments.
- 22, 23, and 24 illustrate a relationship between coding units, prediction units, and transformation units, according to various embodiments.
- FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1.
- FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1.
- 26 illustrates the physical structure of a disk on which various associated programs are stored.
- Fig. 27 shows a disc drive for recording and reading a program by using the disc.
- FIG. 28 illustrates the overall structure of a content supply system for providing a content distribution service.
- 29 and 30 illustrate an external structure and an internal structure of a mobile phone to which a video encoding method and a video decoding method according to various embodiments are applied.
- 31 illustrates a digital broadcasting system employing a communication system according to various embodiments.
- FIG. 32 is a diagram illustrating a network structure of a cloud computing system using a video encoding apparatus and a video decoding apparatus, according to various embodiments.
- 'image' may refer to a generic image including a still image as well as a video such as a video.
- upsampling of an image using an upsampling filter considering a phase difference is proposed.
- scalable video encoding and decoding using an upsampling filter is proposed.
- a tree to be performed in each layer in the scalable video system with reference to FIGS. 14 through 24.
- encoding and decoding of a video are proposed.
- FIG. 1 is a block diagram of an image upsampling apparatus 10 according to various embodiments.
- the image upsampling apparatus 10 using the symmetrical / asymmetric upsampling filter includes a filter selector 12, an upsampling unit 14, and a filter data storage unit 16.
- Interpolation of an image may be used when converting a low resolution image into a high resolution. It may be used when converting an interlaced image into a progressive image, or may be used when upsampling a low quality image and converting it into a high quality image.
- the motion estimation and motion compensation unit may perform inter prediction using the interpolated reference frames.
- the inter prediction may be improved by generating an image of high quality by interpolating a reference frame and performing motion estimation and compensation based on the image of high quality.
- the motion compensator may increase the accuracy of inter prediction by performing motion compensation using an interpolated reference frame.
- an upsampled image by interpolating a base layer image is predicted of an enhancement layer. It can be used as an image or a reference image.
- the image upsampling apparatus 10 may receive a low resolution image and interpolate pixels of an integer pel unit of the low resolution image to generate pixel values of a sub-pel unit.
- the input image may be a picture sequence, a picture, a frame, or blocks of a low resolution video.
- the subpixel unit of the low resolution image may correspond to the pixel unit of the high resolution image.
- magnification of the low resolution image and the high resolution image is defined as the width of the high resolution image to the width of the low resolution image, and the ratio of the low resolution image and the high resolution image is 1: 2, the pixel is positioned between the pixel units of the low resolution image.
- a pixel of 1/2 pixel may correspond to pixel of a pixel in a high resolution image.
- the pixel of the subpixel unit generated by interpolating pixel unit pixels of the low resolution image may correspond to the pixel unit pixel of the high resolution image.
- the image upsampling apparatus 10 may generate a high resolution image by performing upsampling through filtering on a low resolution image.
- subpixel pixels may be generated through interpolation filtering of a low resolution image, and intervals between the original pixel units of the low resolution image and the subpixel pixels generated through interpolation filtering may be extended pixel by pixel.
- the original pixel unit pixels and the subpixel unit pixels of the low resolution image may be determined to correspond to the positions of the pixel unit pixels of the high resolution image, respectively.
- the pixel-by-pixel pixels of the high resolution image are determined by interpolation filtering of the low resolution image, and the interpolation filtering operation may be understood as a filtering operation for upsampling.
- the subpixel unit pixel position determined through interpolation filtering may be a sampling position generated by upsampling.
- the sampling position may vary depending on the scaling factor of the high resolution image to be generated by upsampling the low resolution image. For example, when the ratio between the low resolution image and the high resolution image is 1: 2, one sampling position is determined at a half pixel position between two adjacent pixels of the low resolution image, and three pixels are mapped at equal intervals. Can be. As another example, when the magnification between the low resolution image and the high resolution image is 2: 3, four pixels may be mapped at equal intervals every 1/3 and 2/3 pixel units between three adjacent pixels of the low resolution image.
- a phase difference may exist between a pixel position pixel of a low resolution image and a pixel position (sampling position) of a high resolution image. Since the pixel unit pixel position of the low resolution image is fixed, if the sampling position is determined according to the magnification between the low resolution image and the high resolution image, the phase difference between the pixel unit pixel and the pixel of the high resolution image may be determined.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image may be determined according to the magnification of the low resolution image and the high resolution image. That is, if the magnifications of the low resolution image and the high resolution image are different, the phase difference may be changed.
- the filter coefficient set may be determined according to the phase difference. Accordingly, the filter data storage unit 16 may store filter coefficient sets mapped for each phase difference between the pixels of the low resolution image and the pixels of the high resolution image. For example, the filter data storage unit 16 may be individually set for phase differences 1/16, 1/8, 1/5, 1/4, 1/3, 3/8, 2/5, 1/2, and the like. Filter coefficient sets can be stored.
- the filter selector 12 may determine a phase difference between a pixel of the low resolution image and a pixel of the high resolution image based on a magnification between the high resolution image and the low resolution image. However, since at least one sampling position is determined for one magnification, at least one phase difference may be mapped for one magnification. Therefore, even when upsampling a low resolution image to a high resolution image according to one magnification, upsampling filtering may be performed by selecting a different filter for each phase difference. Accordingly, the filter selector 12 may select the upsampling filter differently based on the phase difference among the upsampling filters for generating the pixel value of the sampling position located between the pixel units of the low resolution image.
- the sampling position may be determined according to the magnification between the low resolution image and the high resolution image.
- the output value obtained by performing filtering on the low resolution image using the upsampling filter may be determined to be a pixel value corresponding to the sampling position.
- the upsampling unit 14 may generate pixel values of the sampling positions by interpolating pixel units adjacent to the sampling positions using the upsampling filter selected by the filter selector 12.
- the upsampling filtering on the pixel-by-pixel pixels may include performing upsampling filtering on the pixel-by-pixel reference pixels including the pixel-by-pixel pixels adjacent to the sampling position.
- the upsampling filter may be a one-dimensional filter. Therefore, by performing filtering using the selected upsampling filter on the pixel units adjacent in the horizontal direction in the low resolution image, upsampling in the horizontal direction may be performed. Upsampling in the vertical direction may be performed by performing filtering using the selected upsampling filter on the pixel unit pixels adjacent in the vertical direction in the low resolution image. Accordingly, by performing upsampling filtering in the horizontal and vertical directions on the low resolution image, the pixel values of the high resolution image may be determined.
- the filter selector 12 may individually determine the upsampling filter according to the sampling position among the upsampling filters.
- the upsampling filters according to various embodiments may include a symmetric upsampling filter composed of the same number of filter coefficients around a sampling position, and an asymmetric upsampling filter composed of different numbers of filter coefficients.
- the filter selector 12 may individually select symmetric upsampling filters or asymmetric upsampling filters according to sampling positions.
- a 7-tap upsampling filter may consist of three filter coefficients and four filter coefficients around a sampling position.
- the 7-tap upsampling filter is an asymmetric upsampling filter.
- an 8-tap upsampling filter may consist of four filter coefficients and four filter coefficients around a sampling position.
- the 8-tap upsampling filter can be regarded as a symmetric upsampling filter.
- the upsampling unit 14 may perform filtering by referring to pixel units positioned asymmetrically about the sampling position. In addition, when the symmetric upsampling filter is selected, the upsampling unit 14 may perform filtering by referring to pixel units symmetrically positioned around the sampling position.
- the filter data storage unit 16 may store a set of filter coefficients of the upsampling filter, which is normalized to minimize a frequency response error generated as a result of interpolation using the upsampling filter among the upsampling filters.
- upsampling at a magnification of 2: 3 is required to upsample low-resolution video having a resolution of 720p to high-resolution video at a resolution of 1080p, or to upsample HD-quality video to a full HD video.
- a set of filter coefficients for a magnification 2: 3 eight tap filter coefficients for phase difference 1/3 or 2/3 ⁇ -1, 4, -11, 52, 26, -8 , 3, -1 ⁇ may be stored.
- the filter coefficients may be stored in an enlarged manner as integers.
- the above-mentioned 8-tap filter coefficients ⁇ -1, 4, -11, 52, 26, -8, 3, -1 ⁇ for the phase difference 1/3 or 2/3 described above are enlarged by 64 to be.
- the upsampling unit 14 may reduce the filtering output value by 64 to determine the pixel value of the sampling position.
- the filter data storage unit 16 may include filter coefficient sets corresponding to phase differences according to the phase difference interval 1/16.
- the upsampling unit 14 corresponds to the phase difference 5/16 among the filter coefficient data stored in the filter data storage unit 16 for upsampling for a sampling position having a phase difference of 1/3 when the magnification is 2: 3.
- the filter coefficient set to select can be selected.
- the upsampling unit 14 corresponds to a phase difference 11/16 among the filter coefficient data stored in the filter data storage unit 16 for upsampling for a sampling position having a phase difference of 2/3 when the magnification is 2: 3. You can select a set of filter coefficients.
- the filter data storage unit 16 may include filter coefficient sets corresponding to phase differences according to a phase difference interval 1/8.
- the upsampling unit 14 corresponds to a phase difference 3/8 of the filter coefficient data stored in the filter data storage unit 16 for upsampling for a sampling position having a phase difference of 1/3 when the magnification is 2: 3.
- the filter coefficient set to select can be selected.
- the upsampling unit 14 may select a filter coefficient set corresponding to the phase difference 5/8 from the filter coefficient data for upsampling for a sampling position having a phase difference of 2/3 when the magnification is 2: 3.
- the image upsampling apparatus 10 may perform image interpolation using different upsampling filters for each color component.
- the filter selector 12 may select the upsampling filter differently based on the sampling position and the color component of the current pixel among the upsampling filters. Accordingly, the upsampling unit 14 may generate pixel values of the sampling positions by interpolating the pixel units by using the upsampling filter individually selected for each color component.
- the filter selector 12 may differently determine the upsampling filter of the luma component and the upsampling filter of the chroma component.
- the phase difference between the luma pixel of the low resolution image and the luma pixel of the high resolution image may be different from the phase difference between the chroma pixel of the low resolution image and the chroma pixel of the high resolution image. Therefore, the upsampling filter for the luma component and the upsampling filter for the chroma component can be determined separately according to the respective phase differences.
- luma pixel and chroma pixel positions may be determined.
- the position of the chroma pixel may be determined according to the position of the luma pixel. Therefore, the position of the luma pixels of the high resolution image may be determined according to the magnification between the low resolution image and the high resolution image, but the position of the chroma pixels of the high resolution image may be determined according to the position of the luma pixels of the high resolution image. Therefore, the phase difference between the chroma pixel of the low resolution image and the chroma pixel of the high resolution image may be different from the phase difference between the luma pixel of the low resolution image and the luma pixel of the high resolution image.
- the filter selector 12 may first determine a phase difference between the luma pixel of the low resolution image and the luma pixel of the high resolution image based on the magnification between the low resolution image and the high resolution image.
- the filter selector 12 may determine the position of the chroma pixel of the high resolution image in relation to the position of the luma pixels of the high resolution image, and determine the phase difference between the chroma component pixel of the low resolution image and the chroma pixel of the high resolution image.
- the filter selector 12 may determine the position of the chroma pixel of the high resolution image in preparation for the position of the luma pixels of the high resolution image in consideration of the color format conversion. For example, if the color format of the low resolution image is 4: 2: 0 and the color format of the high resolution image is 4: 2: 2, the vertical upsampling ratio of the chroma pixels is 2 of the vertical upsampling ratio of the luma pixels. Can be doubled For example, if the color format of the low resolution image is 4: 2: 0 and the color format of the high resolution image is 4: 4: 4, both the vertical upsampling ratio of the chroma pixels and the upsampling ratio of the chroma pixels are horizontal. Each may be twice the upsampling ratio in the vertical direction of the luma pixel and the upsampling ratio in the horizontal direction of the luma pixel.
- the color format conversion will be described in detail with reference to FIGS. 5A to 8.
- the filter selector 12 determines the phase difference for the luma pixel and the phase difference chroma separately, so that the upsampling filter for the luma pixel and the upsampling filter for the chroma pixel may be separately determined according to the phase difference. Can be.
- the image upsampling apparatus 10 may include a central processor (not shown) that collectively controls the filter selector 12, the upsampling unit 14, and the filter data storage unit 16. have.
- the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 are operated by their own processors (not shown), and the images are generated as the processors (not shown) operate organically with each other.
- the upsampling device 10 may be operated in its entirety.
- the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 may be controlled under the control of an external processor (not shown) of the image encoding apparatus 10 according to various embodiments. have.
- the image upsampling apparatus 10 may include one or more data storage units (not shown) in which input and output data of the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 are stored. It may include.
- the image upsampling apparatus 10 may include a memory controller (not shown) that controls data input / output of the data storage unit (not shown).
- the image upsampling apparatus 10 may include a separate processor including a circuit for performing an image upsampling operation.
- the image upsampling apparatus 10 may include a storage medium in which an image interpolation module is recorded, and may include a case where the central processor implements an image upsampling operation according to various embodiments by calling and driving the image interpolation module. have.
- the sample value of the correct sampling position is filtered through the filter coefficients. Can also be determined accurately.
- the image upsampling apparatus 10 may store filter data for filter coefficient sets capable of determining an accurate sample value for each phase difference required in the upsampling ratio between the low resolution image and the high resolution image. Can be.
- the image upsampling apparatus 10 may specify a phase difference based on the magnification between the current low resolution image and the current high resolution image every time upsampling is performed, and may selectively use an upsampling filter corresponding to the specified phase difference among the filter data. have.
- the image upsampling apparatus 10 may store only a set of filter coefficients for an upsampling filter corresponding to a phase difference that is specified according to a frequently used upsampling ratio, so that upsampling filtering may be efficiently performed.
- p is a positive integer and the phase difference interval is 2 ⁇ (-p)
- each phase difference can be regarded as i * 2 ⁇ (-p) (where i is an integer smaller than 2 ⁇ p).
- upsampling filtering may be performed for each sampling unit by selecting an approximate phase difference.
- interpolation filtering for image upsampling is described in detail with reference to FIGS. 2 to 4B.
- the image upsampling apparatus 10 interpolates pixel values in the unit of pixels in the spatial domain, that is, pixels at the 'X' position, which is a sampling position by interpolating between pixel values of the 'O' position of the predetermined block 20. Generate values. Pixel values of the 'X' position are pixel values of the subpixel unit whose sampling position is determined by ⁇ x and ⁇ y. 2 illustrates an example in which a predetermined block 20 is 4x4, but the size of the block is not limited to 4x4, and pixel values of subpixel units are generated through upsampling filtering on a larger or smaller block. It can be easily understood by those skilled in the art.
- motion vectors are used for motion compensation and prediction of the current image.
- a previously decoded image is referred to in order to predict the current image, and the motion vector indicates a predetermined point of the reference image. Therefore, the motion vector indicates pixels in pixel units of the reference image.
- the position of the pixel to be referred to by the current image may be a point located between pixels of the pixel unit of the reference image. This point is called the location of the subpixel unit. Since no pixel exists at the location of the subpixel unit, the pixel value of the subpixel unit is only predicted using the pixel values of the pixel units. That is, the pixel value of the subpixel unit is estimated through interpolation of the pixel units.
- the pixel unit and the subpixel unit may be sampling positions.
- FIGS. 3, 4A, 4B, and 4C an interpolation method for pixel-by-pixel pixels is described in detail with reference to FIGS. 3, 4A, 4B, and 4C.
- the image upsampling apparatus 10 generates a pixel value 35 of a sampling position by interpolating between pixel values 31 and 33 of pixel units of a low resolution image in the spatial domain.
- the pixel value 35 at the sampling position determined by the phase difference ⁇ .
- the generated sampling position may be a pixel unit pixel of the high resolution image, and the pixel value of the sampling position may be a pixel value of the high resolution image.
- 4A and 4B show the location of reference pixels for upsampling filtering.
- a plurality of adjacent pixel units including pixel values 31 and 33 are generated to interpolate between two pixel values 31 and 33 of a low resolution image to generate a pixel value 35 of a sampling position.
- interpolation may be performed between the 0 th pixel and the 1 th pixel.
- FIG. 4A has been described as an example of interpolating between pixel values in a horizontal direction, one-dimensional upsampling filtering is possible using pixel values in a vertical direction.
- the pixel value P ( ⁇ ) of the sampling position ⁇ in the vertical direction may be generated by interpolating between the adjacent P0 41 and P1 43 in the vertical direction.
- the upsampling filtering method differs in that the interpolation is performed using the pixel values 47 and 49 arranged in the vertical direction instead of the pixel values 37 and 39 arranged in the horizontal direction. Will be similar.
- pixel values of sampling positions in more various directions may be generated.
- 5A-5D show the distribution of luma pixels and chroma pixels in 4: 2: 0, 4: 2: 2 and 4: 4: 4 color formats.
- 5A shows each pixel in the YCbCr color space graphically.
- the YCbCr color space is composed of Y luma pixels (hereinafter referred to as luma pixels) and two chroma pixels of Cb and Cr.
- luma pixels Y luma pixels
- Cb chroma pixel 52 is represented by a triangle
- Cr chroma pixel 53 is represented by a circle.
- each block means a pixel.
- the pixel corresponding to the block means that only Y luma pixel 51 is allocated.
- the block has a square figure and a triangle figure, it means that the pixel has a Y luma pixel 51 and a Cb chroma pixel 52.
- 5B shows pixels of a 4: 2: 0 color format image.
- one chroma pixel is mapped to four luma pixels.
- the size of the array of luma pixels is [W] x [H]
- the size of the array of chroma pixels may be [W / 2] x [H / 2]. Therefore, a 2x2 block of four pixels is allocated a luma pixel for each pixel, and Cb chroma pixels and Cr chroma pixels are assigned to only one pixel out of four pixels.
- each of the blocks 541, 542, 543, and 544 includes a square figure representing a luma pixel. However, a triangular figure representing Cb chroma pixels is assigned only to block 541, and a circular figure representing Cr chroma pixels is assigned to block 542 only. Thus, chroma pixels are not assigned to blocks 543 and 544.
- the structures of these blocks 541, 542, 543, and 544 are repeated in other blocks.
- 5C shows the pixels on a 4: 2: 2 color format image.
- two chroma pixels are mapped to four luma pixels.
- the size of the array of luma pixels is [W] x [H]
- the size of the array of chroma pixels may be [W / 2] x [H]. Therefore, a 2x2 block of four pixels is allocated a luma pixel for each pixel, and a Cb chroma pixel and a Cr chroma pixel are allocated to two of the four pixels.
- each of the blocks 551, 552, 553, and 554 includes a square figure representing luma pixels.
- triangular figures representing Cb chroma pixels are assigned only to blocks 551 and 552.
- the circular figure representing the Cr chroma pixel is assigned only to blocks 551 and 552. Therefore, blocks 551 and 552 are assigned luma pixels and two chroma pixels.
- 5D shows pixels on a 4: 4: 4 color format image.
- chroma pixels are mapped one-to-one to luma pixels.
- the size of the array of luma pixels is [W] x [H]
- the size of the array of chroma pixels may be [W] x [H].
- a 2x2 block of 4 pixels is assigned a luma pixel and two chroma pixels for each pixel.
- each of the blocks 561, 562, 563, and 564 includes a square figure representing a luma pixel, a triangle figure representing a Cb chroma pixel, and a circle figure representing a Cr chroma pixel. Accordingly, it can be seen that each of the blocks 561, 562, 563, and 564 is assigned a luma pixel and two chroma pixels. The structure of these blocks 561, 562, 563, 564 is repeated in other blocks.
- the upsampling ratio dsFactor can be determined as the ratio of the width of the high resolution image to the width of the low resolution image (iEWidth / iBWidth).
- the horizontal distance (horizontal phase difference) between pixels of an image is called iPhaseX
- the vertical distance (vertical phase difference) is called iPhaseY.
- phase difference phase between the pixel position of the low resolution image and the high resolution image may be determined according to the following equation.
- the phase between the low resolution image and the high resolution image may be 0 and 1/2.
- the phase between the low resolution image and the high resolution image may be 3/8 and 7/8.
- the upsampling ratio is 2
- possible phases 0, 3/8, 7/8, and 1 may be represented by 1/16 sampling units. Therefore, the pixel position of the high resolution image is determined through an equation representing upsampling of the sampling unit 1/16 below.
- the horizontal phase difference iPhaseX and the vertical phase difference iPhaseY between the luma pixels 51, 52, 53, and 54 of the low resolution image are 0 and 0, respectively.
- the horizontal phase difference iPhaseX for the chroma pixel 55 is 0 and the vertical phase difference iPhaseY is 1.
- iRefPos16XX and iRefPos16YY each represent a sampling position of sampling unit 1/16 for a low resolution image.
- iRefPos16XX ((i * iScaleX + iAddX) >> iShiftXM4)-iDeltaX;
- iRefPos16YY ((j * iScaleY + iAddY) >> iShiftYM4)-iDeltaY;
- i is greater than or equal to 0 and smaller than the width iEWidth of the high resolution image
- j is greater than or equal to 0 and less than the height iEHeight of the high resolution image.
- Variables iScaleX, iAddX, iShiftXM4, iDeltaX, iScaleY, iAddY, iShiftYM4, and iDeltaY for determining the above equations iRefPos16XX and iRefPos16YY may be determined according to the following equations, respectively.
- iAddX (((iBWidth * iPhaseX) ⁇ (iShiftX-2)) + (iEWidth >> 1))
- iAddY (((iBHeight * iPhaseY) ⁇ (iShiftY-2)) + (iEHeight >> 1))
- iDeltaX 4 * iPhaseX
- iDeltaY 4 * iPhaseY
- iShiftXM4 iShiftX-4;
- iShiftYM4 iShiftY-4;
- iScaleX ((iBWidth ⁇ iShiftX) + (iEWidth >> 1)) / iEWidth;
- iScaleY ((iBHeight ⁇ iShiftY) + (iEHeight >> 1)) / iEHeight;
- iPhaseX and iPhaseY are different depending on whether they are luma pixels or chroma pixels, sampling positions iRefPos16XX and iRefPos16YY may be different.
- the sampling positions iRefPos16XX and iRefPos16YY respectively indicate sampling positions corresponding to pixel positions of the high resolution image.
- the horizontal phase difference iPhaseXX and the horizontal pixel position iRefPosXX, the vertical direction phase difference iPhaseYY and the vertical pixel position iRefPosYY of the high resolution image may be determined using the equations iRefPos16XX and iRefPos16YY, respectively.
- iPhaseXX iRefPos16XX &15;
- iRefPosXX iRefPos16XX >> 4;
- iPhaseYY iRefPos16YY &15;
- iRefPosYY iRefPos16YY >> 4;
- the sampling position of the high resolution image that is, the pixel position
- the sampling position of the high resolution image may be determined without the division operation according to Equation aa.
- Large square shape 51 is luma pixel of low resolution image
- large triangle shape 52 is Cr chroma pixel of low resolution image
- large circle shape 53 is Cb chroma pixel of low resolution image
- small square shape Figure 61 is luma pixel of high resolution image
- small triangle shape 62 is Cr chroma pixel of high resolution image
- small circle shape 63 is Cb chroma pixel of high resolution image is chroma pixel of high resolution image Indicates.
- FIG. 6 shows the distribution of low resolution / high resolution luma pixels and low resolution / high resolution chroma pixels when the magnification between the low resolution image 50 and the high resolution image is 4: 2: 0 color format.
- high resolution luma pixels 611, 612, 613, 614, etc. are positioned based on the position of the low resolution luma pixels 511, 512, 513, 514, and the like. Also, high-resolution chroma pixels 621, 622, 623, 624, 631, 632, 633, 634 based on the position of high-resolution luma pixels 611, 612, 613, 614, etc. according to the 4: 2: 0 color format. The back is located.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0 and 1/2.
- the horizontal phase difference between the low resolution luma pixel 511 and the high resolution luma pixel 611 is 0, and the horizontal phase difference between the low resolution luma pixel 511 and the high resolution luma pixel 613 is 1/2.
- the vertical phase difference between the low resolution luma pixel 511 and the high resolution luma pixel 611 is 0, and the vertical phase difference between the low resolution luma pixel 511 and the high resolution luma pixel 617 is 1/2.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0 and 1/2.
- the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cr chroma pixel 621 is 0, and the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 623 is 1/2.
- the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 621 is 0, and the vertical phase difference between the low resolution Cr chroma pixel 521 and the high resolution Cb chroma pixel 622 is 1/2.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0, 1/4, 1/2, 3/4.
- the horizontal phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 631 is 0, and the horizontal phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 633 is 1/2.
- the vertical phase difference between the low resolution Cb chroma pixel 531 and the high resolution Cr chroma pixel 631 is 1/4
- the vertical phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 632 is 3/4.
- luma pixels and chroma pixels are upsampled twice in the horizontal and vertical directions, respectively. Without a conversion of the color format, the upsampling ratios of luma pixels and chroma pixels would be the same.
- high resolution luma pixels 711, 712, 713, 714, etc. are positioned based on the position of the low resolution luma pixels 511, 512, 513, 514, and the like.
- high-resolution chroma pixels 721, 722, 723, 724, 725, 731, 732, 733 are positioned based on the position of high-resolution luma pixels 711, 712, 713, 714, etc. 734, 735, and the like.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0, 1/4, 1/2, 3/4.
- the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cr chroma pixel 721 is 0, and the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 725 is 1/2.
- the vertical phase difference between the low resolution Cr chroma pixel 521 and the high resolution Cb chroma pixel 721 is 0, the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 722 is 1/4, and the low resolution Cb chroma pixel is
- the vertical phase difference between 521 and the high resolution Cb chroma pixel 723 is 1/2, and the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 724 is 3/4.
- Cr chroma pixels it is similar to Cr chroma pixels.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0, 1/4, 1/2, 3/4.
- the horizontal phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 731 is 0, and the horizontal phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 735 is 1/2.
- the vertical phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 731 is 0, the vertical phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 732 is 1/4 and the low resolution Cr chroma pixel is 1 ⁇ 4.
- the vertical phase difference between 531 and the high resolution Cr chroma pixel 733 is 1/2, and the vertical phase difference between the low resolution Cr chroma pixel 531 and the high resolution Cr chroma pixel 734 is 3/4.
- the chroma pixel is upsampled twice in the horizontal direction and four times each in the vertical direction. Therefore, if the luma pixel is upsampled by N times in the horizontal direction and the vertical direction, respectively, the chroma pixel may be upsampled by N times in the horizontal direction and 2N times in the vertical direction, respectively.
- high resolution luma pixels 811, 812, 813, 814, etc. are positioned based on the position of the low resolution luma pixels 511, 512, 513, 514, and the like.
- high-resolution chroma pixels 821, 822, 823, 824, 825, 826, 827, 831 based on the position of high-resolution luma pixels 811, 812, 813, 814, etc. 832, 833, 834, 835, 836, 837).
- the upsampling ratio is the same as FIG. 6, and even if the color format is changed, the phase difference is the same as that of FIG. 6.
- the phase difference between the pixels of the low resolution image and the pixels of the high resolution image is 0, 1/4, 1/2, 3/4.
- the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 821 is 0, the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 825 is 1/4,
- the horizontal phase difference between the low resolution Cr chroma pixel 521 and the high resolution Cb chroma pixel 826 is 1/2
- the horizontal phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 827 is 3/4.
- the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 821 is 0, the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 822 is 1/4, and the low resolution Cb chroma pixel is
- the vertical phase difference between 521 and the high resolution Cb chroma pixel 823 is 1/2, and the vertical phase difference between the low resolution Cb chroma pixel 521 and the high resolution Cb chroma pixel 824 is 3/4.
- the distribution of Cr chroma pixels of the high resolution image with respect to the distribution of Cr chroma pixels of the low resolution image is the same as that of the Cb chroma pixels of the high resolution image with respect to the Cb chroma pixels of the low resolution image. Therefore, the Cr chroma pixel has the same phase difference as the Cb chroma pixel.
- the chroma pixel is upsampled four times in each of the horizontal and vertical directions. Therefore, if the luma pixel is upsampled by N times in the horizontal direction and the vertical direction, respectively, the chroma pixel can be upsampled by 2N times in the horizontal direction and the vertical direction, respectively.
- the color format is converted from 4: 2: 2 to 4: 4: 4, when the luma pixels are upsampled twice each in the horizontal and vertical directions, the chroma pixels are up twice in the horizontal direction and twice each in the vertical direction. Sampled. Thus, if the luma pixel is upsampled N times in the horizontal and vertical directions, respectively, the chroma pixel can be upsampled 2 times in the horizontal direction and N times in the vertical direction.
- the image upsampling apparatus 10 may perform upsampling of an image by determining a filter according to a phase difference between a low resolution image and a high resolution image.
- the image upsampling apparatus 10 stores filter coefficient sets mapped for each phase difference, and may select a filter coefficient corresponding to the current phase difference among the stored filter coefficient sets.
- the phase difference determines a sampling position, and in order to accurately determine a sample value at the sampling position, a filter composed of filter coefficients capable of determining an accurate interpolation value in a corresponding phase is required. Therefore, the filter coefficient sets having good performance need to be stored in the image upsampling apparatus 10 in advance.
- an operation of determining a filter coefficient set for outputting an accurate interpolation value for each phase difference will be described in detail.
- Interpolation of pixel-by-pixel pixels for generating pixel values of a sampling position may be implemented through upsampling filtering.
- the upsampling filtering can be expressed by the following equation.
- Various upsampling filter generation methods are based on an expression that produces a floating point number rather than an integer, and the absolute value of the filter coefficients is usually not greater than one.
- the result of the calculation of a real number that is not an integer may be caused by the sampling position ⁇ .
- the image upsampling apparatus 10 may improve the computational efficiency of upsampling filtering by enlarging the filter coefficients to integers using an upsampling ratio.
- the accuracy of upsampling filtering may also be improved.
- the bit depth of the reference layer may be increased by maintaining the enlarged bit depth.
- the image upsampling apparatus 10 may multiply the filter coefficients fm ( ⁇ ) by a predetermined value and interpolate the image using a large coefficient Fm ( ⁇ ).
- the filter coefficient Fm ( ⁇ ) can be expanded from the filter coefficients fm ( ⁇ ).
- the scaling ratio may be in the form of 2n.
- n can be 0 and a positive integer.
- the bit depth may be increased by n bits as compared with the filtering result by the original filter coefficient.
- Integer arithmetic upsampling filtering using the enlarged filter coefficient Fm ( ⁇ ) may follow Equation ii. That is, after upsampling filtering is performed using the enlarged filter coefficient Fm ( ⁇ ), the enlarged bit depth should be restored to the original bit depth.
- the offset may be 2n-1.
- the filtering result enlarged using the enlarged upsampling filter according to various embodiments is reduced by a scaling ratio of 2n to be restored to the original bit, the bit depth enlarged by n bits as a result of filtering is reduced by n bits again. Can be.
- bit depth of the interpolated pixels is 1 compared to the original bit depth. Will increase by. In the same manner, the bit depth can be increased or decreased by 2 or more compared to the original bit depth.
- the two-step upsampling filtering is performed through the horizontal one-dimensional upsampling filtering and the vertical one-dimensional upsampling filtering, it can be reduced by a total of 2n bits. Therefore, when the first one-dimensional upsampling filter is enlarged by n1 bits and the second one-dimensional upsampling filter is enlarged by n2, two-stage up is performed through the first one-dimensional upsampling filtering and the second one-dimensional upsampling filtering. After sampling filtering, the sum of n1 and n2 may be reduced by 2n.
- the first one-dimensional upsampling filter may be an upsampling filter that is not enlarged.
- the bit depth of the interpolated pixels may increase by 2. For example, when the bit depth of the original pixel is 8, the bit depth of the interpolated pixel may be increased by 2 to 10.
- an error may occur according to a rounding error.
- the image upsampling apparatus 10 may round up the enlarged filter coefficients Fm ( ⁇ ) based on a normalization condition according to Equation iv. Some of the enlarged filter coefficients Fm ( ⁇ ) for normalization may be adjusted within a predetermined range relative to the original value. For example, the enlarged filter coefficients may be adjusted within a range of ⁇ 1 to correct for rounding errors.
- the pixel position and the phase difference of the high resolution image generated by upsampling the low resolution image according to Equation aa are determined without a division operation.
- phase differences that may occur at each sampling position during upsampling according to a frequently used magnification may be determined.
- the sampling position for the high resolution image may be estimated from the position of the pixel unit of the low resolution image.
- FIG. 9 shows the relationship of the up Sapling magnification in which each phase difference may occur when the phase difference interval is 1/16.
- phase difference index information may be signaled to transmit and receive information indicating whether upsampling filtering is performed using a set of filter coefficients corresponding to a certain phase difference.
- Phase difference 0 is theoretically a phase difference that occurs during upsampling of all magnifications.
- the phase difference 1/16 can accurately determine the sampling position required for upsampling of magnification x16 / 15.
- the phase difference 1/8 may be used even for upsampling of magnification x7 / 6.
- the phase difference 1/4 may be used in upsampling of magnification x7 / 6.
- phase difference index i When the phase difference index i is larger than 8, the sum of the phase difference ⁇ 1 indicated by the phase difference index i and the phase difference ⁇ 2 indicated by the phase difference index 16-i becomes 1, so that the phase difference index i and the phase difference index (15-i) at the same upsampling magnification. May occur simultaneously. Therefore, the phase difference ⁇ 2 is also used in the upsampling ratio in which the phase difference ⁇ 1 is used. Thus, phase difference index i and phase difference index 15-i can be used at the same upsampling magnification.
- the phase difference 3/5 may be used in the upsampling of magnification x 5/3 like the phase difference 2/5.
- the phase difference 5/8 may be used during upsampling of magnification x 8/7 like the phase difference 3/8.
- the phase difference 2/3 may be used in the upsampling of magnifications x3 / 2 and x6 / 5 similarly to the phase difference 1/3.
- the phase difference 3/4 may be used in the upsampling of magnification x4 / 3 and x8 / 7 similarly to the phase difference 1/4.
- the phase difference 4/5 may be used in the upsampling of magnifications x5 / 3 and x6 / 5 like the phase difference 1/5.
- the phase difference 7/8 may be used in the upsampling of magnifications x8 / 7 and x7 / 6 like the phase difference 1/8.
- the phase difference 15/16 may be used when upsampling the magnification x16 / 15 like the phase difference 1/16.
- an upsampling filter for determining a sampling position indicated by the phase difference is required.
- a set of filter coefficients of an upsampling filter for determining a sampling position indicated by each phase difference will be described with reference to FIGS. 10A to 10D.
- FIGS. 10A-10D illustrate filter coefficients in accordance with various embodiments.
- 10A illustrates filter coefficients of eight tap upsampling with a phase difference interval of 1/16, according to various embodiments.
- the filter coefficient set for phase difference 0 is ⁇ 0, 0, 0, 64, 0, 0, 0, 0 ⁇ ;
- the filter coefficient set for the phase difference 1/16 is ⁇ 0, 1, -3, 63, 4, -2, 1, 0 ⁇ ;
- the set of filter coefficients for phase difference 1/8 is ⁇ -1, 2, -5, 62, 8, -3, 1, 0 ⁇ or ⁇ 0, 2, -6, 61, 9, -3, 1, 0 ⁇ ;
- the filter coefficient set for the phase difference 3/16 is ⁇ -1, 3, -8, 60, 13, -4, 1, 0 ⁇ ;
- the filter coefficient set for phase difference 1/4 is ⁇ -1, 4, -10, 58, 17, -5, 1, 0 ⁇ ;
- the filter coefficient set for the phase difference 5/16 is ⁇ -1, 4, -11, 52, 26, -8, 3, -1 ⁇ ;
- the set of filter coefficients for phase difference 3/8 is ⁇ -1, 4, -11, 50, 29, -9, 3, -1 ⁇ , ⁇ -1, 4, -11, 50, 28, -8, 2, 0 ⁇ or ⁇ -1, 3, -9, 47, 31, -10, 4, -1 ⁇ ;
- the filter coefficient set for phase difference 7/16 is ⁇ -1, 4, -11, 45, 34, -10, 4, -1 ⁇ or ⁇ -1, 4, -11, 44, 35, -10, 4, -One ⁇ ;
- the filter coefficient set for the phase difference 1/2 may be ⁇ -1, 4, -11, 40, 40, -11, 4, -1 ⁇ .
- the phase difference index i and the phase difference index 16-i may occur simultaneously in the upsampling of the same magnification, and the filter coefficient for the phase difference index i and the filter coefficient for the phase difference index 16-i are equal to each other. Is in reverse order.
- the filter coefficient set for phase difference 5/16 is ⁇ -1, 4, -11, 52, 26, -8, 3, -1 ⁇
- the filter coefficient set for phase difference 7/16 is ⁇ -1 , 3, -8, 26, 52, -11, 4, -1 ⁇ .
- the filter data storage unit 16 may store a lookup table of the phase difference index (or phase difference) and filter coefficient sets described above with reference to FIG. 10A.
- 10B illustrates filter coefficients of four tap upsampling with a phase difference interval of 1/16, according to various embodiments.
- the filter coefficient set for phase difference 0 is ⁇ 0, 64, 0, 0 ⁇ ;
- the set of filter coefficients for phase difference 1/16 is ⁇ -2, 62, 4, 0 ⁇ ;
- the filter coefficient set for the phase difference 1/8 is ⁇ -2, 58, 10, -2 ⁇ ;
- the filter coefficient set for the phase difference 3/16 is ⁇ -4, 56, 14, -2 ⁇ ;
- the filter coefficient set for phase difference 1/4 is ⁇ -4, 54, 16, -2 ⁇ ;
- the filter coefficient set for phase difference 5/16 is ⁇ -6, 52, 20, -2 ⁇ ;
- the filter coefficient set for phase difference 3/8 is ⁇ -6, 46, 28, -4 ⁇ ;
- the filter coefficient set for the phase difference 7/16 is ⁇ -4, 42, 30, -4 ⁇ ;
- the filter coefficient set for the phase difference 1/2 may be ⁇ -4, 36, 36, -4 ⁇ .
- the 8-tap filter coefficient set shown in FIG. 10A is applied to the luma pixel when the phase difference interval is 1/16.
- the 4-tap filter coefficient set shown in FIG. 10B is applied to chroma pixels when the phase difference interval is 1/16.
- 10C illustrates filter coefficients of 8-tap upsampling with a phase difference interval of 1/8 according to various embodiments.
- the filter coefficient set for phase difference 0 is ⁇ 0, 0, 0, 64, 0, 0, 0, 0 ⁇ ;
- the set of filter coefficients for phase difference 1/8 is ⁇ -1, 2, -5, 62, 8, -3, 1, 0 ⁇ or ⁇ 0, 2, -6, 61, 9, -3, 1, 0 ⁇ ;
- the filter coefficient set for phase difference 1/4 is ⁇ -1, 4, -10, 58, 17, -5, 1, 0 ⁇ ;
- the filter coefficient set for the phase difference 3/8 is ⁇ -1, 4, -11, 52, 26, -8, 3, -1 ⁇ ;
- the filter coefficient set for the phase difference 1/2 may be ⁇ -1, 4, -11, 40, 40, -11, 4, -1 ⁇ .
- 10D illustrates filter coefficients of four tap upsampling with a phase difference interval of 1/8 according to various embodiments.
- the filter coefficient set for phase difference 0 is ⁇ 0, 64, 0, 0 ⁇ ;
- the filter coefficient set for the phase difference 1/8 is ⁇ -2, 58, 10, -2 ⁇ ;
- the filter coefficient set for phase difference 1/4 is ⁇ -4, 54, 16, -2 ⁇ ;
- the filter coefficient set for phase difference 3/8 is ⁇ -6, 46, 28, -4 ⁇ ;
- the filter coefficient set for the phase difference 1/2 may be ⁇ -4, 36, 36, -4 ⁇ .
- the 8-tap filter coefficient set shown in FIG. 10C is applied to the luma pixel when the phase difference interval is 1/8.
- the 4-tap filter coefficient set shown in FIG. 10D is applied to the chroma pixel when the phase difference interval is 1/8.
- the filter data storage unit 16 may store a lookup table between a phase difference and a filter coefficient set according to a phase difference interval other than 1/16, or a lookup table between a filter coefficient set and a phase difference other than 8 taps in number of filter taps. have.
- the phase difference interval may be 2 ⁇ (-p) such as 1/16 or 1/8 or 1/32 (p is a positive integer). Larger phase difference intervals are advantageous for less memory, and smaller ones for improved accuracy of up-sampling. For example, when the phase difference interval is 1 / 8th, the memory usage is reduced, and when the phase difference interval is 1/16, the accuracy of up-to-up sampling is improved.
- the filter coefficient set of the upsampling filter may be previously designated as shown in FIGS. 10A to 10D or may be an unspecified variable.
- the filter selector 14 determines the required phase difference based on the current upsampling magnification (scaling magnification or scalability magnification), and selects a filter coefficient set corresponding to each phase difference in the filter data storage unit 16, Upsampling filtering may be performed for each sampling position indicated by the phase difference.
- a low resolution image may be encoded as a base layer image sequence
- a high resolution image may be encoded as an enhancement layer image sequence
- the resolution of the reference layer image and the enhancement layer image is equalized by upsampling a reference layer image corresponding to the enhancement layer image among the base layer images, the resolutions of the upsampled reference layer image and the enhancement layer image do not always match. Accordingly, a process of obtaining an offset existing between the upsampled reference layer image and the enhancement layer image and equalizing the resolution of the enhancement layer image and the upsampled reference layer image based on the offset is required.
- 11 shows an offset between an upsampled reference layer image and an enhancement layer image.
- 11 illustrates an upsampled reference layer image 1110 and an enhancement layer image 1120 having different resolutions.
- the relationship between the upsampled reference layer image 1110, the enhancement layer image 1120, and the offsets 1130, 1140, 1150, and 1160 may be expressed by the following equation.
- SH H-ScaledRefLayerTopOffset (SRTO)-ScaledRefLayerBottomOffset (SRBO)
- W and H mean the width and height of the enhancement layer image 1120, respectively.
- the SRLO, SRRO, SRTO, and SRBO mean the top offset 1130, the right end offset 1140, the bottom offset 1150, and the left end offset 1160, respectively.
- SW and SH refer to the width and height of the upsampled reference layer image 1110.
- the position of any luma sample included in the enhancement layer image 1120 may be defined as (xL, yL).
- a position (xLR, yLR) corresponding to the position (xL, yL) of the luma sample of the enhancement layer image 1120 must be found in the strictly sampled reference layer image 1110.
- the reference layer image 1110 of the strictly layered reference layer image 1110 may be used to equalize the resolution.
- the position (xCR, yCR) corresponding to the position (xC, yC) of the chroma sample should be found.
- the method for obtaining (xLR, yLR) and (xCR, yCR) can be expressed by the following equation.
- xCR (xC-SRLO / denomX + deltaXC / denomX) * WR / (diff_scale * SW)-deltaXCR / 2 (3)
- yCR (yC-SRTO / denomY + deltaYC / denomY) * HR / SH- deltaYCR / 2 (4)
- WR and HR refer to the width and height of the reference layer image.
- denomX is 2 when the color format is 4: 2: 0 or 4: 2: 2, and 1 when the color format is 4: 4: 4.
- denomX is 2 when the color format is 4: 2: 0 and 1 when the color format is 4: 2: 2 or 4: 4: 4.
- diff_scale is 2 when the color format is changed from 4: 2: 0 to 4: 2: 2, unless there is no other color format conversion or when the color format is converted from 4: 2: 0 to 4: 2: 2. Time is 1.
- Equations (1) to (4) above can be generalized and expressed as equations (5) and (6).
- xR (x-(SRLO-deltaX) / denomX) * WR / (diff_scale * SW)-deltaXR / 2 (5)
- yR (y-(SRTO-deltaY) / denomY) * HR / SH-deltaYR / 2 (6)
- xLR and yLR are the same as the expressions of xR and yR, respectively.
- (X, y) and (xC, yC) input in the above equations are integers, but the output reference layer positions (xR, yR) and (xCR, yCR) are not necessarily integers. Therefore, when the values of (xR, yR) and (xCR, yCR) are not integers, the positions of (xR, yR) and (xCR, yCR) are interpolated using samples of reference layers.
- ScaleFactorX and ScaleFactorY with integer values are defined as follows.
- ScaleFactorX ((WR ⁇ 16) + ((diff_scale * SW) >> 1)) / (diff_scale * SW)
- ScaleFactorX and ScaleFactorY are rounded up. Both ScaleFactorX and ScaleFactorY have values from 0 to 216.
- the following formula shows how to scale the result of Eqs. (5) and (6) using ScaleFactorX and ScaleFactorY.
- xRef16 and yRef16 have xR and yR multiplied by 16, respectively.
- xRef16 and yRef16 are used when interpolating with a phase difference interval of 1/16.
- xRef16 (((x-offsetX) * ScaleFactorX + addX16 + (1 ⁇ 11)) >> 12)-(deltaX ⁇ 2)
- yRef16 (((y-offsetY) * ScaleFactorY + addY16 + (1 ⁇ 11)) >> 12)-(deltaY ⁇ 2)
- xRef8 and yRef8 have their values multiplied by 8 for xR and yR, respectively.
- xRef8 and yRef8 are used when interpolating with a phase difference interval of 1/8.
- xRef8 and yRef8 are derived in the same way as xRef16 and yRef16.
- xRef8 (((x-offsetX) * ScaleFactorX + addX8 + (1 ⁇ 12)) >> 13)-(deltaX ⁇ 1)
- yRef8 (((y-offsetY) * ScaleFactorY + addY8 + (1 ⁇ 12)) >> 13)-(deltaY ⁇ 1)
- the interpolation method when the phase difference interval is 1/16 will be described using the following equation.
- the integer part (ixR, iyR) of the reference position (xR, yR) is derived as follows.
- the fractional part (xPhase, yPhase) of the reference position (xR, yR) is derived as follows.
- (xPhase, yPhase) is a fraction with denominator 16.
- the filter coefficient set of FIG. 10A for the luma interpolation pixel is determined according to the values of xPhase and yPhase.
- the filter coefficient set of FIG. 10B for the chroma interpolation pixel is determined according to the values of xPhase and yPhase.
- the interpolation method when the phase difference interval is 1/8 will be described using the following equation.
- the integer part (ixR, iyR) of the reference position (xR, yR) is derived as follows.
- the fractional part (xPhase, yPhase) of the reference position (xR, yR) is derived as follows.
- (xPhase, yPhase) is a fraction with denominator 8.
- the filter coefficient set of FIG. 10C for the luma interpolation pixel is determined according to the values of xPhase and yPhase.
- the filter coefficient set of FIG. 10D for the chroma interpolation pixel is determined according to the values of xPhase and yPhase.
- Step 1 interpolation is derived from the following equation.
- Clip3 (A, B, C) is input to C when the third variable C is larger than A and smaller than B.
- LumaR [x, y] means the pixel value of the luma pixel assigned to the (x, y) position.
- iyRL Clip3 (0, HR-1, iyR + n-1)
- the interpolated luma sample Luma (x, y) performs two-step interpolation in the vertical direction. Two-step interpolation is derived from the following equation.
- Luma (x, y) Clip3 (0, (1 ⁇ B) -1), (fL [yPhase, 0] * tempArray [0] +
- B means the bit depth of the interpolation pixel. Therefore, when the B value is 10, the bit depth of the interpolation pixel is 10.
- the interpolation method of chroma pixels is the same as the interpolation method of luma pixels. However, since the density of chroma pixels is lower than that of luma pixels in 4: 2: 0 or 4: 2: 2 color format, a 4-tap filter may be used to interpolate the above luma pixels, unlike the 8-tap filter. have.
- the coefficients of the resampling filter may be predetermined in the filter coefficient set of FIGS. 10A-10D and may use variable coefficients that are not predetermined. As one of the methods of transmitting the variable coefficient to the decoder, the difference between the filter coefficients of FIGS. 10A to 10D may be transmitted to the bit stream.
- variable coefficient means a filter coefficient set using the following equations.
- fL [xPhase, k] means predetermined filter coefficients of FIGS. 10A to 10D.
- ⁇ [xPhase, k] means a value arbitrarily determined by the encoder.
- fLA [xPhase, k] fL [xPhase, k] + ⁇ [xPhase, k]. (k is an integer from 0 to 7)
- SumNegL [xPhase] means the sum of fL [xPhase, k] smaller than 0 when the phase difference is xPhase.
- SumPosL [xPhase] means the sum of fL [xPhase, k] greater than 0 when the phase difference is xPhase.
- Max means the maximum value of LumaR. For example, for an 8-bit signal, 255 is the maximum.
- Min is the minimum value of LumaR. For example, in an 8-bit signal, zero is the minimum.
- the size of tempArray [n] has the following range.
- the range of tempArray [n] is 255 * (SumPosL [xPhase]-SumNegL [xPhase]) as follows.
- the size of the range of tempArray [n] may be smaller than 16 bits.
- the range of ⁇ may be determined using the absolute value of the difference ⁇ .
- the following formula describes the process of finding the range of?.
- will be 9. Therefore, unless
- FIG. 12A is a block diagram of a scalable video encoding apparatus 1200 according to various embodiments.
- the scalable video encoding apparatus 1200 may include a base layer encoder 1210, an enhancement layer encoder 1220, a prediction error obtainer 1230, a filter selector 12, and an upsampling unit 14. ) And filter data storage unit 16.
- the scalable video encoding apparatus 1200 classifies and encodes a plurality of video sequences for each layer according to a scalable video coding scheme, and includes separate streams including data encoded for each layer. You can output The scalable video encoding apparatus 1200 may encode the base layer image sequence and the enhancement layer image sequence into different layers.
- the base layer encoder 1210 may encode base layer images and output a base layer bitstream including encoded data of the base layer images.
- the base layer may be used as a reference layer required for encoding the enhancement layer.
- the enhancement layer encoder 1220 encodes the scalable codec selected by the filter selector 12 and the prediction errors obtained by the prediction error acquisition unit 1230, and generates an enhancement layer bitstream including encoded data of the enhancement layer images. You can print
- the prediction error acquisition unit 1230 obtains a prediction error between the upsampled base layer and the enhancement layer obtained by the upsampling unit 14. The obtained prediction error is transmitted to the enhancement layer encoder 1220.
- low resolution images may be encoded as base layer images, and high resolution images may be encoded as enhancement layer images.
- the encoding result of the base layer images may be output as the base layer bitstream, and the encoding result of the enhancement layer images may be output as the enhancement layer bitstream.
- scalable video coding may be performed on the base layer and the plurality of enhancement layers. If there are three or more enhancement layers, base layer images, first enhancement layer images, second enhancement layer images,..., Kth enhancement layer images may be encoded. Accordingly, the encoding results of the base layer images are output as the base layer bitstream, and the encoding results of the first, second, ..., Kth enhancement layer images are respectively converted into the first, second, ..., Kth enhancement layer bitstream. Can be output.
- the scalable video encoding apparatus 1200 may perform inter prediction to predict a current image by referring to images of a single layer. Through inter prediction, a motion vector representing motion information between the current picture and the reference picture and a residual component between the current picture and the reference picture may be generated.
- the scalable video encoding apparatus 1200 may perform inter-layer prediction for predicting enhancement layer images by referring to base layer images.
- the scalable video encoding apparatus 1200 may perform interlayer prediction for predicting the images of the second enhancement layer by referring to the images of the first enhancement layer. Through inter layer prediction, a position difference component between the current image and a reference image of another layer and a residue component between the current image and a reference image of another layer may be generated.
- interlayer prediction between one base layer image and two or more enhancement layer images may be performed according to a multilayer prediction structure. It can also be done.
- the scalable video encoding apparatus 1200 encodes each block for each image of the video for each layer.
- the type of block may be square or rectangular, and may be any geometric shape. It is not limited to data units of a certain size.
- a block according to various embodiments may be a maximum coding unit, a coding unit, a prediction unit, a transformation unit, and the like among coding units having a tree structure.
- the maximum coding unit including the coding units of the tree structure may be variously represented as a coding block tree, a block tree, a root block tree, a coding tree, a coding root, or a tree trunk. It may be named.
- the video encoding and decoding method based on coding units having a tree structure will be described later with reference to FIGS. 14 to 24.
- Inter prediction and inter layer prediction may be performed based on a data unit of a coding unit, a prediction unit, or a transformation unit.
- the base layer encoder 1210 may generate symbol data by performing source coding operations including inter prediction or intra prediction on base layer images. For example, the base layer encoder 1210 generates symbol data by performing inter prediction or intra prediction, transformation, and quantization on samples of data units of base layer images, and performs entropy encoding on symbol data. A base layer bitstream can be generated.
- the enhancement layer encoder 1220 may encode enhancement layer images based on coding units having a tree structure.
- the enhancement layer encoder 1220 generates symbol data by performing inter / intra prediction, transform, and quantization on samples of a coding unit of an enhancement layer image, and performs entropy encoding on the symbol data to generate an enhancement layer bitstream. Can be generated.
- the enhancement layer encoder 1220 may perform interlayer prediction for predicting an enhancement layer image by using reconstructed samples of the base layer image.
- the enhancement layer encoder 1220 generates an enhancement layer prediction image by using the base layer reconstruction image, and encodes the enhancement layer original image during the enhancement layer image sequence through the interlayer prediction structure, and enhances the enhancement layer original image and the enhancement layer.
- the prediction error between the layer prediction images may be encoded.
- the enhancement layer encoder 1220 may perform interlayer prediction on the enhancement layer image for each block, such as a coding unit or a prediction unit.
- a block of the base layer image to be referred to by the block of the enhancement layer image may be determined.
- a reconstruction block of the base layer image positioned corresponding to the position of the current block in the enhancement layer image may be determined.
- the enhancement layer encoder 1220 may determine an enhancement layer prediction block by using a base layer reconstruction block corresponding to the enhancement layer block.
- the enhancement layer encoder 1220 may use the enhancement layer prediction block determined by using the base layer reconstruction block according to the interlayer prediction structure as a reference image for interlayer prediction of the original enhancement layer block.
- the scalable video encoding apparatus 1200 may include a filter selector 12, an upsampling unit 14, and a filter data storage unit 16 of the image upsampling apparatus 10. Operations of the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 in the scalable video encoding apparatus 1200 will be described in detail with reference to FIG. 12A.
- FIG. 13A is a flowchart of a scalable video encoding method, according to various embodiments.
- the base layer encoder 1210 may determine coding units having a tree structure with respect to a low resolution image of a base layer sequence. For each coding unit of a tree structure, intra or inter prediction may be performed on a prediction unit, and transform and quantization may be performed for each transformation unit to encode samples of the coding unit.
- a base layer bitstream including base layer image encoding information generated by encoding a base layer image that is a low resolution image may be output.
- the enhancement layer encoder 1220 determines a reference layer image corresponding to the enhancement layer image from the enhancement layer image and the base layer image.
- a phase difference between pixels of the enhancement layer image and the reference layer image is determined according to the magnification between the enhancement layer image and the reference layer image and the color format of the enhancement layer image.
- the filter selector 12 may determine a phase difference required for upsampling filtering based on a magnification between the low resolution image processed by the base layer encoder 1210 and the high resolution image processed by the enhancement layer encoder 1220.
- the phase difference between the chroma pixels of the enhancement layer image and the reference layer image may be determined based on the phase difference of the luma pixel.
- the filter selector 12 selects a filter coefficient set corresponding to the phase difference determined in operation 1210 in the filter data storage unit 16 in which filter coefficient data corresponding to each phase difference is stored. That is, the filter selector 12 may select a filter required for the current upsampling ratio.
- the upsampling unit 16 performs the filtering on the low resolution reconstructed image generated by the base layer encoder 1210 using the upsampling filter selected by the filter selector 12 to perform the upsampling reference layer image. Can be generated. In the upsampling process, the bit depth of pixels may be extended.
- the prediction error obtainer 1230 obtains a prediction error from the upsampled reference layer image and the enhancement layer image.
- the enhancement layer encoder 1220 encodes a scalable codec including a prediction error acquired by the prediction error obtainer 1230 and a filter coefficient set selected by the filter selector 12, thereby improving the bitstream of the enhancement layer.
- the base layer encoder 1210 encodes the base layer image to generate a base layer bitstream.
- the upsampling filter information may be included in a sequence parameter set (SPS), a picture parameter set (PPS), and a slice segment header.
- SPS sequence parameter set
- PPS picture parameter set
- slice segment header a slice segment header
- the scalable video encoding apparatus 1200 may include a base layer encoder 1210, an enhancement layer encoder 1220, a prediction error obtainer 1230, a filter selector 12, and an upsampler ( 14 and a central processor (not shown) that collectively controls the filter data storage unit 16.
- the base layer encoder 1210, the enhancement layer encoder 1220, the prediction error obtainer 1230, the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 may be provided. It is operated by its own processor (not shown), and the scalable video encoding apparatus 1200 may be operated as a whole as the processors (not shown) operate organically with each other.
- the base layer encoder 1210, the enhancement layer encoder 1220, the prediction error obtainer 1230, and the filter selector may be controlled by an external processor (not shown) of the scalable video encoding apparatus 1200. 12, the upsampling unit 14 and the filter data storage unit 16 may be controlled.
- the scalable video encoding apparatus 1200 may include a base layer encoder 1210, an enhancement layer encoder 1220, a prediction error obtainer 1230, a filter selector 12, and an upsampling unit. 14 and one or more data storage units (not shown) in which input and output data of the filter data storage unit 16 are stored.
- the scalable video encoding apparatus 1200 may include a memory controller (not shown) that manages data input and output of the data storage unit (not shown).
- the scalable video encoding apparatus 1200 may operate in conjunction with an internal video encoding processor or an external video encoding processor to output a video encoding result, thereby performing a video encoding operation including transformation. Can be done.
- the internal video encoding processor of the scalable video encoding apparatus 1200 may implement a video encoding operation as a separate processor.
- the scalable video encoding apparatus 1200, the central computing unit, or the graphics processing unit may include a video encoding processing module to implement a basic video encoding operation.
- FIG. 12B is a block diagram of the scalable video decoding apparatus 1250, according to various embodiments.
- the scalable video decoding apparatus 1250 may include an interlayer SAO parameter obtainer 22, an interlayer offset determiner 24, a base layer bitstream decoder 1260, and an enhancement layer bitstream decoder. 1270 and the enhancement layer acquirer 1280.
- the scalable video decoding apparatus 1250 may receive bitstreams for each layer according to the scalable encoding scheme.
- the number of layers of the bitstreams received by the scalable video decoding apparatus 1250 is not limited.
- the base layer bitstream decoder 1260 of the scalable video decoding apparatus 1250 receives and decodes the base layer bitstream, and the enhancement layer bitstream decoder 1270 enhances the enhancement layer bits. Receive and decode the stream.
- the enhancement layer acquirer 1280 obtains an enhancement layer based on the base layer obtained by the base layer bitstream decoder 1260 and the prediction error and the scalable codec obtained by the enhancement layer bitstream decoder 1270.
- the scalable video decoding apparatus 1250 based on spatial scalability may receive a stream in which image sequences having different resolutions are encoded in different layers.
- the low resolution image sequence may be reconstructed by decoding the base layer bitstream, and the high resolution image sequence may be reconstructed by decoding the enhancement layer bitstream.
- the first enhancement layer images for the first enhancement layer may be reconstructed from the first enhancement layer bitstream, and the second enhancement layer images may be further reconstructed by further decoding the second enhancement layer bitstream. If the Kth enhancement layer bitstream is further decoded in the first enhancement layer bitstream, the Kth enhancement layer images may be further reconstructed.
- the scalable video decoding apparatus 1250 obtains encoded data of base layer images and enhancement layer images from the base layer bitstream and the enhancement layer bitstream, and adds the encoded data to the motion vector and interlayer prediction generated by inter prediction. It is possible to further obtain the prediction information generated by.
- the scalable video decoding apparatus 1250 may decode inter-predicted data for each layer and may decode inter-layer predicted data between a plurality of layers. Reconstruction may be performed through motion compensation and interlayer decoding based on a coding unit or a prediction unit, according to an embodiment.
- images may be reconstructed by performing motion compensation for the current image with reference to reconstructed images predicted through inter prediction of the same layer.
- the motion compensation refers to an operation of reconstructing a reconstructed image of the current image by synthesizing the reference image determined using the motion vector of the current image and the residue component of the current image.
- the scalable video decoding apparatus 1250 may perform interlayer decoding with reference to base layer images in order to reconstruct an enhancement layer image predicted through interlayer prediction.
- Inter-layer decoding refers to an operation of reconstructing a reconstructed image of the current image by synthesizing a reference image of another layer determined to predict the current image and a residue component of the current image.
- the scalable video decoding apparatus 1250 may perform interlayer decoding for reconstructing second enhancement layer images predicted with reference to the first enhancement layer images.
- the interlayer prediction structure will be described later with reference to FIG. 13.
- the scalable video decoding apparatus 1250 decodes each block of each image of the video.
- a block according to an embodiment may be a maximum coding unit, a coding unit, a prediction unit, a transformation unit, and the like among coding units having a tree structure.
- the base layer bitstream decoder 1260 may decode the base layer image by using encoding symbols of the parsed base layer image. If the scalable video decoding apparatus 1250 receives streams encoded based on coding units having a tree structure, the base layer bitstream decoder 1260 may encode the tree structure for each maximum coding unit of the base layer bitstream. Decryption may be performed based on these.
- the base layer bitstream decoder 1260 may obtain encoding information and encoded data by performing entropy decoding for each largest coding unit.
- the base layer bitstream decoder 1260 may reconstruct the residue component by performing inverse quantization and inverse transformation on the encoded data obtained from the stream.
- the base layer bitstream decoder 1260 may directly receive a bitstream of quantized transform coefficients. As a result of performing inverse quantization and inverse transformation on the quantized transformation coefficients, the residue component of the images may be reconstructed.
- the base layer bitstream decoder 1260 may reconstruct the base layer images by combining the prediction image and the residue component through motion compensation between the same layer images.
- the enhancement layer bitstream decoder 1270 decodes the enhancement layer bitstream to obtain a scalable codec and a prediction error.
- the filter selector 12 selects filter coefficient data based on the obtained scalable codec.
- the upsampling unit 14 upsamples the base layer according to the selected filter coefficient data.
- the enhancement layer obtainer 1280 obtains an enhancement layer based on the prediction error obtained by the enhancement layer bitstream decoder 1270 and the upsampled base layer image obtained by the upsampling unit 14.
- the base layer bitstream decoder 1260 may obtain an SAO parameter from the base layer bitstream to compensate for an encoding error between the base layer original image and the base layer reconstructed image.
- the base layer bitstream decoder 1260 performs inverse quantization and inverse transformation on the basis of the transformation unit on the samples encoded for each coding unit of the tree structure of the base layer image, and based on the prediction unit.
- the samples may be reconstructed through decoding to perform intra prediction or motion compensation.
- the base layer bitstream decoder 1260 may generate a reconstructed image by reconstructing samples of each maximum coding unit.
- the reconstruction image of the previous slice segment may be referred to for inter prediction of the current slice segment. Therefore, the reconstructed image of the previous slice segment may be used as a prediction image for the current slice segment.
- the enhancement layer bitstream decoder 1270 may obtain enhancement layer encoding information from the enhancement layer bitstream. From the high resolution encoding information, a prediction error, that is, a residue component, of the enhancement layer prediction block and the enhancement layer original block according to the interlayer prediction structure may be obtained.
- the enhancement layer acquirer 1280 may perform interlayer prediction for reconstructing the enhancement layer image by using a reconstruction sample of the base layer image.
- the enhancement layer acquisition unit 1280 may reference the enhancement layer prediction image generated by using the base layer reconstruction image to restore the original enhancement layer image in the enhancement layer image sequence through the interlayer prediction structure. It can be used as.
- the enhancement layer obtainer 1280 may perform interlayer reconstruction of the enhancement layer image for each block, such as a coding unit or a prediction unit.
- a block of the base layer image to be referred to by the block of the enhancement layer image may be determined.
- a reconstruction block of the base layer image positioned corresponding to the position of the current block in the enhancement layer image may be determined.
- the enhancement layer acquisition unit 1280 may determine an enhancement layer prediction block by using a base layer reconstruction block corresponding to the enhancement layer block.
- the enhancement layer acquisition unit 1280 may use the enhancement layer prediction block determined by using the base layer reconstruction block according to the interlayer prediction structure as a reference image for interlayer prediction of the original enhancement layer block.
- the scalable video decoding apparatus 1250 may include a filter selector 12, an upsampling unit 14, and a filter data storage unit 16 of the image upsampling apparatus 10. Operations of the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 in the scalable video decoding apparatus 1250 will be described in detail with reference to FIG. 12B.
- 13B is a flowchart of a scalable video decoding method, according to various embodiments.
- the base layer bitstream decoder 1260 may obtain base layer image encoding information from a base layer bitstream and determine coding units having a tree structure with respect to a low resolution image of a base layer sequence.
- the base layer bitstream decoder 1260 parses symbols from encoding information for each coding unit, performs inverse quantization and inverse transformation on the symbols based on the transformation unit, and performs intra prediction or motion compensation based on the prediction unit. Each sample can be restored. Accordingly, the base layer bitstream decoder 1260 may generate a base layer image that is a low resolution reconstructed image.
- the base layer bitstream decoder 1260 reconstructs the base layer image by decoding the base layer bitstream.
- the enhancement layer acquisition unit 1280 determines a reference layer image corresponding to the enhancement layer from the base layer image.
- the enhancement layer bitstream decoder 1270 decodes the enhancement layer bitstream to obtain a scalable codec including prediction error between the upsampled reference layer image and the enhancement layer original image and upsampling information of the reference layer image. Enhancement layer encoding information that may be included may be obtained.
- the enhancement layer bitstream decoder 1270 may transfer the upsampling filter information including the information on the filter used to upsample the high resolution image from the low resolution image, to the filter selector 12.
- the upsampling filter information may be obtained from an SPS, a PPS, and a slice segment header.
- a phase difference between pixels of the enhancement layer image and the reference layer image is determined according to the magnification between the enhancement layer image and the reference layer image and the color format of the enhancement layer image.
- Information about the magnification between the enhancement layer image and the base layer image and the color format of the enhancement layer image is included in the scalable codec.
- the filter selector 12 selects a filter coefficient set corresponding to the phase difference determined in operation 1310 in the filter data storage unit 16 in which filter coefficient data corresponding to each phase difference is stored. That is, the filter selector 12 may select a filter required for the current upsampling ratio.
- the information about the filter coefficient set used in the scalable video encoding apparatus 1200 may be included in the scalable codec. Accordingly, the filter selector 12 may select a filter required for the current upsampling ratio by determining a set of filter coefficients corresponding to the phase difference using the lookup table stored in the filter data storage 160 based on the scalable codec. have.
- the upsampling unit 16 performs the filtering on the reference layer image reconstructed by the base layer bitstream decoder 1260 using the upsampling filter selected by the filter selector 12 to perform the upsampled reference.
- a layer image may be generated.
- the bit depth of pixels may be extended.
- the enhancement layer obtainer 1280 reconstructs the enhancement layer image by using the prediction error and the upsampled base layer image.
- the scalable video decoding apparatus 1250 may include a base layer bitstream decoder 1260, an enhancement layer bitstream decoder 1270, a filter selector 12, an upsampling unit 14, and a filter. It may include a central processor (not shown) that collectively controls the data storage unit 16. Alternatively, the base layer bitstream decoder 1260, the enhancement layer bitstream decoder 1270, the filter selector 12, the upsampling unit 14, and the filter data storage unit 16 each have their own processor (not shown). And the scalable video decoding apparatus 1250 may operate as a whole as the processors (not shown) operate organically with each other.
- the sampling unit 14 and the filter data storage unit 16 may be controlled.
- the scalable video decoding apparatus 1250 may include a base layer bitstream decoder 1260, an enhancement layer bitstream decoder 1270, a filter selector 12, and an upsampling unit 14. And one or more data storage units (not shown) in which input and output data of the filter data storage unit 16 are stored.
- the scalable video decoding apparatus 1250 may include a memory controller (not shown) that manages data input / output of the data storage unit (not shown).
- the scalable video decoding apparatus 1250 operates in conjunction with an internal video encoding processor or an external video encoding processor to output a video encoding result, thereby performing a video encoding operation including transformation. Can be done.
- the internal video encoding processor of the scalable video decoding apparatus 1250 may implement a video encoding operation as a separate processor.
- the scalable video decoding apparatus 1250, the central computing unit, or the graphics processing unit may include a video encoding processing module to implement a basic video encoding operation.
- the scalable video encoding apparatus 1200 according to the various embodiments described above with reference to FIGS. 12A and 14A and the scalable video decoding apparatus 1250 according to the various embodiments described above with reference to FIGS. 12B and 14B are interleaved. Accurate upsampling filters can be selected for layer prediction.
- the sampling position varies according to the scalability magnification, that is, the upsampling scale, and the phase difference between the sampling position and the original pixel position Can vary.
- a filter coefficient for sampling the sampling position of the predetermined phase difference may be specified.
- the scalable video encoding apparatus 1200 and the scalable video decoding apparatus 1250 store filter coefficient sets corresponding to phase differences, and filter coefficients for each phase difference required according to the current scalability magnification when upsampling the base layer reconstructed image. By selecting a set and performing filtering, the filter value of the correct sampling position can be determined. Accordingly, the enhancement layer prediction image may be accurately generated from the base layer reconstruction image according to the scalability magnification. Therefore, inter-layer prediction may be performed more accurately using the correctly predicted enhancement layer image.
- the base layer encoder 1210 the enhancement layer encoder 1220, and the prediction error obtainer 1230 of the scalable video encoding apparatus 1200 according to various embodiments will be described with reference to FIG. 14.
- the prediction structure is described in detail.
- FIG. 14 is a block diagram of a scalable video encoding system 1400, according to various embodiments.
- the scalable coding system 1400 includes a base layer coding end 1410 and an enhancement layer coding end 1460, and an inter-layer prediction end 1450 between the base layer coding end 1410 and the enhancement layer coding end 1460. It is composed.
- the base layer encoder 1410 and the enhancement layer encoder 1460 may be interpreted as specific configurations of the base layer encoder 1210 and the enhancement layer encoder 1220, respectively.
- the base layer encoding terminal 1410 receives a base layer image sequence and encodes each image.
- the enhancement layer encoding stage 1460 receives an enhancement layer image sequence and encodes each image. Overlapping operations among the operations of the base layer encoder 1410 and the enhancement layer encoder 1320 will be described later.
- the input video (low resolution video, high resolution video) is divided into a maximum coding unit, a coding unit, a prediction unit, a transformation unit, and the like through the block splitters 1418 and 1468.
- intra prediction or inter prediction may be performed for each prediction unit of the coding units.
- the prediction switches 1448 and 1498 may perform inter prediction by referring to previous reconstructed images output from the motion compensators 1440 and 1490 according to whether the prediction mode of the prediction unit is the intra prediction mode or the inter prediction mode.
- intra prediction may be performed using a neighboring prediction unit of the current prediction unit in the current input image output from the intra prediction units 1445 and 1495. Residual information may be generated for each prediction unit through inter prediction.
- a residue component between the prediction unit and the surrounding image is input to the transform / quantization units 1420 and 1470.
- the transformation / quantization units 1420 and 1470 may output a quantized transformation coefficient by performing transformation and quantization for each transformation unit based on the transformation unit of the coding unit.
- the scaling / inverse transform units 1425 and 1475 may generate a residue component of the spatial domain by performing scaling and inverse transformation on the transform coefficient quantized for each transformation unit of the coding unit.
- the residue component is synthesized with a previous reconstruction image or a neighbor prediction unit, so that a reconstruction image including the current prediction unit is generated and the current reconstruction image is stored in the storage 1430. , 1480).
- the current reconstructed image may be transmitted to the intra prediction units 1445 and 1495 / the motion compensation units 1440 and 1490 according to the prediction mode of the prediction unit to be encoded next.
- the in-loop filtering units 1435 and 1485 may perform deblocking filtering on the reconstructed image stored in the storage 1430 and 1480, and between the original image and the reconstructed image.
- at least one filtering may be performed among sample adaptive offset (SAO) filtering.
- At least one of deblocking filtering and sample adaptive offset (SAO) filtering may be performed on at least one of a coding unit, a prediction unit, and a transformation unit included in the coding unit.
- Deblocking filtering is filtering to alleviate blocking of data units
- SAO filtering is filtering to compensate for pixel values that are transformed by data encoding and decoding.
- Data filtered by the in-loop filtering units 1435 and 1485 may be delivered to the motion compensators 1440 and 1490 for each prediction unit.
- the current reconstructed image and the next coding unit output by the motion compensator 1440 and 1490 and the block splitter 1418 and 1468 for encoding the next coding unit output from the block splitters 1418 and 1468 again. Residue components of the liver may be generated.
- the enhancement layer encoder 1460 may refer to the reconstructed image stored in the storage 1430 of the base layer encoder 1410 for interlayer prediction.
- the encoding control unit 1415 of the base layer encoding stage 1410 controls the storage 1430 of the base layer encoding stage 1410 to transmit the reconstructed image of the base layer encoding stage 1410 to the enhancement layer encoding stage 1460. I can deliver it.
- the transferred base layer reconstruction image may be used as an enhancement layer prediction image.
- the image upsampling apparatus 1455 of the inter-layer prediction stage 1450 may upsample the reconstructed image of the base layer and transfer the image to the enhancement layer encoder 1460 when the resolution of the image between the base layer and the enhancement layer is different. It may be. Therefore, the upsampled base layer image may be used as the enhancement layer prediction image.
- the image upsampling apparatus 1455 may correspond to the image upsampling apparatus 10 described above with reference to FIGS. 1 to 13B.
- the base layer reconstructed image transmitted through the inter-layer predictor 1450 is referred to.
- the enhancement layer image may be predicted.
- various encoding modes for a coding unit, a prediction unit, and a transformation unit may be set.
- depth or split information may be set as an encoding mode for a coding unit.
- a prediction mode, a partition type, intra direction information, reference list information, and the like may be set.
- a transform depth or split information may be set.
- the base layer encoder 1410 may determine various depths for a coding unit, various prediction modes for a prediction unit, various partition types, various intra directions, various reference lists, and various transform depths for a transformation unit, respectively. According to the result of applying the encoding, the coding depth, the prediction mode, the partition type, the intra direction / reference list, the transformation depth, etc. having the highest encoding efficiency may be determined. It is not limited to the above-listed encoding modes determined by the base layer encoding end 1410.
- the encoding controller 1415 of the base layer encoding terminal 1410 may control various encoding modes to be appropriately applied to the operation of each component.
- the encoding control unit 1415 may use the encoding layer or the register by referring to the encoding result of the base layer encoding stage 1410 by the enhancement layer encoding stage 1460 for inter-layer encoding of the enhancement layer encoding stage 1460. Control to determine the dew component.
- the enhancement layer encoding stage 1460 may use the encoding mode of the base layer encoding stage 1410 as the encoding mode for the enhancement layer image, or may refer to the encoding mode of the base layer encoding stage 1410 to improve the encoding layer.
- An encoding mode for the layer image may be determined.
- the encoding control unit 1415 of the base layer encoding stage 1410 controls the control signal of the encoding control unit 1465 of the enhancement layer encoding stage 1460 of the base layer encoding stage 1410, thereby improving the encoding layer 1460.
- the current encoding mode may be used from the encoding mode of the base layer encoding end 1410.
- the enhancement layer encoder 1460 may encode the interlayer prediction error by using the SAO parameter. Therefore, the prediction error between the enhancement layer prediction image determined from the base layer reconstruction image and the enhancement layer reconstruction image may be encoded as an offset of the SAO parameter.
- an inter-layer decoding system may also be implemented.
- the inter-layer decoding system may receive the base layer bitstream and the enhancement layer bitstream.
- the base layer decoder of the inter-layer decoding system may reconstruct base layer images by decoding the base layer bitstream.
- the enhancement layer decoder of the inter-layer decoding system of the multilayer video may reconstruct the enhancement layer images by decoding the enhancement layer bitstream using the base layer reconstruction image and parsed encoding information.
- the decoder 26 of the scalable video decoding apparatus 1250 may also be configured to the above-described inter-layer decoding system. Accordingly, the multilayer images may be reconstructed.
- blocks in which video data is divided are divided into coding units having a tree structure, and As described above, coding units, prediction units, and transformation units are sometimes used for inter-layer prediction or inter prediction.
- coding units, prediction units, and transformation units are sometimes used for inter-layer prediction or inter prediction.
- FIGS. 15A to 25 a video encoding method and apparatus therefor, a video decoding method, and an apparatus based on coding units and transformation units of a tree structure according to an embodiment will be described with reference to FIGS. 15A to 25.
- the encoding / decoding process for the base layer images and the encoding / decoding process for the enhancement layer images are performed separately. That is, when inter-layer prediction occurs in the multi-layer video, the encoding / decoding result of the single layer video may be cross-referenced, but a separate encoding / decoding process occurs for each single layer video.
- the video encoding process and the video decoding process based on coding units having a tree structure described below with reference to FIGS. 15A through 25 are video encoding processes and video decoding processes for single layer video, and thus inter prediction and motion compensation are performed. This is detailed. However, as described above with reference to FIGS. 12A to 14, inter-layer prediction and compensation between base view images and enhancement layer images are performed for encoding / decoding a video stream.
- the encoder 12 may perform video encoding for each single layer video.
- the video encoding apparatus 1500 of FIG. 14 may be controlled to perform encoding of a single layer video allocated to each video encoding apparatus 1500 by including the number of layers of the multilayer video.
- the scalable video decoding apparatus 1250 may perform inter-view prediction using encoding results of separate single views of each video encoding apparatus 1500. Accordingly, the encoder 12 of the scalable video decoding apparatus 1250 may generate a base view video stream and an enhancement layer video stream that contain encoding results for each layer.
- the decoder 26 of the scalable video decoding apparatus 1250 in order for the decoder 26 of the scalable video decoding apparatus 1250 to decode a multilayer video based on coding units having a tree structure, the received base layer video stream and enhancement layer video are decoded.
- the video decoding apparatus 1550 of FIG. 14 includes the number of layers of the multilayer video, and controls to perform decoding of the single layer video allocated to each video decoding apparatus 1550.
- the scalable video decoding apparatus 1250 may perform interlayer compensation by using a decoding result of a separate single layer of each video decoding apparatus 1550. Accordingly, the scalable video decoding apparatus 1250 may generate base layer reconstruction images and enhancement layer images for each layer.
- 15A is a block diagram of a video encoding apparatus 1500 based on coding units having a tree structure, according to various embodiments.
- the video encoding apparatus 1500 that includes video prediction based on coding units having a tree structure includes an encoder 1510 and an output unit 1520.
- a video encoding apparatus 1500 that includes video prediction based on coding units having a tree structure according to an embodiment is referred to as a short term 'video encoding apparatus 1500'.
- the encoder 1510 may partition the current picture based on a maximum coding unit that is a maximum coding unit for the current picture of the image. If the current picture is larger than the maximum coding unit, image data of the current picture may be split into at least one maximum coding unit.
- the maximum coding unit may be a data unit having a size of 32x32, 64x64, 128x128, 256x256, or the like, and may be a square data unit having a square of two horizontal and vertical sizes.
- the coding unit according to an embodiment may be characterized by a maximum size and depth.
- the depth indicates the number of times the coding unit is spatially divided from the maximum coding unit, and as the depth increases, the coding unit for each depth may be split from the maximum coding unit to the minimum coding unit.
- the depth of the largest coding unit is the highest depth and the minimum coding unit may be defined as the lowest coding unit.
- the maximum coding unit decreases as the depth increases, the size of the coding unit for each depth decreases, and thus, the coding unit of the higher depth may include coding units of a plurality of lower depths.
- the image data of the current picture may be divided into maximum coding units according to the maximum size of the coding unit, and each maximum coding unit may include coding units divided by depths. Since the maximum coding unit is divided according to depths, image data of a spatial domain included in the maximum coding unit may be hierarchically classified according to depths.
- the maximum depth and the maximum size of the coding unit that limit the total number of times of hierarchically dividing the height and the width of the maximum coding unit may be preset.
- the encoder 1510 encodes at least one divided region obtained by dividing the region of the largest coding unit for each depth, and determines a depth at which the final encoding result is output for each of the at least one divided region. That is, the encoder 1510 encodes the image data in coding units according to depths for each maximum coding unit of the current picture, and selects a depth at which the smallest coding error occurs to determine the coding depth. The determined coded depth and the image data for each maximum coding unit are output to the output unit 1520.
- Image data in the largest coding unit is encoded based on coding units according to depths according to at least one depth less than or equal to the maximum depth, and encoding results based on the coding units for each depth are compared. As a result of comparing the encoding error of the coding units according to depths, a depth having the smallest encoding error may be selected. At least one coding depth may be determined for each maximum coding unit.
- the coding unit is divided into hierarchically and the number of coding units increases.
- a coding error of each data is measured, and whether or not division into a lower depth is determined. Therefore, even in the data included in one largest coding unit, since the encoding error for each depth is different according to the position, the coding depth may be differently determined according to the position. Accordingly, one or more coding depths may be set for one maximum coding unit, and data of the maximum coding unit may be partitioned according to coding units of one or more coding depths.
- the encoder 1510 may determine coding units having a tree structure included in the current maximum coding unit.
- the coding units having a tree structure according to an embodiment include coding units having a depth determined as a coding depth among all deeper coding units included in the maximum coding unit.
- the coding unit of the coding depth may be hierarchically determined according to the depth in the same region within the maximum coding unit, and may be independently determined for the other regions.
- the coded depth for the current region may be determined independently of the coded depth for the other region.
- the maximum depth according to an embodiment is an index related to the number of divisions from the maximum coding unit to the minimum coding unit.
- the maximum depth according to an embodiment may represent the total number of splits from the maximum coding unit to the minimum coding unit. For example, when the depth of the largest coding unit is 0, the depth of the coding unit obtained by dividing the largest coding unit once may be set to 1, and the depth of the coding unit divided twice may be set to 2. In this case, if the coding unit divided four times from the maximum coding unit is the minimum coding unit, since depth levels of depths 0, 1, 2, 3, and 4 exist, the maximum depth may be set to 4.
- Predictive encoding and transformation of the largest coding unit may be performed. Similarly, prediction encoding and transformation are performed based on depth-wise coding units for each maximum coding unit and for each depth less than or equal to the maximum depth.
- encoding including prediction encoding and transformation should be performed on all the coding units for each depth generated as the depth deepens.
- the prediction encoding and the transformation will be described based on the coding unit of the current depth among at least one maximum coding unit.
- the video encoding apparatus 1500 may variously select a size or shape of a data unit for encoding image data.
- the encoding of the image data is performed through prediction encoding, transforming, entropy encoding, and the like.
- the same data unit may be used in every step, or the data unit may be changed in steps.
- the video encoding apparatus 1500 may select not only a coding unit for encoding the image data, but also a data unit different from the coding unit in order to perform predictive encoding of the image data in the coding unit.
- prediction encoding may be performed based on a coding unit of a coding depth, that is, a more strange undivided coding unit, according to an embodiment.
- a more strange undivided coding unit that is the basis of prediction coding is referred to as a 'prediction unit'.
- the partition in which the prediction unit is divided may include a data unit in which at least one of the prediction unit and the height and the width of the prediction unit are divided.
- the partition may be a data unit in which the prediction unit of the coding unit is split, and the prediction unit may be a partition having the same size as the coding unit.
- the partition type includes not only symmetric partitions in which the height or width of the prediction unit is divided by a symmetrical ratio, but also partitions divided in an asymmetrical ratio, such as 1: n or n: 1, by a geometric form. It may optionally include partitioned partitions, arbitrary types of partitions, and the like.
- the prediction mode of the prediction unit may be at least one of an intra mode, an inter mode, and a skip mode.
- the intra mode and the inter mode may be performed on partitions having sizes of 2N ⁇ 2N, 2N ⁇ N, N ⁇ 2N, and N ⁇ N.
- the skip mode may be performed only for partitions having a size of 2N ⁇ 2N.
- the encoding may be performed independently for each prediction unit within the coding unit to select a prediction mode having the smallest encoding error.
- the video encoding apparatus 1500 may perform the transformation of the image data of the coding unit based on not only a coding unit for encoding the image data but also a data unit different from the coding unit.
- the transformation may be performed based on a transformation unit having a size smaller than or equal to the coding unit.
- the transformation unit may include a data unit for intra mode and a transformation unit for inter mode.
- the transformation unit in the coding unit is also recursively divided into smaller transformation units, so that the residual data of the coding unit is determined according to the tree structure according to the transformation depth. Can be partitioned according to the conversion unit.
- a transform depth indicating a number of divisions between the height and the width of the coding unit divided to the transform unit may be set. For example, if the size of the transform unit of the current coding unit of size 2Nx2N is 2Nx2N, the transform depth is 0, the transform depth 1 if the size of the transform unit is NxN, and the transform depth 2 if the size of the transform unit is N / 2xN / 2. Can be. That is, the transformation unit having a tree structure may also be set for the transformation unit according to the transformation depth.
- the encoded information for each coded depth requires not only the coded depth but also prediction related information and transformation related information. Therefore, the encoder 1510 may determine not only the coded depth that generated the minimum encoding error, but also a partition type obtained by dividing a prediction unit into partitions, a prediction mode for each prediction unit, and a size of a transformation unit for transformation.
- a method of determining a coding unit, a prediction unit / partition, and a transformation unit according to a tree structure of a maximum coding unit according to an embodiment will be described later in detail with reference to FIGS. 15 to 24.
- the encoder 1510 may measure a coding error of coding units according to depths using a Lagrangian Multiplier-based rate-distortion optimization technique.
- the output unit 1520 outputs, in a bitstream form, image data of a maximum coding unit encoded based on at least one coded depth determined by the encoder 1510, and information about an encoding mode according to depths.
- the encoded image data may be a result of encoding residual data of the image.
- the information about the encoding modes according to depths may include encoding depth information, partition type information of a prediction unit, prediction mode information, size information of a transformation unit, and the like.
- the coded depth information may be defined using depth-specific segmentation information indicating whether to encode to a coding unit of a lower depth without encoding to the current depth. If the current depth of the current coding unit is a coding depth, since the current coding unit is encoded in a coding unit of the current depth, split information of the current depth may be defined so that it is no longer divided into lower depths. On the contrary, if the current depth of the current coding unit is not the coding depth, encoding should be attempted using the coding unit of the lower depth, and thus split information of the current depth may be defined to be divided into coding units of the lower depth.
- encoding is performed on the coding unit divided into the coding units of the lower depth. Since at least one coding unit of a lower depth exists in the coding unit of the current depth, encoding may be repeatedly performed for each coding unit of each lower depth, and recursive coding may be performed for each coding unit of the same depth.
- coding units having a tree structure are determined in one largest coding unit and information about at least one coding mode should be determined for each coding unit of a coding depth, information about at least one coding mode may be determined for one maximum coding unit. Can be.
- the coding depth may be different for each location, and thus information about the coded depth and the coding mode may be set for the data.
- the output unit 1520 may allocate encoding information about a corresponding coding depth and an encoding mode to at least one of a coding unit, a prediction unit, and a minimum unit included in the maximum coding unit. .
- the minimum unit according to an embodiment is a square data unit having a size obtained by dividing the minimum coding unit, which is the lowest coding depth, into four divisions.
- the minimum unit according to an embodiment may be a square data unit having a maximum size that may be included in all coding units, prediction units, partition units, and transformation units included in the maximum coding unit.
- the encoding information output through the output unit 1520 may be classified into encoding information according to depth coding units and encoding information according to prediction units.
- the encoding information for each coding unit according to depth may include prediction mode information and partition size information.
- the encoding information transmitted for each prediction unit includes information about an estimation direction of the inter mode, information about a reference image index of the inter mode, information about a motion vector, information about a chroma component of an intra mode, and information about an inter mode of an intra mode. And the like.
- Information about the maximum size and information about the maximum depth of a coding unit defined for each picture, slice segment, or GOP may be inserted into a header, a sequence parameter set, or a picture parameter set of a bitstream.
- the information on the maximum size of the transform unit and the minimum size of the transform unit allowed for the current video may also be output through a header, a sequence parameter set, a picture parameter set, or the like of the bitstream.
- the output unit 1520 may encode and output reference information related to prediction, prediction information, slice segment type information, and the like.
- a depth-based coding unit is a coding unit having a size obtained by dividing a height and a width of a coding unit of one layer higher depth. That is, if the size of the coding unit of the current depth is 2Nx2N, the size of the coding unit of the lower depth is NxN.
- the current coding unit having a size of 2N ⁇ 2N may include up to four lower depth coding units having a size of N ⁇ N.
- the video encoding apparatus 1500 determines a coding unit having an optimal shape and size for each maximum coding unit based on the size and maximum depth of the maximum coding unit determined in consideration of the characteristics of the current picture. Coding units may be configured. In addition, since each of the maximum coding units may be encoded in various prediction modes and transformation methods, an optimal coding mode may be determined in consideration of image characteristics of coding units having various image sizes.
- the video encoding apparatus may adjust the coding unit in consideration of the image characteristics while increasing the maximum size of the coding unit in consideration of the size of the image, thereby increasing image compression efficiency.
- the scalable video decoding apparatus 1100 described above with reference to FIG. 11A may include as many video encoding apparatuses 1500 as the number of layers for encoding single layer images for each layer of a multilayer video.
- the base layer encoder 12 may include one video encoding apparatus 1500
- the enhancement layer encoder 14 may include as many video encoding apparatuses 1500 as the number of enhancement layers.
- the encoder 1510 determines a prediction unit for inter-image prediction for each coding unit having a tree structure for each largest coding unit, and inter-picture prediction for each prediction unit. Can be performed.
- the encoder 1510 may determine a coding unit and a prediction unit having a tree structure for each maximum coding unit, and perform inter prediction for each prediction unit.
- the video encoding apparatus 1500 may encode an interlayer prediction error for predicting an enhancement layer image using SAO. Accordingly, the prediction error of the enhancement layer image may be encoded using only the information on the SAO type and the offset, based on the sample value distribution of the prediction error, without encoding the prediction error for each pixel position.
- FIG. 15B is a block diagram of a video decoding apparatus 1550 based on coding units having a tree structure, according to various embodiments.
- a video decoding apparatus 1550 that includes video prediction based on coding units having a tree structure includes a receiver 210, image data and encoding information reception extractor 1560, and a decoder 1570.
- the video decoding apparatus 1550 that includes video prediction based on coding units having a tree structure is abbreviated as “video decoding apparatus 1550”.
- Definitions of various terms such as a coding unit, a depth, a prediction unit, a transformation unit, and information about various encoding modes for a decoding operation of the video decoding apparatus 1550 according to an embodiment may be described with reference to FIG. 8 and the video encoding apparatus 1500. Same as described above with reference.
- the reception extractor 1560 receives and parses a bitstream of the encoded video.
- the image data and encoding information reception extractor 1560 extracts image data encoded for each coding unit from the parsed bitstream according to coding units having a tree structure for each maximum coding unit, and outputs the encoded image data to the decoder 1570.
- the image data and encoding information reception extractor 1560 may extract information about a maximum size of a coding unit of the current picture from a header, a sequence parameter set, or a picture parameter set for the current picture.
- the image data and encoding information reception extractor 1560 extracts information about a coded depth and an encoding mode of coding units having a tree structure for each maximum coding unit, from the parsed bitstream.
- the extracted information about the coded depth and the coding mode is output to the decoder 1570. That is, the image data of the bit string may be divided into maximum coding units so that the decoder 1570 may decode the image data for each maximum coding unit.
- the information about the coded depth and the encoding mode for each largest coding unit may be set with respect to one or more coded depth information, and the information about the coding mode according to the coded depths may include partition type information, prediction mode information, and transformation unit of the corresponding coding unit. May include size information and the like.
- split information for each depth may be extracted as the coded depth information.
- the information about the coded depth and the encoding mode according to the maximum coding units extracted by the image data and the encoding information reception extractor 1560 may be different according to the depths according to the maximum coding units, as in the video encoding apparatus 1500 according to an exemplary embodiment.
- the image data and encoding information reception extractor 1560 may be predetermined. Information about a coded depth and an encoding mode may be extracted for each data unit. If the information about the coded depth and the coding mode of the maximum coding unit is recorded for each of the predetermined data units, the predetermined data units having the information about the same coded depth and the coding mode are inferred as data units included in the same maximum coding unit. Can be.
- the decoder 1570 reconstructs the current picture by decoding image data of each maximum coding unit based on the information about the coded depth and the encoding mode for each maximum coding unit. That is, the decoder 1570 may decode encoded image data based on the read partition type, prediction mode, and transformation unit for each coding unit among coding units having a tree structure included in the maximum coding unit. .
- the decoding process may include a prediction process including intra prediction and motion compensation, and an inverse transform process.
- the decoder 1570 may perform intra prediction or motion compensation according to each partition and prediction mode for each coding unit, based on partition type information and prediction mode information of the prediction unit of the coding unit for each coding depth.
- the decoder 1570 may read transform unit information having a tree structure for each coding unit, and perform inverse transform based on the transformation unit for each coding unit, for the maximum transformation for each coding unit. Through inverse transformation, the pixel value of the spatial region of the coding unit may be restored.
- the decoder 1570 may determine the coded depth of the current maximum coding unit by using the split information for each depth. If the split information indicates that the split information is no longer split at the current depth, the current depth is the coded depth. Therefore, the decoder 1570 may decode the coding unit of the current depth with respect to the image data of the current maximum coding unit by using the partition type, the prediction mode, and the transformation unit size information of the prediction unit.
- the decoding unit 1570 performs the same encoding. It can be regarded as one data unit to be decoded in the mode.
- the decoding of the current coding unit may be performed by obtaining information about an encoding mode for each coding unit determined in this way.
- the scalable video decoding apparatus 1250 described above with reference to FIG. 12B may decode the received base layer image stream and the enhancement layer image stream to reconstruct the base layer images and the enhancement layer images. It may include as many times as the number of viewpoints.
- the decoder 1570 of the video decoding apparatus 1550 may extract the samples of the base layer images extracted from the base layer image stream by the reception extractor 1560 in a tree of the largest coding unit. It may be divided into coding units according to a structure. The decoder 1570 may reconstruct base layer images by performing motion compensation for each coding unit according to a tree structure of samples of the base layer images, for each prediction unit for inter-image prediction.
- the decoder 1570 of the video decoding apparatus 1550 may extract the samples of the enhancement layer images extracted from the enhancement layer image stream by the reception extractor 1560 in a tree of the largest coding unit. It may be divided into coding units according to a structure. The decoder 1570 may reconstruct the enhancement layer images by performing motion compensation for each prediction unit for inter prediction for each coding unit of the samples of the enhancement layer images.
- the reception extractor 1560 may acquire the SAO type and the offset from the received enhancement layer bitstream and determine the SAO category according to the distribution of sample values for each pixel of the enhancement layer prediction image.
- the offset for each SAO category can be obtained. Therefore, even if the prediction error is not received for each pixel, the decoder 1570 may compensate the offset for each category of each pixel of the enhancement layer prediction image and determine the enhancement layer reconstruction image by referring to the compensated enhancement layer prediction image. have.
- the video decoding apparatus 1550 may obtain information about a coding unit that generates a minimum coding error by recursively encoding each maximum coding unit in the encoding process, and use the same to decode the current picture. That is, decoding of encoded image data of coding units having a tree structure determined as an optimal coding unit for each maximum coding unit can be performed.
- the image data can be efficiently used according to the coding unit size and the encoding mode that are adaptively determined according to the characteristics of the image by using the information about the optimum encoding mode transmitted from the encoding end. Can be decoded and restored.
- 16 illustrates a concept of coding units, according to various embodiments.
- a size of a coding unit may be expressed by a width x height, and may include 32x32, 16x16, and 8x8 from a coding unit having a size of 64x64.
- Coding units of size 64x64 may be partitioned into partitions of size 64x64, 64x32, 32x64, and 32x32, coding units of size 32x32 are partitions of size 32x32, 32x16, 16x32, and 16x16, and coding units of size 16x16 are 16x16.
- Coding units of size 8x8 may be divided into partitions of size 8x8, 8x4, 4x8, and 4x4, into partitions of 16x8, 8x16, and 8x8.
- the resolution is set to 1920x1080, the maximum size of the coding unit is 64, and the maximum depth is 2.
- the resolution is 1920x1080, the maximum size of the coding unit is 64, and the maximum depth is set to 3.
- the resolution is set to 352x288, the maximum size of the coding unit is 16, and the maximum depth is one.
- the maximum depth illustrated in FIG. 15 represents the total number of divisions from the maximum coding unit to the minimum coding unit.
- the maximum size of the coding size is relatively large not only to improve the coding efficiency but also to accurately shape the image characteristics. Accordingly, the video data 1610 and 1620 having a higher resolution than the video data 1630 may be selected to have a maximum size of 64.
- the coding unit 1615 of the video data 1610 is divided twice from the largest coding unit having a long axis size of 64, and the depth is deepened by two layers, so that the long axis size is 32, 16. Up to coding units may be included.
- the coding unit 1635 of the video data 1630 is divided once from coding units having a long axis size of 16, and the depth is deepened by one layer to make the long axis size 8 Up to coding units may be included.
- the coding unit 1625 of the video data 1620 is divided three times from the largest coding unit having a long axis size of 64, and the depth is three layers deep, and thus the long axis size is 32, 16. , Up to 8 coding units may be included. As the depth increases, the expressive power of the detailed information may be improved.
- 17A is a block diagram of an image encoder 1700 based on coding units, according to various embodiments.
- the image encoder 1700 includes operations performed by the encoder 1610 of the video encoding apparatus 1600 to encode image data. That is, the intra predictor 1704 performs intra prediction on the coding unit of the intra mode among the current frame 1702, and the motion estimator 1706 and the motion compensator 1708 perform the current frame 1702 of the inter mode. And the inter frame estimation and the motion compensation using the reference frame 1726.
- Data output from the intra predictor 1704, the motion estimator 1706, and the motion compensator 1708 is output as a quantized transform coefficient through the transform unit 1710 and the quantization unit 1712.
- the quantized transform coefficients are restored to the data in the spatial domain through the inverse quantizer 1718 and the inverse transformer 1720, and the restored data of the spatial domain are passed through the deblocking unit 1722 and the offset compensator 1724. Processing is performed and output to the reference frame 1726.
- the quantized transform coefficients may be output to the bitstream 1716 through the entropy encoder 1714.
- an intra predictor 1704, a motion estimator 1706, a motion compensator 1708, and a transform unit which are components of the image encoder 1700, may be used.
- 1710, quantization unit 1712, entropy coding unit 1714, inverse quantization unit 1718, inverse transform unit 1720, deblocking unit 1722 and offset compensation unit 1724 are all the maximum for each largest coding unit. In consideration of the depth, a task based on each coding unit among the coding units having a tree structure should be performed.
- the intra predictor 1704, the motion estimator 1706, and the motion compensator 1708 are partitions of each coding unit among coding units having a tree structure in consideration of the maximum size and the maximum depth of the current maximum coding unit.
- a prediction mode, and the transform unit 1710 must determine a size of a transform unit in each coding unit among coding units having a tree structure.
- 17B is a block diagram of an image decoder 1750 based on coding units, according to various embodiments.
- the bitstream 1552 is parsed through the parser 1754, and the encoded image data to be decoded and information about encoding necessary for decoding are parsed.
- the encoded image data is output as inverse quantized data through an entropy decoding unit 1756 and an inverse quantization unit 1758, and image data of a spatial domain is restored through an inverse transformation unit 1760.
- the intra predictor 1762 performs intra prediction on the coding unit of the intra mode, and the motion compensator 1764 uses the reference frame 1770 together to apply to the coding unit of the inter mode. Perform motion compensation for the
- Data in the spatial domain that has passed through the intra predictor 1762 and the motion compensator 1764 may be post-processed through the deblocking unit 1766 and the offset compensator 1768 and output to the reconstructed frame 1772.
- the post-processed data through the deblocking unit 1766 and the loop filtering unit 1768 may be output as the reference frame 1770.
- step-by-step operations after the parser 1754 of the image decoder 1750 may be performed.
- a parser 1754 In order to be applied to the video decoding apparatus 1650, a parser 1754, an entropy decoder 1756, an inverse quantizer 1758, and an inverse transformer 1760 that are components of the image decoder 1750 may be applied.
- the intra predictor 1762, the motion compensator 1764, the deblocking unit 1766, and the offset compensator 1768 must all perform operations based on coding units having a tree structure for each largest coding unit. do.
- the intra predictor 1762 and the motion compensator 1764 determine a partition and a prediction mode for each coding unit having a tree structure, and the inverse transform unit 1760 must determine the size of a transform unit for each coding unit. .
- the encoding operation of FIG. 17A and the decoding operation of FIG. 17B describe the video stream encoding operation and the decoding operation in a single layer, respectively. Therefore, if the scalable video encoding apparatus 1200 of FIG. 12A encodes a video stream of two or more layers, the scalable video encoding apparatus 1200 may include an image encoder 1700 for each layer. Similarly, if the scalable video decoding apparatus 1250 of FIG. 12B decodes a video stream of two or more layers, it may include an image decoder 1750 for each layer.
- 18 is a diagram illustrating deeper coding units according to depths, and partitions, according to various embodiments.
- the video encoding apparatus 1500 and the video decoding apparatus 1550 use hierarchical coding units to consider image characteristics.
- the maximum height, width, and maximum depth of the coding unit may be adaptively determined according to the characteristics of the image, and may be variously set according to a user's request. According to the maximum size of the preset coding unit, the size of the coding unit for each depth may be determined.
- the hierarchical structure 1800 of a coding unit illustrates a case in which a maximum height and a width of a coding unit are 64 and a maximum depth is three.
- the maximum depth indicates the total number of divisions from the maximum coding unit to the minimum coding unit. Since a depth deepens along a vertical axis of the hierarchical structure 1800 of the coding unit according to an embodiment, the height and the width of the coding unit according to depths are respectively divided. Also, along the horizontal axis of the hierarchical structure 1800 of the coding unit, a prediction unit and a partition on which the prediction coding of each deeper coding unit is based are illustrated.
- the coding unit 1810 has a depth of 0 as the largest coding unit of the hierarchical structure 1800 of the coding unit, and the size, ie, the height and width, of the coding unit is 64x64.
- a depth deeper along the vertical axis includes a coding unit 1820 having a depth of 32x32, a coding unit 1830 having a depth of 16x16, and a coding unit 1840 having a depth of 8x8.
- a coding unit 1840 having a depth of 8 having a size of 8 ⁇ 8 is a minimum coding unit.
- Prediction units and partitions of the coding unit are arranged along the horizontal axis for each depth. That is, if the coding unit 1810 having a size of 0 depth 64x64 is a prediction unit, the prediction unit is a partition 1810 having a size of 64x64 included in the coding unit 1810 having a size of 64x64, partitions 1812 having a size of 64x32, and a size. 32x64 partitions 1814, and 32x32 partitions 1816.
- the prediction unit of the coding unit 1820 having a size of 32x32 having a depth of 1 includes a partition 1820 having a size of 32x32, partitions 1822 having a size of 32x16, and a partition having a size of 16x32 included in the coding unit 1820 having a size of 32x32. 1824 may be partitioned into partitions 1826 of size 16x16.
- the prediction unit of the coding unit 1830 having a size of 16x16 having a depth of 2 includes a partition 1830 of size 16x16, partitions 1832 of size 16x8, and a partition of size 8x16 included in the coding unit 1830 of size 16x16. 1834, partitions 1836 of size 8x8.
- the prediction unit of the coding unit 1840 of size 8x8 having a depth of 3 includes a partition 1840 of size 8x8, partitions 1842 of size 8x4 and a partition of size 4x8 included in the coding unit 1840 of size 8x8. 1844, partitions 1846 of size 4x4.
- the encoder 1510 of the video encoding apparatus 100 encodes each coding unit of each depth included in the maximum coding unit 1810 to determine the coded depth of the maximum coding unit 1810. Should be performed.
- the number of deeper coding units according to depths for including data having the same range and size increases as the depth increases. For example, four coding units of depth 2 are required for data included in one coding unit of depth 1. Therefore, in order to compare the encoding results of the same data for each depth, each of the coding units having one depth 1 and four coding units having four depths 2 should be encoded.
- encoding is performed for each prediction unit of each coding unit along a horizontal axis of the hierarchical structure 1800 of the coding unit, and a representative coding error, which is the smallest coding error at a corresponding depth, may be selected. .
- a depth deeper along the vertical axis of the hierarchical structure 1800 of the coding unit encoding may be performed for each depth, and the minimum coding error may be searched by comparing the representative coding error for each depth.
- the depth and the partition in which the minimum coding error occurs in the maximum coding unit 1810 may be selected as the coding depth and the partition type of the maximum coding unit 1810.
- 19 illustrates a relationship between a coding unit and transformation units, according to various embodiments.
- the video encoding apparatus 1500 encodes or decodes an image in coding units having a size smaller than or equal to the maximum coding unit for each maximum coding unit.
- the size of a transformation unit for transformation in the encoding process may be selected based on a data unit that is not larger than each coding unit.
- the 32x32 size conversion unit 1920 is selected. The conversion can be performed.
- the data of the 64x64 coding unit 1910 is transformed into 32x32, 16x16, 8x8, and 4x4 transform units of 64x64 size or less, and then encoded, and the transform unit having the least error with the original is selected. Can be.
- 20 is a diagram of deeper encoding information according to depths, according to various embodiments.
- the output unit 1520 of the video encoding apparatus 100 is information about an encoding mode, and information about a partition type 2000 and information about a prediction mode 2010 for each coding unit of each coded depth.
- the information about the transform unit size may be encoded and transmitted.
- the information about the partition type 2000 is a data unit for predictive encoding of the current coding unit and indicates information about a partition type in which the prediction unit of the current coding unit is divided.
- the current coding unit CU_0 having a size of 2Nx2N is any one of a partition of size 2Nx2N (2002), a partition of size 2NxN (2004), a partition of size Nx2N (2006), and a partition of size NxN (2008). It can be divided and used.
- the information 2000 on the partition type of the current coding unit represents one of a partition 2002 having a size of 2Nx2N, a partition having a size of 2NxN, 2004, a partition 2006 having a size of Nx2N, and a partition 2008 having a size of NxN. It is set to.
- Information 2010 on the prediction mode indicates the prediction mode of each partition. For example, through the information 2010 on the prediction mode, whether the partition indicated by the information 2000 on the partition type is performed in one of the intra mode 2012, the inter mode 2014, and the skip mode 2016 is performed. Whether or not can be set.
- the information 2020 on the size of the transformation unit indicates which transformation unit the current coding unit is to be transformed based on.
- the transform unit may be one of the first intra transform unit size 2022, the second intra transform unit size 2024, the first inter transform unit size 2026, and the second inter transform unit size 2028. have.
- the reception extractor 1560 of the video decoding apparatus 1550 may include information about a partition type 2000, information about a prediction mode 2010, and a transform unit size for each depth-based coding unit.
- the information 2020 can be extracted and used for decoding.
- 21 is a diagram of deeper coding units according to depths, according to various embodiments.
- Segmentation information may be used to indicate a change in depth.
- the split information indicates whether a coding unit of a current depth is split into coding units of a lower depth.
- the prediction unit 2110 for predictive encoding of the coding unit 2100 having depth 0 and 2N_0x2N_0 size includes 2N_0x2N_0 partition type 2112, 2N_0xN_0 size partition type 2114, N_0x2N_0 size partition type 2116, and N_0xN_0 It may include a partition type 2118 of size. Although only partitions 2112, 2014, 2016, and 2018 in which the prediction unit is divided by a symmetrical ratio are illustrated, as described above, the partition type is not limited thereto, and an asymmetric partition, an arbitrary partition, a geometric partition, etc. It may include.
- prediction coding For each partition type, prediction coding must be performed repeatedly for one 2N_0x2N_0 partition, two 2N_0xN_0 partitions, two N_0x2N_0 partitions, and four N_0xN_0 partitions.
- prediction encoding For partitions having a size 2N_0x2N_0, a size N_0x2N_0, a size 2N_0xN_0, and a size N_0xN_0, prediction encoding may be performed in an intra mode and an inter mode. The skip mode may be performed only for prediction encoding on partitions having a size of 2N_0x2N_0.
- the depth 0 is changed to 1 and split (2120), and the encoding is repeatedly performed on the depth 2 and the coding units 2130 of the partition type of the size N_0xN_0.
- the prediction unit 2140 for predictive encoding of the coding unit 2130 having a depth of 1 and a size of 2N_1x2N_1 includes a partition type 2142 having a size of 2N_1x2N_1, a partition type 2144 having a size of 2N_1xN_1, and a partition type having a size of N_1x2N_1.
- 2146, a partition type 2148 of size N_1 ⁇ N_1 may be included.
- the depth 1 is changed to the depth 2 and divided (2150), and repeatedly for the coding units 2160 having the depth 2 and the size N_2xN_2.
- the encoding may be performed to search for a minimum encoding error.
- depth-based coding units may be set until depth d-1, and split information may be set up to depth d-2. That is, when encoding is performed from the depth d-2 to the depth 2-1 to the depth d-1, the prediction encoding of the coding unit 2180 having the depth d-1 and the size 2N_ (d-1) x2N_ (d-1)
- the prediction unit 2190 for the partition includes a partition type 2192 of size 2N_ (d-1) x2N_ (d-1), a partition type 2194 of size 2N_ (d-1) xN_ (d-1), and size
- a partition type 2196 of N_ (d-1) x2N_ (d-1) and a partition type 2198 of size N_ (d-1) xN_ (d-1) may be included.
- one partition 2N_ (d-1) x2N_ (d-1), two partitions 2N_ (d-1) xN_ (d-1), two sizes N_ (d-1) x2N_ Prediction encoding is repeatedly performed for each partition of (d-1) and four partitions of size N_ (d-1) xN_ (d-1), so that a partition type having a minimum encoding error may be searched. .
- the coding unit CU_ (d-1) of the depth d-1 is no longer
- the encoding depth of the current maximum coding unit 2100 may be determined as the depth d-1, and the partition type may be determined as N_ (d-1) xN_ (d-1) without going through a division process into lower depths.
- split information is not set for the coding unit 2152 of the depth d-1.
- the data unit 2199 may be referred to as a 'minimum unit' for the current maximum coding unit.
- the minimum unit may be a square data unit having a size obtained by dividing the minimum coding unit, which is the lowest coding depth, into four divisions.
- the video encoding apparatus 100 compares the encoding errors for each depth of the coding unit 2100, selects a depth at which the smallest encoding error occurs, and determines a coding depth.
- the partition type and the prediction mode may be set to the encoding mode of the coded depth.
- the depth with the smallest error can be determined by comparing the minimum coding errors for all depths of depths 0, 1, ..., d-1, d, and can be determined as the coding depth.
- the coded depth, the partition type of the prediction unit, and the prediction mode may be encoded and transmitted as information about an encoding mode.
- the coding unit since the coding unit must be split from the depth 0 to the coded depth, only the split information of the coded depth is set to '0', and the split information for each depth except the coded depth should be set to '1'.
- the image data and encoding information reception extractor 1560 of the video decoding apparatus 1550 extracts information about a coding depth and a prediction unit with respect to the coding unit 2100 to decode the coding unit 2112. It is available.
- the video decoding apparatus 1550 may identify a depth having split information of '0' as an encoding depth by using split information for each depth, and use the decoding information by using information about an encoding mode for a corresponding depth. have.
- 22, 23, and 24 illustrate a relationship between coding units, prediction units, and transformation units, according to various embodiments.
- the coding units 2210 are coding units according to coding depths, which are determined by the video encoding apparatus 100 according to an embodiment with respect to the maximum coding unit.
- the prediction unit 2260 is partitions of prediction units of each coding depth of coding units 2210, and a transformation unit 2270 is transformation units of each coding depth.
- the depth-based coding units 2210 have a depth of 0
- the coding units 2212 and 1054 have a depth of 1
- the coding units 2214, 2216, 2218, 2228, 2250, and 2252 have depths.
- 2, coding units 2220, 2222, 2224, 2226, 2230, 2232, and 2248 have a depth of 3
- coding units 2240, 2242, 2244, and 2246 have a depth of 4.
- partitions 2214, 2216, 2222, 2232, 2248, 2250, 2252, and 2254 of the prediction units 2260 are in a form in which coding units are divided. That is, partitions 2214, 2222, 2250, and 2254 are partition types of 2NxN, partitions 2216, 2248, and 2252 are partition types of Nx2N, and partitions 2232 are partition types of NxN.
- the prediction units and partitions of the coding units 2210 according to depths are smaller than or equal to each coding unit.
- the image data of some 2225 of the transformation units 2270 may be converted or inversely transformed into data units having a smaller size than that of the coding unit.
- the transformation units 2214, 2216, 2222, 2232, 2248, 2250, 2252, and 2254 are data units having different sizes or shapes when compared to corresponding prediction units and partitions among the prediction units 2260. That is, even if the video encoding apparatus 1500 and the video decoding apparatus 1550 according to the embodiment are intra prediction / motion estimation / motion compensation operations and transform / inverse transform operations for the same coding unit, Each can be performed on a separate data unit.
- coding is performed recursively for each coding unit having a hierarchical structure for each largest coding unit to determine an optimal coding unit.
- coding units having a recursive tree structure may be configured.
- the encoding information may include split information about a coding unit, partition type information, prediction mode information, and transformation unit size information. Table 1 below shows an example that can be set in the video encoding apparatus 1500 according to an embodiment and the video decoding apparatus 1550 according to an embodiment.
- the output unit 1520 of the video encoding apparatus 100 outputs encoding information about coding units having a tree structure, and the encoding information receiving extractor of the video decoding apparatus 1550 according to an embodiment.
- An operation 1560 may extract encoding information about coding units having a tree structure, from the received bitstream.
- the split information indicates whether the current coding unit is split into coding units of a lower depth. If the split information of the current depth d is 0, partition type information, prediction mode, and transform unit size information are defined for the coded depth because the depth in which the current coding unit is no longer divided into the lower coding units is a coded depth. Can be. If it is to be further split by the split information, encoding should be performed independently for each coding unit of the divided four lower depths.
- the prediction mode may be represented by one of an intra mode, an inter mode, and a skip mode.
- Intra mode and inter mode can be defined in all partition types, and skip mode can be defined only in partition type 2Nx2N.
- the partition type information indicates the symmetric partition types 2Nx2N, 2NxN, Nx2N and NxN, in which the height or width of the prediction unit is divided by the symmetrical ratio, and the asymmetric partition types 2NxnU, 2NxnD, nLx2N, nRx2N, which are divided by the asymmetrical ratio.
- the asymmetric partition types 2NxnU and 2NxnD are divided into heights 1: 3 and 3: 1, respectively, and the asymmetric partition types nLx2N and nRx2N are divided into 1: 3 and 3: 1 widths, respectively.
- the conversion unit size may be set to two kinds of sizes in the intra mode and two kinds of sizes in the inter mode. That is, if the transformation unit split information is 0, the size of the transformation unit is set to the size 2Nx2N of the current coding unit. If the transform unit split information is 1, a transform unit having a size obtained by dividing the current coding unit may be set. In addition, if the partition type for the current coding unit having a size of 2Nx2N is a symmetric partition type, the size of the transform unit may be set to NxN, and if the asymmetric partition type is N / 2xN / 2.
- Encoding information of coding units having a tree structure may be allocated to at least one of a coding unit, a prediction unit, and a minimum unit unit of a coding depth.
- the coding unit of the coding depth may include at least one prediction unit and at least one minimum unit having the same encoding information.
- the encoding information held by each adjacent data unit is checked, it may be determined whether the adjacent data units are included in the coding unit having the same coding depth.
- the coding unit of the corresponding coding depth may be identified by using the encoding information held by the data unit, the distribution of the coded depths within the maximum coding unit may be inferred.
- the encoding information of the data unit in the depth-specific coding unit adjacent to the current coding unit may be directly referred to and used.
- the prediction coding when the prediction coding is performed by referring to the neighboring coding unit, the data adjacent to the current coding unit in the coding unit according to depths is encoded by using the encoding information of the adjacent coding units according to depths.
- the neighboring coding unit may be referred to by searching.
- FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1.
- FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1.
- the maximum coding unit 2500 includes coding units 2502, 2504, 2506, 2512, 2514, 2516, and 2518 of a coding depth. Since one coding unit 2518 is a coding unit of a coded depth, split information may be set to zero.
- the partition type information of the coding unit 2518 of size 2Nx2N is partition type 2Nx2N (2522), 2NxN (2524), Nx2N (2526), NxN (2528), 2NxnU (2532), 2NxnD (2534), nLx2N (2536). And nRx2N 2538.
- the transform unit split information (TU size flag) is a type of transform index, and a size of a transform unit corresponding to the transform index may be changed according to a prediction unit type or a partition type of a coding unit.
- the partition type information is set to one of the symmetric partition types 2Nx2N (2522), 2NxN (2524), Nx2N (2526), and NxN (2528)
- the conversion unit partition information is 0, the conversion unit of size 2Nx2N ( 2542 is set, and if the transform unit split information is 1, a transform unit 2544 of size N ⁇ N may be set.
- the partition type information is set to one of the asymmetric partition types 2NxnU (2532), 2NxnD (2534), nLx2N (2536), and nRx2N (2538)
- the conversion unit partition information (TU size flag) is 0, the conversion unit of size 2Nx2N ( 2552 is set, and if the transform unit split information is 1, a transform unit 2554 of size N / 2 ⁇ N / 2 may be set.
- the conversion unit splitting information (TU size flag) described above with reference to FIG. 19 is a flag having a value of 0 or 1, but the conversion unit splitting information according to an embodiment is not limited to a 1-bit flag and is set to 0 according to a setting. , 1, 2, 3., etc., and may be divided hierarchically.
- the transformation unit partition information may be used as an embodiment of the transformation index.
- the size of the transformation unit actually used may be expressed.
- the video encoding apparatus 100 may encode maximum transform unit size information, minimum transform unit size information, and maximum transform unit split information.
- the encoded maximum transform unit size information, minimum transform unit size information, and maximum transform unit split information may be inserted into the SPS.
- the video decoding apparatus 1550 according to an embodiment may be used for video decoding by using maximum transform unit size information, minimum transform unit size information, and maximum transform unit split information.
- the maximum transform unit split information is defined as 'MaxTransformSizeIndex'
- the minimum transform unit size is 'MinTransformSize'
- the transform unit split information is 0,
- the minimum transform unit possible in the current coding unit is defined as 'RootTuSize'.
- the size 'CurrMinTuSize' can be defined as in relation (1) below.
- 'RootTuSize' which is a transform unit size when the transform unit split information is 0, may indicate a maximum transform unit size that can be adopted in the system. That is, according to relation (1), 'RootTuSize / (2 ⁇ MaxTransformSizeIndex)' is a transformation obtained by dividing 'RootTuSize', which is the size of the transformation unit when the transformation unit division information is 0, by the number of times corresponding to the maximum transformation unit division information. Since the unit size is 'MinTransformSize' is the minimum transform unit size, a smaller value among them may be the minimum transform unit size 'CurrMinTuSize' possible in the current coding unit.
- the maximum transform unit size RootTuSize may vary depending on a prediction mode.
- RootTuSize may be determined according to the following relation (2).
- 'MaxTransformSize' represents the maximum transform unit size
- 'PUSize' represents the current prediction unit size.
- RootTuSize min (MaxTransformSize, PUSize) ......... (2)
- 'RootTuSize' which is a transform unit size when the transform unit split information is 0, may be set to a smaller value among the maximum transform unit size and the current prediction unit size.
- 'RootTuSize' may be determined according to Equation (3) below.
- 'PartitionSize' represents the size of the current partition unit.
- RootTuSize min (MaxTransformSize, PartitionSize) ........... (3)
- the conversion unit size 'RootTuSize' when the conversion unit split information is 0 may be set to a smaller value among the maximum conversion unit size and the current partition unit size.
- the current maximum conversion unit size 'RootTuSize' according to an embodiment that changes according to the prediction mode of the partition unit is only an embodiment, and a factor determining the current maximum conversion unit size is not limited thereto.
- image data of the spatial domain is encoded for each coding unit of the tree structure, and the video decoding method based on the coding units of the tree structure.
- decoding is performed for each largest coding unit, and image data of a spatial region may be reconstructed to reconstruct a picture and a video that is a picture sequence.
- the reconstructed video can be played back by a playback device, stored in a storage medium, or transmitted over a network.
- the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium.
- the computer-readable recording medium may include a storage medium such as a magnetic storage medium (eg, a ROM, a floppy disk, a hard disk, etc.) and an optical reading medium (eg, a CD-ROM, a DVD, etc.).
- the scalable video encoding method and / or video encoding method described above with reference to FIGS. 12A to 25 are collectively referred to as a video encoding method of the present invention.
- the scalable video decoding method and / or video decoding method described above with reference to FIGS. 12A to 25 are referred to as a video decoding method of the present invention.
- a video encoding apparatus including the scalable video decoding apparatus 1200, the video encoding apparatus 1500, or the image encoding unit 1700 described above with reference to FIGS. 12A through 25 may be referred to as a video encoding apparatus of the present invention.
- the video decoding apparatus including the scalable video decoding apparatus 1250, the video decoding apparatus 1550, or the image decoding unit 1750 described above with reference to FIGS. 11A through 24 may be referred to as the video decoding apparatus of the present invention.
- a computer-readable storage medium in which a program is stored according to an embodiment of the present invention will be described in detail below.
- the disk 26 illustrates a physical structure of a disk 26000 in which a program is stored, according to various embodiments.
- the disk 26000 described above as a storage medium may be a hard drive, a CD-ROM disk, a Blu-ray disk, or a DVD disk.
- the disk 26000 is composed of a plurality of concentric tracks tr, and the tracks are divided into a predetermined number of sectors Se in the circumferential direction.
- a program for implementing the above-described quantization parameter determination method, video encoding method, and video decoding method may be allocated and stored in a specific region of the disc 26000 which stores the program according to the above-described embodiment.
- a computer system achieved using a storage medium storing a program for implementing the above-described video encoding method and video decoding method will be described below with reference to FIG. 21.
- the computer system 26700 may store a program for implementing at least one of the video encoding method and the video decoding method of the present invention on the disc 26000 using the disc drive 26800.
- the program may be read from the disk 26000 by the disk drive 26800, and the program may be transferred to the computer system 26700.
- a program for implementing at least one of the video encoding method and the video decoding method may be stored in a memory card, a ROM cassette, and a solid state drive (SSD). .
- FIG. 28 illustrates the overall structure of a content supply system 11000 for providing a content distribution service.
- the service area of the communication system is divided into cells of a predetermined size, and wireless base stations 11700, 11800, 11900, and 12000 that serve as base stations are installed in each cell.
- the content supply system 11000 includes a plurality of independent devices.
- independent devices such as a computer 12100, a personal digital assistant (PDA) 12200, a camera 12300, and a mobile phone 12500 may be an Internet service provider 11200, a communication network 11400, and a wireless base station. 11700, 11800, 11900, and 12000 to connect to the Internet 11100.
- PDA personal digital assistant
- the content supply system 11000 is not limited to the structure shown in FIG. 23, and devices may be selectively connected.
- the independent devices may be directly connected to the communication network 11400 without passing through the wireless base stations 11700, 11800, 11900, and 12000.
- the video camera 12300 is an imaging device capable of capturing video images like a digital video camera.
- the mobile phone 12500 is such as Personal Digital Communications (PDC), code division multiple access (CDMA), wideband code division multiple access (W-CDMA), Global System for Mobile Communications (GSM), and Personal Handyphone System (PHS). At least one communication scheme among various protocols may be adopted.
- PDC Personal Digital Communications
- CDMA code division multiple access
- W-CDMA wideband code division multiple access
- GSM Global System for Mobile Communications
- PHS Personal Handyphone System
- the video camera 12300 may be connected to the streaming server 11300 through the wireless base station 11900 and the communication network 11400.
- the streaming server 11300 may stream and transmit the content transmitted by the user using the video camera 12300 through real time broadcasting.
- Content received from the video camera 12300 may be encoded by the video camera 12300 or the streaming server 11300.
- Video data captured by the video camera 12300 may be transmitted to the streaming server 11300 via the computer 12100.
- Video data captured by the camera 12600 may also be transmitted to the streaming server 11300 via the computer 12100.
- the camera 12600 is an imaging device capable of capturing both still and video images, like a digital camera.
- Video data received from the camera 12600 may be encoded by the camera 12600 or the computer 12100.
- Software for video encoding and decoding may be stored in a computer readable recording medium such as a CD-ROM disk, a floppy disk, a hard disk drive, an SSD, or a memory card that the computer 12100 may access.
- video data may be received from the mobile phone 12500.
- the video data may be encoded by a large scale integrated circuit (LSI) system installed in the video camera 12300, the mobile phone 12500, or the camera 12600.
- LSI large scale integrated circuit
- a user is recorded using a video camera 12300, a camera 12600, a mobile phone 12500, or another imaging device.
- the content is encoded and sent to the streaming server 11300.
- the streaming server 11300 may stream and transmit content data to other clients who have requested the content data.
- the clients are devices capable of decoding the encoded content data, and may be, for example, a computer 12100, a PDA 12200, a video camera 12300, or a mobile phone 12500.
- the content supply system 11000 allows clients to receive and play encoded content data.
- the content supply system 11000 enables clients to receive and decode and reproduce encoded content data in real time, thereby enabling personal broadcasting.
- the video encoding apparatus and the video decoding apparatus of the present invention may be applied to encoding and decoding operations of independent devices included in the content supply system 11000.
- the mobile phone 12500 is not limited in functionality and may be a smart phone that can change or expand a substantial portion of its functions through an application program.
- the mobile phone 12500 includes a built-in antenna 12510 for exchanging RF signals with the wireless base station 12000, and displays images captured by the camera 1530 or images received and decoded by the antenna 12510. And a display screen 12520 such as an LCD (Liquid Crystal Display) and an OLED (Organic Light Emitting Diodes) screen for displaying.
- the smartphone 12510 includes an operation panel 12540 including a control button and a touch panel. When the display screen 12520 is a touch screen, the operation panel 12540 further includes a touch sensing panel of the display screen 12520.
- the smart phone 12510 includes a speaker 12580 or another type of audio output unit for outputting voice and sound, and a microphone 12550 or another type of audio input unit for inputting voice and sound.
- the smartphone 12510 further includes a camera 1530 such as a CCD camera for capturing video and still images.
- the smartphone 12510 may be a storage medium for storing encoded or decoded data, such as video or still images captured by the camera 1530, received by an e-mail, or obtained in another form. 12570); And a slot 12560 for mounting the storage medium 12570 to the mobile phone 12500.
- the storage medium 12570 may be another type of flash memory such as an electrically erasable and programmable read only memory (EEPROM) embedded in an SD card or a plastic case.
- EEPROM electrically erasable and programmable read only memory
- FIG. 30 illustrates an internal structure of the mobile phone 12500.
- the power supply circuit 12700 the operation input controller 12640, the image encoder 12720, and the camera interface (12630), LCD control unit (12620), image decoding unit (12690), multiplexer / demultiplexer (12680), recording / reading unit (12670), modulation / demodulation unit (12660) and
- the sound processor 12650 is connected to the central controller 12710 through the synchronization bus 1730.
- the power supply circuit 12700 supplies power to each part of the mobile phone 12500 from the battery pack, thereby causing the mobile phone 12500 to operate. Can be set to an operating mode.
- the central controller 12710 includes a CPU, a read only memory (ROM), and a random access memory (RAM).
- the digital signal is generated in the mobile phone 12500 under the control of the central controller 12710, for example, the digital sound signal is generated in the sound processor 12650.
- the image encoder 12720 may generate a digital image signal, and text data of the message may be generated through the operation panel 12540 and the operation input controller 12640.
- the modulator / demodulator 12660 modulates a frequency band of the digital signal, and the communication circuit 12610 is a band-modulated digital signal. Digital-to-analog conversion and frequency conversion are performed on the acoustic signal.
- the transmission signal output from the communication circuit 12610 may be transmitted to the voice communication base station or the radio base station 12000 through the antenna 12510.
- the sound signal acquired by the microphone 12550 is converted into a digital sound signal by the sound processor 12650 under the control of the central controller 12710.
- the generated digital sound signal may be converted into a transmission signal through the modulation / demodulation unit 12660 and the communication circuit 12610 and transmitted through the antenna 12510.
- the text data of the message is input using the operation panel 12540, and the text data is transmitted to the central controller 12610 through the operation input controller 12640.
- the text data is converted into a transmission signal through the modulator / demodulator 12660 and the communication circuit 12610, and transmitted to the radio base station 12000 through the antenna 12510.
- the image data photographed by the camera 1530 is provided to the image encoder 12720 through the camera interface 12630.
- the image data photographed by the camera 1252 may be directly displayed on the display screen 12520 through the camera interface 12630 and the LCD controller 12620.
- the structure of the image encoder 12720 may correspond to the structure of the video encoding apparatus as described above.
- the image encoder 12720 encodes the image data provided from the camera 1252 according to the video encoding method of the present invention described above, converts the image data into compression-encoded image data, and multiplexes / demultiplexes the encoded image data. (12680).
- the sound signal obtained by the microphone 12550 of the mobile phone 12500 is also converted into digital sound data through the sound processor 12650 during recording of the camera 1250, and the digital sound data is converted into the multiplex / demultiplexer 12680. Can be delivered.
- the multiplexer / demultiplexer 12680 multiplexes the encoded image data provided from the image encoder 12720 together with the acoustic data provided from the sound processor 12650.
- the multiplexed data may be converted into a transmission signal through the modulation / demodulation unit 12660 and the communication circuit 12610 and transmitted through the antenna 12510.
- the signal received through the antenna converts the digital signal through a frequency recovery (Analog-Digital conversion) process .
- the modulator / demodulator 12660 demodulates the frequency band of the digital signal.
- the band demodulated digital signal is transmitted to the video decoder 12690, the sound processor 12650, or the LCD controller 12620 according to the type.
- the mobile phone 12500 When the mobile phone 12500 is in the call mode, the mobile phone 12500 amplifies a signal received through the antenna 12510 and generates a digital sound signal through frequency conversion and analog-to-digital conversion processing.
- the received digital sound signal is converted into an analog sound signal through the modulator / demodulator 12660 and the sound processor 12650 under the control of the central controller 12710, and the analog sound signal is output through the speaker 12580. .
- a signal received from the radio base station 12000 via the antenna 12510 is converted into multiplexed data as a result of the processing of the modulator / demodulator 12660.
- the output and multiplexed data is transmitted to the multiplexer / demultiplexer 12680.
- the multiplexer / demultiplexer 12680 demultiplexes the multiplexed data to separate the encoded video data stream and the encoded audio data stream.
- the encoded video data stream is provided to the video decoder 12690, and the encoded audio data stream is provided to the sound processor 12650.
- the structure of the image decoder 12690 may correspond to the structure of the video decoding apparatus as described above.
- the image decoder 12690 generates the reconstructed video data by decoding the encoded video data by using the video decoding method of the present invention described above, and displays the reconstructed video data through the LCD controller 1262 through the display screen 1252. ) Can be restored video data.
- video data of a video file accessed from a website of the Internet can be displayed on the display screen 1252.
- the sound processor 1265 may convert the audio data into an analog sound signal and provide the analog sound signal to the speaker 1258. Accordingly, audio data contained in a video file accessed from a website of the Internet can also be reproduced in the speaker 1258.
- the mobile phone 1150 or another type of communication terminal is a transmitting / receiving terminal including both the video encoding apparatus and the video decoding apparatus of the present invention, a transmitting terminal including only the video encoding apparatus of the present invention described above, or the video decoding apparatus of the present invention. It may be a receiving terminal including only.
- FIG. 31 illustrates a digital broadcasting system employing a communication system, according to various embodiments.
- the digital broadcasting system according to the embodiment of FIG. 31 may receive digital broadcasting transmitted through a satellite or terrestrial network using the video encoding apparatus and the video decoding apparatus.
- the broadcast station 12890 transmits the video data stream to the communication satellite or the broadcast satellite 12900 through radio waves.
- the broadcast satellite 12900 transmits a broadcast signal, and the broadcast signal is received by the antenna 12860 in the home to the satellite broadcast receiver.
- the encoded video stream may be decoded and played back by the TV receiver 12610, set-top box 12870, or other device.
- the playback device 12230 can read and decode the encoded video stream recorded on the storage medium 12020 such as a disk and a memory card.
- the reconstructed video signal may thus be reproduced in the monitor 12840, for example.
- the video decoding apparatus of the present invention may also be mounted in the set-top box 12870 connected to the antenna 12860 for satellite / terrestrial broadcasting or the cable antenna 12850 for cable TV reception. Output data of the set-top box 12870 may also be reproduced by the TV monitor 12880.
- the video decoding apparatus of the present invention may be mounted on the TV receiver 12810 instead of the set top box 12870.
- An automobile 12920 with an appropriate antenna 12910 may receive signals from satellite 12800 or radio base station 11700.
- the decoded video may be played on the display screen of the car navigation system 12930 mounted on the car 12920.
- the video signal may be encoded by the video encoding apparatus of the present invention and recorded and stored in a storage medium.
- the video signal may be stored in the DVD disk 12960 by the DVD recorder, or the video signal may be stored in the hard disk by the hard disk recorder 12950.
- the video signal may be stored in the SD card 12970. If the hard disk recorder 12950 includes the video decoding apparatus of the present invention according to an embodiment, the video signal recorded on the DVD disk 12960, the SD card 12970, or another type of storage medium is output from the monitor 12880. Can be recycled.
- the vehicle navigation system 12930 may not include the camera 1530, the camera interface 12630, and the image encoder 12720 of FIG. 30.
- the computer 12100 and the TV receiver 12610 may not include the camera 1250, the camera interface 12630, and the image encoder 12720 of FIG. 30.
- FIG. 32 is a diagram illustrating a network structure of a cloud computing system using a video encoding apparatus and a video decoding apparatus, according to various embodiments.
- the cloud computing system of the present invention may include a cloud computing server 14100, a user DB 14100, a computing resource 14200, and a user terminal.
- the cloud computing system provides an on demand outsourcing service of computing resources through an information communication network such as the Internet at the request of a user terminal.
- service providers integrate the computing resources of data centers located in different physical locations into virtualization technology to provide users with the services they need.
- the service user does not install and use computing resources such as application, storage, operating system, and security in each user's own terminal, but services in virtual space created through virtualization technology. You can choose as many times as you want.
- a user terminal of a specific service user accesses the cloud computing server 14100 through an information communication network including the Internet and a mobile communication network.
- the user terminals may be provided with a cloud computing service, particularly a video playback service, from the cloud computing server 14100.
- the user terminal may be any electronic device capable of accessing the Internet, such as a desktop PC 14300, a smart TV 14400, a smartphone 14500, a notebook 14600, a portable multimedia player (PMP) 14700, a tablet PC 14800, and the like. It can be a device.
- the cloud computing server 14100 may integrate and provide a plurality of computing resources 14200 distributed in a cloud network to a user terminal.
- the plurality of computing resources 14200 include various data services and may include data uploaded from a user terminal.
- the cloud computing server 14100 integrates a video database distributed in various places into a virtualization technology to provide a service required by a user terminal.
- the user DB 14100 stores user information subscribed to a cloud computing service.
- the user information may include login information and personal credit information such as an address and a name.
- the user information may include an index of the video.
- the index may include a list of videos that have been played, a list of videos being played, and a stop time of the videos being played.
- Information about a video stored in the user DB 14100 may be shared among user devices.
- the playback history of the predetermined video service is stored in the user DB 14100.
- the cloud computing server 14100 searches for and plays a predetermined video service with reference to the user DB 14100.
- the smartphone 14500 receives the video data stream through the cloud computing server 14100, the operation of decoding the video data stream and playing the video may be performed by the operation of the mobile phone 12500 described above with reference to FIG. 24. similar.
- the cloud computing server 14100 may refer to a playback history of a predetermined video service stored in the user DB 14100. For example, the cloud computing server 14100 receives a playback request for a video stored in the user DB 14100 from a user terminal. If the video was being played before, the cloud computing server 14100 may have a streaming method different depending on whether the video is played from the beginning or from the previous stop point according to the user terminal selection. For example, when the user terminal requests to play from the beginning, the cloud computing server 14100 streams the video to the user terminal from the first frame. On the other hand, if the terminal requests to continue playing from the previous stop point, the cloud computing server 14100 streams the video to the user terminal from the frame at the stop point.
- the user terminal may include the video decoding apparatus as described above with reference to FIGS. 12A to 25.
- the user terminal may include the video encoding apparatus as described above with reference to FIGS. 12A to 25.
- the user terminal may include both the video encoding apparatus and the video decoding apparatus as described above with reference to FIGS. 12A through 25.
- FIGS. 21 through 27 various embodiments in which the video encoding method and the video decoding method described above with reference to FIGS. 12A to 25 are stored in a storage medium or the video encoding apparatus and the video decoding apparatus are implemented in the device are illustrated in FIGS. It is not limited to.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
| 분할 정보 0 (현재 심도 d의 크기 2Nx2N의 부호화 단위에 대한 부호화) | 분할 정보 1 | ||||
| 예측 모드 | 파티션 타입 | 변환 단위 크기 | 하위 심도 d+1의 부호화 단위들마다 반복적 부호화 | ||
| 인트라인터스킵(2Nx2N만) | 대칭형 파티션 타입 | 비대칭형 파티션 타입 | 변환 단위 분할 정보 0 | 변환 단위 분할 정보 1 | |
| 2Nx2N2NxNNx2NNxN | 2NxnU2NxnDnLx2NnRx2N | 2Nx2N | NxN(대칭형 파티션 타입)N/2xN/2(비대칭 파티션 타입) | ||
Claims (15)
- 스케일러블 비디오 부호화 방법에 있어서,향상 레이어 영상의 인터 레이어 예측을 위해, 기본 레이어 영상들 중 상기 향상 레이어 영상에 대응되는 참조 레이어 영상을 결정하는 단계;상기 향상 레이어 영상들과 상기 참조 레이어 영상 간의 배율 및 상기 향상 레이어의 컬러 포맷 에 따라 상기 향상 레이어 영상과 상기 참조 레이어 영상의 픽셀 간 위상(phase)차를 결정하는 단계;위상차별로 대응하는 필터계수 세트들을 포함하는 필터계수 데이터 중에서, 상기 결정된 위상차에 대응하는 적어도 하나의 필터 계수 세트를 선택하는 단계;상기 선택된 필터 계수 세트를 이용하여, 상기 참조 레이어 영상에 보간 필터링을 수행함으로써 상기 참조 레이어 영상의 해상도를 상기 배율로 확대시킨 업샘플링된 참조 레이어 영상을 생성하는 단계;상기 업샘플링된 참조 레이어 영상과 상기 향상 레이어 영상 간의 예측 오차를 획득하는 단계;상기 예측 오차 및 상기 보간 필터링을 수행하는 스케일러블 코덱을 포함하는 향상 레이어 비트스트림을 생성하는 단계; 및상기 기본 레이어 영상들을 부호화하여 기본 레이어 비트스트림을 생성하는 단계를 포함하는 비디오 부호화 방법.
- 제1항에 있어서,상기 업샘플링된 참조 레이어 영상을 생성하는 단계는 상기 업샘플링된 참조 레이어 영상이 상기 향상 레이어 영상들의 비트 뎁스에 대응되도록 상기 참조 레이어 영상의 비트 뎁스를 변환하는 단계를 포함하는 비디오 부호화 방법.
- 제1항에 있어서,상기 픽셀 간 위상(phase)차를 결정하는 단계는상기 배율에 따라 상기 참조 레이어 영상의 루마 픽셀과 상기 향상 레이어 영상의 루마 픽셀 간 위상차를 결정하는 단계; 및상기 배율 및 상기 향상 레이어의 컬러 포맷에 따라 상기 참조 레이어 영상의 크로마 픽셀과 상기 향상 레이어 영상의 크로마 픽셀 간 위상차를 결정하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법.
- 제3항에 있어서,상기 크로마 픽셀 간 위상차를 결정하는 단계는상기 배율과 상기 향상 레이어의 컬러 포맷에 따라 크로마 픽셀 배율을 결정하는 단계; 및상기 크로마 픽셀 배율에 따라 상기 참조 레이어 영상의 크로마 픽셀과 상기 향상 레이어 영상의 크로마 픽셀 간 위상차를 결정하는 단계를 포함하는 것을 특징으로 하는 비디오 부호화 방법.
- 제1항에 있어서,상기 비디오 부호화 방법은, 상기 참조 레이어 영상 중에서 보간 필터링에 이용하는 샘플들의 위치를 결정하는 단계를 더 포함하는 비디오 부호화 방법.
- 스케일러블 비디오 복호화 방법에 있어서,부호화된 기본 레이어 영상들이 포함된 기본 레이어 비트스트림을 복호화하여 획득한 상기 기본 레이어 영상들 중 향상 레이어 영상과 대응되는 참조 레이어 영상을 결정하는 단계;상기 향상 레이어 영상들과 상기 참조 레이어 영상 간의 배율 및 상기 향상 레이어의 컬러 포맷에 기초하여 보간 필터링을 수행하는 스케일러블 코덱과 상기 향상 레이어 영상의 인터 레이어 예측을 위한 예측 오차가 포함된 향상 레이어 비트스트림을 복호화하여 상기 예측 오차 및 상기 스케일러블 코덱을 획득하는 단계;상기 배율 및 상기 향상 레이어의 컬러 포맷에 기초하여 상기 향상 레이어 영상과 상기 참조 레이어 영상의 픽셀 간 위상차를 결정하는 단계;위상차별로 대응하는 필터계수 세트들을 포함하는 필터계수 데이터 중에서, 상기 결정된 위상차에 대응하는 적어도 하나의 필터 계수 세트를 선택하는 단계;상기 스케일러블 코덱을 이용하여, 상기 선택된 필터 계수 세트에 따라 상기 참조 레이어 영상에 상기 보간 필터링을 수행함으로써 상기 참조 레이어 영상의 해상도를 상기 배율로 확대시킨 업샘플링된 참조 레이어 영상을 생성하는 단계;상기 예측 오차와 상기 업샘플링된 참조 레이어 영상을 이용하여 상기 향상 레이어 영상을 복원하는 단계를 포함하는 비디오 복호화 방법.
- 제6항에 있어서,상기 업샘플링된 참조 레이어 영상을 생성하는 단계는 상기 업샘플링된 참조 레이어 영상이 상기 향상 레이어 영상들의 비트 뎁스에 대응되도록 상기 참조 레이어 영상의 비트 뎁스를 변환하는 단계를 더 포함하는 비디오 복호화 방법.
- 제6항에 있어서,상기 픽셀 간 위상차를 결정하는 단계는상기 배율에 따라 상기 참조 레이어 영상의 루마 픽셀과 상기 향상 레이어 영상의 루마 픽셀 간 위상차를 결정하는 단계; 및상기 배율 및 상기 향상 레이어의 컬러 포맷에 따라 상기 참조 레이어 영상의 크로마 픽셀과 상기 향상 레이어 영상의 크로마 픽셀 간 위상차를 결정하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.
- 제8항에 있어서,상기 크로마 픽셀 간 위상차를 결정하는 단계는상기 배율과 상기 향상 레이어의 컬러 포맷에 따라 크로마 픽셀 배율을 결정하는 단계; 및상기 크로마 픽셀 배율에 따라 상기 참조 레이어 영상의 크로마 픽셀과 상기 향상 레이어 영상의 크로마 픽셀 간 위상차를 결정하는 단계를 포함하는 것을 특징으로 하는 비디오 복호화 방법.
- 제8항에 있어서,상기 컬러 포맷을 변환하는 단계는 상기 참조 레이어 영상의 컬러 포맷을 루마 픽셀과 두 크로마 픽셀의 비가 4:2:2 또는 4:4:4가 되도록 변환하는 것을 특징으로 하는 비디오 복호화 방법.
- 제6항에 있어서,상기 비디오 복호화 방법은, 상기 참조 레이어 영상 중에서 보간 필터링에 이용하는 샘플들의 위치를 결정하는 단계를 더 포함하는 비디오 복호화 방법.
- 스케일러블 비디오 부호화 장치에 있어서,위상차별로 대응하는 필터 계수 세트들이 저장된 필터데이터 저장부;기본 레이어 중에서 선택된 참조 레이어 영상과 상기 참조 레이어 영상에 대응되는 향상 레이어 영상의 배율 및 상기 향상 레이어의 컬러 포맷에 기초하여, 상기 참조 레이어 영상의 픽셀과 상기 향상 레이어 영상의 픽셀 간의 위상차를 결정하고, 상기 필터 계수 데이터 중에서 상기 결정된 위상차에 대응하는 필터 계수 세트를 선택하는 필터 선택부;상기 선택된 필터 계수 세트를 이용하여 상기 참조 레이어 영상에 보간 필터링을 수행하는 업샘플링부;상기 업샘플링된 참조 레이어 영상과 상기 향상 레이어 영상 간의 예측 오차를 획득하는 예측 오차 획득부;상기 기본 레이어 영상에 대해 부호화를 수행하여 기본 레이어 비트스트림을 생성하는 기본 레이어 부호화부;상기 예측 오차 및 상기 보간 필터링을 수행하는 스케일러블 코덱을 포함하는 향상 레이어 비트스트림을 생성하는 향상 레이어 부호화부를 포함하는 비디오 부호화 장치.
- 스케일러블 비디오 복호화 장치에 있어서,위상차별로 대응하는 필터 계수 세트들이 저장된 필터데이터 저장부;향상 레이어 비트스트림으로부터, 업샘플링된 참조 레이어 영상과 향상 레이어 영상 간의 예측 오차 및 상기 향상 레이어 영상과 참조 레이어 영상 간의 배율 및 상기 향상 레이어의 컬러 포맷에 기초하여 보간 필터링을 수행하는 스케일러블 코덱을 획득하는 향상 레이어 비트스트림 복호화부;기본 레이어 비트스트림으로부터, 기본 레이어 영상을 생성하는 기본 레이어 비트스트림 복호화부;상기 필터데이터 저장부에 저장된 필터 계수 세트들 중에서, 상기 스케일러블 코덱으로부터 결정되는 위상차에 대응하는 필터 계수 세트를 선택하는 필터 선택부;상기 선택된 필터 계수 세트에 따라 상기 참조 레이어 영상에 상기 보간 필터링을 수행하여 상기 업샘플링된 참조 레이어 영상을 획득하는 업샘플링부;상기 예측 오차와 상기 업샘플링된 참조 레이어 영상을 이용하여, 향상 레이어 영상을 획득하는 향상 레이어 획득부를 포함하는 비디오 복호화 방법.
- 제1항의 비디오 부호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.
- 제8항의 비디오 복호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020157003378A KR101712108B1 (ko) | 2013-07-16 | 2014-07-16 | 비트 뎁스 및 컬러 포맷의 변환을 동반하는 업샘플링 필터를 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 |
| US14/905,525 US10171821B2 (en) | 2013-07-16 | 2014-07-16 | Scalable video encoding method and apparatus and scalable video decoding method and apparatus using up-sampling filter accompanied by conversion of bit depth and color format |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201361846701P | 2013-07-16 | 2013-07-16 | |
| US61/846,701 | 2013-07-16 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015009068A1 true WO2015009068A1 (ko) | 2015-01-22 |
Family
ID=52346446
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2014/006466 Ceased WO2015009068A1 (ko) | 2013-07-16 | 2014-07-16 | 비트 뎁스 및 컬러 포맷의 변환을 동반하는 업샘플링 필터를 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US10171821B2 (ko) |
| KR (1) | KR101712108B1 (ko) |
| WO (1) | WO2015009068A1 (ko) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017135151A1 (ja) * | 2016-02-01 | 2017-08-10 | シャープ株式会社 | 予測画像生成装置、動画像復号装置、および動画像符号化装置 |
| CN111652818A (zh) * | 2020-05-29 | 2020-09-11 | 浙江大华技术股份有限公司 | 一种基于金字塔的图像滤波方法、装置及存储介质 |
| CN113170218A (zh) * | 2018-10-09 | 2021-07-23 | V-诺瓦国际有限公司 | 具有多级增强和可调编码格式的视频信号增强解码器 |
| US11109051B2 (en) | 2016-04-15 | 2021-08-31 | Magic Pony Technology Limited | Motion compensation using temporal picture interpolation |
Families Citing this family (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20150026927A (ko) * | 2013-09-03 | 2015-03-11 | 주식회사 케이티 | 스케일러블 비디오 신호 인코딩/디코딩 방법 및 장치 |
| EP3057327A4 (en) * | 2013-10-08 | 2017-05-17 | Sharp Kabushiki Kaisha | Image decoder, image encoder, and encoded data converter |
| CN105659597B (zh) | 2013-10-22 | 2020-01-07 | 株式会社Kt | 用于对多层视频信号进行编码/解码的方法和装置 |
| JP6791952B2 (ja) | 2015-09-08 | 2020-11-25 | エルジー エレクトロニクス インコーポレイティド | 映像の符号化/復号化方法及びそのための装置 |
| KR20180048713A (ko) * | 2015-09-23 | 2018-05-10 | 엘지전자 주식회사 | 영상의 부호화/복호화 방법 및 이를 위한 장치 |
| US20180359468A1 (en) * | 2015-10-01 | 2018-12-13 | Lg Electronics Inc. | Image processing method on basis of inter prediction mode and apparatus therefor |
| MX2019000506A (es) | 2016-07-14 | 2019-03-28 | Samsung Electronics Co Ltd | Metodo de decodificacion de video y dispositivo para ello y metodo de codificacion de video y dispositivo para ello. |
| KR102733930B1 (ko) | 2016-11-25 | 2024-11-26 | 삼성전자주식회사 | 영상 처리 장치 및 그 영상 처리 방법 |
| KR102717018B1 (ko) | 2017-02-06 | 2024-10-15 | 삼성전자주식회사 | 다면체에 기반한 vr 이미지를 제공하는 전자 장치 및 그 이미지의 제공 방법 |
| KR102442089B1 (ko) | 2017-12-20 | 2022-09-13 | 삼성전자주식회사 | 이미지의 관심 영역의 위치에 따라 이미지를 다면체에 매핑하는 장치 및 그 영상 처리 방법 |
| WO2020192180A1 (zh) * | 2019-03-25 | 2020-10-01 | Oppo广东移动通信有限公司 | 图像分量的预测方法、编码器、解码器及计算机存储介质 |
| WO2021061322A1 (en) | 2019-09-24 | 2021-04-01 | Alibaba Group Holding Limited | Motion compensation methods for video coding |
| CN110662071B (zh) * | 2019-09-27 | 2023-10-24 | 腾讯科技(深圳)有限公司 | 视频解码方法和装置、存储介质及电子装置 |
| US12041248B2 (en) | 2021-08-02 | 2024-07-16 | Mediatek Singapore Pte. Ltd. | Color component processing in down-sample video coding |
| WO2024011370A1 (zh) * | 2022-07-11 | 2024-01-18 | Oppo广东移动通信有限公司 | 视频图像处理方法及装置、编解码器、码流、存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20070012201A (ko) * | 2005-07-21 | 2007-01-25 | 엘지전자 주식회사 | 영상 신호의 인코딩 및 디코딩 방법 |
| KR20090003174A (ko) * | 2006-01-11 | 2009-01-09 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 스케일러블 비디오 코딩에서 보간을 수행하는 방법 및 장치 |
| KR20110031952A (ko) * | 2008-06-19 | 2011-03-29 | 톰슨 라이센싱 | 프레임의 하나 이상의 픽셀을 보간하기 위한 필터를 결정하는 방법 |
| US20120213296A1 (en) * | 2005-03-18 | 2012-08-23 | Shijun Sun | Methods and Systems for Picture Up-sampling |
| KR20120118779A (ko) * | 2011-04-19 | 2012-10-29 | 삼성전자주식회사 | 전처리 필터링을 수반한 계층 간 예측을 수행하는 비디오 부호화 방법 및 그 장치, 후처리 필터링을 수반한 계층 간 예측을 수행하는 비디오 복호화 방법 및 그 장치 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20060105409A (ko) * | 2005-04-01 | 2006-10-11 | 엘지전자 주식회사 | 영상 신호의 스케일러블 인코딩 및 디코딩 방법 |
| RU2387094C1 (ru) * | 2006-11-09 | 2010-04-20 | ЭлДжи ЭЛЕКТРОНИКС ИНК. | Способ и устройство для кодирования/декодирования видеосигнала |
| WO2008060127A1 (en) * | 2006-11-17 | 2008-05-22 | Lg Electronics Inc. | Method and apparatus for decoding/encoding a video signal |
| JP5003620B2 (ja) * | 2008-03-11 | 2012-08-15 | 富士通株式会社 | 映像信号処理装置、及び映像信号処理方法 |
| US9420280B2 (en) * | 2012-06-08 | 2016-08-16 | Qualcomm Incorporated | Adaptive upsampling filters |
| CN110087091B (zh) * | 2012-08-06 | 2021-11-12 | Vid拓展公司 | 多层视频编码中用于空间层的采样栅格信息 |
| US9344718B2 (en) * | 2012-08-08 | 2016-05-17 | Qualcomm Incorporated | Adaptive up-sampling filter for scalable video coding |
| CN108111846B (zh) * | 2012-11-15 | 2021-11-19 | 联发科技股份有限公司 | 用于可伸缩视频编码的帧间层预测方法及装置 |
| US20140301463A1 (en) * | 2013-04-05 | 2014-10-09 | Nokia Corporation | Method and apparatus for video coding and decoding |
| CN105247865A (zh) * | 2013-04-08 | 2016-01-13 | 诺基亚技术有限公司 | 用于视频编码和解码的方法和技术设备 |
| US9503732B2 (en) * | 2013-04-10 | 2016-11-22 | Arris Enterprises, Inc. | Re-sampling with phase offset adjustment for luma and chroma to select filters in scalable video coding |
-
2014
- 2014-07-16 WO PCT/KR2014/006466 patent/WO2015009068A1/ko not_active Ceased
- 2014-07-16 US US14/905,525 patent/US10171821B2/en not_active Expired - Fee Related
- 2014-07-16 KR KR1020157003378A patent/KR101712108B1/ko not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120213296A1 (en) * | 2005-03-18 | 2012-08-23 | Shijun Sun | Methods and Systems for Picture Up-sampling |
| KR20070012201A (ko) * | 2005-07-21 | 2007-01-25 | 엘지전자 주식회사 | 영상 신호의 인코딩 및 디코딩 방법 |
| KR20090003174A (ko) * | 2006-01-11 | 2009-01-09 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 스케일러블 비디오 코딩에서 보간을 수행하는 방법 및 장치 |
| KR20110031952A (ko) * | 2008-06-19 | 2011-03-29 | 톰슨 라이센싱 | 프레임의 하나 이상의 픽셀을 보간하기 위한 필터를 결정하는 방법 |
| KR20120118779A (ko) * | 2011-04-19 | 2012-10-29 | 삼성전자주식회사 | 전처리 필터링을 수반한 계층 간 예측을 수행하는 비디오 부호화 방법 및 그 장치, 후처리 필터링을 수반한 계층 간 예측을 수행하는 비디오 복호화 방법 및 그 장치 |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017135151A1 (ja) * | 2016-02-01 | 2017-08-10 | シャープ株式会社 | 予測画像生成装置、動画像復号装置、および動画像符号化装置 |
| US11044493B2 (en) | 2016-02-01 | 2021-06-22 | Sharp Kabushiki Kaisha | Prediction image generation device, moving image decoding device, and moving image coding device |
| US11317115B2 (en) | 2016-02-01 | 2022-04-26 | Sharp Kabushiki Kaisha | Prediction image generation device, video decoding device and video coding device |
| US11722693B2 (en) | 2016-02-01 | 2023-08-08 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Prediction image generation device, moving image decoding device, and moving image coding device |
| US11729419B2 (en) | 2016-02-01 | 2023-08-15 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Prediction image generation device, moving image decoding device, and moving image coding device |
| US11770555B2 (en) | 2016-02-01 | 2023-09-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Prediction image generation device, moving image decoding device, and moving image coding device |
| US12238332B2 (en) | 2016-02-01 | 2025-02-25 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Prediction image generation device, moving image decoding device, and moving image coding device |
| US11109051B2 (en) | 2016-04-15 | 2021-08-31 | Magic Pony Technology Limited | Motion compensation using temporal picture interpolation |
| CN113170218A (zh) * | 2018-10-09 | 2021-07-23 | V-诺瓦国际有限公司 | 具有多级增强和可调编码格式的视频信号增强解码器 |
| CN113170218B (zh) * | 2018-10-09 | 2023-08-01 | V-诺瓦国际有限公司 | 具有多级增强和可调编码格式的视频信号增强解码器 |
| CN111652818A (zh) * | 2020-05-29 | 2020-09-11 | 浙江大华技术股份有限公司 | 一种基于金字塔的图像滤波方法、装置及存储介质 |
| CN111652818B (zh) * | 2020-05-29 | 2023-09-29 | 浙江大华技术股份有限公司 | 一种基于金字塔的图像滤波方法、装置及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| KR101712108B1 (ko) | 2017-03-03 |
| US10171821B2 (en) | 2019-01-01 |
| KR20150048716A (ko) | 2015-05-07 |
| US20160156912A1 (en) | 2016-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015009068A1 (ko) | 비트 뎁스 및 컬러 포맷의 변환을 동반하는 업샘플링 필터를 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 | |
| WO2014107066A1 (ko) | 위상차를 고려한 영상 업샘플링을 이용하는 스케일러블 비디오 부호화 방법 및 장치, 스케일러블 비디오 복호화 방법 및 장치 | |
| WO2014051408A1 (ko) | 인터 레이어 예측 오차를 부호화하기 위한 sao 오프셋 보상 방법 및 그 장치 | |
| WO2014030920A1 (ko) | 트리 구조의 부호화 단위에 기초한 예측 정보의 인터-레이어 비디오 부호화 방법 및 그 장치, 트리 구조의 부호화 단위에 기초한 예측 정보의 인터-레이어 비디오 복호화 방법 및 그 장치 | |
| WO2014137175A1 (ko) | 선택적인 노이즈제거 필터링을 이용한 스케일러블 비디오 부호화 방법 및 그 장치, 선택적인 노이즈제거 필터링을 이용한 스케일러블 비디오 복호화 방법 및 그 장치 | |
| WO2015002444A1 (ko) | 필터링을 수반한 비디오 부호화 및 복호화 방법 및 그 장치 | |
| WO2015005753A1 (ko) | 깊이 기반 디스패리티 벡터를 이용하는 인터 레이어 비디오 복호화 방법 및 그 장치, 깊이 기반 디스패리티 벡터를 이용하는 인터 레이어 비디오 부호화 방법 및 장치 | |
| WO2015137783A1 (ko) | 인터 레이어 비디오의 복호화 및 부호화를 위한 머지 후보 리스트 구성 방법 및 장치 | |
| WO2015137786A1 (ko) | 스케일러블 비디오 부호화/복호화 방법 및 장치 | |
| WO2016068674A1 (ko) | 움직임 벡터 부복호화 방법 및 장치 | |
| WO2013157817A1 (ko) | 트리 구조의 부호화 단위에 기초한 다시점 비디오 부호화 방법 및 그 장치, 트리 구조의 부호화 단위에 기초한 다시점 비디오 복호화 방법 및 그 장치 | |
| WO2015099506A1 (ko) | 서브블록 기반 예측을 수행하는 인터 레이어 비디오 복호화 방법 및 그 장치 및 서브블록 기반 예측을 수행하는 인터 레이어 비디오 부호화 방법 및 그 장치 | |
| WO2014129872A1 (ko) | 메모리 대역폭 및 연산량을 고려한 스케일러블 비디오 부호화 장치 및 방법, 스케일러블 비디오 복호화 장치 및 방법 | |
| WO2014163458A1 (ko) | 인터 레이어 복호화 및 부호화 방법 및 장치를 위한 인터 예측 후보 결정 방법 | |
| WO2014109594A1 (ko) | 휘도차를 보상하기 위한 인터 레이어 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치 | |
| WO2015152608A4 (ko) | 서브블록 기반 예측을 수행하는 인터 레이어 비디오 복호화 방법 및 그 장치 및 서브블록 기반 예측을 수행하는 인터 레이어 비디오 부호화 방법 및 그 장치 | |
| WO2015142070A1 (ko) | 경계 필터링을 수반한 비디오 부호화 및 비디오 복호화 방법 및 장치 | |
| WO2015053601A1 (ko) | 멀티 레이어 비디오 부호화 방법 및 그 장치, 멀티 레이어 비디오 복호화 방법 및 그 장치 | |
| WO2015053598A1 (ko) | 멀티 레이어 비디오 부호화 방법 및 장치, 멀티 레이어 비디오 복호화 방법 및 장치 | |
| WO2016117930A1 (ko) | 인터 레이어 비디오 복호화 방법 및 그 장치 및 인터 레이어 비디오 부호화 방법 및 그 장치 | |
| WO2015133866A1 (ko) | 서브 블록 기반 예측을 수행하는 인터 레이어 비디오 복호화 방법 및 그 장치 및 서브 블록 기반 예측을 수행하는 인터 레이어 비디오 부호화 방법 및 그 장치 | |
| WO2015009113A1 (ko) | 인터 레이어 비디오 복호화 및 부호화 장치 및 방법을 위한 깊이 영상의 화면내 예측 방법 | |
| WO2015009041A1 (ko) | 적응적 휘도 보상을 위한 인터 레이어 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치 | |
| WO2015012622A1 (ko) | 움직임 벡터 결정 방법 및 그 장치 | |
| WO2016200124A1 (ko) | 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 20157003378 Country of ref document: KR Kind code of ref document: A |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14826042 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14905525 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14826042 Country of ref document: EP Kind code of ref document: A1 |