KR101549017B1 - Image codec system, image encoding method, and image decoding method for supporting spatial random access - Google Patents

Image codec system, image encoding method, and image decoding method for supporting spatial random access Download PDF

Info

Publication number
KR101549017B1
KR101549017B1 KR1020140162905A KR20140162905A KR101549017B1 KR 101549017 B1 KR101549017 B1 KR 101549017B1 KR 1020140162905 A KR1020140162905 A KR 1020140162905A KR 20140162905 A KR20140162905 A KR 20140162905A KR 101549017 B1 KR101549017 B1 KR 101549017B1
Authority
KR
South Korea
Prior art keywords
image
piece
encoding
scanning direction
images
Prior art date
Application number
KR1020140162905A
Other languages
Korean (ko)
Other versions
KR20150003692A (en
Inventor
문주희
박민철
Original Assignee
세종대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 세종대학교산학협력단 filed Critical 세종대학교산학협력단
Priority to KR1020140162905A priority Critical patent/KR101549017B1/en
Publication of KR20150003692A publication Critical patent/KR20150003692A/en
Application granted granted Critical
Publication of KR101549017B1 publication Critical patent/KR101549017B1/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/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/174Methods 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 slice, e.g. a line of blocks or a group of blocks
    • 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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • 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/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements

Abstract

본 발명은 공간임의접근을 지원하는 영상 코덱 시스템, 영상 부호화 방법, 및 영상 복호화 방법을 제안한다. 본 발명의 일 실시예에 따른 영상 코덱 시스템은 다수의 조각 영상 각각을 시작 위치가 다른 2개 이상의 스캔 방향으로 그 블록들을 순차적으로 부호화함으로써 조각 영상 각각에 대하여 2개 이상의 비트스트림을 생성하고, 대상 영상의 위치 정보에 기초하여 대상 영상과 겹치는 영역을 갖는 조각 영상 각각의 상기 2개 이상의 비트스트림 중에서 하나의 비트스트림을 추출하여 전송하기 위한 제1 부호화 서버 및 제1 부호화 서버로부터 전송되는 비트스트림을 그 스캔 방향으로 복호화하여 대상 영상을 재구성하는 영상 복호화 장치를 포함한다. 본 발명에 의하면, 각 조각 영상을 여러 가지 스캔 방향으로 부호화를 수행한 후에, 각 조각 영상에 대한 대상 영상의 상대적인 위치를 고려하여, 전송 데이터의 양을 최소로 할 수 있도록 선택된 스캔 방향에 따라 부호화된 각 조각 영상의 전부 또는 일부에 대한 비트스트림만을 추출하여 전송함으로써, 전송 및 복호화 효율을 향상시킬 수 있다.The present invention proposes an image codec system, an image encoding method, and an image decoding method that support spatial random access. The image codec system according to an embodiment of the present invention generates two or more bit streams for each piece image by sequentially encoding each of the plurality of fragment images in two or more scanning directions having different starting positions, A first encoding server for extracting and transmitting one bit stream among the two or more bit streams of each piece image having an area overlapping the target image based on the position information of the image and a bit stream transmitted from the first encoding server And decodes the image in the scanning direction to reconstruct a target image. According to the present invention, after each piece image is encoded in various scanning directions, considering the relative position of the target image with respect to each piece image, encoding is performed according to the selected scanning direction so as to minimize the amount of transmission data And extract and transmit only bitstreams for all or part of each piece image, thereby improving transmission and decoding efficiency.

Figure R1020140162905
Figure R1020140162905

Description

공간임의접근을 지원하는 영상 코덱 시스템, 영상 부호화 방법 및 복호화 방법{Image codec system, image encoding method, and image decoding method for supporting spatial random access}[0001] The present invention relates to an image codec system, an image encoding method, and a decoding method for supporting spatial random access,

본 발명은 영상 코덱 시스템에 관한 것으로, 보다 구체적으로 공간임의접근(spatial random access)을 지원하는 영상 코덱 시스템, 영상 부호화 방법, 및 영상 복호화 방법에 관한 것이다.The present invention relates to an image codec system, and more particularly, to an image codec system, an image encoding method, and an image decoding method that support spatial random access.

최근 방송의 디지털화와 더불어 방송과 통신의 융합이 활발히 진행되고 있다. 이에 따라서, 방송 환경도 기존의 단방향 수신에서 양방향 통신이 가능해짐과 아울러 이종망의 연동과 다양한 단말기를 수용하는 복잡한 형태로 변화하고 있다. 이러한 흐름을 반영하는 대표적인 예로 유비쿼터스 텔레비젼(TV)을 들 수 있다. 유비쿼터스 TV란 디지털 기기가 인터넷에 연결되어 있으면 언제 어디서나 볼 수 있는 TV를 말한다. 유비쿼터스 TV를 시청하기 위해서는 유비쿼터스 TV용 튜너를 케이블 또는 지상파 TV의 안테나에 연결하고 또한 이를 초고속 인터넷선에 연결하면 된다. 이러한 유비쿼터스 TV를 이용하면, 노트북, 개인 휴대용 정보 단말기(PDA), 와이브로 단말기 등의 휴대용 단말기를 이용해 원격으로 유비쿼터스 TV용 튜너를 조정해 TV 프로그램만이 아니라, 영화, 사진, 애니메이션 등의 다양한 미디어를 볼 수 있다. 이러한 유비쿼터스 TV를 이용하는 서비스는 사용자가 원하는 형태의 단말기를 이용하여 언제, 어디서나 원하는 정보를 받아 볼 수 있다는 점에서 차세대 서비스로 급부상하고 있다.Recently, digitalization of broadcasting and fusion of broadcasting and communication are actively proceeding. Accordingly, the broadcasting environment has been changed into a complex form in which bidirectional communication is possible in the conventional unidirectional reception, and interworking of heterogeneous networks and accommodating various terminals. A typical example that reflects this trend is ubiquitous television (TV). Ubiquitous TV refers to a TV that can be viewed whenever and wherever a digital device is connected to the Internet. To watch ubiquitous TV, you connect a tuner for ubiquitous TV to the antenna of cable or terrestrial TV and connect it to high-speed internet line. By using such a ubiquitous TV, it is possible to remotely control a ubiquitous TV tuner using a portable terminal such as a notebook computer, a personal digital assistant (PDA) or a WiBro terminal, so that a variety of media such as movies, can see. The service using the ubiquitous TV is rapidly emerging as a next-generation service because the user can receive desired information anytime and anywhere by using a terminal of a desired form.

그런데 다양한 단말기에서 정보를 공유할 수 있는 유비쿼터스 환경은 단말기간의 해상도 불일치라는 새로운 문제를 만들어 내고 있다. 일례로, 최근의 고화질 텔레비젼(HDTV)의 경우에는 1920×1080의 해상도까지 지원하고 있고, 미국 중심의 영화 업계에서 새롭게 기획하고 있는 영화 전용 디지털 포맷은 4K×2K 크기의 디지털 시네마의 영상을 기본으로 하고 있다. 반면에 PDA, 휴대용 멀티미디어 플레이어(PMP), 와이브로 단말기 등은 휴대용으로 만들기 때문에 CIF(Common Intermediate Format) 또는 QCIF(Quater Common Intermediate Format) 크기까지의 해상도만을 지원한다.  However, the ubiquitous environment that can share information in various terminals is creating a new problem of resolution inconsistency between terminals. For example, the latest high definition television (HDTV) supports resolutions up to 1920 × 1080, and the movie-specific digital format newly planned by the US-based movie industry is based on 4K × 2K digital cinema . On the other hand, PDAs, portable multimedia players (PMPs) and WiBro handsets are portable, so they only support resolutions up to CIF (Common Intermediate Format) or QCIF (Quater Common Intermediate Format).

전술한 해상도 불일치라는 문제를 해결하는 한 가지 방법은 TV 등으로 수신된 고해상도의 영상을 다운샘플링(down-sampling)한 후에 저해상도의 영상을 휴대용 단말기로 전송하는 것이다. 그러나 다운샘플링된 저해상도 영상은 TV를 직접 시청하는 것과 비교하여 사용자에게 저화질의 화면을 제공하기 때문에, 휴대용 단말기를 통해서도 고화질의 화면을 시청하고자 하는 사용자의 욕구를 만족시킬 수가 없다. 그리고 뮤직 비디오, 축구와 같은 스포츠 경기, 홈쇼핑, 네비게이션 등과 같은 기기를 이용하는 사용자는 자신이 관심이 있는 영상의 특정 부분을 자세하게 보기를 원할 경우도 있는데, 전술한 다운샘플링 방법으로는 이러한 사용자의 욕구도 만족시키기가 어렵다.One method for solving the above-mentioned problem of resolution mismatch is to down-sample a high-resolution image received by a TV or the like, and then transmit a low-resolution image to the mobile terminal. However, since the downsampled low-resolution image provides a low-quality screen to the user as compared with the case of directly watching the TV, the user can not satisfy the desire of the user who wants to view the high-quality screen through the portable terminal. A user using a device such as a music video, a sports game such as a soccer, a home shopping, a navigation, or the like may wish to view a specific part of an image of interest in detail. In the above-described downsampling method, It is difficult to satisfy.

이러한 문제점을 해결하기 위하여 제시된 방법 중의 하나가 공간임의접근(Spatial Random Access)이다. 공간임의접근은 영상 중의 임의의 위치에 있는 일부 영상만을 전송, 복원, 및 검색이 가능하도록 하기 위한 것으로서, 이를 이용하면 전체 영상에 관한 데이터가 아니라 사용자의 의도 및 디스플레이 윈도우의 크기를 고려한 특정 부분에 관한 데이터만을 전송하여 복호화하는 지역 복호화(partial decoding)가 가능하다. 따라서 공간임의접근을 지원하는 영상 코덱 시스템을 이용하면 휴대용 단말기로도 HDTV와 같은 고화질의 영상을 보는 것이 가능해질 수 있다.One of the proposed methods to solve this problem is Spatial Random Access. The spatial random access is intended to enable transmission, restoration and retrieval of only a part of an image at an arbitrary position in the image. If this is used, not only the data related to the whole image but also a specific part considering the user's intention and the size of the display window It is possible to perform partial decoding by transmitting only the data related to the data. Therefore, by using an image codec system supporting spatial random access, it becomes possible to view a high-quality image such as an HDTV with a portable terminal.

휴대용 단말기의 다양화 및 대중화로 인하여 이러한 공간임의접근을 지원하는 영상 코덱 시스템은 그 필요성이 점점 증가하고 있다. 현재 엠펙(MPEG)의 하부 그룹(Subgroup) 중의 한 곳에서는 다시점 비디오 코딩(Multi-view Video Coding, MVC)과 관련하여 F-TV(Free- view-point TV)와 3차원 TV를 타깃 어플리케이션(Target Application)으로 표준화가 진행되고 있는데, 2006년 4월에 개최된 76차 엠펙 스위스 회의(76th MPEG Swiss Meeting)의 결과로 영상의 일부분만을 접근 가능하도록 하는 프리 뷰 스케일러빌러티(Free View Scalabillity)를 요구안으로 내놓았다. 프리 뷰 스케일러빌러티란 다시점 비디오 코딩에서 각각의 카메라 내의 일정 부분만을 복호화 가능하게 할 수 있는 기술이다.Due to diversification and popularization of portable terminals, there is an increasing need for an image codec system supporting this random access. In one of the subgroups of MPEG, currently, free-view-point TV (F-TV) and three-dimensional TV are used in relation to multi-view video coding (MVC) Target Application). As a result of the 76th MPEG Swiss Meeting held in April 2006, the Free View Scalability, which makes only a part of the image accessible, It came out as a proposal. The pre-view scalability is a technique capable of decoding only a portion of each camera in multi-view video coding.

또한, 사용자에게 더 넓은 시야를 제공하기 위해 만든 파노라마 영상(panoramic image)인 경우에도 이러한 공간임의접근은 필수적으로 적용이 되어야 할 것으로 여겨진다. 파노라마 영상은 다양한 시점에서 촬영된 영상들을 단일 영상으로 재구성한 영상이기 때문에 영상의 크기가 일반 영상의 수십 배 이상으로 증가한다. 이러한 파노라마 영상의 전체를 전송하고 복호화하는 대신 공간임의접근을 지원하는 영상 코덱 시스템을 이용하여 그 일부분만을 전송하고 복호화할 수 있다면, 고화질 영상을 시청하고자 하는 사용자의 욕구를 충족시킬 뿐만 아니라 전송의 측면에서 상당히 효율적임을 알 수 있다. In addition, even in the case of a panoramic image created to provide a wider field of view to the user, it is considered that such a random access should be applied to the image. Since the panoramic image is a reconstructed image of a single image taken at various viewpoints, the size of the panoramic image is increased to several tens times as large as that of a general image. If a part of the panorama image can be transmitted and decoded by using an image codec system supporting spatial random access instead of transmitting and decoding the entire panorama image, it is possible to not only satisfy a user's desire to view a high-quality image, Which is quite effective in the present invention.

그런데 현재까지 개발되거나 제안된 영상 코덱 시스템과 영상 부호화/복호화 방법으로는 이러한 공간임의접근을 효율적으로 실현하기가 어렵다. 그리고 현재까지는 여러 가지 단말기가 공존하는 방송이나 통신 서비스의 필요성이 높지 않았기 때문에 이러한 공간임의접근을 실현할 수 있는 구체적인 방법에 대한 폭 넓은 연구도 이루어지지 않았다. 다만, 최근에 이에 대한 연구가 서서히 진행되고 있는데, 대표적인 것으로 Carsten Grnheit 등에 의하여 제안된 논문 "Efficient Representation and Interactive Streaming"(Proc. ICIP 2002, IEEE Internation Conference on Image Processing, Rochester, NY, USA, September 22-25, 2002)이 있다.However, it is difficult to realize this spatial random access efficiently with the video codec system and image coding / decoding method that have been developed or proposed so far. Since there is no need for broadcast or communication services in which various terminals coexist, there have been no extensive researches on specific methods for realizing this random access. In recent years, however, research has been progressing slowly. Representative examples include "Efficient Representation and Interactive Streaming" proposed by Carsten Grnheit et al. (Proc. ICIP 2002, IEEE International Conference on Image Processing, Rochester, -25, 2002).

상기 논문에서는 전체 영상을 여러 개의 조각 영상으로 나누어서 각 조각 영상 단위로 부호화하는 방법을 제안하고 있으며, 이렇게 부호화된 조각 영상은 각각 조각 영상 단위로 전송 및 복호화가 가능하다. 따라서 사용자가 가진 디스플레이의 크기와 전체 영상에서 사용자가 원하는 영역(대상 영상)을 고려하여, 대상 영상을 디스플레이하기 위하여 필요한 부분의 조각 영상만을 전송하여 복호화 할 수 있게 한다.In this paper, we propose a method of dividing a whole image into several pieces of image and encoding them in units of pieces. Each piece of the encoded piece of image can be transmitted and decoded in units of pieces of image. Therefore, considering the size of the display of the user and the area (target image) desired by the user in the entire image, only the fragment image necessary for displaying the target image can be transmitted and decoded.

도 1a 내지 도 1c에는 상기 논문에서 제시한 방법에 의할 경우에, 조각 영상의 크기와 부호화해서 전송해야 하는 영역의 관계를 보여주는 도면이 도시되어 있다. 도 1a 내지 도 1c를 참조하면, 대상 영상의 크기가 일정한 경우에 조각 영상의 단위 크기가 작아질수록 부호화해서 전송해야 하는 전송 영역이 상대적으로 작아진다는 것을 알 수 있다. 이것은 상기 논문에서 제시한 방법은 대상 영상이 조각 영상의 일부와 겹치는 경우에도 그 조각 영상의 전부를 부호화하여 전송하기 때문이다. 그리고 도 1c에 도시된 바와 같이, 조각 영상의 크기를 아주 작게 하면 대상 영상의 크기와 전송 영역의 크기가 거의 비슷하게 된다.FIGS. 1A to 1C are diagrams showing the relationship between the size of a piece image and the area to be encoded and transmitted in case of using the method disclosed in the above paper. Referring to FIGS. 1A to 1C, it can be seen that as the size of the target image is constant, the smaller the unit size of the sculptured image is, the smaller the transmission area to be encoded and transmitted is. This is because the method presented in the above paper encodes and transmits all of the sculptured images even when the target image overlaps part of the sculptured image. As shown in FIG. 1C, if the size of the sculptured image is made very small, the size of the target image and the size of the transmission area become substantially similar.

그런데 일반적인 영상 부호화 기술들은 압축율을 높이기 위하여 부호화하려는 현재 블록의 주위에 위치하는 주변 블록의 복호화된 데이터를 이용한다. 통상적으로 이용되는 래스터 스캔(raster scan) 순서에 따라서 블록들을 순차적으로 부호화를 할 경우에는, 부호화하려는 현재 블록의 좌측 및 상부에 위치한 블록의 부호화되어 다시 복호화된 재구성 데이터가 일반적으로 이용된다. 따라서 조각 영상의 단위 크기가 작아지면 작아질수록 그 만큼 주변 블록의 재구성 데이터들을 이용할 수 없는 문제가 발생하며, 그 만큼 부호화 효율이 낮아지게 된다. 결국, 조각 영상의 단위 크기를 일정 크기 이하(예컨대, 도 1c와 같은 크기)로 줄이는 것은 부호화 효율을 고려할 때 바람직하지 못하다.However, general image coding techniques use decoded data of neighboring blocks located around the current block to be encoded in order to increase the compression ratio. When blocks are sequentially encoded in accordance with a raster scan sequence that is commonly used, reconstructed reconstructed data of blocks that are located at the left and above the current block to be encoded are generally used. Therefore, as the unit size of the sculptured image becomes smaller, the reconstruction data of the neighboring blocks can not be used by that much, and the encoding efficiency is lowered accordingly. As a result, it is not preferable to reduce the unit size of the sculptured image to a certain size or smaller (for example, the size as shown in FIG. 1C) in consideration of the coding efficiency.

따라서 부호화 효율을 높이기 위해서는 도 1a 또는 도 1b의 경우와 같이 조각 영상의 크기를 일정 크기 이상으로 하는 것이 바람직하다. 그런데, 상기 논문에 개시된 방법에 따라서 부호화를 할 경우에는 조각 영상의 크기가 증가하면 다른 문제가 발생한다. 보다 구체적으로, 대상 영상이 여러 개의 조각 영상에 걸쳐 있는 등의 이유로 특정 조각 영상의 일부와 겹치는 경우에도 그 조각 영상 전체에 대한 부호화, 전송 및 복호화를 해야만 하는 문제가 생긴다. 이러한 문제는 조각 영상의 크기가 클수록 및/또는 대상 영상이 조각 영상의 작은 부분과 겹칠수록 더 심각해진다.Therefore, in order to increase the coding efficiency, it is preferable to set the size of the piece image to a predetermined size or more as in the case of FIG. 1A or FIG. 1B. However, when encoding is performed according to the method disclosed in the above paper, another problem arises when the size of the fragment image increases. More specifically, even when a target image overlaps with a part of a specific piece of image for reasons such as spanning several pieces of image, there arises a problem of encoding, transmitting, and decoding the whole fragmented image. This problem becomes more serious as the size of the sculptured image is larger and / or the target image overlaps with a smaller portion of the sculptured image.

이러한 문제가 발생하는 원인은, 상기 논문에 개시된 방법을 포함하여 현재의 일반적인 영상 부호화 기술들이 래스터 스캔 방향에 따라서 각 조각 영상의 왼쪽 상단에 위치한 블록에서부터 순차적으로 부호화를 실시하기 때문이다. 래스터 스캔 방향은 도 2에 도시되어 있는데, 이에 의하면 가장 왼쪽에 위치한 블록에서부터 오른쪽으로 한 행의 블록들을 부호화한 후에, 다시 그 하부 행의 가장 왼쪽에 위치한 블록에서부터 오른쪽으로 부호화를 한다. 그리고 래스터 스캔 방향으로 부호화된 매크로블록들은 복호화 역시 래스터 스캔 방향으로 해야 된다. 결국, 대상 영상이 조각 영상의 오른쪽의 아래쪽에 걸쳐 있게 되면, 대상 영상에 포함되지 않는 불필요한 부분에 대한 부호화, 전송 및 복호화가 증가하게 된다. 최악의 경우, 대상 영상이 조각 영상의 오른쪽 맨 아래 한 개의 매크로블록에만 걸쳐 있는 경우라도 그 조각 영상 전체를 부호화, 전송 및 복호화해야 하는 문제가 있다.The reason for such a problem is that the conventional general image encoding techniques including the method disclosed in the above paper sequentially encode blocks from the upper left corner of each piece image according to the raster scan direction. The raster scan direction is shown in FIG. 2, in which one row of blocks is encoded from the leftmost block to the right, and then the rightmost block is encoded from the leftmost row to the right. The macroblocks encoded in the raster scan direction must also be decoded in the raster scan direction. As a result, if the target image is located on the lower right side of the sculptured image, encoding, transmission and decoding for unnecessary portions not included in the target image are increased. In the worst case, even if the target image covers only one macroblock at the bottom right of the sculptured image, there is a problem that the sculptured image as a whole must be encoded, transmitted, and decoded.

전술한 바와 같이, 전체 영상을 조각 영상으로 나누고 모든 조각 영상에 대하여 일률적으로 래스터 스캔 방향에 따라서 부호화하는 기존의 영상 부호화 방법은 조각 영상의 크기를 작게 줄여야만 공간임의접근의 효율을 높일 수 있다. 하지만 조각 영상의 크기를 줄이는 것은 부호화, 전송 및 복호화 효율을 크게 떨어뜨린다는 점에서 문제가 있다. 또한, 조각 영상의 크기를 크게 하고 모든 조각 영상을 하나의 스캔 방향에 따라서 부호화를 수행하면 특정 조각 영상의 경우에 불필요한 영역에 대한 전송 및 복호화라는 문제를 발생시킨다. As described above, in the conventional image coding method that divides the whole image into a sculptured image and uniformly scans all the sculptured images according to the raster scan direction, the size of the sculptured image must be reduced to a small extent to improve the efficiency of the random access. However, reducing the size of the sculptured image has a problem in that the efficiency of encoding, transmission and decoding is greatly reduced. In addition, if the size of the sculptured image is increased and all the sculptured images are encoded according to one scanning direction, there arises a problem of transmission and decoding of unnecessary areas in the case of a specific sculptured image.

이러한 문제들을 해결하기 위해 본 발명에서는 공간임의접근 방법에 관한 전술한 종래 기술의 문제점을 해결하여 부호화 및 전송 효율을 향상시키고 한정된 전송 채널을 효율적으로 이용할 수 있으며, 휴대용 단말기와 같은 기존의 저해상도 디스플레이 기기에서도 고해상도의 영상을 시청할 수 있는 공간임의접근 방법을 지원하는 영상 코덱 시스템, 영상 부호화 방법 및 영상 복호화 방법을 제안한다.In order to solve these problems, the present invention solves the above-described problems of the prior art related to the spatial random access method, thereby improving coding and transmission efficiency, efficiently using a limited transmission channel, We propose an image codec system, an image coding method and a video decoding method that support a spatial random access method for viewing high resolution images.

상기한 기술적 과제를 달성하기 위한 본 발명의 일 실시예에 따른 영상 코덱 시스템은 다수의 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 시스템으로서, 상기 다수의 조각 영상 각각을 시작 위치가 다른 2개 또는 그 이상의 스캔 방향에 따라 그 블록들을 순차적으로 부호화함으로써 상기 조각 영상 각각에 대하여 2개 또는 그 이상의 비트스트림을 생성하고, 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 2개 또는 그 이상의 비트스트림 중에서 하나의 비트스트림을 추출하기 위한 제1 부호화 서버, 및 상기 제1 부호화 서버로부터 전송되는 상기 비트스트림을 그 스캔 방향에 따라 복호화하여 상기 대상 영상을 재구성하는 영상 복호화 장치를 포함한다.According to an aspect of the present invention, there is provided a system for supporting a spatial random access to a target image, which is a part of a whole image partitioned into a plurality of sculptured images, By sequentially encoding the blocks in accordance with two or more scan directions having different start positions, thereby generating two or more bit streams for each of the piece images, and based on the position information of the target images, A first encoding server for extracting one bitstream from among the two or more bitstreams of each of the piece images having an overlapping region, and a second encoding server for extracting the bitstream transmitted from the first encoding server, And a reconstructing unit that reconstructs the object image .

상기 실시예의 일 측면에 의하면, 상기 제1 부호화 서버는 상기 조각 영상 각각에 대하여 상기 2개 이상의 비트스트림을 생성하기 위한 인코더 유닛, 상기 영상 부호화 장치에서 생성된 비트스트림을 저장하기 위한 메모리 유닛, 및 상기 메모리 유닛에 저장된 상기 조각 영상 각각의 상기 2개 이상의 비트스트림 중에서 하나의 비트스트림을 추출하기 위한 비트스트림 추출 유닛을 포함할 수 있다. 상기 실시예의 다른 측면에 의하면, 상기 영상 코덱 시스템은 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각을 래스터 스캔 방향에 따라 부호화하여 비트스트림을 생성하고, 생성된 상기 비트스트림을 전송하기 위한 제2 부호화 서버를 더 포함하고, 상기 복호화 장치는 상기 제2 부호화 서버로부터 전송되는 상기 비트스트림도 래스터 스캔 방향에 따라 복호화하여 상기 대상 영상을 재구성할 수 있다. 이 경우, 상기 대상 영상의 위치 정보는 상기 복호화 장치로부터 상기 제1 부호화 서버 또는 상기 제2 부호화 서버로 전송될 수 있다.According to an aspect of the embodiment, the first encoding server includes an encoder unit for generating the two or more bit streams for each piece image, a memory unit for storing a bit stream generated in the image encoding apparatus, And a bitstream extraction unit for extracting one bitstream from the two or more bitstreams of each piece image stored in the memory unit. According to another aspect of the present invention, the image codec system generates a bit stream by encoding each piece image having an area overlapping the target image based on position information of the target image according to a raster scan direction, And a second encoding server for transmitting the bitstream, wherein the decoding apparatus decodes the bitstream transmitted from the second encoding server according to a raster scan direction to reconstruct the target image. In this case, the location information of the target image may be transmitted from the decoding apparatus to the first encoding server or the second encoding server.

상기한 기술적 과제를 달성하기 위한 본 발명의 다른 측면에 따른 영상 코덱 시스템은 다수의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 시스템으로서, 상기 다수의 조각 영상 각각을 상기 직사각형의 4개의 꼭지점에 인접한 블록들 각각을 시작 위치로 하고 그 시작 위치에 인접한 블록을 순차적으로 부호화하는 스캔 방향에 따라 부호화함으로써 상기 조각 영상 각각에 대하여 4개의 비트스트림을 생성하고, 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 4개의 비트스트림 중에서 하나의 비트스트림을 추출하기 위한 제1 부호화 서버, 및 상기 제1 부호화 서버로부터 전송되는 상기 비트스트림을 그 스캔 방향에 따라 복호화하여 상기 대상 영상을 재구성하는 영상 복호화 장치를 포함한다.According to another aspect of the present invention, there is provided a system for supporting spatial random access to a target image, which is a part of an entire image partitioned into a plurality of rectangular piece images, Generates four bit streams for each of the fragmented images by coding each of the blocks adjacent to four vertexes of the rectangle as a start position and encoding the blocks adjacent to the start position in accordance with a scan direction for sequentially encoding the blocks, A first encoding server for extracting one bit stream among the four bit streams of each piece image having an area overlapping with the target image based on position information of the image, Decodes the stream in accordance with the scanning direction, And a video decoding apparatus for reconstructing the image.

상기 실시예의 일 측면에 의하면, 상기 제1 부호화 서버는 상기 조각 영상 각각에 대하여 상기 4개의 비트스트림을 생성하기 위한 인코더 유닛, 상기 영상 부호화 장치에서 생성된 비트스트림을 저장하기 위한 메모리 유닛, 및 상기 메모리 유닛에 저장된 상기 조각 영상 각각의 상기 4개의 비트스트림 중에서 하나의 비트스트림을 선택하여 추출하기 위한 비트스트림 추출기를 포함할 수 있다. According to an aspect of the embodiment, the first encoding server includes an encoder unit for generating the four bit streams for each piece image, a memory unit for storing a bit stream generated in the image encoding apparatus, And a bitstream extractor for selecting and extracting one bitstream among the four bitstreams of each piece image stored in the memory unit.

상기 실시예의 다른 측면에 의하면, 상기 영상 코덱 시스템은 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각을 래스터 스캔 방향에 따라 부호화하여 비트스트림을 생성하고, 생성된 상기 비트스트림을 전송하기 위한 제2 부호화 서버를 더 포함하고, 상기 복호화 장치는 상기 제2 부호화 서버로부터 전송되는 상기 비트스트림도 래스터 스캔 방향에 따라 복호화하여 상기 대상 영상을 재구성할 수 있다.According to another aspect of the present invention, the image codec system generates a bit stream by encoding each piece image having an area overlapping the target image based on position information of the target image according to a raster scan direction, And a second encoding server for transmitting the bitstream, wherein the decoding apparatus decodes the bitstream transmitted from the second encoding server according to a raster scan direction to reconstruct the target image.

상기 실시예의 또 다른 측면에 의하면, 상기 4개의 비트스트림은 상기 직사각형의 왼쪽 위 꼭지점에 인접한 블록을 시작 위치로 하고, ① 왼쪽에서 오른쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법 및 ② 위에서 아래로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 위에서 아래로 블록들을 순차적으로 부호화하는 방법 중의 어느 하나의 방법으로 부호화된 제1 비트스트림, 상기 사각형의 오른쪽 위 꼭지점에 인접한 블록을 시작 위치로 하고, ① 오른쪽에서 왼쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법 및 ② 위에서 아래쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 위에서 아래쪽으로 블록들을 순차적으로 부호화하는 방법 중의 어느 하나의 방법으로 부호화된 제2 비트스트림, 상기 사각형의 왼쪽 아래 꼭지점에 인접한 블록을 시작 위치로 하고, ① 왼쪽에서 오른쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법 및 ② 아래에서 위쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 아래에서 위쪽으로 블록들을 순차적으로 부호화하는 방법 중의 어느 하나의 방법으로 부호화된 제3 비트스트림, 및 상기 사각형의 오른쪽 아래 꼭지점에 인접한 블록을 시작 위치로 하고, ① 오른쪽에서 왼쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법 및 ② 아래에서 위쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 아래에서 위쪽으로 블록들을 순차적으로 부호화하는 방법 중의 어느 하나의 방법으로 부호화된 제4 비트스트림으로 구성될 수 있다. 이 경우에, 상기 제1 부호화 서버는, 상기 조각 영상 각각의 상기 4개의 비트스트림 중에서, 상기 대상 영상이 조각 영상의 오른쪽 위 꼭지점을 포함하는 경우에는 상기 제1 비트스트림, 상기 대상 영상이 조각 영상의 왼쪽 위 꼭지점을 포함하는 경우에는 상기 제2 비트스트림, 상기 대상 영상이 조각 영상의 왼쪽 아래 꼭지점을 포함하는 경우에는 상기 제3 비트스트림, 또는 상기 대상 영상이 조각 영상의 오른쪽 아래 꼭지점을 포함하는 경우에는 상기 제4 비트스트림을 추출할 수 있다.According to still another aspect of the present invention, the four bitstreams are arranged such that a block adjacent to the upper left vertex of the rectangle is used as a start position, (1) blocks of a row are sequentially encoded from left to right, A method of coding blocks sequentially from the left to the right in a lower row and a method of sequentially coding blocks in a column from top to bottom and sequentially coding blocks from the top to bottom in the right column A first bit stream coded by the first bitstream, a block adjacent to the upper right corner of the rectangle as a start position, (1) sequentially encoding a block of one row from right to left, and A method of sequential coding and a method of A second bitstream coded by any one of the following methods: a block adjacent to the vertex at the lower left of the rectangle is set as a start position, A method of successively encoding a block of a row to the right in the upper row and sequentially encoding the blocks in a row from the left to the right of the upper row, and (2) a method of sequentially encoding one row of the block from the bottom up, And a block adjacent to the lower right corner of the rectangle as a start position, and (1) a block of one row from the right to the left in a sequential manner , And again the upper row A method of sequentially encoding blocks sequentially from the bottom to the top, and a method of sequentially encoding blocks sequentially from the bottom to the top and sequentially encoding the blocks from the bottom to the top of the left column. Bit stream. In this case, if the target image includes the upper right corner of the fragment image among the four bit streams of each fragment image, the first encoding server converts the first bit stream, the target image, The second bitstream, the third bitstream if the target image includes the lower left vertex of the sculptured image, or the lower right vertex of the sculpted image. The fourth bitstream can be extracted.

상기한 기술적 과제를 달성하기 위한 본 발명의 또 다른 측면에 의한 영상 코덱 시스템은 1개 이상의 수직 경계선에 의하여 2개 이상의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 시스템으로서, 상기 2개 이상의 조각 영상 각각을 상기 직사각형의 위쪽 2개의 꼭지점에 인접한 블록들 각각을 시작 위치로 하고 그 시작 위치에 인접한 블록을 순차적으로 부호화하는 스캔 방향에 따라 부호화함으로써 상기 조각 영상 각각에 대하여 2개의 비트스트림을 생성하고, 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 2개의 비트스트림 중에서 하나의 비트스트림을 추출하기 위한 제1 부호화 서버, 및 상기 제1 부호화 서버로부터 전송되는 상기 비트스트림을 그 스캔 방향에 따라 복호화하여 상기 대상 영상을 재구성하는 영상 복호화 장치를 포함할 수 있다.According to another aspect of the present invention, there is provided an image codec system for supporting a spatial random access to a target image, which is a part of an entire image partitioned into at least two rectangle slice images by at least one vertical boundary line Wherein each of the two or more piece images is encoded in accordance with a scanning direction in which blocks adjacent to the top two vertexes of the rectangle are sequentially set as starting positions and blocks adjacent to the starting position are sequentially encoded, A first encoding server for generating one bit stream from among the two bit streams of each piece image having an area overlapping the target image based on the position information of the target image, And a second encoding server And an image decoding apparatus for decoding the trim in accordance with the scan direction to reconstruct the target image.

상기한 기술적 과제를 달성하기 위한 본 발명의 일 측면에 의한 영상 부호화 방법은 다수의 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 방법으로서, 상기 다수의 조각 영상 각각을 시작 위치가 다른 2개 이상의 스캔 방향에 따라 그 블록들을 순차적으로 부호화함으로써 상기 조각 영상 각각에 대하여 2개 이상의 비트스트림을 생성하는 단계, 및 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 2개 이상의 비트스트림 중에서 하나의 비트스트림을 추출하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of supporting spatial random access to a target image, which is a part of a whole image partitioned into a plurality of fragmented images, Generating two or more bit streams for each piece image by sequentially encoding the blocks in accordance with two or more scanning directions having different starting positions, and generating a bit stream corresponding to a region overlapping the target image based on the position information of the target image And extracting one bitstream from the two or more bitstreams of each of the piece images.

상기한 기술적 과제를 달성하기 위한 본 발명의 다른 측면에 의한 영상 부호화 방법은 다수의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 방법으로서, 상기 다수의 조각 영상 각각을 상기 직사각형의 4개의 꼭지점에 인접한 블록들 각각을 시작 위치로 하고 그 시작 위치에 인접한 블록을 순차적으로 부호화하는 스캔 방향에 따라 부호화함으로써 상기 조각 영상 각각에 대하여 4개의 비트스트림을 생성하는 단계, 및 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 4개의 비트스트림 중에서 하나의 비트스트림을 추출하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of supporting spatial random access to a target image, which is a part of a whole image partitioned by a plurality of rectangular piece images, Generating four bit streams for each piece image by coding each of blocks adjacent to four vertexes of the rectangle as a start position and encoding the blocks adjacent to the start position in accordance with a scan direction for sequentially encoding the blocks; Extracting one bit stream from among the four bit streams of each piece image having an area overlapping the target image based on position information of the target image.

상기한 기술적 과제를 달성하기 위한 본 발명의 또 다른 측면에 의한 영상 부호화 방법은 1개 이상의 수직 경계선에 의하여 2개 이상의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 영상 부호화 방법으로서, 상기 2개 이상의 조각 영상 각각을 상기 직사각형의 위쪽 2개의 꼭지점에 인접한 블록들 각각을 시작 위치로 하고 그 시작 위치에 인접한 블록을 순차적으로 부호화하는 스캔 방향에 따라 부호화함으로써 상기 조각 영상 각각에 대하여 2개의 비트스트림을 생성하는 단계, 및 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 2개의 비트스트림 중에서 하나의 비트스트림을 추출하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of encoding an image, the method comprising: providing spatial random access to a target image, which is a part of a whole image partitioned into at least two rectangular slice images by one or more vertical boundaries; A method for encoding an image, the method comprising: encoding each of the two or more piece images in accordance with a scanning direction in which blocks adjacent to the top two vertexes of the rectangle are set as starting positions and blocks adjacent to the starting position are sequentially encoded; Extracting one bit stream from the two bit streams of each piece image having an area overlapping the target image based on the position information of the target image, .

상기한 기술적 과제를 달성하기 위한 본 발명의 일 측면에 따르는 비트스트림의 구조를 표현하는 신택스는 다수의 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 영상 부호화 방법을 지시하는 1비트 부호를 포함하는 신택스로서, 상기 부호는 상기 다수의 조각 영상 각각을 시작 위치가 다른 2개 이상의 스캔 방향에 따라 그 블록들을 순차적으로 부호화함으로써 상기 조각 영상 각각에 대하여 2개 이상의 비트스트림을 생성하고, 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 2개 이상의 비트스트림 중에서 선택된 비트스트림이라는 것을 지시하거나 또는 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각을 래스터 스캔 방향에 따라 부호화하여 생성된 비트스트림이라는 것을 지시한다.According to an aspect of the present invention, there is provided a syntax encoding method for encoding a bitstream, the method comprising: inputting an image encoding method supporting a spatial random access to a target image, Wherein the code sequentially encodes the blocks in accordance with two or more scan directions having different starting positions so that two or more bit streams are generated for each of the fragment images, A bitstream that is selected from the two or more bitstreams of each piece image having an area overlapping the target image based on the positional information of the target image, The image segment having an area overlapping the target image And the angle is encoded according to the raster scan direction to indicate that it is a generated bit stream.

상기한 기술적 과제를 달성하기 위한 본 발명의 다른 측면에 따르는 비트스트림의 구조를 표현하는 신택스는 다수의 조각 영상으로 구획된 전체 영상의 일부인 대상 영상에 대한 공간임의접근을 지원하는 영상 부호화 방법을 지시하는 1비트 부호를 포함하는 신택스로서, 상기 부호는 상기 다수의 조각 영상 각각을 상기 직사각형의 4개의 꼭지점에 인접한 블록들 각각을 시작 위치로 하고 그 시작 위치에 인접한 블록을 순차적으로 부호화하는 스캔 방향에 따라 부호화함으로써 상기 조각 영상 각각에 대하여 4개의 비트스트림을 생성하고, 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각의 상기 4개의 비트스트림 중에서 선택된 비트스트림이라는 것을 지시하거나 또는 상기 대상 영상의 위치 정보에 기초하여 상기 대상 영상과 겹치는 영역을 갖는 상기 조각 영상 각각을 래스터 스캔 방향에 따라 부호화하여 생성된 비트스트림이라는 것을 지시한다.According to another aspect of the present invention, there is provided a syntax for expressing a structure of a bitstream, the method comprising: providing a video encoding method supporting spatial random access to a target image, Wherein each of the plurality of pieces of image is divided into a plurality of blocks each of which is adjacent to the four vertexes of the rectangle as a start position and the blocks adjacent to the start position are sequentially encoded in a scanning direction And generating four bitstreams for each of the fragmented images by encoding the selected bitstreams in accordance with the positional information of the target image and determining a bitstream selected from among the four bitstreams of each of the fragmented images having an area overlapping the target image, Or the location information of the target image Based on the raster scan direction, each of the piece images having an area overlapping the target image is coded by a raster scan direction to indicate that the bit stream is generated.

상기한 기술적 과제를 달성하기 위한 본 발명의 일 측면에 따르는 영상 복호화 방법은 다수의 경계선에 의하여 다수의 조각 영상으로 구획된 전체 영상의 일부인 대상 영상의 복호화 방법으로서, 상기 다수의 경계선 중에서 적어도 2개의 경계선이 만나는 교차점에 인접한 상기 조각 영상의 블록을 시작 위치로 하여 그 인접한 블록들에 대한 순차적인 복호화를 수행함으로써 상기 조각 영상의 전부 또는 일부를 복원하여 상기 대상 영상을 재구성한다.According to an aspect of the present invention, there is provided a method of decoding an object image, the object image being a part of a whole image partitioned into a plurality of fragment images by a plurality of boundary lines, The sequential decoding of the adjacent blocks is performed by using the block of the piece image adjacent to the intersection where the boundary line meets as a start position, thereby reconstructing the target image by restoring all or a part of the piece image.

상기 실시예의 일 측면에 의하면, 상기 조각 영상의 블록들에 대한 스캔 방향을 나타내는 정보에 기초하여 상기 시작 위치의 블록으로부터 그 인접한 블록들에 대한 순차적인 복호화를 수행할 수 있다.According to an aspect of the present invention, sequential decoding of the adjacent blocks from the block at the start position may be performed based on information indicating the scan direction of the blocks of the piece image.

상기한 기술적 과제를 달성하기 위한 본 발명의 다른 측면에 따르는 영상 복호화 방법은 수평 경계선과 수직 경계선에 의하여 다수의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상의 복호화 방법으로서, 상기 수평 경계선과 상기 수직 경계선이 만나는 교차점에 인접한 상기 직사각형 조각 영상의 블록을 시작 위치로 하여 그 인접한 블록들에 대한 순차적인 복호화를 수행함으로써 상기 직사각형 조각 영상의 전부 또는 일부를 복원하여 상기 대상 영상을 재구성한다.According to another aspect of the present invention, there is provided a method of decoding a target image, which is a part of a whole image partitioned into a plurality of rectangular piece images by horizontal and vertical boundaries, A block of the rectangular piece image adjacent to an intersection at which the vertical boundary line meets is used as a start position to sequentially decode the adjacent blocks so that all or part of the rectangular piece image is reconstructed to reconstruct the target image.

상기 실시예의 일 측면에 의하면, 상기 대상 영상이 상기 직사각형 조각 영상의 오른쪽 위 꼭지점을 포함하는 경우에는 오른쪽에서 왼쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법 또는 위에서 아래로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 위에서 아래로 블록들을 순차적으로 부호화하고, 상기 대상 영상이 상기 직사각형 조각 영상의 왼쪽 위 꼭지점을 포함하는 경우에는 왼쪽에서 오른쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법 또는 위에서 아래로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 위에서 아래로 블록들을 순차적으로 부호화하고, 상기 대상 영상이 상기 직사각형 조각 영상의 오른쪽 아래 꼭지점을 포함하는 경우에는 오른쪽에서 왼쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법 또는 아래에서 위로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 아래에서 위로 블록들을 순차적으로 부호화하고, 또는 상기 대상 영상이 상기 직사각형 조각 영상의 왼쪽 아래 꼭지점을 포함하는 경우에는 왼쪽에서 오른쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법 또는 아래에서 위로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 아래에서 위로 블록들을 순차적으로 부호화할 수 있다.According to an aspect of the embodiment, when the target image includes the upper right vertex of the rectangular piece image, the block of one row is sequentially encoded from right to left, Or successively encodes a block in a column from the top to the bottom and sequentially encodes the blocks from the top to the bottom of the left column, and the target image is coded in the upper left corner of the rectangular piece image In the case of including a vertex, a method of sequentially encoding a block of a row from left to right and sequentially encoding the blocks from the left to the right of the lower row or a method of encoding a block of a column Blocks are sequentially encoded, and again, And sequentially encodes a block of a row from right to left when the target image includes the lower right corner of the rectangular piece image, and sequentially encodes the block of the right row to the left of the upper row Or successively encodes a block in a column from the bottom to the bottom and sequentially encodes the blocks up to the bottom of the left column, or alternatively, the target image is coded on the left side of the rectangular piece image In the case of including a lower vertex, a method of sequentially encoding a block of a row from left to right and sequentially encoding the blocks from the left to the right of the upper row, And sequentially encodes the blocks of the right column The top block in the future can be sequentially encoded.

상기한 기술적 과제를 달성하기 위한 본 발명의 또 다른 측면에 따른 영상 복호화 방법은 수평 경계선 및/또는 수직 경계선에 의하여 다수의 직사각형 조각 영상으로 구획된 전체 영상의 일부인 대상 영상의 복호화 방법으로서, 입력 비트스트림으로부터 상기 대상 영상과 전부 또는 일부가 겹치는 상기 직사각형 조각 영상의 블록들에 대한 스캔 방향을 판별하는 단계, 및 판별된 상기 스캔 방향에 따라 상기 직사각형 조각 영상의 블록들에 대한 순차적인 복호화를 수행하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of decoding an object image, which is a part of a whole image partitioned into a plurality of rectangular piece images by a horizontal boundary and / or a vertical boundary, Determining a scan direction for the blocks of the rectangular piece image in which all or a part of the target image overlaps with the target image, and sequentially decoding the blocks of the rectangular piece image according to the determined scan direction .

상기 실시예의 일 측면에 의하면, 상기 순차적인 복호화를 수행하는 단계에서는 상기 수평 경계선과 상기 수직 경계선이 만나는 교차점에 인접한 상기 조각 영상의 블록을 시작 위치로 하여 복호화를 수행한다.According to an embodiment of the present invention, in the step of performing sequential decoding, decoding is performed using a block of the piece image adjacent to an intersection where the horizontal boundary and the vertical boundary meet.

이상에서 설명한 바와 같이, 본 발명에 따른 공간임의접근을 지원하는 영상 코덱 시스템, 영상 부호화 방법 및 영상 복호화 방법에 의하면, 조각 영상을 작게 나누지 않고서도 사용자는 자신이 소유한 디스플레이 윈도우의 크기와 원하는 영역에 따라서 전체 영상 중에서 필요한 부분만을 수신하여 복호화할 수 있다. 따라서 한정된 전송 채널의 환경 하에서도 사용자는 자신이 소유한 단말기를 이용하여 전체 영상 중에서 원하는 영역만을 고화질로 시청하는 효과를 기대할 수 있다.As described above, according to the image codec system, image encoding method, and image decoding method supporting spatial arbitrary access according to the present invention, the user can view the size of the display window owned by himself / It is possible to receive and decode only a required portion of the entire image. Accordingly, even under a limited transmission channel environment, the user can expect to see only a desired region of the entire image at a high image quality by using his or her own terminal.

도 1a 내지 도 1c에는 조각 영상의 크기와 부호화해서 전송해야 하는 영역의 관계를 보여주는 도면이다.
도 2는 래스터 스캔 방향을 보여주는 도면이다.
도 3은 본 발명의 일 실시예에 따른 영상 코덱 시스템의 구성을 보여주는 블록도이다.
도 4는 전체 영상, 조각 영상, 및 대상 영상의 관계 및 도 3의 부호화 장치에서의 부호화 방법의 일례를 설명하기 위한 도면이다.
도 5a 내지 도 5d는 본 발명의 일 실시예에 따른 부호화 장치에서의 네 가지 그룹의 스캔 방향을 보여주기 위한 도면이다.
도 6a, 도 6b, 및 도 6c는 도 3의 부호화 장치에서의 부호화 방법의 다른 예를 설명하기 위한 도면이다.
도 7a, 도 7b, 도 7c, 및 도 7d는 도 3의 부호화 장치에서의 부호화 방법의 또 다른 예를 설명하기 위한 도면이다.
도 8은 본 발명의 다른 실시예에 따른 영상 코덱 시스템의 구성을 보여주는 블록도이다.
도 9는 도 3 및 도 8의 복호화 장치에서의 복호화 방법의 일례를 설명하기 위한 도면이다.
Figs. 1A to 1C are diagrams showing the relationship between the size of a piece image and a region to be encoded and transmitted. Fig.
2 is a view showing a raster scanning direction.
3 is a block diagram illustrating a configuration of an image codec system according to an embodiment of the present invention.
4 is a diagram for explaining the relationship between a whole image, a piece image, and a target image, and an example of a coding method in the coding apparatus of FIG.
5A to 5D are diagrams illustrating scan directions of four groups in an encoding apparatus according to an embodiment of the present invention.
6A, 6B, and 6C are diagrams for explaining another example of a coding method in the coding apparatus of FIG.
7A, 7B, 7C, and 7D are diagrams for explaining still another example of a coding method in the coding apparatus of FIG.
8 is a block diagram illustrating a configuration of an image codec system according to another embodiment of the present invention.
Fig. 9 is a diagram for explaining an example of a decoding method in the decoding apparatuses of Figs. 3 and 8. Fig.

이하에서는, 첨부 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다. 후술하는 실시예는 본 발명의 기술적 사상을 설명하기 위한 목적이므로, 본 발명의 기술적 사상은 이 실시예에 의하여 한정되는 것으로 해석되어서는 안된다. 그리고 이하의 실시예의 설명에서 각각의 구성요소의 명칭은 당업계에서 다른 명칭으로 호칭될 수 있는데, 이들이 기능적 유사성과 동일성이 있다면 비록 다른 명칭을 사용하더라도 본 발명의 실시예와 균등한 구성이라고 볼 수 있다. 마찬가지로 도면상의 구성을 일부 변형한 실시예가 채용되더라도 기능적 유사성과 동일성이 있다면 양자는 균등한 구성으로 볼 수 있다. 본 실시예에 대한 설명 및 도면에서 각각의 구성요소에 부가된 참조 부호는 단지 설명의 편의를 위하여 기재된 것일 뿐이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are for the purpose of illustrating the technical idea of the present invention, and therefore the technical idea of the present invention should not be interpreted as being limited by this embodiment. In the description of the following embodiments, the names of the respective components may be referred to as other names in the related art. If they are identical to the functional similarity, even if other names are used, have. In the same way, even if an embodiment in which some of the configurations on the drawings are adopted is adopted, both of them can be regarded as an equivalent configuration if they are identical with the functional similarity. In the description of this embodiment and in the drawings, reference numerals added to respective components are merely described for convenience of explanation.

도 3은 본 발명의 일 실시예에 따른 영상 코덱 시스템의 구조를 보여주는 블록도이다. 도 3을 참조하면, 영상 코덱 시스템(100)은 부호화 서버(110) 및 복호화 장치(120)를 포함한다. 그리고 부호화 서버(110)는 인코더 유닛(112), 메모리 유닛(114), 및 비트스트림 추출기(116)를 포함한다. 이하에서는 도 3을 참조하여 영상 코덱 시스템(100)의 구성 및 기능에 대하여 보다 구체적으로 설명한다.3 is a block diagram illustrating a structure of an image codec system according to an embodiment of the present invention. Referring to FIG. 3, the video codec system 100 includes a coding server 110 and a decoding apparatus 120. The encoding server 110 includes an encoder unit 112, a memory unit 114, and a bitstream extractor 116. Hereinafter, the configuration and functions of the image codec system 100 will be described in more detail with reference to FIG.

전체 영상이 인코더 유닛(112)으로 입력되면, 인코더 유닛(112)은 먼저 상기 전체 영상을 소정의 크기를 갖는 다수의 조각 영상으로 구획한다. 구획되어 분할된 각 조각 영상의 크기 및 개수는 전체 영상의 크기 및 부호화 효율을 고려하여 적절하게 선택될 수 있다. 그리고 상기 크기 및 개수는 미리 고정되어 있거나 전체 영상의 특성에 따라서 가변적일 수도 있다. 예컨대, 인코더 유닛(112)은, 도 4에 도시되어 있는 바와 같이, 입력되는 전체 영상(10)을 수평 경계선과 수직 경계선에 의해 분할되는 8개의 직사각형 모양의 조각 영상(11 내지 18)으로 구획할 수 있다.When the entire image is input to the encoder unit 112, the encoder unit 112 first divides the entire image into a plurality of fragment images having a predetermined size. The sizes and the number of the divided and segmented pieces of images can be appropriately selected in consideration of the size of the entire image and the coding efficiency. And the size and the number may be fixed in advance or may be variable according to the characteristics of the entire image. For example, as shown in Fig. 4, the encoder unit 112 divides the input whole image 10 into eight pieces of rectangular image pieces 11 to 18 divided by a horizontal boundary line and a vertical boundary line .

그리고 인코더 유닛(112)은 조각 영상(11 내지 18) 각각을 구성하는 블록들에 대한 부호화를 수행하는데, 본 실시예에 따른 인코더 유닛(112)은 각 조각 영상(11 내지 18)의 블록들에 대하여 그 시작 위치를 달리하여 서로 다른 스캔 방향으로 인접한 블록들을 순차적으로 부호화한다. 예컨대, 조각 영상(11 내지 18)이 직사각형 모양인 경우에 인코더 유닛(112)은 각각의 조각 영상(11 내지 18)에 대하여 블록 단위, 예컨대 매크로블록 단위로 부호화를 수행한다. 상기 네 종류의 스캔 방향이란 각 조각 영상(11 내지 18)에 대하여 각기 다른 4개의 시작 위치에 해당하는 블록을 기점으로 하여 순차적으로 조각 영상내의 블록 단위로 부호화를 수행하는 것을 말한다. 그 결과, 인코더 유닛(112)은 각 조각 영상에 대하여 시작 위치가 서로 다른 네 종류의 스캔 방향으로 부호화된 네 종류의 비트스트림을 생성한다.The encoder unit 112 performs encoding on the blocks constituting each of the fragment images 11 to 18, and the encoder unit 112 according to the present embodiment performs the encoding on the blocks of the fragment images 11 to 18 The adjacent blocks are sequentially encoded in different scan directions by different starting positions. For example, when the sculpted images 11 to 18 are in a rectangular shape, the encoder unit 112 performs encoding on each sculptured image 11 to 18 on a block basis, for example, on a macroblock basis. The four kinds of scanning directions refer to coding sequentially for each block image in the piece image, starting from a block corresponding to four starting positions for each piece image 11 to 18. As a result, the encoder unit 112 generates four kinds of bit streams encoded in four kinds of scanning directions in which the start positions are different for each piece image.

상기 네 종류의 스캔 방향 각각은 직사각형 모양의 각 조각 영상(11 내지 18)의 꼭지점에 인접한 블록에서 스캔을 시작할 수 있다. 즉, 각 조각 영상(11 내지 18)의 가장 왼쪽 위, 가장 오른쪽 위, 가장 왼쪽 아래, 및 가장 오른쪽 아래에 위치한 블록을 시작 위치로 하여 그 각각에 인접한 블록을 순차적으로 부호화한다. 도 4의 조각 영상(11)을 참조하여 보다 구체적으로 살펴보면, 상기 네 종류의 스캔 방향에 따른 부호화는 직사각형 모양을 갖는 조각 영상(11)의 꼭지점에 인접한 블록인 블록 11a, 블록 11b, 블록 11c, 및 블록 11d를 시작 위치로 하고 이에 인접한 블록의 순서로 부호화를 진행하는 것을 말한다.Each of the four types of scanning directions may start scanning in a block adjacent to the vertex of each piece image 11 to 18 of a rectangular shape. That is, blocks adjacent to each of the slice images 11 to 18 are coded with the blocks located at the leftmost position, the rightmost position, the leftmost position, and the rightmost bottom position as start positions. Referring to the piece image 11 of FIG. 4, the coding according to the four types of scanning directions includes a block 11a, a block 11b, a block 11c, and a block 11b, which are adjacent to a vertex of the piece image 11 having a rectangular shape. And the block 11d as the start positions, and proceeds coding in the order of the adjacent blocks.

본 실시예의 일 측면에 의하면, 상기 네 종류의 스캔 방향은 다음의 4개의 그룹으로 이루어진 스캔 방향의 집합 중에서 각 그룹별로 1개씩 선택된 스캔 방향일 수 있다. 스캔 방향과 관련된 상기 4개의 그룹은 다음과 같으며, 각 그룹에서의 스캔 방향은 도 5a 내지 도 5d에 도시되어 있다.According to an embodiment of the present invention, the four kinds of scan directions may be selected one by one in the group of the following four groups of scan directions. The four groups related to the scanning direction are as follows, and the scanning directions in each group are shown in Figs. 5A to 5D.

(1) 첫 번째 그룹은, 도 5a에 도시된 바와 같이, 조각 영상 내의 왼쪽 위에 위치한 블록을 시작 위치로 하여 오른쪽 아래에 위치한 블록의 방향으로 부호화하는 스캔 방향으로서,(1) As shown in FIG. 5A, the first group is a scanning direction in which a block located at the upper left in the piece image is encoded as a starting position in the direction of a block located at the lower right,

① 왼쪽에서 오른쪽으로 어느 한 행(row)의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법(도 5a의 왼쪽 그림); 및(1) A method of successively encoding a block in a row from left to right and sequentially encoding the blocks from the left to the right of the lower row (left figure in FIG. 5A); And

② 위에서 아래로 어느 한 열(column)의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 위에서 아래로 블록들을 순차적으로 부호화하는 방법(도 5a의 오른쪽 그림)을 포함한다.(2) a method of successively encoding a block of a column from top to bottom and sequentially encoding the blocks from the top to the bottom of the right column (the right picture of FIG. 5A).

(2) 두 번째 그룹은, 도 5b에 도시된 바와 같이, 조각 영상 내의 오른쪽 위에 위치한 블록을 시작 위치로 하여 왼쪽 아래에 위치한 블록의 방향으로 부호화 하는 스캔 방향으로서,(2) The second group, as shown in FIG. 5B, is a scanning direction in which a block located at the upper right in the piece image is encoded as a starting position in the direction of a block located at the lower left,

① 오른쪽에서 왼쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 아래쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법(도 5b의 왼쪽 그림); 및(1) A method of successively encoding a block of one row from right to left and sequentially encoding the blocks from right to left of the lower row (Fig. 5B, left); And

② 위에서 아래쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 위에서 아래쪽으로 블록들을 순차적으로 부호화하는 방법(도 5b의 오른쪽 그림)을 포함한다.(2) a method of successively encoding a block in a row from top to bottom and sequentially coding the blocks from the top left to the bottom in the left column (right figure in FIG. 5B).

(3) 세 번째 그룹은, 도 5c에 도시된 바와 같이, 조각 영상 내의 왼쪽 아래에 위치한 블록을 시작 위치로 하여 오른쪽 위에 위치한 블록의 방향으로 부호화하는 스캔 방향으로서,(3) As shown in FIG. 5C, the third group is a scan direction in which a block positioned at the lower left in the piece image is encoded as a start position in the direction of a block located at the upper right,

① 왼쪽에서 오른쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 왼쪽에서 오른쪽으로 블록들을 순차적으로 부호화하는 방법(도 5c의 왼쪽 그림); 및(1) A method of successively encoding a block of one row from left to right and sequentially encoding the blocks from the left to the right of the upper row (left figure in FIG. 5C); And

② 아래에서 위쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 오른쪽 열의 아래에서 위쪽으로 블록들을 순차적으로 부호화하는 방법(도 5c의 오른쪽 그림)을 포함한다.(2) a method of successively encoding a block in a row from the bottom up and then sequentially encoding the blocks from the bottom right to the top in the right column (right figure of FIG. 5C).

(4) 네 번째 그룹은, 도 5d에 도시된 바와 같이, 조각 영상 내의 오른쪽 아래에 위치한 블록을 시작 위치로 하여 왼쪽 위에 위치한 블록의 방향으로 부호화 하는 스캔 방향으로서,(4) As shown in FIG. 5D, the fourth group is a scanning direction in which a block located at the lower right in the piece image is encoded as a starting position in the direction of a block located at the upper left,

① 오른쪽에서 왼쪽으로 어느 한 행의 블록을 순차적으로 부호화하고 다시 그 위쪽 행의 오른쪽에서 왼쪽으로 블록들을 순차적으로 부호화하는 방법(도 5d의 왼쪽 그림); 및(1) A method of successively encoding a block of a line from right to left and sequentially encoding the blocks from the right to the left of the upper row (Fig. 5 (left)); And

② 아래에서 위쪽으로 어느 한 열의 블록을 순차적으로 부호화하고 다시 그 왼쪽 열의 아래에서 위쪽으로 블록들을 순차적으로 부호화하는 방법(도 5d의 오른쪽 그림)을 포함한다.
(2) a method of sequentially encoding a block in a row from the bottom up and then sequentially encoding the blocks from the bottom row to the bottom row in the left column (right figure in FIG. 5 (d)).

본 실시예의 다른 일 측면에 의하면, 상기 첫 번째 그룹 내지 네 번째 그룹의 각 그룹에는 상기 각 그룹의 시작 위치로부터 지그재그 형식으로 스캔하여 블록들을 순차적으로 부호화하는 방법이 더 포함될 수도 있다.
According to another aspect of the present invention, each group of the first to fourth groups may further include a method of sequentially scanning blocks in a zigzag form from the start position of each group.

이상에서 설명한 바와 같이 인코더 유닛(112)에서 각 조각 영상(11 내지 18)에 대하여 네 종류의 스캔 방향에 따라 부호화를 수행하여 생성된 4개의 비트스트림은 메모리 유닛(114)으로 보내지며, 메모리 유닛(114)은 각 조각 영상(11 내지 18)에 대한 상기 4개의 비트스트림을 받아서 저장한다. As described above, in the encoder unit 112, four bit streams generated by performing encoding in accordance with four kinds of scan directions for each piece video 11 through 18 are sent to the memory unit 114, (114) receives and stores the four bit streams for each piece image (11 to 18).

그리고 사용자, 보다 구체적으로는 사용자가 소지하고 있는 복호화 장치(120)를 구비한 휴대용 단말기 등으로부터 디스플레이하기 원하는 대상 영상의 위치 정보가 영상 부호화 장치(110)로 수신되면, 비트스트림 추출기(116)는 각 조각 영상마다 상기 4개의 비트스트림 중에서 하나의 비트스트림을 추출하여 복호화 장치(120)로 전송한다. 이와 같이, 각 조각 영상마다 상기 4개의 비트스트림 중에서 하나의 비트스트림을 선택하여 메모리 유닛(114)으로부터 추출하는 과정은 비트스트림 추출기(116)에서 수행된다. 비트스트림 추출기(116)는 대상 영상의 위치 정보에 기초하여 조각 영상 내에서 필요한 영역(대상 영상과 겹치는 영역)에 해당되는 비트스트림만을 선택하거나 또는 전송되는 데이터의 양을 최소화할 수 있는 비트스트림을 선택한다. 즉, 비트스트림 추출기(116)는 각 조각 영상이 대상 영상과 겹치는 상대적인 영역을 고려하여, 복호화 장치(120)로 전송되는 비트스트림의 크기(또는 데이터의 양)를 최소화할 수 있는 스캔 방향에 따라 부호화된 비트스트림만을 선택하여 추출하며, 추출된 비트스트림은 영상 부호화 장치(110)에서 복호화 장치(120)로 전송된다.When the location information of a target image desired to be displayed by a user, more specifically, a portable terminal having a decoding apparatus 120 possessed by the user, is received by the image encoding apparatus 110, the bit stream extractor 116 extracts Extracts one bit stream among the four bit streams for each piece image, and transmits the extracted bit stream to the decoding apparatus 120. [ As described above, the process of selecting one bit stream among the four bit streams for each piece image and extracting the bit stream from the memory unit 114 is performed by the bit stream extractor 116. The bitstream extractor 116 selects a bitstream corresponding to a necessary region (an area overlapping the target image) in the fragment image based on the positional information of the target image, or extracts a bitstream that minimizes the amount of data to be transmitted Select. In other words, the bitstream extractor 116 extracts the bitstreams (or the amount of data) transmitted to the decoding device 120 in consideration of the relative direction in which each piece image overlaps with the target image, And the extracted bit stream is transmitted from the image encoding apparatus 110 to the decryption apparatus 120. [0051]

비트스트림 추출기(116)에서 각 조각 영상에 대한 4개의 비트스트림 중에서 복호화 장치(120)로 전송될 하나의 비트스트림을 선택하여 추출하는 방법의 일례는 다음과 같다. 그리고 이 경우에 비트스트림 추출기(116)에서 추출된 스캔 방향을 나타내는 정보는 비트스트림에 포함되어 복호화 장치(120)로 전송될 수 있다.An example of a method of selecting and extracting one bitstream to be transmitted to the decoding apparatus 120 among the four bitstreams for each piece image in the bitstream extractor 116 is as follows. In this case, the information indicating the scanning direction extracted by the bitstream extractor 116 may be included in the bitstream and transmitted to the decoding apparatus 120.

① 도 4의 조각 영상 17과 같이, 대상 영상이 조각 영상의 왼쪽 위의 영역과 겹치는 경우에는, 비트스트림 추출기(16)는 상기 4개의 비트스트림 중에서 전술한 첫 번째 그룹에 속하는 스캔 방향에 따라 부호화된 비트스트림을 추출한다. 예컨대, 도 4에는 조각 영상 17과 겹치는 대상 영상(20)의 영역에 대해서는 도 5a의 왼쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하는 것으로 도시되어 있다. 물론, 도 5a의 오른쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하여 전송할 수도 있다.(1) When the target image overlaps with the upper left area of the sculptured image as in the sculptured image 17 of FIG. 4, the bitstream extractor 16 extracts, from among the four bitstreams, Extracted bitstream. For example, in FIG. 4, an area of the target image 20 overlapping the sculptured image 17 is shown to extract a bitstream encoded according to the scan direction shown in the left-hand side of FIG. 5A. Of course, it is also possible to extract and transmit the encoded bit stream according to the scanning direction shown in the right side of FIG. 5A.

② 도 4의 조각 영상 16과 같이, 대상 영상이 조각 영상의 오른쪽 위의 영역과 겹치는 경우에는, 상기 4개의 비트스트림 중에서 전술한 두 번째 그룹에 속하는 스캔 방향에 따라 부호화된 비트스트림을 추출한다. 예컨대, 도 4에는 조각 영상 16과 겹치는 대상 영상(20)의 영역에 대해서는 도 5b의 왼쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하는 것으로 도시되어 있다. 물론, 도 5b의 오른쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하여 전송할 수도 있다.2, when the target image overlaps with the upper right area of the sculptured image, the bitstream encoded according to the scanning direction belonging to the second group is extracted from the four bitstreams. For example, in FIG. 4, an area of the target image 20 overlapping the sculptured image 16 is extracted by extracting a bitstream encoded according to the scan direction shown in the left-hand side of FIG. 5B. Of course, the encoded bitstream may be extracted and transmitted according to the scanning direction shown in the right side of FIG. 5B.

③ 도 4의 조각 영상 13과 같이, 대상 영상이 조각 영상의 왼쪽 아래의 영역과 겹치는 경우에는 상기 4개의 비트스트림 중에서 전술한 세 번째 그룹에 속하는 스캔 방향에 따라 부호화된 비트스트림을 추출한다. 예컨대, 도 4에는 조각 영상 13과 겹치는 대상 영상(20)의 영역에 대해서는 도 5c의 왼쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하는 것으로 도시되어 있다. 물론, 도 5c의 오른쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하여 전송할 수도 있다.3, when the target image overlaps with the lower left area of the sculptured image, a bitstream encoded according to the scan direction belonging to the third group is extracted from the four bitstreams. For example, in FIG. 4, an area of the target image 20 overlapping the sculptured image 13 is extracted by extracting a bitstream encoded according to the scan direction shown in the left-hand side of FIG. 5C. Of course, the encoded bitstream may be extracted and transmitted according to the scanning direction shown in the right side of FIG. 5C.

④ 도 4의 조각 영상 12와 같이, 대상 영상이 조각 영상의 오른쪽 아래의 영역과 겹치는 경우에는 상기 4개의 비트스트림 중에서 전술한 네 번째 그룹에 속하는 스캔 방향에 따라 부호화된 비트스트림을 추출한다. 예컨대, 도 4에는 조각 영상 12와 겹치는 대상 영상(20)의 영역에 대해서는 도 5d의 오른쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하는 것으로 도시되어 있다. 물론, 도 5d의 왼쪽 그림에 따른 스캔 방향에 따라 부호화된 비트스트림을 추출하여 전송할 수도 있다.
4, when the target image overlaps with the lower right area of the sculptured image, the bitstream encoded according to the scan direction belonging to the fourth group is extracted. For example, in FIG. 4, an area of the target image 20 overlapping the sculptured image 12 is extracted by extracting a bitstream encoded according to the scan direction shown in the right side of FIG. 5D. Of course, it is also possible to extract and transmit the encoded bitstream according to the scanning direction shown in the left side of FIG. 5D.

도 6a, 도 6b, 및 도 6c는 영상 부호화 장치(110)에서 대상 영상을 부호화하는 전술한 실시예의 다른 예를 보여주기 위한 도면들이다.FIGS. 6A, 6B, and 6C are diagrams illustrating another example of the above-described embodiment for encoding a target image in the image encoding apparatus 110. FIG.

도 6a, 도 6b, 및 도 6c를 참조하면, 인코더 유닛(112)은 입력되는 전체 영상(30)을 수평 경계선 및 수직 경계선에 의하여 크기가 같은 직사각형 모양의 4개의 조각 영상(31, 32, 33, 34)으로 분할하여, 각 조각 영상(31, 32, 33, 34)에 대하여 부호화를 수행한다. 예컨대, 인코더 유닛(112)은 각 조각 영상(31, 32, 33, 34)에 대해서는 전술한 4개의 그룹 각각에서 하나의 스캔 방향을 선택하고, 선택된 스캔 방향에 따라 조각 영상의 블록들에 대한 부호화를 수행하여 4개의 비트스트림을 생성할 수 있다. 또는, 인코더 유닛(112)은 각 조각 영상(31, 32, 33, 34)에 대해서, 전술한 4개의 그룹 중에서, 상기 수평 경계선과 수직 경계선의 교차점에 인접한 블록을 시작 위치로 하는 스캔 방향을 선택하고, 선택된 스캔 방향에 따라 조각 영상의 블록들에 대한 부호화를 수행하여 1개의 비트스트림을 생성할 수도 있다.6A, 6B, and 6C, the encoder unit 112 divides the input whole image 30 into four rectangular pieces 31, 32, and 33 having the same size by the horizontal and vertical boundaries , And 34, and performs encoding on each piece image 31, 32, 33, and 34. FIG. For example, the encoder unit 112 selects one scan direction in each of the four groups for each piece image 31, 32, 33, and 34, and encodes blocks of the piece image according to the selected scan direction To generate four bit streams. Alternatively, the encoder unit 112 selects, for each piece image 31, 32, 33, 34, a scanning direction having a block adjacent to the intersection of the horizontal border and the vertical border as a start position from among the four groups described above And generate one bit stream by performing encoding on the blocks of the fragment image according to the selected scan direction.

그리고 도 6b를 참조하면, 인코더 유닛(112)에서 생성된 각 조각 영상 당 4개의 비트스트림은 메모리 유닛(1114)에 저장된다. 본 실시예에 의하면, 메모리 유닛(114)에 저장되도록 선택된 4개의 스캔 방향은 첫 번째 그룹과 세 번째 그룹은 각각 도 5a 및 도 5c의 왼쪽에 도시되어 있는 것에 해당되고, 두 번째 그룹과 네 번째 그룹은 각각 도 5b 및 도 5d의 오른쪽에 도시되어 있는 것에 해당된다.Referring to FIG. 6B, four bit streams for each piece image generated in the encoder unit 112 are stored in the memory unit 1114. FIG. According to the present embodiment, the four scan directions selected to be stored in the memory unit 114 correspond to those shown on the left of FIGS. 5A and 5C, respectively, and the second group and the fourth group The groups correspond to those shown on the right side of Figs. 5B and 5D, respectively.

그리고 사용자로부터 영상 부호화 장치(110)로 대상 영상(40, 도 6a 참조)의 위치 정보가 입력되면, 영상 부호화 장치(110)의 비트스트림 추출기(116)는 대상 영상(40)과 겹치는 각 조각 영상(31, 32, 33, 34)에 대한 상기 4개의 비트스트림으로부터 하나의 비트스트림을 선택한다. 비트스트림 추출기(116)는 대상 영상(40)과 겹치는 각 조각 영상(31, 32, 33, 34)의 위치를 고려하여, 각 조각 영상 당 4개의 비트스트림 중에서 전송 데이터의 양을 최소화할 수 있는 스캔 방향으로 부호화된 비트스트림을 추출하여 영상 복호화 장치(120)로 전송한다.When the location information of the target image 40 (see FIG. 6A) is input from the user to the image encoding apparatus 110, the bitstream extractor 116 of the image encoding apparatus 110 extracts the fragment images One bitstream is selected from the four bitstreams for the first, second, and third bitstreams 31, 32, 33, The bit stream extractor 116 can minimize the amount of transmission data among the four bit streams per piece image in consideration of the positions of the piece images 31, 32, 33, and 34 overlapping the target image 40 And extracts the bit stream encoded in the scanning direction and transmits the extracted bit stream to the image decoding apparatus 120.

도 6b에서 비트스트림 추출기(116)의 오른쪽에는 각 조각 영상(31, 32, 33, 34)에 대하여 비트스트림 추출기(116)에 의하여 추출된 스캔 방향에 따른 비트스트림이 도시되어 있다. 그리고 이와 같이 추출된 각 조각 영상(31, 32, 33, 34)의 비트스트림은 영상 복호화 장치(120)로 전송된다. 6B shows a bit stream according to the scanning direction extracted by the bit stream extractor 116 with respect to each piece image 31, 32, 33, and 34 on the right side of the bit stream extractor 116. FIG. The bitstreams of the fragment images 31, 32, 33, and 34 thus extracted are transmitted to the image decoding apparatus 120.

이 경우에 각 조각 영상(31, 32, 33, 34)의 전체 비트스트림이 아니라 도 6a의 각 조각 영상(31, 32, 33, 34)에 화살표로 도시된 바와 같은 양의 비트스트림만 전송하거나 또는 도 6c에 화살표로 도시되어 있는 것과 같은, 대상 영상(40)과 겹치는 각 조각 영상(31, 32, 33, 34)의 영역에 해당하는 비트스트림만을 전송할 수도 있다. In this case, not only the entire bitstream of each piece image 31, 32, 33, 34 but also a bit stream as shown by arrows in each piece image 31, 32, 33, 34 of FIG. 6A 32, 33 and 34 overlapping the target image 40, as shown by arrows in Fig. 6C or Fig. 6C.

이상에서 설명한 바와 같이, 본 발명에 의하면 인코더 유닛(112)에서 조각 영상을 4개의 스캔 방향으로 부호화하여 비트스트림을 생성하고 상기 4개의 비트스트림이 메모리 유닛(114)에 저장되기 때문에, 비트스트림 추출기(116)에서는 사용자가 원하는 대상 영상이 조각 영상의 일부와 겹치는 경우에는 조각 영상 전체에 대한 비트스트림이 아니라 조각 영상 내의 필요한 부분에 해당되는 비트스트림만을 추출하여 전송하는 것이 가능하다. 따라서 본 발명에 의하면, 영상 부호화 장치(110)에서 영상 복호화 장치(120)로 전송되는 데이터의 양을 줄일 수 있다.
As described above, according to the present invention, since the encoder unit 112 generates a bit stream by encoding a sculptured image in four scanning directions, and the four bit streams are stored in the memory unit 114, When the user wants a target image to overlap with a part of the piece image, it is possible to extract and transmit only a bit stream corresponding to a necessary part in the piece image, rather than a bit stream for the whole piece image. Therefore, according to the present invention, the amount of data transmitted from the image encoding apparatus 110 to the image decoding apparatus 120 can be reduced.

도 7a, 도 7b, 도 7c, 및 도 7d는 영상 부호화 장치(110)에서 대상 영상을 부호화하는 전술한 실시예의 또 다른 예를 보여주기 위한 도면들이다.7A, 7B, 7C, and 7D are diagrams illustrating another example of the above-described embodiment for encoding a target image in the image encoding apparatus 110. FIG.

도 7a, 도 7b, 도 7c, 및 도 7d를 참조하면, 인코더 유닛(112)은 입력되는 전체 영상(50)을 하나 이상 예컨대 3개의 수직 경계선에 의하여 크기가 같은 직사각형 모양의 4개의 조각 영상(51, 52, 53, 54)으로 분할하여, 각 조각 영상(51, 52, 53, 54)에 대하여 부호화를 수행한다. 본 실시예는, 도 7a에 도시된 바와 같이 전체 영상(50)이 세로 방향에 비하여 가로 방향으로의 길이가 훨씬 큰 영상, 예컨대 와이드 영상이나 파노라마 영상에 적합한 경우로서, 수평 경계선은 없고 수직 경계선에 의해서만 전체 영상(50)이 다수의 조각 영상(51, 52, 53, 54)으로 구획된다는 점에 특징이 있다. 그리고 대상 영상(60)의 높이는 전체 영상(50) 또는 조각 영상(51, 52, 53, 54)의 높이보다 작거나 같다.Referring to FIGS. 7A, 7B, 7C, and 7D, the encoder unit 112 divides the input whole image 50 into four pieces of rectangular images (for example, 51, 52, 53, and 54, and performs encoding on each piece image 51, 52, 53, 54. 7A, the entire image 50 is suitable for an image having a much larger length in the horizontal direction than the vertical direction, for example, a wide image or a panoramic image, and has no horizontal boundary, The entire image 50 is divided into a plurality of pieces of image 51, 52, 53, The height of the target image 60 is less than or equal to the height of the whole image 50 or the piece image 51, 52, 53,

그리고 본 실시예에 의하면, 인코더 유닛(112)은, 전술한 실시예와 마찬가지로, 각 조각 영상(51, 52, 53, 54)에 대해서는 전술한 실시예의 4개의 그룹 각각에서 하나의 스캔 방향을 선택하고, 선택된 스캔 방향에 따라 조각 영상의 블록들에 대한 부호화를 수행하여 4개의 비트스트림을 생성할 수 있다. 또는, 도 7a의 조각 영상(51)에 도시되어 있는 왼쪽 위 꼭지점에 인접한 블록(51a)과 오른쪽 위 꼭지점에 인접한 블록(51a)을 시작 위치로 하여 그 인접한 블록들에 대한 순차적인 부호화를 수행하여 2개의 비트스트림만을 생성할 수도 있다. 예컨대, 각 조각 영상(51, 52, 53, 54)에 대하여 도 7a의 블록(51a, 52b)을 시작 위치로 하여, 도 7b에 도시되어 있는 바와 같이 2개의 서로 다른 스캔 방향으로 부호화한 2개의 비트스트림을 생성할 수 있다.According to the present embodiment, the encoder unit 112 selects one scanning direction in each of the four groups of the above-described embodiments for each piece image 51, 52, 53, and 54 as in the above- And generates four bit streams by performing encoding on the blocks of the piece image according to the selected scan direction. Alternatively, the block 51a adjacent to the upper left vertex and the block 51a adjacent to the upper right vertex, which are shown in the piece image 51 of FIG. 7A, are sequentially encoded with respect to their adjacent blocks as start positions Only two bit streams may be generated. For example, with respect to each piece image 51, 52, 53, and 54, two blocks 51a and 52b of FIG. 7A are coded in two different scanning directions as shown in FIG. A bitstream can be generated.

그리고 인코더 유닛에서 생성된 각 조각 영상 당 2개의 비트스트림은 메모리 유닛(114)에 저장된다. 그리고 사용자로부터 영상 부호화 장치(110)로 대상 영상(60, 도 7a 참조)의 위치 정보가 입력되면, 영상 부호화 장치(110)의 비트스트림 추출기(116)는 대상 영상(60)과 겹치는 각 조각 영상(52, 53)에 대한 상기 2개의 비트스트림으로부터 하나의 비트스트림을 선택한다. 비트스트림 추출기(116)는 대상 영상(60)과 겹치는 각 조각 영상(52, 53)의 위치를 고려하여, 각 조각 영상 당 2개의 비트스트림 중에서 전송 데이터의 양을 최소화할 수 있는 스캔 방향으로 부호화된 비트스트림을 추출하여 복호화 장치(120)로 전송한다.And two bit streams for each piece image generated in the encoder unit are stored in the memory unit 114. [ When the position information of the target image 60 (see FIG. 7A) is input from the user to the image encoding apparatus 110, the bitstream extractor 116 of the image encoding apparatus 110 extracts the pieces of image data One bitstream is selected from the two bitstreams for the first and second bitstreams 52 and 53, respectively. The bitstream extractor 116 extracts the bitstream of each piece image 52 and 53 from the two bitstreams for each piece image in a scanning direction in which the amount of transmission data can be minimized And transmits the extracted bitstream to the decoding apparatus 120.

도 7c에서 비트스트림 추출기(116)의 오른쪽에는 각 조각 영상(52, 53)에 대하여 비트스트림 추출기(116)에 의하여 추출된 스캔 방향에 따른 비트스트림이 도시되어 있다. 그리고 이와 같이 추출된 각 조각 영상(52, 53)의 비트스트림은 복호화 장치(120)로 전송된다. 이 경우에 각 조각 영상(52, 53)의 전체 비트스트림이 아니라 도 7a 또는 도 7d의 각 조각 영상(52, 53)에 화살표로 도시된 바와 같은 양의 비트스트림만 전송할 수도 있다. On the right side of the bitstream extractor 116 in FIG. 7C, a bitstream according to the scanning direction extracted by the bitstream extractor 116 is shown for each piece image 52, 53. The bit stream of each piece image 52, 53 extracted in this way is transmitted to the decoding device 120. In this case, not only the entire bit stream of each piece image 52, 53 but also a bit stream as shown by an arrow in each piece image 52, 53 of FIG. 7A or 7D may be transmitted.

이상에서 설명한 바와 같이, 본 발명에 의하면 인코더 유닛(112)에서 조각 영상을 2개 또는 4개의 스캔 방향으로 부호화하여 비트스트림을 생성하고 상기 2개 또는 4개의 비트스트림이 메모리 유닛(114)에 저장되기 때문에, 비트스트림 추출기(116)에서는 사용자가 원하는 대상 영상이 조각 영상의 일부와 겹치는 경우에는 조각 영상 전체에 대한 비트스트림이 아니라 조각 영상 내의 필요한 부분에 해당되는 비트스트림만을 추출하여 전송하는 것이 가능하다. 따라서 본 발명에 의하면, 영상 부호화 장치(110)에서 영상 복호화 장치(120)로 전송되는 데이터의 양을 줄일 수 있다.
As described above, according to the present invention, the encoder unit 112 encodes a piece image in two or four scanning directions to generate a bit stream, and the two or four bit streams are stored in the memory unit 114 The bitstream extractor 116 extracts only a bitstream corresponding to a required portion of the fragment image and transmits the extracted bitstream instead of a bitstream of the entire fragment image when the user's desired target image overlaps with a part of the fragment image Do. Therefore, according to the present invention, the amount of data transmitted from the image encoding apparatus 110 to the image decoding apparatus 120 can be reduced.

도 8에는 본 발명의 다른 실시예에 따른 영상 코덱 시스템의 구조가 도시되어 있다. 도 8을 참조하면, 영상 코덱 시스템(200)은 제1 부호화 서버(210), 제2 부호화 서버(230), 및 복호화 장치(220)를 포함한다. 그리고 제1 부호화 서버(210)는 제1 인코더 유닛(212) 및 제1 메모리 유닛(214)을 포함하고, 제2 부호화 서버(230)는 제2 인코더 유닛(232), 제2 메모리 유닛(234), 및 비트스트림 추출기(236)를 포함한다.FIG. 8 shows a structure of an image codec system according to another embodiment of the present invention. Referring to FIG. 8, the video codec system 200 includes a first encoding server 210, a second encoding server 230, and a decoding apparatus 220. The first encoding server 210 includes a first encoder unit 212 and a first memory unit 214 and the second encoding server 230 includes a second encoder unit 232 and a second memory unit 234 ), And a bitstream extractor 236.

제1 부호화 서버(210)는 종래 기술에 따른 부호화 서버와 동일한 동작 및 기능을 수행하는 것으로서, 예컨대 사용자가 원하는 대상 영상을 실시간으로 부호화하기 위한 장치일 수 있다. 보다 구체적으로, 사용자의 복호화 장치(220)로부터 대상 영상의 위치 정보가 수신되면, 제1 인코더 유닛(212)은 전체 영상 중에서 입력되는 대상 영상을 실시간으로 부호화하여 부호화된 데이터를 제1 메모리 유닛(214)으로 보내는 것과 동시에 입력된 대상 영상에 대한 비트스트림을 복호화 장치(220)로 전송한다.The first encoding server 210 performs the same operations and functions as the encoding server according to the related art. For example, the first encoding server 210 may be a device for encoding a target image in real time by a user. More specifically, when the position information of the target image is received from the user's decoding apparatus 220, the first encoder unit 212 encodes the target image inputted in the entire image in real time and outputs the encoded data to the first memory unit 214 and transmits the bitstream of the input target image to the decoding device 220. [

제2 부호화 서버(230)는 전술한 본 발명의 실시예에 따른 부호화 서버이다. 즉, 제2 인코더 유닛(232)은 전체 영상을 소정의 크기를 갖는 다수의 조각 영상으로 분할한 다음, 각 조각 영상에 대하여 4개의 스캔 방향으로 부호화된 4개의 비트스트림을 생성하여 제2 메모리 유닛(234)으로 출력하여 저장한다. 그리고 비트스트림 추출기(236)는 복호화 장치(220)로부터 수신되는 대상 영상의 위치 정보에 기초하여 각 조각 영상에 대한 4개의 비트스트림으로부터 하나의 비트스트림을 선택하여 추출한다. 그리고 이와 같이 선택된 각 조각 영상의 비트스트림은 제2 부호화 서버(230)로부터 복호화 장치(220)로 전송된다.The second encoding server 230 is an encoding server according to the above-described embodiment of the present invention. That is, the second encoder unit 232 divides the entire image into a plurality of fragmented images having a predetermined size, generates four bitstreams encoded in four scan directions for each fragmented image, (234). The bitstream extractor 236 selects and extracts one bitstream from the four bitstreams for each piece image based on the location information of the target image received from the decoding device 220. The bit stream of each piece image thus selected is transmitted from the second encoding server 230 to the decoding apparatus 220.

따라서 본 실시예에 따른 영상 코덱 시스템(200)의 부호화 서버(210, 230)는 사용자의 요구에 따라 어느 한 가지 부호화 서버(210 또는 230)에서 부호화를 수행하고, 그 부호화 서버에서 생성된 비트스트림을 복호화 장치(220)로 전송한다. 복호화 장치(220)의 입장에서 보면, 부호화 서버(210 또는 230)로부터 전송되는 비트스트림이 어떤 부호화 서버를 이용하여 부호화된 비트스트림인지 먼저 인식할 수 있어야 대상 영상을 정확하게 복원하는 것이 가능하다. Therefore, the encoding servers 210 and 230 of the image codec system 200 according to the present embodiment perform encoding in one of the encoding servers 210 and 230 according to a user's request, and generate bitstreams To the decryption apparatus 220. From the viewpoint of the decoding apparatus 220, it is possible to recognize the bit stream transmitted from the encoding server 210 or 230 first by using a certain encoding server so that the target image can be correctly reconstructed.

결국, 본 실시예에 의하면 상기 제1 부호화 서버(210)에서 종래 기술에 따라 실시간으로 대상 영상에 대한 부호화가 수행되었는지 또는 제2 부호화 서버(230)에서 전술한 본 발명의 실시예 중의 한 가지 방법에 따라서 부호화가 수행되었는지를 식별할 수 있는 정보를 생성하여, 이를 복호화 장치(220)로 전송되는 비트스트림에 포함시킬 필요가 있다. 이러한 정보는 상기 2개의 부호화 서버(210, 230) 중에서 어느 한 가지 부호화 서버에서 부호화되었다는 것을 나타내기 위한 것이므로, 1비트 정보를 사용하여 표현할 수가 있다. 즉, 복호화 장치(220)로 전송되는 비트스트림에 어느 하나의 부호화 서버에 대한 온/오프(ON/OFF) 모드를 나타내는 1비트를 추가할 수 있다. 이와 같이, 제1 부호화 서버(210)와 제2 부호화 서버(230)와의 호환을 위하여 비트스트림에 추가되는 상기 1비트의 정보는, 예컨대 제1 부호화 서버(210)에서 부호화된 비트스트림인 경우에는 "0"을 할당하고 제2 부호화 서버(230)에서 부호화된 비트스트림인 경우에는 "1"을 할당할 수 있으며, 반대의 경우도 가능하다.
As a result, according to the present embodiment, it is determined whether the first encoding server 210 has encoded the target image in real time according to the conventional technique, or one of the embodiments of the present invention described in the second encoding server 230 It is necessary to generate information for identifying whether the encoding has been performed according to the bitstream and to include the information in the bitstream transmitted to the decoding apparatus 220. [ Since this information is used to indicate that one of the two encoding servers 210 and 230 has been encoded by the encoding server, it can be expressed using 1-bit information. That is, one bit indicating the ON / OFF mode for any one of the encoding servers may be added to the bit stream transmitted to the decoding apparatus 220. When the 1-bit information added to the bit stream for compatibility between the first encoding server 210 and the second encoding server 230 is a bit stream encoded by the first encoding server 210, for example, Quot; 1 "in the case of the bit stream coded by the second encoding server 230, and vice versa.

다음으로, 도 9를 참조하여 본 발명의 실시예에 따른 영상 코덱 시스템(100, 200)의 복호화 장치(120, 220)의 복호화 방법에 대하여 설명한다. 여기서, 도 9의 도면은 도 6a의 도면에 대응되는 것이다. 그리고 후술하는 복호화 방법은, 영상 코덱 시스템(200)의 복호화 장치(220)의 경우에는 제2 부호화 서버(230)에서 부호화된 입력 비트스트림을 복호화하는 경우, 즉 제2 부호화 서버(230)에서 부호화된 입력 비트스트림이라는 것을 나타내는 1비트 정보가 포함된 경우에 대해서만 적용된다. 따라서 영상 코덱 시스템(200)의 제1 부호화 서버(210)에서 부호화된 입력 비트스트림을 복호화하는 경우에는 후술하는 복호화 방법이 적용되지 않으며, 종래와 동일한 복호화 방법이 적용된다.Next, a decoding method of the decoding apparatuses 120 and 220 of the image codec systems 100 and 200 according to the embodiment of the present invention will be described with reference to FIG. Here, the drawing of Fig. 9 corresponds to the drawing of Fig. 6A. In the case of the decoding apparatus 220 of the image codec system 200, in the case of decoding the input bit stream encoded by the second encoding server 230, that is, when the second encoding server 230 encodes Only one bit of information indicating that the input bit stream is included is applied. Therefore, when decoding the input bitstream encoded by the first encoding server 210 of the video codec system 200, a decoding method described later is not applied and the same decoding method as the conventional method is applied.

또한 후술하는 복호화 방법은 전술한 영상 코덱 시스템(100, 200)에서의 복호화 장치(120, 220)의 경우에만 적용되는 것으로 한정되지 않으며, 본 실시예에서 도시되지 않은 다른 영상 코덱 시스템에서 부호화된 비트스트림을 복호화하는 경우에도 적용될 수 있다. 즉, 전체 영상이 다수의 조각 영상으로 구획될 수 있고 또한 각 조각 영상에 대하여 서로 다른 스캔 방향에 따라서 부호화된 비트스트림을 복호화하는 경우라는 후술하는 복호화 방법이 적용될 수 있다.The decoding method described below is not limited to the case of the decoding apparatuses 120 and 220 in the video codec systems 100 and 200 described above, It can also be applied to decoding a stream. That is, a decoding method described below can be applied, in which a whole image can be divided into a plurality of fragment images, and a bitstream encoded according to different scan directions is decoded for each fragment image.

도 9를 참조하면, 본 실시예에 따른 복호화 장치(120, 220)에서의 복호화 방법은, 대상 영상(40)의 일 지점에 인접한 블록을 시작 위치로 하여 대상 영상(40)이 조각 영상(31, 32, 33, 34) 중의 어떤 조각 영상과 겹치는 지에 따라서 각기 다른 스캔 방향으로 복호화를 수행한다. 9, a decoding method in the decoding apparatus 120, 220 according to the present embodiment is a decoding method in which a target image 40 is divided into a piece image 31 , 32, 33, and 34) in the different scanning directions.

여기서 상기 일 지점에 인접한 블록이란, 전체 영상이 하나 또는 다수의 수평 경계선과 하나 또는 다수의 수직 경계선에 의하여 다수의 조각 영상으로 분할되는 경우에는, 상기 수평 경계선과 수직 경계선이 만나는 모든 교차점에 인접한 블록이다. 예컨대, 도 9에 도시된 예와 같이 전체 영상(30)이 하나의 수평 경계선(52)과 하나의 수직 경계선(54)에 의하여 4개의 조각 영상(31, 32, 33, 34)으로 분할되는 경우에는, 상기 일 지점에 인접한 블록은 상기 수평 경계선(52)과 수직 경계선(54)의 교차점(56)에 인접한 블록(31a, 32a, 33a, 34a)이다. 또한, 상기 일 지점에 인접한 블록은 전체 영상이 다수의 경계선에 의하여 직사각형이 아닌 삼각형이나 마름모 등과 같은 다수의 조각 영상으로 분할되는 경우에는, 상기 다수의 경계선이 만나는 모든 교차점에 인접한 블록일 수 있다. Herein, the block adjacent to the one point means that when the entire image is divided into a plurality of pieces of images by one or a plurality of horizontal boundaries and one or a plurality of vertical boundaries, the block adjacent to one intersection where the horizontal boundary and the vertical boundary meet to be. For example, when the entire image 30 is divided into four piece images 31, 32, 33, and 34 by one horizontal boundary line 52 and one vertical boundary line 54 as in the example shown in FIG. 9 The block adjacent to the one point is a block 31a, 32a, 33a, 34a adjacent to the intersection 56 of the horizontal boundary line 52 and the vertical boundary line 54. The block adjacent to the one point may be a block adjacent to all intersections where the plurality of boundary lines meet when the whole image is divided into a plurality of pieces of images such as a triangle or a rhombus other than a rectangle by a plurality of boundary lines.

그리고 본 발명의 일 실시예에 따른 복호화 방법에 의하면, 조각 영상 31(상기 교차점에 대하여 왼쪽 위에 위치하는 조각 영상)과 겹치는 대상 영상(40)의 영역은 상기 블록 31a를 시작 위치로 하여 왼쪽 위 방향으로 순차적으로 복호화를 수행하며, 조각 영상 32(상기 교차점에 대하여 오른쪽 위에 위치하는 조각 영상)와 겹치는 대상 영상(40)의 영역은 상기 블록 32a를 시작 위치로 하여 오른쪽 위 방향으로 순차적으로 복호화를 수행하며, 조각 영상 33(상기 교차점에 대하여 왼쪽 아래에 위치하는 조각 영상)과 겹치는 대상 영상(40)의 영역은 상기 블록 33a를 시작 위치로 하여 왼쪽 아래 방향으로 순차적으로 복호화를 수행하며, 조각 영상 34(상기 교차점에 대하여 오른쪽 아래에 위치하는 조각 영상)와 겹치는 대상 영상(40)의 영역은 상기 블록 34a를 시작 위치로 하여 오른쪽 아래 방향으로 순차적으로 복호화를 수행한다.According to the decoding method according to the embodiment of the present invention, the area of the target image 40 overlapping the sculpted image 31 (the sculptured image positioned on the upper left with respect to the intersection) And the area of the target image 40, which overlaps with the piece image 32 (the piece image positioned at the upper right with respect to the intersection), is sequentially decoded in the upper right direction with the block 32a as the start position And the area of the target image 40 overlapping with the sculptured image 33 (the sculpture image positioned at the lower left with respect to the intersection) sequentially decodes in the lower left direction with the block 33a as the start position, and the sculptured image 34 (The piece image positioned at the lower right with respect to the intersection) is overlapped with the start position of the block 34a And it performs decoding to the lower right direction by one.

이와 같은 방법으로 복호화를 수행하는 이유는, 복호화 장치(120, 220)는 입력 비트스트림이 부호화 서버(110, 210)에서 부호화된 스캔 방향으로 복호화를 해야 하기 때문이다. 따라서 조각 영상 31과 겹치는 대상 영상(40)의 영역의 경우에는 상기 시작 위치의 블록(31a)으로부터 왼쪽 방향으로 복호화를 수행한 다음 그 위쪽 행도 왼쪽 방향으로 복호화를 수행하거나 또는 상기 시작 위치의 블록(31a)으로부터 위쪽 방향으로 복호화를 수행한 다음 그 왼쪽 열도 위쪽 방향으로 복호화를 수행할 수 있다(즉, 상기 네 번째 그룹에 속하는 스캔 방향 중의 한 가지 스캔 방향에 따른 복호화). 이와 같이, 조각 영상(31)과 겹치는 대상 영상(40)의 영역의 경우에 어떠한 스캔 방향에 따라 복호화를 수행하는지를 지시하는 정보는 입력 비트스트림에 포함되어 있을 수 있다.The reason for performing the decoding in this manner is that the decoding apparatuses 120 and 220 must decode the input bitstream in the scanning direction encoded by the encoding servers 110 and 210. Therefore, in the case of the area of the target image 40 overlapping the sculptured image 31, decoding is performed in the left direction from the block 31a at the start position, and then decoding is performed in the left direction in the upper row, (I.e., decoding in accordance with one scanning direction among the scanning directions belonging to the fourth group) after performing the decoding in the upward direction from the first group 31a. In this way, in the case of the area of the target image 40 overlapping the sculptured image 31, information indicating which scan direction to perform decoding may be included in the input bitstream.

이러한 원리는 다른 조각 영상(32, 33, 34)과 겹치는 대상 영상(40)의 영역의 경우에도 동일하게 적용될 수 있다. 예컨대, 조각 영상 32와 겹치는 대상 영상(40)의 영역의 경우에는 상기 세 번째 그룹에 속하는 스캔 방향 중의 한 가지 스캔 방향에 따라서 복호화를 수행하며, 조각 영상 33과 겹치는 대상 영상(40)의 영역의 경우에는 상기 두 번째 그룹에 속하는 스캔 방향 중의 한 가지 스캔 방향에 따라서 복호화를 수행하며, 그리고 조각 영상 34와 겹치는 대상 영상(40)의 영역의 경우에는 상기 첫 번째 그룹에 속하는 스캔 방향 중의 한 가지 스캔 방향에 따라서 복호화를 수행할 수 있다.This principle can also be applied to the case of the region of the target image 40 overlapping with the other piece images 32, 33, For example, in the case of the area of the target image 40 overlapping with the sculptured image 32, decoding is performed according to one of the scan directions belonging to the third group, and the area of the target image 40 overlapping the sculptured image 33 And in the case of the region of the target image 40 overlapping the sculptured image 34, one of the scan directions belonging to the first group is decoded, The decoding can be performed according to the direction.

이상에서 설명한 바와 같이, 전체 영상을 각 조각 영상으로 구획하기 위한 수평 경계선과 수직 경계선의 교차점에 인접한 블록을 기점으로 하여, 외각 방향(가로 우선 방향, 세로 우선 방향, 또는 지그재그 방향)으로 각 조각 영상과 겹치는 대상 영상의 영역들에 해당하는 영상을 복원하고 이들을 조합하면, 사용자가 디스플레이하기를 원하는 대상 영상 전체에 대한 복원이 가능하다.As described above, in the case where a block adjacent to the intersection of the horizontal boundary line and the vertical boundary line for dividing the entire image into each piece image is used as a starting point, and each piece image in the outer direction (horizontal priority direction, vertical priority direction, or zigzag direction) It is possible to reconstruct the entirety of the target image that the user wants to display by restoring the images corresponding to the regions of the target image overlapping the target image.

Claims (8)

영상 부호화 장치에 입력된 입력 영상을 부호화하는 방법에 있어서,
상기 입력 영상을 구성하는 조각 영상의 개수 및 크기를 결정하는 단계;
상기 결정된 개수 및 크기에 따라 상기 입력 영상을 복수의 조각 영상으로 구획하는 단계;
상기 복수의 조각 영상 각각에 대하여 병렬적으로 부호화를 수행하는 부호화 단계; 및
상기 입력 영상이 복수의 조각 영상으로 구획되었는지 여부를 표시하는 정보인 구획 정보를 생성하는 단계를 포함하되,
상기 구획 정보는 상기 입력 영상 마다 1비트 플래그로 표현되며,
상기 입력 영상은 수평 경계선을 따라 사각형 모양의 상기 복수의 조각 영상으로 구획되고,
상기 복수의 조각 영상 각각은 복수의 블록으로 구성되고,
상기 복수의 블록 각각은 하나의 조각 영상에만 포함되는 영상 부호화 방법.
A method of encoding an input image input to a video encoding apparatus,
Determining the number and size of the piece images constituting the input image;
Dividing the input image into a plurality of fragment images according to the determined number and size;
An encoding step of performing parallel encoding on each of the plurality of fragment images; And
Generating partition information, which is information indicating whether the input image is divided into a plurality of fragment images,
The segment information is represented by a 1-bit flag for each input image,
Wherein the input image is divided into a plurality of pieces of the piece image having a rectangular shape along a horizontal boundary line,
Wherein each of the plurality of piece images comprises a plurality of blocks,
Wherein each of the plurality of blocks is included only in one piece image.
제1항에 있어서,
상기 부호화 단계는, 제1 스캔 방향, 제2 스캔 방향, 제3 스캔 방향 또는 제4 스캔 방향 중 하나를 이용하여 상기 조각 영상 내의 블록들을 순차적으로 부호화하되,
상기 제1 스캔 방향은 상기 조각 영상 내의 좌-상단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 부호화하는 스캔 방향이고,
상기 제2 스캔 방향은 상기 조각 영상 내의 우-상단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 부호화하는 스캔 방향이며,
상기 제3 스캔 방향은 상기 조각 영상 내의 좌-하단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 부호화하는 스캔 방향이며,
상기 제4 스캔 방향은 상기 조각 영상 내의 우-하단 모서리 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 부호화하는 스캔 방향인 영상 부호화 방법.
The method according to claim 1,
Wherein the encoding step sequentially encodes blocks in the piece image using one of a first scan direction, a second scan direction, a third scan direction, and a fourth scan direction,
Wherein the first scanning direction is a scanning direction in which a left-upper corner block in the piece image is sequentially encoded in a horizontal or vertical direction with a start position,
Wherein the second scanning direction is a scanning direction in which a right-upper corner block in the piece image is sequentially encoded in a horizontal or vertical direction with a start position,
Wherein the third scanning direction is a scanning direction in which a left-lower corner block in the piece image is sequentially encoded in a horizontal or vertical direction with a start position,
Wherein the fourth scan direction is a scan direction for sequentially encoding a horizontal or vertical direction with a right-bottom corner block in the piece image as a start position.
제1항에 있어서,
상기 각각의 조각 영상은 직사각형 모양인 것을 특징으로 하는 영상 부호화 방법.
The method according to claim 1,
Wherein each piece image is a rectangular shape.
삭제delete 입력 영상을 부호화하여 생성한 부호화된 입력 영상을 복호화하는 방법에 있어서,
상기 입력 영상을 부호화하는 과정에서 상기 입력 영상이 복수의 조각 영상으로 구획되었는지 여부를 표시하는 정보인 구획 정보를 수신하는 단계;
상기 구획 정보가 상기 입력 영상이 복수의 조각 영상으로 구획되었음을 표시하는 경우, 상기 입력 영상을 구성하는 조각 영상의 개수 및 크기에 관한 정보를 획득하는 단계;
상기 획득된 개수 및 크기에 관한 정보에 기반하여 상기 부호화된 입력 영상을 상기 복수의 조각 영상으로 구획하는 단계; 및
상기 복수의 조각 영상 각각에 대하여 병렬적으로 복호화를 수행하는 단계를 포함하되,
상기 구획 정보는 상기 입력 영상 마다 1비트 플래그로 표현되며,
상기 부호화된 입력 영상은 수평 경계선을 따라 사각형 모양의 상기 복수의 조각 영상으로 구획되고, 상기 복수의 조각 영상 각각은 복수의 블록으로 구성되고, 상기 복수의 블록 각각은 하나의 조각 영상에만 포함되는 영상 복호화 방법.
A method for decoding a coded input image generated by coding an input image,
Receiving partition information, which is information indicating whether the input image is divided into a plurality of fragment images, in the process of coding the input image;
Obtaining information on the number and size of the piece images constituting the input image when the segment information indicates that the input image is segmented into a plurality of piece images;
Dividing the encoded input image into the plurality of fragment images based on the information on the obtained number and size; And
And performing parallel decoding on each of the plurality of fragment images,
The segment information is represented by a 1-bit flag for each input image,
Wherein the encoded input image is divided into a plurality of pieces of piece images each having a rectangular shape along a horizontal boundary line, each of the plurality of piece images is composed of a plurality of blocks, and each of the plurality of blocks includes an image Decoding method.
제5항에 있어서,
상기 복호화를 수행하는 단계는, 제1 스캔 방향, 제2 스캔 방향, 제3 스캔 방향 또는 제4 스캔 방향 중 하나를 이용하여 상기 조각 영상 내의 블록들을 순차적으로 복호화하되,
상기 제1 스캔 방향은 상기 조각 영상 내의 좌-상단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 복호화하는 스캔 방향이고,
상기 제2 스캔 방향은 상기 조각 영상 내의 우-상단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 복호화하는 스캔 방향이며,
상기 제3 스캔 방향은 상기 조각 영상 내의 좌-하단 코너 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 복호화하는 스캔 방향이며,
상기 제4 스캔 방향은 상기 조각 영상 내의 우-하단 모서리 블록을 시작 위치로 하여 수평 또는 수직 방향으로 순차적으로 복호화하는 스캔 방향인 영상 복호화 방법.
6. The method of claim 5,
Wherein the decoding step sequentially decodes blocks in the piece image using one of a first scanning direction, a second scanning direction, a third scanning direction, and a fourth scanning direction,
Wherein the first scanning direction is a scanning direction for sequentially deciphering a horizontal or vertical direction with a left-upper corner block in the piece image as a start position,
Wherein the second scanning direction is a scanning direction in which a right-upper corner block in the piece image is decoded in a horizontal or vertical direction with a start position,
Wherein the third scanning direction is a scanning direction in which a left-lower corner block in the piece image is decoded in a horizontal or vertical direction with a start position,
Wherein the fourth scan direction is a scan direction in which a horizontal or vertical direction is sequentially decoded with a right-bottom corner block in the piece image as a start position.
제5항에 있어서,
상기 각각의 조각 영상은 직사각형 모양인 것을 특징으로 하는 영상 복호화 방법.
6. The method of claim 5,
Wherein each piece image is a rectangular shape.
삭제delete
KR1020140162905A 2014-11-20 2014-11-20 Image codec system, image encoding method, and image decoding method for supporting spatial random access KR101549017B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140162905A KR101549017B1 (en) 2014-11-20 2014-11-20 Image codec system, image encoding method, and image decoding method for supporting spatial random access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140162905A KR101549017B1 (en) 2014-11-20 2014-11-20 Image codec system, image encoding method, and image decoding method for supporting spatial random access

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020140078166A Division KR101549016B1 (en) 2014-06-25 2014-06-25 Image codec system, image encoding method, and image decoding method for supporting spatial random access

Publications (2)

Publication Number Publication Date
KR20150003692A KR20150003692A (en) 2015-01-09
KR101549017B1 true KR101549017B1 (en) 2015-09-01

Family

ID=52476318

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140162905A KR101549017B1 (en) 2014-11-20 2014-11-20 Image codec system, image encoding method, and image decoding method for supporting spatial random access

Country Status (1)

Country Link
KR (1) KR101549017B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0210434A2 (en) 1985-07-26 1987-02-04 International Business Machines Corporation Configurable parallel pipeline image processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0210434A2 (en) 1985-07-26 1987-02-04 International Business Machines Corporation Configurable parallel pipeline image processing system

Also Published As

Publication number Publication date
KR20150003692A (en) 2015-01-09

Similar Documents

Publication Publication Date Title
CN110036641B (en) Method, device and computer readable storage medium for processing video data
US10728521B2 (en) Apparatus, a method and a computer program for omnidirectional video
Niamut et al. MPEG DASH SRD: spatial relationship description
CN113498606A (en) Apparatus, method and computer program for video encoding and decoding
US10672102B2 (en) Conversion and pre-processing of spherical video for streaming and rendering
US10623816B2 (en) Method and apparatus for extracting video from high resolution video
KR102111436B1 (en) Method and Apparatus for Generating Single Bit Stream from Multiple Video Stream
EP3741108A1 (en) An apparatus, a method and a computer program for omnidirectional video
US20210227236A1 (en) Scalability of multi-directional video streaming
WO2019141907A1 (en) An apparatus, a method and a computer program for omnidirectional video
CN109587478B (en) Media information processing method and device
Sánchez de la Fuente et al. Video processing for panoramic streaming using HEVC and its scalable extensions
JP2017123503A (en) Video distribution apparatus, video distribution method and computer program
US11457053B2 (en) Method and system for transmitting video
CN115668935A (en) Image encoding/decoding method and apparatus based on wrap motion compensation and recording medium storing bitstream
CN111726598B (en) Image processing method and device
KR101549016B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
KR101295158B1 (en) Image codec system for supporting spatial random access and image encoding/decoding equipment and method thereof
KR101305319B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
KR101549018B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
KR101549017B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
KR101614402B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
KR101440731B1 (en) Image codec system, image encoding method, and image decoding method for supporting spatial random access
US11736725B2 (en) Methods for encoding decoding of a data flow representing of an omnidirectional video
US20230308674A1 (en) Method and apparatus for encoding/decoding image on basis of cpi sei message, and recording medium having bitstream stored therein

Legal Events

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

Payment date: 20180508

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190722

Year of fee payment: 5