KR20140123190A - method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof - Google Patents

method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof Download PDF

Info

Publication number
KR20140123190A
KR20140123190A KR1020130040027A KR20130040027A KR20140123190A KR 20140123190 A KR20140123190 A KR 20140123190A KR 1020130040027 A KR1020130040027 A KR 1020130040027A KR 20130040027 A KR20130040027 A KR 20130040027A KR 20140123190 A KR20140123190 A KR 20140123190A
Authority
KR
South Korea
Prior art keywords
predetermined area
block
screen image
basis
divided
Prior art date
Application number
KR1020130040027A
Other languages
Korean (ko)
Inventor
김대희
박민우
최웅일
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020130040027A priority Critical patent/KR20140123190A/en
Publication of KR20140123190A publication Critical patent/KR20140123190A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • 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/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods 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 block, e.g. a macroblock

Landscapes

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

Abstract

Disclosed is a method for encoding a screen image considering a content type. The method for encoding a screen image considering a content type comprises the steps of: analyzing a content type of each block of a screen image; setting a predetermined region in the screen image; determining an encoding mode of the blocks divided based on the predetermined region using the result of the analysis of the content type of each block of the screen block; and encoding the blocks divided based on the predetermined region using the determined encoding mode.

Description

컨텐츠 유형을 고려한 스크린 영상의 부호화 및 복호화 방법, 장치 및 기록매체{method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof}[0001] The present invention relates to a method and apparatus for encoding and decoding a screen image in consideration of a content type, an apparatus and a recording medium,

본 발명은 스크린에 재생되는 다양한 유형의 컨텐츠가 혼합된 복합 영상을 원격의 수신 단말에 전송하기 위한 부호화 및 복호화 기술과 관련된다.The present invention relates to a coding and decoding technique for transmitting a composite image mixed with various types of contents reproduced on a screen to a remote receiving terminal.

영상 부호화란, 영상신호 내에 내재된 중복된 정보를 시각적으로 감지하지 못할 정도로 제거하여 압축하는 기술을 말한다.Image coding refers to a technique of removing redundant information contained in a video signal to such an extent that it can not be visually perceived.

영상 부호화 기술은 크게 무손실 부호화 모드와 손실 부호화 모드로 분류할 수 있다. 무손실 부호화 모드의 경우 화질 열화에 민감한 컨텐츠에 사용될 수 있다. 반면에 손실 부호화 모드는 화소 구성이 복잡하여 높은 압축율을 필요로 하는 경우에 사용될 수 있다. 종래에는 영상에 대해 획일적으로 부호화 모드를 적용하여 다양한 컨텐츠 유형이 혼합된 영상의 경우에는 압축율과 화질이 떨어진다는 문제점이 있었다. Image coding techniques can be roughly divided into lossless coding mode and lossy coding mode. In the lossless coding mode, it can be used for content sensitive to image deterioration. On the other hand, the lossy coding mode can be used when the pixel configuration is complicated and a high compression ratio is required. Conventionally, there has been a problem in that a compression mode and an image quality deteriorate in the case of an image in which various types of content are mixed by applying a coding mode uniformly to an image.

본 발명은 다양한 유형의 컨텐츠가 혼합된 스크린 영상에서 선택된 소정의 영역에 대해 컨텐츠 유형별로 적합한 부호화 모드를 결정하여 부호화하거나 부호화된 영상을 복호화하는 방법, 장치 및 기록매체를 제공한다.The present invention provides a method, an apparatus, and a recording medium for determining a coding mode suitable for each content type for a predetermined region selected in screen images mixed with various types of contents and decoding the encoded image.

상기 기술적 과제를 해결하기 위하여, 본 발명의 일 측면에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법은 상기 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하는 단계; 상기 스크린 영상 내에서 소정의 영역을 설정하는 단계; 상기 스크린 영상의 블록별 컨텐츠 유형 분석 결과를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계; 및상기 결정된 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록들을 부호화하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of encoding a screen image in consideration of a content type, the method comprising: analyzing a content type of the screen image for each block; Setting a predetermined area in the screen image; Determining a coding mode of blocks divided on the basis of the predetermined area using a content type analysis result of each block of the screen image; And encoding the divided blocks based on the predetermined region in the determined encoding mode.

본 발명의 일 측면에 따른 컨텐츠 유형을 고려한 스크린 영상의 복호화 방법은 입력된 비트스트림을 파싱하여 상기 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출하는 단계; 및 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of decoding a screen image considering content type, the method comprising: parsing an input bit stream and reading encoding mode information of a block divided on the basis of a predetermined area according to the content type information; And decoding the coded data of the predetermined area using the coding mode information of the block divided on the basis of the predetermined area.

본 발명의 일 측면에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치는 상기 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하는 스크린 영상 분석부; 상기 스크린 영상 내에서 소정의 영역을 설정하는 영역 설정부; 상기 스크린 영상의 블록별 컨텐츠 유형 분석 결과를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 설정 영역 부호화 모드 결정부; 및 상기 결정된 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록들을 부호화하는 부호화부를 포함한다.An apparatus for encoding a screen image in consideration of a content type according to an aspect of the present invention includes: a screen image analyzing unit for analyzing a content type for each screen image; An area setting unit for setting a predetermined area in the screen image; A setting area encoding mode determining unit for determining an encoding mode of blocks divided on the basis of the predetermined area using a content type analysis result for each block of the screen image; And an encoding unit encoding the divided blocks based on the predetermined region in the determined encoding mode.

본 발명의 일 측면에 따른 컨텐츠 유형을 고려한 스크린 영상의 복호화 장치는 입력된 비트스트림을 파싱하여상기 컨텐츠 유형 정보와 소정의 영역을 기준으로 분할된 블록의 컨텐츠 유형에 따른 부호화 모드 정보를 독출하는 부호화 모드 정보 독출부; 및 An apparatus for decoding a screen image considering a content type according to an aspect of the present invention includes a decoding unit that parses an input bit stream and reads encoding mode information according to a content type of a block divided on the basis of the content type information and a predetermined area An encoding mode information reading unit; And

상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 복호화부를 포함한다.And a decoding unit decoding the coded data of the predetermined area using the coding mode information of the block divided on the basis of the predetermined area.

도 1은 스크린 영상 전체를 부호화하여 전송하는 일 예를 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치를 도시한 블록도이다.
도 3은 본 발명의 일 실시예에 따른 부호화 장치의 설정 영역 부호화 모드 결정부를 도시한 블록도이다.
도 4는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치를 도시한 블록도이다.
도 5는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 복호화 장치를 도시한 블록도이다.
도 6a는 다양한 유형의 컨텐츠가 존재하는 스크린 영상의 일 예를 도시한 도면이다.
도 6b는 다양한 유형의 컨텐츠가 존재하는 스크린 영상 전체를 블록 단위로 분할한 일 예를 도시한 도면이다.
도 7a는 본 발명의 일 실시예에 따른 스크린 영상 내 소정의 영역을 지정한 일 예를 도시한 도면이다.
도 7b는 본 발명의 일 실시예에 따라 스크린 영상 내 소정 영역을 블록 단위로 재분할한 일 예를 도시한 도면이다.
도 7c는 본 발명의 일 실시예에 따라 스크린 영상 내 소정 영역을 기준으로 분할한 블록의 일 예를 도시한 도면이다.
도 8a는 본 발명의 일 실시예에 따른 소정 영역의 블록 내에 복수개(4개)의 컨텐츠 유형이 존재하는 일 예를 도시한 도면이다.
도 8b는 본 발명의 일 실시예에 따른 소정 영역의 블록 내에 복수개(2개)의 컨텐츠 유형이 존재하는 일 예를 도시한 도면이다.
도 8c는 본 발명의 일 실시예에 따른 소정 영역의 블록 내에 하나의 컨텐츠 유형이 존재하는 일 예를 도시한 도면이다.
도 9는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법을 나타낸 흐름도이다.
도 11는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법을 나타낸 흐름도이다.
도 12는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법의 세부적인 단계를 나타낸 흐름도이다.
도 13은 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법의 세부적인 단계를 나타낸 흐름도이다.
1 is a diagram showing an example of coding and transmitting an entire screen image.
2 is a block diagram illustrating an apparatus for encoding a screen image in consideration of a content type according to an embodiment of the present invention.
FIG. 3 is a block diagram illustrating a configuration area encoding mode determination unit of an encoding apparatus according to an embodiment of the present invention. Referring to FIG.
4 is a block diagram illustrating an apparatus for encoding a screen image in consideration of a content type according to an embodiment of the present invention.
5 is a block diagram illustrating an apparatus for decoding a screen image in consideration of a content type according to an embodiment of the present invention.
6A is a diagram illustrating an example of a screen image in which various types of content exist.
FIG. 6B illustrates an example of dividing the entire screen image in which various types of content exist, on a block-by-block basis.
FIG. 7A is a diagram illustrating an example of designating a predetermined area in a screen image according to an embodiment of the present invention.
FIG. 7B is a diagram illustrating an example of re-dividing a predetermined area in a screen image by a block unit according to an embodiment of the present invention.
FIG. 7C is a diagram illustrating an example of a block divided on the basis of a predetermined area in a screen image according to an embodiment of the present invention.
8A is a diagram illustrating an example in which a plurality of (four) content types are present in a block of a predetermined area according to an embodiment of the present invention.
FIG. 8B is a diagram illustrating an example in which a plurality of (two) content types are present in a block of a predetermined area according to an embodiment of the present invention.
FIG. 8C illustrates an example in which one content type exists in a block of a predetermined area according to an exemplary embodiment of the present invention. Referring to FIG.
9 is a flowchart illustrating a method of encoding a screen image in consideration of a content type according to an embodiment of the present invention.
11 is a flowchart illustrating a method of encoding a screen image in consideration of a content type according to an embodiment of the present invention.
12 is a flowchart illustrating a detailed step of a method of encoding a screen image considering a content type according to an embodiment of the present invention.
13 is a flowchart illustrating a detailed step of a method of encoding a screen image considering a content type according to an embodiment of the present invention.

도 1은 스크린 영상 전체를 부호화하여 전송하는 일 예를 도시하는 도면이다.1 is a diagram showing an example of coding and transmitting an entire screen image.

서버(110)에서 클라이언트(120)로 서버(110)의 스크린 영상을 전송하는 경우 스크린 전체에 대해서 컨텐츠 유형별로 영상을 부호화하여 전송한다. 여기에서 클라이언트(120)는 PC, 태블릿, 휴대폰, 랩탑 및 디스플레이 디바이스 등 다양한 종류의 단말기가 될 수 있다.When a screen image of the server 110 is transmitted from the server 110 to the client 120, the image is encoded and transmitted according to the content type for the entire screen. Here, the client 120 may be various types of terminals such as a PC, a tablet, a mobile phone, a laptop, and a display device.

한편, 서버(110)에서 클라이언트(120)로 스크린 영상을 전송할 때, 스크린 영상 내의 소정의 영역을 컨텐츠 유형별로 부호화하여 전송해야 하는 경우가 발생할 수 있다.Meanwhile, when a screen image is transmitted from the server 110 to the client 120, a predetermined area in the screen image may be encoded and transmitted according to the content type.

일예로 발표자가 다수의 청중들 앞에서 프레젠테이션을 하는 경우에는 발표자 PC의 전체 화면을 디스플레이 디바이스에 전송하기 보다는 스크립트 등의 참고 자료를 제외한 발표 영상만을 전송하는 것이 적합하다.For example, when a presenter presents a presentation in front of a large number of audiences, it is preferable to transmit only a presentation image except a reference material such as a script, rather than transmitting a full screen of the presenter PC to a display device.

본 발명의 일 실시예에서는 스크린 영상 전체에 대해 블록별로 컨텐츠 유형을 분석한다. 스크린 영상 전체에 대한 분석 결과를 이용하여 스크린 영상 내에 소정의 영역이 설정될 경우 소정의 영역에 대한 부호화 모드를 결정할 수 있다. 일예로 전체 스크린 영상에 대한 블록별 부호화 모드를 결정하여 이를 소정의 영역에 대한 부호화 모드를 결정하는 데 이용할 수 있다. In one embodiment of the present invention, the content type is analyzed for each block of the screen image. When a predetermined area is set in the screen image using the analysis result of the entire screen image, the encoding mode for the predetermined area can be determined. For example, a block-by-block coding mode for the entire screen image may be determined and used to determine a coding mode for a predetermined area.

구체적으로 본 발명의 일 실시예에 따르면 스크린 영상 내의 소정의 영역이 결정되면 전체 스크린 영상에 대한 블록별 컨텐츠 유형 분석 결과에 따라 소정의 영역의 블록별로 부호화 모드를 결정한다. 소정 영역에 대해 블록별 부호화 모드가 결정되면 결정된 부호화 모드로 소정 영역을 부호화하고 부호화된 영상은 디스플레이 디바이스로 전송되어 복호화된다.More specifically, according to an exemplary embodiment of the present invention, when a predetermined area in a screen image is determined, an encoding mode is determined for each block of a predetermined area according to a content type analysis result for each block of the entire screen image. When a block-by-block encoding mode is determined for a predetermined area, a predetermined area is encoded in the determined encoding mode, and the encoded image is transmitted to a display device and decoded.

도 2는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치를 도시한 블록도이다.2 is a block diagram illustrating an apparatus for encoding a screen image in consideration of a content type according to an embodiment of the present invention.

도 2를 참고하면, 본 발명에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치는 스크린 영상 분석부(210), 영역 설정부(220), 설정 영역 부호화 모드 결정부(230) 및 부호화부(240)를 포함할 수 있다.2, an apparatus for encoding a screen image considering a content type according to the present invention includes a screen image analyzing unit 210, an area setting unit 220, a setting area coding mode determining unit 230, and a coding unit 240, . ≪ / RTI >

도 2에 도시된 부호화 장치 (200)에는 본 실시예와 관련된 구성요소들만이 도시되어 있다. 따라서, 도 2에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시예와 관련된 기술 분야에서 통상의 지식을 가진 자라면 이해할 수 있다.Only the components related to the present embodiment are shown in the encoding apparatus 200 shown in FIG. Accordingly, it will be understood by those skilled in the art that other general-purpose components other than the components shown in FIG. 2 may be further included.

스크린 영상 분석부(210)는 전송하고자 하는 스크린 영상의 컨텐츠 유형을 분석하는데 컨텐츠의 유형에는 텍스트, 아이콘, 동영상, 사진 등이 포함될 수 있다. The screen image analyzing unit 210 analyzes the content type of the screen image to be transmitted, and the type of the content may include text, icon, moving picture, and photograph.

스크린 영상 분석부(210)에서는 전체 화면에 대해 블록별 컨텐츠 유형을 분석한다. 본 발명의 일예에 따르면 블록별 컨텐츠 유형에 따라 부호화 모드가 정해질 수 있다. 부호화 모드에는 무손실 부호화 모드 및 손실 부호화 모드가 있을 수 있는데 컨텐츠 유형에 따라 컨텐츠가 텍스트인 경우는 텍스트 영역에 적합한 부호화 모드를, 사진인 경우는 사진영역에 적합한 부호화모드를, 그래픽인 경우는 그래픽 영역에 적합한 부호화 모드를 선택할 수 있다.The screen image analyzing unit 210 analyzes the content type per block for the entire screen. According to an embodiment of the present invention, a coding mode can be determined according to a content type per block. In the encoding mode, there may be a lossless encoding mode and a lossy encoding mode. If the content is text, the encoding mode suitable for the text area, the encoding mode suitable for the photo area if the picture is a picture, Can be selected.

무손실 부호화 모드는 일반적으로 압축률이 낮으나, 복원에 의해 원래 데이터가 완전히 재생 되어야 하는 영상에 사용된다. 무손실 부호화 모드는 단순히 반복되는 자료를 제거하는 반복 억제 기법과 자료의 통계적 특성을 활용하는 엔트로피 인코딩 기법으로 나뉜다.The lossless coding mode is generally used for images where the compression rate is low but the original data must be completely reconstructed by reconstruction. The lossless coding mode is divided into an iterative suppression technique that simply removes repetitive data and an entropy encoding technique that utilizes the statistical properties of the data.

한편, 손실 부호화 모드는 중복되거나 불필요한 정보가 손실되는 것을 허용하는 압축 방식으로 작은 용량으로 압축할 수 있으나 영상의 질이 저하되며 계산이 복잡하다는 단점을 가진다. 손실 부호화 모드는 자료를 구성하는 단위 정보의 개수를 줄이는 변환 기법, 이전 정보를 바탕으로 다음 정보를 예측하는 예측 기법, 양자(quantum)를 이용하여 데이터를 코드화하는 양자화 기법 등으로 구분될 수 있다.On the other hand, the lossy coding mode is a compression method that allows redundant or unnecessary information to be lost, but it has a disadvantage in that the quality of the image is degraded and the calculation is complicated. The lossy coding mode can be classified into a conversion technique that reduces the number of units of information constituting the data, a prediction technique that predicts the next information based on the previous information, and a quantization technique that encodes data using quantum.

영역 설정부(220)는 스크린 영상 내에서 소정의 영역을 설정한다. 여기에서 소정의 영역은 전송하고자 하는 스크린 영상의 일부 영역을 의미한다. The area setting unit 220 sets a predetermined area in the screen image. Here, the predetermined area means a part of the screen image to be transmitted.

본 발명의 일 실시예에 따르면 소정의 영역은 사용자의 입력에 따라 크기가 가변적으로 결정될 수 있다. 구체적으로 사용자는 입력 장치를 이용하여 디스플레이 디바이스로 전송할 영역을 결정할 수 있다. 사용자의 입력에 따라 전송할 소정 영역이 결정되면 부호화 장치(200)의 영역 설정부(220)는 전체 스크린 영상 데이터 중 결정된 소정의 영역에 대한 데이터를 특정한다. According to an exemplary embodiment of the present invention, a predetermined area may be variable in size depending on a user's input. Specifically, the user can determine an area to be transmitted to the display device using the input device. When a predetermined area to be transmitted is determined according to a user's input, the area setting unit 220 of the encoding apparatus 200 specifies data for a predetermined area of the entire screen image data.

여기에서, 입력 장치는 마우스 및 키보드가 해당될 수 있으나, 이에 한정되지 않는다. Here, the input device may be, but not limited to, a mouse and a keyboard.

본 발명의 일 실시예에 따르면 사용자가 스크린 영상 내에서 소정의 영역을 설정하지 않을 경우에는 스크린 영상 분석부(210)에서 전체 화면에 대한 블록별 컨텐츠 유형 분석 결과를 이용하여 스크린 영상을 부호화한다. According to an exemplary embodiment of the present invention, when the user does not set a predetermined area in the screen image, the screen image analyzing unit 210 encodes the screen image using the content type analysis result of each block for the entire screen.

설정 영역 부호화 모드 결정부(230)는 스크린 영상 분석부(210)에서 스크린 영상의 블록별 컨텐츠 유형에 대한 분석 결과를 이용하여 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정한다.The setting area encoding mode determining unit 230 determines an encoding mode of blocks divided on the basis of a predetermined area using a result of analyzing the content type of each block of the screen image in the screen image analyzing unit 210. [

여기에서 소정의 영역을 기준으로 분할된 블록들은 스크린 영상의 블록과 독립적으로 소정 영역을 분할한 것을 의미한다. Here, the blocks divided on the basis of the predetermined area mean that the predetermined area is divided independently of the block of the screen image.

도 7a 를 참조하면 도 7a 에서 소정 영역의 경계선(722)은 스크린 영상 내의 블록 경계선(712)을 벗어난 곳에 결정된다. 여기에서 블록 경계선(712)은 전체 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하기 위해 스크린 영상을 영역 분할한 블록들의 경계선이다. 이 때 소정 영역 내부에는 블록의 일부(723)만이 포함되어 부호화 모드를 정확하게 결정할 수 없다.Referring to FIG. 7A, the boundary line 722 of the predetermined area in FIG. 7A is determined to be outside the block boundary line 712 in the screen image. Here, the block boundary line 712 is the boundary line of the blocks in which the screen image is divided into regions for analyzing the content type for each block of the entire screen image. At this time, only a part 723 of the block is included in the predetermined area, so that the encoding mode can not be determined accurately.

따라서 소정 영역이 결정되면 결정된 소정 영역을 새롭게 분할하여 블록별로 부호화 모드를 결정하도록 한다. 도 7b를 참조하면 소정 영역(736)은 스크린 영상(730)의 블록과는 독립적으로 블록 단위로 분할(744) 된다.Accordingly, when a predetermined area is determined, the determined predetermined area is newly divided to determine an encoding mode for each block. Referring to FIG. 7B, the predetermined region 736 is divided into blocks 744 independently of the block of the screen image 730.

설정 영역 부호화 모드 결정부(230)에서는 소정 영역(736)을 새롭게 블록 단위로 분할(744)한 후 분할된 블록들(743)에 대해 부호화 모드를 결정한다. In the setting area encoding mode determination unit 230, the predetermined area 736 is newly divided into blocks 744, and the encoding mode is determined for the divided blocks 743.

구체적으로 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 하나의 컨텐츠 유형으로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.Specifically, when a plurality of content types exist in a block divided on the basis of a predetermined area, a coding mode of a block divided on the basis of a predetermined area is determined according to a set basic coding mode, and when there is one content type, The encoding mode of the block divided on the basis of the predetermined area is determined.

본 발명의 일실시예에 따르면, 설정된 기본 부호화 모드는 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 적합한 부호화 모드로 결정하는 것을 의미한다. According to an embodiment of the present invention, the set basic encoding mode is a mode in which the encoding mode of a block divided on the basis of a predetermined area is divided into a plurality of content types based on a content type ratio included in a block divided on the basis of a predetermined area, Means that the encoding mode is determined to be suitable for the content type having the highest proportion of the content type.

본발명의 일실시예에 따른 설정된 기본 부호화 모드는 화질을 중요시할 경우 무손실 부호화에 가까운 텍스트 부호화 모드에 적합한 알고리즘을 선택할 수 있고 압축율을 중요시할 경우에는 동영상 또는 사진 영역의 부호화에 적합한 알고리즘을 선택할 수 있다. 이외의 경우에도 본 발명에서의 설정된 기본 부호화 모드는 다양한 기준으로 알고리즘을 선택할 수 있다.The set basic encoding mode according to an embodiment of the present invention can select an algorithm suitable for a text encoding mode close to lossless encoding when image quality is important and select an algorithm suitable for encoding a moving picture or a picture area if the compression rate is important have. In other cases, the basic coding mode set in the present invention can select an algorithm based on various criteria.

부호화부(240)에서는 설정 영역 부호화 모드 결정부(230)에서 결정된 부호화 모드로 소정의 영역을 기준으로 분할된 블록을 부호화한다.The encoding unit 240 encodes the divided blocks based on the predetermined region in the encoding mode determined by the setting region encoding mode determination unit 230. [

도 3은 본 발명의 일 실시예에 따른 부호화 장치의 설정 영역 부호화 모드 결정부를 도시한 블록도이다.FIG. 3 is a block diagram illustrating a configuration area encoding mode determination unit of an encoding apparatus according to an embodiment of the present invention. Referring to FIG.

도 3을 참고하면, 본 발명에 따른 설정 영역 부호화 모드 결정부(300)는 컨텐츠 유형 분석부(320) 및 확정부(340)를 포함할 수 있다.3, the setting area encoding mode determination unit 300 may include a content type analysis unit 320 and a determination unit 340. [

컨텐츠 유형 분석부(320)에서는 소정의 영역을 기준으로 분할된 블록 내의 컨텐츠 유형에 대해 분석한다. 구체적으로 스크린 영상 내에 결정된 소정의 영역에 동영상, 사진, 아이콘 및 텍스트 등 다양한 유형의 컨텐츠가 혼합되어 있는 경우 소정의 영역에 대해 분석하여 소정의 영역 내의 각 블록이 해당되는 컨텐츠 유형을 결정한다.The content type analyzing unit 320 analyzes content types in the blocks divided based on a predetermined area. Specifically, when various types of content such as moving pictures, photographs, icons, and text are mixed in a predetermined area determined in the screen image, the content type is determined for each block in a predetermined area by analyzing the predetermined area.

확정부(340)는 컨텐츠 유형 분석부(320)에서 획득한 소정 영역의 블록별 컨텐츠 유형 정보를 이용하여 미리 정의된 우선 순위에 따라 부호화 모드를 결정한다.The determination unit 340 determines an encoding mode according to a predefined priority using the content type information for each block of the predetermined area acquired by the content type analysis unit 320. [

여기에서 미리 정의된 우선 순위에 따른 부호화 모드 결정은 일예로 동영상, 사진, 아이콘 및 텍스트의 순서로 우선 순위를 정할 경우 소정의 영역내에 포함된 다양한 컨텐츠 유형에 대하여 동영상, 사진, 아이콘 및 텍스트의 순서로 각 컨텐츠 유형에 적합한 부호화 모드를 결정하는 것을 의미한다.Here, the encoding mode determination according to the predefined priority order is performed by, for example, when order of video, photo, icon, and text is determined in order of various contents types included in a predetermined area, To determine a coding mode suitable for each content type.

예를 들어 스크린 영상 내에 동영상, 사진 및 텍스트가 존재하는 경우, 첫번째로 동영상에 해당하는 블록에 대해 부호화 모드를 결정한다. 이후에는 사진에 해당하는 블록의 부호화 모드를 결정하고 마지막으로 텍스트에 해당하는 블록에 대해 부호화 모드를 결정한다. For example, when a moving picture, a picture, and text exist in a screen image, a coding mode is first determined for a block corresponding to a moving picture. After that, the encoding mode of the block corresponding to the picture is determined, and finally, the encoding mode is determined for the block corresponding to the text.

미리 정의된 우선 순위에 따른 부호화 모드 결정 과정 이후에 결정되지 않은 블록들에 대해서는 설정된 기본 부호화 모드로 블록들의 부호화 모드를 결정한다.The encoding mode of the blocks is determined in the set basic encoding mode for the blocks that are not determined after the encoding mode determination process according to the predefined priority.

본 발명의 일실시예에 따르면, 설정된 기본 부호화 모드는 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 적합한 부호화 모드로 결정하는 것을 의미한다. 다만, 본발명의 설정된 기본 부호화 모드는 컨텐츠 유형 비율에 기초하여 결정되는 것으로 한정되지 않는다.According to an embodiment of the present invention, the set basic encoding mode is a mode in which the encoding mode of a block divided on the basis of a predetermined area is divided into a plurality of content types based on a content type ratio included in a block divided on the basis of a predetermined area, Means that the encoding mode is determined to be suitable for the content type having the highest proportion of the content type. However, the set basic encoding mode of the present invention is not limited to being determined based on the content type ratio.

도 4는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치를 도시한 블록도이다.4 is a block diagram illustrating an apparatus for encoding a screen image in consideration of a content type according to an embodiment of the present invention.

도 4를 참고하면, 본 발명에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치(400)는 스크린 영상 분석부(410), 부호화 모드 결정부(420), 영역 설정부(430), 설정 영역 부호화 모드 결정부(440) 및 부호화부(450)를 포함할 수 있다.4, a screen image encoding apparatus 400 considering a content type according to the present invention includes a screen image analyzing unit 410, an encoding mode determining unit 420, an area setting unit 430, a setting area encoding mode A determination unit 440, and an encoding unit 450. [

본 발명의 일 실시예에 따르면 스크린 영상 분석부(410)는 스크린 영상 전체에 대해 블록별 컨텐츠 유형을 분석한다. 부호화 모드 결정부(420)는 분석 결과에 따라 스크린 영상의 블록 별로 각 컨텐츠 유형에 적합한 부호화 모드를 결정한다.본 발명의 일 실시예에 따르면 부호화 모드 결정부의 분석 결과는 전체 스크린에 대해 블록별로 결정된 부호화 모드이고, 여기에서 부호화 모드는 블록별 컨텐츠 유형에 따라 결정된다.According to one embodiment of the present invention, the screen image analyzing unit 410 analyzes the content type of each screen with respect to the entire screen image. The coding mode determination unit 420 determines a coding mode suitable for each content type for each block of the screen image according to the analysis result. According to an exemplary embodiment of the present invention, the analysis result of the coding mode determination unit is determined for each block Encoding mode, where the encoding mode is determined according to the content type per block.

구체적으로 스크린 영상에 동영상과 텍스트가 혼합되어 있는 경우 컨텐츠 유형이 동영상인 블록은 손실 부호화 모드로 결정되고 컨텐츠 유형이 텍스트인 블록은 무손실 부호화 모드로 결정된다.Specifically, when a moving picture and a text are mixed in a screen image, a block having a content type of moving picture is determined as a lossy coding mode, and a block having a content type of text is determined as a lossless coding mode.

본 발명의 일 실시예에 따르면, 사용자에 의해 스크린 영상 내부의 소정의 영역이 결정되지 않은 경우에는 부호화 모드 결정부(420)에서 스크린 영상 전체에 대해 분석한 결과를 이용하여 전체 스크린 영상에 대한 부호화를 수행한다. 영역 설정부(430)는 전체 스크린 영상 내에서 소정의 영역을 설정한다.According to an exemplary embodiment of the present invention, when a predetermined area in the screen image is not determined by the user, the encoding mode determination unit 420 may perform encoding on the entire screen image using the result of analyzing the entire screen image . The area setting unit 430 sets a predetermined area in the entire screen image.

설정 영역 부호화 모드 결정부(440)는 스크린 영상 분석부(410)에서 획득한 스크린 영상에 대한 블록별 컨텐츠 유형 분석 결과와 부호화 모드 결정부(420)에서 결정한 스크린 영상 전체에 대한 블록별 부호화 모드 정보를 이용하여 소정 영역에 대한 블록별 부호화 모드를 결정한다. 여기에서 소정 영역에 대한 블록은 소정의 영역을 기준으로 새롭게 분할된 블록을 의미한다.The setting area encoding mode determining unit 440 determines a coding mode for each screen based on the block type content type analysis result for the screen image obtained by the screen image analyzing unit 410 and the block mode encoding mode information for the entire screen image determined by the encoding mode deciding unit 420 To determine a coding mode for each block for each block. Here, a block for a predetermined area means a newly divided block based on a predetermined area.

구체적으로 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는 경우에는 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 스크린 영상의 블록별 부호화 모드로 결정한다. 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록별 부호화 모드와 일치하지 않는 경우에는 스크린 영상에 대한 컨텐츠 분석 결과를 이용하여 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정한다.Specifically, when a block divided on the basis of a predetermined area coincides with a block of a screen image, the coding mode of blocks divided on the basis of a predetermined area is determined as a block coding mode of the screen image. When a block divided on the basis of a predetermined area does not coincide with a block coding mode of a screen image, a coding mode of blocks divided on the basis of a predetermined area is determined using a content analysis result on the screen image.

본 발명의 일실시예에 따라 스크린 영상에 대한 컨텐츠 분석 결과를 이용하여 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 방법은 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 하나의 컨텐츠 유형으로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.A method for determining a coding mode of blocks divided on the basis of a predetermined area using a content analysis result of a screen image according to an embodiment of the present invention includes a step of generating a plurality of content types If there is one content type, the encoding mode of a block divided on the basis of a predetermined area is determined according to a set basic encoding mode, and if there is one content type, do.

본 발명의 일실시예에 따르면, 설정된 기본 부호화 모드는 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 적합한 부호화 모드로 결정하는 것을 의미한다. 다만, 본발명의 설정된 기본 부호화 모드는 컨텐츠 유형 비율에 기초하여 결정되는 것으로 한정되지 않는다.According to an embodiment of the present invention, the set basic encoding mode is a mode in which the encoding mode of a block divided on the basis of a predetermined area is divided into a plurality of content types based on a content type ratio included in a block divided on the basis of a predetermined area, Means that the encoding mode is determined to be suitable for the content type having the highest proportion of the content type. However, the set basic encoding mode of the present invention is not limited to being determined based on the content type ratio.

부호화부(450)에서는 설정 영역 부호화 모드 결정부(440)에서 결정된 부호화 모드로 소정의 영역을 기준으로 분할된 블록을 부호화한다.The encoding unit 450 encodes the divided blocks based on the predetermined region in the encoding mode determined by the setting region encoding mode determination unit 440. [

도 5는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 복호화 장치를 도시한 블록도이다.5 is a block diagram illustrating an apparatus for decoding a screen image in consideration of a content type according to an embodiment of the present invention.

도 5를 참고하면, 본 발명에 따른 컨텐츠 유형을 고려한 스크린 영상의 복호화 장치(500)는 부호화 모드 정보 독출부(510) 및 복호화부(520)를 포함할 수 있다.Referring to FIG. 5, an apparatus 500 for decoding a screen image considering a content type according to the present invention may include a coding mode information reading unit 510 and a decoding unit 520.

부호화 모드 정보 독출부(510)는 입력된 비트스트림을 파싱하여 스크린 내에 설정된 소정의 영역에 대한 컨텐츠 유형 정보와 소정의 영역을 기준으로 분할된 블록의 컨텐츠 유형에 따른 부호화 모드 정보를 독출한다. 여기에서 컨텐츠 유형에 따른 부호화 모드 정보는 부호화 장치에서 소정의 영역을 기준으로 분할된 블록들에 대해 결정한 각 컨텐츠 유형에 적합한 부호화 모드를 의미한다.The encoding mode information reading unit 510 parses the input bit stream to read the encoding mode information according to the content type information for the predetermined area set in the screen and the content type of the block divided on the basis of the predetermined area. Here, the encoding mode information according to the content type means an encoding mode suitable for each content type determined for blocks divided on the basis of a predetermined area by the encoding device.

복호화부(520)는 부호화 모드 정보 독출부(510)에서 독출한 부호화 모드 정보를 이용하여 소정의 영역을 기준으로 분할된 블록들을 복호화 한다.The decoding unit 520 decodes blocks divided on the basis of a predetermined area by using the encoding mode information read out from the encoding mode information reading unit 510. [

도 6a는 다양한 유형의 컨텐츠가 존재하는 스크린 영상의 일 예를 도시한 도면이다.6A is a diagram illustrating an example of a screen image in which various types of content exist.

본 발명의 일실시예에 따르면 스크린 영상(600) 내부의 영역 A(602) 및 영역 C(606)에는 텍스트, 영역 B(604) 및 영역 D(608)에는 동영상이 존재한다. 다양한 유형의 컨텐츠가 혼합되어 있는 경우 스크린 영상 전체에 대해 획일적으로 부호화 모드를 적용하면 화질과 압축율 측면에서 모두 비효율적이다.According to an embodiment of the present invention, a moving picture exists in the area A 602 and the area C 606 inside the screen image 600, and in the area B 604 and the area D 608. When various types of content are mixed, if the encoding mode is uniformly applied to the entire screen image, it is inefficient in terms of image quality and compression ratio.

일예로 스크린 영상(600) 전체를 텍스트에 적합한 무손실 부호화 모드로 부호화하면 영역 A(602)의 텍스트는 화질 열화 없이 복호화할 수 있지만 영역 B(604)의 동영상의 경우에는 압축율이 떨어져 실시간 재생에 적합하지 않게 된다.For example, if the entire screen image 600 is coded in a lossless coding mode suitable for text, the text in the area A 602 can be decoded without deterioration in picture quality. However, in the case of moving pictures in the area B 604, .

한편, 스크린 영상(600) 전체를 동영상에 적합한 손실 부호화 모드로 부호화하게 되면 영역 B(604)의 동영상의 경우에는 압축율이 높아 실시간 재생에 적합하지만 영역 A(602)의 텍스트의 경우에는 화질이 열화되어 텍스트를 식별하기 어려워진다.On the other hand, if the entire screen image 600 is coded in a lossy encoding mode suitable for a moving picture, the moving picture of the area B 604 is suitable for real-time reproduction due to its high compression rate. However, in the case of the text of the area A 602, And it becomes difficult to identify the text.

도 6b는 다양한 유형의 컨텐츠가 존재하는 스크린 영상 전체를 블록 단위로 분할한 일 예를 도시한 도면이다.FIG. 6B illustrates an example of dividing the entire screen image in which various types of content exist, on a block-by-block basis.

본 발명의 일실시예에 따르면 스크린 영상(610) 내부의 영역 A(612), 영역 C(616)에는 텍스트 및 영역 B(614), 영역 D(618)에는 동영상이 존재한다. 다양한 유형의 컨텐츠가 혼합되어 있는 영상을 분석하는 경우 부호화기는 동일한 부호화 모드가 적용되는 블록 단위로 부호화를 수행한다. 이 때 블록 단위는 설정에 따라 8x8, 16x16 및 32x32 등 다양하게 결정된다.According to an embodiment of the present invention, a moving picture exists in the area A 612, the area C 616, and the area B 614 and the area D 618 in the screen image 610. When analyzing an image in which various types of content are mixed, the encoder performs encoding in units of blocks to which the same encoding mode is applied. At this time, the block unit is determined in various ways such as 8x8, 16x16, and 32x32 according to the setting.

도 7a는 본 발명의 일 실시예에 따른 스크린 영상 내 소정의 영역을 지정한 일 예를 도시한 도면이다.FIG. 7A is a diagram illustrating an example of designating a predetermined area in a screen image according to an embodiment of the present invention.

본 발명의 일 실시예에 따르면 사용자는 스크린 영상 중 디스플레이 디바이스에 전송하고자 하는 영역을 마우스, 키보드 등의 입력 장치를 이용하여 설정할 수 있다.According to an embodiment of the present invention, a user can set an area of a screen image to be transmitted to a display device using an input device such as a mouse or a keyboard.

도 7b는 본 발명의 일 실시예에 따라 스크린 영상 내 블록과 소정 영역을 기준으로 분할한 블록의 일 예를 도시한 도면이다.7B is a diagram illustrating an example of a block in a screen image and a block divided based on a predetermined area according to an embodiment of the present invention.

도 7b를 참고하면, 소정 영역(736)에 대해 스크린 영상(730)에서의 블록(731)과 소정 영역(736)을 기준으로 분할한 블록(743)이 일치하지 않으므로 스크린 영상(730)의 블록별 컨텐츠 유형 정보를 이용하여 소정 영역(736)을 기준으로 분할한 블록들의 부호화 모드를 결정한다.7B, since the block 731 of the screen image 730 and the block 743 of the predetermined region 736 are not coincident with respect to the predetermined region 736, The encoding mode of blocks divided on the basis of the predetermined area 736 is determined by using the separate content type information.

도 7c는 본 발명의 일 실시예에 따라 스크린 영상 내 소정 영역을 기준으로 분할한 블록의 일 예를 도시한 도면이다. FIG. 7C is a diagram illustrating an example of a block divided on the basis of a predetermined area in a screen image according to an embodiment of the present invention.

본 발명의 일 실시예에 따라 도 7c에서 영역 A(752)와 영역 C(756)는 텍스트가 위치하고 있는 영역으로 무손실 부호화 모드로 부호화를 수행한다. 영역 B(754)와 영역 D(758)는 동영상이 위치하고 있는 영역으로 손실 부호화 모드로 부호화를 수행한다.In accordance with an embodiment of the present invention, the region A 752 and the region C 756 in FIG. 7C perform coding in a lossless coding mode to an area where the text is located. The region B 754 and the region D 758 encode in the lossy encoding mode into the region where the moving image is located.

도 8a는 소정의 영역을 기준으로 분할된 블록 내에 4개의 스크린 영상 블록 일부가 포함되는 일 예를 도시한 도면이다.8A is a view showing an example in which a part of four screen image blocks are included in a divided block based on a predetermined area.

도 8a를 참고하여 스크린 영상(810)의 블록(811)과 소정의 영역(812)을 기준으로 분할된 블록(814)을 비교해 보면 서로 일치하지 않음을 알 수 있다. 스크린 영상의 블록과 소정의 영역을 기준으로 분할된 블록이 일치하지 않을 경우에는 스크린 영상 내의 블록 정보를 이용하여 부호화 모드를 결정한다.Referring to FIG. 8A, it can be seen that the block 811 of the screen image 810 and the divided blocks 814 based on the predetermined area 812 are not coincident with each other. When the blocks of the screen image and the blocks divided based on the predetermined area do not coincide with each other, the encoding mode is determined using the block information in the screen image.

도 8a는 소정의 영역을 기준으로 분할된 블록 내에 4개의 스크린 영상 블록 일부가 포함되는데 이 때, 4개의 스크린 영상 블록 일부에 포함된 컨텐츠 유형이 한가지 컨텐츠로 동일한 경우에는 한가지 컨텐츠 유형에 적합한 것으로 블록의 부호화 모드를 결정한다. 반면, 4개의 스크린 영상 블록 일부에 포함된 컨텐츠 유형이 복수개일 경우는 일예로 설정된 기본 부호화 모드로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다. 8A shows a case where a part of four screen image blocks is included in a block divided on the basis of a predetermined area. When a content type included in a part of four screen image blocks is equal to one content, Lt; / RTI > On the other hand, when there are a plurality of content types included in a part of the four screen image blocks, the encoding mode of a block divided on the basis of a predetermined area is determined in a basic encoding mode set as an example.

도 8b는 소정의 영역을 기준으로 분할된 블록 내에 2개의 스크린 영상 블록 일부가 포함되는 일 예를 도시한 도면이다.FIG. 8B is a view showing an example in which a part of two screen image blocks are included in a block divided based on a predetermined area.

도 8b를 참고하여 스크린 영상(820)의 블록(821)과 소정의 영역(822)을 기준으로 분할된 블록(824)을 비교해 볼 때 서로 일치하지 않으므로, 스크린 영상 내의 블록 정보를 이용하여 부호화 모드를 결정한다.8B, since the block 821 of the screen image 820 and the divided blocks 824 based on the predetermined area 822 are compared with each other, the block information is not coincident with each other, .

도 8b는 소정의 영역을 기준으로 분할된 블록 내에 2개의 스크린 영상 블록 일부가 포함되는데 이 때, 2개의 스크린 영상 블록 일부에 포함된 컨텐츠 유형이 한가지 컨텐츠로 동일한 경우에는 한가지 컨텐츠 유형에 적합한 것으로 블록의 부호화 모드를 결정한다. 반면, 2개의 스크린 영상 블록 일부에 포함된 컨텐츠 유형이 복수개일 경우는 일예로 설정된 기본 부호화 모드로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다. FIG. 8B shows a case where a part of two screen image blocks is included in a block divided on the basis of a predetermined area. When a content type included in a part of two screen image blocks is equal to one content, Lt; / RTI > On the other hand, when there are a plurality of content types included in a part of two screen image blocks, a coding mode of a block divided on the basis of a predetermined area is determined in a basic coding mode set as an example.

도 8c는 본 발명의 일 실시예에 따른 소정 영역의 블록 내에 하나의 컨텐츠 유형이 존재하는 일 예를 도시한 도면이다.FIG. 8C illustrates an example in which one content type exists in a block of a predetermined area according to an exemplary embodiment of the present invention. Referring to FIG.

도 8c를 참고하여 스크린 영상(830)의 블록(831)과 소정의 영역(832)을 기준으로 분할된 블록(834)을 비교해 볼 때 서로 일치하므로, 스크린 영상의 블록별 부호화 모드 정보로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.8C, since the block 831 of the screen image 830 and the divided blocks 834 of the predetermined area 832 are compared with each other, The encoding mode of the divided blocks is determined.

도 9는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법을 나타낸 흐름도이다.9 is a flowchart illustrating a method of encoding a screen image in consideration of a content type according to an embodiment of the present invention.

단계 910에서, 스크린 영상의 컨텐츠 유형에 대해 분석한다. In step 910, the content type of the screen image is analyzed.

단계 920에서, 전송하고자 하는 소정 영역을 설정한다. 이 때 소정 영역의 설정은 사용자가 마우스, 키보드 등의 입력 장치를 사용하여 설정할 수 있다.In step 920, a predetermined area to be transmitted is set. At this time, the setting of the predetermined area can be set by the user using an input device such as a mouse or a keyboard.

단게 930에서, 설정된 소정 영역 내 블록들의 부호화 모드를 결정한다, 여기에서 설정된 소정 영역 내 블록들은 소정 영역을 기준으로 분할된 블록을 의미한다. 즉, 소정 영역을 기준으로 분할된 블록은 스크린 영상 내의 블록들과 독립적으로 소정 영역에 대해 분할한 결과이다.In step 930, the encoding mode of the blocks within the predetermined area is determined. The blocks within the predetermined area denoted herein are blocks divided on the basis of a predetermined area. That is, a block divided on the basis of a predetermined region is a result obtained by dividing the block on a predetermined region independently of the blocks in the screen image.

단계 940에서 결정된 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록을 부호화한다.And blocks divided on the basis of a predetermined region according to the encoding mode determined in operation 940.

도 11은 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법을 나타낸 흐름도이다.11 is a flowchart illustrating a method of encoding a screen image in consideration of a content type according to an embodiment of the present invention.

단계 1110에서, 스크린 영상의 컨텐츠 유형에 대해 분석한다. In step 1110, the content type of the screen image is analyzed.

단계 1120에서, 스크린 영상의 블록별로 상기 컨텐츠 유형에 따른 부호화 모드를 결정한다. 스크린 영상의 블록별 부호화 모드 정보는 단계 1140에서 설정된 소정 영역 내 블록들의 부호화 모드를 결정하는데 이용된다. 스크린 영상의 블록별 부호화 모드 정보를 이용하는 구체적인 방법은 도 12를 참조하여 후술하기로 한다.In step 1120, an encoding mode according to the content type is determined for each block of the screen image. The coding mode information for each block of the screen image is used to determine the coding mode of the blocks within the predetermined area set in step 1140. A concrete method of using the block-by-block encoding mode information of the screen image will be described later with reference to FIG.

단계 1130에서, 스크린 영상 내에서 전송하고자 하는 소정 영역을 설정한다. In step 1130, a predetermined area to be transmitted in the screen image is set.

단계 1140에서, 설정된 소정 영역 내 블록들의 부호화 모드를 결정한다. 구체적인 부호화 모드 결정 방법에 대해서는 도 12를 참조하여 후술하기로 한다.In step 1140, the encoding mode of the blocks within the predetermined area is determined. A specific encoding mode determination method will be described later with reference to FIG.

단계 1150에서 결정된 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록을 부호화한다.And the blocks divided on the basis of the predetermined region are encoded according to the encoding mode determined in operation 1150.

도 12는 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법의 세부적인 단계를 나타낸 흐름도이다. 12 is a flowchart illustrating a detailed step of a method of encoding a screen image considering a content type according to an embodiment of the present invention.

단계 1210에서, 스크린 영상의 컨텐츠 유형에 대해 분석한다. In step 1210, the content type of the screen image is analyzed.

단계 1220에서, 스크린 영상의 블록별로 상기 컨텐츠 유형에 따른 부호화 모드를 결정한다. In step 1220, an encoding mode according to the content type is determined for each block of the screen image.

단계 1230에서, 스크린 영상 내 소정의 영역을 설정하는 입력신호가 있는지 판단한다.In step 1230, it is determined whether there is an input signal for setting a predetermined area in the screen image.

단계 1240에서, 스크린 영상 내 소정의 영역을 설정하는 입력신호가 있는 경우, 설정된 소정 영역을 블록 단위로 분할한다. 여기에서 설정된 소정 영역 내 블록들은 소정 영역을 기준으로 분할된 블록을 의미한다.In step 1240, when there is an input signal for setting a predetermined area in the screen image, the predetermined area is divided into blocks. Blocks within a predetermined area set herein refer to blocks divided on the basis of a predetermined area.

단계 1250에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는지 여부를 판단한다.In step 1250, it is determined whether or not the divided blocks based on the predetermined area coincide with the blocks of the screen image.

단계 1255에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는 경우에는 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 스크린 영상의 블록별 부호화 모드로 결정한다. In step 1255, if the block divided on the basis of a predetermined area coincides with the block of the screen image, the coding mode of the blocks divided on the basis of the predetermined area is determined as the block coding mode of the screen image.

단계 1260에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록별 부호화 모드와 일치하지 않는 경우에는 소정 영역을 기준으로 분할된 블록에 복수개의 컨텐츠 유형이 존재하는지 여부를 판단한다.In step 1260, if the block divided on the basis of the predetermined area does not coincide with the block-by-block coding mode of the screen image, it is determined whether a plurality of content types exist in the block divided on the basis of the predetermined area.

단계 1265에서, 소정 영역을 기준으로 분할된 블록에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다. In step 1265, if there are a plurality of content types in a block divided on the basis of a predetermined area, a coding mode of a block divided on the basis of a predetermined area is determined according to a set basic coding mode.

단계 1270에서, 소정 영역을 기준으로 분할된 블록에 하나의 컨텐츠 유형이 존재할 경우에는 하나의 컨텐츠 유형으로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.In step 1270, if there is one content type in a block divided on the basis of a predetermined area, a coding mode of a block divided on the basis of a predetermined area with one content type is determined.

단계 1280에서 결정된 부호화 모드로 소정 영역을 기준으로 분할된 블록들을 부호화한다.The blocks divided on the basis of the predetermined area in the encoding mode determined in step 1280 are encoded.

단계 1290에서 스크린 영상 내 소정의 영역을 설정하는 입력신호가 없는 경우, 단계 1220에서 결정한 스크린 영상 전체에 대한 블록별 부호화 모드를 이용하여 스크린 영상을 부호화한다.If there is no input signal for setting a predetermined area in the screen image in step 1290, the screen image is encoded using the coding mode for the entire screen image determined in step 1220.

도 13은 본 발명의 일 실시예에 따른 컨텐츠 유형을 고려한 스크린 영상의 부호화 방법의 세부적인 단계를 나타낸 흐름도이다.13 is a flowchart illustrating a detailed step of a method of encoding a screen image considering a content type according to an embodiment of the present invention.

단계 1310에서 입력된 비트스트림을 파싱하여 스크린 영상 내에 설정된 소정의 영역에 대한 컨텐츠 유형 정보를 독출한다.The bit stream input in step 1310 is parsed to read content type information for a predetermined area set in the screen image.

단계 1320에서 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출한다.In step 1320, the encoding mode information of a block divided on the basis of a predetermined area is read according to the content type information.

단계 1330에서 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 소정의 영역을 부호화한 데이터를 복호화한다.In step 1330, data obtained by coding a predetermined area is decoded using the encoding mode information of a block divided on the basis of a predetermined area.

본 발명의 일 실시예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함한다. One embodiment of the present invention may also be embodied in the form of a recording medium including instructions executable by a computer, such as program modules, being executed by a computer. Computer readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media. In addition, the computer-readable medium may include both computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Communication media typically includes any information delivery media, including computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, or other transport mechanism.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.It will be understood by those skilled in the art that the foregoing description of the present invention is for illustrative purposes only and that those of ordinary skill in the art can readily understand that various changes and modifications may be made without departing from the spirit or essential characteristics of the present invention. will be. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. For example, each component described as a single entity may be distributed and implemented, and components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

200: 부호화 장치
210: 스크린 영상 분석부
220: 영역 설정부
230: 설정영역 부호화 모드 결정부
240: 부호화부
200:
210: screen image analysis unit
220: Area setting unit
230: Setting area coding mode determining section
240:

Claims (25)

컨텐츠 유형을 고려한 스크린 영상의 부호화 방법에 있어서,
상기 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하는 단계;
상기 스크린 영상 내에서 소정의 영역을 설정하는 단계;
상기 스크린 영상의 블록별 컨텐츠 유형 분석 결과를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계; 및
상기 결정된 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록들을 부호화하는 단계를 포함하는 것을 특징으로 하는 부호화 방법.
A method of encoding a screen image in consideration of a content type,
Analyzing a content type on a block-by-block basis for the screen image;
Setting a predetermined area in the screen image;
Determining a coding mode of blocks divided on the basis of the predetermined area using a content type analysis result of each block of the screen image; And
And encoding the divided blocks based on the predetermined region in the determined encoding mode.
제 1항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록은 상기 스크린 영상의 블록과 독립적으로 상기 소정의 영역을 분할한 것을 특징으로 하는 부호화 방법.The coding method according to claim 1, wherein the block divided on the basis of the predetermined area is divided into the predetermined area independently of the block of the screen image. 제 1항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계는,
상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.
2. The method of claim 1, wherein the determining the coding mode of the divided blocks based on the predetermined area comprises:
Determining a coding mode of a block divided on the basis of the predetermined area according to a set basic coding mode when a plurality of content types exist in a block divided on the basis of the predetermined area, Further comprising the step of determining a coding mode of a block divided on the basis of the predetermined area in a coding mode according to one content type.
제 3항에 있어서, 상기 설정된 기본 부호화 모드는 상기 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 따른 부호화모드로 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 것을 특징으로 하는 부호화 방법.The method as claimed in claim 3, wherein the set basic encoding mode is a coding mode in which a ratio of content types among the plurality of content types is highest, based on a content type ratio included in blocks divided on the basis of the predetermined area, Wherein a coding mode of a block divided based on a predetermined area is determined. 제 1항에 있어서, 상기 컨텐츠 유형에 따른 스크린 영상의 부호화 방법은 상기 스크린 영상의 블록별 컨텐츠 유형 분석에 따른 상기 스크린 영상의 블록별 부호화 모드를 결정하는 단계; 및
상기 결정된 스크린 영상의 블록별 부호화 모드를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.
The method according to claim 1, wherein the coding method of the screen image according to the content type comprises: determining a coding mode for each block of the screen image according to a content type analysis for each block of the screen image; And
Further comprising the step of determining an encoding mode of the blocks divided on the basis of the predetermined area using the block encoding mode of the determined screen image.
제 5항에 있어서 상기 결정된 스크린 영상의 블록별 부호화 모드를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계는, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치할 경우에는 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 상기 스크린 영상의 블록별 부호화 모드로 결정하고, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치하지 않을 경우에는 상기 스크린 영상의 컨텐츠 유형 분석 결과를 이용하여 부호화 모드를 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.The method of claim 5, wherein the determining the coding mode of blocks divided on the basis of the predetermined area using the determined coding mode of the screen image comprises: The coding mode of the blocks divided on the basis of the predetermined area is determined as a coding mode for each block of the screen image, and if a block divided on the basis of the predetermined area is a block of the screen image And determining an encoding mode using a result of analyzing the content type of the screen image if the content type does not match. 컨텐츠 유형을 고려한 스크린 영상의 복호화 방법에 있어서,
상기 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출하는 단계; 및
상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.
A method of decoding a screen image in consideration of a content type,
Reading encoding mode information of a block divided on the basis of a predetermined area according to the content type information; And
And decoding the data obtained by coding the predetermined area using the coding mode information of the block divided on the basis of the predetermined area.
제 7항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록은 상기 스크린 영상의 블록과 독립적으로 상기 소정의 영역을 분할한 것을 특징으로 하는 복호화 방법.8. The decoding method according to claim 7, wherein the block divided on the basis of the predetermined area is divided into the predetermined area independently of the block of the screen image. 제 7항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드 정보는 상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 결정되고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 결정되는 것을 특징으로 하는 복호화 방법. 8. The method of claim 7, wherein the encoding mode information of the blocks divided on the basis of the predetermined area is determined according to a set basic encoding mode when a plurality of content types exist in a block divided on the basis of the predetermined area, If the content type of the one content type exists, the encoding mode according to the one content type is determined. 제 9항에 있어서, 상기 설정된 기본 부호화 모드는 상기 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 따른 부호화모드로 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 것을 특징으로 하는 복호화 방법.The method as claimed in claim 9, wherein the set basic encoding mode is a coding mode in which a ratio of content types among the plurality of content types is highest, based on a content type ratio included in blocks divided on the basis of the predetermined area, Wherein a coding mode of a block divided based on a predetermined area is determined. 제 7항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보는 상기 스크린 영상의 블록별 부호화 모드 정보를 이용하여 결정되는 것을 특징으로 하는 복호화 방법.8. The decoding method according to claim 7, wherein the coding mode information of the block divided on the basis of the predetermined area is determined using block coding mode information of the screen image. 제 11항에 있어서 상기 스크린 영상의 블록별 부호화 모드를 이용한 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드 결정은, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치할 경우에는 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 상기 스크린 영상의 블록별 부호화 모드로 결정하고, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치하지 않을 경우에는 상기 스크린 영상의 컨텐츠 유형 분석결과를 이용하여 부호화 모드를 결정하는 것을 특징으로 하는 복호화 방법.12. The method of claim 11, wherein the coding mode determination of the blocks divided on the basis of the predetermined area using the block-by-block coding mode of the screen image is performed such that a block divided on the basis of the predetermined area matches a block of the screen image The encoding mode of the blocks divided on the basis of the predetermined area is determined as a block encoding mode of the screen image and if the blocks divided on the basis of the predetermined area do not coincide with the blocks of the screen image Wherein the encoding mode is determined using the content type analysis result of the screen image. 컨텐츠 유형을 고려한 스크린 영상의 부호화 장치에 있어서,
상기 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하는 스크린 영상 분석부;
상기 스크린 영상 내에서 소정의 영역을 설정하는 영역 설정부;
상기 스크린 영상의 블록별 컨텐츠 유형 분석 결과를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 설정 영역 부호화 모드 결정부; 및
상기 결정된 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록들을 부호화하는 부호화부를 포함하는 것을 특징으로 하는 부호화 장치.
An apparatus for encoding a screen image in consideration of a content type,
A screen image analyzing unit for analyzing the content type for each screen image with respect to the screen image;
An area setting unit for setting a predetermined area in the screen image;
A setting area encoding mode determining unit for determining an encoding mode of blocks divided on the basis of the predetermined area using a content type analysis result for each block of the screen image; And
And an encoding unit for encoding blocks divided on the basis of the predetermined region in the determined encoding mode.
제 13항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록은 상기 스크린 영상의 블록과 독립적으로 상기 소정의 영역을 분할한 것을 특징으로 하는 부호화 장치.14. The apparatus of claim 13, wherein the block divided on the basis of the predetermined area is divided into the predetermined area independently of the block of the screen image. 제 13항에 있어서, 상기 설정 영역 부호화 모드 결정부는 상기 소정의 영역을 기준으로 분할된 블록의 컨텐츠 유형을 분석하는 컨텐츠 유형 분석부; 및
상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 확정부를 더 포함하는 것을 특징으로 하는 부호화 장치.
14. The apparatus of claim 13, wherein the setting area encoding mode determination unit comprises: a content type analyzer for analyzing a content type of a block divided on the basis of the predetermined area; And
Determining a coding mode of a block divided on the basis of the predetermined area according to a set basic coding mode when a plurality of content types exist in a block divided on the basis of the predetermined area, Further comprising a determination unit determining a coding mode of a block divided on the basis of the predetermined area in a coding mode according to one content type.
제 15항에 있어서, 상기 설정된 우선 순위에 따른 부호화 모드는 상기 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 따른 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 것을 특징으로 하는 부호화 장치.16. The method according to claim 15, wherein the encoding mode according to the set priority is based on a content type ratio included in a block divided on the basis of the predetermined area, encoding based on a content type having the highest ratio among the plurality of content types Wherein the coding mode determining unit determines a coding mode of a block divided on the basis of the predetermined area. 제 13항에 있어서, 상기 컨텐츠 유형에 따른 스크린 영상의 부호화 장치는 상기 스크린 영상의 블록별로 상기 컨텐츠 유형에 따른 부호화 모드를 결정하는 부호화 모드 결정부를 더 포함하는 것을 특징으로 하는 부호화 장치.14. The apparatus of claim 13, wherein the apparatus for encoding a screen image according to the content type further comprises a coding mode determiner for determining a coding mode according to the content type for each block of the screen image. 제 17항에 있어서 상기 설정 영역 부호화 모드 결정부는, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치할 경우에는 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 상기 스크린 영상의 블록별 부호화 모드로 결정하고, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치하지 않을 경우에는 상기 스크린 영상의 컨텐츠 유형 분석결과를 이용하여 부호화 모드를 결정하는 것을 특징으로 하는 부호화 장치.The method according to claim 17, wherein, when the block divided on the basis of the predetermined area coincides with the block of the screen image, the setting area encoding mode determination unit determines the encoding mode of blocks divided on the basis of the predetermined area, Determining a coding mode for each block of an image and determining a coding mode using a content type analysis result of the screen image if a block divided on the basis of the predetermined area does not coincide with a block of the screen image . 컨텐츠 유형을 고려한 스크린 영상의 복호화 장치에 있어서,
상기 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출하는 부호화 모드 정보 독출부; 및
상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 복호화부를 포함하는 것을 특징으로 하는 복호화 장치.
An apparatus for decoding a screen image in consideration of a content type,
A coding mode information reading unit reading the coding mode information of a block divided on the basis of a predetermined area according to the content type information; And
And a decoding unit decoding the data obtained by coding the predetermined area using the coding mode information of the block divided on the basis of the predetermined area.
제 19항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록은 상기 스크린 영상의 블록과 독립적으로 상기 소정의 영역을 분할한 것을 특징으로 하는 복호화 장치.20. The decoding apparatus according to claim 19, wherein a block divided on the basis of the predetermined area is divided into a predetermined area independently of a block of the screen image. 제 19항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드 정보는 상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 결정되고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 결정되는 것을 특징으로 하는 복호화 장치. The method of claim 19, wherein the encoding mode information of blocks divided on the basis of the predetermined area is determined according to a set basic encoding mode when a plurality of content types exist in a block divided on the basis of the predetermined area, The encoding mode according to the one content type is determined. 제 21항에 있어서, 상기 설정된 우선 순위에 따른 부호화 모드는 상기 소정의 영역을 기준으로 분할된 블록 내 포함되는 컨텐츠 유형 비율에 기초하여 상기 복수개의 컨텐츠 유형 중 차지하는 비율이 가장 높은 컨텐츠 유형에 따른 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 것을 특징으로 하는 복호화 장치.22. The method of claim 21, wherein the encoding mode according to the set priorities includes encoding based on a content type having a highest ratio among the plurality of content types based on a content type ratio included in blocks divided on the basis of the predetermined region, And determines a coding mode of a block divided on the basis of the predetermined area. 제 19항에 있어서, 상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보는 상기 스크린 영상의 블록별 부호화 모드 정보를 이용하여 결정되는 것을 특징으로 하는 복호화 장치.The decoding apparatus of claim 19, wherein the coding mode information of the block divided on the basis of the predetermined area is determined using block coding mode information of the screen image. 제 23항에 있어서 상기 스크린 영상의 블록별 부호화 모드를 이용한 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드 결정은, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치할 경우에는 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 상기 스크린 영상의 블록별 부호화 모드로 결정하고, 상기 소정의 영역을 기준으로 분할된 블록이 상기 스크린 영상의 블록과 일치하지 않을 경우에는 상기 스크린 영상의 컨텐츠 유형 분석결과를 이용하여 부호화 모드를 결정하는 것을 특징으로 하는 복호화 장치.24. The method of claim 23, wherein the encoding mode determination of the blocks divided on the basis of the predetermined area using the block-by-block encoding mode of the screen image is performed such that a block divided on the basis of the predetermined area matches a block of the screen image The encoding mode of the blocks divided on the basis of the predetermined area is determined as a block encoding mode of the screen image and if the blocks divided on the basis of the predetermined area do not coincide with the blocks of the screen image Wherein the encoding mode is determined using the content type analysis result of the screen image. 제 1항 내지 제 12항 중 어느 하나의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.A computer-readable recording medium having recorded thereon a program for causing a computer to execute the method according to any one of claims 1 to 12.
KR1020130040027A 2013-04-11 2013-04-11 method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof KR20140123190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130040027A KR20140123190A (en) 2013-04-11 2013-04-11 method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130040027A KR20140123190A (en) 2013-04-11 2013-04-11 method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof

Publications (1)

Publication Number Publication Date
KR20140123190A true KR20140123190A (en) 2014-10-22

Family

ID=51993967

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130040027A KR20140123190A (en) 2013-04-11 2013-04-11 method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof

Country Status (1)

Country Link
KR (1) KR20140123190A (en)

Similar Documents

Publication Publication Date Title
US10356421B2 (en) Video encoding method and video encoding for signaling SAO parameters
TWI692245B (en) Video decoding apparatus, video encoding method and apparatus, and computer-readable storage medium
US9800878B2 (en) Method and apparatus for video encoding for each spatial sub-area, and method and apparatus for video decoding for each spatial sub-area
US10194150B2 (en) Method and device for coding image, and method and device for decoding image
US11232598B2 (en) Distinct encoding and decoding of stable information and transient/stochastic information
TWI590662B (en) Decoder and method
US20150156557A1 (en) Display apparatus, method of displaying image thereof, and computer-readable recording medium
US11856191B2 (en) Method and system for real-time content-adaptive transcoding of video content on mobile devices to save network bandwidth during video sharing
US20150117545A1 (en) Layered Video Encoding and Decoding
US20170180746A1 (en) Video transcoding method and electronic apparatus
US20210409688A1 (en) Data decoding method and apparatus, and data coding method and apparatus
KR101805550B1 (en) Image data encoding method for presentation virtualization and server therefor
US20180302636A1 (en) Method of mixing video bitstreams and apparatus performing the method
US9398314B2 (en) Entropy coding efficiency enhancement utilizing energy distribution remapping
US20170078705A1 (en) Verification of error recovery with long term reference pictures for video coding
KR20140123190A (en) method and apparatus for encoding and decoding screen image considering contents type and recording medium thereof
CN112449188B (en) Video decoding method, video encoding device, video encoding medium, and electronic apparatus
CN111225210B (en) Video coding method, video coding device and terminal equipment
CN113329227A (en) Video coding method and device, electronic equipment and computer readable medium
CN117356092A (en) System, method and bitstream structure for a hybrid feature video bitstream and decoder
WO2023059689A1 (en) Systems and methods for predictive coding
CN117676146A (en) Encoding and decoding method and device
KR20200070457A (en) Apparatus and method for compressing video

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right