KR20060103409A - Region of interest (roi) coding method and apparatus with slice structure - Google Patents

Region of interest (roi) coding method and apparatus with slice structure Download PDF

Info

Publication number
KR20060103409A
KR20060103409A KR1020060078256A KR20060078256A KR20060103409A KR 20060103409 A KR20060103409 A KR 20060103409A KR 1020060078256 A KR1020060078256 A KR 1020060078256A KR 20060078256 A KR20060078256 A KR 20060078256A KR 20060103409 A KR20060103409 A KR 20060103409A
Authority
KR
South Korea
Prior art keywords
region
quantization
roi
interest
quantization coefficients
Prior art date
Application number
KR1020060078256A
Other languages
Korean (ko)
Other versions
KR100720003B1 (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 KR1020060078256A priority Critical patent/KR100720003B1/en
Publication of KR20060103409A publication Critical patent/KR20060103409A/en
Application granted granted Critical
Publication of KR100720003B1 publication Critical patent/KR100720003B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/167Position within a video image, e.g. region of interest [ROI]
    • 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/124Quantisation
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]

Abstract

영상의 부호화 및 복호화 방법 및 장치가 개시된다. 상기 영상부호화 방법은 화면단위로 입력되는 입력영상에서 상기 관심영역과 상기 배경영역을 설정하고 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋도록 각 영역에 양자화 계수를 설정하는(a)단계, (a)단계에서 설정된 각 영역을 각각 독립적인 슬라이스 구조로 분리하고 각 슬라이스를 복호화하기 위해 필요한 정보를 슬라이스 헤더로 부호화하는(b)단계, (a)단계에서 설정된 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정하는(c)단계, 매크로블록별 영상 데이터를 예측/변환 부호화 후 (c)단계에서 결정된 양자화 계수에 따라 양자화하는(d)단계, 매크로블록 단위로 양자화된 영상 데이터의 엔트로피를 부호화하는(e)단계를 포함한다. 상기 관심영역 부호화방법은 입력영상을 관심영역과 배경영역으로 분리하여 부호화함으로써 부호화 효율을 높이고 각각을 독립된 슬라이스로 나누어 전송함으로써 전송 효율을 높이되 슬라이스 헤더에 각 영역의 양자화 계수를 부호화하여 각 영역간에 경계가 드러나지 않도록 경계 부근에서 양자화 계수를 인접 영역의 양자화 계수에 근접하게 변화시킴으로써 주관적 화질을 높이는 장점을 가지고 있다.Disclosed are a method and apparatus for encoding and decoding an image. The image encoding method may include setting the region of interest and the background region in an input image input in units of screens, and setting quantization coefficients in each region so that the image quality of the region of interest is better than that of the background region; The macroblocks corresponding to each region set in the step (b) and (a) are divided into separate slice structures, and the information necessary to decode each slice is encoded into a slice header. (C) determining each quantization coefficient, quantizing the macroblock image data according to the quantization coefficient determined in step (c) after predicting / transforming encoding, and entropy of the quantized image data in units of macroblocks. (E) encoding the. In the ROI encoding method, an input image is separated into an ROI and a background region and encoded to increase encoding efficiency, and each of the slices is transmitted in separate slices, thereby increasing transmission efficiency, but encoding quantization coefficients of each region in a slice header between the regions. The subjective image quality is improved by changing the quantization coefficient closer to the quantization coefficient in the adjacent region so that the boundary is not exposed.

슬라이스, DCT Slice, DCT

Description

슬라이스 구조를 갖는 관심 영역 부호화 및 복호화를 위한 방법 및 장치 {Region of interest (ROI) coding method and apparatus with slice structure}Method and apparatus for region of interest coding and decoding having slice structure {Region of interest (ROI) coding method and apparatus with slice structure}

본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 상세한 설명이 제공된다.The detailed description of each drawing is provided in order to provide a thorough understanding of the drawings cited in the detailed description of the invention.

도 1a는 본 발명에 따른 슬라이스 구조를 갖는 관심 영역 영상 부호화 장치의 일실시예를 개략적으로 나타내는 블록도이다.1A is a block diagram schematically illustrating an embodiment of an apparatus for encoding a region of interest image having a slice structure according to the present invention.

도 1b는 본 발명에 따른 슬라이스 구조를 갖는 관심 영역 영상 복호화 장치의 일실시예를 개략적으로 나타내는 블록도이다.1B is a block diagram schematically illustrating an embodiment of an apparatus for decoding a region of interest having a slice structure according to the present invention.

도 2a는 도 1a의 장치에서 수행되는 관심 영역 영상 부호화 방법의 일실시예를 나타내는 흐름도이다.FIG. 2A is a flowchart illustrating an embodiment of a region of interest image encoding method performed by the apparatus of FIG. 1A.

도 2b는 도 1b의 장치에서 수행되는 관심 영역 영상 부호화 방법의 일실시예를 나타내는 흐름도이다.2B is a flowchart illustrating an embodiment of a region of interest image encoding method performed by the apparatus of FIG. 1B.

도 3a 및 도 3b는 슬라이스 헤더의 실시예를 나타내는 도면이다.3A and 3B illustrate an embodiment of a slice header.

도 4a 및 도 4b는 한 화면에 관심영역과 배경영역을 결정하는 과정을 나타내는 도면이다.4A and 4B illustrate a process of determining a region of interest and a background region on a screen.

도 5a 및 도 5b는 각 영역의 경계 부분에서 양자화 계수가 변화될 구간을 결정하는 과정을 나타내는 도면이다.5A and 5B are diagrams illustrating a process of determining a section in which a quantization coefficient is to be changed at a boundary portion of each region.

본 발명은 영상의 부호화 및 복호화 방법 및 장치에 관한 것으로, 보다 상세하게는 관심영역과 배경영역을 분리하여 부호화한 영상을 전송하여 복호화하는 방법 및 장치에 관한 것이다. The present invention relates to a method and apparatus for encoding and decoding an image, and more particularly, to a method and apparatus for transmitting and decoding an image obtained by separating an ROI and a background region and encoding the image.

일반적으로 영상을 부호화하여 전송하는 경우, 전송할 영상의 양이 너무 많기 때문에 상기 영상을 일정한 단위로 나누어서 전송한다. 이러한 단위의 예로서 H.263에서 사용하고 있는 슬라이스 구조가 있다. In general, when encoding and transmitting an image, since the amount of the image to be transmitted is too large, the image is divided and transmitted in a predetermined unit. An example of such a unit is the slice structure used in H.263.

영상을 부호화할 때에 관심 영역과 배경 영역을 분리하여 부호화함으로써 부호화 효율을 높일 수 있는데, 이것은 사람의 시각적 특성을 이용한 것으로 사람이 영상을 볼 때에 배경의 화질보다는 관심 영역의 화질을 중요하게 생각하기 때문이다.When encoding an image, encoding efficiency can be increased by separating the ROI and the background region by encoding the visual characteristics of the human. This is because the image quality of the ROI is considered more important than the background image quality when a person views the image. to be.

관심 영역과 배경을 분리하여 부호화할 때에 각각의 영역을 독립된 단위(슬라이스)구조로 묶어서 전송하는 것이 효율적이다. 두 영역을 분리된 단위로 묶음으로서 각 영역을 서로 다른 방법을 사용하여 전송할 수 있는데, 예를 들어 관심 영역에 해당하는 단위는 FEC 패리티 패킷(forward error correction) parity packet)을 배경 영역 단위보다 더 많이 사용한다던가 하는 등의 UEP(unequal error protection)방법을 적용할 수 있다.When separating and encoding the ROI and the background, it is efficient to bundle each region in an independent unit (slice) structure and transmit it. By grouping the two areas into separate units, each area can be transmitted using a different method, for example, a unit of interest corresponds to more FEC parity packets than the background area. UEP (unequal error protection) method, such as using it may be applied.

관심 영역과 배경 영역을 각각 부호화할 때에 관심영역은 화질을 높이기 위 해 작은 양자화 계수를 사용하여 양자화를 하고, 반대로 배경영역은 압축률을 높이기 위해 큰 양자화 계수를 사용한다. 이 때, 각 영역에 하나의 양자화 계수를 부여하여 부호화하는데 이러한 경우 각 영역의 양자화 계수 값의 차이로 인해 배경 영역과 관심 영역의 경계가 두드러지게 나타나기 쉽다. 이러한 경계는 복원된 영상의 주관적인 화질을 크게 손상시킨다. 이러한 문제를 해결하기 위해서는 배경 영역과 관심 영역 사이의 양자화 계수가 급격히 변화하지 않고 점차적으로 변화하도록 해야 한다.When encoding the ROI and the background region, the ROI is quantized using small quantization coefficients to improve the image quality, while the background region uses large quantization coefficients to increase the compression ratio. In this case, one quantization coefficient is assigned to each region and encoded. In this case, the boundary between the background region and the region of interest is prominent due to the difference in the quantization coefficient value of each region. This boundary greatly impairs the subjective quality of the reconstructed image. In order to solve this problem, the quantization coefficient between the background region and the region of interest must be gradually changed, not rapidly changed.

한편, H.263 버전2(version2) 표준안 (ITU-T Recommendation H.263, Video Coding for Low Bit Rate Communication, Jan. 1998)에서는 한 장의 영상을 부호화 할 때에 매크로블록의 열 단위로 GOB(group of block; 이하 'GOB'라 한다.)층을 형성하고 각 GOB 헤더에 GOB 안에서 사용된 양자화 계수가 부호화되어 있다. 그리고, Annex K에서 슬라이스 구조 모드 (slice structured mode)를 사용하여 연속된 매크로블록 (Macroblock:MB)의 그룹단위로, 또는 임의의 사각형 모양 단위의 매크로블록 그룹으로 영역을 구분하여 한 장의 영상을 부호화할 수 있고, 각 슬라이스는 슬라이스 헤더를 가지고 독립적으로 복호화될 수 있는데 슬라이스 헤더는 시작 코드로 시작하여 시작 매크로블록의 영상 내의 위치, 슬라이스의 크기, 그리고 슬라이스 내의 매크로블록을 부호화할 때 사용하는 양자화 계수 등을 가지고 있다.On the other hand, in the H.263 version 2 (ITU-T Recommendation H.263, Video Coding for Low Bit Rate Communication, Jan. 1998), a group of GOBs (group of A quantization coefficient used in the GOB is encoded in each GOB header. In Annex K, a slice image is encoded by using a slice structured mode to divide a region into groups of consecutive macroblocks (MBs) or macroblock groups of arbitrary rectangular units. Each slice can be independently decoded with a slice header. The slice header starts with the start code and starts with the start code, the position in the image of the starting macroblock, the size of the slice, and the quantization coefficient used to encode the macroblock within the slice. It has a back.

비록 이러한 방법을 관심 영역 부호화에 적용할 수는 있지만 이 경우 GOB 또는 슬라이스의 단위로 묶여진 해당 영역에 해당하는 부분의 양자화 계수만 전송되기 때문에 인접 영역의 양자화 계수를 알 수가 없고, 따라서 두 영역간에 양자화 계수의 차이가 클 경우 두 영역간의 경계가 두드러지게 나타나게 되어 주관적 화질을 크게 손상시킨다.Although this method can be applied to the region of interest coding, in this case, only the quantization coefficients of the corresponding regions bounded by the unit of GOB or slice are transmitted, so that the quantization coefficients of adjacent regions are not known, and thus quantization between the two regions. If the coefficient difference is large, the boundary between the two regions becomes prominent, which greatly impairs the subjective picture quality.

또한, MPEG-4 파트2(part2)표준안 (ISO/IEC 14496-2, Information Technology- Generic Coding of Audio-Visual Objects, Part 2: Visual (Final Draft of International Standard), Dec. 1998)에서는 한 장의 영상을 객체별로 부호화 할 수 있는데, 각 객체별로 양자화 계수를 각각 사용할 수 있다. 그러나, 하나의 객체를 부호화할 때에 이 객체와 인접한 객체, 혹은 배경 객체의 양자화 계수가 함께 부호화되지 않기 때문에 관심 영역 부호화에 적용할 경우 관심 영역에 해당하는 객체와 배경 영역에 해당하는 객체간에 양자화 계수의 차이가 클 경우 그 경계가 두드러지게 나타나므로 주관적 화질을 크게 손상시킨다.In addition, the MPEG-4 Part2 standard (ISO / IEC 14496-2, Information Technology-Generic Coding of Audio-Visual Objects, Part 2: Visual (Final Draft of International Standard), Dec. 1998) Can be encoded for each object, and quantization coefficients can be used for each object. However, when one object is encoded, the quantization coefficients of the object and the adjacent object or the background object are not coded together, so when applied to the ROI coding, the quantization coefficient between the object corresponding to the ROI and the object corresponding to the background region is applied. If the difference is large, the boundary becomes prominent, which greatly impairs the subjective picture quality.

또한, 미국특허 6,256,423(Intra-frame quantizer selection for video compression)은 관심영역과 배경영역, 그리고 두 영역사이의 트랜지션(transition) 영역을 정의하고 각 영역간의 양자화 계수를 결정하는 압축방법이다. 비록 트랜지션 영역이 있어서 관심영역과 배경영역간에 경계가 나타나는 현상은 어느 정도 해소될 수 있지만 각 영역이 독립된 양자화 계수 값을 가지므로 각 영역간에 양자화 계수가 점차적으로 변화하도록 하려면 관심 영역과 배경 영역 사이에 다수의 트랜지션 영역을 두어야 하므로 비효율적이다.In addition, U. S. Patent No. 6,256, 423 (Intra-frame quantizer selection for video compression) is a compression method that defines the region of interest, the background region, the transition region between the two regions and determine the quantization coefficient between each region. Although the transition region between the ROI and the background region can be solved to some extent, each region has independent quantization coefficient values, so that the quantization coefficient gradually changes between the ROI and the background region. This is inefficient because it requires multiple transition regions.

본 발명이 이루고자 하는 기술적 과제는 영상 정보를 전송하는 경우, 관심 영역 단위와 배경 영역 단위로 나누어 전송하되 해당 영역과 인접 영역, 혹은 배경 영역의 양자화 계수 정보를 함께 전송하여 인접한 영역간의 경계가 드러나지 않도록 하는 방법 및 장치를 제공하는 것이다.The technical problem to be achieved in the present invention is to transmit the image information, divided into the unit of interest area and the background area unit, but transmitted along with the quantization coefficient information of the corresponding area and the adjacent area or the background area so that the boundary between adjacent areas is not revealed. It is to provide a method and apparatus.

본 발명이 이루고자 하는 다른 기술적 과제는 상기 관심 영역 부호화 및 복호화 방법을 컴퓨터에서 실행 가능한 프로그램 코드로 기록된 기록 매체를 제공하는 데 있다.Another object of the present invention is to provide a recording medium in which the region of interest encoding and decoding method is recorded by program code executable by a computer.

상기 기술적 과제를 달성하기 위한 영상부호화 방법은 (a) 화면 단위로 입력되는 입력영상에서 관심영역과 배경영역을 각각 설정하고 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋도록 설정된 각 영역의 양자화 계수를 설정하는 단계; (b) 상기(a)단계에서 설정된 각 영역을 각각 독립적인 슬라이스 구조로 분리하고 각 슬라이스 헤더에 상기 관심영역과 상기 배경영역의 상기 양자화 계수를 모두 포함하여 부호화하는 단계; (c) 상기(a)단계에서 설정된 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정하는 단계; (d) 매크로블록별로 상기 입력영상을 예측부호화 및 변환 부호화 후 상기(c)단계에서 결정된 양자화 계수에 따라 양자화하는 단계; 및 (e) 매크로블록 단위로 양자화된 영상데이터의 엔트로피를 부호화하는 단계를 포함한다.According to an aspect of the present invention, an image encoding method includes (a) setting a region of interest and a background region in an input image input in units of screens, and quantizing each region so that the image quality of the region of interest is better than that of the background region. Setting a coefficient; (b) dividing each region set in the step (a) into independent slice structures and encoding each slice header including both the quantization coefficients of the ROI and the background region; (c) determining a quantization coefficient of each of the macroblocks corresponding to each region set in step (a); (d) quantizing the input image for each macroblock according to quantization coefficients determined in step (c) after predictive encoding and transform encoding; And (e) encoding the entropy of the quantized image data in macroblock units.

상기 관심영역에 해당하는 상기 슬라이스의 헤더에 상기 배경영역의 양자화 계수를 포함하여 부호화하며, 상기 배경영역에 해당하는 상기 슬라이스의 헤더에 상기 관심영역의 양자화 계수를 포함하여 부호화한다.And encoding the header of the slice corresponding to the ROI by including the quantization coefficients of the background region, and encoding the header of the slice corresponding to the ROI by including the quantization coefficient of the ROI.

상기 양자화 계수를 설정하는 방법은 상기 관심영역의 화질이 상기 배경영역 의 화질보다 좋게되도록 상기 양자화 계수를 설정하고, 상기 관심영역과 상기 배경영역의 경계부분에서는 상기 슬라이스 헤더에 부호화된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키며, 상기 양자화 계수가 변화시키는 구간은 각 영역의 크기에 비례하도록 설정된다. 상기 관심영역 부호화 방법은 컴퓨터에 실행 가능한 프로그램 코드로 기록한 기록매체에서 수행될 수 있다. The method of setting the quantization coefficients may include setting the quantization coefficients such that the image quality of the ROI is better than the image quality of the background region, and quantization of adjacent regions encoded in the slice header at the boundary between the ROI and the background region. The quantization coefficient is changed to approximate the coefficient, and the section in which the quantization coefficient changes is set to be proportional to the size of each region. The region of interest encoding method may be performed on a recording medium recorded with a program code executable on a computer.

상기 기술적 과제를 달성하기 위한 관심 영역부호화장치는 화면 단위로 입력되는 입력영상에서 관심영역과 배경영역을 각각 설정하고 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋도록 각 영역에 양자화 계수를 설정하고 상기 관심영역과 상기 배경영역간의 경계가 드러나지 않도록 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정하는 관심 영역 부호화 모델링부; 상기 관심영역 부호화 모델링부에서 결정된 각 영역을 각각 독립적인 슬라이스 구조로 분리하고 각 슬라이스 헤더에 관심 영역과 배경 영역의 양자화 계수를 모두 포함하여 부호화하는 슬라이스 헤더 부호화부; 매크로블록별로 상기 입력영상을 예측부호화 및 변환 부호화 후 상기 관심 영역 부호화 모델링부에서 결정된 양자화 계수에 따라 양자화하고 엔트로피를 부호화하는 엔트로피 부호화부를 포함한다.In order to accomplish the above technical problem, the ROI encoder sets a ROI and a background region in an input image input in units of screens, and sets quantization coefficients in each region so that the image quality of the ROI is better than that of the background region. A region of interest encoding modeling unit configured to determine a quantization coefficient of each of the macroblocks corresponding to each region so that the boundary between the region of interest and the background region is not exposed; A slice header encoder to separate each region determined by the ROI encoding modeling unit into independent slice structures and to include and encode quantization coefficients of the ROI and the background region in each slice header; And an entropy encoder for predicting and transform encoding the input image according to macroblocks, and quantizing the entropy according to the quantization coefficients determined by the ROI modeling unit and encoding entropy.

상기 관심영역에 해당하는 상기 슬라이스의 헤더에 상기 배경 영역의 양자화 계수를 포함하여 부호화되며, 상기 배경영역에 해당하는 상기 슬라이스의 헤더에 상기 관심영역의 양자화 계수를 포함하여 부호화된다.The header of the slice corresponding to the ROI is encoded including the quantization coefficients of the background region, and the header of the slice corresponding to the ROI is encoded including the quantization coefficient of the ROI.

상기 관심영역 부호화 장치는 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋게 되도록 양자화 계수를 설정하고, 상기 관심영역과 상기 배경영역의 경계 부분에서는 상기 슬라이스 헤더에 부호화된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키고, 상기 양자화 계수가 변화되는 구간은 각 영역의 크기에 비례하도록 설정된다.The apparatus for encoding a region of interest sets a quantization coefficient such that the image quality of the region of interest is better than that of the background region, and at the boundary between the region of interest and the background region, the quantization coefficient of the adjacent region encoded in the slice header is close to the quantization coefficient. The quantization coefficient is changed so as to be changed, and the section in which the quantization coefficient is changed is set to be proportional to the size of each region.

상기 기술적 과제를 달성하기 위한 관심영역 복호화방법은 (a) 각 슬라이스별로 전송받은 비트열을 엔트로피 복호화하는 단계; (b) 상기 (a)단계에서 복호화된 정보 중에서 슬라이스 헤더에 포함된 자기 영역과 인접 영역의 양자화 계수를 사용하여 각 매크로블록의 양자화 계수를 결정하는 단계; (c) 상기 (b)단계에서 결정된 양자화 계수를 사용하여 역양자화/역변환을 통해 영상을 복호화하는 단계; 및 (d) 상기(c)단계에서 복호화된 각 영역의 영상을 슬라이스 헤더에 포함된 각 영역의 위치 정보를 참조하여 하나의 화면으로 구성하는 단계를 포함한다.The region of interest decoding method for achieving the technical problem comprises the steps of: (a) entropy decoding the bit stream received for each slice; (b) determining quantization coefficients of each macroblock using quantization coefficients of the magnetic region and the adjacent region included in the slice header among the information decoded in step (a); (c) decoding the image through inverse quantization / inverse transformation using the quantization coefficient determined in step (b); And (d) configuring the image of each region decoded in the step (c) into one screen by referring to the position information of each region included in the slice header.

상기 각 매크로블록의 양자화 계수를 설정하는 단계는 상기 관심영역과 상기 배경영역의 경계부분에서 복호화된 슬라이스 헤더에 포함된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키고 그 외의 영역에서는 자기 영역의 양자화 계수를 사용한다.The setting of the quantization coefficients of each macroblock may include changing the quantization coefficients so as to approximate the quantization coefficients of adjacent regions included in the slice header decoded at the boundary between the ROI and the background region, and in other regions, Use quantization coefficients.

상기 양자화 계수를 변화시키는 구간은 영역의 크기에 비례하도록 설정되며, 상기 관심영역 복호화 방법은 컴퓨터에 실행 가능한 프로그램 코드로 기록한 기록 매체에 의하여 수행될 수 있다.The section for changing the quantization coefficient is set to be proportional to the size of the region, and the ROI decoding method may be performed by a recording medium recorded with program code executable on a computer.

상기 기술적 과제를 달성하기 위한 관심영역 복호화장치는 각 슬라이스별로 전송받은 비트열을 엔트로피 복호화하는 엔트로피 복호화부; 상기 엔트로피 복호화부에서 복호화된 정보 중에서 슬라이스 헤더에 포함된 자기 영역과 인접 영역의 양 자화 계수를 사용하여 각 매크로블록의 양자화 계수를 결정하는 관심 영역 복호화 모델링부; 상기 관심 영역 복호화 모델링부에서 결정된 양자화 계수를 사용하여 역양자화하는 역양자화부; 상기 역양자화부에서 역양자화된 신호를 역변환하고 예측된 신호를 보상하여 영상을 복원하는 영상 복원부; 및 상기 영상 복원부에서 복원된 각 영역의 영상을 슬라이스 헤더에 포함된 각 영역의 위치 정보를 참조하여 하나의 화면으로 구성하는 영상 구성부를 포함한다.The ROI decoding apparatus may include an entropy decoder configured to entropy decode a bit string received for each slice; A region of interest decoding modeling unit which determines quantization coefficients of each macroblock using quantization coefficients of the magnetic region and the adjacent region included in the slice header among the information decoded by the entropy decoder; An inverse quantizer for inverse quantization using the quantization coefficients determined by the ROI modeling unit; An image reconstruction unit for inversely transforming an inverse quantized signal by the inverse quantizer and reconstructing an image by compensating a predicted signal; And an image configuring unit configured to configure an image of each region restored by the image restoring unit into one screen by referring to position information of each region included in a slice header.

상기 관심 영역 복호화 모델링부는 상기 관심영역과 상기 배경영역의 경계 부분에서 복호화된 슬라이스 헤더에 포함된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키고 그 외의 영역에서는 자기 영역의 양자화 계수를 사용한다.The ROI decoding modeling unit changes the quantization coefficients to be close to the quantization coefficients of adjacent regions included in the slice header decoded at the boundary between the ROI and the background region, and uses the quantization coefficients of the magnetic domain in other regions.

본 발명과 본 발명의 동작상의 이점 및 본 발명의 실시에 의하여 달성되는 목적을 충분히 이해하기 위해서는 본 발명의 바람직한 실시예를 예시하는 첨부 도면 및 첨부 도면에 기재된 내용을 참조하여야만 한다.In order to fully understand the present invention, the operational advantages of the present invention, and the objects achieved by the practice of the present invention, reference should be made to the accompanying drawings which illustrate preferred embodiments of the present invention and the contents described in the accompanying drawings.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예를 설명함으로써, 본 발명을 상세히 설명한다. 각 도면에 제시된 동일한 참조부호는 동일한 부재를 나타낸다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Like reference numerals in the drawings denote like elements.

도 1a는 본 발명에 따른 사람의 시각적 특성을 고려한 관심 영역 영상 부호화 장치의 일실시예를 개략적으로 나타내는 블록도이다. 도1a를 참조하면, 관심 영역 영상 부호화 장치는 관심 영역 부호화 모델링부(100), 슬라이스 헤더 부호화부(101), 공간/시간상 예측 부호화부(102), 변환 부호화부(103), 양자화부 (104) 및 엔트로피 부호화부(105)를 구비한다. 1A is a block diagram schematically illustrating an embodiment of an apparatus for encoding a region of interest according to a visual characteristic of a person, according to an exemplary embodiment of the present invention. Referring to FIG. 1A, a region of interest image encoding apparatus may include a region of interest encoding modeling unit 100, a slice header encoder 101, a spatial / temporal predictive encoder 102, a transform encoder 103, and a quantizer 104. ) And an entropy encoder 105.

도 1b는 본 발명에 따른 사람의 시각적 특성을 고려한 관심 영역 영상 복호화 장치의 일실시예를 개략적으로 나타내는 블록도이다. 도 1b를 참조하면, 관심 영역 영상 복호화 장치는 엔트로피 복호화부(106), 관심 영역 복호화 모델링부(107), 역양자화부(108), 영상 복원부(109) 및 영상 구성부(110)를 구비한다.1B is a block diagram schematically illustrating an embodiment of an apparatus for decoding a region of interest according to a visual characteristic of a person according to the present invention. Referring to FIG. 1B, the ROI image decoding apparatus includes an entropy decoder 106, an ROI modeling unit 107, an inverse quantization unit 108, an image reconstruction unit 109, and an image configuration unit 110. do.

도 2a는 도 1a의 장치에서 수행되는 관심 영역 영상 부호화 방법의 일실시예를 나타내는 흐름도이고, 도 2b는 도1b의 장치에서 수행되는 관심 영역 영상 복호화 방법의 일실시예를 나타내는 흐름도이다.2A is a flowchart illustrating an embodiment of a region of interest image encoding method performed by the apparatus of FIG. 1A, and FIG. 2B is a flowchart illustrating an embodiment of a region of interest image decoding method performed by the apparatus of FIG. 1B.

도 1a 및 도 2a를 참조하면, 관심 영역 부호화 모델링부(100)는 화면 단위로 입력되는 영상(동영상)에서 관심 영역과 배경 영역을 각각설정하고 관심 영역의 화질이 배경 영역의 화질보다 좋도록, 각 영역에 양자화 계수를 설정하고 두 영역간의 경계가 드러나지 않도록 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정한다. 1A and 2A, the ROI encoding modeling unit 100 sets an ROI and a background region in an image (video) input in units of screens, and the image quality of the ROI is better than that of the background region. A quantization coefficient is set in each region, and the quantization coefficient of each macroblock corresponding to each region is determined so that the boundary between the two regions is not exposed.

관심 영역 부호화 모델링부(100)는 화면 단위로 입력되는 영상(동영상)에서 관심 영역과 배경 영역을 설정하고(제200단계), 관심영역의 화질은 좋게 하고 배경 영역의 화질은 떨어뜨려 압축이 많이 되도록 각 영역의 양자화 계수를 설정하고 (제201단계), 각 영역의 경계가 드러나지 않도록 경계에 근접한 매크로블록의 양자화 계수 값을 인접 영역의 양자화 계수의 값에 근접하도록 변화시킨 후(제203단계) 이 값을 양자화부(104)에 제공한다. The region of interest coding modeling unit 100 sets a region of interest and a background region in an image (video) input in units of screens (step 200), and improves the image quality of the region of interest and reduces the image quality of the background region. Set the quantization coefficient of each region so as to (step 201), and change the quantization coefficient value of the macroblock close to the boundary to be close to the value of the quantization coefficient of the adjacent region so that the boundary of each region is not revealed (step 203). This value is provided to the quantization unit 104.

관심 영역 부호화 모델링부(100)는 관심 영역의 화질은 좋게 하고 배경 영역 의 화질은 떨어지도록 모델링하므로, 관심영역의 양자화 계수가 작고, 배경 영역의 양자화계수는 크다. 이러한 양자화 계수의 결정은 목표 비트량에 따라서 결정된다. 그리고, 관심 영역 부호화 모델링부(100)는 영역간의 경계가 드러나지 않도록 경계 부근의 매크로블록의 양자화 계수 값을 변화시키는데, 이에 대한 상세한 설명은 도 4a 내지 도 5b를 참조하여 상세히 설명될 것이다.Since the ROI coding modeling unit 100 models the image of the ROI to have good image quality and the background image of the ROI, the quantization coefficient of the ROI is small and the quantization coefficient of the ROI is large. The determination of this quantization coefficient is determined according to the target bit amount. In addition, the ROI encoding modeling unit 100 changes the quantization coefficient value of the macroblock near the boundary so that the boundary between the regions is not exposed. A detailed description thereof will be described with reference to FIGS. 4A to 5B.

슬라이스 헤더 부호화부(101)는 각 슬라이스를 복호화할 때 필요한 정보들을 부호화하는데(제202단계) 상기 필요한 정보들은 도 3a 및 도 3b에 도시된 바와 같이 슬라이스 헤더에 포함된다. 도 3a를 참조하면, 슬라이스 헤더에는 자기 영역에 사용될 양자화 계수뿐만 아니라 인접 영역의 양자화 계수를 함께 부호화하여 인접 영역과의 경계 부근에 위치한 매크로블록들의 양자화 계수를 인접 영역의 양자화 계수에 근접하도록 변화시킬 수 있도록 하여 영역간에 블록화 현상을 방지한다.The slice header encoder 101 encodes information necessary for decoding each slice (step 202). The necessary information is included in the slice header as shown in FIGS. 3A and 3B. Referring to FIG. 3A, the slice header encodes not only the quantization coefficients to be used in the magnetic domain but also the quantization coefficients of the adjacent regions so that the quantization coefficients of the macroblocks located near the boundary with the adjacent regions are changed to be closer to the quantization coefficients of the adjacent regions. To prevent blocking between regions.

그리고, 배경 영역의 경우 도 3b와 같이 자기 영역의 양자화 계수만 갖고 다른 영역의 양자화 계수를 갖지 않을 수도 있다. 이러한 경우 인접 영역의 양자화 계수를 고려하여 경계 부근의 매크로블록의 양자화 계수를 변화시키는 과정은 수행하지 않는다.In the case of the background region, as shown in FIG. 3B, only the quantization coefficient of the magnetic region may be included and the quantization coefficient of the other region may not be included. In this case, the process of changing the quantization coefficient of the macroblock near the boundary in consideration of the quantization coefficient of the adjacent region is not performed.

예측 부호화부(102)는 입력되는 영상을 예측 부호화하고, 변환 부호화부(103)는 예측 부호화된 입력 영상을 이산 여현 변환(Discrete Cosine Transform)한다 (제204단계). 한편, 부호화 계산을 간단히 하기 위해 예측 부호화부(102) 및 변환 부호화부(103)에서는 매크로블록 단위로 부호화를 한다.The predictive encoding unit 102 predictively encodes the input image, and the transform encoding unit 103 performs a discrete cosine transform on the predictively encoded input image (step 204). In order to simplify encoding calculation, the prediction encoder 102 and the transform encoder 103 perform encoding in units of macroblocks.

양자화부(104)는 공간/시간상 예측부호화부(102)를 통하여 매크로블록별로 예측 부호화되고 변환부호화부(103)를 통하여 변환 부호화된 영상 데이터를 수신하여, 관심 영역 부호화 모델링부(100)에서 결정된 양자화 계수에 따라 매크로블록별 영상 데이터를 양자화한다(제205단계). The quantization unit 104 receives image data that is predictively encoded for each macroblock through the spatial / temporal predictive encoding unit 102 and transform-coded through the transform encoding unit 103, and is determined by the ROI encoding modeling unit 100. In operation 205, image data for each macroblock is quantized according to the quantization coefficients.

한편, 관심 영역 부호화 모델링부(100)로부터 제공되는 양자화 계수는 화면의 관심 영역에서 배경 영역으로 갈수록 양자화 계수가 점점 커지므로 양자화에 따른 손실의 정도가 다르게 된다. 즉, 사람의 시선을 집중적으로 받는 관심 영역에서의 손실이 적고 시선을 덜 받는 배경영역에서의 손실은 커지게 된다.On the other hand, the quantization coefficients provided from the ROI coding modeling unit 100 increase in quantization coefficients from the ROI to the background area of the screen, and thus have different losses due to quantization. That is, the loss in the area of interest that receives the attention of the person is small and the loss in the background area that receives the less eye becomes large.

엔트로피 부호화부(105)는 양자화부(104)에서 양자화된 영상 데이터의 엔트로피를 부호화화여 비트열로 출력한다(제206단계).The entropy encoder 105 encodes the entropy of the image data quantized by the quantizer 104 and outputs the encoded entropy as a bit string (step 206).

도 1b 및 도 2b를 참조하여, 엔트로피 복호화부(106)는 전송 받아서 버퍼에 저장된(제 207단계) 비트열을 복호화하고(제 208단계), 그 중에서 슬라이스 헤더의 정보를 복호화하여(제 209단계), 관심 영역 복호화 모델링부(107)에 넘겨준다. 관심 영역 복호화 모델링부(107)는 영역의 크기에 따라 양자화 계수를 변화시킬 구간을 설정하고, 자기 영역과 인접 영역의 양자화 계수를 사용하여 각 매크로블록별 양자화 계수를 결정하여 역양자화부(108)에 전달한다(제 210단계). 1B and 2B, the entropy decoding unit 106 decodes the bit string received and stored in the buffer (step 207) (step 208), and decodes the information of the slice header therefrom (step 209). ) To the ROI decoding modeling unit 107. The ROI decoding modeling unit 107 sets a section for changing the quantization coefficients according to the size of the region, and determines the quantization coefficient for each macroblock by using the quantization coefficients of the magnetic region and the adjacent region, thereby dequantizing the 108. Transfer to step 210.

영상 복원부(109)에서는 각 매크로블록별로 역변환을 하고 예측된 정보를 보상하여 영상을 복원하고 (제 212단계), 영상 구성부(110)에서는 각 영역별 복원된 영상을 관심 영역과 배경 영역의 위치에 따라 합쳐서 한 화면으로 구성한다 (제 213단계).The image reconstructor 109 performs inverse transformation for each macroblock and compensates the predicted information to restore the image (step 212). The image reconstructor 110 reconstructs the reconstructed image for each region of the ROI and the background region. The screens are combined according to their position (step 213).

복호화시에 양자화 계수가 변화될 구간을 설정하는 방법이나 양자화 계수를 변화시키는 방법은 부호화시와 동일한 방법을 사용한다.The method of setting the section in which the quantization coefficients are to be changed at the time of decoding or the method of changing the quantization coefficients is the same as that used at the time of encoding.

이상에서와 같이, 사람의 시각적 특성을 고려하여 구분한 관심 영역과 배경 영역을 각각의 슬라이스로 나누어 부호화 또는 복호화를 하고 각 슬라이스 헤더에 두 영역의 양자화 계수를 모두 부호화함으로써 관심영역에서 배경영역으로 갈수록 양자화 계수가 점차적으로 높아지도록 제어하여 부호화 효율을 높이면서 영역간 블록화 현상을 효과적으로 제거할 수 있다.As described above, the ROI and the background region divided in consideration of the visual characteristics of the human are divided into respective slices and encoded or decoded, and both quantization coefficients of the two regions are encoded in each slice header, thereby gradually moving from the ROI to the background region. By controlling the quantization coefficient to be gradually increased, inter-blocking phenomenon can be effectively eliminated while improving coding efficiency.

도 4는 한 장의 영상에서 관심 영역과 배경 영역을 구분한 한 예이다. 도 4a는 한 장의 영상이 각각 하나씩의 관심 영역과 배경 영역으로 이루어져 있고, 도 4b는 한 장의 영상이 하나의 배경 영역과 두 개의 관심 영역으로 이루어져 있다. 여기서 관심 영역은 굵은 선으로 표시된 사각형 내부(300, 302, 303)를 말하며, 한 장의 영상 내에 한 개 이상의 관심 영역이 존재한다. 배경 영역은 관심 영역을 제외한 모든 부분(301, 304)을 말한다.4 illustrates an example of distinguishing an ROI and a background region from a single image. In FIG. 4A, one image includes one ROI and one background region, and FIG. 4B illustrates one image including one ROI and two ROIs. Herein, the region of interest refers to the insides of the rectangles 300, 302, and 303 indicated by thick lines, and one or more regions of interest exist in one image. The background area refers to all parts 301 and 304 except for the area of interest.

도 5는 도 4와 같이 설정된 관심 영역과 배경 영역에 각각의 양자화 계수가 주어졌을 때 서로 인접한 영역간에 경계가 드러나지 않도록 하기 위하여 양자화 계수를 변화시킬 구간(400, 401, 402)을 설정한 한 예이다. FIG. 5 illustrates an example in which sections 400, 401, and 402 for changing quantization coefficients are set so that boundaries between adjacent regions are not exposed when respective quantization coefficients are given to the ROI and the background region set as shown in FIG. 4. to be.

이러한 구간의 크기는 각 영역의 크기에 비례하여 결정할 수 있다. 도 4a의 경우는 한 장의 영상 내에 관심 영역이 하나로 되어 있기 때문에 배경 영역에서 관심 영역에 인접한 구간의 양자화 계수를 변화시킬 때 관심 영역의 양자화 계수를 고려하여 변화시킬 수 있다. The size of this section may be determined in proportion to the size of each region. In the case of FIG. 4A, since one region of interest is included in one image, the quantization coefficient of the region adjacent to the region of interest in the background region may be changed in consideration of the quantization coefficient of the region of interest.

도 5a는 이러한 경우에 설정된 양자화 계수를 변화시킬 구간을 보여 준다. 그러나, 도 4b와 같이 한 장의 영상 내에 다수의 관심 영역이 있을 경우 배경 영역에서 양자화 계수를 변화시킬 구간은 설정하지 않을 수 있다. 도 5b는 이와 같은 경우를 나타내는데 양자화 계수가 변화하는 구간이 오직 관심 영역 내에만 설정되어 있는 것을 볼 수 있다. 이러한 경우에도 도 5b와 같이 구간을 설정하지 않고 배경 영역에서 더 인접한 관심 영역을 판단하여 배경 영역의 양자화 계수를 변화시킬 수도 있다.5A shows a section for changing the quantization coefficient set in this case. However, when there are a plurality of ROIs in a single image as shown in FIG. 4B, the section for changing the quantization coefficients in the background region may not be set. FIG. 5B shows such a case where it can be seen that the section in which the quantization coefficient is changed is set only within the ROI. Even in this case, the quantization coefficient of the background region may be changed by determining a region of interest closer to the background region without setting a section as shown in FIG. 5B.

도 4와 같이 설정된 구간 내에서 관심 영역에 사용할 양자화 계수와 배경 영역에 사용할 양자화 계수를 도 3a 및 도 3b와 같이 모두 각 슬라이스 헤더에 포함하여 전송을 한 후, 도 5와 같이 설정된 구간 외의 영역에서는 각 영역에 해당되는 양자화 계수를 사용하고, 도 5에서 설정된 구간 내에서는 두 영역간 경계가 드러나지 않도록 양자화 계수를 인접한 영역의 양자화 계수에 근접하게 변화시킨다.After the quantization coefficients used for the ROI and the quantization coefficients used for the background region are included in each slice header as shown in FIGS. 3A and 3B and transmitted in the section set as shown in FIG. A quantization coefficient corresponding to each region is used, and the quantization coefficient is changed to be close to the quantization coefficient of the adjacent region so that the boundary between the two regions is not exposed in the interval set in FIG. 5.

양자화 계수를 변화시킬 구간을 설정하는 방법이나, 이 구간 안에서 양자화 계수를 변화시키는 방법은 부호화기와 복호화기에서 동일한 방법을 사용하여 부가적으로 이 방법에 대한 정보를 부호화하지 않을 수 있다.A method of setting a section to change the quantization coefficient or a method of changing the quantization coefficient within this section may additionally not encode information on the method using the same method in the encoder and the decoder.

본 발명에 따른 슬라이스 구조를 갖는 관심 영역 부호화 및 복호화 방법은 관심 영역의 화질을 높이되 배경과의 경계 부분이 드러나지 않도록 함으로써 주관적 화질을 향상시킨다. 관심 영역과 배경 영역이 서로 다른 슬라이스로 분리되어 부호화되었기 때문에 각 슬라이스를 서로 다른 방법을 사용하여 전송함으로써 전송 시에 오류가 발생할 경우 관심 영역의 화질을 우선적으로 보호할 수 있다.The ROI encoding and decoding method having a slice structure according to the present invention improves the subjective image quality by increasing the image quality of the ROI but not revealing a boundary with the background. Since the ROI and the background region are separated and encoded into different slices, the slices may be transmitted using different methods to protect the image quality of the ROI in case of an error during transmission.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있으며, 또한 캐리어 웨이브 (예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이상 도면과 명세서에서 최적 실시예들이 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The best embodiments have been disclosed in the drawings and specification above. Although specific terms have been used herein, they are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

상술한 바와 같이 본 발명에 따른 슬라이스 구조를 갖는 관심 영역 부호화 및 복호화 방법 및 장치는 화면을 관심 영역과 배경 영역으로 나누고 각각을 독립된 슬라이스로 부호화하되 두 영역간의 화질차이가 급격하게 변하지 않도록 슬라이스 헤더에 인접 영역의 양자화 계수를 포함하여 부호화함으로써 화질을 향상시키는 효과가 있다. As described above, the method and apparatus for encoding and decoding a region of interest having a slice structure according to the present invention divides a screen into a region of interest and a background region and encodes each into separate slices, but does not rapidly change the quality difference between the two regions. There is an effect of improving image quality by encoding the quantization coefficients in the adjacent region.

또한, 본 발명에 따른 슬라이스 구조를 갖는 관심 영역 부호화 및 복호화 방법 및 장치는 관심영역과 배경영역을 독립된 단위(슬라이스)로 나누어 부호화할 때에 배경영역과 관심영역사이의 양자화 계수가 점차적으로 변화할 수 있도록 각 단위(슬라이스)에 해당영역에서 사용할 양자화 계수 뿐 아니라 인접한 다른 영역에서 사용될 양자화 계수도 같이 부호화하여 전송하는 방법을 사용하므로, 이러한 방법을 통해 한 영역 내의 경계 부분에서 양자화 계수가 다른 영역의 양자화 계수 값에 근접하도록 변화시킴으로써 영역간의 경계가 두드러지게 나타나는 현상을 제거하는 효과가 있다. In addition, according to the present invention, a method and apparatus for encoding and decoding a region of interest having a slice structure may gradually change the quantization coefficient between the background region and the region of interest when encoding the region of interest and the background region into separate units (slices). In this method, the quantization coefficients used in each region (slice) as well as the quantization coefficients to be used in other adjacent regions are encoded and transmitted together. By changing to close to the coefficient value, there is an effect of eliminating the phenomenon in which the boundary between regions becomes prominent.

Claims (20)

(a) 화면 단위로 입력되는 입력영상에서 관심영역과 배경영역을 각각 설정하고 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋도록 설정된 각 영역의 양자화 계수를 설정하는 단계;(a) setting a region of interest and a background region in the input image input on a screen-by-screen basis, and setting quantization coefficients of each region in which the image quality of the region of interest is better than the image quality of the background region; (b) 상기(a)단계에서 설정된 각 영역을 각각 독립적인 슬라이스 구조로 분리하고 각 슬라이스 헤더에 상기 관심영역과 상기 배경영역의 상기 양자화 계수를 모두 포함하여 부호화하는 단계;(b) dividing each region set in the step (a) into independent slice structures and encoding each slice header including both the quantization coefficients of the ROI and the background region; (c) 상기(a)단계에서 설정된 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정하는 단계;(c) determining a quantization coefficient of each of the macroblocks corresponding to each region set in step (a); (d) 매크로블록별로 상기 입력영상을 예측부호화 및 변환 부호화 후 상기(c)단계에서 결정된 양자화 계수에 따라 양자화하는 단계; 및 (d) quantizing the input image for each macroblock according to quantization coefficients determined in step (c) after predictive encoding and transform encoding; And (e) 매크로블록 단위로 양자화된 영상데이터의 엔트로피를 부호화하는 단계를 포함하는 것을 특징으로 하는 관심영역 부호화 방법.(e) encoding an entropy of quantized image data in units of macroblocks. 제1항에 있어서, 상기 관심영역에 해당하는 상기 슬라이스의 헤더에 상기 배경영역의 양자화 계수를 포함하여 부호화하는 관심영역 부호화 방법.The region of interest encoding method of claim 1, wherein the header of the slice corresponding to the region of interest is encoded by including a quantization coefficient of the background region. 제1항에 있어서, 상기 배경영역에 해당하는 상기 슬라이스의 헤더에 상기 관심영역의 양자화 계수를 포함하여 부호화하는 관심영역 부호화 방법.The method of claim 1, wherein the header of the slice corresponding to the background area is encoded by including a quantization coefficient of the ROI. 제1항에 있어서, 상기 양자화 계수를 설정하는 방법은 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋게되도록 상기 양자화 계수를 설정하는 관심영역 부호화 방법.The method of claim 1, wherein the method of setting the quantization coefficients sets the quantization coefficients such that the image quality of the ROI is better than that of the background region. 제4항에 있어서, 상기 관심영역과 상기 배경영역의 경계부분에서는 상기 슬라이스 헤더에 부호화된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키는 관심영역 부호화 방법.5. The method of claim 4, wherein the boundary between the region of interest and the background region changes the quantization coefficients so as to be close to the quantization coefficients of adjacent regions encoded in the slice header. 제5항에 있어서, 상기 양자화 계수를 변화시키는 구간은 각 영역의 크기에 비례하도록 설정하는 관심영역 부호화 방법.The method of claim 5, wherein the section for changing the quantization coefficient is set to be proportional to the size of each region. 제1항 내지 제6항의 어느 하나의 관심영역 부호화 방법을 컴퓨터에 실행 가능한 프로그램 코드로 기록한 기록매체.A recording medium which records the region of interest encoding method according to any one of claims 1 to 6, in a program code executable on a computer. 화면 단위로 입력되는 입력영상에서 관심영역과 배경영역을 각각 설정하고 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋도록 각 영역에 양자화 계수를 설정하고 상기 관심영역과 상기 배경영역간의 경계가 드러나지 않도록 각 영역에 해당하는 매크로블록들 각각의 양자화 계수를 결정하는 관심 영역 부호화 모델링부;In the input image input in units of screens, the ROI and the background region are respectively set, and the quantization coefficient is set in each region so that the image quality of the ROI is better than the image quality of the background region, and the boundary between the ROI and the background region is not revealed. A region of interest encoding modeling unit configured to determine quantization coefficients of each of the macroblocks corresponding to each region so as to prevent the quantization coefficients; 상기 관심영역 부호화 모델링부에서 결정된 각 영역을 각각 독립적인 슬라이스 구조로 분리하고 각 슬라이스 헤더에 관심 영역과 배경 영역의 양자화 계수를 모두 포함하여 부호화하는 슬라이스 헤더 부호화부;A slice header encoder to separate each region determined by the ROI encoding modeling unit into independent slice structures and to include and encode quantization coefficients of the ROI and the background region in each slice header; 매크로블록별로 상기 입력영상을 예측부호화 및 변환 부호화 후 상기 관심 영역 부호화 모델링부에서 결정된 양자화 계수에 따라 양자화하고 엔트로피를 부호화하는 엔트로피 부호화부를 포함하는 것을 특징으로 하는 관심영역 부호화 장치.And an entropy encoder configured to predict and encode entropy according to the quantization coefficients determined by the ROI modeling unit after predictive encoding and transform encoding the input image for each macroblock. 제8항에 있어서, 상기 관심영역에 해당하는 상기 슬라이스의 헤더에 상기 배경 영역의 양자화 계수를 포함하여 부호화하는 관심영역 부호화 장치.The apparatus of claim 8, wherein the header of the slice corresponding to the region of interest includes the quantization coefficient of the background region to be encoded. 제8항에 있어서, 상기 배경영역에 해당하는 상기 슬라이스의 헤더에 상기 관심영역의 양자화 계수를 포함하여 부호화하는 관심영역 부호화 장치.The apparatus of claim 8, wherein the header of the slice corresponding to the background region is encoded by including a quantization coefficient of the region of interest. 제8항에 있어서, 상기 관심영역 부호화 장치는 상기 관심영역의 화질이 상기 배경영역의 화질보다 좋게 되도록 양자화 계수를 설정하는 관심영역 부호화 장치.The apparatus of claim 8, wherein the ROI encoding apparatus sets quantization coefficients such that the image quality of the ROI is better than that of the background region. 제11항에 있어서, 상기 관심영역과 상기 배경영역의 경계부분에서는 상기 슬라이스 헤더에 부호화된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키는 관심영역 부호화 장치.12. The apparatus of claim 11, wherein the boundary region between the region of interest and the background region changes the quantization coefficients so as to approximate the quantization coefficients of adjacent regions encoded in the slice header. 제12항에 있어서, 상기 양자화 계수가 변화되는 구간은 각 영역의 크기에 비례하도록 설정하는 관심영역 부호화 장치.The apparatus of claim 12, wherein the section in which the quantization coefficient is changed is set to be proportional to the size of each region. (a) 각 슬라이스별로 전송받은 비트열을 엔트로피 복호화하는 단계;(a) entropy decoding the bit string received for each slice; (b) 상기 (a)단계에서 복호화된 정보 중에서 슬라이스 헤더에 포함된 자기 영역과 인접 영역의 양자화 계수를 사용하여 각 매크로블록의 양자화 계수를 결정하는 단계;(b) determining quantization coefficients of each macroblock using quantization coefficients of the magnetic region and the adjacent region included in the slice header among the information decoded in step (a); (c) 상기 (b)단계에서 결정된 양자화 계수를 사용하여 역양자화/역변환을 통해 영상을 복호화하는 단계; 및(c) decoding the image through inverse quantization / inverse transformation using the quantization coefficient determined in step (b); And (d) 상기(c)단계에서 복호화된 각 영역의 영상을 슬라이스 헤더에 포함된 각 영역의 위치 정보를 참조하여 하나의 화면으로 구성하는 단계를 포함하는 것을 특징으로 하는 관심영역 복호화 방법.and (d) configuring the image of each region decoded in the step (c) into one screen by referring to the position information of each region included in the slice header. 제14항에 있어서, 상기 각 매크로블록의 양자화 계수를 설정하는 단계는 상기 관심영역과 상기 배경영역의 경계부분에서 복호화된 슬라이스 헤더에 포함된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키고 그 외의 영역에서는 자기 영역의 양자화 계수를 사용하는 관심영역 복호화 방법.15. The method of claim 14, wherein the setting of the quantization coefficients of each macroblock comprises changing the quantization coefficients so as to approximate the quantization coefficients of adjacent regions included in the slice header decoded at the boundary between the ROI and the background region. A region of interest decoding method using quantization coefficients of a magnetic region in an outside region. 제15항에 있어서, 상기 양자화 계수를 변화시키는 구간은 영역의 크기에 비례하도록 설정하는 관심영역 복호화 방법.The method of claim 15, wherein the section for changing the quantization coefficient is set to be proportional to the size of the region. 제14항 내지 제16항의 어느 한 항의 상기 관심영역 복호화 방법을 컴퓨터에 실행 가능한 프로그램 코드로 기록한 기록 매체.A recording medium in which the method for decoding a region of interest according to any one of claims 14 to 16 is recorded with a program code executable on a computer. 각 슬라이스별로 전송받은 비트열을 엔트로피 복호화하는 엔트로피 복호화부;An entropy decoding unit for entropy decoding the received bit string for each slice; 상기 엔트로피 복호화부에서 복호화된 정보 중에서 슬라이스 헤더에 포함된 자기 영역과 인접 영역의 양자화 계수를 사용하여 각 매크로블록의 양자화 계수를 결정하는 관심 영역 복호화 모델링부;A region of interest decoding modeling unit which determines quantization coefficients of each macroblock by using quantization coefficients of the magnetic region and the adjacent region included in the slice header among the information decoded by the entropy decoder; 상기 관심 영역 복호화 모델링부에서 결정된 양자화 계수를 사용하여 역양자화하는 역양자화부;An inverse quantizer for inverse quantization using the quantization coefficients determined by the ROI modeling unit; 상기 역양자화부에서 역양자화된 신호를 역변환하고 예측된 신호를 보상하여 영상을 복원하는 영상 복원부;An image reconstruction unit for inversely transforming an inverse quantized signal by the inverse quantizer and reconstructing an image by compensating a predicted signal; 상기 영상 복원부에서 복원된 각 영역의 영상을 슬라이스 헤더에 포함된 각 영역의 위치 정보를 참조하여 하나의 화면으로 구성하는 영상 구성부를 포함하는 것을 특징으로 하는 관심 영역 복호화 장치.And an image constituting unit configured to configure an image of each region reconstructed by the image reconstructor into one screen by referring to position information of each region included in a slice header. 제18항에 있어서, 상기 관심 영역 복호화 모델링부는 상기 관심영역과 상기 배경영역의 경계 부분에서 복호화된 슬라이스 헤더에 포함된 인접한 영역의 양자화 계수에 근접하도록 양자화 계수를 변화시키고 그 외의 영역에서는 자기 영역의 양 자화 계수를 사용하는 관심영역 복호화 장치.19. The apparatus of claim 18, wherein the ROI decoding modeling unit changes the quantization coefficients so as to be close to the quantization coefficients of adjacent regions included in the slice header decoded at the boundary between the ROI and the background region. A region of interest decoding apparatus using quantization coefficients. 제19항에 있어서, 양자화 계수를 변화시키는 구간은 영역의 크기에 비례하도록 설정하는 관심영역 복호화 장치.20. The apparatus of claim 19, wherein the section for changing the quantization coefficient is set to be proportional to the size of the region.
KR1020060078256A 2006-08-18 2006-08-18 Image decoding method KR100720003B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060078256A KR100720003B1 (en) 2006-08-18 2006-08-18 Image decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060078256A KR100720003B1 (en) 2006-08-18 2006-08-18 Image decoding method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020020003702A Division KR100665213B1 (en) 2002-01-22 2002-01-22 Image encoding method and decoding method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
KR1020070025722A Division KR100720005B1 (en) 2007-03-15 2007-03-15 Image coding method
KR1020070025721A Division KR100720004B1 (en) 2007-03-15 2007-03-15 Image inverse quantization method

Publications (2)

Publication Number Publication Date
KR20060103409A true KR20060103409A (en) 2006-09-29
KR100720003B1 KR100720003B1 (en) 2007-05-18

Family

ID=37623410

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060078256A KR100720003B1 (en) 2006-08-18 2006-08-18 Image decoding method

Country Status (1)

Country Link
KR (1) KR100720003B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100950196B1 (en) * 2008-10-06 2010-03-29 주식회사 아이엠케이네트웍스 Method for video encoding
WO2013115560A1 (en) * 2012-01-30 2013-08-08 삼성전자 주식회사 Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9681139B2 (en) 2013-03-07 2017-06-13 Samsung Electronics Co., Ltd. Method and apparatus for ROI coding using variable block size coding information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0157465B1 (en) * 1993-12-16 1998-11-16 김광호 Quantization level decision method and device according to image characteristic
KR100220582B1 (en) * 1996-05-16 1999-09-15 전주범 Image encoder having adaptive coding

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100950196B1 (en) * 2008-10-06 2010-03-29 주식회사 아이엠케이네트웍스 Method for video encoding
WO2013115560A1 (en) * 2012-01-30 2013-08-08 삼성전자 주식회사 Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9571845B2 (en) 2012-01-30 2017-02-14 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9800877B2 (en) 2012-01-30 2017-10-24 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9800878B2 (en) 2012-01-30 2017-10-24 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9807405B2 (en) 2012-01-30 2017-10-31 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9807404B2 (en) 2012-01-30 2017-10-31 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US10225565B2 (en) 2012-01-30 2019-03-05 Samsung Electronics Co., Ltd. Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US9681139B2 (en) 2013-03-07 2017-06-13 Samsung Electronics Co., Ltd. Method and apparatus for ROI coding using variable block size coding information

Also Published As

Publication number Publication date
KR100720003B1 (en) 2007-05-18

Similar Documents

Publication Publication Date Title
JP4495743B2 (en) Video decoding method
CN102150428B (en) System and method for video encoding using adaptive segmentation
US7738716B2 (en) Encoding and decoding apparatus and method for reducing blocking phenomenon and computer-readable recording medium storing program for executing the method
KR970003789B1 (en) Bit allocation method for controlling bit-rate of video encoder
US9300956B2 (en) Method and apparatus for redundant video encoding
US20020080877A1 (en) Method and system for video transcoding
KR20110113720A (en) Video encoding techniques
US20050036549A1 (en) Method and apparatus for selection of scanning mode in dual pass encoding
US20040076332A1 (en) Adaptive error-resilient video encoding using multiple description motion compensation
JP4133346B2 (en) Intra coding of video data blocks by selection of prediction type
JPH08275158A (en) Moving image compression system with guaranteed bit generation limit
KR20100136391A (en) Method and apparatus for encoding and decoding using flexible filter structures
KR100779173B1 (en) Method of redundant picture coding using polyphase downsampling and the codec using the same
US6804299B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
KR100720003B1 (en) Image decoding method
KR100665213B1 (en) Image encoding method and decoding method
KR100624404B1 (en) Adaptive coding method and apparatus considering human visual characteristics
US8634467B2 (en) Flexible Wyner-Ziv video frame coding
KR100720005B1 (en) Image coding method
KR100720004B1 (en) Image inverse quantization method
KR101583870B1 (en) Image encoding system, image decoding system and providing method thereof
KR100528324B1 (en) Apparatus and method for coding and decoding image using overlapped rectangular slices
KR20150096353A (en) Image encoding system, image decoding system and providing method thereof
KR101307469B1 (en) Video encoder, video decoder, video encoding method, and video decoding method

Legal Events

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

Payment date: 20130429

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140429

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150429

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160428

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170427

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20180427

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee