KR101154743B1 - Encoder apparatus, encoding method, decoder apparatus, decoding method, recording medium, and playback apparatus - Google Patents

Encoder apparatus, encoding method, decoder apparatus, decoding method, recording medium, and playback apparatus Download PDF

Info

Publication number
KR101154743B1
KR101154743B1 KR1020067025866A KR20067025866A KR101154743B1 KR 101154743 B1 KR101154743 B1 KR 101154743B1 KR 1020067025866 A KR1020067025866 A KR 1020067025866A KR 20067025866 A KR20067025866 A KR 20067025866A KR 101154743 B1 KR101154743 B1 KR 101154743B1
Authority
KR
South Korea
Prior art keywords
picture
scanning
frame
flag
encoding
Prior art date
Application number
KR1020067025866A
Other languages
Korean (ko)
Other versions
KR20070030825A (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 claimed from PCT/JP2005/010634 external-priority patent/WO2005122584A1/en
Publication of KR20070030825A publication Critical patent/KR20070030825A/en
Application granted granted Critical
Publication of KR101154743B1 publication Critical patent/KR101154743B1/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/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/103Selection of coding mode or of prediction mode
    • H04N19/112Selection of coding mode or of prediction mode according to a given display mode, e.g. for interlaced or progressive display mode
    • 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

Abstract

순차 주사의 픽처를, 그 수직 해상도를 손상시키지 않도록 표시한다. 화상 부호화 장치(101)에서는, 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지의 판정 결과가, 주사 플래그로 세트되고, 픽처의 표시 방식을 나타내는 정보가, 표시 방식 지시 정보로 세트되고, 그들이 다중화된 부호화 데이터가 출력된다. 화상 복호 장치(102)에서는, 부호화 데이터의 주사 플래그와 표시 방식 지시 정보에 기초하여, 픽처가 인식된다. 픽처가, 비월 주사의 픽처인 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처가 생성되어 출력된다. 또한, 픽처가 순차 주사의 픽처인 경우, 그 픽처가, 프레임 픽처로서 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력된다. 본 발명은, 예를 들면, 화상을 H.264/AVC에 준거하여 부호화/복호하는 경우에 적용할 수 있다.The pictures of the progressive scan are displayed so as not to impair their vertical resolution. In the image encoding apparatus 101, the determination result of which picture is interlaced scanning or sequential scanning is set to the scanning flag, information indicating the display system of the picture is set to the display system instruction information, and they are multiplexed. The encoded data is output. In the image decoding device 102, a picture is recognized based on the scan flag of the encoded data and the display method indication information. When the picture is a picture for interlaced scanning, a frame picture is generated and output by field interpolating the picture. When the picture is a picture of sequential scanning, the picture is repeatedly output as many times as the frame picture corresponding to the display system indication information. The present invention can be applied, for example, to the case of encoding / decoding an image based on H.264 / AVC.

화상 데이터, 비월 주사, 순차 주사, 부호화, 복호화 Image data, interlaced scanning, sequential scanning, encoding, decoding

Description

부호화 장치 및 부호화 방법, 복호 장치 및 복호 방법, 기록 매체, 및 재생 장치{ENCODER APPARATUS, ENCODING METHOD, DECODER APPARATUS, DECODING METHOD, RECORDING MEDIUM, AND PLAYBACK APPARATUS}Coding apparatus and coding method, decoding apparatus and decoding method, recording medium, and reproducing apparatus {ENCODER APPARATUS, ENCODING METHOD, DECODER APPARATUS, DECODING METHOD, RECORDING MEDIUM, AND PLAYBACK APPARATUS}

본 발명은, 부호화 장치 및 부호화 방법, 복호 장치 및 복호 방법, 프로그램 및 프로그램 기록 매체, 데이터 기록 매체 및 데이터 구조, 및 재생 장치에 관한 것으로, 특히, 예를 들면, 순차 주사의 픽처를, 그 수직 해상도를 손상시키지 않도록 표시할 수 있게 하는 부호화 장치 및 부호화 방법, 복호 장치 및 복호 방법, 프로그램 및 프로그램 기록 매체, 데이터 기록 매체 및 데이터 구조, 및 재생 장치에 관한 것이다.The present invention relates to an encoding device and an encoding method, a decoding device and a decoding method, a program and a program recording medium, a data recording medium and a data structure, and a reproduction device. In particular, for example, a picture of sequential scanning is vertically oriented. The present invention relates to an encoding device and an encoding method, a decoding device and a decoding method, a program and a program recording medium, a data recording medium and a data structure, and a reproducing device, which can be displayed so as not to impair the resolution.

최근, 화상 신호를 디지털 데이터로 취급하고, 효율이 높은 정보의 전송, 축적을 목적으로 하여, 화상 특유의 용장성을 이용하여, 이산 코사인 변환 등의 직교 변환과 움직임 보상에 의해, 화상 신호를 압축/복호하는 MPEG(Moving Picture Experts Group) 등의 규격에 준거한 화상 처리 장치가, 정보 배신을 행하는 방송국 등과, 정보 수신을 행하는 일반 가정 등의 쌍방에서 보급되고 있다.In recent years, an image signal is treated as digital data, and the image signal is compressed by orthogonal transformation such as discrete cosine transform and motion compensation, using the redundancy peculiar to the image for the purpose of transferring and accumulating highly efficient information. Image processing apparatuses conforming to standards such as MPEG (Moving Picture Experts Group) to be decoded are widely used by broadcasting stations that deliver information and the like and general homes that receive information.

이와 같은 화상 처리 장치의 보급에 수반하고, 그 화상 처리 장치에서 취급할 수 있는 콘텐츠의 충실도 도모되고 있으며, 그러한 콘텐츠로서는, 예를 들면, 영화의 콘텐츠가 있다.With the dissemination of such an image processing apparatus, the fidelity of the content which can be handled by the image processing apparatus is aimed at, For example, the content of a movie is a content.

영화는, 필름(영화 필름)에 찍힌 연속 사진이기 때문에, 이것을, 예를 들면, 텔레비전 방송의 프로그램 등으로서, 방송국으로부터 방송하거나, 혹은, 비디오 패키지로 하여 판매 등을 하기 위해서는, 텔레비전 방송용의 전기 신호인 화상 신호(비디오 신호)로 변환하여야만 한다. 즉, 광학적으로 비추어내는 필름 상의 화상을 전기적으로 취득하여, 화상 표시 레이트의 변환, 그 외의 처리를 행하여야만 한다. 이러한 기술은, 일반적으로, 텔레시네라고 불린다.Since a movie is a continuous photograph taken on a film (movie film), it is an electric signal for television broadcasting, for example, to broadcast it from a broadcasting station as a program of a television broadcast, or to sell it as a video package. It must be converted into an in picture signal (video signal). That is, the image on the optically projected film must be electrically acquired to perform the conversion of the image display rate and other processing. This technique is commonly called telecine.

통상적으로, 화상 신호와 영화 필름에서는, 1초당 표시되는 프레임의 수(코마수), 즉, 표시 레이트가 상이하다. 현재, 많은 영상 필름에서는, 1초간에 24 프레임의 픽처가 표시되는 데 대하여, 예를 들면, NTSC(National Television System Committee) 방식에서는, 1초간에 30 프레임의 픽처가 표시된다. 따라서, 텔레시네에서는, 이러한 표시 레이트의 변환이 그 주된 처리의 하나로서 행해진다. 이 표시 레이트의 변환은, 2-3 풀다운이라고 불린다.Usually, in the image signal and the movie film, the number of frames (comma) displayed per second, that is, the display rate is different. At present, many picture films display pictures of 24 frames per second, for example, in the NTSC (National Television System Committee) system, pictures of 30 frames are displayed for one second. Therefore, in telecine, such display rate conversion is performed as one of the main processes. This display rate conversion is called 2-3 pulldown.

또한, 정확하게는, NTSC 방식의 화상 신호의 표시 레이트는 29.97㎐이며, 영화 필름의 표시 레이트는 23.976㎐이다.In addition, the display rate of the NTSC system image signal is 29.97 Hz, and the display rate of the movie film is 23.976 Hz.

여기에서, 프레임의 픽처는, 도 1에 도시하는 바와 같이, 필드라고 불리는 픽처로 나눌 수 있다. 예를 들면, 프레임의 홀수 라인의 화소(화소치)를 모은 것은 탑 필드라고, 또한 짝수 라인의 화소를 모은 것은 보텀 필드라고 각각 불린다.Here, the picture of the frame can be divided into a picture called a field, as shown in FIG. For example, pixels (pixel values) of odd lines of a frame are called top fields, and pixels of even lines are called bottom fields, respectively.

또한, 픽처에는, 그 주사 방식이 비월 주사인 픽처와, 순차 주사인 픽처가 있다. 비월 주사의 픽처와 순차 주사의 픽처에서는, 화소가 샘플된 시각이 상이하다. 즉, 비월 주사의 픽처에서는, 1 프레임 내의 짝수 라인과 홀수 라인에서 샘플 시각이 어긋나 있어, 그 결과, 탑 필드와 보텀 필드의 샘플 시각이 상이하다. 한편, 순차 주사의 픽처에서는, 탑 필드와 보텀 필드의 샘플 시각이 동일하다.The picture includes a picture whose scanning method is interlaced scanning and a picture that is sequentially scanned. In a picture of interlaced scanning and a picture of sequential scanning, the time when a pixel was sampled differs. That is, in the interlaced picture, the sample time is shifted between even and odd lines in one frame, and as a result, the sample time of the top field and the bottom field is different. On the other hand, in sequential scanning, the sample time of the top field and the bottom field is the same.

영화 필름의 픽처는, 순차 주사의 픽처로서, 프레임 단위로 표시된다. NTSC 방식의 픽처는, 비월 주사의 픽처로서, 필드 단위로 표시된다. 즉, 순차 주사에서는, 프레임의 주사가 순차적으로 행해지고, 그 결과, 프레임의 픽처가 표시된다. 또한, 비월 주사에서는, 프레임의 주사가 비월로 행해지고, 즉, 프레임의 주사가 그 프레임을 구성하는 탑 필드와 보텀 필드에 대해 교대로 행해지고, 그 결과, 프레임을 구성하는 탑 필드의 픽처와 보텀 필드의 픽처가 교대로 표시된다.The picture of the movie film is displayed in units of frames as a picture of sequential scanning. A picture of the NTSC system is a picture of interlaced scanning and displayed in field units. That is, in sequential scanning, scanning of frames is performed sequentially, and as a result, pictures of the frames are displayed. In interlaced scanning, scanning of a frame is performed interlaced, that is, scanning of a frame is alternately performed on the top field and the bottom field constituting the frame, and as a result, the picture and the bottom field of the top field constituting the frame are consequently. Pictures are displayed alternately.

이 때문에, 텔레시네에서는, 24㎐의 영화 필름의 프레임 픽처가, 2-3 풀다운에 의해, 60㎐(정확하게는, 59.94㎐)의 필드로 이루어지는 30㎐의 NTSC 방식의 프레임 픽처로 변환된다.For this reason, in telecine, a frame picture of a 24 영화 movie film is converted into a 30 NT NTSC frame picture composed of a 60 ㎐ field (exactly 59.94 ㎐) field by 2-3 pull down.

즉, 2-3 풀다운에서는, 우선 최초로, 24㎐의 영화 필름의 프레임이, 도 1에 도시한 바와 같이, 탑 필드와 보텀 필드로 분할된다. 그리고, 그 탑 필드와 보텀 필드가, 30㎐의 NTSC 방식의 프레임을 구성하는 필드로 적당히 할당된다.That is, in the 2-3 pulldown, first, the frame of the 24 영화 movie film is divided into a top field and a bottom field as shown in FIG. 1. The top field and the bottom field are appropriately allocated to the fields constituting the 30 ms NTSC frame.

구체적으로는, 예를 들면, 24㎐의 영화 필름의 4 프레임을, 시계열로, A, B, C, D로 나타내고, 또한, 예를 들면, 프레임 A를 분할하여 얻어지는 탑 필드를 A(1), 보텀 필드를 A(2)와 같이 나타낸다고 하면, 2-3 풀다운에서는, 예를 들면, 도 2에 도시하는 바와 같이, 탑 필드 A(1)과 보텀 필드 A(2)로, 최초의 30㎐의 NTSC 방식의 프레임이 구성되고, 탑 필드 B(1)과 보텀 필드 B(2)로, 2번째의 30㎐의 NTSC 방식의 프레임이 구성된다. 또한, 탑 필드 B(1)과 보텀 필드 C(2)로, 3번째의 30㎐의 NTSC 방식의 프레임이 구성되고, 탑 필드 C(1)과 보텀 필드 D(2)로, 4번째의 30㎐의 NTSC 방식의 프레임이 구성된다. 그리고, 탑 필드 D(1)과 보텀 필드 D(2)로, 5번째의 30㎐의 NTSC 방식의 프레임이 구성된다.Specifically, for example, four frames of a 24 ㎐ movie film are represented by A, B, C, and D in time series, and, for example, a top field obtained by dividing frame A is indicated by A (1). If the bottom field is represented as A (2), in the 2-3 pulldown, as shown in FIG. 2, for example, the top field A (1) and the bottom field A (2) are initially 30 ms. An NTSC frame of this type is constructed, and a second 30 ms NTSC type frame is formed of the top field B (1) and the bottom field B (2). In addition, a third 30 ms NTSC frame is composed of the top field B (1) and the bottom field C (2), and the fourth 30 is made of the top field C (1) and the bottom field D (2). NT NTSC frame is configured. The top field D (1) and the bottom field D (2) constitute a fifth 30 ms NTSC frame.

2-3 풀다운에서는, 이상과 같이, 24㎐의 영화 필름의 프레임 B를 구성하는 필드 B(1)이, 2번째의 30㎐의 NTSC 방식의 프레임의 탑 필드와 그 2 필드 뒤의 탑 필드(3번째 프레임의 탑 필드)의 양쪽에 할당됨과 함께, 24㎐의 영화 필름의 프레임 D를 구성하는 필드 D(2)가, 4번째의 30㎐의 NTSC 방식의 프레임의 보텀 필드와, 그 2 필드 뒤의 보텀 필드(5번째 프레임의 보텀 필드)의 양쪽에 할당됨으로써, 24㎐의 영화 필름의 프레임이, 4 프레임 단위로, 5 프레임 단위의 30㎐의 NTSC 방식의 프레임으로 변환되어 간다.In the 2-3 pull-down, as described above, the field B (1) constituting the frame B of the 24 영화 movie film is the top field of the second 30 NT NTSC system frame and the top field behind the two fields ( The field D (2) constituting the frame D of the 24 영화 movie film is allocated to both the top field of the 3 rd frame), and the bottom field of the fourth 30 NT NTSC system frame, and the 2 fields. By assigning to both of the following bottom fields (bottom fields of the fifth frame), the frame of a 24 영화 movie film is converted into a 30 NT NTSC frame of 5 frame units in 4 frame units.

따라서, 2-3 풀다운에서는, 영화 필름의 1 프레임이, NTSC 방식의 2 필드로 변환되고, 영화 필름의 다음의 1 프레임이, NTSC 방식의 다음의 3 필드로 변환되고, 영화 필름의 또 다음의 1 프레임이, NTSC 방식의 또 다음의 2 필드로 변환되어, 이하, 마찬가지로 하여, 영화 필름의 각 프레임이, NTSC 방식의 2 필드와 3 필드로 교대로 변환되어 간다.Therefore, in 2-3 pulldown, one frame of the movie film is converted into two fields of the NTSC system, and the next frame of the movie film is converted into the next three fields of the NTSC system, One frame is converted into the next two fields of the NTSC system, and in the same manner, each frame of the movie film is alternately converted into two fields and three fields of the NTSC system.

그런데, 최근, 당초 텔레비전 회의용의 화상 부호화를 목적으로 하여, H.264 또는 MPEG AVC(Advanced Video Coding)(ITU-T Q6/16 또는 ISO/IEC 14496-10)(이하, 적당히, H.264/AVC라고 기재)라고 하는 표준의 규격화가 행해졌다. H.264/AVC에서는, MPEG2나 MPEG4와 같은 종래의 부호화(복호) 방식과 마찬가지로, 직교 변환과 움직임 보상에 의해 화상 신호를 압축/복호한다. 또한, H.264/AVC는, 그러한 종래의 부호화 방식에 비해, 부호화, 복호에 의해 많은 연산량이 요구되지만, 보다 높은 부호화 효율이 실현되는 것이 알려져 있다.By the way, recently, H.264 or MPEG AVC (Advanced Video Coding) (ITU-T Q6 / 16 or ISO / IEC 14496-10) (hereinafter, H.264 / A standardization of AVC (described as AVC) was performed. In H.264 / AVC, image signals are compressed / decoded by orthogonal transform and motion compensation, as in conventional encoding (decoding) methods such as MPEG2 and MPEG4. In addition, although H.264 / AVC requires a large amount of computation by encoding and decoding, compared to such a conventional coding method, it is known that higher coding efficiency is realized.

도 3은, 영화 필름의 픽처의 2-3 풀다운에 의해 얻어지는 NTSC 방식의 픽처를, H.264/AVC의 규격에 준거하여 압축 부호화하는 화상 부호화 장치의 일례의 구성을 도시하고 있다.FIG. 3 shows a configuration of an example of an image coding apparatus for compression coding a picture of an NTSC system obtained by 2-3 pulldown of a picture of a movie film based on the H.264 / AVC standard.

2-3 풀다운에 의해 얻어진 NTSC 방식의 픽처(의 화상 신호)는, 필드 단위로, A/D 변환부(1)로 공급되고, A/D 변환부(1)는, 그곳에 공급되는 픽처를 A/D(Analog/Digital) 변환함으로써, 디지털 신호로 변환하여, 2-3 검출부(2)로 공급한다. 2-3 검출부(2)는, A/D 변환부(1)로부터의 픽처의, 2개의 필드끼리의 차분인 필드간 차분 정보 등을 이용하여, 2-3 운율의 검출을 행한다.The NTSC picture (picture signal) obtained by 2-3 pulldown is supplied to the A / D conversion unit 1 in units of fields, and the A / D conversion unit 1 displays the pictures supplied there. / D (Analog / Digital) conversion converts the signal into a digital signal and supplies it to the 2-3 detection unit 2. The 2-3 detection unit 2 detects 2-3 rhymes using the inter-field difference information, which is the difference between two fields, of the picture from the A / D conversion unit 1, and the like.

즉, 전술한 바와 같이, 2-3 풀다운에서는, 영화 필름의 각 프레임이, NTSC 방식의 2 필드와 3 필드로 교대로 변환되므로, NTSC 방식 픽처의 시퀀스는, 영화 필름의 순차 주사의 1 프레임으로부터 얻어진 2 필드의 조와, 영화 필름의 순차 주사의 1 프레임으로부터 얻어진 3 필드의 조가 교대로 반복되는, 이른바 2-3 운율을 갖는다. 2-3 검출부(2)에서는, 이 2 필드의 조와 3 필드의 조의 검출(2-3 운율의 검출)이 행해진다.That is, as described above, in the 2-3 pulldown, each frame of the movie film is alternately converted into two fields and three fields of the NTSC system, so that the sequence of the NTSC system picture is from one frame of sequential scanning of the movie film. The pair of two fields obtained and the pair of three fields obtained from one frame of sequential scanning of a movie film have so-called 2-3 rhythms alternately repeated. In the 2-3 detection unit 2, detection of the pair of two fields and the pair of three fields (detection of 2-3 rhymes) is performed.

또한, 2-3 검출부(2)는, 필드간 차분 정보나 2-3 운율의 검출 결과에 기초하 여, NTSC 방식의 각 필드의 픽처가, 순차 주사 또는 비월 주사 중 어느 주사 방식의 픽처인지를 판정한다. 여기에서, 도 3의 화상 부호화 장치에 공급되는 픽처가, 임의의 영화 필름의 픽처의 2-3 풀다운에 의해 얻어진 것이라고 하면, 2-3 검출부(2)에서는, 영화 필름의 1 프레임으로부터 얻어진 2 필드의 픽처의 조, 또는 3 필드의 픽처의 조가, 순차 주사의 픽처라고 판정된다.Also, the 2-3 detection unit 2 determines whether the picture of each field of the NTSC system is a sequential scan or interlaced picture based on the difference between the fields and the detection result of the 2-3 rhymes. Determine. Here, suppose that the picture supplied to the picture coding apparatus of FIG. 3 is obtained by 2-3 pull down of a picture of an arbitrary movie film. In the 2-3 detection unit 2, two fields obtained from one frame of the movie film. The set of pictures or the set of pictures of three fields is determined to be a picture of progressive scanning.

그리고, 2-3 검출부(2)는, 순차 주사의 픽처라고 판정된 2 필드의 픽처의 조 또는 3 필드의 픽처의 조로부터, 1 프레임의 순차 주사의 픽처를 구성하고, 즉, 현재의 경우, 2-3 풀다운되기 전의 24㎐의 영화 필름의 프레임의 픽처를 구성하여, 화면 재배열 버퍼(3)에 공급한다.Then, the 2-3 detection unit 2 constitutes a sequential scanning picture of one frame from a set of two-field pictures or a set of three-field pictures determined to be sequential scanning pictures, that is, in the present case, A picture of a frame of a 24 ㎐ movie film before 2-3 pulldown is constructed and supplied to the screen rearrangement buffer 3.

또한, 2-3 검출부(2)에서, 예를 들면, 임의의 프레임을 구성하는 2 필드가 비월 주사의 픽처라고 판정된 경우, 그 2 필드의 픽처는 각각 필드의 픽처로서, 또는, 그 2 필드로 구성되는 1 프레임의 픽처로서 화면 재배열 버퍼(3)에 공급된다.Further, in the 2-3 detection unit 2, for example, when it is determined that two fields constituting an arbitrary frame are pictures of interlaced scanning, the pictures of the two fields are each pictures of the fields, or the two fields. The picture rearrangement buffer 3 is supplied to the picture rearrangement buffer 3 as a picture of one frame.

비월 주사의 픽처(라고 판정된) 2 필드가, 필드 또는 프레임 중 어느 픽처로 될지는, 예를 들면, 필드 또는 프레임 중 어느 픽처로서 부호화한 쪽이 부호화 효율이 높은지에 따라 결정된다. 즉, 필드의 픽처로서 부호화한 쪽이 부호화 효율이 높은 경우에는, 비월 주사의 픽처는 필드의 픽처로 되고, 프레임의 픽처로서 부호화한 쪽이 부호화 효율이 높은 경우에는, 비월 주사의 픽처는 프레임의 픽처로 된다.The picture (determined) of the interlaced scan 2 field is determined by which picture of the field or frame depends on, for example, which picture of the field or frame is encoded according to the higher coding efficiency. In other words, if the encoding efficiency of the field is higher than the coding efficiency, the interlaced picture is the picture of the field. If the encoding of the field is high encoding efficiency, the picture of the interlaced scanning is the frame of the frame. It becomes a picture.

화면 재배열 버퍼(3)는, 2-3 검출부(2)로부터의 픽처를 일시 기억하고, 그 기억한 픽처를, 미리 정해져 있는 부호화 순서에 따라 재배열하여, 부호화 대상의 주목 픽처로서 매크로 블록 단위로 가산기(4)에 공급한다.The screen rearrangement buffer 3 temporarily stores a picture from the 2-3 detection unit 2, rearranges the stored picture in a predetermined encoding order, and executes macroblock units as a picture to be encoded as a target picture. To the adder (4).

주목 픽처가, 인트라 부호화되는 인트라 부호화 픽처인 경우에는, 가산기(4)는, 그 주목 픽처를 그대로 직교 변환부(5)에 공급한다.When the picture of interest is an intra coded picture to be intra coded, the adder 4 supplies the picture of interest to the orthogonal transform unit 5 as it is.

또한, 주목 픽처가, 인터 부호화되는 인터 부호화 픽처인 경우에는, 가산기(4)는, 주목 픽처로부터, 움직임 예측/보상(ME/MC)부(12)로부터 공급되는 예측 화상을 감산하여, 직교 변환부(5)에 공급한다.In addition, when the picture of interest is an inter-encoded picture to be inter-coded, the adder 4 subtracts the predictive image supplied from the motion prediction / compensation (ME / MC) unit 12 from the picture of interest and orthogonally transforms it. It supplies to the part 5.

즉, 움직임 예측/보상부(12)는, 화면 재배열 버퍼(3)에 기억된 픽처의 움직임 벡터를 검출함과 함께, 프레임 메모리(11)로부터, 이미 부호화되어 복호된, 주목 픽처의 참조 화상으로 되는 픽처를 판독하고, 그 참조 화상에 대하여, 움직임 벡터에 기초하는 움직임 보상을 실시함으로써, 최적인 예측 모드(부호화 효율이 가장 높은 예측 모드)에 의한 주목 픽처의 예측 화상을 생성한다. 그리고, 움직임 예측/보상부(12)는, 그 예측 화상을 가산기(4)에 공급하고, 가산기(4)는, 이와 같이 하여 움직임 예측/보상부(12)로부터 공급되는 예측 화상을, 주목 픽처로부터 감산하여 직교 변환부(5)에 공급한다.That is, the motion predictor / compensator 12 detects the motion vector of the picture stored in the screen rearrangement buffer 3 and, from the frame memory 11, the reference picture of the picture of interest, which is already encoded and decoded. The predicted picture of the picture of interest in the optimum prediction mode (prediction mode with the highest encoding efficiency) is generated by reading a picture to be obtained and performing motion compensation on the reference picture based on the motion vector. Then, the motion predictor / compensator 12 supplies the predictive image to the adder 4, and the adder 4 thus processes the predictive image supplied from the motion predictor / compensator 12 in the interest picture. It subtracts from and supplies it to the orthogonal conversion part 5.

직교 변환부(5)는, 가산기(4)로부터 공급되는 주목 픽처, 또는 주목 픽처로부터 예측 화상을 감산한 감산 결과인 차분 화상(픽처)에 대하여, 예를 들면, 이산 코사인 변환 등의 직교 변환을 실시하고, 그 결과 얻어지는 변환 계수를, 양자화(Q)부(6)에 공급한다.The orthogonal transform unit 5 performs, for example, orthogonal transform such as discrete cosine transform or the like on the picture of interest supplied from the adder 4 or the difference image (picture) that is the result of subtracting the predictive picture from the picture of interest. The resulting transform coefficient is supplied to the quantization (Q) unit 6.

양자화부(6)는, 후술하는 레이트 제어부(13)로부터의 제어에 따른 양자화 스텝에서, 직교 변환부(5)로부터의 변환 계수를 양자화하고, 그 결과 얻어지는 양자 화 계수를 가역 부호화(VLC ENC)부(7)와 역양자화(INY Q)부(9)에 공급한다.The quantization unit 6 quantizes the transform coefficients from the orthogonal transform unit 5 in the quantization step according to the control from the rate control unit 13 to be described later, and reversibly encodes the resulting quantization coefficients (VLC ENC). The part 7 and the inverse quantization (INY Q) part 9 are supplied.

가역 부호화부(7)는, 양자화부(6)로부터의 양자화 계수, 또한, 도시하지 않았지만, 움직임 예측/보상부(12)에서 검출된 움직임 벡터 등에 대하여, 예를 들면, 가변 길이 부호화나 산술 부호화 등의 가역 부호화를 실시하여 다중화하고, 그 결과 얻어지는 부호화 데이터(스트림)를, 축적 버퍼(8)에 공급한다.The reversible coding unit 7 performs variable length coding or arithmetic coding on the quantization coefficients from the quantization unit 6 and the motion vectors detected by the motion prediction / compensation unit 12, although not shown. Reversible coding is performed to perform multiplexing, and the resulting encoded data (stream) is supplied to the accumulation buffer 8.

또한, 가역 부호화부(7)에서, 움직임 벡터 등은 부호화 데이터의, 이른바 헤더 부분에 삽입(다중화)된다.In the reversible coding unit 7, a motion vector or the like is inserted (multiplexed) into a so-called header portion of the coded data.

축적 버퍼(8)는, 가역 부호화부(7)로부터의 부호화 데이터를 일시 기억하여 소정의 레이트로 출력한다. 축적 버퍼(8)가 출력하는 부호화 데이터는, 예를 들면, DVD(Digital Versatile Disc) 등에 기록 등이 된다. 여기에서 DVD에 대해서는, 예를 들면, 비특허 문헌 1 「DVD Specifications for Read-Only Disc Part 3; Version 1.1 December 1997」에 기재되어 있다.The accumulation buffer 8 temporarily stores the encoded data from the reversible encoding unit 7 and outputs the encoded data at a predetermined rate. The encoded data output by the accumulation buffer 8 is, for example, recorded on a DVD (Digital Versatile Disc) or the like. Here, for the DVD, for example, see Non-Patent Document 1 "DVD Specifications for Read-Only Disc Part 3; Version 1.1 December 1997.

또한, 축적 버퍼(8)의 부호화 데이터의 기억량(축적량)은, 레이트 제어부(13)에 공급되게 되어 있어, 레이트 제어부(13)는 축적 버퍼(8)의 기억량에 기초하여, 축적 버퍼(8)가 오버플로우 또는 언더플로우 하지 않도록, 양자화부(6)의 양자화 스텝을 피드백 제어한다.In addition, the storage amount (accumulation amount) of the encoded data of the accumulation buffer 8 is supplied to the rate control unit 13, and the rate control unit 13 is based on the storage amount of the accumulation buffer 8 and stores the accumulation buffer ( The quantization step of the quantization unit 6 is feedback controlled so that 8) does not overflow or underflow.

한편, 역양자화부(9)는, 양자화부(6)로부터 공급되는 변환 계수를, 양자화부(6)에서의 양자화 스텝과 동일한 양자화 스텝에서 역양자화하고, 그 결과 얻어지는 변환 계수를, 역직교 변환부(10)에 공급한다. 역직교 변환부(10)는, 역양자화부(9)로부터의 변환 계수에 역직교 변환 처리를 실시하고, 이에 따라, 원래의 인트 라 부호화 픽처를 복호, 또는 원래의 인터 부호화 픽처로부터 예측 화상을 감산한 차분 화상을 복호하여, 프레임 메모리(11)에 공급한다.On the other hand, the inverse quantization unit 9 inversely quantizes the transform coefficient supplied from the quantization unit 6 in the same quantization step as the quantization step in the quantization unit 6, and inversely orthogonally transforms the resulting transform coefficient. It supplies to the part 10. The inverse orthogonal transform unit 10 performs an inverse orthogonal transform process on the transform coefficients from the inverse quantization unit 9, thereby decoding the original intra coded picture or performing a predicted picture from the original inter coded picture. The subtracted difference image is decoded and supplied to the frame memory 11.

프레임 메모리(11)는, 인트라 부호화 픽처를 복호한 것을 기억한다. 또한, 프레임 메모리(11)에 있어서는, 차분 화상을 복호한 것에 대하고, 그 차분 화상을 얻는데 인터 부호화 픽처로부터 감산한 예측 화상을, 움직임 예측/보상부(12)로부터 얻어 가산함으로써, 인터 부호화 픽처를 복호하여 기억한다.The frame memory 11 stores the decoded intra coded picture. In the frame memory 11, the inter coded picture is obtained by decoding the difference picture from the motion predictor / compensator 12 by adding the predicted picture subtracted from the inter coded picture to obtain the difference picture. Decode and remember.

움직임 예측/보상부(12)에서는, 이상과 같이 하여 프레임 메모리(11)에 기억된 픽처를 참조 화상으로 하여 예측 화상이 생성된다.In the motion predictor / compensator 12, a predictive image is generated by using the picture stored in the frame memory 11 as a reference image as described above.

다음으로, 도 4는, 도 3의 화상 부호화 장치에서 얻어진 부호화 데이터를 복호하는 화상 복호 장치의 일례의 구성을 도시하고 있다.Next, FIG. 4 shows the structure of an example of the image decoding apparatus which decodes the encoded data obtained by the image encoding apparatus of FIG.

부호화 데이터는, 축적 버퍼(21)에 공급되어 일시 기억된다. 가역 복호(VLC DEC)부(22)는, 축적 버퍼(21)에 기억된 부호화 데이터를 적당히 판독하고, 그 부호화 데이터에 포함되는 정보를 적당히 분리하여, 예를 들면, 가변 길이 복호나 산술 복호 등을 한다. 또한, 가역 복호 장치(22)는, 가변 길이 복호나 산출 복호 등에 의해 얻어지는 양자화 계수와 움직임 벡터 등 중의 양자화 계수를, 역양자화부(23)에 공급함과 함께, 움직임 벡터를 움직임 예측/보상부(27)에 공급한다.The coded data is supplied to the accumulation buffer 21 and temporarily stored. The reversible decoding (VLC DEC) unit 22 appropriately reads the coded data stored in the storage buffer 21, and properly separates the information contained in the coded data, for example, variable length decoding, arithmetic decoding, or the like. Do it. The reversible decoding device 22 supplies the quantization coefficients obtained by variable length decoding, calculation decoding, and the like to the inverse quantization unit 23, and supplies the motion vectors to the motion prediction / compensation unit ( 27).

역양자화부(23)는, 가역 복호부(22)로부터의 양자화 계수를 역양자화함으로써, 변환 계수를 얻어, 역직교 변환부(24)에 공급한다. 역직교 변환부(24)는, 역양자화부(23)로부터의 변환 계수에 대하여, 역이산 코사인 변환 등의 역직교 변환 처리를 실시하고, 그 결과 얻어지는 인트라 부호화 픽처의 복호 화상, 또는 인터 부호화 픽처의 차분 화상의 복호 결과를, 매크로 블록 단위로, 가산기(25)에 공급한다.The inverse quantization unit 23 inversely quantizes the quantization coefficients from the reversible decoding unit 22 to obtain transform coefficients and supply them to the inverse orthogonal transform unit 24. The inverse orthogonal transform unit 24 performs inverse orthogonal transform processing such as an inverse discrete cosine transform on the transform coefficients from the inverse quantization unit 23, and decoded images of the resulting intra coded pictures or inter coded pictures. The decoding result of the difference image is supplied to the adder 25 in units of macroblocks.

가산기(25)는, 역직교 변환부(24)의 출력이 인트라 부호화 픽처의 복호 화상인 경우에는, 그 복호 화상인 픽처를 프레임 메모리(26)와 화면 재배열 버퍼(28)에 공급한다. 또한, 가산기(25)는, 역직교 변환부(24)의 출력이 인터 부호화 픽처의 차분 화상의 복호 결과인 경우에는, 그 복호 결과에 대하여, 움직임 예측/보상부(27)로부터 공급되는 예측 화상을 가산함으로써, 인터 부호화 픽처를 복호하고, 그 결과 얻어지는 복호 화상인 픽처를, 프레임 메모리(26)와 화면 재배열 버퍼(28)에 공급한다.When the output of the inverse orthogonal transform unit 24 is a decoded picture of an intra coded picture, the adder 25 supplies the picture which is the decoded picture to the frame memory 26 and the screen rearrangement buffer 28. In addition, when the output of the inverse orthogonal transform unit 24 is a decoding result of the difference image of the inter-encoded picture, the adder 25 supplies the predictive image supplied from the motion prediction / compensation unit 27 to the decoding result. Is added to decode the inter coded picture, and the picture, which is the resulting decoded picture, is supplied to the frame memory 26 and the screen rearrangement buffer 28.

프레임 메모리(26)는, 가산기(25)로부터의 복호 화상(픽처)을, 참조 화상으로서 기억하고, 움직임 예측/보상부(27)는, 프레임 메모리(26)에 기억된 참조 화상에 대하여, 가역 복호부(22)로부터 공급되는 움직임 벡터에 따른 움직임 보상을 실시함으로써, 예측 화상을 생성하여 가산기(25)에 공급한다.The frame memory 26 stores the decoded picture (picture) from the adder 25 as a reference picture, and the motion predictor / compensator 27 reversible the reference picture stored in the frame memory 26. By performing motion compensation according to the motion vector supplied from the decoder 22, a predictive image is generated and supplied to the adder 25. FIG.

한편, 화면 재배열 버퍼(28)는, 가산기(25)로부터의 복호 화상인 픽처를 일시 기억하고, 그 픽처의 나열을 표시 순서로 재배열한다. 또한 여기에서는, 화면 재배열 버퍼(28)에 기억된 픽처는, 24㎐의 영화 필름의 픽처로 되어 있으므로, 화면 재배열 버퍼(28)는, 그 24㎐의 영화 필름의 픽처를 H.264/AVC의 부호화 데이터로 다중화되어 있는(포함되어 있는), 후술하는 pic_struct에 따라, 2-3 풀다운으로 얻어지는 것과 동일한 30㎐의 NTSC 방식의 픽처로 하여, D/A(Digital/Analog) 변환부(29)에 공급한다.On the other hand, the screen rearrangement buffer 28 temporarily stores the picture which is the decoded image from the adder 25, and rearranges the order of the pictures in the display order. In this case, since the picture stored in the screen rearrangement buffer 28 is a picture of a 24 영화 movie film, the screen rearrangement buffer 28 selects a picture of the 24 영화 movie film in H.264 /. D / A (Digital / Analog) conversion unit 29, which is a 30-Hz NTSC system picture that is obtained by 2-3 pulldown according to pic_struct described later, which is multiplexed (included) by the encoded data of AVC, Supplies).

D/A 변환부(29)에서는, 화면 재배열 버퍼(28)로부터의 픽처(의 화상 신호)가, 디지털 신호로부터 아날로그 신호로 D/A 변환되고, 도시하지 않은 디스플레이에 공급되어 표시된다.In the D / A converter 29, a picture (picture signal) from the screen rearrangement buffer 28 is D / A converted from a digital signal to an analog signal and supplied to a display (not shown) for display.

그런데, 도 3의 화상 부호화 장치에는, 전술한 바와 같이, 24㎐의 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는 30㎐의 NTSC 방식의 픽처가, 부호화 대상으로서 공급된다.By the way, the picture coding apparatus of FIG. 3 is supplied as an encoding target with a 30 Hz NTSC system picture obtained by 2-3 pull down of a picture of a 24 GHz movie film.

현재, 화상 부호화 장치에 공급되는 픽처가, 예를 들면, 도 5의 위로부터 1번째에 도시하는 24㎐의 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는, 도 5의 위로부터 2번째에 도시하는 바와 같은, 2-3 운율이 유지된 30㎐의 NTSC 방식의 픽처라면, 2-3 검출부(2)(도 3)에서는, 그 픽처는, 기본적으로는, 모두 순차 주사의 픽처라고 판정된다.Currently, the picture supplied to the picture coding apparatus is shown in the second from the top of FIG. 5, which is obtained by, for example, 2-3 pulling down the picture of the 24 ㎐ movie film shown first from the top of FIG. 5. As described above, in the case of a 30 ms NTSC system picture having 2-3 rhymes, the 2-3 detection unit 2 (FIG. 3) basically determines that the pictures are all sequentially scanned pictures.

여기에서, 도 5에서(후술하는 도 13 내지 도 15, 도 22 및 도 23에서도 마찬가지임), 직사각형은 프레임 또는 필드의 픽처를 나타낸다. 또한, 횡선이 없는 직사각형은 프레임의 픽처를 나타내고, 횡선이 있는 직사각형은 필드의 픽처를 나타낸다.Here, in Fig. 5 (also in Figs. 13 to 15, 22, and 23 described later), a rectangle indicates a picture of a frame or field. In addition, the rectangle without a horizontal line represents the picture of a frame, and the rectangle with a horizontal line represents the picture of a field.

그러나, 도 5의 위로부터 2번째에 도시한, 2-3 운율이 유지된 30㎐의 NTSC 방식의 픽처가 컷 편집되는 등으로 하여, 도 5의 위로부터 3번째에 도시하는 바와 같이, 2-3 운율이 불규칙한 시퀀스의 픽처로 되어, 화상 부호화 장치에 공급된 경우, 2-3 검출부(2)에 있어서, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다는 중복된 판정이 이루어지는 픽처가 생긴다.However, as shown in the third from the top of FIG. 5, the picture of the NTSC system of 30 ms with the 2-3 rhymes maintained in the second from the top of FIG. 5 is cut and edited. When three rhymes become pictures of an irregular sequence and are supplied to the picture coding apparatus, the 2-3 detection unit 2 generates a picture in which duplicate determination is made that the picture is both a picture of interlaced scan and a picture of sequential scan.

즉, 도 5에서는, 위로부터 1번째에 도시하는 24㎐의 영화 필름의 각 프레임의 픽처가, 위로부터 2번째에 도시하는 바와 같이, 30㎐의 NTSC 방식 픽처의 3 필드, 2 필드, 3 필드, …로 변환되고 있다. 또한, 그 위로부터 2번째에 도시하는 30㎐의 NTSC 방식 픽처의, 선두로부터 3번째와 4번째의 필드가 컷되어, 위로부터 3번째에 도시하는 30㎐의 NTSC 방식의 픽처로 되어 있다.That is, in FIG. 5, as shown in the second from the top, the picture of each frame of the 24 영화 movie film shown first from the top has three fields, two fields, and three fields of the 30 SC NTSC system picture. ,… Is being converted to In addition, the third and fourth fields from the beginning of the 30-second NTSC system picture shown second from the top are cut, and the 30-second NTSC system picture shown third from the top is formed.

이 경우, 위로부터 3번째에 도시하는 30㎐의 NTSC 방식의 픽처(프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처)의 1번째와 2번째의 필드는, 모두, 영화 필름의 1번째 프레임으로부터 얻어진 것이기 때문에, 순차 주사의 픽처로 판정된다. 또한, 위로부터 3번째에 도시하는 30㎐의 NTSC 방식 픽처의 3번째와 4번째의 필드는, 각각, 영화 필름의 3번째와 4번째 프레임으로부터 얻어진 것이기 때문에, 비월 주사의 픽처라고 판정된다. 또한, 위로부터 3번째에 도시하는 30㎐의 NTSC 방식 픽처의 4 내지 6번째의 필드는, 모두, 영화 필름의 3번째의 프레임으로부터 얻어진 것이기 때문에, 순차 주사의 픽처라고 판정된다.In this case, both the first and second fields of the 30-Hz NTSC-type picture (the NTSC-type picture having a frame rate of 30 Hz (field rate of 60 Hz)) shown in the third from the top are both movie films. Since it is obtained from the first frame of, it is determined as a picture of sequential scanning. In addition, since the 3rd and 4th fields of the 30 ms of NTSC system picture shown from the top are obtained from the 3rd and 4th frames of a movie film, respectively, it is determined that it is an interlaced picture. In addition, since all the 4th-6th fields of the 30-microsecond NTSC system picture shown from the top are obtained from the 3rd frame of a movie film, it is determined that it is a picture of progressive scanning.

이상과 같이, 위로부터 3번째에 도시하는 30㎐의 NTSC 방식 픽처의 4번째 필드는, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정된다.As described above, the fourth field of the 30-second NTSC system picture shown third from the top is repeatedly determined to be an interlaced picture or a sequential scan picture.

이러한 중복 판정의 원인으로 되는 2-3 운율의 불규칙성은, 편집 외에, 예를 들면, 영화 필름의 픽처를 2-3 풀다운할 경우에 행해지는 필름 롤의 절환에 의한 2-3 운율의 리셋, 2-3 풀다운의 대상이 되는 영화 필름의 픽처에 포함되는 노이즈에 기인하는 2-3 운율의 오검출 등에 의해서도 생긴다.Irregularities of 2-3 rhymes that cause such overlapping judgments are reset, except for editing, for example, reset of 2-3 rhymes by switching of film rolls that are performed when 2-3 pictures of a movie film are pulled down. It also occurs due to the misdetection of 2-3 rhymes due to noise included in the picture of the movie film to be -3 pulldown.

그런데, H.264/AVC와 같이, 복호측에서, 부호화의 대상으로 된 원래의 픽처가, 순차 주사 또는 비월 주사 중 어느 픽처인지를 식별하는 신택스(syntax)(구문)의 지정 방법이 규정되어 있지 않은 부호화 방법을 이용하는 경우에는, 부호화된 픽처에, 그 픽처의 주사 방식이 비월 주사 또는 순차 주사 중 어느 것인지를 나타내는 식별 정보가 부수되어 있지 않기 때문에, 픽처마다, 그 픽처가, 비월 주사의 픽처인지 순차 주사의 픽처인지를 판정할 방법이 없었다. 이 때문에, 픽처가 순차 주사의 픽처라도, 복호측에서 비월 주사되는 필드로서 출력되는 경우가 있어, 이 경우, 1 필드분의 수직 해상도를 잃게 되는 문제를 갖는다.By the way, as in H.264 / AVC, a syntax (syntax) designation method for identifying whether the original picture to be encoded is a picture of sequential scanning or interlaced scanning is specified on the decoding side. In the case of using a non-encoding method, since the encoded picture is not accompanied with identification information indicating whether the scanning method of the picture is interlaced scanning or sequential scanning, whether the picture is a picture of interlaced scanning for each picture. There was no way to determine if the picture was a sequential scan. For this reason, even when a picture is a picture of sequential scanning, it may be output as a field to be interlaced on the decoding side, and in this case, there is a problem that the vertical resolution of one field is lost.

본 발명은, 이러한 상황을 감안하여 이루어진 것으로, 순차 주사의 픽처를, 그 수직 해상도를 손상시키지 않도록 표시할 수 있도록 하는 것이다.This invention is made in view of such a situation, and is made so that the picture of a sequential scan can be displayed so that the vertical resolution may not be impaired.

본 발명의 부호화 장치는, 픽처를 부호화하는 부호화 장치로서, 상기 픽처를 부호화하는 부호화 수단과, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 수단과, 상기 픽처 판정 수단에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 수단과, 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 수단과, 상기 픽처의 부호화 결과와, 상기 주사 플래그 및 상기 표시 방식 지시 정보를 다중화하여 출력하는 다중화 수단을 구비하고, 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고, 상기 부호화 수단은, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 한다.An encoding device of the present invention is an encoding device for encoding a picture, comprising encoding means for encoding the picture, picture determination means for determining whether the picture is a picture of interlaced scanning or sequential scanning, and the picture. Flag set means for setting the determination result in the determination means to a scanning flag indicating a scanning method of a picture and information indicating the display method of the picture to set display method indication information indicating a display method of a coded picture of interest And information set means, multiplexing means for multiplexing and outputting the encoding result of the picture, the scanning flag and the display mode indication information, wherein the scanning flag is information for calculating a clockTimestamp, and the encoding means is a picture. Is determined to be a duplicate, the result of the determination that the picture is an interlaced scan picture It is characterized by giving priority to one of the determination results called a progressive scan picture.

본 발명의 부호화 방법은, 픽처를 부호화하는 부호화 방법으로서, 상기 픽처를 부호화하는 부호화 스텝과, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝과, 상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝과, 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝과, 상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝을 포함하고, 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 한다.An encoding method of the present invention includes an encoding method for encoding a picture, the encoding step of encoding the picture, a picture determination step of determining whether the picture is a picture of interlaced scanning or sequential scanning, and the picture. A flag set step of setting the determination result in the determination step to a scanning flag indicating a scanning method of a picture, and information indicating a display method of the picture to set display method indication information indicating a display method of a coded picture of interest. And a multiplexing step of multiplexing and outputting an information set step, an encoding result of the picture, and the scanning flag and display method indication information for each picture, wherein the scanning flag is information for calculating a clockTimestamp, and a picture is duplicated. If it is determined to be, the picture is sequentially with a determination result of an interlaced scan picture. It characterized in that that first one of the determination result that four picture.

본 발명의 제1 프로그램은, 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝과, 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝과, 픽처의 표시 방식을 나타내는 정보를, 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝과, 픽처의 부호화 결과와, 픽처마다의 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝을 포함하는 것을 특징으로 한다.In the first program of the present invention, a picture determination step of determining whether a picture is a picture of interlaced scanning or sequential scanning and a result of the determination in the picture determination step are set as a scan flag indicating a picture scanning method. An information set step for setting a flag set step to be performed, information indicating a picture display method as display method indication information indicating a picture display method, a picture encoding result, a scan flag for each picture, and display method indication information It is characterized in that it comprises a multiplexing step of multiplexing the output.

본 발명의 제1 프로그램이 기록되어 있는 프로그램 기록 매체는, 픽처를 부호화하는 부호화 처리를, 컴퓨터에 행하게 하는 프로그램이 기록되어 있는 프로그램 기록 매체로서, 상기 픽처를 부호화하는 부호화 스텝과, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝과, 상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝과, 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝과, 상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝을 포함하고, 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 하는 프로그램이 기록되어 있는 것을 특징으로 한다.A program recording medium in which a first program of the present invention is recorded is a program recording medium in which a program for causing a computer to perform encoding processing for encoding a picture is encoded, the encoding step of encoding the picture, and the picture, A picture determination step for determining whether the picture is interlaced or sequential scanning, a flag set step for setting a result of the determination in the picture determination step as a scan flag indicating a picture scanning method, and display of the picture An information set step of setting the information indicating the method to display method indication information indicating a display method of a coded picture of interest, the encoding result of the picture, and the scanning flag and display method indication information for each picture, and outputting the multiplexed information; And a multiplexing step, wherein the scan flag yields a clockTimestamp. For information, and is characterized in that the picture is a case where it is determined as a duplicate, and the picture is a recorded program, comprising a first one of the determination result that the determination result and the progressive picture, called interlaced picture.

본 발명의 데이터 기록 매체에는, 픽처마다의 주사 방식을 나타내는 주사 플래그와, 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 부호화 데이터가 기록되어 있는 것을 특징으로 한다.The data recording medium of the present invention is characterized in that a scanning flag indicating a scanning method for each picture and coded data obtained by multiplexing display method indication information indicating a display method for each picture are recorded.

본 발명의 데이터 구조는, 픽처마다의 주사 방식을 나타내는 주사 플래그와, 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되어 있는 것을 특징으로 한다.The data structure of the present invention is characterized in that the scanning flag indicating the scanning method for each picture and the display method indication information for indicating the display method for each picture are multiplexed.

본 발명의 복호 장치는, 픽처를 부호화한 부호화 데이터를 복호하는 복호 장치로서, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 수단과, 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단과, 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단과, 상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단을 구비하는 것을 특징으로 한다.The decoding device according to the present invention is a decoding device for decoding coded data obtained by encoding a picture, the scanning flag being information for calculating the clockTimestamp by indicating the encoding result of the picture and the scanning method for each picture, and the encoding target picture. When the display method indication information indicating the display method is multiplexed and the picture is determined to be redundant, the picture data is decoded by giving priority to one of a determination result of an interlaced scan picture and a determination result of a sequential scan picture. Recognition means for recognizing which picture is interlaced or sequential scanning based on decoding means, the scanning flag and the display mode indication information of the picture, and the picture is recognized as a picture for interlaced scanning In this case, the frame is interpolated to generate and output a frame picture, and the picture is in order. When it is recognized as a picture to be scanned, the frame picture output means for outputting the picture as a frame picture and the frame picture output from the frame picture output means are repeatedly output as many times as the number corresponding to the display mode indication information. It is characterized by including a repeat output means.

본 발명의 복호 방법은, 픽처를 부호화한 부호화 데이터를 복호하는 복호 방법으로서, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 스텝과, 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝과, 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝과, 상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝을 포함하는 것을 특징으로 한다.The decoding method according to the present invention is a decoding method for decoding coded data obtained by encoding a picture, the scanning flag being information for calculating the clockTimestamp by indicating the encoding result of the picture and the scanning method for each picture, and the encoding target picture. When the display method indication information indicating the display method is multiplexed and the picture is determined to be redundant, the picture data is decoded by giving priority to one of a determination result of an interlaced scan picture and a determination result of a sequential scan picture. A recognition step of recognizing whether the picture is an interlaced scan or a sequential scan based on a decoding step, the scanning flag of the picture, and display mode indication information; and wherein the picture is recognized as a picture for interlaced scanning. In this case, the picture is generated by field interpolation to generate and output a frame picture, and the picture is If it is recognized as a picture of difference scanning, the frame picture output step of outputting the picture as a frame picture and the frame picture output in the frame picture output step are repeatedly output as many times as the number corresponding to the display mode indication information. It characterized in that it comprises a repeating output step.

본 발명의 제2 프로그램은, 픽처의 부호화 결과와, 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 부호화 데이터를 복호하는 복호 스텝과, 픽처의 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝과, 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 픽처가 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝과, 프레임 픽처 출력 스텝에서 출력되는 프레임 픽처를, 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝을 포함하는 것을 특징으로 한다.The second program of the present invention includes a decoding step of decoding a coded result of a picture, a scan flag indicating a scanning method for each picture, and coded data multiplexed with display method instruction information indicating a display method for each picture, and a picture. A recognition step of recognizing which picture is interlaced scanning or sequential scanning based on the scan flag and the display system indication information of the field; and when the picture is recognized as a picture for interlaced scanning, the field is interpolated. In this way, when a frame picture is generated and output, and the picture is recognized as a sequential scanning picture, the frame method output step for outputting the picture as a frame picture and the frame picture output in the frame picture output step are displayed. And a repeating output step of repeatedly outputting the number of times corresponding to the information.

본 발명의 제2 프로그램이 기록되어 있는 프로그램 기록 매체는, 픽처를 부호화한 부호화 데이터를 복호하는 복호 처리를, 컴퓨터에 행하게 하는 프로그램이 기록되어 있는 프로그램 기록 매체로서, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 스텝과, 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝과, 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝과, 상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝을 포함하는 것을 특징으로 하는 프로그램이 기록되어 있는 것을 특징으로 한다.A program recording medium in which a second program of the present invention is recorded is a program recording medium in which a computer is executed to decode a coded data obtained by encoding a picture. When a scan flag that is a scan method for each picture and information for calculating a clockTimestamp and display method instruction information indicating a display method of a coded picture of interest are multiplexed and the picture is determined to be redundant, the picture is referred to as an interlaced scan picture. The picture is subjected to interlaced scanning or progressive scanning based on a decoding step of decoding the coded data prioritized by one of the determination result and the determination result called a sequential scanning picture, and the scanning flag and the display method indication information of the picture. A recognition step of recognizing which picture is the picture; and the picture is interlaced A frame picture output step of generating and outputting a frame picture by field interpolation when the picture is recognized as a private picture, and outputting the picture as a frame picture when the picture is recognized as a picture of sequential scanning; And a repetitive output step of repeatedly outputting the frame picture output in the frame picture output step as many times as the number corresponding to the display mode indication information.

본 발명의 재생 장치는, 픽처를 부호화한 부호화 데이터를 재생하는 재생 장치로서, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 수단과, 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단과, 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단과, 상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단을 구비하는 것을 특징으로 한다.A reproducing apparatus of the present invention is a reproducing apparatus for reproducing coded data obtained by encoding a picture, the scanning flag being information for calculating a clockTimestamp by indicating the encoding result of the picture, a scanning method for each picture, and a coded picture of interest. When the display method indication information indicating the display method is multiplexed and the picture is determined to be redundant, the picture data is decoded by giving priority to one of a determination result of an interlaced scan picture and a determination result of a sequential scan picture. Recognition means for recognizing which picture is interlaced or sequential scanning based on decoding means, the scanning flag and the display mode indication information of the picture, and the picture is recognized as a picture for interlaced scanning In this case, the frame is interpolated to generate and output a frame picture, and the picture is in order. When it is recognized as a picture to be scanned, the frame picture output means for outputting the picture as a frame picture and the frame picture output from the frame picture output means are repeatedly output as many times as the number corresponding to the display mode indication information. It is characterized by including a repeat output means.

본 발명의 부호화 장치 및 부호화 방법, 그리고 제1 프로그램 및 제1 프로그램 기록 매체에 있어서는, 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지가 판정되고, 그 판정 결과가, 픽처의 주사 방식을 나타내는 주사 플래그로 세트된다. 또한, 픽처의 표시 방식을 나타내는 정보가, 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트되고, 픽처의 부호화 결과와, 픽처마다의 주사 플래그 및 표시 방식 지시 정보가 다중화되어 출력된다.In the encoding device and the encoding method, and the first program and the first program recording medium of the present invention, it is determined whether the picture is a picture of interlaced scanning or sequential scanning, and the determination result is a picture scanning method. Is set to a scan flag indicating. In addition, information indicating a picture display method is set as display method indication information indicating a picture display method, and the picture encoding result, scan flag and display method indication information for each picture are multiplexed and output.

본 발명의 데이터 기록 매체 및 데이터 구조에 있어서는, 픽처마다의 주사 방식을 나타내는 주사 플래그와, 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되어 있다.In the data recording medium and the data structure of the present invention, a scanning flag indicating a scanning method for each picture and display method instruction information for indicating a display method for each picture are multiplexed.

본 발명의 복호 장치 및 복호 방법, 그리고 제2 프로그램 및 제2 프로그램 기록 매체에 있어서는, 픽처의 부호화 결과와, 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 부호화 데이터가 복호된다. 그리고, 픽처의 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지가 인식되어, 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써 프레임 픽처가 생성되어 출력된다. 또한, 픽처가 순차 주사의 픽처라고 인식된 경우, 그 픽처가, 프레임 픽처로서 출력된다. 또한, 프레임 픽처가 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력된다.In the decoding device and the decoding method, and the second program and the second program recording medium of the present invention, a display method instruction for instructing a picture encoding result, a scan flag indicating a scanning method for each picture, and a display method for each picture The encoded data multiplexed with information is decoded. Based on the scanning flag of the picture and the display mode indication information, when the picture is recognized as a picture of interlaced scanning or sequential scanning, and the picture is recognized as a picture for interlaced scanning, the picture is field interpolated. As a result, a frame picture is generated and output. In addition, when a picture is recognized as a picture of sequential scanning, the picture is output as a frame picture. Further, the frame picture is repeatedly output as many times as the number corresponding to the display mode indication information.

본 발명의 재생 장치에 있어서는, 픽처의 부호화 결과와, 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 부호화 데이터가 복호된다. 그리고, 픽처의 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지가 인식되어, 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써 프레임 픽처가 생성되어 출력된다. 또한, 픽처가 순차 주사의 픽처라고 인식된 경우, 그 픽처가, 프레임 픽처로서 출력된다. 또한, 프레임 픽처가 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력된다.In the reproduction device of the present invention, encoded data obtained by multiplexing a result of encoding a picture, a scan flag indicating a scanning method for each picture, and display method indication information indicating a display method for each picture are decoded. Based on the scanning flag of the picture and the display mode indication information, when the picture is recognized as a picture of interlaced scanning or sequential scanning, and the picture is recognized as a picture for interlaced scanning, the picture is field interpolated. As a result, a frame picture is generated and output. In addition, when a picture is recognized as a picture of sequential scanning, the picture is output as a frame picture. Further, the frame picture is repeatedly output as many times as the number corresponding to the display mode indication information.

본 발명에 따르면, 순차 주사의 픽처를, 그 수직 해상도를 손상시키지 않도록 표시하는 것이 가능해진다.According to the present invention, it becomes possible to display pictures of sequential scanning so as not to impair the vertical resolution thereof.

도 1은 영화 필름의 픽처와 NTSC 방식의 픽처를 설명하는 도면.BRIEF DESCRIPTION OF THE DRAWINGS The figure explaining the picture of a movie film and the picture of NTSC system.

도 2는 2-3 풀다운을 설명하는 도면.2 illustrates 2-3 pulldown.

도 3은 종래의 화상 부호화 장치의 일례의 구성을 도시하는 블럭도.3 is a block diagram showing a configuration of an example of a conventional picture coding apparatus.

도 4는 종래의 화상 복호 장치의 일례의 구성을 도시하는 블럭도.4 is a block diagram showing a configuration of an example of a conventional image decoding device.

도 5는 부호화 대상의 픽처가, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정되는 경우를 설명하는 도면.FIG. 5 is a view for explaining the case where the picture to be encoded is determined to be both a picture of interlaced scanning and a picture of progressive scanning;

도 6은 본 발명을 적용한 화상 처리 시스템의 일 실시 형태의 구성예를 도시하는 블럭도.6 is a block diagram showing a configuration example of an embodiment of an image processing system to which the present invention is applied.

도 7은 H.264/AVC에 규정되어 있는 pic_struct의 테이블을 도시하는 도면.Fig. 7 is a diagram showing a table of pic_structs defined in H.264 / AVC.

도 8은 H.264/AVC에 규정되어 있는 ct_type의 테이블을 도시하는 도면.8 is a diagram illustrating a table of ct_type specified in H.264 / AVC.

도 9는 화상 부호화 장치(101)의 구성예를 도시하는 블럭도.9 is a block diagram illustrating a configuration example of a picture encoding apparatus 101.

도 10은 화상 부호화 장치(101)의 처리를 설명하는 플로우차트.10 is a flowchart for describing a process of the image encoding device 101.

도 11은 화상 복호 장치(102)의 구성예를 도시하는 블럭도.11 is a block diagram illustrating a configuration example of an image decoding device 102.

도 12는 화상 복호 장치(102)의 처리를 설명하는 플로우차트.12 is a flowchart for describing processing of the image decoding device 102.

도 13은 화상 부호화 장치(101)와 화상 복호 장치(102)의 처리를 설명하기 위한 도면.FIG. 13 is a diagram for explaining processing of the image coding apparatus 101 and the image decoding apparatus 102. FIG.

도 14는 화상 부호화 장치(101)와 화상 복호 장치(102)의 처리를 설명하기 위한 도면.14 is a diagram for explaining processing of the image coding apparatus 101 and the image decoding apparatus 102. FIG.

도 15는 화상 부호화 장치(101)와 화상 복호 장치(102)의 처리를 설명하기 위한 도면.FIG. 15 is a diagram for explaining processing of the image encoding device 101 and the image decoding device 102. FIG.

도 16은 H.264/AVC에 규정되어 있는 user data registered by ITU-T Recommendation T.35 SEI의 신택스를 도시하는 도면.FIG. 16 is a diagram illustrating syntax of user data registered by ITU-T Recommendation T.35 SEI as defined in H.264 / AVC. FIG.

도 17은 H.264/AVC에 규정되어 있는 user data unregistered SEI의 신택스를 도시하는 도면.FIG. 17 is a diagram illustrating syntax of user data unregistered SEI specified in H.264 / AVC. FIG.

도 18은 scan_information()의 신택스를 도시하는 도면.FIG. 18 is a diagram illustrating syntax of scan_information (). FIG.

도 19는 24㎐의 순차 주사의 픽처를 부호화 대상으로서 부호화, 복호를 행하고, 60㎐의 순차 주사로 표시를 행하는 화상 처리 시스템의 구성예를 도시하는 블럭도.Fig. 19 is a block diagram showing an example of the configuration of an image processing system which encodes and decodes a picture of 24 sequential scanning as an encoding target, and displays by 60 sequential scanning;

도 20은 화상 부호화 장치(201)의 구성예를 도시하는 블럭도.20 is a block diagram illustrating a configuration example of a picture coding apparatus 201.

도 21은 화상 복호 장치(202)의 구성예를 도시하는 블럭도.21 is a block diagram illustrating a configuration example of an image decoding device 202.

도 22는 출력 제어부(212)에 의한 표시 화상 출력 버퍼(211)의 제어를 설명하기 위한 도면.22 is a diagram for explaining the control of the display image output buffer 211 by the output control unit 212. FIG.

도 23은 출력 제어부(212)에 의한 표시 화상 출력 버퍼(211)의 제어를 설명하기 위한 도면.23 is a diagram for explaining the control of the display image output buffer 211 by the output control unit 212. FIG.

도 24는 본 발명을 적용한 컴퓨터의 일 실시 형태의 구성예를 도시하는 블럭도.24 is a block diagram showing a configuration example of an embodiment of a computer to which the present invention is applied.

<부호의 설명><Code description>

S1: 주목 픽처의 부호화S1: Coding of the picture of interest

S11: 비월 주사 or 순차 주사?S11: Interlaced or sequential injection?

S12: 주사 플래그=「순차 주사」S12: Scan flag = "sequential scan"

S13: pic_struct=0, 3, 4, 5, or 6S13: pic_struct = 0, 3, 4, 5, or 6

S14: 주사 플래그와 pic_struct을 주목 픽처의 데이터로 다중화S14: Multiplexing the scan flag and pic_struct with data of the picture of interest

S15: 주사 플래그=「비월 주사」S15: Scan flag = "interlaced scan"

S16: 필드 픽처 or 프레임 픽처?S16: Field picture or frame picture?

S17: pic_struct=1 or 2S17: pic_struct = 1 or 2

S18: pic_struct=3 or 4S18: pic_struct = 3 or 4

S21: 주목 픽처의 복호S21: Decoding the Attention Picture

S31: 주목 픽처의 주사 플래그와 pic_struct을 취득S31: Retrieve scan flag and pic_struct of the picture of interest

S32: pic_struct?S32: pic_struct?

S33: 주목 픽처가 순차 주사의 픽처라고 인식S33: Recognize the picture of interest as a picture of sequential scanning

S34: 주목 픽처를 그대로 프레임 픽처로서 기억S34: Store the attention picture as it is as a frame picture

S35: pic_struct에 대응한 횟수만큼 프레임 픽처를 출력S35: Output frame picture a number of times corresponding to pic_struct

S36: 사이즈 변환S36: size conversion

S37: 주목 픽처가 비월 주사의 픽처라고 인식S37: Recognize the picture of interest as a picture of interlaced scanning

S38: 주목 픽처를 필드 보간하고, 프레임 픽처를 생성하여 기억S38: Field interpolate the picture of interest and generate and store a frame picture

S39: 프레임 픽처 출력S39: frame picture output

S40: 주사 플래그?S40: Injection flag?

ST1: 프레임 픽처 2회 반복 출력ST1: Repeated output of frame picture twice

ST2: 한쪽 필드로부터 필드 보완에 의해 순차 주사 변환ST2: Sequential Scan Conversion by Field Complement from One Field

ST3: 한쪽 필드로부터 필드 보완에 의해 순차 주사 변환ST3: Sequential Scan Conversion by Field Complement from One Field

ST4: 프레임 픽처 3회 반복 출력ST4: Repeated output of frame picture 3 times

<발명을 실시하기 위한 최량의 형태>BEST MODE FOR CARRYING OUT THE INVENTION [

이하에 본 발명의 실시의 형태를 설명하지만, 청구의 범위에 기재된 구성 요건과, 발명의 실시 형태에서의 구체예의 대응 관계를 예시하면, 다음과 같이 된다. 이 기재는, 청구의 범위에 기재되어 있는 발명을 서포트하는 구체예가, 발명의 실시 형태에 기재되어 있는 것을 확인하기 위한 것이다. 따라서, 발명의 실시 형태 중에는 기재되어 있지만, 구성 요건에 대응하는 것으로서, 여기에는 기재되지 않은 구체예가 있었다고 해도, 그것은, 그 구체예가, 그 구성 요건에 대응하는 것이 아닌 것을 의미하는 것은 아니다. 반대로, 구체예가 구성 요건에 대응하는 것으로서 여기에 기재되어 있었다고 해도, 그것은, 그 구체예가, 그 구성 요건 이외의 구성 요건에는 대응하지 않는 것을 의미하는 것도 아니다.EMBODIMENT OF THE INVENTION Although embodiment of this invention is described below, when the correspondence of the structural requirement described in a claim and the specific example in embodiment of this invention is illustrated, it becomes as follows. This description is for confirming that the specific example which supports the invention described in the Claim is described in embodiment of this invention. Therefore, although described in embodiment of this invention, although it corresponds to a structural requirement and there exists a specific example which is not described here, it does not mean that the specific example does not correspond to the structural requirement. On the contrary, even if a specific example is described here as corresponding to a structural requirement, it does not mean that the specific example does not correspond to a structural requirement other than the structural requirement.

또한, 이 기재는, 발명의 실시 형태에 기재되어 있는 구체예에 대응하는 발명이, 청구의 범위에 모두 기재되어 있는 것을 의미하는 것은 아니다. 환언하면, 이 기재는, 발명의 실시의 형태에 기재되어 있는 구체예에 대응하는 발명이며, 이 출원의 청구의 범위에는 기재되지 않은 발명의 존재, 즉, 장래, 분할 출원되거나 보정에 의해 추가되는 발명의 존재를 부정하는 것은 아니다.In addition, this description does not mean that all the inventions corresponding to the specific example described in embodiment of invention are described in a claim. In other words, this description is an invention corresponding to an embodiment described in the embodiments of the invention, and the existence of an invention not described in the claims of this application, that is, in the future, divided application or added by correction It does not deny the existence of the invention.

본 발명의 부호화 장치는,The encoding device of the present invention,

픽처를 부호화하는 부호화 장치(예를 들면, 도 9의 화상 부호화 장치(101))로서,As an encoding device (for example, the image encoding device 101 of FIG. 9) that encodes a picture,

상기 픽처를 부호화하는 부호화 수단(예를 들면, 도 9의 가산기(4), 직교 변환부(5), 양자화부(6), 가역 부호화부(7), 역양자화부(9), 역직교 변환부(10), 프레임 메모리(11), 및 움직임 예측/보상부(12))과,Encoding means (for example, adder 4, orthogonal transform unit 5, quantization unit 6, reversible encoder 7, inverse quantization unit 9, inverse orthogonal transform) for encoding the picture. A unit 10, a frame memory 11, and a motion predictor / compensator 12,

상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 수단(예를 들면, 도 10의 스텝 S11의 처리를 행하는 도 9의 식별부(111))과,Picture determination means (e.g., the identification unit 111 of FIG. 9 that performs the processing of step S11 of FIG. 10) for determining whether the picture is a picture of interlaced scanning or progressive scanning;

상기 픽처 판정 수단에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 수단(예를 들면, 도 10의 스텝 S12 또는 S15의 처리를 행하는 도 9의 식별부(111))과,Flag set means (e.g., the identification unit 111 in FIG. 9 which performs the processing of step S12 or S15 in FIG. 10) and sets the result of the determination in the picture determination means to a scanning flag indicating a picture scanning method; ,

상기 픽처의 표시 방식을 나타내는 정보를, 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 수단(예를 들면, 도 10의 스텝 S13, S17 또는 S18의 처리를 행하는 도 9의 식별부(111))과,Information set means (for example, the identification section of FIG. 9 which performs the processing of step S13, S17 or S18 in FIG. (111)),

상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 수단(예를 들면, 도 9의 가역 부호화부(7))Multiplexing means (e.g., the reversible coding unit 7 of FIG. 9) for multiplexing and outputting the result of encoding the picture and the scanning flag and display method indication information for each picture.

을 구비하는 것을 특징으로 한다.And FIG.

본 발명의 부호화 방법은,The encoding method of the present invention,

픽처를 부호화하는 부호화 방법으로서,An encoding method for encoding a picture,

상기 픽처를 부호화하는 부호화 스텝(예를 들면, 도 10의 스텝 S1)과,An encoding step (e.g., step S1 in FIG. 10) for encoding the picture,

상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판 정하는 픽처 판정 스텝(예를 들면, 도 10의 스텝 S11)과,A picture determination step (e.g., step S11 of FIG. 10) for determining whether the picture is a picture of an interlaced scan or a progressive scan;

상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝(예를 들면, 도 10의 스텝 S12 또는 S15)과,A flag set step (e.g., step S12 or S15 in FIG. 10) for setting the determination result in the picture determination step to a scan flag indicating a picture scanning method;

상기 픽처의 표시 방식을 나타내는 정보를, 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝(예를 들면, 도 10의 스텝 S13, S17, 또는 S18)과,An information set step (e.g., steps S13, S17, or S18 in FIG. 10) for setting information indicating a display method of the picture to display method indication information indicating a picture display method;

상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝(예를 들면, 도 10의 스텝 S14)A multiplexing step of multiplexing and outputting the encoding result of the picture and the scanning flag and display method indication information for each picture (for example, step S14 of FIG. 10)

을 포함하는 것을 특징으로 한다.And a control unit.

본 발명의 프로그램 기록 매체에 기록되어 있는 프로그램은,The program recorded in the program recording medium of the present invention,

상기 픽처를 부호화하는 부호화 스텝(예를 들면, 도 10의 스텝 S1)과,An encoding step (e.g., step S1 in FIG. 10) for encoding the picture,

상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝(예를 들면, 도 10의 스텝 S11)과,A picture determination step (e.g., step S11 of FIG. 10) for determining whether the picture is a picture of interlaced scanning or progressive scanning;

상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝(예를 들면, 도 10의 스텝 S12 또는 S15)과,A flag set step (e.g., step S12 or S15 in FIG. 10) for setting the determination result in the picture determination step to a scan flag indicating a picture scanning method;

상기 픽처의 표시 방식을 나타내는 정보를, 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝(예를 들면, 도 10의 스텝 S13, S17, 또는 S18)과,An information set step (e.g., steps S13, S17, or S18 in FIG. 10) for setting information indicating a display method of the picture to display method indication information indicating a picture display method;

상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방 식 지시 정보를 다중화하여 출력하는 다중화 스텝(예를 들면, 도 10의 스텝 S14)A multiplexing step of multiplexing and outputting the encoding result of the picture and the scanning flag and display method indication information for each picture (for example, step S14 of FIG. 10)

을 포함하는 것을 특징으로 한다.And a control unit.

본 발명의 복호 장치는,The decoding device of the present invention,

픽처를 부호화한 부호화 데이터를 복호하는 복호 장치(예를 들면, 도 11의 화상 복호 장치(102))로서,As a decoding apparatus (for example, the image decoding apparatus 102 of FIG. 11) which decodes the encoded data which encoded the picture,

상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 상기 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 상기 부호화 데이터를 복호하는 복호 수단(예를 들면, 도 11의 가역 복호부(22), 역양자화부(23), 역직교 변환부(24), 가산기(25), 프레임 메모리(26), 및 움직임 예측/보상부(27))과,Decoding means for decoding the encoded data multiplexed with a result of encoding the picture, a scan flag indicating a scanning method for each picture, and display method instruction information indicating a display method for each picture (for example, FIG. 11) A reversible decoder 22, an inverse quantizer 23, an inverse orthogonal transform unit 24, an adder 25, a frame memory 26, and a motion predictor / compensator 27,

상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단(예를 들면, 도 12의 스텝 S33 또는 S37의 처리를 행하는 도 11의 I/P 변환부(122))과,Recognition means for recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture (for example, a process of performing steps S33 or S37 in FIG. 12). 11 I / P conversion section 122),

상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단(예를 들면, 도 12의 스텝 S34 또는 S38의 처리를 행하는 도 11의 I/P 변환부(122))과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. Frame picture output means (for example, the I / P converter 122 in FIG. 11 that performs the processing in step S34 or S38 in FIG. 12),

상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단(예를 들면, 도 11의 표시 화상 출력 버퍼(123))Repetitive output means (e.g., display image output buffer 123 in Fig. 11) for repeatedly outputting the frame picture output from the frame picture output means a number of times corresponding to the display method indication information.

을 구비하는 것을 특징으로 한다.And FIG.

본 발명의 복호 방법은,The decoding method of the present invention,

픽처를 부호화한 부호화 데이터를 복호하는 복호 방법으로서,A decoding method for decoding coded data obtained by encoding a picture,

상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 상기 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 상기 부호화 데이터를 복호하는 복호 스텝(예를 들면, 도 12의 스텝 S21)과,A decoding step of decoding the encoded data multiplexed with a result of encoding the picture, a scan flag indicating a scanning method for each picture, and display method instruction information indicating a display method for each picture (for example, FIG. 12). Step S21),

상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝(예를 들면, 도 12의 스텝 S33 또는 S37)과,A recognition step (for example, step S33 or S37 in FIG. 12) for recognizing which picture is interlaced scanning or progressive scanning based on the scanning flag and display mode indication information of the picture;

상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝(예를 들면, 도 12의 스텝 S34 또는 S38)과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output step (for example, step S34 or S38 in FIG. 12);

상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝(예를 들면, 도 12의 스텝 S35)Repetitive output step (e.g., step S35 in FIG. 12) for repeatedly outputting the frame picture output in the frame picture output step a number of times corresponding to the display mode indication information.

을 포함하는 것을 특징으로 한다.And a control unit.

본 발명의 프로그램 기록 매체에 기록되어 있는 프로그램은,The program recorded in the program recording medium of the present invention,

픽처를 부호화한 부호화 데이터를 복호하는 복호 처리를 컴퓨터에 실행시키 는 프로그램으로서,A program for causing a computer to execute a decoding process for decoding coded data obtained by encoding a picture,

상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 상기 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 상기 부호화 데이터를 복호하는 복호 스텝(예를 들면, 도 12의 스텝 S21)과,A decoding step of decoding the encoded data multiplexed with a result of encoding the picture, a scan flag indicating a scanning method for each picture, and display method instruction information indicating a display method for each picture (for example, FIG. 12). Step S21),

상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝(예를 들면, 도 12의 스텝 S33 또는 S37)과,A recognition step (for example, step S33 or S37 in FIG. 12) for recognizing which picture is interlaced scanning or progressive scanning based on the scanning flag and display mode indication information of the picture;

상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝(예를 들면, 도 12의 스텝 S34 또는 S38)과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output step (for example, step S34 or S38 in FIG. 12);

상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝(예를 들면, 도 12의 스텝 S35)Repetitive output step (e.g., step S35 in FIG. 12) for repeatedly outputting the frame picture output in the frame picture output step a number of times corresponding to the display mode indication information.

을 포함하는 것을 특징으로 한다.And a control unit.

본 발명의 재생 장치는,The playback apparatus of the present invention,

픽처를 부호화한 부호화 데이터를 재생하는 재생 장치(예를 들면, 도 11의 화상 복호 장치(재생 장치)(102))로서,As a reproducing apparatus (for example, the image decoding apparatus (reproducing apparatus) 102 of FIG. 11) which reproduces the encoded data which encoded the picture,

상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내는 주사 플래그, 및 상기 픽처마다의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화된 상기 부호화 데이터를 복호하는 복호 수단(예를 들면, 도 11의 가역 복호부(22), 역양자화부(23), 역직교 변환부(24), 가산기(25), 프레임 메모리(26), 및 움직임 예측/보상부(27))과,Decoding means for decoding the encoded data multiplexed with a result of encoding the picture, a scan flag indicating a scanning method for each picture, and display method instruction information indicating a display method for each picture (for example, FIG. 11) A reversible decoder 22, an inverse quantizer 23, an inverse orthogonal transform unit 24, an adder 25, a frame memory 26, and a motion predictor / compensator 27,

상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단(예를 들면, 도 12의 스텝 S33 또는 S37의 처리를 행하는 도 11의 I/P 변환부(122))과,Recognition means for recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture (for example, a process of performing steps S33 or S37 in FIG. 12). 11 I / P conversion section 122),

상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단(예를 들면, 도 12의 스텝 S34 또는 S38의 처리를 행하는 도 11의 I/P 변환부(122))과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. Frame picture output means (for example, the I / P converter 122 in FIG. 11 that performs the processing in step S34 or S38 in FIG. 12),

상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단(예를 들면, 도 11의 표시 화상 출력 버퍼(123))Repetitive output means (e.g., display image output buffer 123 in Fig. 11) for repeatedly outputting the frame picture output from the frame picture output means a number of times corresponding to the display method indication information.

을 구비하는 것을 특징으로 한다.And FIG.

이하, 도면을 참조하여, 본 발명의 실시의 형태에 대해 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is described with reference to drawings.

도 6은, 본 발명을 적용한 화상 처리 시스템의 일 실시 형태의 구성예를 도시하고 있다.6 shows a structural example of an embodiment of an image processing system to which the present invention is applied.

도 6의 화상 처리 시스템은, 화상 부호화 장치(101), 화상 복호 장치(재생 장치)(102), 및 디스플레이(103)로 구성되어 있다.The image processing system of FIG. 6 is comprised of the image coding apparatus 101, the image decoding apparatus (reproduction apparatus) 102, and the display 103. As shown in FIG.

화상 부호화 장치(101)에는, 예를 들면, 프레임 레이트가 24㎐인 영화 필름 의 픽처를 2-3 풀다운함으로써 얻어지는, 프레임 레이트가 30㎐인 NTSC 방식의 픽처가 공급되게 되어 있으며, 화상 부호화 장치(101)는, 예를 들면, 기본적으로는, H.264/AVC의 규격에 준거하여, 그곳에 공급되는 30㎐의 NTSC 방식의 픽처를 부호화하고, 그 결과 얻어지는 부호화 데이터를 출력한다.The picture coding apparatus 101 is supplied with an NTSC picture having a frame rate of 30 Hz, which is obtained by, for example, 2-3 pull-down of a picture of a movie film having a frame rate of 24 Hz. 101 basically encodes a 30 ms NTSC system picture supplied therein according to the H.264 / AVC standard and outputs the resulting encoded data.

즉, 화상 부호화 장치(101)는, 그곳에 공급되는 픽처를, H.264/AVC의 규격에 준거하여 부호화한다. 또한, 화상 부호화 장치(101)는, 부호화 대상의 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하고, 그 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트한다. 또한, 화상 부호화 장치(101)는, 부호화 대상 픽처의 표시 방식을 나타내는 정보를. 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하고, 픽처의 부호화 결과와, 픽처마다의 주사 플래그 및 표시 방식 지시 정보를 다중화하여, 부호화 데이터로서 출력한다.In other words, the image encoding apparatus 101 encodes the picture supplied therein in accordance with the H.264 / AVC standard. In addition, the image encoding apparatus 101 determines whether the picture to be encoded is a picture of a scanning system of interlaced scanning or sequential scanning, and sets the determination result to a scan flag indicating a picture scanning system. In addition, the image encoding device 101 obtains information indicating a display method of a picture to be encoded. It is set to display method indication information indicating a picture display method, and the picture encoding result, the scan flag for each picture, and the display method indication information are multiplexed and output as encoded data.

화상 부호화 장치(101)가 출력하는 부호화 데이터는, 예를 들면, 광디스크나, 광자기 디스크, 자기 디스크(하드디스크를 포함), 반도체 메모리 등의 기록 매체(104)에 공급되어 기록되고, 혹은, 인터넷이나, 전화 회선, 유선 LAN(Local Area Network), CATV(Cable Television), 또는 위성 회선이나, 지상파, 무선 LAN 등의 유선 또는 무선의 전송 매체(105)를 통해 송신된다.The coded data output by the picture coding apparatus 101 is supplied to and recorded on a recording medium 104 such as an optical disk, a magneto-optical disk, a magnetic disk (including a hard disk), a semiconductor memory, or the like, or It is transmitted via a wired or wireless transmission medium 105 such as the Internet, a telephone line, a wired LAN (Local Area Network), a CATV (Cable Television), or a satellite line, a terrestrial wave or a wireless LAN.

화상 복호 장치(102)는, 기록 매체(104)로부터 판독되고, 혹은 전송 매체(105)를 통해 송신되어 오는 부호화 데이터를 수신하여 재생한다. 즉, 화상 복호 장치(102)는, 그 부호화 데이터를, 예를 들면, 기본적으로는, H.264/AVC의 규격에 준거하여 복호한다. 또한, 화상 복호 장치(102)는, 부호화 데이터를 복호함으 로써 얻어지는 복호 화상을, 후단의 디스플레이(103)에 대응한 화상으로 변환하여, 디스플레이(103)에 공급한다.The image decoding device 102 receives and reproduces the encoded data read from the recording medium 104 or transmitted via the transmission medium 105. That is, the image decoding device 102 basically decodes the encoded data based on the standard of H.264 / AVC, for example. In addition, the image decoding device 102 converts the decoded image obtained by decoding the encoded data into an image corresponding to the display 103 at the next stage and supplies it to the display 103.

즉, 디스플레이(103)가, 예를 들면, 순차 주사에 의해, NTSC 방식 필드의 표시 레이트(필드 레이트)와 동일한 60㎐(정확하게는, 59.94㎐)의 표시 레이트(refresh rate)로, 화상을 표시하는 디스플레이인 경우, 화상 복호 장치(102)는, 복호 화상을, 60㎐의 순차 주사의 프레임의 화상(픽처)으로 변환하여, 디스플레이(103)에 공급한다.That is, the display 103 displays an image at a refresh rate of 60 Hz (exactly 59.94 Hz) which is equal to the display rate (field rate) of the NTSC system field by sequential scanning, for example. In the case of a display, the image decoding device 102 converts the decoded image into an image (picture) of a 60-second progressive scan frame and supplies it to the display 103.

구체적으로는, 화상 복호 장치(102)는, 복호 화상인 픽처의 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식한다. 또한, 화상 복호 장치(102)는, 픽처가, 비월 주사의 픽처라고 인식한 경우, 그 픽처를, 필드 보간함으로써 프레임의 픽처(프레임 픽처)를 생성한다. 또한, 화상 복호 장치(102)는, 픽처가 순차 주사의 픽처라고 인식한 경우, 그 픽처를 그대로 프레임 픽처로 한다. 그리고, 화상 복호 장치(102)는, 프레임 픽처를, 필요에 따라, 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력함으로써, 60㎐의 순차 주사의 프레임의 화상(픽처)을, 디스플레이(103)에 공급한다.Specifically, the image decoding device 102 recognizes which picture is interlaced or sequential scanning based on the scanning flag of the picture which is the decoded image and the display method indication information. When the picture decoding apparatus 102 recognizes that the picture is a picture for interlaced scanning, the picture decoding apparatus 102 generates a picture (frame picture) of the frame by field interpolating the picture. When the picture decoding apparatus 102 recognizes that the picture is a picture of sequential scanning, the picture decoding apparatus 102 sets the picture as a frame picture as it is. Then, the image decoding device 102 repeatedly outputs the frame picture as many times as the number corresponding to the display method instruction information, if necessary, so as to display an image (picture) of the 60-second progressive scan frame (display). To feed.

이에 따라, 디스플레이(103)에서는, 60㎐의 순차 주사의 화상(픽처)이 표시된다.As a result, the display 103 displays a 60-second progressive scan image (picture).

다음으로, 도 6의 화상 부호화 장치(101)와 화상 복호 장치(102)의 상세에 대해 설명하지만, 그 전에, H.264/AVC에서 규정되어 있는 몇개의 신택스에 대해 설명한다.Next, although the detail of the image coding apparatus 101 and the image decoding apparatus 102 of FIG. 6 is demonstrated, some syntax prescribed | regulated by H.264 / AVC is demonstrated before that.

H.264/AVC(ISO/IEC 14496-10)에서는, pic_struct와 ct_type에 대하여, 이하와 같이 기술되어 있다.In H.264 / AVC (ISO / IEC 14496-10), pic_struct and ct_type are described as follows.

pic_struct indicates whether a picture should be displayed as a frame or one or more fields, according to Table D-1. Frame doubling(pic_struct equal to 7) indicates that the frame should be displayed two times consecutively, and frame tripling(pic_struct equal to 8) indicates that the frame should be displayed three times consecutively.pic_struct indicates whether a picture should be displayed as a frame or one or more fields, according to Table D-1. Frame doubling (pic_struct equal to 7) indicates that the frame should be displayed two times consecutively, and frame tripling (pic_struct equal to 8) indicates that the frame should be displayed three times consecutively.

NOTE - Frame doubling can facilitate the display, for example, of 25p video on a 50p display and 29.97p video on a 59.94p display. Using frame doubling and frame tripling in combination on every other frame can facilitate the display of 23.98p video on a 59.94p display.NOTE-Frame doubling can facilitate the display, for example, of 25p video on a 50p display and 29.97p video on a 59.94p display. Using frame doubling and frame tripling in combination on every other frame can facilitate the display of 23.98p video on a 59.94p display.

NumClockTS is determined by pic_struct as specified in Table D-1. There are up to NumClockTS sets of clockTimestamp information for a picture, as specified by clock_timestamp_flag[i] for each set. The sets of clockTimestamp information apply to the field(s) or the frame(s) associated with the picture by pic_struct.NumClockTS is determined by pic_struct as specified in Table D-1. There are up to NumClockTS sets of clockTimestamp information for a picture, as specified by clock_timestamp_flag [i] for each set. The sets of clockTimestamp information apply to the field (s) or the frame (s) associated with the picture by pic_struct.

The contents of the clockTimestamp syntax elements indicate a time of origin, capture, or alternative ideal display. This indicated time is computed asThe contents of the clockTimestamp syntax elements indicate a time of origin, capture, or alternative ideal display. This indicated time is computed as

clockTimestamp=((hH*60+mM)*60+sS)*time_scale+nFrames*(num_units_in_tick *(1+nuit_field_based_flag))+tOffset,clockTimestamp = ((hH * 60 + mM) * 60 + sS) * time_scale + nFrames * (num_units_in_tick * (1 + nuit_field_based_flag)) + tOffset,

(D-1) in units of clock ticks of a clock with clock frequency equal to time_scale ㎐, relative to some unspecified point in time for which clockTimestamp is equal to 0. Output order and DPB output timing are not affected by the value of clockTimestamp. When two or more frames with pic_struct equal to 0 are consecutive in output order and have equal values of clockTimestamp, the indication is that the frames represent the same content and that the last such frame in output order is the preferred representation. NOTE - clockTimestamp time indications may aid display on devices with refresh rates other than those well-matched to DPB output times.(D-1) in units of clock ticks of a clock with clock frequency equal to time_scale ㎐, relative to some unspecified point in time for which clockTimestamp is equal to 0.Output order and DPB output timing are not affected by the value of clockTimestamp . When two or more frames with pic_struct equal to 0 are consecutive in output order and have equal values of clockTimestamp, the indication is that the frames represent the same content and that the last such frame in output order is the preferred representation. NOTE-clockTimestamp time indications may aid display on devices with refresh rates other than those well-matched to DPB output times.

clock_timestamp_flag[i] equal to 1 indicates that a number of clockTimestamp syntax elements are present and follow immediately. clock_timestamp_flag[i] equal to 0 indicates that the associated clockTimestamp syntax elements are not present. When NumClockTS is greater than 1 and clock_timestamp_flag[i] is equal to 1 for more than one value of i, the value of clockTimestamp shall be non-decreasing with increasing value of i.clock_timestamp_flag [i] equal to 1 indicates that a number of clockTimestamp syntax elements are present and follow immediately. clock_timestamp_flag [i] equal to 0 indicates that the associated clockTimestamp syntax elements are not present. When NumClockTS is greater than 1 and clock_timestamp_flag [i] is equal to 1 for more than one value of i, the value of clockTimestamp shall be non-decreasing with increasing value of i.

ct_type indicates the scan type(interlaced or progressive) of the source material as follows:Two fields of a coded frame may have different values of ct_type. When clockTimestamp is equal for two fields of opposite parity that are consecutive in output order, both with ct_type equal to 0(progressive) or ct_type equal to 2(unknown), the two fields are indicated to have come from the same original progressive frame. Two consecutive fields in output order shall have different values of clockTimestamp when the value of ct_type for either field is 1(interlaced).ct_type indicates the scan type (interlaced or progressive) of the source material as follows: Two fields of a coded frame may have different values of ct_type. When clockTimestamp is equal for two fields of opposite parity that are consecutive in output order, both with ct_type equal to 0 (progressive) or ct_type equal to 2 (unknown), the two fields are indicated to have come from the same original progressive frame. Two consecutive fields in output order shall have different values of clockTimestamp when the value of ct_type for either field is 1 (interlaced).

여기에서, 도 7에, H.264/AVC에서 기술되어 있는 pic_struct의 테이블을, 도 8에, ct_type의 테이블을 도시한다.Here, Fig. 7 shows a table of pic_struct described in H.264 / AVC, and Fig. 8 shows a table of ct_type.

도 7의 pic_struct의 테이블은, 전술한 H.264/AVC의 기술에서의 Table D-1이며, 도 8의 ct_type의 테이블은, 전술한 H.264/AVC의 ct_type의 기술에서 기술되어 있는 테이블이다.The table of pic_struct of FIG. 7 is Table D-1 in the above-described H.264 / AVC description, and the table of ct_type of FIG. 8 is a table described in the above description of ct_type of H.264 / AVC. .

전술한 H.264/AVC의 기술에 의하면, pic_struct는 픽처를 어떻게 표시할지의 표시 방식을 지시하는 정보이며, 이 pic_struct가 화상 부호화 장치(101)(도 6)에서, 표시 방식 지시 정보로서 사용된다.According to the above description of H.264 / AVC, pic_struct is information indicating a display method of how to display a picture, and this pic_struct is used as the display method indication information in the image encoding apparatus 101 (FIG. 6). .

도 7의 pic_struct의 테이블에 의하면, 픽처에 의해, 1 프레임을 표시하는 것을 지시하는 경우에는, 그 픽처의 pic_struct에는, 도 7의 가장 왼쪽의 Value의 란에 나타내고 있는 바와 같이, 0이 세트된다. 마찬가지로, 픽처에 의해, 탑 필드 또는 보텀 필드를 표시하는 것을 지시하는 경우에는, 그 픽처의 pic_struct에는, 각각 1 또는 2가 세트된다. 또한, 픽처에 의해, 탑 필드와 보텀 필드를 그 순으로 표시하는 것을 지시하는 경우에는, 그 픽처의 pic_struct에는 3이 세트되고, 보텀 필드와 탑 필드를 그 순으로 표시하는 것을 지시하는 경우에는, pic_struct에는 4 가 세트된다. 또한, 픽처에 의해, 탑 필드, 보텀 필드, 반복 탑 필드를 그 순으로 표시하는 것을 지시하는 경우에는, 그 픽처의 pic_struct에는 5가 세트되고, 보텀 필드, 탑 필드, 반복 보텀 필드를 그 순으로 표시하는 것을 지시하는 경우에는, pic_struct에는 6이 세트된다. 또한, 픽처에 의해, 1 프레임을 2회 반복 또는 3회 반복 표시하는 것을 지시하는 경우에는, 그 픽처의 pic_struct에는, 각각 7 또는 8이 세트된다.According to the table of the pic_struct of FIG. 7, when a picture is indicated to display one frame, 0 is set in the pic_struct of the picture as shown in the leftmost Value column of FIG. Similarly, when a picture is instructed to display the top field or the bottom field, 1 or 2 is set in the pic_struct of the picture, respectively. In addition, when the picture is instructed to display the top field and the bottom field in that order, 3 is set in the pic_struct of the picture, and when the bottom field and the top field are displayed in that order, 4 is set in pic_struct. When a picture is instructed to display the top field, the bottom field, and the repeating top field in that order, 5 is set in the pic_struct of the picture, and the bottom field, the top field, and the repeating bottom field are in that order. When instructing to display, 6 is set in the pic_struct. In addition, when a picture is instructed to display one frame twice or three times, 7 or 8 are set in the pic_struct of the picture, respectively.

따라서, H.264/AVC에서는, 픽처가 필드 픽처(field picture)인 경우에는, 그 픽처의 pic_struct의 값은, 1 또는 2의 어느 하나로 제약된다. 또한, 픽처가 프레임 픽처(frame picture)인 경우에는, 그 픽처의 pic_struct의 값은, 0, 3 내지 8의 어느 하나로 제약된다.Therefore, in H.264 / AVC, when a picture is a field picture, the value of the pic_struct of the picture is limited to either one or two. In addition, when a picture is a frame picture, the value of the pic_struct of the picture is restricted to one of 0, 3 to 8.

한편, 전술한 H.264/AVC의 기술에 의하면, ct-type은 clockTimestamp의 산출에 이용되는 정보이다. 또한, ct-type은, H.264/AVC에서 규정되어 있는 cloek_timestamp_flag[i]의 엘리먼트(element)의 1개이다. clock_timestamp_flag[i]는, 0 또는 1의 어느 하나로 설정되며, clock_timestamp_flag[i]가 O인 경우, 그 clock_timestamp-flag[i]에는, 엘리먼트가 존재하지 않고, clock_timestamp_flag[i]가 1인 경우, 그 elock_timestamp_flag[i]에는, 엘리먼트가 존재한다.On the other hand, according to the above-described H.264 / AVC description, ct-type is information used for calculating clockTimestamp. In addition, ct-type is one of the elements of cloek_timestamp_flag [i] prescribed in H.264 / AVC. clock_timestamp_flag [i] is set to either 0 or 1, and when clock_timestamp_flag [i] is O, the element does not exist in the clock_timestamp-flag [i], and when the clock_timestamp_flag [i] is 1, the elock_timestamp_flag In [i], an element exists.

여기에서, clock_timestamp_flag[i]의 인수 i는, 0 내지 NumClockTS의 범위의 정수값을 갖는다. H.264/AVC에서, NumClockTS는, 도 7의 가장 오른쪽 란에 나타내는 바와 같이, pic_struct가 취하는 값에 따라 결정되고 있다.Here, the argument i of clock_timestamp_flag [i] has an integer value in the range of 0 to NumClockTS. In H.264 / AVC, NumClockTS is determined according to the value that pic_struct takes, as shown in the rightmost column of FIG.

도 6의 화상 부호화 장치(101)에서는, 1이 세트된 clock_timestamp_flag[0]의 엘리먼트 중의 ct_type이, clockTimestamp의 산출이 아니라, 픽처의 주사 방식이 비월 주사 또는 순차 주사 중 어느 것인지를 나타내는 주사 플래그로서 사용된다.In the picture coding apparatus 101 of FIG. 6, the ct_type in the element of clock_timestamp_flag [0] in which 1 is set is used as a scan flag indicating whether the picture scanning method is interlaced scanning or sequential scanning, rather than calculating clockTimestamp. do.

도 9는, 이상과 같이, pic_struct을 표시 방식 지시 정보로서 사용함과 함께, ct_type을 주사 플래그로서 사용하는 도 6의 화상 부호화 장치(101)의 구성예를 도시하고 있다.FIG. 9 shows an example of the configuration of the picture coding apparatus 101 of FIG. 6 that uses pic_struct as the display method indication information and uses ct_type as the scan flag as described above.

또한, 도 9에서, 도 3의 화상 부호화 장치에서의 경우에 대응하는 부분에 대해서는, 동일한 부호를 부여하고, 이하에서는, 그 설명은 적당히 생략한다. 즉, 도 9의 화상 부호화 장치(101)는, pic_struct 및 비월 주사/순차 주사 식별부(111)(이하, 도면 중에서는 「식별부」라고 표기함과 함께, 적당히, 간단히, 식별부(111)라고 함)가 새롭게 설치되고 있는 것 외에는, 도 3의 화상 부호화 장치와 기본적으로 마찬가지로 구성되어 있다.In FIG. 9, the same code | symbol is attached | subjected about the part corresponding to the case in the image coding apparatus of FIG. 3, and the description is abbreviate | omitted suitably below. That is, the picture coding apparatus 101 of FIG. 9 denotes the pic_struct and the interlaced scanning / sequential scanning identification unit 111 (hereinafter, referred to as "identification unit" in the drawing), and simply and appropriately, the identification unit 111. Is basically provided similarly to the picture coding apparatus of FIG.

식별부(111)에는, 2-3 검출부(2)로부터, 2-3 운율의 검출 결과나 필드간 차분 정보가 공급되게 되어 있다. 식별부(111)는, 2-3 검출부(2)로부터의 2-3 운율의 검출 결과나 필드간 차분 정보에 기초하여, 화면 재배열 버퍼(3)로부터 가산기(4)에 출력되는 부호화 대상의 픽처인 주목 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를, 2-3 검출부(2)와 마찬가지로 하여 판정한다. 그리고, 식별부(111)는, 그 판정 결과를 주사 플래그로서의 ct_type으로 세트하고, 가역 부호화부(7)에 공급한다.The identification unit 111 is supplied with the detection result of the 2-3 rhymes and the difference information between the fields from the 2-3 detection unit 2. The identification part 111 performs the encoding object output from the screen rearrangement buffer 3 to the adder 4 based on the detection result of the 2-3 rhymes from the 2-3 detection part 2 and the difference information between fields. It is determined in the same manner as in the 2-3 detection unit 2 to determine whether the picture of interest as a picture is a picture of an interlaced scan or a progressive scan. And the identification part 111 sets the determination result to ct_type as a scanning flag, and supplies it to the reversible coding part 7. As shown in FIG.

여기에서, 식별부(111)에서는, 주목 픽처의 주사 방식이, 예를 들면, 2-3 검출부(2)와 마찬가지로 하여 판정된다. 따라서, 식별부(111)의 판정 결과와 2-3 검출부(2)의 판정 결과는, 동일하게 되므로, 식별부(111)에서는, 주목 픽처의 주사 방식을 판정하지 않고, 2-3 검출부(2)의 판정 결과를 이용하도록 해도 된다.Here, in the identification part 111, the scanning method of the picture of interest is determined similarly to the 2-3 detection part 2, for example. Therefore, since the determination result of the identification part 111 and the determination result of the 2-3 detection part 2 become the same, the identification part 111 does not determine the scanning method of the picture of interest, but does not determine the 2-3 detection part 2 May be used.

식별부(111)는, 또한, 주목 픽처의 표시 방식을 나타내는 값(도 7의 Value의 란의 값)을 pic_struct로 세트한다.The identification unit 111 also sets a value (the value column in the Value column of FIG. 7) indicating the display system of the picture of interest to the pic_struct.

여기에서, H.264/AVC에서는, 전술한 바와 같이, 픽처가 필드 픽처인 경우는, pic_struct의 값은 1 또는 2의 어느 하나로 제약되고, 픽처가 프레임 픽처인 경우는, pic_struct의 값은 0, 3 내지 8의 어느 하나로 제약된다.In H.264 / AVC, as described above, when the picture is a field picture, the value of pic_struct is limited to either 1 or 2, and when the picture is a frame picture, the value of pic_struct is 0, Constrained to any one of 3 to 8.

식별부(111)는, 이와 같은 제약 하에, 주목 픽처의 표시 방식을 나타내는 값을 pic_struct로 세트한다.The identification part 111 sets the value which shows the display system of the picture of interest to pic_struct under such a restriction.

구체적으로는, 식별부(111)는, 주목 픽처가 비월 주사의 픽처라고 판정한 경우, 주목 픽처의 표시 방식에 따라, 그 주목 픽처에 의해, 탑 필드를 표시하는 것을 지시하는 1이나, 보텀 필드를 표시하는 것을 지시하는 2나, 탑 필드와 보텀 필드를 그 순으로 표시하는 것을 지시하는 3이나, 또는 보텀 필드와 탑 필드를 그 순으로 표시하는 것을 지시하는 4를, pic_struct로 세트한다. 즉, 이 경우, 비월 주사의 픽처인 주목 픽처가 필드 픽처이면, 1 또는 2 중 하나가, pic_struct로 세트되고, 주목 픽처가 프레임 픽처이면, 3 또는 4 중 하나가, pic_struct로 세트된다.Specifically, when the identification unit 111 determines that the picture of interest is a picture for interlaced scanning, the identification unit 111 indicates that the top picture is to be displayed by the picture of interest and the bottom field according to the display method of the picture of interest. Is set to pic_struct 2 for indicating to display the text, 3 for indicating the top field and the bottom field in that order, or 4 for indicating the bottom field and the top field in that order. That is, in this case, if the picture of interest that is the picture of interlaced scanning is a field picture, one of 1 or 2 is set to pic_struct, and if the picture of interest is a frame picture, one of 3 or 4 is set to pic_struct.

또한, 식별부(111)는, 주목 픽처가 순차 주사의 픽처라고 판정한 경우, 주목 픽처의 표시 방식에 따라, 그 주목 픽처에 의해, 프레임을 표시하는 것을 지시하는 O이나, 탑 필드와 보텀 필드를 그 순으로 표시하는 것을 지시하는 3이나, 보텀 필드와 탑 필드를 그 순으로 표시하는 것을 지시하는 4나, 탑 필드, 보텀 필드, 탑 필드를 그 순으로 표시하는 것을 지시하는 5이거나, 또는 보텀 필드, 탑 필드, 보텀 필드를 그 순으로 표시하는 것을 지시하는 6을 세트한다.In addition, when the identification unit 111 determines that the target picture is a picture of sequential scanning, O instructing to display a frame by the target picture according to the display method of the target picture, or the top field and the bottom field. 3 indicates to display the bottom field and the top field in that order, or 5 indicates to display the top field, the bottom field, and the top field in that order, or 6 that indicates that the bottom field, the top field, and the bottom field are displayed in that order is set.

식별부(111)는, 이상과 같이, 주목 픽처의 pic_struct에, 그 주목 픽처의 표시 방식을 나타내는 값을 세트하고, 가역 부호화부(7)에 공급한다.As described above, the identification unit 111 sets a value indicating the display system of the picture of interest in the pic_struct of the picture of interest and supplies it to the reversible coding unit 7.

또한, 여기에서는, 픽처에 의해, 2 프레임 또는 3 프레임을 표시하는 것을 각각 지시하는 7 또는 8(도 7)은, pic_struct로 세트되지 않는 것으로 한다. 단, H.264/AVC에서 규정되어 있는 fixed_frame_rate_flag가 1이고, 부호화 대상 픽처의 시퀀스가 고정 프레임 레이트를 만족하는 경우에 있어서, 순차 주사의 픽처를 반복하여 표시하는 것을 지정할 경우에는, pic_struct에는 7 또는 8을 세트할 수 있다.In this case, it is assumed that 7 or 8 (FIG. 7) indicating that two or three frames are respectively displayed by the picture is not set in the pic_struct. However, when fixed_frame_rate_flag specified in H.264 / AVC is 1 and the sequence of the picture to be encoded satisfies the fixed frame rate, 7 or 6 is specified in the pic_struct to specify that the pictures to be sequentially scanned are repeatedly displayed. 8 can be set.

다음으로, 도 10의 플로우차트를 참조하여, 도 9의 화상 부호화 장치(101)의 처리에 대해 설명한다.Next, with reference to the flowchart of FIG. 10, the process of the image coding apparatus 101 of FIG. 9 is demonstrated.

화상 부호화 장치(101)에서는, 스텝 S1에서, 화면 재배열 버퍼(3)로부터 가산기(4)에 출력되는 픽처가, 순차적으로, 주목 픽처로 여겨져, 그 주목 픽처가, 도 3의 화상 부호화 장치에서의 경우와 마찬가지로 하여 부호화되어 간다.In the picture coding apparatus 101, in step S1, the pictures output from the screen rearrangement buffer 3 to the adder 4 are sequentially regarded as the pictures of interest, and the pictures of interest are regarded as the pictures coding apparatus of FIG. In the same manner as in the case of encoding.

여기에서, 도 3에서 설명한 바와 같이, 2-3 검출부(2)는, A/D 변환부(1)로부터의 2 필드의 픽처의 조 또는 3 필드의 픽처의 조가, 순차 주사의 픽처라고 판정한 경우, 그 2 필드의 픽처의 조 또는 3 필드의 픽처의 조로부터, 1 프레임의 순차 주사의 픽처를 구성하고, 화면 재배열 버퍼(3)에 공급한다. 또한, 2-3 검출부(2) 는, 임의의 프레임을 구성하는 2 필드가, 비월 주사의 픽처라고 판정한 경우, 그 2 필드의 픽처는, 부호화 효율에 따라, 각각, 필드 픽처로서, 또는, 그 2 필드로 구성되는 1 프레임의 프레임 픽처로서 화면 재배열 버퍼(3)에 공급된다. 따라서, 2-3 검출부(2)로부터 화면 재배열 버퍼(3)에 공급되고, 또한, 화면 재배열 버퍼(3)로부터 가산기(4)에 공급되는 픽처의 레이트는, 20㎐(3 필드의 픽처의 조로부터 1 프레임의 순차 주사의 픽처가 구성되는 경우) 내지 30㎐ 범위의 값이 된다.Here, as described with reference to FIG. 3, the 2-3 detection unit 2 determines that a pair of two-field pictures or a pair of three-field pictures from the A / D conversion unit 1 are pictures of progressive scanning. In this case, from the group of the picture of the two fields or the group of the picture of the three fields, a picture of sequential scanning is formed and supplied to the screen rearrangement buffer 3. In addition, when the 2-3 detection unit 2 determines that two fields constituting an arbitrary frame are pictures of interlaced scanning, the pictures of the two fields are each field pictures, or, depending on the coding efficiency, It is supplied to the screen rearrangement buffer 3 as a frame picture of one frame composed of the two fields. Therefore, the rate of the picture supplied from the 2-3 detection unit 2 to the screen rearrangement buffer 3 and from the screen rearrangement buffer 3 to the adder 4 is 20 Hz (3 field pictures). In the case where a picture of a sequential scan of one frame is configured).

화상 부호화 장치(101)에서는, 스텝 S1의 부호화 처리와 병행하여, 스텝 S11에서, 식별부(111)가, 2-3 검출부(2)로부터 공급되는 2-3 운율의 검출 결과나 필드간 차분 정보에 기초하여, 화면 재배열 버퍼(3)로부터 가산기(4)에 출력되는 부호화 대상의 픽처인 주목 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정한다.In the image encoding apparatus 101, in parallel with the encoding process of step S1, in step S11, the detection part 111 detects 2-3 rhythms supplied from the 2-3 detection part 2, and the difference information between fields. Based on this, it is determined whether the picture of interest, which is the picture of the encoding target output from the screen rearrangement buffer 3 to the adder 4, is a picture of a scanning method of interlaced scanning or sequential scanning.

스텝 S11에서, 주목 픽처가 순차 주사의 픽처라고 판정된 경우, 스텝 S12로 진행하여, 식별부(111)는, 주사 플래그로서의, 주목 픽처의 ct_type에, 「순차 주사」를 나타내는 값(예를 들면, 0)을 세트하여, 가역 부호화부(7)에 공급하고, 스텝 S13으로 진행한다.If it is determined in step S11 that the picture of interest is a picture of sequential scanning, the flow advances to step S12, where the identification unit 111 indicates a value indicating "sequential scanning" in ct_type of the picture of interest as the scanning flag (for example, , 0) are set, supplied to the reversible coding unit 7, and the flow proceeds to step S13.

스텝 S13에서는, 식별부(111)는, 순차 주사의 픽처라고 판정한 주목 픽처의 pic_struct에, 0, 3 내지 6 가운데, 주목 픽처의 표시 방식에 따른 값을 세트하여, 가역 부호화부(7)에 공급하고, 스텝 S14로 진행한다.In step S13, the identification part 111 sets the value according to the display method of the picture of interest among 0, 3-6 to the pic_struct of the picture of interest determined as a picture of sequential scanning, and supplies it to the reversible coding part 7. It supplies, and it progresses to step S14.

스텝 S14에서는, 가역 부호화부(7)는, 주목 픽처의 부호화 결과와, 식별부(111)로부터의 주목 픽처의 ct_type 및 pic_struct을 다중화하고, 그 다중화 결 과로서의 부호화 데이터를, 축적 버퍼(8)를 통해 출력한다. 그리고, 스텝 S14로부터 S11로 돌아와, 다음의 부호화 대상의 픽처를 주목 픽처로 하고, 그 주목 픽처에 대하여, 이하, 마찬가지의 처리가 행해진다.In step S14, the reversible coding unit 7 multiplexes the coding result of the picture of interest and the ct_type and pic_struct of the picture of interest from the identification unit 111, and stores the encoded data as the multiplexing result as the storage buffer 8. Output through Then, returning from step S14 to S11, the next picture to be encoded is regarded as a picture of interest, and the same processing is performed on the picture of interest.

여기에서, 가역 부호화부(7)는, 스텝 S14에서, 적어도, 주목 픽처의 clock_timestamp_flag[0]에 1을 세트하고, 그 clock_timestamp_flag[0]의 엘리먼트로서 식별부(111)로부터의, 주목 픽처의 ct_type을 다중화한다.Here, in step S14, the reversible coding unit 7 sets at least 1 to clock_timestamp_flag [0] of the picture of interest and ct_type of the picture of interest from the identification unit 111 as an element of the clock_timestamp_flag [0]. Multiplex

또한, clock_timestamp_flag[0] 이외의 clock_timestamp_flag[k](k는, 1 이상의 정수치)에 대해서는, H.264/AVC에 준거한 정보를 세트하여도 되고, 또한, clock_timestamp_flag[k]=0으로 하여 아무런 정보도 세트하지 않아도 된다.For clock_timestamp_flag [k] (where k is an integer value of 1 or more) other than clock_timestamp_flag [0], information based on H.264 / AVC may be set, and clock_timestamp_flag [k] = 0 There is no need to set any information.

한편, 스텝 S11에서, 주목 픽처가 비월 주사의 픽처라고 판정된 경우, 스텝 S15로 진행하여, 식별부(111)는, 주사 플래그로서의, 주목 픽처의 ct_type에, 「비월 주사」를 나타내는 값(예를 들면, 1)을 세트하여, 가역 부호화부(7)에 공급하고, 스텝 S16으로 진행한다.On the other hand, when it is determined in step S11 that the picture of interest is a picture of interlaced scanning, the flow advances to step S15, where the identification unit 111 indicates a value indicating "interlaced scanning" in ct_type of the picture of interest as the scan flag (example For example, 1) is set, supplied to the reversible coding unit 7, and the flow proceeds to step S16.

스텝 S16에서는, 식별부(111)는, 주목 픽처가, 필드 픽처 또는 프레임 픽처 중 어느 것인지를 판정한다.In step S16, the identification unit 111 determines whether the picture of interest is a field picture or a frame picture.

스텝 S16에서, 주목 픽처가 필드 픽처라고 판정된 경우, 스텝 S17로 진행하여, 식별부(111)는, 필드 픽처이면서 비월 주사의 픽처라고 판정된 주목 픽처의 pic_struct에, 1 또는 2 중, 주목 픽처의 표시 방식에 따른 값을 세트한다. 또한, 스텝 S17에서는, 식별부(111)는, 주목 픽처의 pic_struct을, 가역 부호화부(7)에 공급하고, 스텝 S14로 진행하여, 이하, 전술한 경우와 마찬가지의 처리가 행해진 다.In step S16, when it is determined that the picture of interest is a field picture, the flow advances to step S17, and the identification unit 111 determines whether the picture of interest is one or two of pic_struct of the picture of interest that is determined to be a picture of interlaced scanning while being a field picture. Set the value according to the display method of. In addition, in step S17, the identification part 111 supplies the pic_struct of the picture of interest to the reversible coding part 7, and advances to step S14, and the same process as the above-mentioned case is performed hereafter.

또한, 스텝 S16에서, 주목 픽처가 프레임 픽처라고 판정된 경우, 스텝 S18로 진행하여, 식별부(111)는, 프레임 픽처이면서 비월 주사의 픽처라고 판정된 주목 픽처의 pic_struct에, 3 또는 4 중, 주목 픽처의 표시 방식에 따른 값을 세트한다. 또한, 스텝 S18에서는, 식별부(111)는, 주목 픽처의 pic_struct을, 가역 부호화부(7)에 공급하고, 스텝 S14로 진행하여, 이하, 전술한 경우와 마찬가지의 처리가 행해진다.In addition, in step S16, when it is determined that the picture of interest is a frame picture, the flow advances to step S18, and the identification unit 111 selects 3 or 4 of pic_struct of the picture of interest that is determined to be a frame picture and interlaced picture. A value according to the display method of the picture of interest is set. In addition, in step S18, the identification part 111 supplies the pic_struct of the picture of interest to the reversible coding part 7, and progresses to step S14 hereafter and the process similar to the above-mentioned case is performed.

이상과 같이 하여, 화상 부호화 장치(101)에서는, 주목 픽처의 주사 방식의 판정 결과가 ct_type으로 세트되고, 그 주목 픽처의 부호화 결과와, ct_type 및 pic_struct가 다중화된 부호화 데이터가 출력된다.As described above, in the image encoding apparatus 101, the determination result of the scanning method of the picture of interest is set to ct_type, and the coding result of the picture of interest and the encoded data multiplexed with ct_type and pic_struct are output.

다음으로, 도 11은, 도 6의 화상 복호 장치(102)의 구성예를 도시하고 있다. 또한, 도 11에서, 도 4의 화상 복호 장치에서의 경우에 대응하는 부분에 대해서는, 동일한 부호를 부여하고, 이하에서는, 그 설명은, 적당히 생략한다. 즉, 도 11의 화상 복호 장치(102)는, 화면 재배열 버퍼(28)에 대신하여, 화면 재배열 버퍼(121)가 설치되어 있으며, 또한, 그 화면 재배열 버퍼(121)와 D/A 변환부(29)의 사이에, I/P 변환부(122), 표시 화상 출력 버퍼(123) 및 화상틀 사이즈 변환부(124)가 새롭게 설치되어 있는 것 외에는, 도 4의 화상 복호 장치와 마찬가지로 구성되어 있다.Next, FIG. 11 shows an example of the configuration of the image decoding device 102 of FIG. 6. 11, the same code | symbol is attached | subjected about the part corresponding to the case in the image decoding apparatus of FIG. 4, and the description is abbreviate | omitted suitably below. That is, in the image decoding apparatus 102 of FIG. 11, the screen rearrangement buffer 121 is provided in place of the screen rearrangement buffer 28, and the screen rearrangement buffer 121 and the D / A. Similarly to the image decoding apparatus of FIG. 4, except that the I / P converter 122, the display image output buffer 123, and the picture frame size converter 124 are newly provided between the converters 29. Consists of.

화면 재배열 버퍼(121)는, 가산기(25)로부터 공급되는 복호 화상(픽처)을 일시 기억하여, 표시 순서로 재배열하고, I/P 변환부(122)에 출력한다.The screen rearrangement buffer 121 temporarily stores decoded images (pictures) supplied from the adder 25, rearranges them in the display order, and outputs them to the I / P conversion unit 122.

여기에서, 도 4의 화상 복호 장치에서의 화면 재배열 버퍼(28)는, 전술한 바 와 같이, 표시 순서로 재배열된 24㎐의 영화 필름의 픽처를, pic_struct에 따라, 30㎐의 NTSC 방식의 픽처로 하여 출력하지만, 화면 재배열 버퍼(121)는, 간단히, 가산기(25)로부터 공급되는 픽처를, 표시 순서로, I/P 변환부(122)에 출력한다. 화면 재배열 버퍼(121)로부터 I/P 변환부(122)에 출력되는 픽처의 레이트는, 도 9의 화상 부호화 장치(101)에서, 2-3 검출부(2)로부터 화면 재배열 버퍼(3)에 공급되고, 또한, 화면 재배열 버퍼(3)로부터 가산기(4)에 공급되는 픽처의 레이트와 마찬가지로, 20㎐ 내지 30㎐의 범위의 값이 된다.Here, the screen rearrangement buffer 28 in the image decoding apparatus of FIG. 4 uses the NTSC system of 30 ms according to the pic_struct, as described above, the pictures of 24 ms movie film rearranged in the display order. The picture rearrangement buffer 121 simply outputs the picture supplied from the adder 25 to the I / P conversion unit 122 in the display order. The rate of a picture output from the screen rearrangement buffer 121 to the I / P converter 122 is determined by the screen rearrangement buffer 3 from the 2-3 detection unit 2 in the image encoding apparatus 101 of FIG. 9. In addition to the rate of the picture supplied to and supplied from the screen rearrangement buffer 3 to the adder 4, the value is in the range of 20 ms to 30 ms.

I/P 변환부(122)에는, 전술한 바와 같이, 화면 재배열 버퍼(121)로부터 픽처(복호 화상)가 공급되는 것 외에, 가역 복호부(22)로부터, 화면 재배열 버퍼(121)로부터의 각 픽처의 ct_type과 pic_struct가 공급되게 되어 있다.As described above, the I / P conversion unit 122 is supplied with the picture (decoded image) from the screen rearrangement buffer 121, and from the reversible decoding unit 22, from the screen rearrangement buffer 121. The ct_type and pic_struct of each picture in are supplied.

I/P(Interlace/Progressive) 변환부(122)는, 화면 재배열 버퍼(121)로부터 공급되는 픽처를, 순차적으로, 주목 픽처로 하여, 가역 복호부(22)로부터 공급되는 주목 픽처의 ct_type과 pic_struct에 기초하여, 주목 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식한다. 또한, I/P 변환부(122)는, 주목 픽처가 비월 주사의 픽처라고 인식한 경우, 그 주목 픽처를 필드 보간함으로써, 프레임 픽처를 생성하고, 표시 화상 출력 버퍼(123)에 출력하여 기억시킨다. 또한, I/P 변환부(122)는, 주목 픽처가 순차 주사의 픽처라고 인식한 경우, 그 주목 픽처를 그대로 프레임 픽처로서 표시 화상 출력 버퍼(123)에 출력한다.The I / P (Interlace / Progressive) converting unit 122 sequentially uses the pictures supplied from the screen rearrangement buffer 121 as the desired pictures, and the ct_type of the pictures of interest supplied from the reversible decoding unit 22 and the like. Based on the pic_struct, it recognizes whether the picture of interest is a picture of interlaced scanning or sequential scanning. In addition, when recognizing the picture of interest as a picture for interlaced scanning, the I / P converter 122 generates a frame picture by field interpolating the picture of interest and outputs it to the display image output buffer 123 for storage. . In addition, when recognizing the picture of interest as a picture of sequential scanning, the I / P converter 122 outputs the picture of interest as a frame picture to the display image output buffer 123 as it is.

또한, I/P 변환부(122)는, 주목 픽처의 pic_struct에 따라, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처의 출력 횟수(표시 화상 출력 버퍼(123)에 기억된 프레임 픽처의 판독 횟수)를 제어한다.In addition, the I / P conversion unit 122 outputs the frame pictures stored in the display image output buffer 123 according to the pic_struct of the picture of interest (the number of times of reading the frame pictures stored in the display image output buffer 123). ).

표시 화상 출력 버퍼(123)는, I/P 변환부(122)로부터 공급되는 프레임 픽처를 기억한다. 또한, 표시 화상 출력 버퍼(123)는, 그곳에 기억한 프레임 픽처를, I/P 변환부(122)의 제어에 따라 1회만, 또는 여러 차례 반복해 판독하여, 화상틀 사이즈 변환부(124)에 공급한다.The display image output buffer 123 stores the frame picture supplied from the I / P converter 122. In addition, the display image output buffer 123 reads the frame picture stored therein only once or repeatedly several times under the control of the I / P conversion section 122, and reads the frame picture into the picture frame size conversion section 124. Supply.

화상틀 사이즈 변환부(124)는, 표시 화상 출력 버퍼(123)로부터의 프레임 픽처의 화상틀 사이즈를, 디스플레이(103)(도 6)의 표시 화면에 대응한 화상틀 사이즈로 변환하여, D/A 변환부(29)에 공급한다.The picture frame size conversion unit 124 converts the picture frame size of the frame picture from the display image output buffer 123 into a picture frame size corresponding to the display screen of the display 103 (FIG. 6), and the D / It supplies to A conversion part 29.

다음으로, 도 12의 플로우차트를 참조하여, 도 11의 화상 복호 장치(102)의 처리에 대해 설명한다.Next, the process of the image decoding device 102 of FIG. 11 will be described with reference to the flowchart of FIG. 12.

화상 복호 장치(102)에서는, 스텝 S21에서, 그곳에 공급되는 부호화 데이터가, 도 4의 화상 복호 장치에서의 경우와 마찬가지로 하여 복호되고, 그 결과 얻어지는 복호 화상(픽처)이 화면 재배열 버퍼(121)에 순차적으로 기억되어 간다. 이 화면 재배열 버퍼(121)에 기억된 픽처는, 화면 재배열 버퍼(121)에서 표시 순서로 재배열되어, 순차적으로, I/P 변환부(122)에 출력되어 간다.In the image decoding apparatus 102, in step S21, the encoded data supplied therein is decoded in the same manner as in the image decoding apparatus of FIG. 4, and the resulting decoded image (picture) is the screen rearrangement buffer 121. It is sequentially stored in. The pictures stored in the screen rearrangement buffer 121 are rearranged in the display order in the screen rearrangement buffer 121, and are sequentially output to the I / P conversion unit 122.

여기에서, 가역 복호부(22)는, 스텝 S21의 복호 처리에서, 도 4의 화상 복호 장치에서의 경우와 마찬가지의 처리를 행하는 것 외에, 부호화 데이터로부터, 각 픽처의 ct_type과 pic_struct을 분리하여, I/P 변환부(122)에 공급한다.Here, in the decoding process of step S21, the reversible decoding unit 22 separates the ct_type and pic_struct of each picture from the encoded data, in addition to performing the same processing as in the image decoding device of FIG. It supplies to the I / P conversion part 122. FIG.

또한, 가역 복호부(22)는, 부호화 데이터로 다중화되어 있는, 1로 되어 있는 clock_timestamp_flag[i], 즉, 본 실시의 형태에서는, clock_timestamp_flag[0]을 해석함으로써 그 엘리먼트로 되어 있는 ct_type을 취득하여, I/P 변환부(122)에 공급한다. 또한, 가역 복호부(22)에서는, clock_timestamp_flag[0] 이외의 clock_timestamp_flag[k](k는, 1 이상의 정수치)는, 해석하여도 되고, 하지 않아도 무방하다. 단, 가역 복호부(22)는, clock_timestamp_flag[0] 이외의 clock_timestamp_flag[k]를 해석하여 ct_type을 취득한 경우라도, 그 ct_type을 무시한다.In addition, the reversible decoding unit 22 acquires ct_type of the element by analyzing clock_timestamp_flag [i] of 1, that is, multiplexed with encoded data, that is, clock_timestamp_flag [0] in the present embodiment. , To the I / P converter 122. In addition, the reversible decoding unit 22 may or may not analyze clock_timestamp_flag [k] (where k is an integer value of 1 or more) other than clock_timestamp_flag [0]. However, the reversible decoding unit 22 ignores the ct_type even when the clock_timestamp_flag [k] other than clock_timestamp_flag [0] is obtained to acquire the ct_type.

화상 복호 장치(102)에서는, 스텝 S21의 복호 처리와 병행하여, 스텝 S31에서, I/P 변환부(122)가, 화면 재배열 버퍼(121)로부터의 픽처를 주목 픽처로 하여, 가역 복호부(22)로부터 공급되는 각 픽처의 ct_type과 pic_struct로부터, 주목 픽처의 ct_type과 pic_struct을 취득하고, 스텝 S32로 진행한다.In the image decoding device 102, in parallel with the decoding process of step S21, in step S31, the I / P conversion unit 122 uses the picture from the screen rearrangement buffer 121 as the attention picture, and a reversible decoding unit. From ct_type and pic_struct of each picture supplied from (22), ct_type and pic_struct of the picture of interest are obtained, and the flow proceeds to step S32.

스텝 S32에서는, I/P 변환부(122)는, 주목 픽처의 pic_struct의 값을 판정한다.In step S32, the I / P conversion unit 122 determines the value of the pic_struct of the picture of interest.

스텝 S32에서, 주목 픽처의 pic_struct가, 그 주목 픽처에 의해, 프레임을 표시하는 것을 지시하는 0이거나, 탑 필드, 보텀 필드, 탑 필드를 그 순으로 표시하는 것을 지시하는 5이거나, 또는 보텀 필드, 탑 필드, 보텀 필드를 그 순으로 표시하는 것을 지시하는 6이라고 판정된 경우, 스텝 S33로 진행하고, I/P 변환부(122)는, 주목 픽처가 순차 주사의 픽처라고 인식하여, 스텝 S34로 진행한다.In step S32, the pic_struct of the picture of interest is 0 indicating that the frame is to be displayed by the picture of interest, or 5 indicating that the top field, the bottom field, and the top field are displayed in that order, or the bottom field, If it is determined that 6 indicates that the top field and the bottom field are to be displayed in that order, the flow advances to step S33, and the I / P converter 122 recognizes that the picture of interest is a picture of progressive scanning, and proceeds to step S34. Proceed.

스텝 S34에서는, I/P 변환부(122)는, 순차 주사의 픽처인 주목 픽처를, 그대로 프레임 픽처로서 표시 화상 출력 버퍼(123)에 공급하여 기억시키고, 스텝 S35로 진행한다.In step S34, the I / P conversion unit 122 supplies the picture of interest, which is a picture of sequential scanning, as it is to the display image output buffer 123 as a frame picture, and proceeds to step S35.

스텝 S35에서는, I/P 변환부(122)는, 주목 픽처의 pic_struct에 대응한 횟수만큼, 직전의 스텝 S34에서 기억한 프레임 픽처를 반복해 판독하도록, 표시 화상 출력 버퍼(123)를 제어하고, 이에 따라, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처가, I/P 변환부(122)의 제어에 따른 횟수만큼 반복되어 판독되어 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에 공급(출력)된다.In step S35, the I / P conversion unit 122 controls the display image output buffer 123 to repeatedly read the frame picture stored in the previous step S34 by the number of times corresponding to the pic_struct of the picture of interest. As a result, the frame picture stored in the display image output buffer 123 is repeatedly read as many times as the number of times under the control of the I / P converter 122, and the frame frame size converting unit 124 is read from the display image output buffer 123. ) Is supplied (output).

즉, 현재, 주목 픽처의 pic_struct는, 0, 5, 또는 6 중 어느 하나이며, 주목 픽처의 pic_struct가 O인 경우, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처는 1회만 판독되어 화상틀 사이즈 변환부(124)에 공급된다. 또한, 주목 픽처의 pic_struct가 5 또는 6인 경우, 어떤 경우에도, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처는 3회만 반복되어 판독되어 화상틀 사이즈 변환부(124)에 공급된다.That is, at present, the pic_struct of the picture of interest is any one of 0, 5, or 6, and if the pic_struct of the picture of interest is O, the frame picture stored in the display image output buffer 123 is read only once and the picture frame size is The converter 124 is supplied. In addition, when the pic_struct of the picture of interest is 5 or 6, in any case, the frame picture stored in the display image output buffer 123 is repeatedly read only three times and supplied to the picture frame size conversion unit 124.

또한, 부호화 데이터에는, 도 9의 화상 부호화 장치(101)에서 부호화된 NTSC 방식 픽처의 필드 레이트의 레이트 정보가 포함되어 있어, 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에의 프레임 픽처의 출력은, 레이트 정보가 나타내는 레이트로 행해진다. 따라서, 여기에서는, NTSC 방식의 필드 레이트, 즉, 디스플레이(103)의 표시 레이트이기도 한 60㎐로, 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에의 프레임 픽처의 출력이 행해진다.In addition, the encoded data includes the rate information of the field rate of the NTSC system picture coded by the picture coding apparatus 101 of FIG. 9, and the frame from the display image output buffer 123 to the picture frame size converting section 124 is provided. The picture is output at the rate indicated by the rate information. Therefore, here, the frame picture is output from the display image output buffer 123 to the picture frame size converting unit 124 at the NTSC field rate, that is, 60 Hz, which is also the display rate of the display 103. .

스텝 S35의 처리 후에는, 스텝 S36으로 진행하여, 화상틀 사이즈 변환부(124)는, 표시 화상 출력 버퍼(123)로부터의 프레임 픽처의 화상틀 사이즈를 변환하고, D/A 변환부(29)를 통해, 디스플레이(103)(도 6)에 공급하여 표시시킨다. 그리고, 스텝 S36으로부터 S31로 돌아와, 화면 재배열 버퍼(121)로부터 I/P 변환부(122)에 대해 다음으로 공급되는 픽처가 주목 픽처로 여겨져, 그 주목 픽처에 대하여, 이하, 마찬가지의 처리가 행해진다.After the process of step S35, it progresses to step S36 and the image frame size conversion part 124 converts the image frame size of the frame picture from the display image output buffer 123, and the D / A conversion part 29 Through the display 103 (FIG. 6). Then, returning from step S36 to S31, the next picture supplied from the screen rearrangement buffer 121 to the I / P converter 122 is regarded as the picture of interest, and the same processing is performed in the following with respect to the picture of interest. Is done.

한편, 스텝 S32에서, 주목 픽처의 pic_struct가, 그 주목 픽처에 의해, 탑 필드 또는 보텀 필드를 표시하는 것을 각각 지시하는 1 또는 2라고 판정된 경우, 스텝 S37로 진행하고, I/P 변환부(122)는, 주목 픽처가 비월 주사의 픽처라고 인식하여, 스텝 S38로 진행한다.On the other hand, if it is determined in step S32 that the pic_struct of the picture of interest is 1 or 2 indicating that the top picture or the bottom field is indicated by the picture of interest, respectively, the flow advances to step S37, where the I / P converter ( 122 recognizes that the picture of interest is a picture of interlaced scanning, and proceeds to step S38.

스텝 S38에서는, I/P 변환부(122)는, 비월 주사의 픽처인 주목 픽처를 필드 보간함으로써, 프레임 픽처를 생성하고, 표시 화상 출력 버퍼(123)에 공급하여 기억시키고, 스텝 S39로 진행한다.In step S38, the I / P conversion unit 122 generates a frame picture by field interpolating a picture of interest that is a picture of interlaced scanning, supplies it to the display image output buffer 123, stores it, and proceeds to step S39. .

즉, 현재, 주목 픽처의 pic_struct는, 1 또는 2 중 어느 하나이며, 따라서, 비월 주사의 픽처인 주목 픽처는, 필드 픽처이다. I/P 변환부(122)는, 필드 픽처인 주목 픽처를 필드 보간함으로써, 프레임 픽처를 생성하고(이른바, 인터레이스→프로그레시브 변환을 행하고), 표시 화상 출력 버퍼(123)에 공급하여 기억시킨다. 또한, 필드 보간의 방법은, 특별히 한정되는 것은 아니다.In other words, the pic_struct of the picture of interest is either 1 or 2, and therefore the picture of interest, which is a picture of interlaced scanning, is a field picture. The I / P converter 122 generates a frame picture (so-called interlace-to-progressive conversion) by field interpolating a picture of interest, which is a field picture, and supplies it to the display image output buffer 123 for storage. In addition, the method of field interpolation is not specifically limited.

스텝 S39에서는, I/P 변환부(122)는, 직전의 스텝 S38에서 기억한 프레임 픽처를 1회만 판독하도록, 표시 화상 출력 버퍼(123)를 제어하고, 이에 따라, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처가, I/P 변환부(122)의 제어에 따라 1회만 판독되어, 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에 공급(출력)된다.In step S39, the I / P conversion unit 122 controls the display image output buffer 123 to read the frame picture stored in the previous step S38 only once, and thereby the display image output buffer 123. The picture stored in the frame is read only once under the control of the I / P conversion section 122, and is supplied (outputted) from the display image output buffer 123 to the picture frame size conversion section 124.

스텝 S39의 처리 후에는, 스텝 S36으로 진행하여, 화상틀 사이즈 변환부(124)는, 표시 화상 출력 버퍼(123)로부터의 프레임 픽처의 화상틀 사이즈를 변환하여, D/A 변환부(29)를 통해, 디스플레이(103)(도 6)에 공급하고 표시시킨다. 그리고, 스텝 S36으로부터 S31로 돌아와, 화면 재배열 버퍼(121)로부터 I/P 변환부(122)에 대해 다음으로 공급되는 픽처가 주목 픽처로 여겨져, 그 주목 픽처에 대하여, 이하, 마찬가지의 처리가 행해진다.After the process of step S39, it progresses to step S36 and the image frame size conversion part 124 converts the image frame size of the frame picture from the display image output buffer 123, and the D / A conversion part 29 Through the display 103 (FIG. 6). Then, returning from step S36 to S31, the next picture supplied from the screen rearrangement buffer 121 to the I / P converter 122 is regarded as the picture of interest, and the same processing is performed in the following with respect to the picture of interest. Is done.

한편, 스텝 S32에서, 주목 픽처의 pic_struct가, 그 주목 픽처에 의해, 탑 필드와 보텀 필드를 그 순으로 표시하는 것을 지시하는 3이거나, 또는 보텀 필드와 탑 필드를 그 순으로 표시하는 것을 지시하는 4라고 판정된 경우, 스텝 S40으로 진행하여, I/P 변환부(122)는, 주목 픽처의 ct_type(주사 플래그)에 기초하여, 주목 픽처가 순차 주사 또는 비월 주사 중 어느 픽처인지를 판정한다.On the other hand, in step S32, the pic_struct of the picture of interest is 3 indicating that the top field and the bottom field are displayed in that order by the picture of interest, or indicating that the bottom field and the top field are displayed in that order. When it is determined as 4, the process proceeds to step S40, and the I / P conversion unit 122 determines whether the picture of interest is a picture of sequential scanning or interlaced scanning based on the ct_type (scanning flag) of the picture of interest.

스텝 S40에서, 주목 픽처가 순차 주사의 픽처로 판정된 경우, 즉, 주목 픽처의 ct_type이 「순차 주사」를 나타내고 있는 경우, 스텝 S33으로 진행하여, I/P 변환부(122)는, 전술한 바와 같이, 주목 픽처가 순차 주사의 픽처라고 인식하고, 스텝 S34로 진행한다.In step S40, when the picture of interest is determined to be a picture of sequential scanning, that is, when the ct_type of the picture of interest indicates "sequential scanning," the process proceeds to step S33, and the I / P conversion unit 122 described above is performed. As described above, the picture of interest is recognized as a picture of progressive scanning, and the flow proceeds to step S34.

스텝 S34에서는, I/P 변환부(122)는, 순차 주사의 픽처인 주목 픽처를, 그대로 프레임 픽처로서 표시 화상 출력 버퍼(123)에 공급하여 기억시키고, 스텝 S35로 진행한다.In step S34, the I / P conversion unit 122 supplies the picture of interest, which is a picture of sequential scanning, as it is to the display image output buffer 123 as a frame picture, and proceeds to step S35.

스텝 S35에서는, I/P 변환부(122)는, 주목 픽처의 pic_struct에 대응한 횟수만큼, 직전의 스텝 S34에서 기억한 프레임 픽처를 반복하여 판독하도록, 표시 화상 출력 버퍼(123)를 제어하고, 이에 따라, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처가, I/P 변환부(122)의 제어에 따른 횟수만큼 반복하여 판독되어 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에 공급(출력)된다.In step S35, the I / P conversion unit 122 controls the display image output buffer 123 to repeatedly read the frame picture stored in the previous step S34, the number of times corresponding to the pic_struct of the picture of interest. Accordingly, the frame picture stored in the display image output buffer 123 is repeatedly read out as many times as the number of times under the control of the I / P converter 122, and the frame size converting unit 124 from the display image output buffer 123 is read. ) Is supplied (output).

즉, 현재, 주목 픽처의 pic_struct는, 3 또는 4 중 어느 하나이며, 어느 값이라도, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처는 2회만 반복하여 판독되고, 화상틀 사이즈 변환부(124)에 공급된다.That is, at present, the pic_struct of the picture of interest is either 3 or 4, and the frame picture stored in the display image output buffer 123 is repeatedly read only two times at any value, and the picture frame size conversion unit 124 Supplied to.

스텝 S35의 처리 후에는, 스텝 S36으로 진행하여, 화상틀 사이즈 변환부(124)는, 표시 화상 출력 버퍼(123)로부터의 프레임 픽처의 화상틀 사이즈를 변환하고, D/A 변환부(29)를 통해 디스플레이(103)(도 6)에 공급하여 표시시킨다. 그리고, 스텝 S36으로부터 S31로 돌아와, 다음의 주목 픽처에 대하여, 이하, 마찬가지의 처리가 행해진다.After the process of step S35, it progresses to step S36 and the image frame size conversion part 124 converts the image frame size of the frame picture from the display image output buffer 123, and the D / A conversion part 29 The display 103 is supplied to and displayed on the display 103 (FIG. 6). Then, returning to step S31 from step S36, the same processing is performed on the next picture of interest.

한편, 스텝 S40에서, 주목 픽처가 비월 주사의 픽처라고 판정된 경우, 즉, 주목 픽처의 ct_type이 「비월 주사」를 나타내고 있는 경우, 스텝 S37로 진행하여, I/P 변환부(122)는, 전술한 바와 같이, 주목 픽처가 비월 주사의 픽처라고 인식하고, 스텝 S38로 진행한다.On the other hand, when it is determined in step S40 that the picture of interest is the picture for interlaced scanning, that is, when the ct_type of the picture of interest indicates "interlaced scanning", the process proceeds to step S37, where the I / P converter 122 As described above, the picture of interest is recognized as a picture of interlaced scanning, and the flow advances to step S38.

스텝 S38에서는, I/P 변환부(122)는, 비월 주사의 픽처인 주목 픽처를 필드 보간함으로써, 프레임 픽처를 생성하고, 표시 화상 출력 버퍼(123)에 공급하여 기억시키고, 스텝 S39로 진행한다.In step S38, the I / P conversion unit 122 generates a frame picture by field interpolating a picture of interest that is a picture of interlaced scanning, supplies it to the display image output buffer 123, stores it, and proceeds to step S39. .

즉, 현재, 주목 픽처의 pic_struct는 3 또는 4 중 어느 하나이므로, 비월 주사의 픽처인 주목 픽처는 프레임 픽처이며, 이와 같은 비월 주사의 프레임 픽처에 의하면, 본래, 탑 필드와 보텀 필드가 차례로 표시되고, 또는 보텀 필드와 탑 필드가 차례로 표시된다. 한편, 본 실시의 형태에서는, 디스플레이(103)(도 6)는, 순차 주사의 픽처를 표시하는 디스플레이이다.That is, since the pic_struct of the picture of interest is either 3 or 4, the picture of interest, which is the picture of interlaced scanning, is a frame picture. According to such a frame picture of interlaced scanning, the top field and the bottom field are originally displayed one after another. , Or bottom field and top field are displayed in sequence. In addition, in this embodiment, the display 103 (FIG. 6) is a display which displays the pictures of progressive scanning.

따라서, I/P 변환부(122)는, 프레임 픽처인 주목 픽처의 탑 필드와 보텀 필드 각각을 필드 보간함으로써, 프레임 픽처를 생성한다. 그리고, I/P 변환부(122)는, 주목 픽처의 pic_struct가 3인 경우에는, 탑 필드로부터 생성한 프레임 픽처와 보텀 필드로부터 생성한 프레임 픽처를, 차례로, 표시 화상 출력 버퍼(123)에 공급하여 기억시킨다. 또한, I/P 변환부(122)는, 주목 픽처의 pic_struct가 4인 경우에는, 보텀 필드로부터 생성한 프레임 픽처와 탑 필드로부터 생성한 프레임 픽처를, 차례로, 표시 화상 출력 버퍼(123)에 공급하여 기억시킨다.Therefore, the I / P converter 122 interpolates each of the top field and the bottom field of the picture of interest, which is a frame picture, to generate a frame picture. When the pic_struct of the picture of interest is 3, the I / P converter 122 sequentially supplies the frame picture generated from the top field and the frame picture generated from the bottom field to the display image output buffer 123. To remember. In addition, when the pic_struct of the picture of interest is 4, the I / P converter 122 sequentially supplies the frame picture generated from the bottom field and the frame picture generated from the top field to the display image output buffer 123. To remember.

스텝 S39에서는, I/P 변환부(122)는, 직전의 스텝 S38에서 기억한 2개의 프레임 픽처 각각을 1회만 판독하도록, 표시 화상 출력 버퍼(123)를 제어하고, 이에 따라, 표시 화상 출력 버퍼(123)에 기억된 2개의 프레임 픽처가, I/P 변환부(122)의 제어에 따라 1회씩 그 기억 순서로 판독되어, 표시 화상 출력 버퍼(123)로부터 화상틀 사이즈 변환부(124)에 공급(출력)된다.In step S39, the I / P conversion unit 122 controls the display image output buffer 123 to read each of the two frame pictures stored in the previous step S38 only once, and thereby the display image output buffer. The two frame pictures stored in the 123 are read out once in the storage order under the control of the I / P conversion unit 122, and are read from the display image output buffer 123 to the picture frame size conversion unit 124. Supplied (output).

스텝 S39의 처리 후에는, 스텝 S36으로 진행하여, 화상틀 사이즈 변환부(124)는, 표시 화상 출력 버퍼(123)로부터의 프레임 픽처의 화상틀 사이즈를 변환하고, D/A 변환부(29)를 통해, 디스플레이(103)(도 6)에 공급하여 표시시킨다. 그리고, 스텝 S36으로부터 S31로 돌아와, 화면 재배열 버퍼(121)로부터 I/P 변환부(122)에 대해 다음으로 공급되는 픽처가 주목 픽처로 여겨져, 그 주목 픽처에 대 하여, 이하, 마찬가지의 처리가 행해진다.After the process of step S39, it progresses to step S36 and the image frame size conversion part 124 converts the image frame size of the frame picture from the display image output buffer 123, and the D / A conversion part 29 Through the display 103 (FIG. 6). Then, returning from step S36 to S31, the next picture supplied from the screen rearrangement buffer 121 to the I / P converter 122 is regarded as the picture of interest, and the same processing is described below for the picture of interest. Is performed.

이상과 같이, 화상 복호 장치(102)에서는, I/P 변환부(122)에서 픽처의 ct_type과 pic_struct에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하여, 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하고, 표시 화상 출력 버퍼(123)에 출력하여 기억시키고, 픽처가 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 표시 화상 출력 버퍼(123)에 출력하여 기억시킨다. 또한, 화상 복호 장치(102)에서는, 표시 화상 출력 버퍼(123)에 기억된 프레임 픽처가 pic_struct에 대응한 횟수만큼 반복하여 출력된다.As described above, the image decoding apparatus 102 recognizes which picture is interlaced or sequential scanning based on the ct_type and pic_struct of the picture in the I / P conversion unit 122, so that the picture is obtained. When it is recognized as a picture for interlaced scanning, the frame is generated by field interpolation, the frame picture is generated, output to the display image output buffer 123, and stored. When the picture is recognized as a picture for progressive scanning, the picture is stored. The image is output to the display image output buffer 123 and stored as a frame picture. In the image decoding device 102, the frame picture stored in the display image output buffer 123 is repeatedly output as many times as the number corresponding to pic_struct.

따라서, 순차 주사 픽처의 pic_struct가 3 또는 4인 경우에, 그 순차 주사의 픽처가 탑 필드와 보텀 필드로 분리되어, 비월 주사되는 필드로서 출력됨으로써, 1 필드분의 수직 해상도가 저하되는 것을 방지할 수 있다.Therefore, when the pic_struct of the progressive scan picture is 3 or 4, the pictures of the progressive scan are separated into a top field and a bottom field and output as a field to be interlaced to prevent the vertical resolution of one field from being lowered. Can be.

여기에서, H.264/AVC에서의 pic_struct의 O 내지 8의 정의(도 7) 가운데, 3과 4는, 비월 주사의 디스플레이에서, 필드의 시간 위상차 표시를 행하는 것을 의식한 것으로서, 순차 주사의 디스플레이에서 어떻게 표시를 행할지는 특정되어 있지 않다.Here, among the definitions of O to 8 of the pic_struct in Fig. 7 (FIG. 7) in H.264 / AVC, 3 and 4 are conscious of performing the time phase difference display of the field in the display of interlaced scanning, How to display is not specified.

이에 대하여, 화상 복호 장치(102)에서는, pic_struct가 3 또는 4인 비월 주사의 프레임 픽처에 대해서는, 그 탑 필드와 보텀 필드 각각으로부터 프레임 픽처가 생성되고, 그 2개의 프레임 픽처 각각이, 1회만, 디스플레이(103)에 공급된다. 또한, pic_struct가 3 또는 4인 순차 주사의 프레임 픽처에 대해서는, 그 프레임 픽처가 2회 반복하여 디스플레이(103)에 공급된다. 따라서, 순차 주사의 디스플레이인 디스플레이(103)에 있어서는, 화상 복호 장치(102)로부터 전술한 바와 같이 하여 공급되는 프레임 픽처를 표시할 수 있다.In contrast, in the image decoding apparatus 102, for interlaced frame pictures with a pic_struct of 3 or 4, a frame picture is generated from each of the top field and the bottom field, and each of the two frame pictures is generated only once. Supplied to the display 103. In addition, for a frame picture of sequential scanning having a pic_struct of 3 or 4, the frame picture is repeatedly supplied twice to the display 103. Therefore, in the display 103 which is a display of progressive scanning, the frame picture supplied as mentioned above from the image decoding apparatus 102 can be displayed.

또한, 도 11의 화상 복호 장치(102)에서, 화상틀 사이즈 변환부(124)에 의한 화상틀 사이즈의 변환의 처리는, I/P 변환부(122)에서 행하는 것이 가능하다. 이 경우, 화상틀 사이즈 변환 장치(124)를 설치하지 않고 화상 복호 장치(102)를 구성할 수 있어, 처리의 간소화를 더욱 도모할 수 있다.In the image decoding device 102 of FIG. 11, the I / P conversion unit 122 can perform the conversion of the image frame size by the image frame size conversion unit 124. In this case, the image decoding device 102 can be configured without providing the image frame size conversion device 124, and the processing can be further simplified.

다음으로, 도 13을 참조하여, 도 9의 화상 부호화 장치(101)와 도 11의 화상 복호 장치(102)의 처리에 대해 더 설명한다.Next, with reference to FIG. 13, the process of the image coding apparatus 101 of FIG. 9 and the image decoding apparatus 102 of FIG. 11 is further demonstrated.

예를 들면, 프레임 레이트가 24㎐인 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는, 프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처가, 도 13의 위로부터 1번째에 도시하는 바와 같이 편집되어, 부호화 대상으로서 화상 부호화 장치(101)에 공급되었다고 한다.For example, an NTSC type picture having a frame rate of 30 Hz (field rate of 60 Hz), obtained by 2-3 pull-down of a picture of a movie film having a frame rate of 24 Hz, is shown first from the top of FIG. 13. It is assumed that it is edited as described above and supplied to the image encoding apparatus 101 as an encoding target.

여기에서, 도 13의 위로부터 1번째의 NTSC 방식의 픽처인 필드 픽처 중 왼쪽으로부터 m번째를, 제m 필드라고 한다.Here, the mth from the left of the field pictures which are the pictures of the first NTSC system from the top of FIG. 13 is called the mth field.

도 13의 위로부터 1번째의 NTSC 방식의 필드 픽처에서는, 그 제2 필드와 제3 필드 사이에 컷 편집이 행해지고 있으며, 또한, 그 제4 필드와 제5 필드 사이에도 컷 편집이 행해지고 있다.In the field picture of the first NTSC system from the top of FIG. 13, cut editing is performed between the second field and the third field, and cut editing is also performed between the fourth field and the fifth field.

현재, 도 9의 화상 부호화 장치(101)의 2-3 검출부(2)(및 식별부(111))에서, 제1 필드 및 제2 필드가 1 프레임의 순차 주사의 픽처로, 제3 필드 및 제4 필드가 비월 주사의 픽처로, 제5 내지 제7 필드가 1 프레임의 순차 주사의 픽처로, 각각 판정된 것으로 한다.Currently, in the 2-3 detection unit 2 (and the identification unit 111) of the image encoding apparatus 101 of FIG. 9, the first field and the second field are pictures of sequential scanning of one frame, and the third field and It is assumed that the fourth field is a picture of interlaced scanning, and the fifth to seventh fields are pictures of a sequential scan of one frame.

화상 부호화 장치(101)에서는, 순차 주사의 픽처는 프레임 픽처로서 부호화되고, 비월 주사의 픽처는 프레임 픽처 또는 필드 픽처 가운데, 부호화 효율이 높은 쪽의 픽처로서 부호화된다.In the image encoding apparatus 101, a picture of sequential scanning is encoded as a frame picture, and a picture of interlaced scanning is encoded as a picture having a higher coding efficiency among frame pictures or field pictures.

따라서, 순차 주사의 픽처인 제1 필드 및 제2 필드는, 도 13의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다. 마찬가지로, 순차 주사의 픽처인 제5 내지 제7 필드도, 도 13의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다.Therefore, the first field and the second field, which are pictures of progressive scanning, are encoded as one frame picture, as shown second from the top of FIG. Similarly, the fifth to seventh fields, which are pictures of sequential scanning, are also encoded as one frame picture, as shown second from the top of FIG. 13.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처와, 제5 내지 제7 필드를 1 프레임으로 한 프레임 픽처의 주사 플래그로서의 ct_type에, 모두, 「순차 주사」가 세트된다.In the identification unit 111 of the image encoding apparatus 101, ct_type as a scan flag of a frame picture having the first field and the second field as one frame and a frame picture having the fifth to seventh fields as one frame. In all, "sequential scanning" is set.

또한, 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 의해, 제1 필드와 제2 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다.In addition, since the identification unit 111 needs to display two fields of the first field and the second field with a frame picture having the first field and the second field as one frame, the pic_struct is a frame picture. Is set to 3 or 4 of 0, 3 to 6 (FIG. 7), which can be set to the pic_struct of.

또한, 식별부(111)에서는, 제5 내지 제7 필드를 1 프레임으로 한 프레임 픽처에 의해, 제5 내지 제7 필드의 3 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 5 또는 6로 세트된다.In addition, since the identification unit 111 needs to display three fields of the fifth to seventh fields with a frame picture having the fifth to seventh fields as one frame, the pic_struct is a pic_struct of the frame picture. Is set to 5 or 6 of 0, 3 to 6 (FIG. 7) which can be set to.

한편, 비월 주사의 픽처인 제3 및 제4 필드는, 프레임 픽처 또는 필드 픽처 중 부호화 효율이 높은 쪽의 픽처로서 부호화되지만, 현재, 예를 들면, 필드 픽처의 부호화 효율이 높은 것으로 하면, 도 13의 위로부터 2번째에 도시하는 바와 같이, 필드 픽처로서 부호화된다.On the other hand, although the third and fourth fields which are interlaced pictures are encoded as the picture having the higher coding efficiency among the frame picture or the field picture, if the coding efficiency of the field picture is high, for example, Fig. 13 As shown in the second from the top, the video is encoded as a field picture.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제3 필드의 필드 픽처와, 제4 필드의 필드 픽처의 주사 플래그로서의 ct_type에, 모두, 「비월 주사」가 세트된다.In the identification unit 111 of the picture coding apparatus 101, "interlaced scanning" is set to both the field picture of the third field and ct_type as the scanning flag of the field picture of the fourth field.

또한, 식별부(111)에서는, 제3 필드의 필드 픽처에 의해, 제3 필드의 1 필드를 표시할 필요가 있기 때문에, 그 pic_struct는 필드 픽처의 pic_struct로 세트될 수 있는 1 또는 2(도 7)로 세트된다. 마찬가지로, 제4 필드의 필드 픽처에 의해서도, 제4 필드의 1 필드를 표시할 필요가 있기 때문에, 그 pic_struct는 필드 픽처의 pic_struct로 세트될 수 있는 1 또는 2(도 7)로 세트된다.In addition, since the identification unit 111 needs to display one field of the third field by the field picture of the third field, the pic_struct can be set to 1 or 2 (Fig. 7) that can be set as the pic_struct of the field picture. Set to). Similarly, since the field picture of the fourth field needs to display one field of the fourth field, the pic_struct is set to 1 or 2 (Fig. 7) which can be set to the pic_struct of the field picture.

이 경우, 도 11의 화상 복호 장치(102)에서는, 도 13의 위로부터 3번째에 도시하는 바와 같이, 픽처가 복호된다.In this case, in the image decoding device 102 of FIG. 11, as shown in the third from the top of FIG. 13, the picture is decoded.

즉, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 대해서는, pic_struct에 3 또는 4가 세트되어 있지만, ct_type에 「순차 주사」가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제1 필드 및 제2 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 3 또는 4가 세트되어 있는 pic_struct에 대응하여 2회만 반복하여 출력되어, 디스플레이(103)(도 6)에 표시된다.That is, 3 or 4 is set in the pic_struct for the frame picture having the first field and the second field as one frame, but since "sequential scanning" is set in the ct_type, the image decoding apparatus 102 uses FIG. 12. As described in the flowchart of FIG. 2, the frame pictures of sequential scanning in which the first field and the second field are set to one frame are repeatedly outputted only twice in correspondence to the pic_struct in which 3 or 4 are set, and the display 103 ( 6).

또한, 제3 필드의 필드 픽처에 대해서는, pic_struct에 1 또는 2가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제3 필드의 필드 픽처를 필드 보간함으로써 프레임 픽처가 생성된다. 그리고, 그 프레임 픽처가, 1회만, 디스플레이(103)에 출력되어 표시된다.In addition, since 1 or 2 is set in the pic_struct for the field picture of the third field, the image decoding apparatus 102 performs frame interpolation by field interpolating the field picture of the third field as described in the flowchart of FIG. 12. The picture is generated. The frame picture is output and displayed on the display 103 only once.

제4 필드의 필드 픽처에 대해서도, 제3 필드의 필드 픽처와 마찬가지로, pic_struct에 1 또는 2가 세트되어 있으므로, 화상 복호 장치(102)에서는, 제4 필드의 필드 픽처를 필드 보간함으로써 얻어지는 프레임 픽처가, 1회만, 디스플레이(103)에 출력되어 표시된다.Similarly to the field picture of the third field, 1 or 2 is set in the pic_struct with respect to the field picture of the fourth field. Therefore, in the image decoding apparatus 102, the frame picture obtained by field interpolating the field picture of the fourth field is obtained. Only once, it is outputted and displayed on the display 103.

그리고, 제5 내지 제7 필드를 1 프레임으로 한 프레임 픽처에 대해서는, pic_struct에 5 또는 6이 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제5 내지 제7 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 5 또는 6이 세트되어 있는 pic_struct에 대응하여 3회만 반복하여 출력되어 디스플레이(103)(도 6)에 표시된다.Since a frame picture having the fifth to seventh fields as one frame is set to 5 or 6 in the pic_struct, the image decoding apparatus 102, as explained in the flowchart of FIG. A frame picture of a sequential scan having seven fields as one frame is repeatedly output three times corresponding to the pic_struct in which 5 or 6 is set and displayed on the display 103 (Fig. 6).

또한, 비월 주사의 픽처인 제3 및 제4 필드에 대하여, 프레임 픽처 또는 필드 픽처 가운데, 예를 들면, 프레임 픽처로서 부호화를 행한 편이 부호화 효율이 높은 경우에는, 화상 부호화 장치(101)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처가 부호화된다.In addition, when the encoding efficiency is higher among the frame picture or the field picture, for example, as a frame picture, for the third and fourth fields that are interlaced pictures, the image encoding apparatus 101 generates a first image. The frame picture consisting of the third and fourth fields is encoded.

이 경우, 화상 부호화 장치(101)의 식별부(111)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처의 주사 플래그로서의 ct_type에, 「비월 주사」가 세트된다.In this case, in the identification part 111 of the image coding apparatus 101, "interlaced scanning" is set to ct_type as a scanning flag of a frame picture consisting of the third and fourth fields.

또한, 식별부(111)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처에 의해, 제3 필드와 제4 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다(도 13의 위로부터 2번째).In addition, since the identification unit 111 needs to display two fields of the third field and the fourth field by the frame picture composed of the third and fourth fields, the pic_struct is set to the pic_struct of the frame picture. May be set to 3 or 4 of 0, 3 to 6 (FIG. 7) (second from top of FIG. 13).

이 경우, 도 11의 화상 복호 장치(102)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처는, 다음과 같이 복호된다. 즉, 제3 및 제4 필드로 이루어지는 프레임 픽처에 대해서는, pic_struct에 3 또는 4가 세트되어 있지만, ct_type에 「비월 주사」가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제3 및 제4 필드로 이루어지는 프레임 픽처의 탑 필드와 보텀 필드의 각각을 필드 보간함으로써 2개의 프레임 픽처가 생성된다. 그리고, 그 2개의 프레임 픽처가, 각각 1회만, 디스플레이(103)에 출력되어 표시된다.In this case, in the image decoding device 102 of FIG. 11, the frame picture consisting of the third and fourth fields is decoded as follows. That is, 3 or 4 is set in the pic_struct for the frame picture composed of the third and fourth fields, but since "interlaced scanning" is set in ct_type, the image decoding apparatus 102 uses the flowchart of FIG. As described, two frame pictures are generated by field interpolating each of the top field and the bottom field of the frame picture consisting of the third and fourth fields. The two frame pictures are output and displayed on the display 103 only once, respectively.

이상에 의해, 디스플레이(103)에서는, 프레임 레이트가 60㎐인 픽처가 순차 주사에 의해 표시된다.As described above, in the display 103, pictures having a frame rate of 60 Hz are displayed by sequential scanning.

또한, 도 5에서 설명한 바와 같이, 2-3 검출부(2)에서는(따라서, 식별부(111)에서도), 임의의 픽처가, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정되는 경우가 있을 수 있다. 이 경우, 화상 부호화 장치(101)에서는, 비월 주사의 픽처라고 하는 판정 결과와, 순차 주사의 픽처라고 하는 판정 결과 가운데 어느 하나를 우선시키도록 할 수 있다.In addition, as described with reference to FIG. 5, in the 2-3 detection unit 2 (and therefore also in the identification unit 111), when an arbitrary picture is repeatedly determined to be an interlaced picture or a sequential scanning picture. There can be. In this case, the image encoding apparatus 101 can give priority to either of a determination result called a picture of interlaced scanning and a determination result called a picture of sequential scanning.

즉, 도 14는, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정된 경우에, 비월 주사의 픽처라고 하는 판정 결과를 우선시킬 때의 화상 부호화 장치(101)와 화상 복호 장치(102)의 처리를 설명하는 도면이다.That is, FIG. 14 shows the picture coding apparatus 101 and the picture decoding apparatus 102 when giving priority to a determination result of a picture of interlacing scanning when it is determined that the picture of interlacing scanning is both a picture of interlaced scanning and a picture of progressive scanning. It is a figure explaining the process of).

예를 들면, 프레임 레이트가 24㎐인 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는, 프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처가, 도 14의 위로부터 1번째에 도시하는 바와 같이 편집되어, 부호화 대상으로서 화상 부호화 장치(101)에 공급되었다고 한다.For example, an NTSC picture having a frame rate of 30 Hz (field rate of 60 Hz), obtained by 2-3 pull-down of a picture of a movie film having a frame rate of 24 Hz, is shown first from the top of FIG. It is assumed that it is edited as described above and supplied to the image encoding apparatus 101 as an encoding target.

여기에서, 도 13에서의 경우와 마찬가지로, 도 14의 위로부터 1번째의 NTSC 방식의 픽처인 필드 픽처 가운데 왼쪽으로부터 m번째를 제m 필드라고 한다.Here, as in the case of FIG. 13, the m th field from the left of the field picture, which is the picture of the first NTSC system from the top of FIG. 14, is referred to as the m th field.

현재, 화상 부호화 장치(101)의 2-3 검출부(2)(및 식별부(111))에서, 제1 필드 및 제2 필드가 1 프레임의 순차 주사의 픽처로, 제3 필드 및 제4 필드가 비월 주사의 픽처로, 제4 내지 제6 필드가 1 프레임의 순차 주사의 픽처로, 각각 판정된 것으로 한다.Currently, in the 2-3 detection unit 2 (and the identification unit 111) of the image encoding apparatus 101, the first field and the second field are pictures of sequential scanning of one frame, and the third field and the fourth field. It is assumed that the pictures of interlaced scanning are determined, and the fourth to sixth fields are respectively determined to be pictures of sequential scanning of one frame.

이 경우, 제4 필드가 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정되고 있다. 도 14의 실시의 형태에서는, 중복 판정된 경우에, 비월 주사의 픽처라고 하는 판정 결과가 우선되어, 결국, 제1 필드 및 제2 필드가 1 프레임의 순차 주사의 픽처로, 제3 필드 및 제4 필드가 비월 주사의 픽처로, 제5 및 제6 필드가 1 프레임의 순차 주사의 픽처로, 각각 판정된다.In this case, it is determined that the fourth field is both a picture of interlaced scanning and a picture of sequential scanning. In the embodiment of Fig. 14, in the case of overlapping determination, a determination result of a picture of interlaced scanning is given priority, and eventually, the first field and the second field are pictures of sequential scanning of one frame, and the third field and the first are made. Four fields are determined as pictures for interlaced scanning, and fifth and sixth fields as pictures for sequential scanning in one frame, respectively.

화상 부호화 장치(101)에서는, 순차 주사의 픽처인 제1 필드 및 제2 필드는, 도 14의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다. 마찬가지로, 순차 주사의 픽처인 제5 및 제6 필드도, 도 14의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다.In the image encoding apparatus 101, the first field and the second field which are pictures of progressive scanning are encoded as one frame picture, as shown second from the top of FIG. Similarly, the fifth and sixth fields, which are pictures of progressive scanning, are also encoded as one frame picture, as shown second from the top of FIG.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처와, 제5 및 제6 필드를 1 프레임으로 한 프레임 픽처의 주사 플래그로서의 ct_type에, 모두, 「순차 주사」가 세트된다.In the identification unit 111 of the image encoding apparatus 101, ct_type as a scan flag of a frame picture in which the first field and the second field are in one frame, and a frame picture in which the fifth and sixth fields are in one frame. In all, "sequential scanning" is set.

또한, 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 의해, 제1 필드와 제2 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다.In addition, since the identification unit 111 needs to display two fields of the first field and the second field with a frame picture having the first field and the second field as one frame, the pic_struct is a frame picture. Is set to 3 or 4 of 0, 3 to 6 (FIG. 7), which can be set to the pic_struct of.

또한, 식별부(111)에서는, 제5 및 제6 필드를 1 프레임으로 한 프레임 픽처에 의해, 제5 및 제6 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct도, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다.In addition, since the identification unit 111 needs to display two fields of the fifth and sixth fields with a frame picture having the fifth and sixth fields as one frame, the pic_struct is also the pic_struct of the frame picture. 3 or 4 of 0, 3 to 6 (FIG. 7), which can be set to.

한편, 비월 주사의 픽처인 제3 및 제4 필드는, 프레임 픽처 또는 필드 픽처 중 부호화 효율이 높은 쪽의 픽처로서 부호화되지만, 현재, 예를 들면, 필드 픽처의 부호화 효율이 높은 것으로 하면, 도 14의 위로부터 2번째에 도시하는 바와 같이, 필드 픽처로서 부호화된다.On the other hand, although the third and fourth fields which are interlaced pictures are encoded as the picture with the higher coding efficiency among the frame picture or the field picture, if the coding efficiency of the field picture is high, for example, Fig. 14 As shown in the second from the top, the video is encoded as a field picture.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제3 필드의 필드 픽처와 제4 필드의 필드 픽처의 주사 플래그로서의 ct_type에, 모두, 「비월 주사」가 세트된다.In the identification unit 111 of the image encoding apparatus 101, "interlaced scanning" is set to both ct_type as a scanning flag of the field picture of the third field and the field picture of the fourth field.

또한, 식별부(111)에서는, 제3 필드의 필드 픽처에 의해, 제3 필드의 1 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 필드 픽처의 pic_struct로 세트 될 수 있는 1 또는 2(도 7)로 세트된다. 마찬가지로, 제4 필드의 필드 픽처에 의해서도, 제4 필드의 1 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 필드 픽처의 pic_struct로 세트될 수 있는 1 또는 2(도 7)로 세트된다.In addition, since the identification unit 111 needs to display one field of the third field by the field picture of the third field, the pic_struct can be set to 1 or 2 (Fig. 7) is set. Similarly, since the field picture of the fourth field needs to display one field of the fourth field, the pic_struct is set to 1 or 2 (Fig. 7) which can be set to the pic_struct of the field picture.

이 경우, 도 11의 화상 복호 장치(102)에서는, 도 14의 위로부터 3번째에 도시하는 바와 같이, 픽처가 복호된다.In this case, in the image decoding device 102 of FIG. 11, as shown in the third from the top of FIG. 14, the picture is decoded.

즉, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 대해서는, pic_struct에 3 또는 4가 세트되어 있지만, ct_type에 「순차 주사」가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제1 필드 및 제2 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 3 또는 4가 세트되어 있는 pic_struct에 대응하여 2회만 반복하여 출력되어, 디스플레이(103)(도 6)에 표시된다.That is, 3 or 4 is set in the pic_struct for the frame picture having the first field and the second field as one frame, but since "sequential scanning" is set in the ct_type, the image decoding apparatus 102 uses FIG. 12. As described in the flowchart of FIG. 2, the frame pictures of sequential scanning in which the first field and the second field are set to one frame are repeatedly outputted only twice in correspondence to the pic_struct in which 3 or 4 are set, and the display 103 ( 6).

또한, 제3 필드의 필드 픽처에 대해서는, pic_struct에 1 또는 2가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제3 필드의 필드 픽처를 필드 보간함으로써 프레임 픽처가 생성된다. 그리고, 그 프레임 픽처가, 1회만, 디스플레이(103)에 출력되어 표시된다.In addition, since 1 or 2 is set in the pic_struct for the field picture of the third field, the image decoding apparatus 102 performs frame interpolation by field interpolating the field picture of the third field as described in the flowchart of FIG. 12. The picture is generated. The frame picture is output and displayed on the display 103 only once.

제4 필드의 픽처에 대해서도, 마찬가지로 pic_struct에 1 또는 2가 세트되어 있으므로, 화상 복호 장치(102)에서는, 제4 필드의 필드 픽처를 필드 보간함으로써 얻어지는 프레임 픽처가, 1회만, 디스플레이(103)에 출력되어 표시된다.Similarly, 1 or 2 is set in the pic_struct for the picture of the fourth field, so that in the image decoding apparatus 102, the frame 103 obtained by field interpolating the field picture of the fourth field is displayed only once on the display 103. The output is displayed.

그리고, 제5 및 제6 필드를 1 프레임으로 한 프레임 픽처에 대해서는, pic_struct에 3 또는 4가 세트되어 있으므로, 화상 복호 장치(102)에서는, 제1 및 제2 필드를 1 프레임으로 한 프레임 픽처와 마찬가지로, 제5 및 제6 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 3 또는 4가 세트되어 있는 pic_struct에 대응하여 2회만 반복하여 출력되어 디스플레이(103)(도 6)에 표시된다.Since a frame picture having the fifth and sixth fields as one frame is set to 3 or 4 in the pic_struct, the image decoding apparatus 102 includes a frame picture having the first and second fields as one frame. Similarly, a frame picture of sequential scanning using the fifth and sixth fields as one frame is repeatedly outputted only two times corresponding to the pic_struct in which 3 or 4 is set and displayed on the display 103 (Fig. 6).

이상에 의해, 디스플레이(103)에서는, 프레임 레이트가 60㎐인 픽처가 순차 주사에 의해 표시된다.As described above, in the display 103, pictures having a frame rate of 60 Hz are displayed by sequential scanning.

또한, 비월 주사의 픽처인 제3 및 제4 필드에 대하여, 프레임 픽처 또는 필드 픽처 중, 예를 들면, 프레임 픽처로서 부호화를 행한 편이 부호화 효율이 높은 경우에는, 화상 부호화 장치(101)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처가 부호화된다.In addition, when the encoding efficiency of the third and fourth fields, which are pictures of interlaced scanning, is higher than the frame picture or the field picture, for example, as a frame picture, the image coding apparatus 101 generates a first image. The frame picture consisting of the third and fourth fields is encoded.

이 경우, 화상 부호화 장치(101)의 식별부(111)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처의 주사 플래그로서의 ct_type에 「비월 주사」가 세트된다.In this case, in the identification part 111 of the image coding apparatus 101, "interlaced scanning" is set to ct_type as a scanning flag of a frame picture composed of the third and fourth fields.

또한, 식별부(111)에서는, 제3 및 제4 필드로 이루어지는 프레임 픽처에 의해, 제3 필드와 제4 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다(도 14의 위로부터 2번째).In addition, since the identification unit 111 needs to display two fields of the third field and the fourth field by the frame picture composed of the third and fourth fields, the pic_struct is set to the pic_struct of the frame picture. 0, 3 to 6 (FIG. 7) which may be set to 3 or 4 (second from top of FIG. 14).

이 경우, 제3 및 제4 필드로 이루어지는 프레임 픽처의 pic_struct에 3 또는 4가 세트되어 있지만, ct_type에 「비월 주사」가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제3 및 제4 필드로 이루어지는 프레임 픽처의 탑 필드와 보텀 필드의 각각을 필드 보간함으로써 2개의 프레임 픽처가 생성된다. 그리고, 그 2개의 프레임 픽처가, 각각 1회만, 디스플레이(103)에 출력되어 표시된다.In this case, 3 or 4 is set in the pic_struct of the frame picture composed of the third and fourth fields, but "interlaced scanning" is set in ct_type. Therefore, in the image decoding apparatus 102, the image decoding apparatus 102 described in the flowchart of FIG. As described above, two frame pictures are generated by field interpolating each of the top field and the bottom field of the frame picture consisting of the third and fourth fields. The two frame pictures are output and displayed on the display 103 only once, respectively.

다음으로, 도 15는, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정된 경우에, 순차 주사의 픽처라고 하는 판정 결과를 우선시킬 때의 화상 부호화 장치(101)와 화상 복호 장치(102)의 처리를 설명하는 도면이다.Next, FIG. 15 shows an image encoding apparatus 101 and an image decoding apparatus (1) when giving priority to a determination result of a sequential scanning picture when it is determined that the interlaced picture is both a picture of interlaced scanning and a picture of sequential scanning. 102 is a diagram for explaining the processing.

예를 들면, 프레임 레이트가 24㎐인 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는, 프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처가, 도 15의 위로부터 1번째에 도시하는 바와 같이 편집되어, 부호화 대상으로서 화상 부호화 장치(101)에 공급되었다고 한다.For example, an NTSC system picture having a frame rate of 30 Hz (field rate of 60 Hz), obtained by 2-3 pull-down of a picture of a movie film having a frame rate of 24 Hz, is shown first from the top of FIG. 15. It is assumed that it is edited as described above and supplied to the image encoding apparatus 101 as an encoding target.

여기에서, 도 13 및 도 14와 마찬가지로, 도 15의 위로부터 1번째의 NTSC 방식의 픽처인 필드 픽처 가운데 왼쪽으로부터 m번째를 제m 필드라고 한다.Here, as in FIGS. 13 and 14, the m th field from the left among the field pictures which are the first NTSC picture from the top of FIG. 15 is called the m th field.

도 15의 위로부터 1번째의 NTSC 방식의 필드 픽처는, 도 14의 위로부터 1번째에 도시한 필드 픽처와 동일한 것으로 되어 있고, 따라서, 화상 부호화 장치(101)의 2-3 검출부(2)(및 식별부(111))에서는, 제1 필드 및 제2 필드가 1 프레임의 순차 주사의 픽처로, 제3 필드 및 제4 필드가 비월 주사의 픽처로, 제4 내지 제6 필드가 1 프레임의 순차 주사의 픽처로, 각각 판정되고 있다. 즉, 제4 필드가, 비월 주사의 픽처이기도 하고, 순차 주사의 픽처이기도 하다고 중복 판정되고 있다.The field picture of the 1st NTSC system from the top of FIG. 15 is the same as the field picture shown from the top of FIG. 14, and therefore, the 2-3 detection part 2 (of the image encoding apparatus 101) ( And the identification unit 111, the first field and the second field are pictures of sequential scanning of one frame, the third field and the fourth field are pictures of interlaced scanning, and the fourth to sixth fields are of one frame. It is determined by the pictures of sequential scanning, respectively. In other words, it is determined that the fourth field is both a picture of interlaced scanning and a picture of sequential scanning.

도 15의 실시의 형태에서는, 중복 판정된 경우에, 순차 주사의 픽처라고 하는 판정 결과가 우선되어, 결국, 제1 필드 및 제2 필드가 1 프레임의 순차 주사의 픽처로, 제3 필드가 비월 주사의 픽처로, 제4 내지 제6 필드가 1 프레임의 순차 주사의 픽처로, 각각 판정된다.In the embodiment of Fig. 15, in the case of overlapping determination, a determination result called a picture of sequential scanning is given priority, and eventually, the first field and the second field are pictures of one frame of sequential scanning, and the third field is interlaced. As pictures for scanning, the fourth to sixth fields are respectively determined as pictures of sequential scanning of one frame.

화상 부호화 장치(101)에서는, 순차 주사의 픽처인 제1 필드 및 제2 필드는, 도 15의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다. 마찬가지로, 순차 주사의 픽처인 제4 내지 제6 필드도, 도 15의 위로부터 2번째에 도시하는 바와 같이, 1개의 프레임 픽처로서 부호화된다.In the image encoding apparatus 101, the first field and the second field which are pictures of progressive scanning are encoded as one frame picture as shown second from the top of FIG. Similarly, the fourth to sixth fields, which are pictures of progressive scanning, are also encoded as one frame picture, as shown second from the top of FIG. 15.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처와 제4 내지 제6 필드를 1 프레임으로 한 프레임 픽처의 주사 플래그로서의 ct_type에, 모두, 「순차 주사」가 세트된다.In the identification unit 111 of the image encoding apparatus 101, a frame picture having the first field and the second field as one frame and ct_type as the scan flag of the frame picture having the fourth to sixth fields as one frame are used. In all, "sequential scanning" is set.

또한, 식별부(111)에서는, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 의해, 제1 필드와 제2 필드의 2 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 3 또는 4로 세트된다.In addition, since the identification unit 111 needs to display two fields of the first field and the second field with a frame picture having the first field and the second field as one frame, the pic_struct is a frame picture. Is set to 3 or 4 of 0, 3 to 6 (FIG. 7), which can be set to the pic_struct of.

또한, 식별부(111)에서는, 제4 내지 제6 필드를 1 프레임으로 한 프레임 픽처에 의해, 제4 내지 제6 필드의 3 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 프레임 픽처의 pic_struct로 세트될 수 있는 0, 3 내지 6(도 7) 가운데 5 또는 6으로 세트된다.In addition, since the identification unit 111 needs to display three fields of the fourth to sixth fields with a frame picture having the fourth to sixth fields as one frame, the pic_struct is a pic_struct of the frame picture. Is set to 5 or 6 of 0, 3 to 6 (FIG. 7) which can be set to.

한편, 비월 주사의 픽처인 제3 필드는, 프레임 픽처를 구성하는 다른 필드가 존재하지 않기 때문에, 도 15의 위로부터 2번째에 도시하는 바와 같이, 필드 픽처로서 부호화된다.On the other hand, since there are no other fields constituting the frame picture, the third field which is the interlaced picture is encoded as a field picture as shown second from the top of FIG. 15.

그리고, 화상 부호화 장치(101)의 식별부(111)에서는, 제3 필드의 필드 픽처의 주사 플래그로서의 ct_type에, 「비월 주사」가 세트된다.In the identification unit 111 of the picture coding apparatus 101, "interlaced scanning" is set to ct_type as a scanning flag of the field picture of the third field.

또한, 식별부(111)에서는, 제3 필드의 필드 픽처에 의해, 제3 필드의 1 필드를 표시할 필요가 있기 때문에, 그 pic_struct는, 필드 픽처의 pic_struct로 세트될 수 있는 1 또는 2(도 7)로 세트된다.In addition, since the identification unit 111 needs to display one field of the third field by the field picture of the third field, the pic_struct can be set to 1 or 2 (Fig. 7) is set.

이 경우, 화상 복호 장치(102)에서는, 도 15의 위로부터 3번째에 도시하는 바와 같이, 픽처가 복호된다.In this case, in the image decoding device 102, as shown in the third from the top of FIG. 15, the picture is decoded.

즉, 제1 필드 및 제2 필드를 1 프레임으로 한 프레임 픽처에 대해서는, 도 14에서의 경우와 마찬가지로, 제1 필드 및 제2 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 2회만 반복하여 출력되어 디스플레이(103)(도 6)에 표시된다.That is, as in the case of Fig. 14, the frame picture of the sequential scan having the first field and the second field as one frame is repeated twice only for the frame picture having the first field and the second field as one frame. The output is displayed on the display 103 (Fig. 6).

또한, 제3 필드의 필드 픽처에 대해서는, pic_struct에 1 또는 2가 세트되어 있으므로, 화상 복호 장치(102)에서는, 도 12의 플로우차트에서 설명한 바와 같이, 제3 필드의 필드 픽처를 필드 보간함으로써 프레임 픽처가 생성된다. 그리고, 그 프레임 픽처가, 1회만, 디스플레이(103)에 출력되어 표시된다.In addition, since 1 or 2 is set in the pic_struct for the field picture of the third field, the image decoding apparatus 102 performs frame interpolation by field interpolating the field picture of the third field as described in the flowchart of FIG. 12. The picture is generated. The frame picture is output and displayed on the display 103 only once.

그리고, 제4 내지 제6 필드를 1 프레임으로 한 프레임 픽처에 대해서는, pic_struct에 5 또는 6이 세트되어 있으므로, 화상 복호 장치(102)에서는, 제4 내지 제6 필드를 1 프레임으로 한 순차 주사의 프레임 픽처가, 5 또는 6이 세트되어 있는 pic_struct에 대응하여 3회만 반복하여 출력되어 디스플레이(103)(도 6)에 표시된다.Since a frame picture having the fourth to sixth fields as one frame is set to 5 or 6 in the pic_struct, the image decoding apparatus 102 performs the sequential scanning using the fourth to sixth fields as one frame. The frame picture is repeatedly output three times corresponding to the pic_struct in which 5 or 6 is set and displayed on the display 103 (Fig. 6).

다음으로, 전술한 실시의 형태에서는, 주사 플래그로서, 1이 세트된 clock_timestamp_flag[0] 중의 ct_type을 사용하는 것으로 하였지만, 그 외, 주사 플래그로서는, 예를 들면, H.264/AVC의 규격에 규정되어 있는 user data SEI 중의 유저 정의된 정보를 사용할 수 있다.Next, in the above-described embodiment, ct_type in clock_timestamp_flag [0] in which 1 is set is used as the scan flag. In addition, for example, the scan flag is defined in the standard of H.264 / AVC. User-defined information in the user data SEI can be used.

즉, H.264/AVC에서는, 유저가 임의로 정의한 신택스를 삽입할 수 있는 user data SEI라고 불리는 신택스가 준비되어 있다. user data SEI에는, user data registered by ITU-T Recommendation T.35 SEI와, user data unregistered SEI라고 불리는 2 종류의 신택스가 정의되어 있다. 도 16에, user data registered by ITU-T Recommendation T.35 SEI의 신택스를, 도 17에, user data unregistered SEI의 신택스를, 각각 나타낸다.That is, in H.264 / AVC, a syntax called user data SEI, into which a user-defined syntax can be inserted, is prepared. In the user data SEI, two kinds of syntaxes are defined, a user data registered by ITU-T Recommendation T.35 SEI and a user data unregistered SEI. The syntax of the user data registered by ITU-T Recommendation T.35 SEI is shown in FIG. 16, and the syntax of the user data unregistered SEI is shown in FIG. 17, respectively.

여기에서, H.264/AVC에서는, user data registered by ITU-T Recommendation T.35 SEI에 대하여, 이하와 같이 기술되어 있다.Here, in H.264 / AVC, user data registered by ITU-T Recommendation T.35 SEI is described as follows.

User data registered by ITU-T Recommendation T.35 SEI message semanticsUser data registered by ITU-T Recommendation T.35 SEI message semantics

This message contains user data registered as specified by ITU-T Recommendation T.35, the contents of which are not specified by this Recommendation | International Standard.This message contains user data registered as specified by ITU-T Recommendation T.35, the contents of which are not specified by this Recommendation | International Standard.

itu_t_t35_country_code shall be a byte having a value specified as a country code by ITU-T Recommendation T.35 Annex A.itu_t_t35_country_code shall be a byte having a value specified as a country code by ITU-T Recommendation T.35 Annex A.

itu_t_t35_country_code_extension_byte shall be a byte having a value specified as a country code by ITU-T Recommendation T.35 Annex B.itu_t_t35_country_code_extension_byte shall be a byte having a value specified as a country code by ITU-T Recommendation T.35 Annex B.

itu_t_t35_payload_byte shall be a byte containing data registered as specified by ITU-T Recommendation T.35.itu_t_t35_payload_byte shall be a byte containing data registered as specified by ITU-T Recommendation T.35.

The ITU-T T.35 terminal provider code and terminal provider oriented code shall be contained in the first one or more byte s of the itu_t_t35_payload_byte, in the format specified by the Administration that issued the terminal provider code. Any remaining itu_t_t35_payload_byte data shall be data having syntax and semantics as specified by the entity identified by the ITU-T T.35 country code and terminal provider code.The ITU-T T.35 terminal provider code and terminal provider oriented code shall be contained in the first one or more byte s of the itu_t_t35_payload_byte, in the format specified by the Administration that issued the terminal provider code. Any remaining itu_t_t35_payload_byte data shall be data having syntax and semantics as specified by the entity identified by the ITU-T T.35 country code and terminal provider code.

또한, H.264/AVC에서는, user data unregistered SEI에 대하여, 이하와 같이 기술되어 있다.In H.264 / AVC, user data unregistered SEI is described as follows.

User data unregistered SEI message semanticsUser data unregistered SEI message semantics

This message contains unregistered user data identified by a UUID, the contents of which are not specified by this Recommendation | International Standard.This message contains unregistered user data identified by a UUID, the contents of which are not specified by this Recommendation | International Standard.

UUID_iso_iec_11578 shall have a value specified as a UUID according to the procedures of ISO/IEC 11578:1996 Annex A.UUID_iso_iec_11578 shall have a value specified as a UUID according to the procedures of ISO / IEC 11578: 1996 Annex A.

user_data_payload_byte shall be a byte containing data havin g syntax and semantics as specified by the UUID generator.user_data_payload_byte shall be a byte containing data havin g syntax and semantics as specified by the UUID generator.

도 16에 도시한 user data registered by ITU-T Recommendation T.35 SEI에는, 그 itu_t_35_payload_byte의 엘리먼트로서, 유저 정의의 정보를 픽처마다 삽입할 수 있으므로, 그 유저 정의의 정보로서 주사 플래그를 삽입할 수 있다. 또한, itu_t_35_payload_byte에 주사 플래그를 삽입하는 경우에는, ITU-T T.35에 기초한 단말(프로바이더)의 등록이 필요하다.In the user data registered by ITU-T Recommendation T.35 SEI shown in Fig. 16, user-defined information can be inserted for each picture as the element of the itu_t_35_payload_byte, so that the scanning flag can be inserted as the user-defined information. . In addition, when the scanning flag is inserted into itu_t_35_payload_byte, registration of a terminal (provider) based on ITU-T T.35 is required.

또한, 도 17에 도시한 user data unregistered SEI에는, 그 user_data_payload_byte의 엘리먼트로서, 유저 정의의 정보를 픽처마다 삽입할 수 있으므로, 그 유저 정의의 정보로서 주사 플래그를 삽입할 수 있다. 또한, user_data_payload_byte에 주사 플래그를 삽입하는 경우에는, UUID를 지정하여 user data SEI의 식별을 가능하게 할 필요가 있다.In addition, since user-defined information can be inserted for each picture as an element of the user_data_payload_byte in the user data unregistered SEI shown in FIG. 17, a scanning flag can be inserted as the user-defined information. In addition, when inserting a scan flag into user_data_payload_byte, it is necessary to specify the UUID to enable identification of the user data SEI.

도 18은, itu_t_35_payload_byte 또는 user_data_payload의 엘리먼트로서, 주사 플래그를 삽입하는 경우의, 그 엘리먼트의 신택스의 예를 나타내고 있다.FIG. 18 shows an example of syntax of an element when an injection flag is inserted as an element of itu_t_35_payload_byte or user_data_payload.

도 18에서, scan_information()은, 유저 정의의, itu_t_35_payload_byte 또는 user_data_payload의 엘리먼트로서, 주사 플래그로서의 1비트의 prog_inter_flag와, 예약(reserved)의 15비트의 reserved_for_future_use로 구성된다. 주사 플래그로서의 prog_inter_flag에는, 「순차 주사」를 나타내는 값으로서의, 예를 들면 0이거나, 또는 「비월 주사」를 나타내는 값으로서의, 예를 들면 1이, 식별부(111)에서 세트된다.In Fig. 18, scan_information () is a user-defined element of itu_t_35_payload_byte or user_data_payload, and is composed of one bit of prog_inter_flag as a scan flag and 15 bits of reserved_for_future_use reserved. In the prog_inter_flag as the scan flag, for example, 0 as a value indicating "sequential scan" or 1 as a value indicating "interlaced scanning" is set in the identification unit 111.

또한, 주사 플래그로서 사용하는 신택스는, 전술한 ct_type이나, user data registered by ITU-T Recommendation T.35 SEI, user data unregistered SEI로 한정되는 것은 아니다. 또한, 화상 부호화 장치(101)에서는, 주사 플래그는, 부호화 데이터에 매립하는 외에, 부호화 데이터에 부수하는 형식으로, 기록 매체(104)에 기록하거나, 혹은, 전송 매체(105)를 통해 송신할 수 있다.The syntax used as the scan flag is not limited to the aforementioned ct_type, user data registered by ITU-T Recommendation T.35 SEI, and user data unregistered SEI. In addition, in the image encoding apparatus 101, the scanning flag can be recorded in the recording medium 104 or transmitted via the transmission medium 105 in a form attached to the encoded data in addition to being embedded in the encoded data. have.

그런데, 도 6의 화상 처리 시스템에서는, 화상 부호화 장치(101)에서, 프레임 레이트가 24㎐인 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는, 프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처를 부호화 대상으로 하여, 부호화를 행하고, 그 결과 얻어지는 부호화 데이터를, 화상 복호 장치(102)에서 60㎐인 순차 주사의 픽처로 복호하고, 그 60㎐인 순차 주사의 픽처를, 60㎐인 순차 주사로 표시를 행하는 디스플레이(103)에서 표시하도록 되어 있다.By the way, in the image processing system of FIG. 6, NTSC whose frame rate is 30 Hz (the field rate is 60 Hz) obtained by 2-3 pull-down of the picture of the movie film whose frame rate is 24 Hz in the image coding apparatus 101. FIG. A picture of a system is encoded and encoded, and the resulting encoded data is decoded by a 60-degree sequential scan picture, and the 60-degree sequential scan picture is 60 s. Display is performed on the display 103 which performs display by sequential scanning.

화상 부호화 장치(101)에서, 24㎐의 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는 30㎐의 NTSC 방식의 픽처를 부호화 대상으로 한 것은, 현재, 영화 콘텐츠에 대해서는, 24㎐의 영화 필름의 픽처를 2-3 풀다운함으로써 얻어지는 30㎐의 NTSC 방식의 픽처가 유통되는 것이 일반적이기 때문이지만, 향후는, 24㎐의 영화 필름의 픽처가, 2-3 풀다운되지 않고 그대로 유통될 것으로 예상된다.In the picture coding apparatus 101, the 30 kHz NTSC system picture obtained by 2-3 pull-down of a 24 GHz movie film is set as the encoding target. Although it is common for the 30 Hz NTSC system picture obtained by 2-3 pull down to distribute, the picture of 24 GHz movie film is expected to be distributed as it is without being pulled down 2-3.

이 경우, 화상 부호화 장치(101)에서는, 24㎐의 영화 필름의 픽처가 입력되고, 그 픽처를 부호화 대상으로서 부호화가 행해지게 되어, 화상 복호 장치(102)에서는, 화상 부호화 장치(101)에서 얻어지는 부호화 데이터가, 24㎐의 영화 필름의 픽처로 복호된다.In this case, a picture of a 24 영화 movie film is input in the image encoding apparatus 101, and encoding is performed on the picture as an encoding target, and the image decoding apparatus 102 obtains the image in the image encoding apparatus 101. The encoded data is decoded into a picture of a 24 영화 movie film.

한편, 디스플레이(103)는, 60㎐의 순차 주사로 표시를 행하기 때문에, 화상 복호 장치(102)에서의 복호에 의해 얻어지는 24㎐의 영화 필름의 픽처는, 그대로는, 디스플레이(103)에 표시할 수 없다.On the other hand, since the display 103 displays by 60 sequential scanning, the picture of the 24 ㎐ movie film obtained by the decoding in the image decoding device 102 is displayed on the display 103 as it is. Can not.

또한, H.264/AVC에서는, 영화 필름의 픽처 등의 24㎐의 순차 주사의 픽처를, 60㎐의 순차 주사의 디스플레이(103)에서 표시하는 경우의, 픽처의 표시 간격을 정 할 방법이 없다.In addition, in H.264 / AVC, there is no method for determining the display interval of pictures in the case of displaying pictures of 24 sequential scans such as pictures of movie films on the display 103 of 60 sequential scans. .

따라서, 도 19는, 24㎐의 순차 주사의 픽처를 부호화 대상으로서 부호화, 복호를 행하고, 그 복호에 의해 얻어지는 24㎐의 순차 주사의 픽처를, 60㎐의 순차 주사로 표시하는 화상 처리 시스템의 구성예를 도시하고 있다.Therefore, Fig. 19 is a configuration of an image processing system which encodes and decodes 24 sequential scan pictures as encoding objects, and displays 24 sequential scan pictures obtained by the decoding by 60 sequential scanning. An example is shown.

또한, 도면 중, 도 6에서의 경우에 대응하는 부분에 대해서는, 동일한 부호를 부여하고, 이하에서, 그 설명은 적당히 생략한다.In addition, about the part corresponding to the case in FIG. 6 in the figure, the same code | symbol is attached | subjected and the description is abbreviate | omitted suitably below.

화상 부호화 장치(201)에는, 예를 들면, 24㎐의 순차 주사의 픽처가 공급되게 되어 있어, 화상 부호화 장치(201)는, 예를 들면, 기본적으로는, H.264/AVC의 규격에 준거하여, 그곳에 공급되는 24㎐의 순차 주사의 픽처를 부호화하고, 그 결과 얻어지는 부호화 데이터를 출력한다.The picture coding apparatus 201 is supplied with pictures of 24 sequential scanning, for example, and the picture coding apparatus 201 basically conforms to the standard of H.264 / AVC, for example. A picture of 24 sequential scanning supplied therein is encoded, and the resulting encoded data is output.

화상 부호화 장치(201)가 출력하는 부호화 데이터는, 예를 들면, 기록 매체(104)에 공급되어 기록되거나, 혹은, 전송 매체(105)를 통해 송신된다.The coded data output by the picture coding apparatus 201 is supplied to the recording medium 104 and recorded, or transmitted through the transmission medium 105, for example.

화상 복호 장치(202)는, 기록 매체(104)로부터 재생되거나, 혹은 전송 매체(105)를 통해 송신되어 오는 부호화 데이터를 수신하고, 그 부호화 데이터를, 예를 들면, 기본적으로는, H.264/AVC의 규격에 준거하여, 24㎐의 순차 주사의 픽처로 복호한다. 또한, 화상 복호 장치(202)는, 24㎐의 순차 주사 픽처의, 후단의 디스플레이(103)에 대한 출력 횟수를 제어함으로써, 60㎐의 순차 주사의 픽처를 디스플레이(103)에 공급한다.The image decoding device 202 receives the encoded data reproduced from the recording medium 104 or transmitted via the transmission medium 105, and the encoded data is basically H.264, for example. Based on the / AVC standard, decoding is performed with pictures of 24 sequential scanning. The image decoding device 202 also supplies the display 103 with 60 sequential scanning pictures by controlling the number of outputs of the 24 sequential scanning pictures to the display 103 on the rear end.

이에 따라, 60㎐의 순차 주사의 디스플레이(103)에서, 화상 복호 장치(202)로부터 공급되는 60㎐의 순차 주사의 픽처가 표시된다.As a result, the 60-second progressive scan display 103 displays a 60-second progressive scan picture supplied from the image decoding device 202.

다음으로, 도 20은, 도 19의 화상 부호화 장치(201)의 구성예를 도시하고 있다. 또한, 도면 중, 도 3 또는 도 9에서의 경우에 대응하는 부분에 대해서는, 동일한 부호를 부여하고 있다.Next, FIG. 20 shows an example of the configuration of the picture coding apparatus 201 of FIG. 19. In addition, the same code | symbol is attached | subjected about the part corresponding to the case in FIG. 3 or FIG. 9 in the figure.

화상 부호화 장치(201)는, 2-3 검출부(2)가 설치되어 있지 않은 것 외에는, 기본적으로, 도 3의 화상 부호화 장치와 마찬가지로 구성되어 있다. 그리고, 화상 부호화 장치(201)에는, 24㎐의 순차 주사의 픽처가 공급되게 되어 있어, 화상 부호화 장치(201)에서는, 그 24㎐의 순차 주사의 픽처가, 도 3에서의 경우와 마찬가지로 하여 부호화된다.The picture coding apparatus 201 is basically configured similarly to the picture coding apparatus of FIG. 3 except that the 2-3 detection unit 2 is not provided. The picture coding apparatus 201 is supplied with 24 sequential scanning pictures, and the picture coding apparatus 201 encodes the pictures with 24 sequential scanning as in the case of FIG. 3. do.

다음으로, 도 21은, 도 19의 화상 복호 장치(202)의 구성예를 도시하고 있다. 또한, 도면 중, 도 4 또는 도 11에서의 경우에 대응하는 부분에 대해서는, 동일한 부호를 부여하고 있다.Next, FIG. 21 shows a configuration example of the image decoding device 202 of FIG. In addition, the same code | symbol is attached | subjected about the part corresponding to the case in FIG. 4 or FIG. 11 in the figure.

화상 복호 장치(202)는, 화면 재배열 버퍼(28)에 대신하여, 도 11의 화면 재배열 버퍼(121)가 설치되어 있고, 또한, 표시 화상 출력 버퍼(211) 및 출력 제어부(212)가 새롭게 설치되어 있는 것 외에는, 기본적으로, 도 4의 화상 복호 장치와 마찬가지로 구성되어 있다.In the image decoding apparatus 202, the screen rearrangement buffer 121 of FIG. 11 is provided in place of the screen rearrangement buffer 28, and the display image output buffer 211 and the output control unit 212 are provided. Except as newly installed, it is basically comprised similarly to the image decoding apparatus of FIG.

표시 화상 출력 버퍼(211)는, 화면 재배열 버퍼(121)로부터 공급되는 픽처를 일시 기억한다. 여기에서, 도 19의 화상 부호화 장치(201)에서는, 24㎐의 순차 주사의 픽처를 부호화 대상으로서 부호화가 행해진다. 따라서, 도 21의 화상 복호 장치(202)에서, 가산기(25)로부터 화면 재배열 버퍼(121)에 공급되어 기억되는 것은, 화상 부호화 장치(201)에서 부호화 대상으로 된 24㎐의 순차 주사의 픽처이며, 표시 화상 출력 버퍼(211)는, 그 24㎐의 순차 주사의 픽처를 일시 기억한다.The display image output buffer 211 temporarily stores a picture supplied from the screen rearrangement buffer 121. Here, in the image encoding device 201 of FIG. 19, encoding is performed using pictures of 24 sequential scanning as encoding objects. Therefore, in the image decoding device 202 shown in FIG. 21, the picture 25 is supplied to the screen rearrangement buffer 121 from the adder 25 and stored in the picture of 24 sequential scanning which is the encoding target in the image coding device 201. The display image output buffer 211 temporarily stores a picture of 24 sequential scans.

그리고, 표시 화상 출력 버퍼(211)는, 그곳에 기억한 픽처를 출력 제어부(212)의 제어에 따른 횟수만큼 판독하여, D/A 변환부(29)를 통해 디스플레이(103)(도 19)에 공급한다.The display image output buffer 211 reads the pictures stored therein a number of times according to the control of the output control unit 212, and supplies them to the display 103 (FIG. 19) through the D / A conversion unit 29. do.

즉, 출력 제어부(212)는, 가산기(25)로부터 화면 재배열 버퍼(121)에 공급되는, 복호된 픽처의 프레임 레이트, 즉, 부호화 대상 픽처의 프레임 레이트와, 순차 주사의 디스플레이(103)의 표시 레이트에 따라, 표시 화상 출력 버퍼(211)에 기억된 픽처의 출력 횟수(표시 화상 출력 버퍼(211)로부터의 판독 횟수)를 제어한다.That is, the output control unit 212 supplies the frame rate of the decoded picture that is supplied from the adder 25 to the screen rearrangement buffer 121, that is, the frame rate of the picture to be encoded, and the display 103 of sequential scanning. According to the display rate, the number of times of output of the picture stored in the display image output buffer 211 (the number of readings from the display image output buffer 211) is controlled.

이에 따라, 표시 화상 출력 버퍼(211)로부터는, 디스플레이(103)의 표시 레이트에 일치하는 프레임 레이트의 순차 주사의 픽처가 출력되어, D/A 변환부(29)를 통해 디스플레이(103)에 공급된다.Thereby, the picture of sequential scanning of the frame rate which matches the display rate of the display 103 is output from the display image output buffer 211, and is supplied to the display 103 via the D / A conversion part 29. do.

여기에서, 부호화 대상 픽처의 프레임 레이트의 프레임 레이트 정보는, 예를 들면, 화상 부호화 장치(201)에서 부호화 데이터로 다중화되게 되어 있으며, 화상 복호 장치(202)의 출력 제어부(212)는, 그 프레임 레이트 정보로부터 부호화 대상 픽처의 프레임 레이트를 인식하게 되어 있다. 또한, 디스플레이(103)의 표시 레이트의 정보는, 예를 들면, 디스플레이(103)로부터 출력 제어부(212)에 공급되게 되어 있다.Here, the frame rate information of the frame rate of the picture to be encoded is, for example, multiplexed by the encoded data in the image encoding apparatus 201, and the output control unit 212 of the image decoding apparatus 202 determines the frame. The frame rate of the picture to be encoded is recognized from the rate information. In addition, the information of the display rate of the display 103 is supplied to the output control part 212 from the display 103, for example.

다음으로, 도 22를 참조하여, 출력 제어부(212)에 의한 표시 화상 출력 버퍼(211)의 제어에 대하여, 더 설명한다.Next, with reference to FIG. 22, the control of the display image output buffer 211 by the output control part 212 is further demonstrated.

전술한 바와 같이, 출력 제어부(212)는, 부호화 대상 픽처의 프레임 레이트 와 순차 주사의 디스플레이(103)의 표시 레이트에 따라, 표시 화상 출력 버퍼(211)에 기억된 픽처의 출력 횟수를 제어한다.As described above, the output control unit 212 controls the number of times of output of the picture stored in the display image output buffer 211 according to the frame rate of the picture to be encoded and the display rate of the display 103 for sequential scanning.

즉, 여기에서는, 부호화 대상 픽처의 프레임 레이트는 24㎐이며, 순차 주사의 디스플레이(103)의 표시 레이트는 60㎐이다. 이 경우, 출력 제어부(212)는, 도 22에 도시하는 바와 같이, 표시 화상 출력 버퍼(211)에 기억된 24㎐ 픽처의, 임의의 픽처는 2회 반복 출력하고, 다음 픽처는 3회 반복 출력하고, 또한, 다음 픽처는 2회 반복 출력하고, 이하, 마찬가지로 2회 반복의 출력과 3회 반복의 출력을, 교대로 반복하도록, 표시 화상 출력 버퍼(211)를 제어한다. 이에 따라, 표시 화상 출력 버퍼(211)로부터 판독되는 순차 주사 픽처의 프레임 레이트는, 60㎐로 된다.In other words, the frame rate of the picture to be encoded is 24 Hz, and the display rate of the progressive scan display 103 is 60 Hz. In this case, as shown in FIG. 22, the output control unit 212 repeatedly outputs an arbitrary picture twice of the 24 kHz picture stored in the display image output buffer 211, and outputs the next picture three times. In addition, the next picture is repeatedly outputted two times, and the display image output buffer 211 is controlled so that the output of two repetitions and the output of three repetitions are likewise repeated alternately. As a result, the frame rate of the progressively scanned picture read from the display image output buffer 211 is 60 Hz.

또한, 부호화 대상 픽처의 프레임 레이트는 24㎐가 아니라도 되며, 또한, 순차 주사의 디스플레이(103)의 표시 레이트도 60㎐가 아니라도 된다.In addition, the frame rate of the picture to be encoded may not be 24 Hz or the display rate of the display 103 for progressive scanning may not be 60 Hz.

예를 들면, 부호화 대상 픽처의 프레임 레이트가 24㎐이고, 순차 주사의 디스플레이(103)의 표시 레이트가 30㎐인 경우, 출력 제어부(212)는, 부호화 대상 픽처의 프레임 레이트와 순차 주사의 디스플레이(103)의 표시 레이트에 따라, 표시 화상 출력 버퍼(211)에 기억된 픽처의 출력 횟수를, 예를 들면, 도 23에 도시하는 바와 같이 제어한다.For example, when the frame rate of the picture to be encoded is 24 Hz and the display rate of the display 103 for sequential scanning is 30 ms, the output control unit 212 can display the frame rate and the display of the sequential scan ( According to the display rate of 103, the number of times of output of the picture stored in the display image output buffer 211 is controlled, for example, as shown in FIG.

즉, 출력 제어부(212)는, 표시 화상 출력 버퍼(211)에 기억된 24㎐ 픽처의, 연속하는 4개의 픽처마다, 1번째로부터 3번째의 픽처는 1회만 출력하고, 4번째의 픽처는 2회 반복 출력하는 것을 반복하도록, 표시 화상 출력 버퍼(211)를 제어한다. 이에 따라, 표시 화상 출력 버퍼(211)로부터 판독되는 순차 주사 픽처의 프레 임 레이트는, 30㎐로 된다.That is, the output control unit 212 outputs only the first to third pictures once for every four consecutive pictures of the 24 ㎐ pictures stored in the display image output buffer 211, and the second pictures are 2 times. The display image output buffer 211 is controlled to repeat the repeated output. As a result, the frame rate of the progressively scanned picture read from the display image output buffer 211 is 30 Hz.

또한, 도 23에서는, 연속하는 4개의 픽처 중 1번째에서 3번째의 픽처를 1회만 출력하고, 4번째의 픽처를 2회 반복하여 출력하도록 했지만, 픽처의 출력 패턴은 이것으로 한정되는 것이 아니고, 요컨대, 연속하는 4개의 픽처 중 임의의 3개의 픽처를 1회만 출력하고, 다른 1개의 픽처를 2회 반복 출력하도록 하면 된다.In FIG. 23, the first to third pictures of only four consecutive pictures are outputted only once, and the fourth picture is outputted twice. However, the output pattern of the pictures is not limited to this. In short, any three pictures in the four consecutive pictures may be output only once, and the other one picture may be repeatedly outputted twice.

또한, 부호화 대상 픽처의 프레임 레이트가 24㎐이고, 순차 주사의 디스플레이(103)의 표시 레이트가 30㎐의 정수배인 30×A[㎐]인 경우에는(A는 1 이상의 정수), 출력 제어부(212)에서, 표시 화상 출력 버퍼(211)에 기억된 24㎐ 픽처의, 연속하는 4개의 픽처마다, 그 4개의 픽처 중 임의의 3개의 픽처를 A회만큼 출력하고, 다른 1개의 픽처를 2×A회 반복하여 출력하는 것을 반복하도록, 표시 화상 출력 버퍼(211)를 제어할 수 있다. 이에 따라, 표시 화상 출력 버퍼(211)로부터 판독되는 순차 주사 픽처의 프레임 레이트는, 30×A[㎐]로 된다.In addition, when the frame rate of the picture to be encoded is 24 Hz and the display rate of the progressive scan display 103 is 30 x A [Hz], which is an integer multiple of 30 Hz (A is an integer of 1 or more), the output control unit 212 ), An arbitrary three pictures of the four pictures are outputted A times for each of four consecutive pictures of the 24 ㎐ picture stored in the display image output buffer 211, and the other one picture is 2xA. The display image output buffer 211 can be controlled to repeat the output repeatedly. As a result, the frame rate of the progressively scanned picture read from the display image output buffer 211 is 30 x A [mm].

다음으로, 전술한 일련의 처리는, 하드웨어에 의해 행할 수도 있고, 소프트웨어에 의해 행할 수도 있다. 일련의 처리를 소프트웨어에 의해 행하는 경우에는, 그 소프트웨어를 구성하는 프로그램이, 범용의 컴퓨터 등에 인스톨된다.Next, the above-described series of processes may be performed by hardware or may be performed by software. When a series of processes are performed by software, the program which comprises the software is installed in a general purpose computer etc.

따라서, 도 24는, 전술한 일련의 처리를 실행하는 프로그램이 인스톨되는 컴퓨터의 일 실시 형태의 구성예를 도시하고 있다.Therefore, FIG. 24 shows the structural example of one Embodiment of the computer in which the program which performs a series of process mentioned above is installed.

프로그램은, 컴퓨터에 내장되어 있는 기록 매체로서의 하드디스크(305)나 ROM(303)에 미리 기록해 둘 수 있다.The program can be recorded in advance in the hard disk 305 or the ROM 303 as a recording medium built in a computer.

혹은 또한, 프로그램은, 플렉서블 디스크, CD-ROM(Compact Disc Read Only Memory), MO(Magneto Optical) 디스크, DVD(Digital Versatile Disc), 자기 디스크, 반도체 메모리 등의 리무버블 기록 매체(311)에, 일시적 혹은 영속적으로 저장(기록)해 둘 수 있다. 이러한 리무버블 기록 매체(311)는, 이른바 패키지 소프트웨어로서 제공할 수 있다.Alternatively, the program may be stored on a removable recording medium 311 such as a flexible disk, a compact disc read only memory (CD-ROM), a magneto optical (MO) disk, a digital versatile disc (DVD), a magnetic disk, or a semiconductor memory. It can be saved (recorded) temporarily or permanently. Such a removable recording medium 311 can be provided as so-called package software.

또한, 프로그램은, 전술한 바와 같은 리무버블 기록 매체(311)로부터 컴퓨터로 인스톨하는 외에, 다운로드 사이트로부터, 디지털 위성 방송용의 인공 위성을 통해 컴퓨터에 무선으로 전송하거나, LAN(Local Area Network), 인터넷과 같은 네트워크를 통해 컴퓨터에 유선으로 전송하고, 컴퓨터에서는, 그와 같이 하여 전송되어 오는 프로그램을, 통신부(308)에서 수신하여 내장하는 하드디스크(305)에 인스톨할 수 있다.The program is not only installed on the computer from the removable recording medium 311 as described above, but also wirelessly transmitted from the download site to the computer via a satellite for digital satellite broadcasting, or from a local area network (LAN) or the Internet. By wired transmission to a computer via a network such as the above, the computer can be installed in the hard disk 305 which is received by the communication unit 308 and embedded therein.

컴퓨터는, CPU(Central Processing Unit)(302)를 내장하고 있다. CPU(302)에는, 버스(301)를 통해, 입출력 인터페이스(310)가 접속되어 있고, CPU(302)는 입출력 인터페이스(310)를 통해, 유저에 의해, 키보드나, 마우스, 마이크 등으로 구성되는 입력부(307)가 조작되는 등으로 지령이 입력되면, 거기에 따라, ROM(Read Only Memory)(303)에 저장되어 있는 프로그램을 실행한다. 혹은, 또한, CPU(302)는, 하드디스크(305)에 저장되어 있는 프로그램, 위성 혹은 네트워크로부터 전송되고 통신부(308)에서 수신되어 하드디스크(305)에 인스톨된 프로그램, 또는 드라이브(309)에 장착된 리무버블 기록 매체(311)로부터 판독되어 하드디스크(305)에 인스톨된 프로그램을, RAM(Random Access Memory)(302)에 로드하여 실행한다. 이에 따라, CPU(302)는, 전술한 플로우차트에 따른 처리, 혹은 전술한 블럭도의 구성에 의해 행해지는 처리를 행한다. 그리고, CPU(302)는, 그 처리 결과를, 필요에 따라, 예를 들면, 입출력 인터페이스(310)를 통해, LCD(Liquid Crystal Display)나 스피커 등으로 구성되는 출력부(306)로부터 출력, 혹은, 통신부(308)로부터 송신, 또, 하드디스크(305)에 기록 등을 시킨다.The computer incorporates a CPU (Central Processing Unit) 302. The input / output interface 310 is connected to the CPU 302 via the bus 301, and the CPU 302 is configured by a user with a keyboard, a mouse, a microphone, or the like through the input / output interface 310. When an instruction is input by the input unit 307 being operated or the like, the program stored in the ROM (Read Only Memory) 303 is executed accordingly. Alternatively, the CPU 302 may be a program stored in the hard disk 305, a program transmitted from a satellite or a network, received by the communication unit 308, installed in the hard disk 305, or a drive 309. The program read from the attached removable recording medium 311 and installed on the hard disk 305 is loaded into the RAM (Random Access Memory) 302 and executed. As a result, the CPU 302 performs the processing according to the above-described flowchart or the above-described block diagram. The CPU 302 then outputs the processing result from the output unit 306 formed of a liquid crystal display (LCD), a speaker, or the like through, for example, the input / output interface 310, or the like. The data is transmitted from the communication unit 308 and the hard disk 305 is recorded.

여기에서, 본 명세서에 있어서, 컴퓨터에 각종의 처리를 행하게 하기 위한 프로그램을 기술하는 처리 스텝은, 반드시 플로우차트로서 기재된 순서를 따라 시계열로 처리할 필요는 없고, 병렬적 혹은 개별적으로 실행되는 처리(예를 들면, 병렬 처리 혹은 오브젝트에 의한 처리)도 포함하는 것이다.Here, in the present specification, processing steps for describing a program for causing a computer to perform various processes do not necessarily need to be processed in time series in the order described as a flowchart, but are executed in parallel or separately ( For example, parallel processing or object processing).

또한, 프로그램은, 1개의 컴퓨터에 의해 처리되는 것이라도 되고, 복수의 컴퓨터에 의해 분산 처리되는 것이라도 된다. 또한, 프로그램은, 먼 곳의 컴퓨터에 전송되어 실행되는 것이라도 된다.The program may be processed by one computer or may be distributed by a plurality of computers. In addition, the program may be transmitted to a remote computer and executed.

또한, 본 실시의 형태에서는, 부호화 대상의 픽처로서, 프레임 레이트가 30㎐(필드 레이트가 60㎐)인 NTSC 방식의 픽처나, 24㎐의 순차 주사의 픽처를 채용하는 것으로 하였지만, 부호화 대상의 픽처는, 다른 프레임 레이트(필드 레이트)의 픽처를 채용하는 것이 가능하다.In the present embodiment, as the picture to be encoded, an NTSC picture having a frame rate of 30 Hz (field rate of 60 Hz) or a picture having a progressive scan of 24 Hz is adopted, but the picture to be encoded is used. It is possible to employ pictures of different frame rates (field rates).

또한, 본 실시의 형태에서는, 디스플레이(103)로서, 표시 레이트가 30㎐나 60㎐의 순차 주사의 디스플레이를 채용하는 것으로 하였지만, 디스플레이(103)로서는, 다른 표시 레이트의 디스플레이를 채용하는 것이 가능하다.In addition, in the present embodiment, as the display 103, a display having a display rate of 30 Hz or 60 Hz is used as the display 103. However, the display 103 can adopt a display having a different display rate. .

또한, 본 실시의 형태에서는, 기본적으로는, H.264/AVC에 준거한 부호화와 복호를 행하도록 하였지만, 본 발명은, H.264/AVC 이외의, 예를 들면, MPEG나 H.26x 등과 같이, 이산 코사인 변환이나 카루넨?뢰베 변환 등의 직교 변환과, 움직임 보상을 이용하여, 화상의 부호화/복호를 행하는 장치 그 외에 적용 가능하다.In the present embodiment, basically, encoding and decoding in accordance with H.264 / AVC are performed. However, the present invention is, for example, MPEG, H.26x, or the like in addition to H.264 / AVC. Similarly, orthogonal transforms such as discrete cosine transform, Karuneen and Loewe transform, and other devices that perform encoding / decoding of images using motion compensation can be applied.

또한, 도 12에서는, pic_struct의 판정 후에, 주사 플래그인 ct_type을 판정하도록 하였지만, 먼저, ct_type을 판정하고, 그 후에, pic_struct을 판정하도록 할 수도 있다.In Fig. 12, after determining the pic_struct, the ct_type serving as the scanning flag is determined. First, the ct_type may be determined, and then the pic_struct may be determined.

Claims (31)

픽처를 부호화하는 부호화 장치로서,An encoding device for encoding a picture, 상기 픽처를 부호화하는 부호화 수단과,Encoding means for encoding the picture, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 수단과,Picture determination means for determining whether the picture is a picture of interlaced scanning or progressive scanning; 상기 픽처 판정 수단에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 수단과,Flag set means for setting a result of the determination by said picture determining means to a scanning flag indicating a scanning method of a picture; 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 수단과,Information set means for setting information indicating a display method of the picture as display method indication information indicating a display method of a coded picture of interest; 상기 픽처의 부호화 결과와, 상기 주사 플래그 및 상기 표시 방식 지시 정보를 다중화하여 출력하는 다중화 수단Multiplexing means for multiplexing and outputting the coding result of the picture and the scanning flag and the display mode indication information 을 구비하고,And, 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고,The scan flag is information for calculating a clockTimestamp, 상기 부호화 수단은, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 하는 부호화 장치.And when the picture is judged to be redundant, the encoding means gives priority to one of a decision result of an interlaced picture and a decision result of a sequential scan picture. 제1항에 있어서,The method of claim 1, 상기 부호화 수단은, 2-3 풀다운된 화상으로부터 얻어지는 픽처를, MPEG4 AVC/H.264의 규격에 따라 부호화하는 The encoding means encodes a picture obtained from the 2-3 pulled down image according to the MPEG4 AVC / H.264 standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 제1항에 있어서,The method of claim 1, 상기 표시 방식 지시 정보는, H.264/AVC의 규격에 규정되어 있는 pic_struct인 The display method indication information is a pic_struct defined in the H.264 / AVC standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 제1항에 있어서,The method of claim 1, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 ct_type인 The scan flag is ct_type specified in the H.264 / AVC standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 제4항에 있어서,5. The method of claim 4, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is ct_type in clock_timestamp_flag [0] defined in the H.264 / AVC standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 제4항에 있어서,5. The method of claim 4, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는, 1이 세트된 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is a ct_type of clock_timestamp_flag [0] in which 1 is set, as defined in the H.264 / AVC standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 제1항에 있어서,The method of claim 1, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 user data SEI 중의 유저 정의된 정보인 The scan flag is user defined information in user data SEI defined in the H.264 / AVC standard. 것을 특징으로 하는 부호화 장치.And an encoding device. 픽처를 부호화하는 부호화 방법으로서,An encoding method for encoding a picture, 상기 픽처를 부호화하는 부호화 스텝과,An encoding step of encoding the picture, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝과,A picture determination step of determining whether the picture is a picture of interlaced scanning or progressive scanning; 상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝과,A flag set step of setting a result of the determination in the picture determination step to a scan flag indicating a scanning method of a picture; 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝과,An information set step of setting information indicating a display method of the picture as display method indication information indicating a display method of a coded picture of interest; 상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝A multiplexing step of multiplexing and outputting the encoding result of the picture and the scanning flag and display method indication information for each picture 을 포함하고,/ RTI &gt; 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고,The scan flag is information for calculating a clockTimestamp, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 하는 부호화 방법.And when the picture is determined to be redundant, the picture is given priority to one of a decision result called an interlaced scan picture and a decision result called a sequential scan picture. 삭제delete 픽처를 부호화하는 부호화 처리를, 컴퓨터에 행하게 하는 프로그램이 기록되어 있는 프로그램 기록 매체로서,A program recording medium on which a program for causing a computer to perform encoding processing for encoding a picture is recorded. 상기 픽처를 부호화하는 부호화 스텝과,An encoding step of encoding the picture, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 주사 방식의 픽처인지를 판정하는 픽처 판정 스텝과,A picture determination step of determining whether the picture is a picture of interlaced scanning or progressive scanning; 상기 픽처 판정 스텝에서의 판정 결과를, 픽처의 주사 방식을 나타내는 주사 플래그로 세트하는 플래그 세트 스텝과,A flag set step of setting a result of the determination in the picture determination step to a scan flag indicating a scanning method of a picture; 상기 픽처의 표시 방식을 나타내는 정보를, 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보로 세트하는 정보 세트 스텝과,An information set step of setting information indicating a display method of the picture as display method indication information indicating a display method of a coded picture of interest; 상기 픽처의 부호화 결과와, 상기 픽처마다의 상기 주사 플래그 및 표시 방식 지시 정보를 다중화하여 출력하는 다중화 스텝A multiplexing step of multiplexing and outputting the encoding result of the picture and the scanning flag and display method indication information for each picture 을 포함하고,/ RTI &gt; 상기 주사 플래그는 clockTimestamp를 산출하기 위한 정보이고,The scan flag is information for calculating a clockTimestamp, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시키는 것을 특징으로 하는 프로그램이 기록되어 있는 프로그램 기록 매체. And when the picture is judged to be redundant, the program records a program characterized in that the picture is given priority to one of a judgment result called an interlaced scan picture and a judgment result called a sequential scan picture. 삭제delete 삭제delete 픽처를 부호화한 부호화 데이터를 복호하는 복호 장치로서,A decoding device for decoding encoded data obtained by encoding a picture, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 수단과,When the encoding result of the picture, a scanning flag indicating the scanning method for each picture, information for calculating a clockTimestamp, and display method indication information indicating a display method of the coded picture of interest are multiplexed, and the picture is determined to be redundant. Decoding means for decoding the encoded data in which the picture is one of a determination result of an interlaced scan picture and a decision result of a sequential scan picture; 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단과,Recognition means for recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture; 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output means for performing 상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단Repeat output means for repeatedly outputting the frame picture output from the frame picture output means a number of times corresponding to the display mode indication information 을 구비하는 것을 특징으로 하는 복호 장치.Decoding apparatus comprising a. 제13항에 있어서,The method of claim 13, 상기 부호화 데이터는, 2-3 풀다운된 화상으로부터 얻어지는 픽처를, H.264/AVC의 규격에 따라 부호화함으로써 얻어진 것인 The coded data is obtained by encoding a picture obtained from a 2-3 pulldown image according to the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제13항에 있어서,The method of claim 13, 상기 표시 방식 지시 정보는, H.264/AVC의 규격에 규정되어 있는 pic_struct인 The display method indication information is a pic_struct defined in the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제13항에 있어서,The method of claim 13, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 ct_type인 The scan flag is ct_type specified in the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제16항에 있어서,The method of claim 16, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is ct_type in clock_timestamp_flag [0] defined in the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제16항에 있어서,The method of claim 16, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는, 1이 세트된 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is a ct_type of clock_timestamp_flag [0] in which 1 is set, as defined in the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제13항에 있어서,The method of claim 13, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 user data SEI 중의 유저 정의된 정보인 The scan flag is user defined information in user data SEI defined in the H.264 / AVC standard. 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 제13항에 있어서,The method of claim 13, 상기 인식 수단은,The recognition means, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 탑 필드 또는 보텀 필드를 표시하는 것을 지시하고 있는 경우, 상기 픽처가, 비월 주사의 픽처라고 인식하고,When the display mode indication information of the picture indicates that the top field or the bottom field is to be displayed by the picture, the picture is recognized as a picture for interlaced scanning, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 프레임을 표시하는 것, 탑 필드, 보텀 필드, 탑 필드를 그 순으로 표시하는 것, 또는 보텀 필드, 탑 필드, 보텀 필드를 그 순으로 표시하는 것을 지시하고 있는 경우, 상기 픽처가, 순차 주사의 픽처라고 인식하고,The display mode indication information of the picture is displayed by the picture in order of displaying a frame, displaying a top field, a bottom field, and a top field in that order, or displaying a bottom field, a top field, and a bottom field in that order. When instructing to do so, the picture is recognized as a picture of sequential scanning, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 탑 필드를 표시하고 보텀 필드를 표시하는 것, 또는 보텀 필드를 표시하고 탑 필드를 표시하는 것을 지시하고 있는 경우, 상기 주사 플래그에 기초하여, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 On the basis of the scan flag, when the display mode indication information of the picture indicates that the picture indicates displaying a top field and displaying a bottom field, or displaying a bottom field and displaying a top field, Recognizing whether the picture is an interlaced scan or a sequential scan 것을 특징으로 하는 복호 장치.A decoding device, characterized in that. 픽처를 부호화한 부호화 데이터를 복호하는 복호 방법으로서,A decoding method for decoding coded data obtained by encoding a picture, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 스텝과,When the encoding result of the picture, a scanning flag indicating the scanning method for each picture, information for calculating a clockTimestamp, and display method indication information indicating a display method of the coded picture of interest are multiplexed, and the picture is determined to be redundant. A decoding step of decoding the coded data in which the picture is a priority of one of a determination result of an interlaced scan picture and a determination result of a sequential scan picture; 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝과,A recognition step of recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture; 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output step, 상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝A repeating output step of repeatedly outputting the frame picture output in the frame picture output step a number of times corresponding to the display mode indication information 을 포함하는 것을 특징으로 하는 복호 방법.Decoding method comprising a. 삭제delete 픽처를 부호화한 부호화 데이터를 복호하는 복호 처리를, 컴퓨터에 행하게 하는 프로그램이 기록되어 있는 프로그램 기록 매체로서,A program recording medium on which a program for causing a computer to perform decoding processing for decoding coded data obtained by encoding a picture is recorded. 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 스텝과,When the encoding result of the picture, a scanning flag indicating the scanning method for each picture, information for calculating a clockTimestamp, and display method indication information indicating a display method of the coded picture of interest are multiplexed, and the picture is determined to be redundant. A decoding step of decoding the coded data in which the picture is a priority of one of a determination result of an interlaced scan picture and a determination result of a sequential scan picture; 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 스텝과,A recognition step of recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture; 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 스텝과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output step, 상기 프레임 픽처 출력 스텝에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 스텝A repeating output step of repeatedly outputting the frame picture output in the frame picture output step a number of times corresponding to the display mode indication information 을 포함하는 것을 특징으로 하는 프로그램이 기록되어 있는 프로그램 기록 매체. And a program recording medium having a program recorded thereon. 픽처를 부호화한 부호화 데이터를 재생하는 재생 장치로서,A reproduction apparatus for reproducing coded data obtained by encoding a picture, 상기 픽처의 부호화 결과와, 상기 픽처마다의 주사 방식을 나타내고 clockTimestamp를 산출하기 위한 정보인 주사 플래그, 및 부호화 주목 픽처의 표시 방식을 지시하는 표시 방식 지시 정보가 다중화되고, 픽처가 중복으로 판정되는 경우, 상기 픽처가 비월 주사 픽처라고 하는 판정 결과와 순차 주사 픽처라고 하는 판정 결과 중 하나를 우선시킨 상기 부호화 데이터를 복호하는 복호 수단과,When the encoding result of the picture, a scanning flag indicating the scanning method for each picture, information for calculating a clockTimestamp, and display method indication information indicating a display method of the coded picture of interest are multiplexed, and the picture is determined to be redundant. Decoding means for decoding the encoded data in which the picture is one of a determination result of an interlaced scan picture and a decision result of a sequential scan picture; 상기 픽처의 상기 주사 플래그와 표시 방식 지시 정보에 기초하여, 그 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는 인식 수단과,Recognition means for recognizing which picture is interlaced scanning or sequential scanning based on the scanning flag and display mode indication information of the picture; 상기 픽처가, 비월 주사의 픽처라고 인식된 경우, 그 픽처를, 필드 보간함으로써, 프레임 픽처를 생성하여 출력하고, 상기 픽처가, 순차 주사의 픽처라고 인식된 경우, 그 픽처를, 프레임 픽처로서 출력하는 프레임 픽처 출력 수단과,When the picture is recognized as a picture for interlaced scanning, the picture is generated and outputted by field interpolation by field interpolation, and when the picture is recognized as a picture for sequential scanning, the picture is output as a frame picture. A frame picture output means for performing 상기 프레임 픽처 출력 수단에서 출력되는 상기 프레임 픽처를, 상기 표시 방식 지시 정보에 대응한 횟수만큼 반복하여 출력하는 반복 출력 수단Repeat output means for repeatedly outputting the frame picture output from the frame picture output means a number of times corresponding to the display mode indication information 을 구비하는 것을 특징으로 하는 재생 장치.And a reproducing apparatus. 제24항에 있어서,25. The method of claim 24, 상기 부호화 데이터는, 2-3 풀다운된 화상으로부터 얻어지는 픽처를, H.264/AVC의 규격에 따라 부호화함으로써 얻어진 것인 The coded data is obtained by encoding a picture obtained from a 2-3 pulldown image according to the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제24항에 있어서,25. The method of claim 24, 상기 표시 방식 지시 정보는, H.264/AVC의 규격에 규정되어 있는 pic_struct인 The display method indication information is a pic_struct defined in the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제24항에 있어서,25. The method of claim 24, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 ct_type인 The scan flag is ct_type specified in the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제27항에 있어서,28. The method of claim 27, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is ct_type in clock_timestamp_flag [0] defined in the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제27항에 있어서,28. The method of claim 27, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는, 1이 세트된 clock_timestamp_flag[0] 중의 ct_type인 The scan flag is a ct_type of clock_timestamp_flag [0] in which 1 is set, as defined in the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제24항에 있어서,25. The method of claim 24, 상기 주사 플래그는, H.264/AVC의 규격에 규정되어 있는 user data SEI 중의 유저 정의된 정보인 The scan flag is user defined information in user data SEI defined in the H.264 / AVC standard. 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that. 제24항에 있어서,25. The method of claim 24, 상기 인식 수단은,The recognition means, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 탑 필드 또는 보텀 필드를 표시하는 것을 지시하고 있는 경우, 상기 픽처가, 비월 주사의 픽처라고 인식하고,When the display mode indication information of the picture indicates that the top field or the bottom field is to be displayed by the picture, the picture is recognized as a picture for interlaced scanning, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 프레임을 표시하는 것, 탑 필드, 보텀 필드, 탑 필드를 그 순으로 표시하는 것, 또는 보텀 필드, 탑 필드, 보텀 필드를 그 순으로 표시하는 것을 지시하고 있는 경우, 상기 픽처가, 순차 주사의 픽처라고 인식하고,The display mode indication information of the picture is displayed by the picture in order of displaying a frame, displaying a top field, a bottom field, and a top field in that order, or displaying a bottom field, a top field, and a bottom field in that order. When instructing to do so, the picture is recognized as a picture of sequential scanning, 상기 픽처의 표시 방식 지시 정보가, 상기 픽처에 의해, 탑 필드를 표시하고 보텀 필드를 표시하는 것, 또는 보텀 필드를 표시하고 탑 필드를 표시하는 것을 지시하고 있는 경우, 상기 주사 플래그에 기초하여, 상기 픽처가, 비월 주사 또는 순차 주사 중 어느 픽처인지를 인식하는On the basis of the scan flag, when the display mode indication information of the picture indicates that the picture indicates displaying a top field and displaying a bottom field, or displaying a bottom field and displaying a top field, Recognizing whether the picture is an interlaced scan or a sequential scan 것을 특징으로 하는 재생 장치.A playback apparatus, characterized in that.
KR1020067025866A 2004-06-10 2005-06-03 Encoder apparatus, encoding method, decoder apparatus, decoding method, recording medium, and playback apparatus KR101154743B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2004-00172430 2004-06-10
PCT/JP2005/010634 WO2005122584A1 (en) 2004-06-10 2005-06-03 Encoder apparatus, encoding method, decoder apparatus, decoding method, program, program recording medium, data recording medium, data structure, and playback apparatus

Publications (2)

Publication Number Publication Date
KR20070030825A KR20070030825A (en) 2007-03-16
KR101154743B1 true KR101154743B1 (en) 2012-07-06

Family

ID=43655335

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020067025866A KR101154743B1 (en) 2004-06-10 2005-06-03 Encoder apparatus, encoding method, decoder apparatus, decoding method, recording medium, and playback apparatus

Country Status (1)

Country Link
KR (1) KR101154743B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011021912A2 (en) * 2009-08-21 2011-02-24 에스케이텔레콤 주식회사 Method and apparatus for interpolating reference picture and method and apparatus for encoding/decoding image using same
KR101678968B1 (en) 2009-08-21 2016-11-25 에스케이텔레콤 주식회사 Reference Picture Interpolation Method and Apparatus and Video Coding Method and Apparatus Using Same
JP5336003B2 (en) 2011-06-15 2013-11-06 パナソニック株式会社 Video encoding device
WO2012172811A1 (en) 2011-06-17 2012-12-20 パナソニック株式会社 Video decoding device and video decoding method
USD910358S1 (en) 2018-12-25 2021-02-16 Anji Fuhe Furniture Co., Ltd. Seat

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10322664A (en) 1997-05-16 1998-12-04 Toshiba Corp Computer system and video decoder used in the system
JP2003299036A (en) 2002-04-05 2003-10-17 Matsushita Electric Ind Co Ltd Image decoder, image decoding method, program and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10322664A (en) 1997-05-16 1998-12-04 Toshiba Corp Computer system and video decoder used in the system
JP2003299036A (en) 2002-04-05 2003-10-17 Matsushita Electric Ind Co Ltd Image decoder, image decoding method, program and medium

Also Published As

Publication number Publication date
KR20070030825A (en) 2007-03-16

Similar Documents

Publication Publication Date Title
AU2005253425B8 (en) Encoding Apparatus, Encoding Method, Decoding Apparatus, Decoding Method, Program, Program Recording Medium, Data Recording Medium, Data Structure, and Reproducing Apparatus
US8582659B2 (en) Determining a decoding time stamp from buffer fullness
US8107531B2 (en) Signaling and repeat padding for skip frames
US20060104356A1 (en) Timing for decoder buffer examination
US9071844B2 (en) Motion estimation with motion vector penalty
US7822123B2 (en) Efficient repeat padding for hybrid video sequence with arbitrary video resolution
US8903196B2 (en) Video presentation at fractional speed factor using time domain interpolation
WO2003036808A1 (en) System and method for transcoding
US7839933B2 (en) Adaptive vertical macroblock alignment for mixed frame video sequences
KR100818148B1 (en) Sending progressive video sequences suitable for mpeg and other data formats
KR101154743B1 (en) Encoder apparatus, encoding method, decoder apparatus, decoding method, recording medium, and playback apparatus
Haskell et al. Mpeg video compression basics
JP3852366B2 (en) Encoding apparatus and method, decoding apparatus and method, and program
JP2933561B2 (en) Video transcoder
JP2820630B2 (en) Image decoding device
JPH10276437A (en) Method and device for encoding/decoding hierarchical moving image signal
JP4320509B2 (en) Video re-encoding apparatus and method
JP4184223B2 (en) Transcoder
JPH08265759A (en) Compression signal switching device
JP2003299036A (en) Image decoder, image decoding method, program and medium
JPH1141591A (en) Image decoding device
JPH0767113A (en) Inter-frame band compressing signal switching circuit
JP2000197045A (en) Digital broadcast reproduction system
JPH11191885A (en) Moving image decoder
JPH11136687A (en) Moving image reproducing device and its method

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
LAPS Lapse due to unpaid annual fee