[go: up one dir, main page]

WO2018174531A1 - Video signal processing method and device - Google Patents

Video signal processing method and device Download PDF

Info

Publication number
WO2018174531A1
WO2018174531A1 PCT/KR2018/003243 KR2018003243W WO2018174531A1 WO 2018174531 A1 WO2018174531 A1 WO 2018174531A1 KR 2018003243 W KR2018003243 W KR 2018003243W WO 2018174531 A1 WO2018174531 A1 WO 2018174531A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
polar region
degree
region
block
Prior art date
Application number
PCT/KR2018/003243
Other languages
French (fr)
Korean (ko)
Inventor
이배근
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Publication of WO2018174531A1 publication Critical patent/WO2018174531A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Definitions

  • the present invention relates to a video signal processing method and apparatus.
  • High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
  • An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture
  • An object of the present invention is to provide a method and apparatus for projection-converting a 360 degree image in two dimensions in generating / playing a video signal.
  • An object of the present invention is to provide a method of performing frame packing using continuity between faces in generating / playing a video signal.
  • An object of the present invention is to perform frame packing by dividing a 360 degree image into a polar region and an intermediate region in generating / playing a video signal.
  • the method and apparatus for generating 360-degree image data determine a projection conversion method for a 360-degree image, and based on the projection conversion method, a 360-degree projection image in which the 360-degree image is projected onto a 2D plane Acquire, perform frame packing on the 360 degree projection image, and encode the frame packed 360 degree projection image.
  • the 360-degree image playback method and apparatus perform decoding on a frame-packed 360-degree projection image, perform frame depacking on the decoded 360-degree projection image, and 360-degree image. And a projection conversion method for the projection, and based on the projection conversion method, a 360-degree image obtained by projecting the 360-degree projection image on which the frame depacking is performed on the 3D space may be obtained.
  • the frame packing may include dividing the 360-degree image into a polar region and a central region, and converting the polar region into a predefined form. Can be.
  • the polar region includes a first polar region and a second polar region which are not adjacent to each other, and the frame packing includes a converted first polar region and And rearranging the converted second polar region on one side of the central region.
  • the rearrangement comprises arranging the converted first polar region adjacent to a predetermined direction boundary of the central region, and converting the converted second polar region. And arranging adjacent to the predetermined direction boundary of the converted first polar region.
  • the rearrangement comprises arranging both the converted first polar region and the converted second polar region adjacent to a predetermined boundary of a central region. It may include.
  • the frame packing may include rotating the rearranged image by a predetermined angle.
  • the polar region includes a plurality of stripes
  • converting the polar region into a predefined form includes converting the first stripe into a predetermined form. Resampling into lines, and resampling a second stripe adjacent to the first stripe and farther away from the first stripe into a predetermined shape line surrounding the resampled first stripe.
  • the encoding / decoding efficiency can be improved by projecting and converting a 360 degree image in two dimensions.
  • frame packing is performed by dividing a 360-degree image into a polar region and an intermediate region, thereby improving encoding / decoding efficiency.
  • FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
  • FIG. 3 is a diagram illustrating a partition mode that can be applied to a coding block when the coding block is encoded by inter-screen prediction.
  • 4 to 6 are diagrams illustrating a camera apparatus for generating a panoramic image.
  • FIG. 7 is a block diagram of a 360 degree video data generating device and a 360 degree video playing device.
  • FIG. 8 is a flowchart illustrating operations of a 360 degree video data generating device and a 360 degree video playing device.
  • FIG. 10 illustrates a 2D projection method using a cube projection technique.
  • FIG. 11 illustrates a 2D projection method using a icosahedron projection technique.
  • FIG. 12 illustrates a 2D projection method using an octahedron projection technique.
  • FIG. 13 illustrates a 2D projection method using a truncated pyramid projection technique.
  • 14 is a diagram for explaining the conversion between the face 2D coordinates and the three-dimensional coordinates.
  • 23 and 24 illustrate examples of rearranging polar regions in square blocks.
  • 25 to 28 are views illustrating an example of a frame packing method according to the present invention.
  • FIG. 29 is a diagram illustrating an example of rearranging polar regions in a non-square block.
  • FIGS. 30 and 31 are views illustrating an example of a frame packing method according to the present invention.
  • first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
  • the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.
  • FIG. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
  • the image encoding apparatus 100 may include a picture splitter 110, a predictor 120 and 125, a transformer 130, a quantizer 135, a realigner 160, and an entropy encoder. 165, an inverse quantizer 140, an inverse transformer 145, a filter 150, and a memory 155.
  • each of the components shown in FIG. 1 is independently illustrated to represent different characteristic functions in the image encoding apparatus, and does not mean that each of the components is made of separate hardware or one software component unit.
  • each component is included in each component for convenience of description, and at least two of the components may be combined into one component, or one component may be divided into a plurality of components to perform a function.
  • Integrated and separate embodiments of the components are also included within the scope of the present invention without departing from the spirit of the invention.
  • the components may not be essential components for performing essential functions in the present invention, but may be optional components for improving performance.
  • the present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included in the scope of the present invention.
  • the picture dividing unit 110 may divide the input picture into at least one processing unit.
  • the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU).
  • the picture dividing unit 110 divides one picture into a combination of a plurality of coding units, prediction units, and transformation units, and combines one coding unit, prediction unit, and transformation unit on a predetermined basis (eg, a cost function). You can select to encode the picture.
  • one picture may be divided into a plurality of coding units.
  • a recursive tree structure such as a quad tree structure may be used, and coding is divided into other coding units by using one image or a largest coding unit as a root.
  • the unit may be split with as many child nodes as the number of split coding units. Coding units that are no longer split according to certain restrictions become leaf nodes. That is, when it is assumed that only square division is possible for one coding unit, one coding unit may be split into at most four other coding units.
  • a coding unit may be used as a unit for encoding or may be used as a unit for decoding.
  • the prediction unit may be split in the form of at least one square or rectangle having the same size in one coding unit, or the prediction unit of any one of the prediction units split in one coding unit is different from one another. It may be divided to have a different shape and / or size than the unit.
  • the intra prediction may be performed without splitting into a plurality of prediction units NxN.
  • the predictors 120 and 125 may include an inter predictor 120 that performs inter prediction and an intra predictor 125 that performs intra prediction. Whether to use inter prediction or intra prediction on the prediction unit may be determined, and specific information (eg, an intra prediction mode, a motion vector, a reference picture, etc.) according to each prediction method may be determined. In this case, the processing unit in which the prediction is performed may differ from the processing unit in which the prediction method and the details are determined. For example, the method of prediction and the prediction mode may be determined in the prediction unit, and the prediction may be performed in the transform unit. The residual value (residual block) between the generated prediction block and the original block may be input to the transformer 130.
  • specific information eg, an intra prediction mode, a motion vector, a reference picture, etc.
  • prediction mode information and motion vector information used for prediction may be encoded by the entropy encoder 165 together with the residual value and transmitted to the decoder.
  • the original block may be encoded as it is and transmitted to the decoder without generating the prediction block through the prediction units 120 and 125.
  • the inter prediction unit 120 may predict the prediction unit based on the information of at least one of the previous picture or the next picture of the current picture. In some cases, the inter prediction unit 120 may predict the prediction unit based on the information of the partial region in which the encoding is completed in the current picture. You can also predict units.
  • the inter predictor 120 may include a reference picture interpolator, a motion predictor, and a motion compensator.
  • the reference picture interpolator may receive reference picture information from the memory 155 and generate pixel information of an integer pixel or less in the reference picture.
  • a DCT based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels.
  • a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
  • the motion predictor may perform motion prediction based on the reference picture interpolated by the reference picture interpolator.
  • various methods such as full search-based block matching algorithm (FBMA), three step search (TSS), and new three-step search algorithm (NTS) may be used.
  • FBMA full search-based block matching algorithm
  • TSS three step search
  • NTS new three-step search algorithm
  • the motion vector may have a motion vector value of 1/2 or 1/4 pixel units based on the interpolated pixels.
  • the motion prediction unit may predict the current prediction unit by using a different motion prediction method.
  • various methods such as a skip method, a merge method, an advanced motion vector prediction (AMVP) method, an intra block copy method, and the like may be used.
  • AMVP advanced motion vector prediction
  • the intra predictor 125 may generate a prediction unit based on reference pixel information around the current block, which is pixel information in the current picture. If the neighboring block of the current prediction unit is a block that has performed inter prediction, and the reference pixel is a pixel that has performed inter prediction, the reference pixel of the block that has performed intra prediction around the reference pixel included in the block where the inter prediction has been performed Can be used as a substitute for information. That is, when the reference pixel is not available, the unavailable reference pixel information may be replaced with at least one reference pixel among the available reference pixels.
  • a prediction mode may have a directional prediction mode using reference pixel information according to a prediction direction, and a non-directional mode using no directional information when performing prediction.
  • the mode for predicting the luminance information and the mode for predicting the color difference information may be different, and the intra prediction mode information or the predicted luminance signal information used for predicting the luminance information may be utilized to predict the color difference information.
  • intra prediction When performing intra prediction, if the size of the prediction unit and the size of the transform unit are the same, the intra prediction on the prediction unit is performed based on the pixels on the left of the prediction unit, the pixels on the upper left, and the pixels on the top. Can be performed. However, when performing intra prediction, if the size of the prediction unit is different from that of the transform unit, intra prediction may be performed using a reference pixel based on the transform unit. In addition, intra prediction using NxN division may be used only for a minimum coding unit.
  • the intra prediction method may generate a prediction block after applying an adaptive intra smoothing (AIS) filter to a reference pixel according to a prediction mode.
  • AIS adaptive intra smoothing
  • the type of AIS filter applied to the reference pixel may be different.
  • the intra prediction mode of the current prediction unit may be predicted from the intra prediction mode of the prediction unit existing around the current prediction unit.
  • the prediction mode of the current prediction unit is predicted by using the mode information predicted from the neighboring prediction unit, if the intra prediction mode of the current prediction unit and the neighboring prediction unit is the same, the current prediction unit and the neighboring prediction unit using the predetermined flag information If the prediction modes of the current prediction unit and the neighboring prediction unit are different, entropy encoding may be performed to encode the prediction mode information of the current block.
  • a residual block may include a prediction unit performing prediction based on the prediction units generated by the prediction units 120 and 125 and residual information including residual information that is a difference from an original block of the prediction unit.
  • the generated residual block may be input to the transformer 130.
  • the transform unit 130 converts the residual block including residual information of the original block and the prediction unit generated by the prediction units 120 and 125 into a discrete cosine transform (DCT), a discrete sine transform (DST), and a KLT. You can convert using the same conversion method. Whether to apply DCT, DST, or KLT to transform the residual block may be determined based on intra prediction mode information of the prediction unit used to generate the residual block.
  • DCT discrete cosine transform
  • DST discrete sine transform
  • KLT KLT
  • the quantization unit 135 may quantize the values converted by the transformer 130 into the frequency domain.
  • the quantization coefficient may change depending on the block or the importance of the image.
  • the value calculated by the quantization unit 135 may be provided to the inverse quantization unit 140 and the reordering unit 160.
  • the reordering unit 160 may reorder coefficient values with respect to the quantized residual value.
  • the reordering unit 160 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. For example, the reordering unit 160 may scan from DC coefficients to coefficients in the high frequency region by using a Zig-Zag scan method and change them into one-dimensional vectors.
  • a vertical scan that scans two-dimensional block shape coefficients in a column direction instead of a zig-zag scan may be used, and a horizontal scan that scans two-dimensional block shape coefficients in a row direction. That is, according to the size of the transform unit and the intra prediction mode, it is possible to determine which scan method among the zig-zag scan, the vertical scan, and the horizontal scan is used.
  • the entropy encoder 165 may perform entropy encoding based on the values calculated by the reordering unit 160. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
  • Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
  • the entropy encoder 165 receives residual value coefficient information, block type information, prediction mode information, partition unit information, prediction unit information, transmission unit information, and motion of the coding unit from the reordering unit 160 and the prediction units 120 and 125.
  • Various information such as vector information, reference frame information, interpolation information of a block, and filtering information can be encoded.
  • the entropy encoder 165 may entropy encode a coefficient value of a coding unit input from the reordering unit 160.
  • the inverse quantizer 140 and the inverse transformer 145 inverse quantize the quantized values in the quantizer 135 and inversely transform the transformed values in the transformer 130.
  • the residual value generated by the inverse quantizer 140 and the inverse transformer 145 is reconstructed by combining the prediction units predicted by the motion estimator, the motion compensator, and the intra predictor included in the predictors 120 and 125. You can create a Reconstructed Block.
  • the filter unit 150 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
  • a deblocking filter may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
  • ALF adaptive loop filter
  • the deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture.
  • it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block.
  • a strong filter or a weak filter may be applied according to the required deblocking filtering strength.
  • horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
  • the offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image.
  • the pixels included in the image are divided into a predetermined number of areas, and then, an area to be offset is determined, an offset is applied to the corresponding area, or offset considering the edge information of each pixel. You can use this method.
  • Adaptive Loop Filtering may be performed based on a value obtained by comparing the filtered reconstructed image with the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and filtering may be performed for each group. For information related to whether to apply ALF, a luminance signal may be transmitted for each coding unit (CU), and the shape and filter coefficient of an ALF filter to be applied may vary according to each block. In addition, regardless of the characteristics of the block to be applied, the same type (fixed form) of the ALF filter may be applied.
  • ALF Adaptive Loop Filtering
  • the memory 155 may store the reconstructed block or picture calculated by the filter unit 150, and the stored reconstructed block or picture may be provided to the predictors 120 and 125 when performing inter prediction.
  • FIG. 2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
  • the image decoder 200 includes an entropy decoder 210, a reordering unit 215, an inverse quantizer 220, an inverse transformer 225, a predictor 230, 235, and a filter unit ( 240, a memory 245 may be included.
  • the input bitstream may be decoded by a procedure opposite to that of the image encoder.
  • the entropy decoder 210 may perform entropy decoding in a procedure opposite to that of the entropy encoding performed by the entropy encoder of the image encoder. For example, various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied to the method performed by the image encoder.
  • various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied to the method performed by the image encoder.
  • the entropy decoder 210 may decode information related to intra prediction and inter prediction performed by the encoder.
  • the reordering unit 215 may reorder the entropy decoded bitstream by the entropy decoding unit 210 based on a method of rearranging the bitstream. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form.
  • the reordering unit 215 may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the corresponding encoder.
  • the inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoder and the coefficient values of the rearranged block.
  • the inverse transform unit 225 may perform an inverse transform, i.e., an inverse DCT, an inverse DST, and an inverse KLT, for a quantization result performed by the image encoder, that is, a DCT, DST, and KLT. Inverse transformation may be performed based on a transmission unit determined by the image encoder.
  • the inverse transform unit 225 of the image decoder may selectively perform a transform scheme (eg, DCT, DST, KLT) according to a plurality of pieces of information such as a prediction method, a size of a current block, and a prediction direction.
  • a transform scheme eg, DCT, DST, KLT
  • the prediction units 230 and 235 may generate the prediction block based on the prediction block generation related information provided by the entropy decoder 210 and previously decoded blocks or picture information provided by the memory 245.
  • Intra prediction is performed on a prediction unit based on a pixel, but when intra prediction is performed, when the size of the prediction unit and the size of the transformation unit are different, intra prediction may be performed using a reference pixel based on the transformation unit. Can be. In addition, intra prediction using NxN division may be used only for a minimum coding unit.
  • the predictors 230 and 235 may include a prediction unit determiner, an inter predictor, and an intra predictor.
  • the prediction unit determiner receives various information such as prediction unit information input from the entropy decoder 210, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction unit from the current coding unit, and predicts It may be determined whether the unit performs inter prediction or intra prediction.
  • the inter prediction unit 230 predicts the current prediction based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction unit by using information required for inter prediction of the current prediction unit provided by the image encoder. Inter prediction may be performed on a unit. Alternatively, inter prediction may be performed based on information of some regions pre-restored in the current picture including the current prediction unit.
  • a motion prediction method of a prediction unit included in a coding unit based on a coding unit includes a skip mode, a merge mode, an AMVP mode, and an intra block copy mode. It can be determined whether or not it is a method.
  • the intra predictor 235 may generate a prediction block based on pixel information in the current picture.
  • intra prediction may be performed based on intra prediction mode information of the prediction unit provided by the image encoder.
  • the intra predictor 235 may include an adaptive intra smoothing (AIS) filter, a reference pixel interpolator, and a DC filter.
  • the AIS filter is a part of filtering the reference pixel of the current block and determines whether to apply the filter according to the prediction mode of the current prediction unit.
  • AIS filtering may be performed on the reference pixel of the current block by using the prediction mode and the AIS filter information of the prediction unit provided by the image encoder. If the prediction mode of the current block is a mode that does not perform AIS filtering, the AIS filter may not be applied.
  • the reference pixel interpolator may generate a reference pixel having an integer value or less by interpolating the reference pixel. If the prediction mode of the current prediction unit is a prediction mode for generating a prediction block without interpolating the reference pixel, the reference pixel may not be interpolated.
  • the DC filter may generate the prediction block through filtering when the prediction mode of the current block is the DC mode.
  • the reconstructed block or picture may be provided to the filter unit 240.
  • the filter unit 240 may include a deblocking filter, an offset correction unit, and an ALF.
  • Information about whether a deblocking filter is applied to a corresponding block or picture, and when the deblocking filter is applied to the corresponding block or picture, may be provided with information about whether a strong filter or a weak filter is applied.
  • the deblocking filter related information provided by the image encoder may be provided and the deblocking filtering of the corresponding block may be performed in the image decoder.
  • the offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
  • the ALF may be applied to a coding unit based on ALF application information, ALF coefficient information, and the like provided from the encoder. Such ALF information may be provided included in a specific parameter set.
  • the memory 245 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.
  • a coding unit is used as a coding unit for convenience of description, but may also be a unit for performing decoding as well as encoding.
  • the current block represents a block to be encoded / decoded, and according to the encoding / decoding step, a coding tree block (or a coding tree unit), an encoding block (or a coding unit), a transform block (or a transform unit), or a prediction block. (Or prediction unit) or the like.
  • 'unit' may indicate a basic unit for performing a specific encoding / decoding process
  • 'block' may indicate a sample array having a predetermined size.
  • 'block' and 'unit' may be used interchangeably.
  • the coding block (coding block) and the coding unit (coding unit) may be understood to have the same meaning.
  • One picture may be divided into square or non-square basic blocks and encoded / decoded.
  • the basic block may be referred to as a coding tree unit.
  • a coding tree unit may be defined as the largest coding unit allowed in a sequence or slice. Information regarding whether the coding tree unit is square or non-square or the size of the coding tree unit may be signaled through a sequence parameter set, a picture parameter set or a slice header.
  • the coding tree unit may be divided into smaller sized partitions.
  • the partition generated by dividing the coding tree unit is called depth 1
  • the partition generated by dividing the partition having depth 1 may be defined as depth 2. That is, a partition generated by dividing a partition that is a depth k in a coding tree unit may be defined as having a depth k + 1.
  • a partition of any size generated as the coding tree unit is split may be defined as a coding unit.
  • the coding unit may be split recursively or split into basic units for performing prediction, quantization, transform, or in-loop filtering.
  • an arbitrary size partition generated as a coding unit is divided may be defined as a coding unit or a transform unit or a prediction unit that is a basic unit for performing prediction, quantization, transform, or in-loop filtering.
  • a prediction block having the same size as the coding block or a size smaller than the coding block may be determined through prediction division of the coding block.
  • Predictive partitioning of a coding block may be performed by a partition mode (Part_mode) indicating a partition type of a coding block.
  • Part_mode partition mode
  • the size or shape of the prediction block may be determined according to the partition mode of the coding block.
  • the division type of the coding block may be determined through information specifying any one of partition candidates.
  • the partition candidates available to the coding block may include an asymmetric partition shape (eg, nLx2N, nRx2N, 2NxnU, 2NxnD) according to the size, shape, or coding mode of the coding block.
  • a partition candidate available to a coding block may be determined according to an encoding mode of the current block.
  • FIG. 3 is a diagram illustrating a partition mode that may be applied to a coding block when the coding block is encoded by inter prediction.
  • any one of eight partition modes may be applied to the coding block, as shown in the example illustrated in FIG. 3.
  • partition mode PART_2Nx2N or PART_NxN may be applied to the coding block.
  • PART_NxN may be applied when the coding block has a minimum size.
  • the minimum size of the coding block may be predefined in the encoder and the decoder.
  • information about the minimum size of the coding block may be signaled through the bitstream.
  • the minimum size of the coding block is signaled through the slice header, and accordingly, the minimum size of the coding block may be defined for each slice.
  • the partition candidates available to the coding block may be determined differently according to at least one of the size or shape of the coding block.
  • the number or type of partition candidates that a coding block may use may be differently determined according to at least one of the size or shape of the coding block.
  • the type or number of asymmetric partition candidates among partition candidates available to the coding block may be limited according to the size or shape of the coding block.
  • the number or type of asymmetric partition candidates that a coding block may use may be differently determined according to at least one of the size or shape of the coding block.
  • the size of the prediction block may have a size of 64x64 to 4x4.
  • the prediction block may not have a 4x4 size in order to reduce the memory bandwidth.
  • FIGS. 4 to 6 illustrate an example of capturing up, down, left, and right sides simultaneously using a plurality of cameras.
  • a video generated by stitching a plurality of videos may be referred to as a panoramic video.
  • an image having a degree of freedom based on a predetermined central axis may be referred to as 360 degree video.
  • the 360 degree video may be an image having rotation degrees of freedom for at least one of Yaw, Roll, and Pitch.
  • the camera structure (or camera arrangement) for acquiring 360-degree video has a circular arrangement, as in the example shown in FIG. 4, or a one-dimensional vertical / horizontal arrangement, as in the example shown in FIG. 5A.
  • a two-dimensional arrangement that is, a mixture of vertical and horizontal arrangements
  • a spherical device may be equipped with a plurality of cameras.
  • FIG. 7 is a block diagram of a 360 degree video data generating apparatus and a 360 degree video playing apparatus
  • FIG. 8 is a flowchart illustrating operations of the 360 degree video data generating apparatus and 360 degree video playing apparatus.
  • the 360-degree video data generating apparatus includes a projection unit 710, a frame packing unit 720, an encoding unit 730, and a transmission unit 740. It may include a parser 750, a decoder 760, a frame depacking unit 770, and a reverse projection unit 780.
  • the encoding unit and the decoding unit illustrated in FIG. 7 may correspond to the image encoding apparatus and the image decoding apparatus illustrated in FIGS. 1 and 2, respectively.
  • the data generating apparatus may determine a projection conversion technique of the 360 degree image generated by stitching the images photographed by the plurality of cameras.
  • the projection unit 710 may determine the 3D form of the 360 degree video according to the determined projection transformation technique, and project the 360 degree video onto the 2D plane according to the determined 3D form (S801).
  • the projection transformation technique may represent an aspect in which the 360 degree video is developed on the 3D form and the 2D plane of the 360 degree video.
  • the 360-degree image may be approximated as having a form of sphere, cylinder, cube, octahedron or icosahedron in 3D space, according to a projection transformation technique.
  • an image generated by projecting a 360 degree video onto a 2D plane may be referred to as a 360 degree projection image.
  • the 360 degree projection image may be composed of at least one face according to a projection conversion technique.
  • each face constituting the polyhedron may be defined as a face.
  • the specific surface constituting the polyhedron may be divided into a plurality of regions, and the divided regions may be set to form separate faces.
  • the 360 degree video approximated in the shape of a sphere may have a plurality of faces according to the projection transformation technique.
  • the frame packing may be performed in the frame packing unit 720 (S802).
  • Frame packing may include at least one of reordering, resizing, warping, rotating, or flipping a face.
  • the 360-degree projection image may be converted into a form (eg, a rectangle) having high encoding / decoding efficiency, or discontinuity data between faces may be removed.
  • Frame packing may also be referred to as frame reordering or region-wise packing. Frame packing may be selectively performed to improve encoding / decoding efficiency for the 360 degree projection image.
  • the encoding unit 730 may perform encoding on the 360 degree projection image or the 360 degree projection image on which the frame packing is performed (S803).
  • the encoder 730 may encode information indicating a projection transformation technique for the 360 degree video.
  • the information indicating the projection transformation technique may be index information indicating any one of the plurality of projection transformation techniques.
  • the encoder 730 may encode information related to frame packing for the 360 degree video.
  • the information related to the frame packing may include at least one of whether frame packing is performed, the number of faces, the position of the face, the size of the face, the shape of the face, or the rotation information of the face.
  • the transmitter 740 may encapsulate and transmit the encapsulated data to the player terminal (S804).
  • the file parsing unit 750 may parse the file received from the content providing device (S805).
  • the decoding unit 760 may decode the 360 degree projection image using the parsed data (S806).
  • the frame depacking unit 760 may perform frame depacking (Region-wise depacking) opposite to the frame packing performed on the content providing side (S807).
  • Frame depacking may be to restore the frame packed 360 degree projection image to before frame packing is performed.
  • frame depacking may be to reverse the reordering, resizing, warping, rotation, or flipping of a face performed in the data generating device.
  • the inverse projection unit 780 may inversely project the 360 degree projection image on the 2D plane in a 3D form according to a projection transformation technique of the 360 degree video (S808).
  • Projection transformation techniques include isotropic rectangular projection (ERP), cubic projection transformation (Cube Map Projection, CMP), isosahedral projection transformation (ISP), octahedron projection transformation (Octahedron Projection, OHP), truncated pyramid It may include at least one of a projection transform (Truncated Pyramid Projection (TPP)), a Sharpe Segment Projection (SSP), an Equatorial cylindrical projection (ECP), or a rotated sphere projection (RSP).
  • the isotropic method is a method of projecting a pixel corresponding to a sphere into a rectangle having an aspect ratio of N: 1, which is the most widely used 2D transformation technique.
  • N may be two, and may be two or less or two or more real numbers.
  • the actual length of the sphere corresponding to the unit length on the 2D plane becomes shorter toward the pole of the sphere.
  • the coordinates of both ends of the unit length on the 2D plane may correspond to a distance difference of 20 cm near the equator of the sphere, while corresponding to a distance difference of 5 cm near the pole of the sphere.
  • the isotropic rectangular method has a disadvantage in that the image distortion is large and coding efficiency is lowered near the poles of the sphere.
  • FIG. 10 illustrates a 2D projection method using a cube projection technique.
  • the cube projection technique involves approximating a 360-degree video to a cube and then converting the cube into 2D.
  • one face or plane
  • the continuity between the faces is high, and the cube projection method has an advantage of higher coding efficiency than the isotonic diagram method.
  • encoding / decoding may be performed by rearranging the 2D projection-converted image into a quadrangle form.
  • FIG. 11 illustrates a 2D projection method using a icosahedron projection technique.
  • the icosahedron projection technique is a method of approximating a 360 degree video to an icosahedron and converting it into 2D.
  • the icosahedral projection technique is characterized by strong continuity between faces.
  • encoding / decoding may be performed by rearranging faces in the 2D projection-converted image.
  • FIG. 12 illustrates a 2D projection method using an octahedron projection technique.
  • the octahedral projection method is a method of approximating a 360 degree video to an octahedron and converting it into 2D.
  • the octahedral projection technique is characterized by strong continuity between faces.
  • encoding / decoding may be performed by rearranging faces in the 2D projection-converted image.
  • FIG. 13 illustrates a 2D projection method using a truncated pyramid projection technique.
  • the truncated pyramid projection technique is a method of approximating a 360 degree video to a truncated pyramid and converting it into 2D.
  • frame packing may be performed such that the face at a particular point in time has a different size than the neighboring face.
  • the front face may have a larger size than the side face and the back face.
  • SSP is a method of dividing a spherical 360-degree video into high- and mid-latitude regions and performing 2D projection transformation. Specifically, when the SSP is followed, the two high latitude regions of the sphere may be mapped to two circles on the 2D plane, and the mid-latitude regions of the sphere may be mapped to the rectangles on the 2D plane like the ERP.
  • ECP converts spherical 360-degree video into cylindrical form and then converts cylindrical 360-degree video into 2D projection. Specifically, when the ECP is followed, the top and bottom of the cylinder can be mapped to two circles on the 2D plane, and the body of the cylinder can be mapped to the rectangle on the 2D plane.
  • RSP represents a method of converting a spherical 360 degree video of a tennis ball into two ellipses on a 2D plane.
  • Each sample of the 360 degree projection image may be identified by face 2D coordinates.
  • the face 2D coordinates may include an index f for identifying the face where the sample is located, a coordinate (m, n) representing a sample grid in a 360 degree projection image.
  • FIG. 14 is a diagram illustrating a conversion between a face 2D coordinate and a 3D coordinate.
  • conversion between three-dimensional coordinates (x, y, z) and face 2D coordinates (f, m, n) may be performed using Equations 1 to 3 below. have.
  • the current picture in the 360 degree projection image may include at least one or more faces.
  • the number of faces may be 1, 2, 3, 4 or more natural numbers, depending on the projection method.
  • f may be set to a value equal to or smaller than the number of faces.
  • the current picture may include at least one or more faces having the same temporal order or output order (POC).
  • the number of faces constituting the current picture may be fixed or variable.
  • the number of faces constituting the current picture may be limited not to exceed a predetermined threshold.
  • the threshold value may be a fixed value previously promised by the encoder and the decoder.
  • information about the maximum number of faces constituting one picture may be signaled through a bitstream.
  • the faces may be determined by partitioning the current picture using at least one of a horizontal line, a vertical line, or a diagonal line, depending on the projection method.
  • Each face within a picture may be assigned an index to identify each face.
  • Each face may be parallelized, such as a tile or a slice. Accordingly, when performing intra prediction or inter prediction of the current block, neighboring blocks belonging to different faces from the current block may be determined to be unavailable.
  • Paces (or non-parallel regions) where parallelism is not allowed may be defined, or faces with interdependencies may be defined. For example, faces that do not allow parallel processing or faces with interdependencies may be coded / decoded sequentially instead of being parallel coded / decoded. Accordingly, even neighboring blocks belonging to different faces from the current block may be determined to be available for intra prediction or inter prediction of the current block, depending on whether parallel processing between faces or dependencies is possible.
  • the left boundary of face 5 is adjacent to the right boundary of face 1 that does not have continuity in 3D space, and the right boundary of face 5 has a left boundary of face 2 that does not have continuity in 3D space. It is shown to be located adjacent to.
  • frame packing may be performed such that three faces having continuity in 3D space are disposed adjacent to each other.
  • the top faces 2, 3, and 4 positioned at the top of the 2D development view may be arranged to have mutual continuity.
  • the upper faces 2 and 4 of the upper and lower faces 3 may be rotated.
  • the two or more faces may be mutually continuous, thereby placing at least some of the remaining faces.
  • the bottom faces 5 and 6 positioned at the bottom on the 2D development view may be arranged to have mutual continuity, and the bottom faces 7 and 8 may be arranged to have mutual continuity. It is also possible to rotate the bottom faces such that the bottom faces are continuous.
  • the remaining one face may be arranged on the left side, the right side, or the empty space of the image.
  • the upper face 1 is disposed on the left or right side of the image, or in the example shown in (b) or (c) of FIG. 15. Similarly, you can place top face 1 between two faces.
  • the bottom faces 6, 7, 8 located at the bottom on the 2D development view may be arranged to have mutual continuity.
  • the lower faces 6 and 8 of the lower face 7 may be rotated.
  • the two or more faces may be mutually continuous, thereby placing at least some of the remaining faces.
  • the top faces 1 and 2 positioned at the top of the 2D development view may be arranged to have mutual continuity, and the top faces 3 and 4 may be arranged to have the mutual continuity. It is also possible to rotate the bottom faces such that the top faces are continuous.
  • the remaining one face may be arranged on the left side, the right side, or the empty space of the image.
  • the lower face 5 is disposed on the left or right side of the image, or in the example shown in (b) or (c) of FIG. 16. Likewise, you can place the lower face 5 between the two faces.
  • Each face is a triangle under the OHP technique, and the problem is that the image obtained by arranging the faces in a line is not rectangular. Accordingly, by dividing the predetermined face into two, frame packing may be performed in which the divided first portion and the second portion are disposed at both ends of the image.
  • FIG. 17 is a view showing an example in which the upper faces 2, 3, 4 are arranged to have continuity
  • FIG. 18 is a view showing an example in which the lower faces 6, 7, 8 are arranged to have continuity.
  • frame packing may be performed by dividing a face disposed on the left side or the right side of the image in two, and arranging the divided first portion on the left side of the image and the divided second portion on the right side of the image.
  • the upper face 1 is divided into two, and the divided first portion 1-R is disposed on the left side or the top of the image.
  • the divided second portion 1 -L may be disposed on the right side of the image or the bottom of the image.
  • 17 (c) and (d) show an example in which the lower face 7 and the lower face 8 are divided into two, respectively.
  • the lower face 5 is divided into two, the divided first portion 5-R is disposed on the left side of the image or the top of the image, and divided.
  • the second portion 5-L may be disposed on the right side of the image or the bottom of the image.
  • 18 (c) and (d) show an example in which the upper face 4 and the upper face 3 are divided into two, respectively.
  • Frame packing may be performed by rotating the 2D projection image illustrated in FIGS. 15 to 18 in a clockwise or counterclockwise direction.
  • frame packing may be performed to rotate the 2D projection image 90 degrees, 180 degrees, or 270 degrees in a clockwise or counterclockwise direction.
  • FIGS. 19 and 20 are views showing an example in which the upper faces 2, 3, and 4 are arranged in continuity
  • FIGS. 21 and 22 are views showing an example in which the lower faces 6, 7, and 8 are arranged in continuity.
  • a 360-degree projection image having a width longer than the height may be obtained through rotation.
  • the memory footage can be reduced in encoding / decoding the 360-degree projected image, thereby maintaining a small data bus capacity in the implementation.
  • the memory footage may refer to a basic unit for fetching memory from one sample array.
  • the 2D projection-converted 360 degree projection image may be divided into a plurality of regions using the ERP technique.
  • the plurality of regions may include two polar regions and a remaining central region, or may include N regions having the same size.
  • N may be two or more natural numbers.
  • the 360-degree projection image which is converted by projection based on the ERP technique, may be divided into three regions, such as two polar regions and a remaining center region.
  • the polar region may include a region corresponding to a predetermined height from the upper boundary of the 360 degree projection image (North pole region) and a region corresponding to a predetermined height from the bottom boundary of the 360 degree projection image (Antarctic region).
  • North pole region a region corresponding to a predetermined height from the upper boundary of the 360 degree projection image
  • Antarctic region a region corresponding to a predetermined height from the bottom boundary of the 360 degree projection image
  • the region where the latitude value is above a predetermined reference value is defined as the polar region in the northern and southern hemispheres
  • the remaining region except the two polar regions is defined as the central region. Can be.
  • the shape or size of at least some of the divided regions may be changed.
  • two polar regions may be modified (or rearranged) in a predetermined form.
  • the predetermined form may be a square block such as square or non-square, or may be a polygonal shape other than a circle or a square.
  • 23 and 24 illustrate examples of rearranging polar regions in square blocks.
  • the polar region is shown to include at least one stripe (or line).
  • one stripe (or line) may include one sample row or a predetermined number of sample rows.
  • the number of stripes constituting the polar region may be set to a predefined value, or may be adaptively set for each sequence or slice.
  • the size (height) of the arctic region and the south pole region is set to H / 4
  • the size (height) of the central ERP region is Can be set to H / 2.
  • the region with the latitude value of 45 degrees or more in the northern and southern hemispheres is defined as the polar region, and the remaining region except the two polar regions is defined as the central region, so that the height is H /.
  • Polar regions of 4 and central ERP regions of height H / 2 may be obtained.
  • the size (height) of the north pole region and the south pole region is set to H / 6
  • the size (height) of the central ERP region is 2H.
  • the region with the latitude value of 30 degrees or more in the northern and southern hemispheres is defined as the polar region, and the remaining region except the two polar regions is defined as the central region, so that the height is H /.
  • a polar region of 6 and a central ERP region of 2H / 3 can also be obtained.
  • the stripe corresponding to the pole (that is, the top / bottom stripe of the ERP projection converted image) is resampled to the sample corresponding to the center point of the rectangular block, and the residual The stripe can be resampled into square lines in the square block.
  • the stripe located at the pole may be resampled into a sample corresponding to the center point of the rectangular block, and the stripe adjacent to the stripe located at the pole may be resampled into a rectangular line surrounding the sample corresponding to the center point.
  • the rectangular block may be configured by resampling the second stripe adjacent to the first stripe and farther away from the first stripe into the rectangular line surrounding the first stripe.
  • a rectangular block formed by rearranging polar regions is referred to as a 'resampling block'.
  • a rectangular block formed by rearranging the arctic regions is referred to as a first resampling block
  • a rectangular block formed by rearranging the south polar regions is referred to as a second resampling block.
  • the size of the resampling block may be variably determined based on at least one of the size of the polar region (eg, the width or height of the polar region) or the size of the central ERP region (eg, the width or height of the central ERP region). have.
  • a square block having a height and a width twice the height of the polar region may be generated.
  • the polar region of H / 4 height may be rearranged into a forward block having a size of H / 2 on one side, or the polar region of H / 6 height may be rearranged into a square block having a size of H / 3 on one side.
  • the height of the square block generated by rearranging the polar region may be the same as the central ERP region.
  • the height of the square block generated by rearranging the polar region has a size 1/2 of the height of the central ERP region. Can be.
  • At least one of information indicating the size of the polar region, the size of the central ERP region, or the size ratio between the central ERP region and the resampling block may be encoded and transmitted to the decoder through the bitstream.
  • the decoder may determine the size of the resampling block using at least one of the size of the polar region, the size of the central ERP region, or information indicating the size ratio between the central ERP region and the resampling block.
  • At least one of the size of the resampling block, the size of the central ERP region, or the size ratio between the central ERP region and the resampling block may be predefined.
  • a frame rearrangement or frame packing may be performed to rearrange faces in a two-dimensional space.
  • each of the two resampling blocks may be defined at different faces.
  • the central ERP region may be defined as one face, or the central ERP region may be divided into a plurality of regions, and each partitioned region may be defined as a face.
  • Frame packing may be performed by arranging the resampling blocks corresponding to the polar region and one side of the central ERP region.
  • 25 to 28 are views illustrating an example of a frame packing method according to the present invention.
  • Frame packing may be performed such that the resampling blocks corresponding to the polar region are arranged in line with the central ERP region. For example, if the height of the resampling block is the same as the height of the central ERP region, as shown in the example shown in FIG. 25, the first resampling block or the second resampling block is disposed on one side of the central ERP region, and the remaining resampling block is written. Frame packing adjacent to the arranged first resampling block or the second resampling block may be performed. Accordingly, either one of the first resampling block or the second resampling block may be adjacent to one boundary of the central ERP region while the other may be spaced apart from the central ERP region.
  • frame packing may be performed such that all of the resampling blocks corresponding to the polar region are adjacent to one boundary of the central ERP region.
  • the height of the resampling block is 1/2 of the height of the central ERP region, as shown in FIG. 26, one side of the central ERP region is divided into two portions, and the first resampling block is adjacent to one portion.
  • the second resampling block may be disposed adjacent to each other. In this case, positions of the first resampling block and the second resampling block may be predefined.
  • the resampling blocks are arranged on the right side of the central ERP region.
  • the present invention is not limited thereto, and the resampling blocks may be disposed on the left side, the upper side, or the bottom side of the central ERP region.
  • the resampling blocks may be disposed on both sides of the central ERP region.
  • one of the first resampling block or the second resampling block may be disposed on the left side of the central ERP region, and the other one may be disposed on the right side of the central ERP region.
  • the faces may be rotated.
  • frame packing may be performed by rotating the image illustrated in FIGS. 25 and 26 by 90 degrees.
  • the resampling blocks are shown disposed at the lower end of the central ERP region rotated 90 degrees, but it is also possible to arrange the resampling blocks at the upper end of the central ERP region rotated 90 degrees.
  • frame packing may be performed by rotating the image illustrated in FIGS. 25 and 26 by 90 degrees, 180 degrees, or 270 degrees in a clockwise or counterclockwise direction.
  • the memory footage is encoded when the 360-degree projected image is encoded / decoded. It can be made small, which has the advantage of keeping the data bus capacity small at implementation.
  • the memory footage may refer to a basic unit for fetching memory from one stripe.
  • the polar regions are shown to be rearranged into square shaped blocks. As another example, polar regions may be rearranged into non-square blocks.
  • FIG. 29 is a diagram illustrating an example of rearranging polar regions in a non-square block.
  • the stripes corresponding to the poles may be resampled to samples at specific positions, and the stripes adjacent to the poles may be resampled to surround the samples at particular positions.
  • the stripe located at the pole may be resampled into a sample adjacent to the block boundary, and then the stripe adjacent to the stripe located at the pole may be resampled into an uneven line surrounding the sample adjacent to the block boundary.
  • the non-square block can be configured by resampling the second stripe adjacent to the first stripe and farther away from the first stripe into the uneven line surrounding the first stripe.
  • the resampling block shown in FIG. 29 is rotated (eg, rotated 90 degrees, 180 degrees or 270 degrees) in a specific direction.
  • frame packing may be performed in which the non-square block is arranged on one side of the central ERP region.
  • FIGS. 30 and 31 are views illustrating an example of a frame packing method according to the present invention.
  • frame packing may be performed in which resampling blocks corresponding to the polar region are arranged up and down at one boundary of the central ERP region.
  • a first resampling block having a width of H / 2 and a height of H / 4 is adjacent to an upper portion of the right boundary of the central ERP region, and a width of H / 2 and a height of H / 4 at a lower portion of the right boundary of the central ERP region.
  • the second resampling block may be adjacent to each other.
  • frame packing may be performed by rotating the image illustrated in FIG. 30 by 90 degrees.
  • the resampling blocks are disposed at the lower end of the central ERP region rotated by 90 degrees.
  • the resampling blocks may be disposed at the upper end of the central ERP region rotated by 90 degrees.
  • frame packing may be performed by rotating the image shown in FIG. 30 in a clockwise or counterclockwise direction by 90 degrees, 180 degrees, or 270 degrees.
  • the polar regions are shown to be rearranged into rectangular blocks.
  • a square face including a polar region converted into a circle or a polygonal shape is defined, and frame packing as in the example shown in FIGS. 25 to 28 or 30 and 31 described above may be performed.
  • the sample value of the area not filled by the circle or polygonal shape among the square faces is at least one of a predefined sample value, a sample value located at the boundary of the polar region, or a sample value located at the boundary of the central ERP region. Can be determined based on one.
  • the predetermined space is set when a portion corresponding to a predetermined spatial region of the 360 degree image is set as the first region and the 360 degree image is rotated in a predetermined direction / predetermined angle. It is also possible to set the part located in the area as the second area. For example, a second 360-degree projection obtained after obtaining a first region from a first 360-degree projection image generated by converting a 360-degree image through an ERP technique, and rotating the 360-degree image by a predetermined direction / predetermined angle. A second area may be obtained from the image.
  • the location and size of the first area and the second area on the first 360 degree projection image and the second 360 degree projection image may be the same, but the space corresponding to the first area and the second area in 3D space
  • the regions may be different from each other.
  • a projection transformation method of dividing a 360 degree image into two polar regions and a central region may be defined as a new projection transformation method.
  • a projection transformation method of dividing a 360 degree image into two polar regions and a central region may be defined as a nested polygon ERP.
  • the square nested polygon ERP, the non-square nested polygon ERP, and the like may be separately defined according to the transformation form of the polar region.
  • An index for identifying the nested polygon ERP technique among a plurality of projection transformation techniques may be allocated.
  • index information indicating the nested polygon ERP scheme may be encoded and transmitted through a bitstream.
  • each component for example, a unit, a module, etc. constituting the block diagram may be implemented as a hardware device or software, and a plurality of components are combined into one hardware device or software. It may be implemented.
  • the above-described embodiments may be implemented in the form of program instructions that may be executed by various computer components, and may be recorded in a computer-readable recording medium.
  • the computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.
  • Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.
  • the hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa.
  • the present invention can be applied to an electronic device capable of encoding / decoding an image.

Landscapes

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

Abstract

A 360-degree image data generation method, according to the present invention, may comprise the steps of: determining a projective transformation method for a 360-degree image; on the basis of the projective transformation method, acquiring a 360-degree projected image having the 360-degree image projected on a 2D plane; frame packing the 360-degree projected image; and encoding the frame-packed 360-degree projected image. Here, the step for frame packing may comprise the steps of: partitioning the 360-degree image into extreme regions and a central region; and transforming the extreme regions into predefined forms.

Description

비디오 신호 처리 방법 및 장치Video signal processing method and apparatus
본 발명은 비디오 신호 처리 방법 및 장치에 관한 것이다.The present invention relates to a video signal processing method and apparatus.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.Recently, the demand for high resolution and high quality images such as high definition (HD) and ultra high definition (UHD) images is increasing in various applications. As the video data becomes higher resolution and higher quality, the amount of data increases relative to the existing video data. Therefore, when the video data is transmitted or stored using a medium such as a conventional wired / wireless broadband line, The storage cost will increase. High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique, an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture, Various techniques exist, such as an entropy encoding technique for allocating a short code to a high frequency of appearance and a long code to a low frequency of appearance, and the image data can be effectively compressed and transmitted or stored.
한편, 고해상도 영상에 대한 수요가 증가함과 함께, 새로운 영상 서비스로서 입체 영상 컨텐츠에 대한 수요도 함께 증가하고 있다. 고해상도 및 초고해상도의 입체 영상 콘텐츠를 효과적으로 제공하기 위한 비디오 압축 기술에 대하여 논의가 진행되고 있다.Meanwhile, as the demand for high resolution video increases, the demand for stereoscopic video content also increases as a new video service. There is a discussion about a video compression technology for effectively providing high resolution and ultra high resolution stereoscopic image contents.
본 발명은 비디오 신호를 생성/플레이함에 있어서, 360도 영상을 2차원으로 투영 변환하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for projection-converting a 360 degree image in two dimensions in generating / playing a video signal.
본 발명은 비디오 신호를 생성/플레이함에 있어서, 페이스들 사이의 연속성을 이용하여 프레임 패킹을 수행하는 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method of performing frame packing using continuity between faces in generating / playing a video signal.
본 발명은 비디오 신호를 생성/플레이함에 있어서, 360도 영상을 극지방 영역과 중간 영역으로 나누어 프레임 패킹을 수행하는 것을 목적으로 한다. An object of the present invention is to perform frame packing by dividing a 360 degree image into a polar region and an intermediate region in generating / playing a video signal.
본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned above will be clearly understood by those skilled in the art from the following description. Could be.
본 발명에 따른 360도 영상 데이터 생성 방법 및 장치는, 360도 영상에 대한 투영 변환 방법을 결정하고, 상기 투영 변환 방법을 기초로, 상기 360도 영상을 2D 평면상에 투영한 360도 투사 영상을 획득하고, 상기 360도 투사 영상에 대한 프레임 패킹(Frame Packing)을 수행하고, 상기 프레임 패킹된 360도 투사 영상에 대한 인코딩을 수행할 수 있다.The method and apparatus for generating 360-degree image data according to the present invention determine a projection conversion method for a 360-degree image, and based on the projection conversion method, a 360-degree projection image in which the 360-degree image is projected onto a 2D plane Acquire, perform frame packing on the 360 degree projection image, and encode the frame packed 360 degree projection image.
본 발명에 따른 360도 영상 플레이 방법 및 장치는, 프레임 패킹된 360도 투사 영상에 대한 디코딩을 수행하고, 상기 디코딩된 360도 투사 영상에 대한 프레임 디패킹(Frame Depacking)을 수행하고, 360도 영상에 대한 투영 변환 방법을 결정하고, 상기 투영 변환 방법을 기초로, 상기 프레임 디패킹이 수행된 360도 투사 영상을 3D 공간상에 투영한 360도 영상을 획득할 수 있다.The 360-degree image playback method and apparatus according to the present invention perform decoding on a frame-packed 360-degree projection image, perform frame depacking on the decoded 360-degree projection image, and 360-degree image. And a projection conversion method for the projection, and based on the projection conversion method, a 360-degree image obtained by projecting the 360-degree projection image on which the frame depacking is performed on the 3D space may be obtained.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 프레임 패킹은, 상기 360도 영상을 극지방 영역 및 중앙 영역으로 구획하고, 상기 극지방 영역을 기 정의된 형태로 변환하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360-degree image data according to the present invention, the frame packing may include dividing the 360-degree image into a polar region and a central region, and converting the polar region into a predefined form. Can be.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 극지방 영역은 상호 인접하지 않는 제1 극지방 영역 및 제2 극지방 영역을 포함하고, 상기 프레임 패킹은, 변환된 제1 극지방 영역 및 변환된 제2 극지방 영역을 상기 중앙 영역의 일측에 재배열하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360-degree image data according to the present invention, the polar region includes a first polar region and a second polar region which are not adjacent to each other, and the frame packing includes a converted first polar region and And rearranging the converted second polar region on one side of the central region.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 재배열은, 상기 변환된 제1 극지방 영역을 상기 중앙 영역의 소정 방향 경계에 인접 배치하고, 상기 변환된 제2 극지방 영역을 상기 변환된 제1 극지방 영역의 상기 소정 방향 경계에 인접 배치하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360-degree image data according to the present invention, the rearrangement comprises arranging the converted first polar region adjacent to a predetermined direction boundary of the central region, and converting the converted second polar region. And arranging adjacent to the predetermined direction boundary of the converted first polar region.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 재배열은, 상기 변환된 제1 극지방 영역 및 상기 변환된 제2 극지방 영역을 모두 중앙 영역의 소정 방향 경계에 인접 배치하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360-degree image data according to the present invention, the rearrangement comprises arranging both the converted first polar region and the converted second polar region adjacent to a predetermined boundary of a central region. It may include.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 프레임 패킹은, 상기 재배열이 수행된 영상을 소정 각도만큼 회전하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360 degree image data according to the present invention, the frame packing may include rotating the rearranged image by a predetermined angle.
본 발명에 따른 360도 영상 데이터 생성/플레이 방법 및 장치에 있어서, 상기 극지방 영역은 복수의 스트라이프(stripe)를 포함하고, 상기 극지방 영역을 기 정의된 형태로 변환하는 것은, 제1 스트라이프를 소정 형태 라인으로 리샘플링하고, 상기 제1 스트라이프에 인접하면서, 상기 제1 스트라이프보다 극에서 먼 제2 스트라이프를 상기 리샘플링된 제1 스트라이프를 감싸는 소정 형태 라인으로 리샘플링하는 것을 포함할 수 있다.In the method and apparatus for generating / playing 360-degree image data according to the present invention, the polar region includes a plurality of stripes, and converting the polar region into a predefined form includes converting the first stripe into a predetermined form. Resampling into lines, and resampling a second stripe adjacent to the first stripe and farther away from the first stripe into a predetermined shape line surrounding the resampled first stripe.
본 발명에 대하여 위에서 간략하게 요약된 특징들은 후술하는 본 발명의 상세한 설명의 예시적인 양상일 뿐이며, 본 발명의 범위를 제한하는 것은 아니다.The features briefly summarized above with respect to the present invention are merely exemplary aspects of the detailed description of the invention that follows, and do not limit the scope of the invention.
본 발명에 의하면, 360도 영상을 2차원으로 투영 변환하여 부호화/복호화 효율을 높일 수 있는 이점이 있다.According to the present invention, there is an advantage that the encoding / decoding efficiency can be improved by projecting and converting a 360 degree image in two dimensions.
본 발명에 의하면, 페이스들 사이의 연속성을 고려한 프레임 패킹을 수행함으로써, 부호화/복호화 효율을 높일 수 있는 이점이 있다.According to the present invention, by performing frame packing in consideration of continuity between faces, there is an advantage that the encoding / decoding efficiency can be increased.
본 발명에 의하면, 360도 영상을 극지방 영역과 중간 영역으로 나누어 프레임 패킹을 수행함으로써, 부호화/복호화 효율을 높일 수 있는 이점이 있다.According to the present invention, frame packing is performed by dividing a 360-degree image into a polar region and an intermediate region, thereby improving encoding / decoding efficiency.
본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable in the present invention are not limited to the above-mentioned effects, and other effects not mentioned above may be clearly understood by those skilled in the art from the following description. will be.
도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
도 2는 본 발명의 일실시예에 따른 영상 복호화 장치를 나타낸 블록도이다.2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
도 3은 코딩 블록이 화면 간 예측으로 부호화되었을 때, 코딩 블록에 적용될 수 있는 파티션 모드를 예시한 도면이다.3 is a diagram illustrating a partition mode that can be applied to a coding block when the coding block is encoded by inter-screen prediction.
도 4 내지 도 6은 파노라믹 영상 생성을 위한 카메라 장치를 예시한 도면이다. 4 to 6 are diagrams illustrating a camera apparatus for generating a panoramic image.
도 7은 360도 비디오 데이터 생성 장치 및 360도 비디오 플레이 장치의 블록도이다.7 is a block diagram of a 360 degree video data generating device and a 360 degree video playing device.
도 8은 360도 비디오 데이터 생성 장치 및 360도 비디오 플레이 장치의 동작을 나타낸 흐름도이다.8 is a flowchart illustrating operations of a 360 degree video data generating device and a 360 degree video playing device.
도 9는 등장방형도법을 이용한 2D 투영 방법을 나타낸 것이다.9 illustrates a 2D projection method using an isotonic method.
도 10은 정육면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.10 illustrates a 2D projection method using a cube projection technique.
도 11은 이십면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.11 illustrates a 2D projection method using a icosahedron projection technique.
도 12는 정팔면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.12 illustrates a 2D projection method using an octahedron projection technique.
도 13은 절삭형 피라미드 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.13 illustrates a 2D projection method using a truncated pyramid projection technique.
도 14는 페이스 2D 좌표 및 3차원 좌표간 변환을 설명하기 위해 예시한 도면이다.14 is a diagram for explaining the conversion between the face 2D coordinates and the three-dimensional coordinates.
도 15 내지 도 22는 OHP 기법 하의 프레임 패킹 방법을 예시한 도면이다.15 to 22 illustrate a frame packing method under the OHP technique.
도 23 및 도 24는 극지방 영역을 정방 형태의 블록으로 재정렬하는 예를 나타낸 도면이다.23 and 24 illustrate examples of rearranging polar regions in square blocks.
도 25 내지 도 28은 본 발명에 따른 프레임 패킹 방법의 일 예를 나타낸 도면이다.25 to 28 are views illustrating an example of a frame packing method according to the present invention.
도 29는 극지방 영역을 비정방 형태의 블록으로 재정렬하는 예를 나타낸 도면이다.FIG. 29 is a diagram illustrating an example of rearranging polar regions in a non-square block.
도 30 및 도 31은 본 발명에 따른 프레임 패킹 방법의 일 예를 나타낸 도면이다.30 and 31 are views illustrating an example of a frame packing method according to the present invention.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the drawings, similar reference numerals are used for similar elements.
제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may exist in the middle. Should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. Hereinafter, the same reference numerals are used for the same components in the drawings, and duplicate descriptions of the same components are omitted.
도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
도 1을 참조하면, 영상 부호화 장치(100)는 픽쳐 분할부(110), 예측부(120, 125), 변환부(130), 양자화부(135), 재정렬부(160), 엔트로피 부호화부(165), 역양자화부(140), 역변환부(145), 필터부(150) 및 메모리(155)를 포함할 수 있다.Referring to FIG. 1, the image encoding apparatus 100 may include a picture splitter 110, a predictor 120 and 125, a transformer 130, a quantizer 135, a realigner 160, and an entropy encoder. 165, an inverse quantizer 140, an inverse transformer 145, a filter 150, and a memory 155.
도 1에 나타난 각 구성부들은 영상 부호화 장치에서 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시한 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리범위에 포함된다.Each of the components shown in FIG. 1 is independently illustrated to represent different characteristic functions in the image encoding apparatus, and does not mean that each of the components is made of separate hardware or one software component unit. In other words, each component is included in each component for convenience of description, and at least two of the components may be combined into one component, or one component may be divided into a plurality of components to perform a function. Integrated and separate embodiments of the components are also included within the scope of the present invention without departing from the spirit of the invention.
또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.In addition, some of the components may not be essential components for performing essential functions in the present invention, but may be optional components for improving performance. The present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included in the scope of the present invention.
픽쳐 분할부(110)는 입력된 픽쳐를 적어도 하나의 처리 단위로 분할할 수 있다. 이때, 처리 단위는 예측 단위(Prediction Unit: PU)일 수도 있고, 변환 단위(Transform Unit: TU)일 수도 있으며, 부호화 단위(Coding Unit: CU)일 수도 있다. 픽쳐 분할부(110)에서는 하나의 픽쳐에 대해 복수의 부호화 단위, 예측 단위 및 변환 단위의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 하나의 부호화 단위, 예측 단위 및 변환 단위 조합을 선택하여 픽쳐를 부호화 할 수 있다.The picture dividing unit 110 may divide the input picture into at least one processing unit. In this case, the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU). The picture dividing unit 110 divides one picture into a combination of a plurality of coding units, prediction units, and transformation units, and combines one coding unit, prediction unit, and transformation unit on a predetermined basis (eg, a cost function). You can select to encode the picture.
예를 들어, 하나의 픽쳐는 복수개의 부호화 단위로 분할될 수 있다. 픽쳐에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(Quad Tree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있는데 하나의 영상 또는 최대 크기 부호화 단위(largest coding unit)를 루트로 하여 다른 부호화 단위로 분할되는 부호화 유닛은 분할된 부호화 단위의 개수만큼의 자식 노드를 가지고 분할될 수 있다. 일정한 제한에 따라 더 이상 분할되지 않는 부호화 단위는 리프 노드가 된다. 즉, 하나의 코딩 유닛에 대하여 정방형 분할만이 가능하다고 가정하는 경우, 하나의 부호화 단위는 최대 4개의 다른 부호화 단위로 분할될 수 있다.For example, one picture may be divided into a plurality of coding units. In order to split a coding unit in a picture, a recursive tree structure such as a quad tree structure may be used, and coding is divided into other coding units by using one image or a largest coding unit as a root. The unit may be split with as many child nodes as the number of split coding units. Coding units that are no longer split according to certain restrictions become leaf nodes. That is, when it is assumed that only square division is possible for one coding unit, one coding unit may be split into at most four other coding units.
이하, 본 발명의 실시예에서는 부호화 단위는 부호화를 수행하는 단위의 의미로 사용할 수도 있고, 복호화를 수행하는 단위의 의미로 사용할 수도 있다.Hereinafter, in an embodiment of the present invention, a coding unit may be used as a unit for encoding or may be used as a unit for decoding.
예측 단위는 하나의 부호화 단위 내에서 동일한 크기의 적어도 하나의 정사각형 또는 직사각형 등의 형태를 가지고 분할된 것일 수도 있고, 하나의 부호화 단위 내에서 분할된 예측 단위 중 어느 하나의 예측 단위가 다른 하나의 예측 단위와 상이한 형태 및/또는 크기를 가지도록 분할된 것일 수도 있다.The prediction unit may be split in the form of at least one square or rectangle having the same size in one coding unit, or the prediction unit of any one of the prediction units split in one coding unit is different from one another. It may be divided to have a different shape and / or size than the unit.
부호화 단위를 기초로 인트라 예측을 수행하는 예측 단위를 생성시 최소 부호화 단위가 아닌 경우, 복수의 예측 단위 NxN 으로 분할하지 않고 인트라 예측을 수행할 수 있다.When generating the prediction unit that performs the intra prediction based on the coding unit, when the prediction unit is not the minimum coding unit, the intra prediction may be performed without splitting into a plurality of prediction units NxN.
예측부(120, 125)는 인터 예측을 수행하는 인터 예측부(120)와 인트라 예측을 수행하는 인트라 예측부(125)를 포함할 수 있다. 예측 단위에 대해 인터 예측을 사용할 것인지 또는 인트라 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 인트라 예측 모드, 모션 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 모션 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(165)에서 부호화되어 복호화기에 전달될 수 있다. 특정한 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.The predictors 120 and 125 may include an inter predictor 120 that performs inter prediction and an intra predictor 125 that performs intra prediction. Whether to use inter prediction or intra prediction on the prediction unit may be determined, and specific information (eg, an intra prediction mode, a motion vector, a reference picture, etc.) according to each prediction method may be determined. In this case, the processing unit in which the prediction is performed may differ from the processing unit in which the prediction method and the details are determined. For example, the method of prediction and the prediction mode may be determined in the prediction unit, and the prediction may be performed in the transform unit. The residual value (residual block) between the generated prediction block and the original block may be input to the transformer 130. In addition, prediction mode information and motion vector information used for prediction may be encoded by the entropy encoder 165 together with the residual value and transmitted to the decoder. When a specific encoding mode is used, the original block may be encoded as it is and transmitted to the decoder without generating the prediction block through the prediction units 120 and 125.
인터 예측부(120)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수도 있고, 경우에 따라서는 현재 픽쳐 내의 부호화가 완료된 일부 영역의 정보를 기초로 예측 단위를 예측할 수도 있다. 인터 예측부(120)는 참조 픽쳐 보간부, 모션 예측부, 움직임 보상부를 포함할 수 있다. The inter prediction unit 120 may predict the prediction unit based on the information of at least one of the previous picture or the next picture of the current picture. In some cases, the inter prediction unit 120 may predict the prediction unit based on the information of the partial region in which the encoding is completed in the current picture. You can also predict units. The inter predictor 120 may include a reference picture interpolator, a motion predictor, and a motion compensator.
참조 픽쳐 보간부에서는 메모리(155)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.The reference picture interpolator may receive reference picture information from the memory 155 and generate pixel information of an integer pixel or less in the reference picture. In the case of luminance pixels, a DCT based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels. In the case of a chrominance signal, a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
모션 예측부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 모션 예측을 수행할 수 있다. 모션 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 모션 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 모션 벡터값을 가질 수 있다. 모션 예측부에서는 모션 예측 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 모션 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction) 방법, 인트라 블록 카피(Intra Block Copy) 방법 등 다양한 방법이 사용될 수 있다.The motion predictor may perform motion prediction based on the reference picture interpolated by the reference picture interpolator. As a method for calculating a motion vector, various methods such as full search-based block matching algorithm (FBMA), three step search (TSS), and new three-step search algorithm (NTS) may be used. The motion vector may have a motion vector value of 1/2 or 1/4 pixel units based on the interpolated pixels. The motion prediction unit may predict the current prediction unit by using a different motion prediction method. As the motion prediction method, various methods such as a skip method, a merge method, an advanced motion vector prediction (AMVP) method, an intra block copy method, and the like may be used.
인트라 예측부(125)는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀 정보를 기초로 예측 단위를 생성할 수 있다. 현재 예측 단위의 주변 블록이 인터 예측을 수행한 블록이어서, 참조 픽셀이 인터 예측을 수행한 픽셀일 경우, 인터 예측을 수행한 블록에 포함되는 참조 픽셀을 주변의 인트라 예측을 수행한 블록의 참조 픽셀 정보로 대체하여 사용할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.The intra predictor 125 may generate a prediction unit based on reference pixel information around the current block, which is pixel information in the current picture. If the neighboring block of the current prediction unit is a block that has performed inter prediction, and the reference pixel is a pixel that has performed inter prediction, the reference pixel of the block that has performed intra prediction around the reference pixel included in the block where the inter prediction has been performed Can be used as a substitute for information. That is, when the reference pixel is not available, the unavailable reference pixel information may be replaced with at least one reference pixel among the available reference pixels.
인트라 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행시 방향성 정보를 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측하기 위해 사용된 인트라 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.In intra prediction, a prediction mode may have a directional prediction mode using reference pixel information according to a prediction direction, and a non-directional mode using no directional information when performing prediction. The mode for predicting the luminance information and the mode for predicting the color difference information may be different, and the intra prediction mode information or the predicted luminance signal information used for predicting the luminance information may be utilized to predict the color difference information.
인트라 예측을 수행할 때 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 인트라 예측을 수행할 수 있다. 그러나 인트라 예측을 수행할 때 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 인트라 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 NxN 분할을 사용하는 인트라 예측을 사용할 수 있다.When performing intra prediction, if the size of the prediction unit and the size of the transform unit are the same, the intra prediction on the prediction unit is performed based on the pixels on the left of the prediction unit, the pixels on the upper left, and the pixels on the top. Can be performed. However, when performing intra prediction, if the size of the prediction unit is different from that of the transform unit, intra prediction may be performed using a reference pixel based on the transform unit. In addition, intra prediction using NxN division may be used only for a minimum coding unit.
인트라 예측 방법은 예측 모드에 따라 참조 화소에 AIS(Adaptive Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 화소에 적용되는 AIS 필터의 종류는 상이할 수 있다. 인트라 예측 방법을 수행하기 위해 현재 예측 단위의 인트라 예측 모드는 현재 예측 단위의 주변에 존재하는 예측 단위의 인트라 예측 모드로부터 예측할 수 있다. 주변 예측 단위로부터 예측된 모드 정보를 이용하여 현재 예측 단위의 예측 모드를 예측하는 경우, 현재 예측 단위와 주변 예측 단위의 인트라 예측 모드가 동일하면 소정의 플래그 정보를 이용하여 현재 예측 단위와 주변 예측 단위의 예측 모드가 동일하다는 정보를 전송할 수 있고, 만약 현재 예측 단위와 주변 예측 단위의 예측 모드가 상이하면 엔트로피 부호화를 수행하여 현재 블록의 예측 모드 정보를 부호화할 수 있다.The intra prediction method may generate a prediction block after applying an adaptive intra smoothing (AIS) filter to a reference pixel according to a prediction mode. The type of AIS filter applied to the reference pixel may be different. In order to perform the intra prediction method, the intra prediction mode of the current prediction unit may be predicted from the intra prediction mode of the prediction unit existing around the current prediction unit. When the prediction mode of the current prediction unit is predicted by using the mode information predicted from the neighboring prediction unit, if the intra prediction mode of the current prediction unit and the neighboring prediction unit is the same, the current prediction unit and the neighboring prediction unit using the predetermined flag information If the prediction modes of the current prediction unit and the neighboring prediction unit are different, entropy encoding may be performed to encode the prediction mode information of the current block.
또한, 예측부(120, 125)에서 생성된 예측 단위를 기초로 예측을 수행한 예측 단위와 예측 단위의 원본 블록과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(130)로 입력될 수 있다. Also, a residual block may include a prediction unit performing prediction based on the prediction units generated by the prediction units 120 and 125 and residual information including residual information that is a difference from an original block of the prediction unit. The generated residual block may be input to the transformer 130.
변환부(130)에서는 원본 블록과 예측부(120, 125)를 통해 생성된 예측 단위의 잔차값(residual)정보를 포함한 잔차 블록을 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), KLT와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지, DST를 적용할지 또는 KLT를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 단위의 인트라 예측 모드 정보를 기초로 결정할 수 있다. The transform unit 130 converts the residual block including residual information of the original block and the prediction unit generated by the prediction units 120 and 125 into a discrete cosine transform (DCT), a discrete sine transform (DST), and a KLT. You can convert using the same conversion method. Whether to apply DCT, DST, or KLT to transform the residual block may be determined based on intra prediction mode information of the prediction unit used to generate the residual block.
양자화부(135)는 변환부(130)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(135)에서 산출된 값은 역양자화부(140)와 재정렬부(160)에 제공될 수 있다.The quantization unit 135 may quantize the values converted by the transformer 130 into the frequency domain. The quantization coefficient may change depending on the block or the importance of the image. The value calculated by the quantization unit 135 may be provided to the inverse quantization unit 140 and the reordering unit 160.
재정렬부(160)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.The reordering unit 160 may reorder coefficient values with respect to the quantized residual value.
재정렬부(160)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(160)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔 대신 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔이 사용될 수도 있다. 즉, 변환 단위의 크기 및 인트라 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.The reordering unit 160 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. For example, the reordering unit 160 may scan from DC coefficients to coefficients in the high frequency region by using a Zig-Zag scan method and change them into one-dimensional vectors. Depending on the size of the transform unit and the intra prediction mode, a vertical scan that scans two-dimensional block shape coefficients in a column direction instead of a zig-zag scan may be used, and a horizontal scan that scans two-dimensional block shape coefficients in a row direction. That is, according to the size of the transform unit and the intra prediction mode, it is possible to determine which scan method among the zig-zag scan, the vertical scan, and the horizontal scan is used.
엔트로피 부호화부(165)는 재정렬부(160)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다. The entropy encoder 165 may perform entropy encoding based on the values calculated by the reordering unit 160. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
엔트로피 부호화부(165)는 재정렬부(160) 및 예측부(120, 125)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 모션 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 부호화할 수 있다. The entropy encoder 165 receives residual value coefficient information, block type information, prediction mode information, partition unit information, prediction unit information, transmission unit information, and motion of the coding unit from the reordering unit 160 and the prediction units 120 and 125. Various information such as vector information, reference frame information, interpolation information of a block, and filtering information can be encoded.
엔트로피 부호화부(165)에서는 재정렬부(160)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다.The entropy encoder 165 may entropy encode a coefficient value of a coding unit input from the reordering unit 160.
역양자화부(140) 및 역변환부(145)에서는 양자화부(135)에서 양자화된 값들을 역양자화하고 변환부(130)에서 변환된 값들을 역변환한다. 역양자화부(140) 및 역변환부(145)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다. The inverse quantizer 140 and the inverse transformer 145 inverse quantize the quantized values in the quantizer 135 and inversely transform the transformed values in the transformer 130. The residual value generated by the inverse quantizer 140 and the inverse transformer 145 is reconstructed by combining the prediction units predicted by the motion estimator, the motion compensator, and the intra predictor included in the predictors 120 and 125. You can create a Reconstructed Block.
필터부(150)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다.The filter unit 150 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).
디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.The deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture. In order to determine whether to perform deblocking, it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block. When the deblocking filter is applied to the block, a strong filter or a weak filter may be applied according to the required deblocking filtering strength. In addition, in applying the deblocking filter, horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.The offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image. In order to perform offset correction for a specific picture, the pixels included in the image are divided into a predetermined number of areas, and then, an area to be offset is determined, an offset is applied to the corresponding area, or offset considering the edge information of each pixel. You can use this method.
ALF(Adaptive Loop Filtering)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 수행될 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF 필터의 모양 및 필터 계수는 달라질 수 있다. 또한, 적용 대상 블록의 특성에 상관없이 동일한 형태(고정된 형태)의 ALF 필터가 적용될 수도 있다. Adaptive Loop Filtering (ALF) may be performed based on a value obtained by comparing the filtered reconstructed image with the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and filtering may be performed for each group. For information related to whether to apply ALF, a luminance signal may be transmitted for each coding unit (CU), and the shape and filter coefficient of an ALF filter to be applied may vary according to each block. In addition, regardless of the characteristics of the block to be applied, the same type (fixed form) of the ALF filter may be applied.
메모리(155)는 필터부(150)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 인터 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.The memory 155 may store the reconstructed block or picture calculated by the filter unit 150, and the stored reconstructed block or picture may be provided to the predictors 120 and 125 when performing inter prediction.
도 2는 본 발명의 일실시예에 따른 영상 복호화 장치를 나타낸 블록도이다.2 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.
도 2를 참조하면, 영상 복호화기(200)는 엔트로피 복호화부(210), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230, 235), 필터부(240), 메모리(245)가 포함될 수 있다.Referring to FIG. 2, the image decoder 200 includes an entropy decoder 210, a reordering unit 215, an inverse quantizer 220, an inverse transformer 225, a predictor 230, 235, and a filter unit ( 240, a memory 245 may be included.
영상 부호화기에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 영상 부호화기와 반대의 절차로 복호화될 수 있다.When an image bitstream is input from the image encoder, the input bitstream may be decoded by a procedure opposite to that of the image encoder.
엔트로피 복호화부(210)는 영상 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 예를 들어, 영상 부호화기에서 수행된 방법에 대응하여 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 방법이 적용될 수 있다. The entropy decoder 210 may perform entropy decoding in a procedure opposite to that of the entropy encoding performed by the entropy encoder of the image encoder. For example, various methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be applied to the method performed by the image encoder.
엔트로피 복호화부(210)에서는 부호화기에서 수행된 인트라 예측 및 인터 예측에 관련된 정보를 복호화할 수 있다.The entropy decoder 210 may decode information related to intra prediction and inter prediction performed by the encoder.
재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(215)에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다.The reordering unit 215 may reorder the entropy decoded bitstream by the entropy decoding unit 210 based on a method of rearranging the bitstream. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form. The reordering unit 215 may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the corresponding encoder.
역양자화부(220)는 부호화기에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다. The inverse quantization unit 220 may perform inverse quantization based on the quantization parameter provided by the encoder and the coefficient values of the rearranged block.
역변환부(225)는 영상 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 변환 즉, DCT, DST, 및 KLT에 대해 역변환 즉, 역 DCT, 역 DST 및 역 KLT를 수행할 수 있다. 역변환은 영상 부호화기에서 결정된 전송 단위를 기초로 수행될 수 있다. 영상 복호화기의 역변환부(225)에서는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 변환 기법(예를 들어, DCT, DST, KLT)이 선택적으로 수행될 수 있다.The inverse transform unit 225 may perform an inverse transform, i.e., an inverse DCT, an inverse DST, and an inverse KLT, for a quantization result performed by the image encoder, that is, a DCT, DST, and KLT. Inverse transformation may be performed based on a transmission unit determined by the image encoder. The inverse transform unit 225 of the image decoder may selectively perform a transform scheme (eg, DCT, DST, KLT) according to a plurality of pieces of information such as a prediction method, a size of a current block, and a prediction direction.
예측부(230, 235)는 엔트로피 복호화부(210)에서 제공된 예측 블록 생성 관련 정보와 메모리(245)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다. The prediction units 230 and 235 may generate the prediction block based on the prediction block generation related information provided by the entropy decoder 210 and previously decoded blocks or picture information provided by the memory 245.
전술한 바와 같이 영상 부호화기에서의 동작과 동일하게 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 인트라 예측을 수행하지만, 인트라 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 인트라 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 NxN 분할을 사용하는 인트라 예측을 사용할 수도 있다.As described above, when performing the intra prediction in the same manner as the operation in the image encoder, when the size of the prediction unit and the size of the transformation unit are the same, the pixel present on the left side, the pixel present on the upper left side, and the upper part exist Intra prediction is performed on a prediction unit based on a pixel, but when intra prediction is performed, when the size of the prediction unit and the size of the transformation unit are different, intra prediction may be performed using a reference pixel based on the transformation unit. Can be. In addition, intra prediction using NxN division may be used only for a minimum coding unit.
예측부(230, 235)는 예측 단위 판별부, 인터 예측부 및 인트라 예측부를 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부(210)에서 입력되는 예측 단위 정보, 인트라 예측 방법의 예측 모드 정보, 인터 예측 방법의 모션 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 인터 예측을 수행하는지 아니면 인트라 예측을 수행하는지 여부를 판별할 수 있다. 인터 예측부(230)는 영상 부호화기에서 제공된 현재 예측 단위의 인터 예측에 필요한 정보를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 인터 예측을 수행할 수 있다. 또는, 현재 예측 단위가 포함된 현재 픽쳐 내에서 기-복원된 일부 영역의 정보를 기초로 인터 예측을 수행할 수도 있다.The predictors 230 and 235 may include a prediction unit determiner, an inter predictor, and an intra predictor. The prediction unit determiner receives various information such as prediction unit information input from the entropy decoder 210, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction unit from the current coding unit, and predicts It may be determined whether the unit performs inter prediction or intra prediction. The inter prediction unit 230 predicts the current prediction based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction unit by using information required for inter prediction of the current prediction unit provided by the image encoder. Inter prediction may be performed on a unit. Alternatively, inter prediction may be performed based on information of some regions pre-restored in the current picture including the current prediction unit.
인터 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 모션 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode), 인트라 블록 카피 모드 중 어떠한 방법인지 여부를 판단할 수 있다.In order to perform inter prediction, a motion prediction method of a prediction unit included in a coding unit based on a coding unit includes a skip mode, a merge mode, an AMVP mode, and an intra block copy mode. It can be determined whether or not it is a method.
인트라 예측부(235)는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 단위가 인트라 예측을 수행한 예측 단위인 경우, 영상 부호화기에서 제공된 예측 단위의 인트라 예측 모드 정보를 기초로 인트라 예측을 수행할 수 있다. 인트라 예측부(235)에는 AIS(Adaptive Intra Smoothing) 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 영상 부호화기에서 제공된 예측 단위의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.The intra predictor 235 may generate a prediction block based on pixel information in the current picture. When the prediction unit is a prediction unit that has performed intra prediction, intra prediction may be performed based on intra prediction mode information of the prediction unit provided by the image encoder. The intra predictor 235 may include an adaptive intra smoothing (AIS) filter, a reference pixel interpolator, and a DC filter. The AIS filter is a part of filtering the reference pixel of the current block and determines whether to apply the filter according to the prediction mode of the current prediction unit. AIS filtering may be performed on the reference pixel of the current block by using the prediction mode and the AIS filter information of the prediction unit provided by the image encoder. If the prediction mode of the current block is a mode that does not perform AIS filtering, the AIS filter may not be applied.
참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 인트라 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다.When the prediction mode of the prediction unit is a prediction unit that performs intra prediction based on a pixel value interpolating the reference pixel, the reference pixel interpolator may generate a reference pixel having an integer value or less by interpolating the reference pixel. If the prediction mode of the current prediction unit is a prediction mode for generating a prediction block without interpolating the reference pixel, the reference pixel may not be interpolated. The DC filter may generate the prediction block through filtering when the prediction mode of the current block is the DC mode.
복원된 블록 또는 픽쳐는 필터부(240)로 제공될 수 있다. 필터부(240)는 디블록킹 필터, 오프셋 보정부, ALF를 포함할 수 있다.The reconstructed block or picture may be provided to the filter unit 240. The filter unit 240 may include a deblocking filter, an offset correction unit, and an ALF.
영상 부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화기의 디블록킹 필터에서는 영상 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. Information about whether a deblocking filter is applied to a corresponding block or picture, and when the deblocking filter is applied to the corresponding block or picture, may be provided with information about whether a strong filter or a weak filter is applied. In the deblocking filter of the image decoder, the deblocking filter related information provided by the image encoder may be provided and the deblocking filtering of the corresponding block may be performed in the image decoder.
오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값 정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.The offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
ALF는 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 적용될 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.The ALF may be applied to a coding unit based on ALF application information, ALF coefficient information, and the like provided from the encoder. Such ALF information may be provided included in a specific parameter set.
메모리(245)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다. The memory 245 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.
전술한 바와 같이 이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다.As described above, in the embodiment of the present invention, a coding unit is used as a coding unit for convenience of description, but may also be a unit for performing decoding as well as encoding.
또한, 현재 블록은, 부호화/복호화 대상 블록을 나타내는 것으로, 부호화/복호화 단계에 따라, 코딩 트리 블록(또는 코딩 트리 유닛), 부호화 블록(또는 부호화 유닛), 변환 블록(또는 변환 유닛) 또는 예측 블록(또는 예측 유닛) 등을 나타내는 것일 수 있다. 본 명세서에서, '유닛'은 특정 부호화/복호화 프로세스를 수행하기 위한 기본 단위를 나타내고, '블록'은 소정 크기의 샘플 어레이를 나타낼 수 있다. 별도의 구분이 없는 한, '블록'과 '유닛'은 동등한 의미로 사용될 수 있다. 예컨대, 후술되는 실시예에서, 부호화 블록(코딩 블록) 및 부호화 유닛(코딩 유닛)은 상호 동등한 의미인 것으로 이해될 수 있다. In addition, the current block represents a block to be encoded / decoded, and according to the encoding / decoding step, a coding tree block (or a coding tree unit), an encoding block (or a coding unit), a transform block (or a transform unit), or a prediction block. (Or prediction unit) or the like. In the present specification, 'unit' may indicate a basic unit for performing a specific encoding / decoding process, and 'block' may indicate a sample array having a predetermined size. Unless otherwise specified, 'block' and 'unit' may be used interchangeably. For example, in the embodiments described below, the coding block (coding block) and the coding unit (coding unit) may be understood to have the same meaning.
하나의 픽쳐는 정방형 또는 비정방형의 기본 블록으로 분할되어 부호화/복호화될 수 있다. 이때, 기본 블록은, 코딩 트리 유닛(Coding Tree Unit)이라 호칭될 수 있다. 코딩 트리 유닛은, 시퀀스 또는 슬라이스에서 허용하는 가장 큰 크기의 코딩 유닛으로 정의될 수도 있다. 코딩 트리 유닛이 정방형 또는 비정방형인지 여부 또는 코딩 트리 유닛의 크기와 관련한 정보는 시퀀스 파라미터 셋트, 픽처 파라미터 셋트 또는 슬라이스 헤더 등을 통해 시그널링될 수 있다. 코딩 트리 유닛은 더 작은 크기의 파티션으로 분할될 수 있다. 이때, 코딩 트리 유닛을 분할함으로써 생성된 파티션을 뎁스 1이라 할 경우, 뎁스 1인 파티션을 분할함으로써 생성된 파티션은 뎁스 2로 정의될 수 있다. 즉, 코딩 트리 유닛 내 뎁스 k인 파티션을 분할함으로써 생성된 파티션은 뎁스 k+1을 갖는 것으로 정의될 수 있다.One picture may be divided into square or non-square basic blocks and encoded / decoded. In this case, the basic block may be referred to as a coding tree unit. A coding tree unit may be defined as the largest coding unit allowed in a sequence or slice. Information regarding whether the coding tree unit is square or non-square or the size of the coding tree unit may be signaled through a sequence parameter set, a picture parameter set or a slice header. The coding tree unit may be divided into smaller sized partitions. In this case, when the partition generated by dividing the coding tree unit is called depth 1, the partition generated by dividing the partition having depth 1 may be defined as depth 2. That is, a partition generated by dividing a partition that is a depth k in a coding tree unit may be defined as having a depth k + 1.
코딩 트리 유닛이 분할됨에 따라 생성된 임의 크기의 파티션을 코딩 유닛이라 정의할 수 있다. 코딩 유닛은 재귀적으로 분할되거나, 예측, 양자화, 변환 또는 인루프 필터링 등을 수행하기 위한 기본 단위로 분할될 수 있다. 일 예로, 코딩 유닛이 분할됨에 따라 생성된 임의 크기의 파티션은 코딩 유닛으로 정의되거나, 예측, 양자화, 변환 또는 인루프 필터링 등을 수행하기 위한 기본 단위인 변환 유닛 또는 예측 유닛으로 정의될 수 있다.A partition of any size generated as the coding tree unit is split may be defined as a coding unit. The coding unit may be split recursively or split into basic units for performing prediction, quantization, transform, or in-loop filtering. For example, an arbitrary size partition generated as a coding unit is divided may be defined as a coding unit or a transform unit or a prediction unit that is a basic unit for performing prediction, quantization, transform, or in-loop filtering.
또는, 코딩 블록이 결정되면, 코딩 블록의 예측 분할을 통해 코딩 블록과 동일한 크기 또는 코딩 블록보다 작은 크기를 갖는 예측 블록(Prediction Block)을 결정할 수 있다. 코딩 블록의 예측 분할은 코딩 블록의 분할 형태를 나타내는 파티션 모드(Part_mode)에 의해 수행될 수 있다. 예측 블록의 크기 또는 형태는 코딩 블록의 파티션 모드에 따라 결정될 수 있다. 코딩 블록의 분할 형태는 파티션 후보 중 어느 하나를 특정하는 정보를 통해 결정될 수 있다. 이때, 코딩 블록이 이용할 수 있는 파티션 후보에는 코딩 블록의 크기, 형태 또는 부호화 모드 등에 따라 비대칭 파티션 형태(예컨대, nLx2N, nRx2N, 2NxnU, 2NxnD)가 포함될 수 있다. 일 예로, 코딩 블록이 이용할 수 있는 파티션 후보는 현재 블록의 부호화 모드에 따라 결정될 수 있다. 일 예로, 도 3은 코딩 블록이 화면 간 예측으로 부호화되었을 때, 코딩 블록에 적용될 수 있는 파티션 모드를 예시한 도면이다. Alternatively, when the coding block is determined, a prediction block having the same size as the coding block or a size smaller than the coding block may be determined through prediction division of the coding block. Predictive partitioning of a coding block may be performed by a partition mode (Part_mode) indicating a partition type of a coding block. The size or shape of the prediction block may be determined according to the partition mode of the coding block. The division type of the coding block may be determined through information specifying any one of partition candidates. In this case, the partition candidates available to the coding block may include an asymmetric partition shape (eg, nLx2N, nRx2N, 2NxnU, 2NxnD) according to the size, shape, or coding mode of the coding block. As an example, a partition candidate available to a coding block may be determined according to an encoding mode of the current block. As an example, FIG. 3 is a diagram illustrating a partition mode that may be applied to a coding block when the coding block is encoded by inter prediction.
코딩 블록이 화면 간 예측으로 부호화된 경우, 코딩 블록에는 도 3에 도시된 예에서와 같이, 8개의 파티션 모드 중 어느 하나가 적용될 수 있다. When the coding block is encoded by inter prediction, any one of eight partition modes may be applied to the coding block, as shown in the example illustrated in FIG. 3.
반면, 코딩 블록이 화면 내 예측으로 부호화된 경우, 코딩 블록에는 파티션 모드 PART_2Nx2N 또는 PART_NxN 이 적용될 수 있다. On the other hand, when a coding block is encoded by intra prediction, partition mode PART_2Nx2N or PART_NxN may be applied to the coding block.
PART_NxN은 코딩 블록이 최소 크기를 갖는 경우 적용될 수 있다. 여기서, 코딩 블록의 최소 크기는 부호화기 및 복호화기에서 기 정의된 것일 수 있다. 또는, 코딩 블록의 최소 크기에 관한 정보는 비트스트림을 통해 시그널링될 수도 있다. 일 예로, 코딩 블록의 최소 크기는 슬라이스 헤더를 통해 시그널링되고, 이에 따라, 슬라이스별로 코딩 블록의 최소 크기가 정의될 수 있다. PART_NxN may be applied when the coding block has a minimum size. Here, the minimum size of the coding block may be predefined in the encoder and the decoder. Alternatively, information about the minimum size of the coding block may be signaled through the bitstream. As an example, the minimum size of the coding block is signaled through the slice header, and accordingly, the minimum size of the coding block may be defined for each slice.
다른 예로, 코딩 블록이 이용할 수 있는 파티션 후보는 코딩 블록의 크기 또는 형태 중 적어도 하나에 따라 상이하게 결정될 수도 있다. 일 예로, 코딩 블록이 이용할 수 있는 파티션 후보의 개수 또는 종류는 코딩 블록의 크기 또는 형태 중 적어도 하나에 따라 상이하게 결정될 수 있다. As another example, the partition candidates available to the coding block may be determined differently according to at least one of the size or shape of the coding block. For example, the number or type of partition candidates that a coding block may use may be differently determined according to at least one of the size or shape of the coding block.
또는, 코딩 블록이 이용할 수 있는 파티션 후보들 중 비대칭 파티션 후보들의 종류 또는 개수를 코딩 블록의 크기 또는 형태에 따라 제한할 수도 있다. 일 예로, 코딩 블록이 이용할 수 있는 비대칭 파티션 후보의 개수 또는 종류는 코딩 블록의 크기 또는 형태 중 적어도 하나에 따라 상이하게 결정될 수 있다.Alternatively, the type or number of asymmetric partition candidates among partition candidates available to the coding block may be limited according to the size or shape of the coding block. As an example, the number or type of asymmetric partition candidates that a coding block may use may be differently determined according to at least one of the size or shape of the coding block.
일반적으로, 예측 블록의 크기는 64x64 부터 4x4의 크기를 가질 수 있다. 단, 코딩 블록이 화면 간 예측으로 부호화된 경우, 움직임 보상을 수행할 때, 메모리 대역폭(memory bandwidth)을 줄이기 위해, 예측 블록이 4x4 크기를 갖지 않도록 할 수 있다. In general, the size of the prediction block may have a size of 64x64 to 4x4. However, when the coding block is encoded by inter prediction, when the motion compensation is performed, the prediction block may not have a 4x4 size in order to reduce the memory bandwidth.
카메라의 화각에 따라 카메라가 촬영한 비디오의 시야는 제한된다. 이를 극복하기 위해, 복수의 카메라를 이용하여 영상을 촬영하고, 촬영된 영상을 스티칭하여 하나의 비디오 또는 하나의 비트스트림을 구성할 수 있다. 일 예로, 도 4 내지 도 6은 복수개의 카메라를 이용하여 동시에 상하, 좌우 또는 전후방을 촬영하는 예를 나타낸다. 이처럼, 복수의 비디오를 스티칭하여 생성된 비디오를 파노라믹 비디오라 호칭할 수 있다. 특히, 소정의 중심축을 기준으로 회전 자유도(Degree of Freedom)를 갖는 영상을 360도 비디오라 호칭할 수 있다. 예컨대, 360도 비디오는 Yaw, Roll, Pitch 중 적어도 하나에 대한 회전 자유도를 갖는 영상일 수 있다.The field of view of the camera limits the field of view of the video taken by the camera. In order to overcome this problem, a plurality of cameras may be used to capture an image, and the captured image may be stitched to configure one video or one bitstream. For example, FIGS. 4 to 6 illustrate an example of capturing up, down, left, and right sides simultaneously using a plurality of cameras. As such, a video generated by stitching a plurality of videos may be referred to as a panoramic video. In particular, an image having a degree of freedom based on a predetermined central axis may be referred to as 360 degree video. For example, the 360 degree video may be an image having rotation degrees of freedom for at least one of Yaw, Roll, and Pitch.
360도 비디오를 획득하기 위한 카메라 구조(또는 카메라 배치)는, 도 4에 도시된 예에서와 같이, 원형 배열을 띠거나, 도 5의 (a)에 도시된 예에서와 같이 일차원 수직/수평 배치 또는 도 5의 (b)에 도시된 예에서와 같이 이차원 배치(즉, 수직 배치와 수평 배치가 혼합된 형태)를 띨 수 있다. 또는, 도 6에 도시된 예에서와 같이, 구형 디바이스에 복수개의 카메라를 장착한 형태를 띨 수도 있다.The camera structure (or camera arrangement) for acquiring 360-degree video has a circular arrangement, as in the example shown in FIG. 4, or a one-dimensional vertical / horizontal arrangement, as in the example shown in FIG. 5A. Alternatively, as in the example shown in FIG. 5B, a two-dimensional arrangement (that is, a mixture of vertical and horizontal arrangements) may be used. Alternatively, as shown in FIG. 6, a spherical device may be equipped with a plurality of cameras.
후술되는 실시예는, 360도 비디오를 중심으로 설명할 것이나, 360도 비디오가 아닌 파노라믹 비디오에도 후술되는 실시예를 적용하는 것은 본 발명의 기술적 범주에 포함된다 할 것이다.An embodiment to be described later will be described based on 360 degree video, but it will be included in the technical scope of the present invention to apply the embodiment to be described later to a panoramic video which is not a 360 degree video.
도 7은 360도 비디오 데이터 생성 장치 및 360도 비디오 플레이 장치의 블록도이고, 도 8은 360도 비디오 데이터 생성 장치 및 360도 비디오 플레이 장치의 동작을 나타낸 흐름도이다.FIG. 7 is a block diagram of a 360 degree video data generating apparatus and a 360 degree video playing apparatus, and FIG. 8 is a flowchart illustrating operations of the 360 degree video data generating apparatus and 360 degree video playing apparatus.
도 7을 참조하면, 360도 비디오 데이터 생성 장치는, 투영부(710), 프레임 패킹부(720), 인코딩부(730) 및 전송부(740)를 포함하고, 360도 비디오 플레이 장치는, 파일 파싱부(750), 디코딩부(760), 프레임 디패킹부(770) 및 역투영부(780)를 포함할 수 있다. 도 7에 도시된 인코딩부 및 디코딩부는 각각 도 1 및 도 2에 도시된 영상 부호화 장치 및 영상 복호화 장치에 대응하는 것일 수 있다.Referring to FIG. 7, the 360-degree video data generating apparatus includes a projection unit 710, a frame packing unit 720, an encoding unit 730, and a transmission unit 740. It may include a parser 750, a decoder 760, a frame depacking unit 770, and a reverse projection unit 780. The encoding unit and the decoding unit illustrated in FIG. 7 may correspond to the image encoding apparatus and the image decoding apparatus illustrated in FIGS. 1 and 2, respectively.
데이터 생성 장치는, 복수의 카메라로 촬영된 영상을 스티칭함으로써 생성된 360도 영상의 투영 변환 기법을 결정할 수 있다. 투사부(710)에서는, 결정된 투영 변환 기법에 따라, 360도 비디오의 3D 형태를 결정하고, 결정된 3D 형태에 따라, 360도 비디오를 2D 평면상에 투영할 수 있다(S801). 여기서, 투영 변환 기법은, 360도 비디오의 3D 형태 및 2D 평면상에 360도 비디오가 전개되는 양상을 나타낼 수 있다. 360도 영상은 투영 변환 기법에 따라, 3D 공간상에서, 구, 원통, 정육면체, 정팔면체 또는 정이십면체 등의 형태를 갖는 것으로 근사될 수 있다. 투영 변환 기법에 따라, 360도 비디오를 2D 평면에 투영하여 생성된 영상을 360도 투사 영상이라 호칭할 수 있다.The data generating apparatus may determine a projection conversion technique of the 360 degree image generated by stitching the images photographed by the plurality of cameras. The projection unit 710 may determine the 3D form of the 360 degree video according to the determined projection transformation technique, and project the 360 degree video onto the 2D plane according to the determined 3D form (S801). Here, the projection transformation technique may represent an aspect in which the 360 degree video is developed on the 3D form and the 2D plane of the 360 degree video. The 360-degree image may be approximated as having a form of sphere, cylinder, cube, octahedron or icosahedron in 3D space, according to a projection transformation technique. According to a projection transformation technique, an image generated by projecting a 360 degree video onto a 2D plane may be referred to as a 360 degree projection image.
360도 투사 영상은 투영 변환 기법에 따라 적어도 하나의 페이스로 구성될 수 있다. 일 예로, 360도 비디오가 다면체로 근사되는 경우, 다면체를 구성하는 각각의 면을 페이스라 정의할 수 있다. 또는, 다면체를 구성하는 특정면을 복수 영역으로 분할하고, 분할된 각 영역이 별개의 페이스를 구성하도록 설정할 수도 있다. 구 형태로 근사되는 360도 비디오도, 투영 변환 기법에 따라 복수의 페이스를 가질 수 있다. The 360 degree projection image may be composed of at least one face according to a projection conversion technique. For example, when the 360 degree video is approximated as a polyhedron, each face constituting the polyhedron may be defined as a face. Alternatively, the specific surface constituting the polyhedron may be divided into a plurality of regions, and the divided regions may be set to form separate faces. The 360 degree video approximated in the shape of a sphere may have a plurality of faces according to the projection transformation technique.
360도 비디오에 대한 부호화/복호화 효율을 높이기 위해, 프레임 패킹부(720)에서 프레임 패킹(Frame Packing)이 수행될 수 있다(S802). 프레임 패킹은, 페이스의 재정렬, 크기 변경, 와핑(Warping), 회전 또는 플리핑(flipping) 중 적어도 하나를 포함할 수 있다. 프레임 패킹을 통해, 360도 투사 영상을 부호화/복호화 효율이 높은 형태(예컨대, 직사각형)로 변환하거나, 페이스들 사이의 불연속 데이터를 제거할 수 있다. 프레임 패킹을 프레임 재정렬 또는 리전 와이즈 패킹(Region-wise Packing)이라 호칭할 수도 있다. 프레임 패킹은 360도 투사 영상에 대한 부호화/복호화 효율을 향상시키기 위해 선택적으로 수행될 수도 있다.In order to increase the encoding / decoding efficiency for the 360 degree video, the frame packing may be performed in the frame packing unit 720 (S802). Frame packing may include at least one of reordering, resizing, warping, rotating, or flipping a face. Through frame packing, the 360-degree projection image may be converted into a form (eg, a rectangle) having high encoding / decoding efficiency, or discontinuity data between faces may be removed. Frame packing may also be referred to as frame reordering or region-wise packing. Frame packing may be selectively performed to improve encoding / decoding efficiency for the 360 degree projection image.
인코딩부(730)에서는, 360도 투사 영상 또는 프레임 패킹이 수행된 360도 투사 영상에 대해 부호화를 수행할 수 있다(S803). 이때, 인코딩부(730)는, 360도 비디오에 대한 투영 변환 기법을 나타내는 정보를 부호화할 수 있다. 여기서, 투영 변환 기법을 나타내는 정보는, 복수의 투영 변환 기법 중 어느 하나를 나타내는 인덱스 정보일 수 있다.The encoding unit 730 may perform encoding on the 360 degree projection image or the 360 degree projection image on which the frame packing is performed (S803). In this case, the encoder 730 may encode information indicating a projection transformation technique for the 360 degree video. Here, the information indicating the projection transformation technique may be index information indicating any one of the plurality of projection transformation techniques.
또한, 인코딩부(730)는, 360도 비디오에 대한 프레임 패킹과 관련된 정보를 부호화할 수 있다. 여기서, 프레임 패킹과 관련된 정보는, 프레임 패킹이 수행되었는지 여부, 페이스의 개수, 페이스의 위치, 페이스의 크기, 페이스의 형태 또는 페이스의 회전 정보 중 적어도 하나를 포함할 수 있다.In addition, the encoder 730 may encode information related to frame packing for the 360 degree video. Here, the information related to the frame packing may include at least one of whether frame packing is performed, the number of faces, the position of the face, the size of the face, the shape of the face, or the rotation information of the face.
전송부(740)에서는 캡슐화(Encapsulation)하고, 캡슐화된 데이터를 플레이어 단말로 전송할 수 있다(S804).The transmitter 740 may encapsulate and transmit the encapsulated data to the player terminal (S804).
파일 파싱부(750)는, 컨텐트 제공 장치로부터 수신한 파일을 파싱(Parsing)할 수 있다(S805). 디코딩부(760)에서는, 파싱된 데이터를 이용하여 360도 투사 영상을 디코딩할 수 있다(S806). The file parsing unit 750 may parse the file received from the content providing device (S805). The decoding unit 760 may decode the 360 degree projection image using the parsed data (S806).
360도 투사 영상에 프레임 패킹이 수행된 경우, 프레임 디패킹부(760)는, 컨텐트 제공 측에서 수행된 프레임 패킹과 반대인 프레임 디패킹(Region-wise depacking)을 수행할 수 있다(S807). 프레임 디패킹은, 프레임 패킹된 360도 투사 영상을, 프레임 패킹이 수행되기 이전으로 복원하는 것일 수 있다. 예컨대, 프레임 디패킹은, 데이터 생성 장치에서 수행된 페이스의 재정렬, 크기 변경, 와핑(Warping), 회전 또는 플리핑(flipping)을 역으로 수행하는 것일 수 있다.When frame packing is performed on the 360-degree projection image, the frame depacking unit 760 may perform frame depacking (Region-wise depacking) opposite to the frame packing performed on the content providing side (S807). Frame depacking may be to restore the frame packed 360 degree projection image to before frame packing is performed. For example, frame depacking may be to reverse the reordering, resizing, warping, rotation, or flipping of a face performed in the data generating device.
역투영부(780)는, 360도 비디오의 투영 변환 기법에 따라, 2D 평면상의 360도 투사 영상을 3D 형태로 역투영(Inverse Projection)할 수 있다(S808).The inverse projection unit 780 may inversely project the 360 degree projection image on the 2D plane in a 3D form according to a projection transformation technique of the 360 degree video (S808).
투영 변환 기법은, 등장방형도법(ERP, Equirectangular Procection), 정육면체 투영 변환(Cube Map Projection, CMP), 이십면체 투영 변환(Icosahedral Projection, ISP), 정팔면체 투영 변환(Octahedron Projection, OHP), 절삭형 피라미드 투영 변환(Truncated Pyramid Projection, TPP), SSP(Shpere Segment Projection), ECP(Equatorial cylindrical projection) 또는 RSP(rotated sphere projection) 중 적어도 하나를 포함할 수 있다.Projection transformation techniques include isotropic rectangular projection (ERP), cubic projection transformation (Cube Map Projection, CMP), isosahedral projection transformation (ISP), octahedron projection transformation (Octahedron Projection, OHP), truncated pyramid It may include at least one of a projection transform (Truncated Pyramid Projection (TPP)), a Sharpe Segment Projection (SSP), an Equatorial cylindrical projection (ECP), or a rotated sphere projection (RSP).
도 9는 등장방형도법을 이용한 2D 투영 방법을 나타낸 것이다.9 illustrates a 2D projection method using an isotonic method.
등장방형도법은 구에 대응하는 픽셀을 N:1의 종횡비를 갖는 직사각형으로 투영하는 방법으로, 가장 널리 사용되는 2D 변환 기법이다. 여기서, N은 2일 수도 있고, 2 이하 또는 2 이상의 실수일 수도 있다. 등장형도법을 이용할 경우, 구의 극으로 갈수록 2D 평면 상에서 단위 길이에 대응하는 구의 실제 길이가 짧아진다. 예컨대, 2D 평면 상의 단위 길이 양끝의 좌표가 구의 적도 부근에서는 20cm의 거리 차이에 상응하는 반면, 구의 극 부근에서는 5cm의 거리 차이에 상응할 수 있다. 이에 따라, 등장방형도법은, 구의 극 부근에서는 영상 왜곡이 커 부호화 효율이 낮아지는 단점이 있다.The isotropic method is a method of projecting a pixel corresponding to a sphere into a rectangle having an aspect ratio of N: 1, which is the most widely used 2D transformation technique. Here, N may be two, and may be two or less or two or more real numbers. With isotonicity, the actual length of the sphere corresponding to the unit length on the 2D plane becomes shorter toward the pole of the sphere. For example, the coordinates of both ends of the unit length on the 2D plane may correspond to a distance difference of 20 cm near the equator of the sphere, while corresponding to a distance difference of 5 cm near the pole of the sphere. As a result, the isotropic rectangular method has a disadvantage in that the image distortion is large and coding efficiency is lowered near the poles of the sphere.
도 10은 정육면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.10 illustrates a 2D projection method using a cube projection technique.
정육면체 투영 기법은, 360도 비디오를 정육면체로 근사한 뒤, 정육면체를 2D로 투영 변환하는 것이다. 360도 비디오를 정육면체로 투영할 경우, 하나의 페이스(face)(또는 면(plane))는 4개의 페이스와 인접하도록 구성된다. 각 페이스 간 연속성이 높아, 정육면체 투영 방법은 등장방형도법에 비해 부호화 효율이 높은 이점이 있다. 360도 비디오를 2D로 투영 변환한 이후, 2D 투영 변환된 영상을 사각형 형태로 재정렬하여 부호화/복호화를 수행할 수도 있다. The cube projection technique involves approximating a 360-degree video to a cube and then converting the cube into 2D. When projecting a 360 degree video onto a cube, one face (or plane) is configured to adjoin four faces. The continuity between the faces is high, and the cube projection method has an advantage of higher coding efficiency than the isotonic diagram method. After projection-converting the 360-degree video to 2D, encoding / decoding may be performed by rearranging the 2D projection-converted image into a quadrangle form.
도 11은 이십면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.11 illustrates a 2D projection method using a icosahedron projection technique.
이십면체 투영 기법은, 360도 비디오를 이십면체로 근사하고, 이를 2D로 투영 변환하는 방법이다. 이십면체 투영 기법은 페이스간 연속성이 강한 특징이 있다. 도 11에 도시된 예에서와 같이, 2D 투영 변환된 영상 내 페이스들을 재정렬하여 부호화/복호화를 수행할 수도 있다.The icosahedron projection technique is a method of approximating a 360 degree video to an icosahedron and converting it into 2D. The icosahedral projection technique is characterized by strong continuity between faces. As in the example shown in FIG. 11, encoding / decoding may be performed by rearranging faces in the 2D projection-converted image.
도 12는 정팔면체 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.12 illustrates a 2D projection method using an octahedron projection technique.
정팔면체 투영 방법은, 360도 비디오를 정팔면체로 근사하고, 이를 2D로 투영 변환하는 방법이다. 정팔면체 투영 기법은 페이스간 연속성이 강한 특징이 있다. 도 12에 도시된 예에서와 같이, 2D 투영 변환된 영상 내 페이스들을 재정렬하여 부호화/복호화를 수행할 수도 있다.The octahedral projection method is a method of approximating a 360 degree video to an octahedron and converting it into 2D. The octahedral projection technique is characterized by strong continuity between faces. As in the example shown in FIG. 12, encoding / decoding may be performed by rearranging faces in the 2D projection-converted image.
도 13은 절삭형 피라미드 투영 기법을 이용한 2D 투영 방법을 나타낸 것이다.13 illustrates a 2D projection method using a truncated pyramid projection technique.
절삭형 피라미드 투영 기법은, 360도 비디오를 절삭형 피라미드로 근사하고, 이를 2D로 투영 변환하는 방법이다. 절삭형 피라미드 투영 기법 하에서, 특정 시점의 페이스는 이웃하는 페이스와 상이한 크기를 갖도록 프레임 패킹이 수행될 수 있다. 예컨대, 도 13에 도시된 예에서와 같이, Front 페이스는 측면 페이스 및 Back 페이스보다 큰 크기를 가질 수 있다. 절삭형 피라미드 투영 기법을 이용할 경우, 특정 시점의 영상 데이터가 커, 특정 시점의 부호화/복호화 효율이 타 시점에 비해 높은 이점이 있다. The truncated pyramid projection technique is a method of approximating a 360 degree video to a truncated pyramid and converting it into 2D. Under a truncated pyramid projection technique, frame packing may be performed such that the face at a particular point in time has a different size than the neighboring face. For example, as in the example shown in FIG. 13, the front face may have a larger size than the side face and the back face. When the truncated pyramid projection technique is used, image data of a specific viewpoint is large, and thus the encoding / decoding efficiency of the specific viewpoint is higher than that of other viewpoints.
SSP는 구 형태의 360도 비디오를 고위도 지역 및 중위도 지역으로 나누어, 2D 투영 변환을 수행하는 방법이다. 구체적으로, SSP를 따를 경우, 구 상의 남북 2개의 고위도 지역을 2D 평면 상의 2개의 원으로 매핑시키고, 구 상의 중위도 지역을 ERP와 같이 2D 평면 상의 직사각형으로 매핑시킬 수 있다.SSP is a method of dividing a spherical 360-degree video into high- and mid-latitude regions and performing 2D projection transformation. Specifically, when the SSP is followed, the two high latitude regions of the sphere may be mapped to two circles on the 2D plane, and the mid-latitude regions of the sphere may be mapped to the rectangles on the 2D plane like the ERP.
ECP는 구 형태의 360도 비디오를 원통 형으로 변환한 뒤, 원통 형의 360도 비디오를 2D 투영 변환하는 방법이다. 구체적으로, ECP를 따를 경우, 원통의 윗면 및 아랫면을 2D 평면상의 2개의 원으로 매핑시키고, 원통의 몸통을 2D 평면 상의 직사각형으로 매핑시킬 수 있다. ECP converts spherical 360-degree video into cylindrical form and then converts cylindrical 360-degree video into 2D projection. Specifically, when the ECP is followed, the top and bottom of the cylinder can be mapped to two circles on the 2D plane, and the body of the cylinder can be mapped to the rectangle on the 2D plane.
RSP는 테니스공을 감싸는 구 형태의 360도 비디오를 2D 평면 상의 2개의 타원으로 투영 변환하는 방법을 나타낸다. RSP represents a method of converting a spherical 360 degree video of a tennis ball into two ellipses on a 2D plane.
360도 투사 영상의 각 샘플은, 페이스 2D 좌표로 식별될 수 있다. 페이스 2D 좌표는, 샘플이 위치한 페이스를 식별하기 위한 인덱스 f, 360도 투사 영상에서의 샘플 그리드를 나타내는 좌표 (m, n)을 포함될 수 있다. Each sample of the 360 degree projection image may be identified by face 2D coordinates. The face 2D coordinates may include an index f for identifying the face where the sample is located, a coordinate (m, n) representing a sample grid in a 360 degree projection image.
페이스 2D 좌표 및 3차원 좌표간 변환을 통해, 2D 투영 변환 및 영상 렌더링이 수행될 수 있다. 일 예로, 도 14는 페이스 2D 좌표 및 3차원 좌표간 변환을 설명하기 위해 예시한 도면이다. ERP에 기초하여 360도 투사 영상이 생성된 경우, 하기 수학식 1 내지 3을 이용하여, 3차원 좌표 (x, y, z) 및 페이스 2D 좌표 (f, m, n) 간 변환이 수행될 수 있다.Through the transformation between the face 2D coordinates and the 3D coordinates, 2D projection transformation and image rendering may be performed. As an example, FIG. 14 is a diagram illustrating a conversion between a face 2D coordinate and a 3D coordinate. When a 360 degree projection image is generated based on the ERP, conversion between three-dimensional coordinates (x, y, z) and face 2D coordinates (f, m, n) may be performed using Equations 1 to 3 below. have.
Figure PCTKR2018003243-appb-M000001
Figure PCTKR2018003243-appb-M000001
Figure PCTKR2018003243-appb-I000001
Figure PCTKR2018003243-appb-I000001
Figure PCTKR2018003243-appb-M000002
Figure PCTKR2018003243-appb-M000002
Figure PCTKR2018003243-appb-I000002
Figure PCTKR2018003243-appb-I000002
Figure PCTKR2018003243-appb-M000003
Figure PCTKR2018003243-appb-M000003
360도 투사 영상에서 현재 픽처는 적어도 하나 이상의 페이스를 포함할 수 있다. 이때, 페이스의 개수는 투영 방법에 따라, 1, 2, 3, 4 또는 그 이상의 자연수일 수 있다. 페이스 2D 좌표 중 f는 페이스 개수보다 같거나 작은 값으로 설정될 수 있다. 현재 픽처는 동일한 시간적 순서 또는 출력 순서(POC)를 갖는 적어도 하나 이상의 페이스를 포함할 수 있다.The current picture in the 360 degree projection image may include at least one or more faces. In this case, the number of faces may be 1, 2, 3, 4 or more natural numbers, depending on the projection method. Among the face 2D coordinates, f may be set to a value equal to or smaller than the number of faces. The current picture may include at least one or more faces having the same temporal order or output order (POC).
또는, 현재 픽처를 구성하는 페이스의 개수는 고정적 혹은 가변적일 수 있다. 예컨대, 현재 픽처를 구성하는 페이스의 개수는 소정의 문턱값을 넘지 않도록 제한될 수 있다. 여기서, 문턱값은 부호화기 및 복호화기에서 기 약속된 고정된 값일 수 있다. 또는, 하나의 픽처를 구성하는 페이스의 최대 개수에 관한 정보를 비트스트림을 통해 시그널링할 수도 있다. Alternatively, the number of faces constituting the current picture may be fixed or variable. For example, the number of faces constituting the current picture may be limited not to exceed a predetermined threshold. Here, the threshold value may be a fixed value previously promised by the encoder and the decoder. Alternatively, information about the maximum number of faces constituting one picture may be signaled through a bitstream.
페이스들은 투영 방법에 따라, 현재 픽처를 수평 라인, 수직 라인 또는 대각 방향 라인 중 적어도 하나를 이용하여 구획함으로써 결정될 수 있다. The faces may be determined by partitioning the current picture using at least one of a horizontal line, a vertical line, or a diagonal line, depending on the projection method.
픽처 내 각 페이스들에는, 각 페이스들을 식별하기 위한 인덱스가 할당될 수 있다. 각 페이스는 타일(tile) 또는 슬라이스(slice) 등과 같이 병렬처리가 가능할 수 있다. 이에 따라, 현재 블록의 인트라 예측 또는 인터 예측을 수행할 때, 현재 블록과 상이한 페이스에 속하는 이웃 블록은, 이용 불가능한 것으로 판단될 수 있다.Each face within a picture may be assigned an index to identify each face. Each face may be parallelized, such as a tile or a slice. Accordingly, when performing intra prediction or inter prediction of the current block, neighboring blocks belonging to different faces from the current block may be determined to be unavailable.
병렬 처리가 허용되지 않는 페이스들(또는 비 병렬처리 영역)을 정의하거나, 상호 의존성을 갖는 페이스들이 정의될 수도 있다. 예컨대, 병렬 처리가 허용되지 않는 페이스들 또는 상호 의존성을 갖는 페이스들은, 병렬 부호화/복호화되는 대신, 순차적으로 부호화/복호화될 수 있다. 이에 따라, 현재 블록과 상이한 페이스에 속하는 이웃 블록이라 하더라도, 페이스간 병렬처리 가능 여부 또는 의존성 등에 따라, 현재 블록의 인트라 예측 또는 인터 예측 시 이용 가능한 것으로 판단될 수도 있다.Paces (or non-parallel regions) where parallelism is not allowed may be defined, or faces with interdependencies may be defined. For example, faces that do not allow parallel processing or faces with interdependencies may be coded / decoded sequentially instead of being parallel coded / decoded. Accordingly, even neighboring blocks belonging to different faces from the current block may be determined to be available for intra prediction or inter prediction of the current block, depending on whether parallel processing between faces or dependencies is possible.
후술되는 실시예에서, 특정 투사 방법을 기초로 실시예가 설명되고 있다 하더라도, 특정 투사 방법 이외의 투사 방법에도, 후술되는 실시예가 확장 적용될 수 있다 할 것이다.In the embodiments described below, although the embodiments are described based on the specific projection method, the embodiments described below may be extended to the projection methods other than the specific projection method.
도 12에 도시된 OHP 기법 및 프레임 패킹 기법에 의할 경우, 이웃하는 페이스들이 3D 공간상에서는 상호 불연속인 문제점이 존재한다. 예컨대, 도 12에서는, 5번 페이스의 좌측 경계가 3D 공간상에서 연속성을 갖지 않는 1번 페이스의 우측 경계에 인접 위치하고, 5번 페이스의 우측 경계가 3D 공간상에서 연속성을 갖지 않는 2번 페이스의 좌측 경계에 인접 위치하는 것으로 도시되었다. According to the OHP technique and the frame packing technique illustrated in FIG. 12, there is a problem that neighboring faces are mutually discontinuous in 3D space. For example, in FIG. 12, the left boundary of face 5 is adjacent to the right boundary of face 1 that does not have continuity in 3D space, and the right boundary of face 5 has a left boundary of face 2 that does not have continuity in 3D space. It is shown to be located adjacent to.
이처럼, 3D 공간상에서 불연속적인 페이스들이 상호 인접하도록 프레임 패킹을 수행할 경우, 페이스들간 공간적 상관관계가 작아지고, 불연속적인 데이터가 발생하여, 영상 압축 효율이 저하되는 문제점이 있다. 이에 따라, 투영 변환 기법 별로, 페이스들 사이의 연속성을 고려한 프레임 패킹이 수행되어야 할 필요가 있다. As such, when frame packing is performed such that discontinuous faces are adjacent to each other in 3D space, spatial correlation between the faces is reduced, discontinuous data is generated, and image compression efficiency is deteriorated. Accordingly, frame packing considering the continuity between faces needs to be performed for each projection transformation technique.
설명의 편의를 위해, 후술되는 도면에서, 정팔면체를 2D 공간상에 전개하였을 때, 상단에 위치하는 페이스를 '상단 페이스'라 호칭하고, 하단에 위치하는 페이스를 '하단 페이스'라 호칭하기로 한다.For convenience of description, in the following drawings, when the octahedron is deployed in 2D space, the face located at the top will be referred to as 'top face', and the face located at the bottom will be referred to as 'bottom face'. .
도 15 내지 도 22는 OHP 기법 하의 프레임 패킹 방법을 예시한 도면이다.15 to 22 illustrate a frame packing method under the OHP technique.
우선, 3D 공간상에서 연속성을 갖는 세개의 페이스가 인접 배치되도록, 프레임 패킹을 수행할 수 있다. First, frame packing may be performed such that three faces having continuity in 3D space are disposed adjacent to each other.
일 예로, 도 15에 도시된 예에서와 같이, 2D 전개도 상에서 상단에 위치하는 상단 페이스 2, 3, 4가 상호 연속성을 갖도록 배치될 수 있다. 이때, 상단 페이스 2, 3, 4가 연속성을 띠도록 하기 위해, 상단 페이스 3 좌우의 상단 페이스 2, 4를 회전할 수 있다.For example, as in the example shown in FIG. 15, the top faces 2, 3, and 4 positioned at the top of the 2D development view may be arranged to have mutual continuity. At this time, in order to make the upper faces 2, 3 and 4 have continuity, the upper faces 2 and 4 of the upper and lower faces 3 may be rotated.
이후, 2개 이상의 페이스가 상호 연속성을 띠도록 하여, 잔여 페이스들의 적어도 일부를 배치할 수 있다. 일 예로, 도 15에 도시된 예에서와 같이, 2D 전개도 상에서 하단에 위치하는 하단 페이스 5, 6이 상호 연속성을 갖도록 배치하고, 하단 페이스 7, 8이 상호 연속성을 갖도록 배치할 수 있다. 상기 하단 페이스들이 연속성을 띠도록, 하단 페이스들을 회전하는 것 역시 가능하다. 이후, 나머지 1개의 페이스를 영상의 좌측, 우측 또는 빈 공간에 배치할 수 있다. 일 예로, 도 15의 (a) 또는 (d)에 도시된 예에서와 같이, 상단 페이스 1을 영상의 좌측 또는 우측에 배치하거나, 도 15의 (b) 또는 (c)에 도시된 예에서와 같이, 두 페이스 사이에, 상단 페이스 1을 배치할 수 있다. Thereafter, the two or more faces may be mutually continuous, thereby placing at least some of the remaining faces. For example, as shown in the example shown in FIG. 15, the bottom faces 5 and 6 positioned at the bottom on the 2D development view may be arranged to have mutual continuity, and the bottom faces 7 and 8 may be arranged to have mutual continuity. It is also possible to rotate the bottom faces such that the bottom faces are continuous. Thereafter, the remaining one face may be arranged on the left side, the right side, or the empty space of the image. For example, as in the example shown in (a) or (d) of FIG. 15, the upper face 1 is disposed on the left or right side of the image, or in the example shown in (b) or (c) of FIG. 15. Similarly, you can place top face 1 between two faces.
다른 예로, 도 16의 (a) 및 (b)에 도시된 예에서와 같이, 2D 전개도 상에서 하단에 위치하는 하단 페이스 6, 7, 8이 상호 연속성을 갖도록 배치될 수 있다. 이때, 하단 페이스 6, 7, 8이 연속성을 띠도록 하기 위해, 하단 페이스 7 좌우의 하단 페이스 6, 8을 회전할 수 있다.As another example, as in the example shown in (a) and (b) of Figure 16, the bottom faces 6, 7, 8 located at the bottom on the 2D development view may be arranged to have mutual continuity. At this time, in order to make the lower faces 6, 7, and 8 have continuity, the lower faces 6 and 8 of the lower face 7 may be rotated.
이후, 2개 이상의 페이스가 상호 연속성을 띠도록 하여, 잔여 페이스들의 적어도 일부를 배치할 수 있다. 일 예로, 도 16에 도시된 예에서와 같이, 2D 전개도 상에서 상단에 위치하는 상단 페이스 1, 2가 상호 연속성을 갖도록 배치하고, 상단 페이스 3, 4가 상호 연속성을 갖도록 배치할 수 있다. 상기 상단 페이스들이 연속성을 띠도록, 하단 페이스들을 회전하는 것 역시 가능하다. 이후, 나머지 1개의 페이스를 영상의 좌측, 우측 또는 빈 공간에 배치할 수 있다. 일 예로, 도 16의 (a) 또는 (d)에 도시된 예에서와 같이, 하단 페이스 5를 영상의 좌측 또는 우측에 배치하거나, 도 16의 (b) 또는 (c)에 도시된 예에서와 같이, 두 페이스 사이에, 하단 페이스 5를 배치할 수 있다. Thereafter, the two or more faces may be mutually continuous, thereby placing at least some of the remaining faces. For example, as in the example shown in FIG. 16, the top faces 1 and 2 positioned at the top of the 2D development view may be arranged to have mutual continuity, and the top faces 3 and 4 may be arranged to have the mutual continuity. It is also possible to rotate the bottom faces such that the top faces are continuous. Thereafter, the remaining one face may be arranged on the left side, the right side, or the empty space of the image. For example, as in the example shown in (a) or (d) of FIG. 16, the lower face 5 is disposed on the left or right side of the image, or in the example shown in (b) or (c) of FIG. 16. Likewise, you can place the lower face 5 between the two faces.
OHP 기법하에서 각 페이스들은 삼각형인 바, 각 페이스들을 일렬로 배치함으로써 획득되는 영상이 직사각형 형태가 아니라는 문제점이 있다. 이에 따라, 소정 페이스를 2개로 분할하여, 분할된 제1 부분 및 제2 부분을 영상의 양단에 배치하는 프레임 패킹을 수행할 수도 있다.Each face is a triangle under the OHP technique, and the problem is that the image obtained by arranging the faces in a line is not rectangular. Accordingly, by dividing the predetermined face into two, frame packing may be performed in which the divided first portion and the second portion are disposed at both ends of the image.
도 17은 상단 페이스 2, 3, 4가 연속성을 갖도록 배치된 예를 나타낸 도면이고, 도 18은 하단 페이스 6, 7, 8이 연속성을 갖도록 배치된 예를 나타낸 도면이다. 도시된 예에서, 영상의 좌측 또는 우측에 배치된 페이스를 2분할하고, 분할된 제1 부분을 영상의 좌측, 분할된 제2 부분을 영상의 우측에 배치하여 프레임 패킹이 수행될 수 있다.17 is a view showing an example in which the upper faces 2, 3, 4 are arranged to have continuity, and FIG. 18 is a view showing an example in which the lower faces 6, 7, 8 are arranged to have continuity. In the illustrated example, frame packing may be performed by dividing a face disposed on the left side or the right side of the image in two, and arranging the divided first portion on the left side of the image and the divided second portion on the right side of the image.
구체적 예로, 도 17의 (a) 또는 (d)에 도시된 예에서와 같이, 상단 페이스 1을 2개로 분할하여, 분할된 제1 부분(1-R)을 영상의 좌측 또는 영상의 상단에 배치하고, 분할된 제2 부분(1-L)을 영상의 우측 또는 영상의 하단에 배치할 수 있다. 도 17의 (c) 및 (d)에서는 각각 하단 페이스 7 및 하단 페이스 8이 2분할되는 예가 도시되었다.For example, as in the example illustrated in (a) or (d) of FIG. 17, the upper face 1 is divided into two, and the divided first portion 1-R is disposed on the left side or the top of the image. The divided second portion 1 -L may be disposed on the right side of the image or the bottom of the image. 17 (c) and (d) show an example in which the lower face 7 and the lower face 8 are divided into two, respectively.
도 18의 (a) 또는 (b)에 도시된 예에서와 같이, 하단 페이스 5를 2개로 분할하여, 분할된 제1 부분(5-R)을 영상의 좌측 또는 영상의 상단에 배치하고, 분할된 제2 부분(5-L)을 영상의 우측 또는 영상의 하단에 배치할 수 있다. 도 18의 (c) 및 (d)에서는 각각 상단 페이스 4 및 상단 페이스 3이 2분할되는 예가 도시되었다.As in the example shown in (a) or (b) of FIG. 18, the lower face 5 is divided into two, the divided first portion 5-R is disposed on the left side of the image or the top of the image, and divided. The second portion 5-L may be disposed on the right side of the image or the bottom of the image. 18 (c) and (d) show an example in which the upper face 4 and the upper face 3 are divided into two, respectively.
도 15 내지 도 18에 도시된 2D 투사 영상을 시계 또는 반시계 방향으로 회전하여 프레임 패킹을 수행할 수도 있다. 일 예로, 2D 투사 영상을 시계 방향 또는 반시계 방향으로 90도, 180도, 270도 회전하는 프레임 패킹이 수행될 수 있다.Frame packing may be performed by rotating the 2D projection image illustrated in FIGS. 15 to 18 in a clockwise or counterclockwise direction. For example, frame packing may be performed to rotate the 2D projection image 90 degrees, 180 degrees, or 270 degrees in a clockwise or counterclockwise direction.
도 19 및 도 20은 상단 페이스 2, 3, 4가 연속성을 갖도록 배치된 예를 나타낸 도면이고, 도 21 및 도 22는 하단 페이스 6, 7, 8이 연속성을 갖도록 배치된 예를 나타낸 도면이다. 도시된 예에서와 같이, 회전을 통해 너비가 높이보다 긴 360도 투사 영상을 획득할 수 있다.19 and 20 are views showing an example in which the upper faces 2, 3, and 4 are arranged in continuity, and FIGS. 21 and 22 are views showing an example in which the lower faces 6, 7, and 8 are arranged in continuity. As shown in the illustrated example, a 360-degree projection image having a width longer than the height may be obtained through rotation.
360도 투사 영상의 높이가 너비보다 크도록 프레임 패킹을 수행하는 경우, 360도 투사 영상을 부호화/복호화함에 있어, 메모리 푸티지(memory footage)를 작게할 수 있어, 구현 시 데이터 버스 용량을 작게 유지할 수 있는 이점이 있다. 여기서, 메모리 푸티지는 하나의 샘플 어레이에서 메모리를 인출(fetch)하는 기본 단위를 의미할 수 있다.When frame packing is performed so that the height of the 360-degree projected image is larger than the width, the memory footage can be reduced in encoding / decoding the 360-degree projected image, thereby maintaining a small data bus capacity in the implementation. There is an advantage to this. Here, the memory footage may refer to a basic unit for fetching memory from one sample array.
앞서, 도 9를 통해 설명한 등장방형도법을 이용하는 경우, 극 지방에 가까울수록 단위 길이에 대응하는 구의 실제 길이가 짧아지게 된다. 이에 따라, 극 지방에 가까울수록 영상의 중복 및 왜곡이 심해져 부호화 효율이 저하되는 문제점이 발생할 수 있다. 이와 같은 문제를 해소하기 위해, ERP로 투영 변환된 영상을 복수의 영역으로 구획하고, 복수의 영역을 재배열하는 투영 변환 방법 또는 프레임 패킹 방법을 제안하고자 한다.In the case of using the isotonic diagram method described above with reference to FIG. 9, the closer to the polar region, the shorter the actual length of the sphere corresponding to the unit length. As a result, the closer the polar region is, the deeper the overlapping and distortion of the image, which may cause a problem in that the coding efficiency is lowered. In order to solve such a problem, a projection transformation method or a frame packing method for dividing an image converted by ERP into a plurality of regions and rearranging the plurality of regions is proposed.
먼저, ERP 기법을 이용하여 2D 투영 변환된 360도 투사 영상을 복수의 영역으로 분할할 수 있다. 여기서, 복수의 영역은 2개의 극지방 영역과 잔여 중앙 영역을 포함할 수도 있고, 크기가 동일한 N개의 영역을 포함할 수도 있다. 여기서, N은 2 이상의 자연수일 수 있다.First, the 2D projection-converted 360 degree projection image may be divided into a plurality of regions using the ERP technique. Here, the plurality of regions may include two polar regions and a remaining central region, or may include N regions having the same size. Here, N may be two or more natural numbers.
예컨대, ERP 기법을 기초로 투영 변환된 360도 투사 영상을 2개의 극지방 영역과 잔여 중앙 영역 등 3개의 영역으로 분할할 수 있다. 극지방 영역은, 360도 투사 영상의 상단 경계로부터 소정 높이에 해당하는 영역(북극 지방 영역) 및 360도 투사 영상의 하단 경계로부터 소정 높이에 해당하는 영역(남극 지방 영역)을 포함할 수 있다. 3D 공간에 구 형태로 근사된 360도 영상을 기준으로 볼 때, 북반구 및 남반구에서 위도값이 소정의 기준값 이상인 영역을 극지방 영역으로 정의되고, 2개의 극지방 영역을 제외한 잔여 영역을 중앙 영역으로 정의될 수 있다. For example, the 360-degree projection image, which is converted by projection based on the ERP technique, may be divided into three regions, such as two polar regions and a remaining center region. The polar region may include a region corresponding to a predetermined height from the upper boundary of the 360 degree projection image (North pole region) and a region corresponding to a predetermined height from the bottom boundary of the 360 degree projection image (Antarctic region). Based on a 360-degree image approximated in the form of a sphere in 3D space, the region where the latitude value is above a predetermined reference value is defined as the polar region in the northern and southern hemispheres, and the remaining region except the two polar regions is defined as the central region. Can be.
분할된 영역에 대한 프레임 패킹을 수행함에 앞서, 분할된 영역 중 적어도 일부 영역의 형태 또는 크기를 변경할 수 있다. 일 예로, 2개의 극지방 영역을 소정 형태로 변형(또는 재정렬)할 수 있다. 여기서, 소정 형태는, 정방형 또는 비정방형 등의 사각 형태 블록일 수도 있고, 원 또는 사각형 이외의 다각 형태일 수도 있다. 이하 도면을 참조하여, 극지방 영역을 사각 형태의 블록으로 재정렬하는 예에 대해 상세히 설명하기로 한다.Prior to performing frame packing on the divided regions, the shape or size of at least some of the divided regions may be changed. For example, two polar regions may be modified (or rearranged) in a predetermined form. Here, the predetermined form may be a square block such as square or non-square, or may be a polygonal shape other than a circle or a square. Hereinafter, an example of rearranging the polar regions into rectangular blocks will be described in detail with reference to the accompanying drawings.
도 23 및 도 24는 극지방 영역을 정방 형태의 블록으로 재정렬하는 예를 나타낸 도면이다.23 and 24 illustrate examples of rearranging polar regions in square blocks.
도 23 및 도 24를 참조하면, 극지방 영역은 적어도 하나 이상의 스트라이프(stripe)(또는, 라인)를 포함하는 것으로 도시되었다. 여기서, 하나의 스트라이프(또는, 라인)는 하나의 샘플 행(row) 또는 기 정의된 개수의 샘플 행을 포함할 수 있다. 극지방 영역을 구성하는 스트라이프의 개수는 기 정의된 값으로 설정될 수도 있고, 또는 시퀀스 또는 슬라이스마다 적응적으로 설정될 수도 있다.Referring to FIGS. 23 and 24, the polar region is shown to include at least one stripe (or line). Here, one stripe (or line) may include one sample row or a predetermined number of sample rows. The number of stripes constituting the polar region may be set to a predefined value, or may be adaptively set for each sequence or slice.
일 예로, 도 23에 도시된 예에서와 같이, 높이가 H인 360도 투사 영상에서, 북극 영역 및 남극 영역의 크기(높이)는 H/4로 설정하고, 중앙 ERP 영역의 크기(높이)는 H/2로 설정할 수 있다.For example, in the 360-degree projection image having a height of H, as in the example shown in FIG. 23, the size (height) of the arctic region and the south pole region is set to H / 4, and the size (height) of the central ERP region is Can be set to H / 2.
3D 공간에 구 형태로 근사되는 360도 영상에서, 북반구 및 남반구에서 위도값이 45도 이상인 영역을 극지방 영역으로 정의되고, 2개의 극지방 영역을 제외한 잔여 영역을 중앙 영역으로 정의함으로써, 높이가 H/4인 극지방 영역과 높이가 H/2인 중앙 ERP 영역을 획득할 수도 있다. In a 360-degree image approximated in the form of a sphere in 3D space, the region with the latitude value of 45 degrees or more in the northern and southern hemispheres is defined as the polar region, and the remaining region except the two polar regions is defined as the central region, so that the height is H /. Polar regions of 4 and central ERP regions of height H / 2 may be obtained.
또는, 도 24에 도시된 예에서와 같이, 높이가 H인 360도 투사 영상에서, 북극 영역 및 남극 영역의 크기(높이)는 H/6으로 설정하고, 중앙 ERP 영역의 크기(높이)는 2H/3으로 설정할 수도 있다.Alternatively, as in the example shown in FIG. 24, in a 360 degree projection image having a height of H, the size (height) of the north pole region and the south pole region is set to H / 6, and the size (height) of the central ERP region is 2H. Can also be set to / 3.
3D 공간에 구 형태로 근사되는 360도 영상에서, 북반구 및 남반구에서 위도값이 30도 이상인 영역을 극지방 영역으로 정의되고, 2개의 극지방 영역을 제외한 잔여 영역을 중앙 영역으로 정의함으로써, 높이가 H/6인 극지방 영역과 높이가 2H/3인 중앙 ERP 영역을 획득할 수도 있다. In a 360-degree image approximated in the form of a sphere in 3D space, the region with the latitude value of 30 degrees or more in the northern and southern hemispheres is defined as the polar region, and the remaining region except the two polar regions is defined as the central region, so that the height is H /. A polar region of 6 and a central ERP region of 2H / 3 can also be obtained.
극지방 영역을 정방 형태의 블록으로 재정렬(또는 변환)할 경우, 극지방에서 멀어질수록 더 많은 샘플이 리샘플링되도록 설정함으로써, 극지방에서 발생하는 왜곡을 최소화할 수 있다. When the polar region is rearranged (or transformed) into a square block, it is possible to minimize the distortion occurring in the polar region by setting the sample to be resampled as it moves away from the polar region.
구체적으로, 극지방 영역을 사각 형태의 블록으로 재정렬할 때, 극에 해당하는 스트라이프(즉, ERP 투영 변환된 영상의 최상단/최하단의 스트라이프)를 사각 형태 블록의 중심점에 해당하는 샘플로 리샘플링하고, 잔여 스트라이프를 사각 형태 블록 내 사각 형태 라인으로 리샘플링할 수 있다. 일 예로, 극에 위치하는 스트라이프를 사각 형태 블록의 중심점에 해당하는 샘플로 리샘플링하고, 극에 위치하는 스트라이프에 인접한 스트라이프를 중심점에 해당하는 샘플을 감싸는 사각 형태 라인으로 리샘플링할 수 있다. 이처럼, 제1 스트라이프에 인접하면서, 제1 스트라이프보다 극에서 먼 제2 스트라이프를 제1 스트라이프를 감싸는 사각 형태 라인으로 리샘플링함으로써, 사각 형태 블록을 구성할 수 있다. Specifically, when the polar region is rearranged to the rectangular block, the stripe corresponding to the pole (that is, the top / bottom stripe of the ERP projection converted image) is resampled to the sample corresponding to the center point of the rectangular block, and the residual The stripe can be resampled into square lines in the square block. For example, the stripe located at the pole may be resampled into a sample corresponding to the center point of the rectangular block, and the stripe adjacent to the stripe located at the pole may be resampled into a rectangular line surrounding the sample corresponding to the center point. As such, the rectangular block may be configured by resampling the second stripe adjacent to the first stripe and farther away from the first stripe into the rectangular line surrounding the first stripe.
설명의 편의를 위해, 이하, 극지방 영역을 재정렬하여 구성되는 사각 형태의 블록을 '리샘플링 블록'이라 호칭하기로 한다. 아울러, 북극지방 영역을 재정렬하여 구성되는 사각 형태의 블록을 제1 리샘플링 블록이라 호칭하고, 남극지방 영역을 재정렬하여 구성되는 사각 형태의 블록을 제2 리샘플링 블록이라 호칭하기로 한다.For convenience of explanation, hereinafter, a rectangular block formed by rearranging polar regions is referred to as a 'resampling block'. In addition, a rectangular block formed by rearranging the arctic regions is referred to as a first resampling block, and a rectangular block formed by rearranging the south polar regions is referred to as a second resampling block.
리샘플링 블록의 크기는 극지방 영역의 크기(예를 들어, 극지방 영역의 너비 또는 높이) 또는 중앙 ERP 영역의 크기(예를 들어, 중앙 ERP 영역의 너비 또는 높이) 중 적어도 하나에 기초하여 가변적으로 결정될 수 있다. The size of the resampling block may be variably determined based on at least one of the size of the polar region (eg, the width or height of the polar region) or the size of the central ERP region (eg, the width or height of the central ERP region). have.
일 예로, 극지방 영역을 사각 형태의 블록으로 재정렬함으로써, 높이 및 너비가 극지방 영역 높이의 2배인 정방형 블록이 생성될 수 있다. 일 예로, H/4 높이인 극지방 영역을 한변의 크기가 H/2인 정방향 블록으로 재정렬하거나, H/6 높이인 극지방 영역을 한변의 크기가 H/3 높이인 정방형 블록으로 재정렬할 수 있다. 이에 따라, 도 23에 도시된 예에서, 극지방 영역의 높이가 중앙 ERP 영역 대비 1/2인 경우, 극지방 영역을 재정렬함에 따라 생성되는 정방형 블록의 높이는 중앙 ERP 영역과 같을 수 있다. 또는, 도 24에 도시된 예에서, 극지방 영역의 높이가 중앙 ERP 영역 대비 1/4인 경우, 극지방 영역을 재정렬함에 따라 생성되는 정방형 블록의 높이는 중앙 ERP 영역의 높이 대비 1/2의 크기를 가질 수 있다.As an example, by rearranging the polar regions into rectangular blocks, a square block having a height and a width twice the height of the polar region may be generated. For example, the polar region of H / 4 height may be rearranged into a forward block having a size of H / 2 on one side, or the polar region of H / 6 height may be rearranged into a square block having a size of H / 3 on one side. Accordingly, in the example illustrated in FIG. 23, when the height of the polar region is 1/2 of the height of the central ERP region, the height of the square block generated by rearranging the polar region may be the same as the central ERP region. Alternatively, in the example shown in FIG. 24, when the height of the polar region is 1/4 of the central ERP region, the height of the square block generated by rearranging the polar region has a size 1/2 of the height of the central ERP region. Can be.
리샘플링 블록의 크기를 결정하기 위해, 극지방 영역의 크기, 중앙 ERP 영역의 크기 또는 중앙 ERP 영역과 리샘플링 블록 간의 크기 비율을 나타내는 정보 중 적어도 하나가 부호화되어 비트스트림을 통해 복호화기로 전송될 수 있다. 이 경우, 복호화기는 극지방 영역의 크기, 중앙 ERP 영역의 크기 또는 중앙 ERP 영역과 리샘플링 블록 간의 크기비를 나타내는 정보 중 적어도 하나를 이용하여 리샘플링 블록의 크기를 결정할 수 있다. To determine the size of the resampling block, at least one of information indicating the size of the polar region, the size of the central ERP region, or the size ratio between the central ERP region and the resampling block may be encoded and transmitted to the decoder through the bitstream. In this case, the decoder may determine the size of the resampling block using at least one of the size of the polar region, the size of the central ERP region, or information indicating the size ratio between the central ERP region and the resampling block.
다른 예로, ERP 기법 또는 네스트디 폴리곤 ERP 기법에 대해, 리샘플링 블록의 크기, 중앙 ERP 영역의 크기 또는 중앙 ERP 영역과 리샘플링 블록 간의 크기 비율 중 적어도 하나가 기 정의되어 있을 수도 있다.As another example, for the ERP technique or the nested polygon ERP technique, at least one of the size of the resampling block, the size of the central ERP region, or the size ratio between the central ERP region and the resampling block may be predefined.
360도 투사 영상의 부호화/복호화 효율을 높이기 위해, 2차원 공간상에 페이스들을 재배열하는 프레임 재배열 또는 프레임 패킹(Frame Packing)이 수행될 수 있다. 도 23 및 도 24에 도시된 예에서, 2개의 리샘플링 블록 각각을 각기 다른 페이스로 정의할 수 있다. 아울러, 중앙 ERP 영역을 하나의 페이스로 정의하거나, 중앙 ERP 영역을 복수의 영역으로 구획하여, 구획된 각 영역을 페이스로 정의할 수도 있다. 프레임 패킹은, 극지방 영역에 해당하는 리샘플링 블록들과 중앙 ERP 영역의 일측에 배열함으로써 수행될 수 있다.In order to increase the encoding / decoding efficiency of the 360-degree projection image, a frame rearrangement or frame packing may be performed to rearrange faces in a two-dimensional space. In the example shown in FIG. 23 and FIG. 24, each of the two resampling blocks may be defined at different faces. In addition, the central ERP region may be defined as one face, or the central ERP region may be divided into a plurality of regions, and each partitioned region may be defined as a face. Frame packing may be performed by arranging the resampling blocks corresponding to the polar region and one side of the central ERP region.
도 25 내지 도 28은 본 발명에 따른 프레임 패킹 방법의 일 예를 나타낸 도면이다.25 to 28 are views illustrating an example of a frame packing method according to the present invention.
극지방 영역에 해당하는 리샘플링 블록들이 중앙 ERP 영역과 일렬로 배치되도록 프레임 패킹을 수행할 수 있다. 예컨대, 리샘플링 블록의 높이가 중앙 ERP 영역의 높이와 동일한 경우, 도 25에 도시된 예에서와 같이, 중앙 ERP 영역의 일측에 제1 리샘플링 블록 또는 제2 리샘플링 블록을 배치하고, 잔여 리샘플링 블록을 기 배치된 제1 리샘플링 블록 또는 제2 리샘플링 블록에 인접 배치하는 프레임 패킹을 수행할 수 있다. 이에 따라, 제1 리샘플링 블록 또는 제2 리샘플링 블록 중 어느 하나는 중앙 ERP 영역의 일측 경계에 인접 위치하는 반면 다른 하나는 중앙 ERP 영역에 이격된 상태일 수 있다.Frame packing may be performed such that the resampling blocks corresponding to the polar region are arranged in line with the central ERP region. For example, if the height of the resampling block is the same as the height of the central ERP region, as shown in the example shown in FIG. 25, the first resampling block or the second resampling block is disposed on one side of the central ERP region, and the remaining resampling block is written. Frame packing adjacent to the arranged first resampling block or the second resampling block may be performed. Accordingly, either one of the first resampling block or the second resampling block may be adjacent to one boundary of the central ERP region while the other may be spaced apart from the central ERP region.
또는, 극지방 영역에 해당하는 리샘플링 블록들이 모두 중앙 ERP 영역의 일측 경계에 인접하도록 프레임 패킹을 수행할 수도 있다. 예컨대, 리샘플링 블록의 높이가 중앙 ERP 영역의 높이 대비 1/2인 경우, 도 26에 도시된 예에서와 같이, 중앙 ERP 영역의 일측을 2개의 부분으로 나누어, 한 부분에는 제1 리샘플링 블록이 인접 위치하도록 배치하고, 나머지 부분에는 제2 리샘플링 블록이 인접 위치하도록 배치할 수 있다. 이때, 제1 리샘플링 블록 및 제2 리샘플링 블록의 위치는 기 정의되어 있을 수 있다.Alternatively, frame packing may be performed such that all of the resampling blocks corresponding to the polar region are adjacent to one boundary of the central ERP region. For example, when the height of the resampling block is 1/2 of the height of the central ERP region, as shown in FIG. 26, one side of the central ERP region is divided into two portions, and the first resampling block is adjacent to one portion. The second resampling block may be disposed adjacent to each other. In this case, positions of the first resampling block and the second resampling block may be predefined.
도 25 및 도 26에 도시된 예에서는 중앙 ERP 영역의 우측에 리샘플링 블록들이 배열되는 것으로 나타났으나, 이에 한정되지 않고, 중앙 ERP 영역의 좌측, 상단 또는 하단에 리샘플링 블록들을 배치하는 것도 가능하다. In the example illustrated in FIGS. 25 and 26, the resampling blocks are arranged on the right side of the central ERP region. However, the present invention is not limited thereto, and the resampling blocks may be disposed on the left side, the upper side, or the bottom side of the central ERP region.
또는, 중앙 ERP 영역의 양측에 리샘플링 블록들을 배치하는 것도 가능하다. 예컨대, 제1 리샘플링 블록 또는 제2 리샘플링 블록 중 하나를 중앙 ERP 영역의 좌측에 배치하고, 나머지 하나를 중앙 ERP 영역의 우측에 배치할 수 있다.Alternatively, the resampling blocks may be disposed on both sides of the central ERP region. For example, one of the first resampling block or the second resampling block may be disposed on the left side of the central ERP region, and the other one may be disposed on the right side of the central ERP region.
프레임 패킹 수행 시, 페이스들을 회전할 수도 있다. 일 예로, 도 27 및 도 28에 도시된 예에서와 같이, 도 25 및 도 26에 도시된 영상을 90도 회전하여 프레임 패킹을 수행할 수 있다. 도 27 및 도 28에 도시된 예에서는, 90도 회전된 중앙 ERP 영역의 하단부에 리샘플링 블록들이 배치되는 것으로 도시되었으나, 90도 회전된 중앙 ERP 영역의 상단부에 리샘플링 블록들을 배치하는 것도 가능하다. When performing frame packing, the faces may be rotated. For example, as in the example illustrated in FIGS. 27 and 28, frame packing may be performed by rotating the image illustrated in FIGS. 25 and 26 by 90 degrees. In the example shown in FIGS. 27 and 28, the resampling blocks are shown disposed at the lower end of the central ERP region rotated 90 degrees, but it is also possible to arrange the resampling blocks at the upper end of the central ERP region rotated 90 degrees.
이처럼, 도 25 및 도 26에 도시된 영상을 시계 방향 또는 반시계 방향으로 90도, 180도 또는 270도 회전하여 프레임 패킹을 수행할 수도 있다.As such, frame packing may be performed by rotating the image illustrated in FIGS. 25 and 26 by 90 degrees, 180 degrees, or 270 degrees in a clockwise or counterclockwise direction.
또한, 중앙 ERP 영역을 90도 회전하면서, 중앙 ERP 영역을 복수개의 페이스로 분할하는 것 역시 가능하다.It is also possible to divide the central ERP region into a plurality of faces while rotating the central ERP region by 90 degrees.
도 27 및 도 28에 도시된 예에서와 같이, 360도 투사 영상의 높이가 너비보다 크도록 프레임 패킹을 수행하는 경우, 360도 투사 영상을 부호화/복호화함에 있어, 메모리 푸티지(memory footage)를 작게할 수 있어, 구현 시 데이터 버스 용량을 작게 유지할 수 있는 이점이 있다. 여기서, 메모리 푸티지는 하나의 스트라이프에서 메모리를 인출(fetch)하는 기본 단위를 의미할 수 있다.As shown in FIGS. 27 and 28, when frame packing is performed such that the height of the 360-degree projected image is greater than the width, the memory footage is encoded when the 360-degree projected image is encoded / decoded. It can be made small, which has the advantage of keeping the data bus capacity small at implementation. Here, the memory footage may refer to a basic unit for fetching memory from one stripe.
도 23 및 도 24에서는, 극지방 영역이 정방 형태의 블록으로 재정렬되는 것으로 도시되었다. 다른 예로, 극지방 영역을 비정방 형태의 블록으로 재정렬할 수도 있다. In FIGS. 23 and 24, the polar regions are shown to be rearranged into square shaped blocks. As another example, polar regions may be rearranged into non-square blocks.
도 29는 극지방 영역을 비정방 형태의 블록으로 재정렬하는 예를 나타낸 도면이다. FIG. 29 is a diagram illustrating an example of rearranging polar regions in a non-square block.
극지방 영역을 사각 형태의 블록으로 재정렬할 때, 극에 해당하는 스트라이프를 특정 위치의 샘플로 리샘플링하고, 극에 위치하는 스트라이프에 인접한 스트라이프를 특정 위치 샘플을 감싸는 형태로 리샘플링할 수 있다. 일 예로, 극에 위치하는 스트라이프를 블록 경계에 인접하는 샘플로 리샘플링한 뒤, 극에 위치하는 스트라이프에 인접하는 스트라이프를 블록 경계에 인접하는 샘플을 감싸는 요철 형태 라인으로 리샘플링할 수 있다. 이처럼, 제1 스트라이프에 인접하면서, 제1 스트라이프보다 극에서 먼 제2 스트라이프를 제1 스트라이프를 감싸는 요철 형태 라인으로 리샘플링함으로써, 비정방 형태의 블록을 구성할 수 있다.When the polar regions are rearranged into rectangular blocks, the stripes corresponding to the poles may be resampled to samples at specific positions, and the stripes adjacent to the poles may be resampled to surround the samples at particular positions. For example, the stripe located at the pole may be resampled into a sample adjacent to the block boundary, and then the stripe adjacent to the stripe located at the pole may be resampled into an uneven line surrounding the sample adjacent to the block boundary. As described above, the non-square block can be configured by resampling the second stripe adjacent to the first stripe and farther away from the first stripe into the uneven line surrounding the first stripe.
도 29에 도시된 리샘플링 블록이 특정 방향으로 회전(예컨대, 90도, 180도 또는 270도 회전)된 상태가 되도록, 리샘플링 블록을 구성하는 것도 가능하다.It is also possible to configure the resampling block such that the resampling block shown in FIG. 29 is rotated (eg, rotated 90 degrees, 180 degrees or 270 degrees) in a specific direction.
360도 투사 영상의 부호화/복호화 효율을 높이기 위해, 비정방 형태의 블록을 중앙 ERP 영역의 일측에 비정방 형태의 블록을 배치하는 프레임 패킹이 수행될 수 있다.In order to increase the encoding / decoding efficiency of the 360-degree projection image, frame packing may be performed in which the non-square block is arranged on one side of the central ERP region.
도 30 및 도 31은 본 발명에 따른 프레임 패킹 방법의 일 예를 나타낸 도면이다.30 and 31 are views illustrating an example of a frame packing method according to the present invention.
도 30에 도시된 예에서와 같이, 중앙 ERP 영역의 일측 경계에 극지방 영역에 해당하는 리샘플링 블록들을 상하로 배열하는 프레임 패킹을 수행할 수 있다. 일 예로, 중앙 ERP 영역의 우측 경계 중 상단부에는 너비 H/2, 높이 H/4인 제1 리샘플링 블록이 인접 위치하도록 하고, 중앙 ERP 영역의 우측 경계 중 하단부에는 너비 H/2, 높이 H/4인 제2 리샘플링 블록이 인접 위치하도록 할 수 있다. As in the example illustrated in FIG. 30, frame packing may be performed in which resampling blocks corresponding to the polar region are arranged up and down at one boundary of the central ERP region. For example, a first resampling block having a width of H / 2 and a height of H / 4 is adjacent to an upper portion of the right boundary of the central ERP region, and a width of H / 2 and a height of H / 4 at a lower portion of the right boundary of the central ERP region. The second resampling block may be adjacent to each other.
또는, 도 31에 도시된 예에서와 같이, 도 30에 도시된 영상을 90도 회전하여 프레임 패킹을 수행할 수도 있다. 도 30에 도시된 예에서는 90도 회전된 중앙 ERP 영역의 하단부에 리샘플링 블록들이 배치되는 것으로 도시되었으나, 90도 회전된 중앙 ERP 영역의 상단부에 리샘플링 블록들을 배치하는 것도 가능하다. Alternatively, as in the example illustrated in FIG. 31, frame packing may be performed by rotating the image illustrated in FIG. 30 by 90 degrees. In the example illustrated in FIG. 30, the resampling blocks are disposed at the lower end of the central ERP region rotated by 90 degrees. However, the resampling blocks may be disposed at the upper end of the central ERP region rotated by 90 degrees.
이처럼, 도 30에 도시된 영상을 시계 방향 또는 반시계 방향으로 90도, 180도 또는 270도 회전하여 프레임 패킹을 수행할 수도 있다.As such, frame packing may be performed by rotating the image shown in FIG. 30 in a clockwise or counterclockwise direction by 90 degrees, 180 degrees, or 270 degrees.
상술한 예에서는, 극지방 영역이 사각 형태의 블록으로 재정렬되는 것으로 도시되었다. 다른 예로, 극지방 영역을 사각 형태 블록 내 원 또는 다각형으로 변환하는 것도 가능하다. 이 경우, 원 또는 다각 형태로 변환된 극지방 영역을 포함하는 사각 형태의 페이스가 정의되고, 상술한 도 25 내지 도 28 또는 도 30 및 도 31에 도시된 예에서와 같은 프레임 패킹이 수행될 수 있다. 이때, 사각 형태의 페이스 중 원 또는 다각 형태에 의해 채워지지 않는 영역의 샘플값은, 기 정의된 샘플값, 극지방 영역의 경계에 위치하는 샘플값 또는 중앙 ERP 영역의 경계에 위치하는 샘플값 중 적어도 하나에 기초하여 결정될 수 있다. In the above example, the polar regions are shown to be rearranged into rectangular blocks. As another example, it is possible to convert the polar region into a circle or polygon in a rectangular block. In this case, a square face including a polar region converted into a circle or a polygonal shape is defined, and frame packing as in the example shown in FIGS. 25 to 28 or 30 and 31 described above may be performed. . At this time, the sample value of the area not filled by the circle or polygonal shape among the square faces is at least one of a predefined sample value, a sample value located at the boundary of the polar region, or a sample value located at the boundary of the central ERP region. Can be determined based on one.
3D 공간상의 360도 영상을 복수의 영역으로 분할함에 있어서, 360도 영상의 소정 공간 영역에 대응하는 부분을 제1 영역으로 설정하고, 360도 영상을 소정 방향/소정 각도 회전시켰을 때, 상기 소정 공간 영역에 위치한 부분을 제2 영역으로 설정하는 것도 가능하다. 예컨대, ERP 기법을 통해 360도 영상을 투영 변환함에 따라 생성된 제1 360도 투사 영상으로부터 제1 영역을 획득하고, 상기 360도 영상을 소정 방향/소정 각도 회전한 뒤 획득된 제2 360도 투사 영상으로부터 제2 영역을 획득할 수 있다.In dividing a 360 degree image in 3D space into a plurality of regions, the predetermined space is set when a portion corresponding to a predetermined spatial region of the 360 degree image is set as the first region and the 360 degree image is rotated in a predetermined direction / predetermined angle. It is also possible to set the part located in the area as the second area. For example, a second 360-degree projection obtained after obtaining a first region from a first 360-degree projection image generated by converting a 360-degree image through an ERP technique, and rotating the 360-degree image by a predetermined direction / predetermined angle. A second area may be obtained from the image.
제1 360도 투사 영상 및 제2 360도 투사 영상 위 제1 영역 및 제 2 영역의 위치 및 크기는 동일할 수 있으나, 3D 공간상에서 제1 영역에 대응하는 공간 영역 및 제2 영역에 대응하는 공간 영역은 서로 상이할 수 있다. The location and size of the first area and the second area on the first 360 degree projection image and the second 360 degree projection image may be the same, but the space corresponding to the first area and the second area in 3D space The regions may be different from each other.
위처럼, 360도 영상을 2개의 극지방과 하나의 중앙 영역으로 구분하는 투영 변환 방법을 신규 투영 변환 방법으로 정의할 수도 있다. 예컨대, 360도 영상을 2개의 극지방과 하나의 중앙 영역으로 구분하는 투영 변환 방법을, 네스티드 폴리곤 ERP(nested polygon ERP)로 정의할 수 있다. 또는, 극지방 영역의 변환 형태에 따라, 정방형 네스티드 폴리곤 ERP 및 비정방형 네스티드 폴리곤 ERP 등을 별개로 정의하는 것도 가능하다.As described above, a projection transformation method of dividing a 360 degree image into two polar regions and a central region may be defined as a new projection transformation method. For example, a projection transformation method of dividing a 360 degree image into two polar regions and a central region may be defined as a nested polygon ERP. Alternatively, the square nested polygon ERP, the non-square nested polygon ERP, and the like may be separately defined according to the transformation form of the polar region.
복수의 투영 변환 기법 중 네스티드 폴리곤 ERP 기법을 식별하기 위한 인덱스가 할당될 수 있다. 네스티드 폴리곤 ERP 기법이 적용된 경우, 네스티드 폴리곤 ERP 기법을 나타내는 인덱스 정보가 부호화되어 비트스트림을 통해 전송될 수 있다. An index for identifying the nested polygon ERP technique among a plurality of projection transformation techniques may be allocated. When the nested polygon ERP scheme is applied, index information indicating the nested polygon ERP scheme may be encoded and transmitted through a bitstream.
상술한 실시예는 일련의 단계 또는 순서도를 기초로 설명되고 있으나, 이는 발명의 시계열적 순서를 한정한 것은 아니며, 필요에 따라 동시에 수행되거나 다른 순서로 수행될 수 있다. 또한, 상술한 실시예에서 블록도를 구성하는 구성요소(예를 들어, 유닛, 모듈 등) 각각은 하드웨어 장치 또는 소프트웨어로 구현될 수도 있고, 복수의 구성요소가 결합하여 하나의 하드웨어 장치 또는 소프트웨어로 구현될 수도 있다. 상술한 실시예는 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Although the above-described embodiments are described based on a series of steps or flowcharts, this does not limit the time-series order of the invention and may be performed simultaneously or in a different order as necessary. In addition, in the above-described embodiment, each component (for example, a unit, a module, etc.) constituting the block diagram may be implemented as a hardware device or software, and a plurality of components are combined into one hardware device or software. It may be implemented. The above-described embodiments may be implemented in the form of program instructions that may be executed by various computer components, and may be recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. The hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa.
본 발명은 영상을 부호화/복호화할 수 있는 전자 장치에 적용될 수 있다.The present invention can be applied to an electronic device capable of encoding / decoding an image.

Claims (12)

  1. 360도 영상에 대한 투영 변환 방법을 결정하는 단계;Determining a projection conversion method for the 360 degree image;
    상기 투영 변환 방법을 기초로, 상기 360도 영상을 2D 평면상에 투영한 360도 투사 영상을 획득하는 단계;Obtaining a 360 degree projection image of projecting the 360 degree image onto a 2D plane based on the projection conversion method;
    상기 360도 투사 영상에 대한 프레임 패킹(Frame Packing)을 수행하는 단계; 및Performing frame packing on the 360 degree projection image; And
    상기 프레임 패킹된 360도 투사 영상에 대한 인코딩을 수행하는 단계를 포함하되,Performing encoding on the frame packed 360 degree projection image,
    상기 프레임 패킹을 수행하는 단계는, Performing the frame packing,
    상기 360도 영상을 극지방 영역 및 중앙 영역으로 구획하는 단계; 및Dividing the 360 degree image into a polar region and a central region; And
    상기 극지방 영역을 기 정의된 형태로 변환하는 단계를 포함하는, 360도 영상 데이터 생성 방법.And converting the polar region into a predefined form.
  2. 제1 항에 있어서,According to claim 1,
    상기 극지방 영역은 상호 인접하지 않는 제1 극지방 영역 및 제2 극지방 영역을 포함하고, The polar region includes a first polar region and a second polar region that are not adjacent to each other,
    상기 프레임 패킹을 수행하는 단계는, 변환된 제1 극지방 영역 및 변환된 제2 극지방 영역을 상기 중앙 영역의 일측에 재배열하는 단계를 더 포함하는, 360도 영상 데이터 생성 방법.The performing of the frame packing may further include rearranging the converted first polar region and the converted second polar region to one side of the central region.
  3. 제2 항에 있어서,The method of claim 2,
    상기 재배열 단계는, 상기 변환된 제1 극지방 영역을 상기 중앙 영역의 소정 방향 경계에 인접 배치하고, 상기 변환된 제2 극지방 영역을 상기 변환된 제1 극지방 영역의 상기 소정 방향 경계에 인접 배치하는 것인, 360도 영상 데이터 생성 방법.The rearranging step may include arranging the converted first polar region adjacent to a predetermined direction boundary of the central region and arranging the converted second polar region adjacent to the predetermined direction boundary of the converted first polar region. Will, 360-degree image data generation method.
  4. 제2 항에 있어서,The method of claim 2,
    상기 재배열 단계는, 상기 변환된 제1 극지방 영역 및 상기 변환된 제2 극지방 영역을 모두 중앙 영역의 소정 방향 경계에 인접 배치하는 것인, 360도 영상 데이터 생성 방법.The rearranging step includes disposing the converted first polar region and the converted second polar region in a predetermined direction border of a central region.
  5. 제2 항에 있어서,The method of claim 2,
    상기 프레임 패킹을 수행하는 단계는, Performing the frame packing,
    상기 재배열이 수행된 영상을 소정 각도만큼 회전하는 단계를 더 포함하는, 360도 영상 데이터 생성 방법.And rotating the rearranged image by a predetermined angle.
  6. 제1 항에 있어서,According to claim 1,
    상기 극지방 영역은 복수의 스트라이프(stripe)를 포함하고,The polar region comprises a plurality of stripes,
    상기 극지방 영역을 기 정의된 형태로 변환하는 단계는, Converting the polar region into a predefined form,
    제1 스트라이프를 소정 형태 라인으로 리샘플링하는 단계; 및Resampling the first stripe into a predetermined shape line; And
    상기 제1 스트라이프에 인접하면서, 상기 제1 스트라이프보다 극에서 먼 제2 스트라이프를 상기 리샘플링된 제1 스트라이프를 감싸는 소정 형태 라인으로 리샘플링하는 단계를 포함하는, 360도 영상 데이터 생성 방법.Resampling a second stripe adjacent to the first stripe and farther away from the first stripe into a predetermined shape line surrounding the resampled first stripe.
  7. 프레임 패킹된 360도 투사 영상에 대한 디코딩을 수행하는 단계;Performing decoding on the frame packed 360 degree projection image;
    상기 디코딩된 360도 투사 영상에 대한 프레임 디패킹(Frame Depacking)을 수행하는 단계;Performing frame depacking on the decoded 360 degree projection image;
    360도 영상에 대한 투영 변환 방법을 결정하는 단계; 및Determining a projection conversion method for the 360 degree image; And
    상기 투영 변환 방법을 기초로, 상기 프레임 디패킹이 수행된 360도 투사 영상을 3D 공간상에 투영한 360도 영상을 획득하는 단계를 포함하되,And based on the projection conversion method, acquiring a 360 degree image of projecting the 360 degree projection image on which the frame depacking is performed in 3D space,
    상기 프레임 패킹은, The frame packing,
    상기 360도 영상을 극지방 영역 및 중앙 영역으로 구획하고,Partitioning the 360-degree image into a polar region and a central region,
    상기 극지방 영역을 기 정의된 형태로 변환하는 것을 포함하는, 360도 영상 플레이 방법.And converting the polar region into a predefined form.
  8. 제7 항에 있어서,The method of claim 7, wherein
    상기 극지방 영역은 상호 인접하지 않는 제1 극지방 영역 및 제2 극지방 영역을 포함하고, The polar region includes a first polar region and a second polar region that are not adjacent to each other,
    상기 프레임 패킹은, 변환된 제1 극지방 영역 및 변환된 제2 극지방 영역을 상기 중앙 영역의 일측에 재배열하는 것을 포함하는, 360도 영상 플레이 방법.The frame packing includes rearranging the converted first polar region and the converted second polar region to one side of the central region.
  9. 제8 항에 있어서,The method of claim 8,
    상기 재배열은, 상기 변환된 제1 극지방 영역을 상기 중앙 영역의 소정 방향 경계에 인접 배치하고, 상기 변환된 제2 극지방 영역을 상기 변환된 제1 극지방 영역의 상기 소정 방향 경계에 인접 배치하는 것을 포함하는, 360도 영상 플레이 방법.The rearrangement may include arranging the converted first polar region adjacent to a predetermined direction boundary of the central region and arranging the converted second polar region adjacent to the predetermined direction boundary of the converted first polar region. Including, 360 degree video play method.
  10. 제8 항에 있어서,The method of claim 8,
    상기 재배열은, 상기 변환된 제1 극지방 영역 및 상기 변환된 제2 극지방 영역을 모두 중앙 영역의 소정 방향 경계에 인접 배치하는 것을 포함하는, 360도 영상 플레이 방법.Wherein the rearrangement comprises arranging both the converted first polar region and the converted second polar region adjacent to a predetermined boundary of a central region.
  11. 제8 항에 있어서,The method of claim 8,
    상기 프레임 패킹은, The frame packing,
    상기 재배열이 수행된 영상을 소정 각도만큼 회전하는 것을 포함하는, 360도 영상 플레이 방법.And rotating the rearranged image by a predetermined angle.
  12. 제7 항에 있어서,The method of claim 7, wherein
    상기 극지방 영역은 복수의 스트라이프(stripe)를 포함하고,The polar region comprises a plurality of stripes,
    상기 극지방 영역을 기 정의된 형태로 변환하는 것은,Converting the polar region into a predefined form,
    제1 스트라이프를 소정 형태 라인으로 리샘플링하고, 상기 제1 스트라이프에 인접하면서, 상기 제1 스트라이프보다 극에서 먼 제2 스트라이프를 상기 리샘플링된 제1 스트라이프를 감싸는 소정 형태 라인으로 리샘플링하는 것을 포함하는, 360도 영상 플레이 방법.Resampling a first stripe into a predetermined shape line, and resampling a second stripe adjacent to the first stripe and farther away from the first stripe into a predetermined shape line surrounding the resampled first stripe. How to play video.
PCT/KR2018/003243 2017-03-21 2018-03-20 Video signal processing method and device WO2018174531A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2017-0035276 2017-03-21
KR10-2017-0035277 2017-03-21
KR20170035276 2017-03-21
KR20170035277 2017-03-21

Publications (1)

Publication Number Publication Date
WO2018174531A1 true WO2018174531A1 (en) 2018-09-27

Family

ID=63585477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/003243 WO2018174531A1 (en) 2017-03-21 2018-03-20 Video signal processing method and device

Country Status (2)

Country Link
KR (1) KR20180107001A (en)
WO (1) WO2018174531A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11394946B2 (en) 2018-10-30 2022-07-19 Lg Electronics Inc. Video transmitting method, video transmitting apparatus, video receiving method, and video receiving apparatus
WO2020101451A1 (en) 2018-11-15 2020-05-22 한국전자통신연구원 Method and apparatus for performing encoding/decoding by using region-based inter/intra prediction technique
US11350074B2 (en) 2019-03-20 2022-05-31 Electronics And Telecommunications Research Institute Method for processing immersive video and method for producing immersive video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150029461A (en) * 2013-09-10 2015-03-18 (주)포스트미디어 Method of synchronizing tiled image in a streaming service providing system of panoramic image
WO2016076680A1 (en) * 2014-11-14 2016-05-19 Samsung Electronics Co., Ltd. Coding of 360 degree videos using region adaptive smoothing
KR20160079357A (en) * 2014-12-26 2016-07-06 주식회사 케이티 Method for sending video in region of interest from panoramic-video, server and device
KR20170017700A (en) * 2015-08-07 2017-02-15 삼성전자주식회사 Electronic Apparatus generating 360 Degrees 3D Stereoscopic Panorama Images and Method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150029461A (en) * 2013-09-10 2015-03-18 (주)포스트미디어 Method of synchronizing tiled image in a streaming service providing system of panoramic image
WO2016076680A1 (en) * 2014-11-14 2016-05-19 Samsung Electronics Co., Ltd. Coding of 360 degree videos using region adaptive smoothing
KR20160079357A (en) * 2014-12-26 2016-07-06 주식회사 케이티 Method for sending video in region of interest from panoramic-video, server and device
KR20170017700A (en) * 2015-08-07 2017-02-15 삼성전자주식회사 Electronic Apparatus generating 360 Degrees 3D Stereoscopic Panorama Images and Method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BYEONGDOO CHOI: "WD on ISO/IEC 23000-20 Omnidirectional Media Application Format", MPEG MEETING 115, GENEVA, MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, N16189, 3 June 2016 (2016-06-03), pages 1 - 40, XP055516833 *

Also Published As

Publication number Publication date
KR20180107001A (en) 2018-10-01

Similar Documents

Publication Publication Date Title
WO2018117706A1 (en) Video signal processing method and device
WO2020246849A1 (en) Transform-based image coding method and device for same
WO2018044088A1 (en) Method and device for processing video signal
WO2013154366A1 (en) Transform method based on block information, and apparatus using said method
WO2018056702A1 (en) Method and apparatus for processing video signal
WO2018128247A1 (en) Intra-prediction method and device in image coding system for 360-degree video
WO2018124819A1 (en) Method and apparatus for processing video signals
WO2020141932A1 (en) Inter prediction method and apparatus using cpr-based mmvd
WO2020141928A1 (en) Method and apparatus for decoding image on basis of prediction based on mmvd in image coding system
WO2021034161A1 (en) Intra prediction device and method
WO2018174531A1 (en) Video signal processing method and device
WO2022039499A1 (en) Image encoding/decoding method, device, and computer-readable recording medium for signaling purpose of vcm bitstream
WO2019009600A1 (en) Image decoding method and apparatus using projection-type based quantisation parameters in image coding system for 360-degree video
WO2020149616A1 (en) Method and device for decoding image on basis of cclm prediction in image coding system
WO2020141885A1 (en) Image coding method and device using deblocking filtering
WO2020184821A1 (en) Method and device for configuring mpm list
WO2020055208A1 (en) Image prediction method and apparatus for performing intra prediction
WO2018174542A1 (en) Video signal processing method and device
WO2018074813A1 (en) Device and method for encoding or decoding image
WO2019045393A1 (en) Method and device for video signal processing
WO2018174541A1 (en) Video signal processing method and device
WO2019190203A1 (en) Method and apparatus for processing video signal
WO2019182293A1 (en) Method and apparatus for video signal processing
WO2018230884A1 (en) Video signal processing method and device
WO2019004664A1 (en) Video signal processing method and device

Legal Events

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

Ref document number: 18772269

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.01.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18772269

Country of ref document: EP

Kind code of ref document: A1