KR100956641B1 - Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium - Google Patents

Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium Download PDF

Info

Publication number
KR100956641B1
KR100956641B1 KR1020080049156A KR20080049156A KR100956641B1 KR 100956641 B1 KR100956641 B1 KR 100956641B1 KR 1020080049156 A KR1020080049156 A KR 1020080049156A KR 20080049156 A KR20080049156 A KR 20080049156A KR 100956641 B1 KR100956641 B1 KR 100956641B1
Authority
KR
South Korea
Prior art keywords
image frame
image
rotation
flag
rotation direction
Prior art date
Application number
KR1020080049156A
Other languages
Korean (ko)
Other versions
KR20090123194A (en
Inventor
김제우
최병호
김용환
Original Assignee
전자부품연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 전자부품연구원 filed Critical 전자부품연구원
Priority to KR1020080049156A priority Critical patent/KR100956641B1/en
Publication of KR20090123194A publication Critical patent/KR20090123194A/en
Application granted granted Critical
Publication of KR100956641B1 publication Critical patent/KR100956641B1/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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • 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/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

본 발명은 영상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체에 관한 것으로서, 본 발명의 일면에 따른 영상 부호화 장치는, 제1 모드에서, 입력되는 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 로테이션부 및 제2 영상 프레임을 인터레이스(interlace) 방식에 의해 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 탑 필드와 바텀 필드를 이용하여 상기 제2 영상 프레임을 부호화하는 부호화부를 포함하는 것을 특징으로 한다.

Figure R1020080049156

H.264, 양안 영상

The present invention relates to an image encoding apparatus, an image encoding method, an image decoding apparatus, an image decoding method, and a computer-readable recording medium. According to an aspect of the present invention, an image encoding apparatus includes: a first image frame input in a first mode; Rotates a predetermined angle to output the second image frame and the rotation unit and the second image frame are divided into a top field and a bottom field by an interlace method, and the top field and the bottom field are divided. And an encoder which encodes the second image frame by using the encoder.

Figure R1020080049156

H.264, binocular video

Description

영상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체{Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium}An image encoding apparatus, an image encoding method, an image decoding apparatus, an image decoding method, and a computer-readable recording medium {Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium}

본 발명은 영상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체에 관한 것으로서, 다양한 포맷의 양안 영상을 부호화 또는 복호화할 수 있는 상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체에 관한 것이다.The present invention relates to an image encoding apparatus, an image encoding method, an image decoding apparatus, an image decoding method, and a computer-readable recording medium. The present invention relates to an image encoding apparatus capable of encoding or decoding a binocular image in various formats, an image encoding method, and an image decoding. An apparatus, an image decoding method, and a computer readable recording medium.

ISO/IEC와 ITU-T의 공동 국제 표준인 H.264/MPEG-4 AVC 에서는 stereo_video_info() 라는 SEI(Supplemental enhancement information)를 통해서 양안 영상의 부호화를 지원하고 있다. 이 SEI에서는 두 가지 방식의 부호화 방법을 지원한다. 첫 번째는 입력되는 영상의 포맷(format)이 좌영상의 화소 행(row)과 우영상의 화소 행이 순차적으로 교대로 조합된 경우이고, 두 번째는 입력되는 영상 포맷이 좌영상 및 우 영상이 픽쳐 단위로 각각 나열된 경우이다. H.264 / MPEG-4 AVC, a joint international standard of ISO / IEC and ITU-T, supports binocular video encoding through the supplemental enhancement information (SEI) called stereo_video_info (). This SEI supports two methods of encoding. The first is a case where the format of the input image is a combination of the pixel rows of the left image and the pixel rows of the right image, and the second is the input image format of the left image and the right image. This is the case in which each is listed in picture units.

구체적으로 첫 번째의 경우, MB-AFF(Macroblock-based Adaptive Field/Frame) 방식 또는 Pic-AFF(Picture-based Adaptive Field/Frame) 방식으로 부호화될 수 있는데, MB-AFF(Macroblock-based Adaptive Field/Frame) 방식은 영상 프레임을 인터레이스 방식으로 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 탑 필드 및 바텀 필드 또는 영상 프레임을 매크로 블록(Macroblock) 단위로 부호화하는 것이고, Pic-AFF(Picture-based Adaptive Field/Frame) 방식은 탑 필드 및 바텀 필드 또는 영상 프레임을 픽쳐(Picture) 단위로 부호화하는 것이다. Specifically, in the first case, it may be encoded by using a MB-AFF (Macroblock-based Adaptive Field / Frame) method or a Pic-AFF (Picture-based Adaptive Field / Frame) method, and the MB-AFF (Macroblock-based Adaptive Field / Frame) method. The frame method is to divide an image frame into a top field and a bottom field in an interlaced manner, and encode the top field and the bottom field or the image frame in units of macroblocks. Pic-AFF The Picture-based Adaptive Field / Frame method encodes a top field and a bottom field or an image frame in picture units.

두 번째 경우는, 좌영상과 우영상을 각각 하나의 픽쳐로 나란히 나열한 후에 부호화하게 되므로, 영상의 프레임 레이트가 두 배가 된다. 즉, 30 fps (frame per second)의 양안 영상을 부호화하는 것은 60 fps 일안 영상을 부호화하는 것과 마찬가지가 된다.In the second case, since the left image and the right image are each arranged side by side in one picture, and then encoded, the frame rate of the image is doubled. That is, encoding a binocular image of 30 fps (frame per second) becomes the same as encoding a 60 fps single-eye image.

한편, H.264/AVC로 양안 영상을 부호화하고 복호화할 때, 전술한 바와 같은 영상 프레임의 포맷에 따라 압축 효율이 달라지게 된다. 또한 전술한 포맷 외에는 H.264/AVC에서 지원하지 않고 있다. 따라서 종래의 H.264/AVC 방식의 인코더 및 디코더를 그대로 이용하면서도 다양한 포맷의 영상 프레임을 효율적으로 부호화 및 복호화할 수 있는 기술이 요구된다. On the other hand, when encoding and decoding both eyes in H.264 / AVC, the compression efficiency varies according to the format of the image frame as described above. In addition, the above-mentioned format is not supported by H.264 / AVC. Therefore, there is a need for a technique capable of efficiently encoding and decoding image frames of various formats while using an encoder and decoder of a conventional H.264 / AVC method.

본 발명의 목적은 종래의 H.264/AVC 방식의 인코더, 디코더를 그대로 이용하면서도 다양한 포맷의 영상 프레임을 효율적으로 압축할 수 있는 영상 부호화/복호화 장치를 제공하는 것이다. An object of the present invention is to provide an image encoding / decoding apparatus capable of efficiently compressing image frames of various formats while still using a conventional H.264 / AVC type encoder and decoder.

본 발명의 다른 목적은, 종래의 H.264/AVC 방식의 인코더, 디코더를 그대로 이용하면서도 다양한 포맷의 영상 프레임을 효율적으로 압축할 수 있는 영상 부호화/복호화 방법을 제공하는 것이다.Another object of the present invention is to provide a video encoding / decoding method capable of efficiently compressing video frames of various formats while still using a conventional H.264 / AVC type encoder and decoder.

본 발명의 또 다른 목적은, 종래의 H.264/AVC 방식의 인코더, 디코더를 그대로 이용하면서도 다양한 포맷의 영상 프레임을 효율적으로 압축하는데 이용되는 메시지(message)를 저장하는 컴퓨터 판독가능한 기록매체를 제공하는 것이다.It is still another object of the present invention to provide a computer-readable recording medium storing messages used for efficiently compressing image frames of various formats while still using a conventional H.264 / AVC type encoder and decoder. It is.

본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The object of the present invention is not limited to the above-mentioned object, and other objects that are not mentioned will be clearly understood by those skilled in the art from the following description.

전술한 목적을 달성하기 위한 본 발명의 일면에 따른 영상 부호화 장치는, 제1 모드에서, 입력되는 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 로테이션부 및 상기 제2 영상 프레임을 인터레이스(interlace) 방식에 의해 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 상기 탑 필드 및 상기 바텀 필드를 이용하여 상기 제2 영상 프레임을 부호화하는 부호화부를 포함한다.According to an aspect of the present invention, there is provided an apparatus for encoding an image. The image encoding apparatus may include a rotation unit and a second image frame configured to rotate an input first image frame by a predetermined angle and output the second image frame. And an encoder configured to classify the second image frame by using a top field and a bottom field by using an interlace method, and using the top field and the bottom field.

또한, 본 발명의 일면에 따른 영상 부호화 방법은, 제1 영상 프레임을 제2 영상 프레임으로 출력하는 단계로서, 제1 모드에서 상기 제1 영상 프레임을 소정 각도 회전시켜 상기 제2 영상 프레임으로 출력하는 단계 및 상기 제2 영상 프레임을 인터레이스(interlace) 방식에 의해 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 상기 탑 필드 및 상기 바텀 필드를 이용하여 상기 제2 영상 프 레임을 부호화하는 단계를 포함한다.The image encoding method according to an aspect of the present invention may include outputting a first image frame as a second image frame, rotating the first image frame by a predetermined angle in a first mode, and outputting the first image frame as the second image frame. And dividing the second image frame into a top field and a bottom field by an interlace method, and encoding the second image frame by using the top field and the bottom field. It includes a step.

또한, 본 발명의 다른 면에 따른 영상 복호화 장치는, 부호화된 비디오 시퀀스를 복호화하여 제1 영상 프레임을 복원하는 복호화부 및 회전 여부를 지시하는 회전 여부 플래그를 제공받아, 상기 회전 여부 플래그에 따라 선택적으로 상기 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 로테이션부를 포함한다.Also, an image decoding apparatus according to another aspect of the present invention is provided with a decoder that decodes an encoded video sequence to reconstruct a first image frame, and a rotation flag indicating whether to rotate, and optionally according to the rotation flag. And a rotation unit configured to rotate the first image frame by a predetermined angle and output the second image frame.

또한, 본 발명의 또 다른 면에 따른 영상 복호화 방법은, 부호화된 비디오 시퀀스를 복호화하여 제1 영상 프레임을 복원하는 단계와, 회전 여부를 지시하는 회전 여부 플래그를 제공받는 단계 및 상기 회전 여부 플래그에 따라 선택적으로 상기 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 단계를 포함한다.In addition, the image decoding method according to another aspect of the present invention, decoding the encoded video sequence to restore the first image frame, receiving a rotation flag indicating whether or not to rotate and the rotation flag And optionally rotating the first image frame by a predetermined angle to output the second image frame.

또한, 본 발명의 또 다른 면에 따른 영상 프레임이 부호화된 비디오 시퀀스를 복호화하는데 필요한 메시지를 저장하는 컴퓨터 판독가능한 기록매체에 있어서, 상기 메시지는, 상기 영상 프레임이 회전되어 부호화되었는지 여부를 알리는 회전 여부 플래그 및 상기 영상 프레임이 회전된 경우 상기 영상 프레임의 회전 방향을 알리는 회전 방향 플래그를 포함하는 메시지를 저장하는 것을 특징으로 한다.Further, in a computer-readable recording medium storing a message required to decode a video sequence encoded by an image frame according to another aspect of the present invention, the message is rotated to indicate whether the image frame is rotated and encoded. And a message including a flag and a rotation direction flag indicating a rotation direction of the image frame when the image frame is rotated.

기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Specific details of other embodiments are included in the detailed description and the drawings.

본 발명에 따르면 다양한 포맷의 양안 영상을 효율적으로 부호화 및 복호화 할 수 있다.According to the present invention, binocular images of various formats can be efficiently encoded and decoded.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다. Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be implemented in various different forms, and only the embodiments make the disclosure of the present invention complete, and the general knowledge in the art to which the present invention belongs. It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.

이하, 도 1a 내지 도 5를 참조하여 본 발명의 일실시예에 따른 영상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체에 대해 설명하되, 본 발명에 따른 동작 및 작용을 이해하는데 필요한 부분을 중심으로 설명한다.Hereinafter, an image encoding apparatus, an image encoding method, an image decoding apparatus, an image decoding method, and a computer readable recording medium according to an embodiment of the present invention will be described with reference to FIGS. 1A to 5. The explanation focuses on the parts necessary to understand the operation.

우선 본 발명의 실시예를 설명하기에 앞서, 도 1a 내지 도 1c를 참조하여 양안 영상의 포맷의 종류에 대해 설명한다. 도 1a는 양안 영상을 촬영하기 위한 구성도이고, 도 1b는 제1 포맷의 양안 영상 프레임을 설명하기 위한 개념도이고, 도 1c는 제2 포맷의 양안 영상 프레임을 설명하기 위한 개념도이다.First, before describing an embodiment of the present invention, the type of the binocular image format will be described with reference to FIGS. 1A to 1C. FIG. 1A is a schematic diagram for capturing a binocular image, FIG. 1B is a conceptual diagram for describing a binocular image frame of a first format, and FIG. 1C is a conceptual diagram for describing a binocular image frame of a second format.

도 1a를 참조하면, 하나의 피사체(S)를 두 개의 카메라(c1, c2)가 각각 촬영하여 양안 영상을 만든다. 예를 들어 제1 카메라(c1)가 피사체(S)의 좌측 영상을 촬영하고, 제2 카메라(c2)가 피사체(S)의 우측 영상을 촬영한다. Referring to FIG. 1A, two cameras c1 and c2 photograph one subject S to form a binocular image. For example, the first camera c1 captures an image of the left side of the subject S, and the second camera c2 captures an image of the right side of the subject S. FIG.

도 1b에는 제1 카메라(c1)가 촬영한 좌영상(TF)과, 제2 카메라(c2)가 촬영한 우영상(BF)과, 이들로부터 구성된 제1 포맷의 영상 프레임(FRM1)이 도시되어 있다. 이하에서 좌영상(TF) 및 우영상(BF)이 각각 하나의 필드 필드(fileld)를 구성하는 경우를 예로 들어 설명하나, 좌영상(TF) 및 우영상(BF)은 각각 하나의 프레임일 수 있으며, 각 카메라(c1, c2)의 해상도에 따라 그 크기가 달라질 수 있다.FIG. 1B shows a left image TF taken by the first camera c1, a right image BF taken by the second camera c2, and an image frame FRM1 having a first format composed therefrom. have. Hereinafter, an example in which the left image TF and the right image BF constitute one field field fileld will be described as an example. However, the left image TF and the right image BF may each be one frame. The size may vary depending on the resolution of each of the cameras c1 and c2.

각 필드(TF, BF)는 다수의 화소를 포함하여, 각 필드(TF, BF)는 다수의 화소 열(column)로 구분될 수 있다. 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1)은, 제1 필드(TF)와 제2 필드(BF)의 화소 열이 각각 순차적으로, 교대로 조합되어 있는 포맷일 수 있다. 다만, 제1 포맷의 영상 프레임(FRM1)은, 이에 한정되지 않고 제1 필드(TF)의 화소 열 중 홀수(또는 짝수) 화소 열와 제2 필드(BF)의 짝수(또는 홀수) 화소 열이 각각 순차적으로, 교대로 조합된 포맷일 수 있다. 즉, 제1 포맷의 영상 프레임(FRM1)은, 적어도 하나의 제1 필드(TF)의 화소 열과 적어도 하나의 제2 필드(BF)의 화소 열이 각각 순차적으로, 교대로 조합된 포맷일 수 있다. 이하에서는 제1 필드(TF)와 제2 필드(BF)의 모든 화소 열이 각각 순차적으로, 교대로 조합되어 있는 포맷인 경우를 예로 들어 설명한다.Each field TF and BF may include a plurality of pixels, and each field TF and BF may be divided into a plurality of pixel columns. The image frame FRM1 of the first format illustrated in FIG. 1B may be a format in which pixel columns of the first field TF and the second field BF are sequentially and alternately combined. However, the image frame FRM1 of the first format is not limited thereto, and the odd (or even) pixel columns of the pixel columns of the first field TF and the even (or odd) pixel columns of the second field BF, respectively, are not limited thereto. In sequential order, it may be a format combined alternately. That is, the image frame FRM1 of the first format may be a format in which pixel columns of at least one first field TF and pixel columns of at least one second field BF are sequentially and alternately combined. . Hereinafter, a case in which all pixel columns of the first field TF and the second field BF are in a format in which they are sequentially and alternately combined will be described as an example.

도 1c에는 제1 카메라(c1)가 촬영한 제1 필드(TF)와, 제2 카메라(c2)가 촬영한 제2 필드(BF)와, 이들로부터 구성된, 도 1b와 다른 포맷의 제2 포맷의 영상 프레임(FRM2)이 도시되어 있다. FIG. 1C shows a first field TF taken by the first camera c1, a second field BF taken by the second camera c2, and a second format having a different format from that shown in FIG. 1B. An image frame FRM2 is shown.

구체적으로 설명하면, 각 필드(TF, BF)가 다수의 화소를 포함하여, 각 각 필드(TF, BF)는 화소 행(row)으로 구분될 수 있다. 도 1c에 도시된 제2 영상 프레 임(FRM2)은, 제1 필드(BF)와 제2 필드(BF)의 화소 행이 각각 순차적으로, 교대로 조합되어 있는 포맷일 수 있다. 다만, 제2 포맷의 영상 프레임(FRM2)은, 이에 한정되지 않고 제1 필드(TF)의 홀수(또는 짝수) 화소 행과 제2 필드(BF)의 짝수(또는 홀수) 화소 행이 각각 순차적으로, 교대로 조합된 포맷일 수 있다. 즉, 제2 포맷의 영상 프레임(FRM2)은, 적어도 하나의 제1 필드(TF)의 화소 행과 적어도 하나의 제2 필드(BF)의 화소 행이 각각 순차적으로, 교대로 조합된 포맷일 수 있다. 이하에서는 제1 필드(TF)와 제2 필드(BF)의 모든 화소 행이 각각 순차적으로, 교대로 조합되어 있는 포맷인 경우를 예로 들어 설명한다.Specifically, each field TF and BF may include a plurality of pixels, and each field TF and BF may be divided into pixel rows. The second image frame FRM2 illustrated in FIG. 1C may have a format in which pixel rows of the first field BF and the second field BF are sequentially and alternately combined. However, the image frame FRM2 of the second format is not limited thereto, and the odd (or even) pixel rows of the first field TF and the even (or odd) pixel rows of the second field BF are sequentially arranged. It may be a format combined alternately. That is, the image frame FRM2 of the second format may be a format in which pixel rows of at least one first field TF and pixel rows of at least one second field BF are sequentially and alternately combined. have. Hereinafter, a case in which all pixel rows of the first field TF and the second field BF are in a format in which they are sequentially and alternately combined will be described as an example.

이와 같이, 양안 영상은, 2개의 카메라(c1, c2)로부터 촬영된 필드로부터 도 1b와 도 1c에 도시된 포맷의 영상 프레임(FRM1, FRM2)이 구성될 수 있으며, 본 발명의 실시예에 따른 영상 부호화 장치(100), 영상 부호화 방법, 영상 복호화 장치(200), 영상 복호화 방법은 도 1b 및 도 1c에 도시된 제1 및 제2 포맷의 영상 프레임(FRM1, FRM2) 포맷을 효율적으로 부호화/복호화할 수 있다. 이하에서 도 2 내지 도 5를 더 참조하여 구체적으로 설명한다.As described above, in the binocular image, image frames FRM1 and FRM2 of the formats shown in FIGS. 1B and 1C may be configured from fields captured by two cameras c1 and c2. The image encoding apparatus 100, the image encoding method, the image decoding apparatus 200, and the image decoding method efficiently encode / encode the image frame FRM1 and FRM2 formats of the first and second formats shown in FIGS. 1B and 1C. Can be decrypted Hereinafter, the present invention will be described in detail with reference to FIGS. 2 to 5.

먼저 도 2a 내지 도 3을 참조하여 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1)을 부호화/복호화하는 영상 부호화/복호화 장치 및 방법에 대해 설명한다. 도 2a는 본 발명의 실시예에 따른 영상 부호화 장치를 나타내는 블록도이고, 도 2b는 도 2a의 제1 로테이션부와 부호화부를 설명하기 위한 개념도이고, 도 3은 본 발명의 실시예에 따른 영상 복호화 장치를 나타내는 블록도이다.First, an image encoding / decoding apparatus and method for encoding / decoding an image frame FRM1 of the first format shown in FIG. 1B will be described with reference to FIGS. 2A to 3. FIG. 2A is a block diagram illustrating an image encoding apparatus according to an exemplary embodiment of the present invention, FIG. 2B is a conceptual diagram illustrating a first rotation unit and an encoding unit of FIG. 2A, and FIG. 3 is an image decoding apparatus according to an embodiment of the present invention. A block diagram showing a device.

도 2a를 참조하면, 영상 부호화 장치(100)는 제1 로테이션부(110)와 부호화 부(120)를 포함한다.Referring to FIG. 2A, the image encoding apparatus 100 includes a first rotation unit 110 and an encoder 120.

구체적으로 설명하면, 제1 로테이션부(110)는 제1 포맷의 영상 프레임(FRM1)이 입력되는 경우(제1 모드), 입력되는 영상 프레임(FRM1)을 소정 각도, 예컨데 90˚ 회전시켜 부호화부(120)로 출력한다. 이 때, 제1 로테이션부(110)는 입력되는 영상 프레임(FRM1)을 회전시켰는지 여부를 알리는 회전 여부 플래그(frm_rotate_flag)와, 영상 프레임(FRM1)의 회전 방향을 알리는 회전 방향 플래그(is_right90_flag)를 포함하는 메시지(message)를 출력할 수 있다. 예를 들어, 제1 포맷의 영상 프레임(FRM1)이 입력되는 경우(제1 모드), 제1 로테이션부(110)가 제1 포맷의 영상 프레임(FRM1)을 회전시키므로, 제1 로테이션부(110)는 “1”의 회전 여부 플래그(frm_rotate_flag)를 생성하여 출력할 수 있다. In detail, when the image frame FRM1 of the first format is input (first mode), the first rotation unit 110 rotates the input image frame FRM1 by a predetermined angle, for example, 90 °. Output to 120. At this time, the first rotation unit 110 displays a rotation flag (frm_rotate_flag) indicating whether the input image frame FRM1 is rotated and a rotation direction flag (is_right90_flag) indicating the rotation direction of the image frame FRM1. A message containing the message may be output. For example, when the image frame FRM1 of the first format is input (first mode), the first rotation unit 110 rotates the image frame FRM1 of the first format, and thus the first rotation unit 110. ) May generate and output a rotation flag (frm_rotate_flag) of “1”.

또한 제1 로테이션부(110)가 제1 포맷의 영상 프레임(FRM1)을 시계방향으로 90˚ 회전시킨 경우, 즉 +90˚ 회전시킨 경우, 제1 로테이션부(110)는 “1”의 회전 방향 플래그(is_right90_flag)를 생성하여 출력할 수 있고, 또는 제1 포맷의 영상 프레임(FRM1)을 반시계방향으로 90˚ 회전시킨 경우, 즉 -90˚ 회전시킨 경우, 제1 로테이션부(110)는 “0”의 회전 방향 플래그(is_right90_flag)를 생성하여 출력할 수 있다. 이러한 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하는 메시지는 부호화부(120)를 통해 후술되는 영상 복호화 장치(200)의 제2 로테이션부(210)로 제공된다. 다만, 제1 로테이션부(110)는 영상 프레임(FRM1)의 포맷에 따라 90˚에 한정되지 않고, 다른 소정의 각도로 회전시킬 수 있다.Also, when the first rotation unit 110 rotates the image frame FRM1 of the first format by 90 ° clockwise, that is, + 90 °, the first rotation unit 110 rotates in the direction of “1”. When the flag is_right90_flag may be generated and output, or when the image frame FRM1 of the first format is rotated 90 degrees counterclockwise, that is, rotated by -90 degrees, the first rotation unit 110 may be “ 0 ”rotation direction flag is_right90_flag may be generated and output. The message including the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag) is provided to the second rotation unit 210 of the image decoding apparatus 200 to be described later through the encoder 120. However, the first rotation unit 110 is not limited to 90 degrees according to the format of the image frame FRM1, and may be rotated by another predetermined angle.

부호화부(120)는 회전된 영상 프레임(FRM1)을 부호화하여 영상 복호화 장치(200)로 부호화된 비트스트림(또는 비디오 시퀀스)를 전송한다. 여기서 부호화부(120)는, 예컨데 H.264 표준 방식에 의해 90˚ 회전된 영상 프레임(FRM1)을 부호화할 수 있다.The encoder 120 encodes the rotated image frame FRM1 and transmits the encoded bitstream (or video sequence) to the image decoding apparatus 200. Here, the encoder 120 may encode the image frame FRM1 rotated by 90 degrees by using the H.264 standard method.

구체적으로 설명하면, 도 2b에 도시된 바와 같이, 부호화부(120)는 90˚ 회전된 영상 프레임(FRM1_90)을 제1 로테이션부(110)로부터 제공받아, 인터레이스 방식에 의해 탑 필드(TF_90)와 바텀 필드(BF_90)로 구분하고, 탑 필드(TF_90) 및 바텀 필드(BF_90)를 이용하여 90˚ 회전된 영상 프레임(FRM1_90)을 부호화한다. 여기서 탑 필드(TF-90)는 도 2b에 도시된 제1 필드(TF)가 90˚ 회전된 것일 수 있다. 즉, 탑 필드(TF_90)는 피사체(S)의 좌측 영상(TF)이 90˚ 회전된 것일 수 있다. 마찬가지로, 바텀 필드(BF_90)는 제2 필드(BF)가 90˚ 회전된 것으로, 피사체(S)의 우측 영상(BF)이 90˚ 회전된 것일 수 있다. In detail, as illustrated in FIG. 2B, the encoder 120 receives an image frame FRM1_90 rotated by 90 ° from the first rotation unit 110, and interlaces the top field TF_90 by an interlaced method. The image frame FRM1_90 rotated by 90 ° is encoded using the top field TF_90 and the bottom field BF_90. Here, the top field TF-90 may be rotated 90 ° of the first field TF shown in FIG. 2B. That is, in the top field TF_90, the left image TF of the subject S may be rotated 90 °. Similarly, in the bottom field BF_90, the second field BF is rotated by 90 °, and the right image BF of the subject S may be rotated by 90 °.

예를 들어, 부호화부(120)는 탑 필드(TF_90)의 16×16의 매크로블록과 바텀 필드(BF_90)의 16×16의 매크로블록으로 이루어진 16×32의 블록 단위로 부호화하고, 90˚ 회전된 영상 프레임(FRM1_90)의 16×32(또는 16×16)의 블록 단위로 부호화하여 이들 중 압축 효율이 높은 부호화 데이터를 선택할 수 있다(MB-AFF). 또는 부호화부(120)는 90˚ 회전된 영상 프레임(FRM1_90)을 픽쳐(또는 프레임) 단위로 부호화하고, 탑 필드(TF_90)와 바텀 필드(BF_90)을 붙여 픽쳐(또는 프레임) 단위로 부호화하여, 이들 중 압축 효율이 높은 부호화 데이터를 선택할 수 있다(Pic-AFF). 또한 부호화부(120)는 움직임 추정 과정을 이용한 움직임 보상 과정이나 이산 여현 변환(Discrete Cosine Transform, DCT)과 같은 변환 과정, 그리고 양자화 과정을 수행할 수 있다. 또한 부호화부(120)는 휘도 Y와 색차 Cb, Cr 신호의 표본화 주파수의 비 4:2:0 또는 4:2:2를 이용할 수 있다.For example, the encoder 120 encodes in a 16 × 32 block unit including 16 × 16 macroblocks of the top field TF_90 and 16 × 16 macroblocks of the bottom field BF_90, and rotates 90 °. Coded data having a high compression efficiency can be selected from among the 16 × 32 (or 16 × 16) block units of the video frame FRM1_90 (MB-AFF). Alternatively, the encoder 120 encodes the image frame FRM1_90 rotated by 90 ° in picture (or frame) unit, and encodes in picture (or frame) unit by attaching the top field TF_90 and the bottom field BF_90. Among them, coded data having a high compression efficiency can be selected (Pic-AFF). In addition, the encoder 120 may perform a motion compensation process using a motion estimation process, a transform process such as a discrete cosine transform (DCT), and a quantization process. Also, the encoder 120 may use a ratio of 4: 2: 0 or 4: 2: 2 between the luminance Y, the color difference Cb, and the sampling frequency of the Cr signal.

또한, 부호화부(120)는 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하는 메시지를 함께 부호화할 수 있다. Also, the encoder 120 may encode a message including a rotation flag (frm_rotate_flag) and a rotation direction flag (is_right90_flag) together.

한편, 본 발명의 기술적 사상은 제1 포맷의 영상 프레임(FRM1)을 도 2b에 도시된 바와 같이 수평(또는 가로) 방향으로 인터레이스된 영상 프레임(FRM1_90)으로 회전시켜 부호화하는 것이므로, 부호화부(120)가 90˚ 회전된 영상 프레임(FRM1_90)을 부호화하는 방법은, 어느 하나에 한정되지 않고, 공지된 어떠한 방법으로도 가능하며, 이후에 개발되는 방법 중 어느 하나일 수 있다. 따라서 본 명세서에서는 어느 하나의 방법으로 한정하여 설명하지 않는다. Meanwhile, since the technical idea of the present invention is to rotate and encode the image frame FRM1 of the first format into the image frame FRM1_90 interlaced in the horizontal (or horizontal) direction as illustrated in FIG. 2B, the encoder 120 ) Is a method of encoding the image frame FRM1_90 rotated by 90 °. The method is not limited to any one, and may be any known method, and may be any one of methods developed later. Therefore, the present specification is not limited to any one method.

다음으로 도 3을 참조하면, 영상 복호화 장치(200)는 복호화부(220)와 제2 로테이션부(210)를 포함한다.Next, referring to FIG. 3, the image decoding apparatus 200 includes a decoder 220 and a second rotation unit 210.

구체적으로 설명하면, 복호화부(220)는 부호화부(120)로부터 부호화된 비트스트림(또는 비디오 시퀀스)을 입력받아 복호화한다. 예컨데, 여기서 복호화부(220)는 부호화부(120)와 대응되는 유닛으로, 부호화부(120)가 90˚ 회전된 영상 프레임(FRM1_90)을 부호화한 방법과 대응되는 방법으로 90˚ 회전된 영상 프레임(FRM1_90)을 복원하도록 복호화한다. 즉, 복호화부(220)는 부호화된 탑 필드와 바텀 필드를 복호화하여 90˚ 회전된 영상 프레임(FRM1_90)을 복원할 수 있다. 다만, 본 발명에서, 부호화부(120)가 부호화하는 방법이 어느 하나로 한정되지 않으 므로, 복호화부(220)가 복호화하는 방법에 대해 어느 하나로 한정하여 설명하지 않는다.In detail, the decoder 220 receives an encoded bitstream (or a video sequence) from the encoder 120 and decodes the encoded bitstream. For example, the decoder 220 is a unit corresponding to the encoder 120 and the image frame rotated 90 degrees in a manner corresponding to the method in which the encoder 120 encodes the image frame FRM1_90 rotated 90 degrees. Decode to restore (FRM1_90). That is, the decoder 220 may reconstruct the 90 ° rotated image frame FRM1_90 by decoding the encoded top field and the bottom field. However, in the present invention, since the method of encoding by the encoder 120 is not limited to any one, the method of decoding by the decoder 220 is not limited to any one.

또한 복호화부(220)는 비트스트림을 복호화하면서 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하는 메시지를 추출하여 제2 로테이션부(210)로 제공한다.In addition, the decoder 220 extracts a message including a rotation flag (frm_rotate_flag) and a rotation direction flag (is_right90_flag) while decoding the bitstream and provides the message to the second rotation unit 210.

제2 로테이션부(210)는 회전 여부 플래그(frm_rotate_flag)가 “1”인 경우, 회전 방향 플래그(is_right90_flag)에 따라 복호화부(220)로부터 출력된 영상 프레임(FRM1_90)을 회전시킨다. 예를 들어, 회전 여부 플래그(frm_rotate_flag)가 “1”이고, 회전 방향 플래그(is_right90_flag)가 “1”인 경우, 제2 로테이션부(210)는 복호화부(220)로부터 출력된 영상 프레임(FRM1_90)을 반시계방향, 즉 -90˚ 회전시켜 제1 포맷의 영상 프레임(FRM1)을 출력한다. 또는 회전 여부 플래그(frm_rotate_flag)가 “1”이고, 회전 방향 플래그(is_right90_flag)가 “0”인 경우, 제2 로테이션부(210)는 복호화부(220)로부터 출력된 영상 프레임(FRM1_90)을 시계방향, 즉 +90˚ 회전시켜 제1 포맷의 영상 프레임(FRM1)을 출력한다. 만약, 회전 여부 플래그(frm_rotate_flag)가 “0”인 경우에는, 회전 방향 플래그(is_right90_flag)에 관계없이, 복호화부(220)로부터 출력된 영상 프레임을 회전시키지 않고 출력한다. 이러한 경우에 대해서는 도 4a 내지 도 5를 참조하여 후술한다. When the rotation flag (frm_rotate_flag) is "1", the second rotation unit 210 rotates the image frame FRM1_90 output from the decoder 220 according to the rotation direction flag is_right90_flag. For example, when the rotation flag (frm_rotate_flag) is "1" and the rotation direction flag (is_right90_flag) is "1", the second rotation unit 210 outputs an image frame FRM1_90 output from the decoder 220. Is rotated counterclockwise, that is, -90 ° to output the image frame FRM1 of the first format. Alternatively, when the rotation flag (frm_rotate_flag) is "1" and the rotation direction flag (is_right90_flag) is "0", the second rotation unit 210 clocks the image frame FRM1_90 output from the decoder 220. That is, the image frame FRM1 of the first format is output by rotating + 90 °. If the rotation flag (frm_rotate_flag) is "0", the image frame output from the decoder 220 is output without rotating, regardless of the rotation direction flag (is_right90_flag). This case will be described later with reference to FIGS. 4A to 5.

이러한 본 발명의 실시예에 따르면, 도 1b에 도시된 제1 포맷의 양안 영상 프레임(FRM1)을 효율적으로 부호화할 수 있다. 또한, 본 발명의 실시예에 따른 영 상 부호화 장치(100)에서 부호화부(120)가, 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1)을 종래의 공지된 H.264/AVC 표준 방식에 의해 효율적으로 부호화할 수 있다. 구체적으로 설명하면, 도 2b에 도시된 90˚ 회전된 영상 프레임(FRM1_90)을 효율적으로 부호화하는 기술이 이미 개발되었으며, H.264/AVC 표준도 이러한 영상 포맷을 효율적으로 부호화하는 것이지만, 도 1b에 도시된 제1 포맷의 양안 영상 프레임(FRM1)을 압축하는 경우에는 효율 측면에서 손실이 많이 발생한다. 즉, 도 1b에 도시된 제1 포맷의 양안 영상 프레임(FRM1)을 90˚ 회전시켜 도 2b에 도시된 바와 같은 포맷의 영상으로 변환한 후 부호화하면, 종래에 개발된 부호화 툴 및 이를 실행하기 위한 하드웨어의 변경없이 압축 효율을 높일 수 있다.According to the exemplary embodiment of the present invention, the binocular image frame FRM1 of the first format illustrated in FIG. 1B may be efficiently encoded. In addition, in the image encoding apparatus 100 according to an exemplary embodiment of the present invention, the encoder 120 uses a conventional H.264 / AVC standard scheme to display an image frame FRM1 of the first format shown in FIG. 1B. Can be efficiently encoded. Specifically, a technique for efficiently encoding the 90 [deg.] Rotated image frame FRM1_90 shown in FIG. 2B has already been developed. The H.264 / AVC standard also efficiently encodes such an image format. In the case of compressing the binocular image frame FRM1 of the illustrated first format, a large amount of loss occurs in terms of efficiency. That is, when the binocular image frame FRM1 of the first format shown in FIG. 1B is rotated by 90 °, converted into an image of the format as shown in FIG. 2B, and encoded, a conventionally developed encoding tool and a method for executing the same. Compression efficiency can be increased without changing hardware.

한편, 이하에서 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하는 메시지에 대하여 상세히 설명한다. 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하는 메시지는 다음과 같은 신택스를 갖을 수 있다.Meanwhile, a message including the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag) will be described in detail below. A message including the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag) may have the following syntax.

ext_stereo_video_info(payloadSize) {ext_stereo_video_info (payloadSize) { DescriptorDescriptor frm_rotate_flag   frm_rotate_flag u(1)u (1) if(frm_rotate_flag) {   if (frm_rotate_flag) { Is_right90_flag        Is_right90_flag u(1)u (1) }   } }}

메시지(ext_stereo_video_info)는 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 포함하며, 전술한 바와 같이, 회전 여부 플래그(frm_rotate_flag)는, 예컨데 1비트로서, 입력되는 영상 프레임(FRM1_90)의 회전 여부를 알리는 플래그이고, 회전 방향 플래그(is_right90_flag)는, 예컨데 1비트로 서, 영상 프레임(FRM1_90)의 회전 방향을 알리는 플래그이다.The message ext_stereo_video_info includes a rotation flag (frm_rotate_flag) and a rotation direction flag (is_right90_flag). As described above, the rotation flag (frm_rotate_flag) is, for example, 1 bit, and the input image frame FRM1_90 is rotated. Is a flag for notifying, and the rotation direction flag (is_right90_flag) is, for example, 1 bit and is a flag for notifying the rotation direction of the video frame FRM1_90.

제1 로테이션부(110)가 회전 여부와 회전 방향에 따라 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag)를 전송하면, 제2 로테이션부(210)가 이에 따라 복호화된 영상 프레임(FRM1_90)을 다시 역회전시켜, 최종적으로 입력된 영상 프레임(FRM1)으로 복원하게 된다.When the first rotation unit 110 transmits the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag) according to the rotation and the rotation direction, the second rotation unit 210 transmits the decoded image frame FRM1_90 accordingly. It rotates again and restores the image frame FRM1 that was finally input.

다음으로, 도 4a 내지 도 5를 참조하여, 도 1c에 도시된 제2 포맷의 영상 프레임(FRM2)이 입력되는 경우(제2 모드), 제2 포맷의 영상 프레임(FRM2)을 부호화/복호화하는 영상 부호화/복호화 장치 및 방법에 대해 설명한다. 도 4a는 본 발명의 다른 실시예에 따른 영상 부호화 장치를 나타내는 블록도이고, 도 4b는 도 4a의 제1 로테이션부와 부호화부를 설명하기 위한 개념도이고, 도 5는 본 발명의 또 다른 실시예에 따른 영상 복호화 장치를 나타내는 블록도이다.Next, referring to FIGS. 4A to 5, when the image frame FRM2 of the second format illustrated in FIG. 1C is input (second mode), the image frame FRM2 of the second format is encoded / decoded. A video encoding / decoding apparatus and method will be described. FIG. 4A is a block diagram illustrating an image encoding apparatus according to another embodiment of the present invention. FIG. 4B is a conceptual diagram for describing the first rotation unit and the encoding unit of FIG. 4A, and FIG. 5 is a view illustrating another embodiment of the present invention. Fig. 1 is a block diagram showing a video decoding apparatus.

도 4a를 참조하면, 제1 로테이션부(110)는 제2 포맷의 영상 프레임(FRM2)이 입력되는 경우(제2 모드), 입력되는 영상 프레임(FRM2)을 90˚ 회전시키지 않고 그대로 부호화부(120)로 출력한다. 이 때, 제1 로테이션부(110)는 입력되는 영상 프레임(FRM2)을 회전시키지 않았음을 알리는 “0”회전 여부 플래그(frm_rotate_flag)를 포함하는 메시지(message)를 출력할 수 있다. 이러한 회전 여부 플래그(frm_rotate_flag)를 포함하는 메시지는 부호화부(120)를 통해 후술되는 영상 복호화 장치(200)의 제2 로테이션부(210)로 제공된다. Referring to FIG. 4A, when the image frame FRM2 of the second format is input (second mode), the first rotation unit 110 does not rotate the input image frame FRM2 by 90 ° without changing the encoder ( 120). At this time, the first rotation unit 110 may output a message including a "0" rotation flag (frm_rotate_flag) indicating that the input image frame FRM2 is not rotated. The message including the rotation flag (frm_rotate_flag) is provided to the second rotation unit 210 of the image decoding apparatus 200 described later through the encoder 120.

부호화부(120)는 제1 로테이션부(110)로부터 출력된 영상 프레임(FRM2)을 부호화하고, 영상 복호화 장치(200)로 부호화된 비트스트림을 전송한다. 여기서 부호 화부(120)는, 예컨데 H.264/AVC 표준 방식에 의해 영상 프레임(FRM2)을 부호화할 수 있다.The encoder 120 encodes the image frame FRM2 output from the first rotation unit 110, and transmits the encoded bitstream to the image decoding apparatus 200. Here, the encoder 120 may encode the video frame FRM2 by, for example, the H.264 / AVC standard method.

구체적으로 설명하면, 도 4b에 도시된 바와 같이, 부호화부(120)는 영상 프레임(FRM2)을 제1 로테이션부(110)로부터 제공받아, 인터레이스 방식에 의해 탑 필드(TF)와 바텀 필드(BF)로 구분하고, 탑 필드(TF) 및 바텀 필드(BF)를 이용하여 영상 프레임(FRM2)을 부호화한다. 여기서 탑 필드(TF)는 도 1c에 도시된 제1 필드(TF)로서, 피사체(S)의 좌영상일 수 있고, 바텀 필드(BF)는 제2 필드(TF)로서, 피사체(S)의 우영상일 수 있다. Specifically, as illustrated in FIG. 4B, the encoder 120 receives the image frame FRM2 from the first rotation unit 110, and uses the interlaced top field TF and the bottom field BF. ) And encodes an image frame FRM2 using the top field TF and the bottom field BF. Here, the top field TF is the first field TF illustrated in FIG. 1C, which may be a left image of the subject S, and the bottom field BF is the second field TF, which is a representation of the subject S. It may be a right image.

예를 들어, 부호화부(120)는 탑 필드(TF)의 16×16의 매크로블록과 바텀 필드(BF)의 16×16의 매크로블록으로 이루어진 16×32의 블록 단위로 부호화하고, 영상 프레임(FRM2)의 16×32(또는 16×16)의 블록 단위로 부호화하여 이들 중 압축 효율이 높은 부호화 데이터를 선택할 수 있다(MB-AFF). 또는 전술한 바와 같이, 부호화부(120)는 Pic-AFF 방식으로 부호화할 수 있다. 또한 부호화부(120)는 움직임 추정 과정을 이용한 움직임 보상 과정이나 이산 여현 변환(Discrete Cosine Transform, DCT)과 같은 변환 과정, 그리고 양자화 과정을 수행할 수 있다. 또한 부호화부(120)는 휘도 Y와 색차 Cb, Cr 신호의 표본화 주파수의 비 4:2:0 또는 4:2:2를 이용할 수 있다.For example, the encoder 120 encodes a 16 × 32 block unit including 16 × 16 macroblocks of the top field TF and 16 × 16 macroblocks of the bottom field BF, and encodes an image frame ( Coded data having a high compression efficiency can be selected from among the 16 × 32 (or 16 × 16) block units of the FRM2 (MB-AFF). Alternatively, as described above, the encoder 120 may encode the Pic-AFF scheme. In addition, the encoder 120 may perform a motion compensation process using a motion estimation process, a transform process such as a discrete cosine transform (DCT), and a quantization process. Also, the encoder 120 may use a ratio of 4: 2: 0 or 4: 2: 2 between the luminance Y, the color difference Cb, and the sampling frequency of the Cr signal.

또한, 부호화부(120)는 회전 여부 플래그(frm_rotate_flag)를 포함하는 메시지를 함께 부호화할 수 있다. 한편, 부호화부(120)가 제2 포맷의 영상 프레임(FRM2)을 부호화하는 방법은 공지된 어떠한 방법으로도 가능하며, 이후에 개발되 는 방법중 어느 하나일 수 있다.In addition, the encoder 120 may encode a message including a rotation flag (frm_rotate_flag) together. Meanwhile, the encoding unit 120 may encode the second frame of the image frame FRM2 by any method known in the art, and may be any one of methods developed thereafter.

다음으로 도 5를 참조하면, 복호화부(220)는 부호화부(120)로부터 비트스트림을 입력받아 복호화한다. 예컨데, 여기서 복호화부(220)는 부호화부(120)와 대응되는 유닛으로, 부호화부(120)가 제2 포맷의 영상 프레임(FRM2)을 부호화한 방법과 대응되어 부호화된 제2 포맷의 영상 프레임(FRM2)을 복원하도록 복호화한다. 즉, 복호화부(220)는 부호화된 탑 필드(TF)와 바텀 필드(BF)를 복호화하여 제2 포맷의 영상 프레임(FRM2)을 복원할 수 있다. Next, referring to FIG. 5, the decoder 220 receives a bitstream from the encoder 120 and decodes the bitstream. For example, the decoder 220 is a unit corresponding to the encoder 120, and the image frame of the second format encoded according to the method in which the encoder 120 encodes the image frame FRM2 of the second format. Decrypt to restore (FRM2). That is, the decoder 220 may decode the encoded top field TF and the bottom field BF to restore the image frame FRM2 of the second format.

또한 복호화부(220)는 비트스트림을 복호화하면서 회전 여부 플래그(frm_rotate_flag)를 포함하는 메시지를 추출하여 제2 로테이션부(210)로 제공한다.In addition, the decoder 220 extracts a message including the rotation flag (frm_rotate_flag) while decoding the bitstream and provides the message to the second rotation unit 210.

제2 로테이션부(210)는 회전 여부 플래그(frm_rotate_flag)가 “0”이므로, 복호화부(220)로부터 출력된 영상 프레임(FRM1)을 회전시키지 않고 그대로 출력한다. 이러한 경우, 제2 로테이션부(210)는 회전 방향 플래그(is_right90_flag)를 무시할 수 있다. 예를 들어, 회전 여부 플래그(frm_rotate_flag)가 “0”이면, 회전 방향 플래그(is_right90_flag)가 “1” 또는 “0”에 관계없이, 제2 로테이션부(210)는 복호화부(220)로부터 출력된 영상 프레임(FRM2)을 회전시키지 않고, 그대로 출력한다. Since the rotation flag (frm_rotate_flag) is “0”, the second rotation unit 210 outputs the image frame FRM1 output from the decoder 220 without being rotated. In this case, the second rotation unit 210 may ignore the rotation direction flag is_right90_flag. For example, if the rotation flag (frm_rotate_flag) is "0", regardless of whether the rotation direction flag (is_right90_flag) is "1" or "0", the second rotation unit 210 is output from the decoder 220. The video frame FRM2 is output without being rotated.

이러한 본 발명의 실시예에 따르면, 도 1b 및 도 1c에 도시된 제1 및 제2 포맷의 양안 영상 프레임(FRM1, FRM2)중 어떠한 포맷의 양안 영상 프레임(FRM1, FRM2)이 입력되는 경우라도, 양안 영상 프레임(FRM1, FRM2)을 효율적으로 부호화할 수 있다. 또한, 도 1b 및 도 1c에 도시된 제1 및 제2 포맷의 양안 영상 프레임(FRM1, FRM2)중 어떠한 포맷의 양안 영상 프레임(FRM1, FRM2)이 입력되는 경우라도, 종래의 공지된 H.264/AVC 표준 방식에 의해 효율적으로 부호화할 수 있다. According to the exemplary embodiment of the present invention, even when the binocular image frames FRM1 and FRM2 of any of the first and second formats of the binocular image frames FRM1 and FRM2 shown in FIGS. 1B and 1C are inputted, The binocular image frames FRM1 and FRM2 can be encoded efficiently. Further, even when the binocular image frames FRM1 and FRM2 of any format are input from the first and second format binocular image frames FRM1 and FRM2 shown in Figs. 1B and 1C, conventionally known H.264 Can be encoded efficiently by the / AVC standard method.

한편, 또 다른 실시예에 따르면, 입력되는 영상 프레임(FRM1, FRM2)이 도 1b에 도시된 제1 포맷인 경우로 한정되는 경우에는, 본 발명에서 회전 여부 플래그(frm_rotate_flag) 및 회전 방향 플래그(is_right90_flag)를 포함하는 메시지는 제거될 수 있다. 즉, 제1 로테이션부(110)은 입력되는 영상 프레임(FRM1)을 항상 +90°로 회전시키며, 제2 로테이션부(210)는 복호화된 영상 프레임(FRM1_90)을 항상 -90°로 회전시킬 수 있다. 또는 회전 여부 플래그(frm_rotate_flag)만 제거될 수 있다. 즉, 즉, 제1 로테이션부(110)은 입력되는 영상 프레임(FRM1_90)을 +90° 또는 -90°로 회전시키고 이에 따라 회전 방향 플래그(is_right90_flag)를 전송하면, 제2 로테이션부(210)는, 회전 방향 플래그(is_right90_flag)에 따라 복호화된 영상 프레임(FRM1_90)을 -90° 또는 +90°로 회전시킬 수 있다.Meanwhile, according to another embodiment, when the input image frames FRM1 and FRM2 are limited to the case of the first format shown in FIG. 1B, the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag) according to the present invention. The message containing) may be removed. That is, the first rotation unit 110 may always rotate the input image frame FRM1 to + 90 °, and the second rotation unit 210 may always rotate the decoded image frame FRM1_90 to -90 °. have. Alternatively, only the rotation flag (frm_rotate_flag) may be removed. That is, when the first rotation unit 110 rotates the input image frame FRM1_90 to + 90 ° or -90 ° and transmits the rotation direction flag is_right90_flag accordingly, the second rotation unit 210 According to the rotation direction flag is_right90_flag, the decoded image frame FRM1_90 may be rotated by -90 ° or + 90 °.

다음으로 도 6을 참조하여 본 발명의 또 다른 실시예에 따른 영상 부호화 방법을 설명한다. 도 6은 본 발명의 또 다른 실시예에 따른 영상 부호화 방법을 나타내는 순서도이다.Next, an image encoding method according to another embodiment of the present invention will be described with reference to FIG. 6. 6 is a flowchart illustrating an image encoding method according to another embodiment of the present invention.

도 6을 참조하면, 입력되는 영상 프레임을 90°회전시킨다(S610). 이때, 영상 프레임의 회전 여부를 알리는 회전 여부 플래그 및/또는 회전 방향을 알리는 회전 방향 플래그를 출력할 수도 있다. 다만, 전술한 바와 마찬가지로, 입력되는 영상 프레임이 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1)으로 한정되는 경우, 회 전 여부 플래그와 회전 방향 플래그를 출력하지 않을 수도 있다. 또는 회전 방향 플래그만을 출력할 수도 있다.Referring to FIG. 6, the input image frame is rotated 90 ° (S610). In this case, a rotation flag indicating whether the image frame is rotated and / or a rotation direction flag indicating the rotation direction may be output. However, as described above, when the input image frame is limited to the image frame FRM1 of the first format shown in FIG. 1B, the rotation flag and the rotation direction flag may not be output. Alternatively, only the rotation direction flag may be output.

다음으로, 90°회전된 영상 프레임을 부호화한다(S620). 이때 H.265/AVC 표준에 의한 방식으로 90°회전된 영상 프레임을 부호화할 수 있다. 또한 회전 여부 플래그 및/또는 회전 방향 플래그를 함께 부호화할 수 있다. Next, the image frame rotated by 90 ° is encoded (S620). In this case, an image frame rotated by 90 ° may be encoded by the H.265 / AVC standard method. In addition, the rotation flag and / or the rotation direction flag may be encoded together.

도 7을 참조하여 본 발명의 일실시예에 따른 영상 복호화 방법을 설명한다. 도 7은 본 발명의 일실시예에 따른 영상 복호화 방법을 나타내는 순서도이다.An image decoding method according to an embodiment of the present invention will be described with reference to FIG. 7. 7 is a flowchart illustrating an image decoding method according to an embodiment of the present invention.

도 7을 참조하면, 부호화된 영상 프레임을 복호화한다(S710). 여기서 H.265/AVC 표준에 의한 방식으로 복호화할 수 있다.Referring to FIG. 7, an encoded video frame is decoded (S710). Here it can be decoded in a manner according to the H.265 / AVC standard.

다음으로, 복호화된 영상 프레임을 90°회전시킨다(S720). 여기서 회전 여부 플래그 및/또는 회전 방향 플래그를 참조하여 회전시킬 수 있다 즉, 회전 여부 플래그가 회전을 지시하면, 회전 방향 플래그가 지시하는 회전 방향에 따라 복호화된 영상 프레임을 회전시킬 수 있다. 다만, 전술한 바와 마찬가지로, 부호화되는 영상 프레임이 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1)으로 한정되는 경우, 회전 여부 플래그와 회전 방향 플래그를 참조하지 않고, 복호화된 영상 프레임을 부호화 단계에서 회전 시킨 방향과 반대로 90°회전시킬 수 있다. 또는 회전 방향 플래그만을 참조하여 90°회전시킬 수 있다.Next, the decoded video frame is rotated 90 ° (S720). The rotation flag may be rotated with reference to the rotation flag and / or the rotation direction flag. That is, if the rotation flag indicates rotation, the decoded image frame may be rotated according to the rotation direction indicated by the rotation direction flag. However, as described above, when the video frame to be encoded is limited to the video frame FRM1 of the first format shown in FIG. 1B, the decoding of the decoded video frame without reference to the rotation flag and the rotation direction flag are performed. It can be rotated 90 ° as opposed to the direction of rotation. Alternatively, it may be rotated by 90 ° with reference only to the rotation direction flag.

이하에서 도 8을 참조하여, 본 발명의 또 다른 실시예에 따른 영상 부호화 장치, 영상 부호화 방법, 영상 복호화 장치, 영상 복호화 방법 및 컴퓨터 판독가능한 기록매체에 대해 설명한다. 도 8은 본 발명의 또 다른 실시예에 따른 영상 부호 화 장치를 설명하기 위한 블록도이다Hereinafter, an image encoding apparatus, an image encoding method, an image decoding apparatus, an image decoding method, and a computer readable recording medium according to another embodiment of the present invention will be described with reference to FIG. 8. 8 is a block diagram illustrating a video encoding apparatus according to another embodiment of the present invention.

먼저, 본 실시예에서 영상 프레임이 부호화된 비트스트림(또는 비디오 시퀀스)를 복호화하는데 필요한 메시지(ext_stereo_video_info)는 다음과 같을 수 있다.First, in this embodiment, a message ext_stereo_video_info necessary to decode a bitstream (or a video sequence) encoded with an image frame may be as follows.

ext_stereo_video_info(payloadSize) {ext_stereo_video_info (payloadSize) { DescriptorDescriptor frm_rotate_flag   frm_rotate_flag u(1)u (1) if(frm_rotate_flag) {   if (frm_rotate_flag) { Is_right90_flag        Is_right90_flag u(1)u (1) }   } stero_video_info()   stero_video_info () }}

즉, 메시지(ext_stereo_video_info)는, 회전 여부 플래그(frm_rotate_flag)와 회전 방향 플래그(is_right90_flag) 외에도, H.264/AVC 표준에서 정하는 스테레오 비디오 정보 SEI(Stereo video information SEI)인 stero_video_info를 더 포함할 수 있다. That is, the message ext_stereo_video_info may further include stero_video_info, which is a stereo video information SEI defined by the H.264 / AVC standard, in addition to the rotation flag (frm_rotate_flag) and the rotation direction flag (is_right90_flag).

스테레오 비디오 정보 SEI(Stereo video information SEI)인 stero_video_info는, H.264/AVC 표준에서, 한 쌍의 부호 비디오 시퀀스(coded video sequence)가 양안 영상을 형성한다는 것을 부호화부(120)에게 지시하는 메시지로 정의되어 있다. 스테레오 비디오 정보 SEI(Stereo video information SEI)인 stero_video_info는 다음과 같다.Stero_video_info, which is a stereo video information SEI, is a message instructing the encoder 120 that a pair of coded video sequences form a binocular image in the H.264 / AVC standard. It is defined. The stero_video_info, which is a stereo video information SEI, is as follows.

stereo_video_info(payloadSize) {stereo_video_info (payloadSize) { DescriptorDescriptor field_view_flag   field_view_flag u(1)u (1) if(field_view_flag)   if (field_view_flag) top_field_is_left_view_flag        top_field_is_left_view_flag u(1)u (1) else{   else { current_frame_is_left_view_flag        current_frame_is_left_view_flag u(1)u (1) next_frame_is_second_view_flag        next_frame_is_second_view_flag u(1)u (1) }   } left_view_self_contained_flagleft_view_self_contained_flag u(1)u (1) right_view_self_contained_flagright_view_self_contained_flag u(1)u (1) }}

이러한 경우에는, 입력되는 영상 프레임의 포맷이 좌영상 및 우영상의 화소 열(또는 화소 행)이 조합된 형태가 아니고, 도 8에 도시된 바와 같이, 좌영상의 프레임(또는 픽쳐)(FRM3_L)과 우영상의 프레임(또는 픽쳐)(FRM3_R)이 나열되어 순차적으로 입력되는 경우(제3 모드)에도 영상을 효율적으로 부호화하고 복호화할 수 있다. In this case, the format of the input image frame is not a combination of pixel columns (or pixel rows) of the left image and the right image, and as shown in FIG. 8, the frame (or picture) of the left image (FRM3_L) Even when frames (or pictures) FRM3_R of the right and right images are listed and sequentially input (third mode), the image can be efficiently encoded and decoded.

즉, 도 1b에 도시된 제1 포맷의 영상 프레임(FRM1), 도 1c에 도시된 제2 포맷의 영상 프레임(FRM2) 및 도 8에 도시된 제3 포맷의 영상 프레임들(FRM3_L, FRM3_R) 중 어떠한 포맷의 영상 프레임이 입력되어도 영상을 효율적으로 부호화하고 복호화할 수 있다. 좀 더 구체적으로 말하면, 입력되는 영상의 포맷에 따라, 제1 로테이션부(110)가 제1 모드에서는 영상 프레임을 회전시키고, 제2 및 제3 모드에서는 영상 프레임을 회전 시키지 않고 부호화부(120)로 제공한다. 또한 제1 로테이션부(110)는 메시지(ext_stereo_video_info)를 출력한다. 부호화부(120)는 제1 로테이션(110)으로부터 출력된 영상 프레임을 효율적으로 부호화하여 부호화된 비트스트림을 출력한다. 복호화부(210)는 비트스트림을 입력받아 복호화하고, 제2 로테이션부(220)는 메시지(ext_stereo_video_info)를 참조하여 복호화부(210)로부터 출력된 영상 프레임을 선택적으로 회전시킨다. 즉, 제2 로테이션부(220)는 제1 모드에서 복호화부(210)로부터 출력된 영상 프레임을 회전시켜 출력하고, 제2 및 제3 모드에서는 회전시키지 않고 그대로 출력한다. That is, among the image frame FRM1 of the first format shown in FIG. 1B, the image frame FRM2 of the second format shown in FIG. 1C, and the image frames FRM3_L and FRM3_R of the third format shown in FIG. 8. Whatever the format of the image frame, the image can be efficiently encoded and decoded. More specifically, according to the format of the input image, the first rotation unit 110 rotates the image frame in the first mode, and the encoder 120 without rotating the image frame in the second and third modes. To provide. In addition, the first rotation unit 110 outputs a message ext_stereo_video_info. The encoder 120 efficiently encodes the image frame output from the first rotation 110 and outputs the encoded bitstream. The decoder 210 receives and decodes the bitstream, and the second rotation unit 220 selectively rotates the image frame output from the decoder 210 with reference to the message ext_stereo_video_info. That is, the second rotation unit 220 rotates and outputs the image frame output from the decoder 210 in the first mode, and outputs the same without being rotated in the second and third modes.

본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다 는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구의 범위에 의하여 나타내어지며, 특허청구의 범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Those skilled in the art will appreciate that the present invention can be embodied in other specific forms without changing the technical spirit or essential features of the present invention. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the scope of the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and the equivalent concept are included in the scope of the present invention. Should be interpreted.

도 1a는 양안 영상을 촬영하기 위한 구성도이다.1A is a block diagram for capturing a binocular image.

도 1b는 제1 포맷의 양안 영상 프레임을 설명하기 위한 개념도이다.1B is a conceptual diagram illustrating a binocular image frame of a first format.

도 1c는 제2 포맷의 양안 영상 프레임을 설명하기 위한 개념도이다.1C is a conceptual diagram illustrating a binocular image frame of a second format.

도 2a는 본 발명의 실시예에 따른 영상 부호화 장치를 나타내는 블록도이다.2A is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.

도 2b는 도 2a의 제1 로테이션부와 부호화부를 설명하기 위한 개념도이다.FIG. 2B is a conceptual diagram illustrating the first rotation unit and the encoder of FIG. 2A.

도 3은 본 발명의 일실시예에 따른 영상 복호화 장치를 나타내는 블록도이다 3 is a block diagram illustrating an image decoding apparatus according to an embodiment of the present invention.

도 4a는 본 발명의 다른 실시예에 따른 영상 부호화 장치를 나타내는 블록도이다.4A is a block diagram illustrating an image encoding apparatus, according to another embodiment of the present invention.

도 4b는 도 4a의 제1 로테이션부와 부호화부를 설명하기 위한 개념도이다.FIG. 4B is a conceptual diagram for describing the first rotation unit and the encoder of FIG. 4A.

도 5는 본 발명의 또 다른 실시예에 따른 영상 복호화 장치를 나타내는 블록도이다.5 is a block diagram illustrating an image decoding apparatus according to another embodiment of the present invention.

도 6은 본 발명의 또 다른 실시예에 따른 영상 부호화 방법을 나타내는 순서도이다.6 is a flowchart illustrating an image encoding method according to another embodiment of the present invention.

도 7은 본 발명의 또 다른 실시예에 따른 영상 복호화 방법을 나타내는 순서도이다.7 is a flowchart illustrating an image decoding method according to another embodiment of the present invention.

도 8은 본 발명의 또 다른 실시예에 따른 영상 부호화 장치를 설명하기 위한 블록도이다.8 is a block diagram illustrating an image encoding apparatus according to another embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100: 영상 부호화 장치 110: 제1 로테이션부100: video encoding apparatus 110: first rotation unit

120: 부호화부 200: 영상 복호화 장치120: encoder 200: video decoding device

210: 제2 로테이션부 220: 복호화부210: second rotation unit 220: decoder

Claims (22)

제1 모드에서, 입력되는 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 로테이션부; 및A rotation unit configured to rotate the input first image frame by a predetermined angle and output the second image frame in a first mode; And 상기 제2 영상 프레임을 인터레이스(interlace) 방식에 의해 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 상기 탑 필드 및 상기 바텀 필드를 이용하여 상기 제2 영상 프레임을 부호화하는 부호화부를 포함하는 영상 부호화 장치.An encoder configured to classify the second image frame into a top field and a bottom field by an interlace method, and to encode the second image frame by using the top field and the bottom field. Image encoding apparatus comprising. 제 1항에 있어서,The method of claim 1, 상기 로테이션부는 상기 제1 영상 프레임의 회전 방향을 알리는 회전 방향 플래그를 제공하는 영상 부호화 장치.And the rotation unit provides a rotation direction flag indicating a rotation direction of the first image frame. 제 1항에 있어서, 상기 제1 모드에서 상기 제1 영상 프레임은The method of claim 1, wherein the first image frame in the first mode 피사체의 좌영상을 구성하는 적어도 하나의 화소 열(column)과, 상기 피사체의 우영상을 구성하는 적어도 하나의 화소 열이 순차적으로 교대로 조합된 영상인 부호화 장치.And at least one column of pixels constituting the left image of the subject and at least one column of pixels constituting the right image of the subject. 제 1항에 있어서,The method of claim 1, 제2 모드에서, 상기 로테이션부는 상기 제1 영상 프레임을 회전시키지 않고 상기 제2 영상 프레임으로 제공하는 영상 부호화 장치.In the second mode, the rotation unit is provided to the second image frame without rotating the first image frame. 제 4항에 있어서,The method of claim 4, wherein 상기 로테이션부는 상기 제1 영상 프레임을 회전시켰는지 여부를 알리는 회전 여부 플래그를 제공하는 영상 부호화 장치.And the rotation unit provides a rotation flag indicating whether or not the first image frame has been rotated. 제 4항에 있어서, 상기 제2 모드에서 상기 제1 영상 프레임은The method of claim 4, wherein the first image frame in the second mode 피사체의 좌영상을 구성하는 적어도 하나의 화소 행(row)과, 상기 피사체의 우영상을 구성하는 적어도 하나의 화소 행이 순차적으로 교대로 조합된 영상인 영상 부호화 장치.And an at least one pixel row constituting the left image of the subject and at least one pixel row constituting the right image of the subject. 제 1항에 있어서,The method of claim 1, 상기 부호화부는 H.264/AVC 표준으로 상기 제2 영상 프레임을 부호화하는 영상 부호화 장치.And the encoder is configured to encode the second image frame according to the H.264 / AVC standard. 제1 영상 프레임을 제2 영상 프레임으로 출력하는 단계로서, 제1 모드에서 상기 제1 영상 프레임을 소정 각도 회전시켜 상기 제2 영상 프레임으로 출력하는 단계; 및Outputting a first image frame as a second image frame, wherein the first image frame is rotated by a predetermined angle in a first mode and outputted as the second image frame; And 상기 제2 영상 프레임을 인터레이스(interlace) 방식에 의해 탑 필드(top field)와 바텀 필드(bottom field)로 구분하고, 상기 탑 필드 및 상기 바텀 필드를 이용하여 상기 제2 영상 프레임을 부호화하는 단계를 포함하는 영상 부호화 방법.Dividing the second image frame into a top field and a bottom field by an interlace method, and encoding the second image frame by using the top field and the bottom field. Image coding method comprising. 제 8항에 있어서,The method of claim 8, 상기 출력하는 단계는 상기 제1 영상 프레임의 회전 방향을 알리는 회전 방향 플래그를 제공하는 단계를 포함하는 영상 부호화 방법.The outputting may include providing a rotation direction flag indicating a rotation direction of the first image frame. 제 8항에 있어서, 상기 제1 모드에서 상기 제1 영상 프레임은The method of claim 8, wherein the first image frame in the first mode 피사체의 좌영상을 구성하는 적어도 하나의 화소 열(column)과, 상기 피사체의 우영상을 구성하는 적어도 하나의 화소 열이 순차적으로 교대로 조합된 영상인 영상 부호화 방법.And at least one column of pixels constituting the left image of the subject and at least one column of pixels constituting the right image of the subject. 제 8항에 있어서,The method of claim 8, 제2 모드에서, 상기 출력하는 단계는 상기 제1 영상 프레임을 회전시키지 않고 상기 제2 영상 프레임으로 출력하는 영상 부호화 방법.In the second mode, the outputting of the image encoding method outputs the second image frame without rotating the first image frame. 제 11항에 있어서,The method of claim 11, 상기 출력하는 단계는 상기 제1 영상 프레임을 회전시켰는지 여부를 알리는 회전 여부 플래그를 제공하는 단계를 포함하는 영상 부호화 방법.The outputting may include providing a rotation flag indicating whether or not the first image frame has been rotated. 제 11항에 있어서, 상기 제2 모드에서 상기 제1 영상 프레임은The method of claim 11, wherein the first image frame in the second mode 피사체의 좌영상을 구성하는 적어도 하나의 화소 행(row)과, 상기 피사체의 우영상을 구성하는 적어도 하나의 화소 행이 순차적으로 교대로 조합된 영상인 영상 부호화 방법.And an at least one pixel row constituting the left image of the subject and at least one pixel row constituting the right image of the subject in turn. 제 8항에 있어서,The method of claim 8, 상기 부호화하는 단계는 H.264/AVC 표준으로 상기 제2 영상 프레임을 부호화하는 단계를 포함하는 영상 부호화 방법.And the encoding comprises encoding the second image frame according to the H.264 / AVC standard. 부호화된 비디오 시퀀스를 복호화하여 제1 영상 프레임을 복원하는 복호화부; 및A decoder configured to decode the encoded video sequence to reconstruct the first image frame; And 회전 여부를 지시하는 회전 여부 플래그를 제공받아, 상기 회전 여부 플래그에 따라 선택적으로 상기 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 로테이션부를 포함하는 영상 복호화 장치.And a rotation unit configured to receive a rotation flag indicating whether to rotate and selectively rotate the first image frame by a predetermined angle according to the rotation flag to output a second image frame. 제 15항에 있어서, 상기 로테이션부는The method of claim 15, wherein the rotation unit 회전 방향을 알리는 회전 방향 플래그를 제공받고,Provided with a rotation direction flag indicating the direction of rotation, 상기 회전 여부 플래그가 회전을 지시할 때, 상기 회전 방향에 따라 상기 제1 영상 프레임을 90°회전시키는 영상 복호화 장치.And rotating the first image frame by 90 ° according to the rotation direction when the rotation flag indicates rotation. 부호화된 비디오 시퀀스를 복호화하여 제1 영상 프레임을 복원하는 단계;Reconstructing the first image frame by decoding the encoded video sequence; 회전 여부를 지시하는 회전 여부 플래그를 제공받는 단계; 및Receiving a rotation flag indicating whether to rotate; And 상기 회전 여부 플래그에 따라 선택적으로 상기 제1 영상 프레임을 소정 각도 회전시켜 제2 영상 프레임으로 출력하는 단계를 포함하는 영상 복호화 방법.And selectively rotating the first image frame by a predetermined angle and outputting the second image frame according to the rotation flag. 제 17항에 있어서, 상기 제공받는 단계는The method of claim 17, wherein the receiving step 회전 방향을 알리는 회전 방향 플래그를 제공받는 단계를 포함하는 영상 복호화 방법.And receiving a rotation direction flag indicating a rotation direction. 제 18항에 있어서,The method of claim 18, 상기 회전 여부 플래그가 회전을 지시할 때, 상기 출력하는 단계는 상기 회전 방향 플래그의 상기 회전 방향에 대응하여 상기 제1 영상 프레임을 90°회전시키는 단계를 포함하는 영상 복호화 방법.And when the rotation flag indicates rotation, the outputting includes rotating the first image frame by 90 ° corresponding to the rotation direction of the rotation direction flag. 제 18항에 있어서,The method of claim 18, 상기 회전 여부 플래그가 회전을 지시하지 않을 때, 상기 출력하는 단계는 상기 회전 방향 플래그에 관계없이 상기 제1 영상 프레임을 회전시키지 않고 출력 하는 단계를 포함하는 영상 복호화 방법.And when the rotation flag does not indicate rotation, outputting the output image comprises outputting the first image frame without rotating the image regardless of the rotation direction flag. 영상 프레임이 부호화된 비디오 시퀀스를 복호화하는 프로그램이 저장된 컴퓨터로 판독가능한 기록매체에 있어서, A computer-readable recording medium storing a program for decoding a video sequence encoded with an image frame, the method comprising: 상기 프로그램은 메시지를 이용하여 복호화를 수행하는 것이고,The program is to perform decryption using a message, 상기 메시지는,The message is 상기 영상 프레임이 회전되어 부호화되었는지 여부를 알리는 회전 여부 플래그; 및A rotation flag indicating whether the image frame is rotated and encoded; And 상기 영상 프레임이 회전된 경우 상기 영상 프레임의 회전 방향을 알리는 회전 방향 플래그를 포함하는 것And a rotation direction flag indicating a rotation direction of the image frame when the image frame is rotated. 인 프로그램이 저장된 컴퓨터 판독가능한 기록매체.Computer-readable recording medium having stored thereon program. 제 21항에 있어서,The method of claim 21, 상기 메시지는 H.264/AVC 표준의 스테레오 비디오 정보 SEI(Stereo video information SEI)를 더 포함하는 것The message further includes a stereo video information SEI of the H.264 / AVC standard. 인 프로그램이 저장된 컴퓨터 판독가능한 기록매체.Computer-readable recording medium having stored thereon program.
KR1020080049156A 2008-05-27 2008-05-27 Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium KR100956641B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080049156A KR100956641B1 (en) 2008-05-27 2008-05-27 Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080049156A KR100956641B1 (en) 2008-05-27 2008-05-27 Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
KR20090123194A KR20090123194A (en) 2009-12-02
KR100956641B1 true KR100956641B1 (en) 2010-05-11

Family

ID=41685470

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080049156A KR100956641B1 (en) 2008-05-27 2008-05-27 Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium

Country Status (1)

Country Link
KR (1) KR100956641B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060000612A (en) * 2004-06-29 2006-01-06 삼성전자주식회사 Apparatus, system and method for compression of rotated image
KR20060079876A (en) * 2005-01-03 2006-07-07 삼성전자주식회사 Data transmission apparatus and data transmission/reception system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060000612A (en) * 2004-06-29 2006-01-06 삼성전자주식회사 Apparatus, system and method for compression of rotated image
KR20060079876A (en) * 2005-01-03 2006-07-07 삼성전자주식회사 Data transmission apparatus and data transmission/reception system

Also Published As

Publication number Publication date
KR20090123194A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
US10432958B2 (en) Tiling in video encoding and decoding
US11758139B2 (en) Image processing device and method
US8274551B2 (en) Method and apparatus for generating header information of stereoscopic image data
US9686541B2 (en) Image processing device and method
US20150222928A1 (en) Frame packing for video coding
US20090015662A1 (en) Method and apparatus for encoding and decoding stereoscopic image format including both information of base view image and information of additional view image
US20110280316A1 (en) Frame packing for asymmetric stereo video
US8810628B2 (en) Image processing apparatus and image processing method
US20110268193A1 (en) Encoding and decoding method for single-view video or multi-view video and apparatus thereof
KR20240050412A (en) Methods, devices and media for video processing
KR100956641B1 (en) Video encoding method and apparatus, video decoding method and apparatus, and computer-readable storage medium
JP5442688B2 (en) Moving picture coding apparatus and method, and moving picture decoding apparatus and method
Lau et al. Compression of still multiview images for 3-D automultiscopic spatially-multiplexed displays

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130111

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140812

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150429

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170501

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20190429

Year of fee payment: 10