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 PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/136—Incoming video signal characteristics or properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods 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/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
Description
본 발명은 스크린에 재생되는 다양한 유형의 컨텐츠가 혼합된 복합 영상을 원격의 수신 단말에 전송하기 위한 부호화 및 복호화 기술과 관련된다.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
한편, 서버(110)에서 클라이언트(120)로 스크린 영상을 전송할 때, 스크린 영상 내의 소정의 영역을 컨텐츠 유형별로 부호화하여 전송해야 하는 경우가 발생할 수 있다.Meanwhile, when a screen image is transmitted from the
일예로 발표자가 다수의 청중들 앞에서 프레젠테이션을 하는 경우에는 발표자 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
도 2에 도시된 부호화 장치 (200)에는 본 실시예와 관련된 구성요소들만이 도시되어 있다. 따라서, 도 2에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시예와 관련된 기술 분야에서 통상의 지식을 가진 자라면 이해할 수 있다.Only the components related to the present embodiment are shown in the
스크린 영상 분석부(210)는 전송하고자 하는 스크린 영상의 컨텐츠 유형을 분석하는데 컨텐츠의 유형에는 텍스트, 아이콘, 동영상, 사진 등이 포함될 수 있다. The screen
스크린 영상 분석부(210)에서는 전체 화면에 대해 블록별 컨텐츠 유형을 분석한다. 본 발명의 일예에 따르면 블록별 컨텐츠 유형에 따라 부호화 모드가 정해질 수 있다. 부호화 모드에는 무손실 부호화 모드 및 손실 부호화 모드가 있을 수 있는데 컨텐츠 유형에 따라 컨텐츠가 텍스트인 경우는 텍스트 영역에 적합한 부호화 모드를, 사진인 경우는 사진영역에 적합한 부호화모드를, 그래픽인 경우는 그래픽 영역에 적합한 부호화 모드를 선택할 수 있다.The screen
무손실 부호화 모드는 일반적으로 압축률이 낮으나, 복원에 의해 원래 데이터가 완전히 재생 되어야 하는 영상에 사용된다. 무손실 부호화 모드는 단순히 반복되는 자료를 제거하는 반복 억제 기법과 자료의 통계적 특성을 활용하는 엔트로피 인코딩 기법으로 나뉜다.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
본 발명의 일 실시예에 따르면 소정의 영역은 사용자의 입력에 따라 크기가 가변적으로 결정될 수 있다. 구체적으로 사용자는 입력 장치를 이용하여 디스플레이 디바이스로 전송할 영역을 결정할 수 있다. 사용자의 입력에 따라 전송할 소정 영역이 결정되면 부호화 장치(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
여기에서, 입력 장치는 마우스 및 키보드가 해당될 수 있으나, 이에 한정되지 않는다. 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
설정 영역 부호화 모드 결정부(230)는 스크린 영상 분석부(210)에서 스크린 영상의 블록별 컨텐츠 유형에 대한 분석 결과를 이용하여 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정한다.The setting area encoding
여기에서 소정의 영역을 기준으로 분할된 블록들은 스크린 영상의 블록과 독립적으로 소정 영역을 분할한 것을 의미한다. 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
따라서 소정 영역이 결정되면 결정된 소정 영역을 새롭게 분할하여 블록별로 부호화 모드를 결정하도록 한다. 도 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
설정 영역 부호화 모드 결정부(230)에서는 소정 영역(736)을 새롭게 블록 단위로 분할(744)한 후 분할된 블록들(743)에 대해 부호화 모드를 결정한다. In the setting area encoding
구체적으로 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 하나의 컨텐츠 유형으로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.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
도 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
컨텐츠 유형 분석부(320)에서는 소정의 영역을 기준으로 분할된 블록 내의 컨텐츠 유형에 대해 분석한다. 구체적으로 스크린 영상 내에 결정된 소정의 영역에 동영상, 사진, 아이콘 및 텍스트 등 다양한 유형의 컨텐츠가 혼합되어 있는 경우 소정의 영역에 대해 분석하여 소정의 영역 내의 각 블록이 해당되는 컨텐츠 유형을 결정한다.The content
확정부(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
여기에서 미리 정의된 우선 순위에 따른 부호화 모드 결정은 일예로 동영상, 사진, 아이콘 및 텍스트의 순서로 우선 순위를 정할 경우 소정의 영역내에 포함된 다양한 컨텐츠 유형에 대하여 동영상, 사진, 아이콘 및 텍스트의 순서로 각 컨텐츠 유형에 적합한 부호화 모드를 결정하는 것을 의미한다.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
본 발명의 일 실시예에 따르면 스크린 영상 분석부(410)는 스크린 영상 전체에 대해 블록별 컨텐츠 유형을 분석한다. 부호화 모드 결정부(420)는 분석 결과에 따라 스크린 영상의 블록 별로 각 컨텐츠 유형에 적합한 부호화 모드를 결정한다.본 발명의 일 실시예에 따르면 부호화 모드 결정부의 분석 결과는 전체 스크린에 대해 블록별로 결정된 부호화 모드이고, 여기에서 부호화 모드는 블록별 컨텐츠 유형에 따라 결정된다.According to one embodiment of the present invention, the screen
구체적으로 스크린 영상에 동영상과 텍스트가 혼합되어 있는 경우 컨텐츠 유형이 동영상인 블록은 손실 부호화 모드로 결정되고 컨텐츠 유형이 텍스트인 블록은 무손실 부호화 모드로 결정된다.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
설정 영역 부호화 모드 결정부(440)는 스크린 영상 분석부(410)에서 획득한 스크린 영상에 대한 블록별 컨텐츠 유형 분석 결과와 부호화 모드 결정부(420)에서 결정한 스크린 영상 전체에 대한 블록별 부호화 모드 정보를 이용하여 소정 영역에 대한 블록별 부호화 모드를 결정한다. 여기에서 소정 영역에 대한 블록은 소정의 영역을 기준으로 새롭게 분할된 블록을 의미한다.The setting area encoding
구체적으로 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는 경우에는 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 스크린 영상의 블록별 부호화 모드로 결정한다. 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록별 부호화 모드와 일치하지 않는 경우에는 스크린 영상에 대한 컨텐츠 분석 결과를 이용하여 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정한다.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
도 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
부호화 모드 정보 독출부(510)는 입력된 비트스트림을 파싱하여 스크린 내에 설정된 소정의 영역에 대한 컨텐츠 유형 정보와 소정의 영역을 기준으로 분할된 블록의 컨텐츠 유형에 따른 부호화 모드 정보를 독출한다. 여기에서 컨텐츠 유형에 따른 부호화 모드 정보는 부호화 장치에서 소정의 영역을 기준으로 분할된 블록들에 대해 결정한 각 컨텐츠 유형에 적합한 부호화 모드를 의미한다.The encoding mode
복호화부(520)는 부호화 모드 정보 독출부(510)에서 독출한 부호화 모드 정보를 이용하여 소정의 영역을 기준으로 분할된 블록들을 복호화 한다.The
도 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
일예로 스크린 영상(600) 전체를 텍스트에 적합한 무손실 부호화 모드로 부호화하면 영역 A(602)의 텍스트는 화질 열화 없이 복호화할 수 있지만 영역 B(604)의 동영상의 경우에는 압축율이 떨어져 실시간 재생에 적합하지 않게 된다.For example, if the
한편, 스크린 영상(600) 전체를 동영상에 적합한 손실 부호화 모드로 부호화하게 되면 영역 B(604)의 동영상의 경우에는 압축율이 높아 실시간 재생에 적합하지만 영역 A(602)의 텍스트의 경우에는 화질이 열화되어 텍스트를 식별하기 어려워진다.On the other hand, if the
도 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
도 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
도 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
도 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
도 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
도 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
도 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
단계 920에서, 전송하고자 하는 소정 영역을 설정한다. 이 때 소정 영역의 설정은 사용자가 마우스, 키보드 등의 입력 장치를 사용하여 설정할 수 있다.In
단게 930에서, 설정된 소정 영역 내 블록들의 부호화 모드를 결정한다, 여기에서 설정된 소정 영역 내 블록들은 소정 영역을 기준으로 분할된 블록을 의미한다. 즉, 소정 영역을 기준으로 분할된 블록은 스크린 영상 내의 블록들과 독립적으로 소정 영역에 대해 분할한 결과이다.In
단계 940에서 결정된 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록을 부호화한다.And blocks divided on the basis of a predetermined region according to the encoding mode determined in
도 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
단계 1120에서, 스크린 영상의 블록별로 상기 컨텐츠 유형에 따른 부호화 모드를 결정한다. 스크린 영상의 블록별 부호화 모드 정보는 단계 1140에서 설정된 소정 영역 내 블록들의 부호화 모드를 결정하는데 이용된다. 스크린 영상의 블록별 부호화 모드 정보를 이용하는 구체적인 방법은 도 12를 참조하여 후술하기로 한다.In
단계 1130에서, 스크린 영상 내에서 전송하고자 하는 소정 영역을 설정한다. In
단계 1140에서, 설정된 소정 영역 내 블록들의 부호화 모드를 결정한다. 구체적인 부호화 모드 결정 방법에 대해서는 도 12를 참조하여 후술하기로 한다.In
단계 1150에서 결정된 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록을 부호화한다.And the blocks divided on the basis of the predetermined region are encoded according to the encoding mode determined in
도 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
단계 1220에서, 스크린 영상의 블록별로 상기 컨텐츠 유형에 따른 부호화 모드를 결정한다. In
단계 1230에서, 스크린 영상 내 소정의 영역을 설정하는 입력신호가 있는지 판단한다.In
단계 1240에서, 스크린 영상 내 소정의 영역을 설정하는 입력신호가 있는 경우, 설정된 소정 영역을 블록 단위로 분할한다. 여기에서 설정된 소정 영역 내 블록들은 소정 영역을 기준으로 분할된 블록을 의미한다.In
단계 1250에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는지 여부를 판단한다.In
단계 1255에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록과 일치하는 경우에는 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 스크린 영상의 블록별 부호화 모드로 결정한다. In
단계 1260에서, 소정의 영역을 기준으로 분할된 블록이 스크린 영상의 블록별 부호화 모드와 일치하지 않는 경우에는 소정 영역을 기준으로 분할된 블록에 복수개의 컨텐츠 유형이 존재하는지 여부를 판단한다.In
단계 1265에서, 소정 영역을 기준으로 분할된 블록에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다. In
단계 1270에서, 소정 영역을 기준으로 분할된 블록에 하나의 컨텐츠 유형이 존재할 경우에는 하나의 컨텐츠 유형으로 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정한다.In
단계 1280에서 결정된 부호화 모드로 소정 영역을 기준으로 분할된 블록들을 부호화한다.The blocks divided on the basis of the predetermined area in the encoding mode determined in
단계 1290에서 스크린 영상 내 소정의 영역을 설정하는 입력신호가 없는 경우, 단계 1220에서 결정한 스크린 영상 전체에 대한 블록별 부호화 모드를 이용하여 스크린 영상을 부호화한다.If there is no input signal for setting a predetermined area in the screen image in
도 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
단계 1320에서 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출한다.In
단계 1330에서 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 소정의 영역을 부호화한 데이터를 복호화한다.In
본 발명의 일 실시예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함한다. 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.
상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법. 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.
상기 결정된 스크린 영상의 블록별 부호화 모드를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 단계를 더 포함하는 것을 특징으로 하는 부호화 방법.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.
상기 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출하는 단계; 및
상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 단계를 포함하는 것을 특징으로 하는 복호화 방법.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.
상기 스크린 영상에 대해 블록별로 컨텐츠 유형을 분석하는 스크린 영상 분석부;
상기 스크린 영상 내에서 소정의 영역을 설정하는 영역 설정부;
상기 스크린 영상의 블록별 컨텐츠 유형 분석 결과를 이용하여 상기 소정의 영역을 기준으로 분할된 블록들의 부호화 모드를 결정하는 설정 영역 부호화 모드 결정부; 및
상기 결정된 부호화 모드로 상기 소정의 영역을 기준으로 분할된 블록들을 부호화하는 부호화부를 포함하는 것을 특징으로 하는 부호화 장치. 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.
상기 소정의 영역을 기준으로 분할된 블록 내에 복수개의 컨텐츠 유형이 존재할 경우에는 설정된 기본 부호화 모드에 따라 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하고, 하나의 컨텐츠 유형이 존재할 경우에는 상기 하나의 컨텐츠 유형에 따른 부호화 모드로 상기 소정 영역을 기준으로 분할된 블록의 부호화 모드를 결정하는 확정부를 더 포함하는 것을 특징으로 하는 부호화 장치. 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.
상기 컨텐츠 유형 정보에 따라 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 독출하는 부호화 모드 정보 독출부; 및
상기 소정의 영역을 기준으로 분할된 블록의 부호화 모드 정보를 이용하여 상기 소정의 영역을 부호화한 데이터를 복호화하는 복호화부를 포함하는 것을 특징으로 하는 복호화 장치.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.
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) |
-
2013
- 2013-04-11 KR KR1020130040027A patent/KR20140123190A/en active IP Right Grant
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 |