JP2021125801A - Image encoding device, image decoding device, and image processing system - Google Patents

Image encoding device, image decoding device, and image processing system Download PDF

Info

Publication number
JP2021125801A
JP2021125801A JP2020018232A JP2020018232A JP2021125801A JP 2021125801 A JP2021125801 A JP 2021125801A JP 2020018232 A JP2020018232 A JP 2020018232A JP 2020018232 A JP2020018232 A JP 2020018232A JP 2021125801 A JP2021125801 A JP 2021125801A
Authority
JP
Japan
Prior art keywords
image
image format
block
coding
format
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2020018232A
Other languages
Japanese (ja)
Inventor
章弘 屋森
Akihiro Yamori
章弘 屋森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2020018232A priority Critical patent/JP2021125801A/en
Publication of JP2021125801A publication Critical patent/JP2021125801A/en
Pending legal-status Critical Current

Links

Images

Abstract

To suppress a code amount to be generated, in encoding processing in which an image format is selectable for each block in an image.SOLUTION: On the basis of an intra-prediction mode to be applied to an encoding-object block in an image, a selection unit selects a third image format to be applied to encoding processing of the encoding-object block, out of a first image format and a second image format. The second image format has an amount of information smaller than an amount of information of the first image format. An encoding unit encodes the encoding-object block, by intra-prediction encoding using the third image format.SELECTED DRAWING: Figure 4

Description

本発明は、画像符号化装置、画像復号装置、及び画像処理システムに関する。 The present invention relates to an image coding device, an image decoding device, and an image processing system.

情報漏えいの抑制又はセキュリティの向上のため、クラウド上のサーバ又は仮想マシンを使用する仮想デスクトップが普及してきている。仮想デスクトップでは、クライアント端末からサーバを遠隔操作するために、リモートデスクトップシステムが使用されている。 Virtual desktops that use servers or virtual machines on the cloud have become widespread in order to control information leaks or improve security. In the virtual desktop, a remote desktop system is used to remotely control the server from the client terminal.

図1は、リモートデスクトップシステムの例を示している。図1のリモートデスクトップシステムは、クライアント端末101及びサーバ102を含み、クライアント端末101とサーバ102は、通信ネットワーク103を介して通信する。サーバ102はクラウド等の遠隔環境に設けられ、サーバ102内ではOS(Operating System)及びアプリケーションプログラムが動作する。 FIG. 1 shows an example of a remote desktop system. The remote desktop system of FIG. 1 includes a client terminal 101 and a server 102, and the client terminal 101 and the server 102 communicate with each other via a communication network 103. The server 102 is provided in a remote environment such as a cloud, and an OS (Operating System) and an application program operate in the server 102.

サーバ102は、デスクトップ画像をクライアント端末101へ送信し、クライアント端末101は、受信したデスクトップ画像を画面上に表示する。ユーザがキーボード又はマウスを用いて操作を行うと、クライアント端末101は、ユーザが行った操作の操作情報をサーバ102へ送信する。サーバ102は、受信した操作情報に応じてデスクトップ画像を変更し、変更後のデスクトップ画像をクライアント端末101へ送信する。 The server 102 transmits the desktop image to the client terminal 101, and the client terminal 101 displays the received desktop image on the screen. When the user performs an operation using the keyboard or the mouse, the client terminal 101 transmits the operation information of the operation performed by the user to the server 102. The server 102 changes the desktop image according to the received operation information, and transmits the changed desktop image to the client terminal 101.

リモートデスクトップシステムに関連して、シンクライアントの汎用性を維持しつつ、操作レスポンスを向上させることができる情報処理装置が知られている(例えば、特許文献1を参照)。色差フォーマットに応じた輝度信号と色差信号のイントラ予測により画像信号を効率良く復号することのできる画像復号装置も知られている(例えば、特許文献2を参照)。映像符号化に関連して、HEVC(High Efficiency Video Coding)も知られている(例えば、非特許文献1を参照)。 In relation to the remote desktop system, an information processing device capable of improving the operation response while maintaining the versatility of the thin client is known (see, for example, Patent Document 1). An image decoding device capable of efficiently decoding an image signal by intra-predicting a luminance signal and a color difference signal according to a color difference format is also known (see, for example, Patent Document 2). HEVC (High Efficiency Video Coding) is also known in relation to video coding (see, for example, Non-Patent Document 1).

特開2012−15868号公報Japanese Unexamined Patent Publication No. 2012-15868 特開2016−154353号公報Japanese Unexamined Patent Publication No. 2016-154353

ITU-T H.265 (11/2019), “High efficiency video coding”, Recommendation ITU-T H.265, ISO/IEC 23008-2ITU-T H.265 (11/2019), “High efficiency video coding”, Recommendation ITU-T H.265, ISO / IEC 23008-2

仮想デスクトップでは、ユーザが画面操作を行うことが多い。サーバから転送されるデスクトップ画像には、CAD(Computer-Aided Design)等の高精細映像からインターネット動画等に至るまで、様々な映像が含まれる。この場合、映像の違いに応じて、適切な符号化処理を行うことが望ましい。 In virtual desktops, users often operate the screen. The desktop image transferred from the server includes various images from high-definition images such as CAD (Computer-Aided Design) to Internet moving images and the like. In this case, it is desirable to perform appropriate coding processing according to the difference in the video.

しかしながら、デスクトップ画像を複数のブロックに分割し、ブロック毎に画像フォーマットを切り替えて符号化処理を行う場合、各ブロックの画像フォーマットを示す識別情報の符号量が増大する。 However, when the desktop image is divided into a plurality of blocks and the image format is switched for each block to perform the coding process, the code amount of the identification information indicating the image format of each block increases.

なお、かかる問題は、リモートデスクトップシステムにおけるデスクトップ画像の符号化処理に限らず、様々な画像の符号化処理において生ずるものである。 It should be noted that such a problem occurs not only in the desktop image coding process in the remote desktop system but also in various image coding processes.

1つの側面において、本発明は、画像内のブロック毎に画像フォーマットを選択可能な符号化処理において、発生する符号量を抑制することを目的とする。 In one aspect, it is an object of the present invention to suppress the amount of code generated in the coding process in which the image format can be selected for each block in the image.

1つの案では、画像符号化装置は、選択部及び符号化部を含む。選択部は、画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマット及び第2画像フォーマットから、符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する。第2画像フォーマットは、第1画像フォーマットの情報量よりも少ない情報量を有する。符号化部は、第3画像フォーマットを用いたイントラ予測符号化により、符号化対象ブロックを符号化する。 In one proposal, the image coding apparatus includes a selection unit and a coding unit. The selection unit selects the third image format applied to the coding process of the coded target block from the first image format and the second image format based on the intra prediction mode applied to the coded target block in the image. select. The second image format has a smaller amount of information than the amount of information of the first image format. The coding unit encodes the coded block by intra-predictive coding using the third image format.

1つの側面によれば、画像内のブロック毎に画像フォーマットを選択可能な符号化処理において、発生する符号量を抑制することができる。 According to one aspect, it is possible to suppress the amount of code generated in the coding process in which the image format can be selected for each block in the image.

リモートデスクトップシステムを示す図である。It is a figure which shows the remote desktop system. YUV4:4:4及びYUV4:2:0を示す図である。It is a figure which shows YUV4: 4: 4 and YUV4: 2: 0. デスクトップ画像を示す図である。It is a figure which shows the desktop image. 画像符号化装置の機能的構成図である。It is a functional block diagram of an image coding apparatus. 画像復号装置の機能的構成図である。It is a functional block diagram of an image decoding apparatus. 画像処理システムの機能的構成図である。It is a functional block diagram of an image processing system. 隣接ブロック内の隣接画素を示す図である。It is a figure which shows the adjacent pixel in the adjacent block. 映像符号化処理のフローチャート(その1)である。It is a flowchart (No. 1) of a video coding process. 映像符号化処理のフローチャート(その2)である。It is a flowchart (2) of a video coding process. 映像復号処理のフローチャート(その1)である。It is a flowchart (1) of a video decoding process. 映像復号処理のフローチャート(その2)である。It is a flowchart (2) of a video decoding process. 情報処理装置のハードウェア構成図である。It is a hardware block diagram of an information processing apparatus.

以下、図面を参照しながら、実施形態を詳細に説明する。 Hereinafter, embodiments will be described in detail with reference to the drawings.

特許文献1のサーバ装置は、画面を複数の領域に分割し、領域毎に変更の頻度を監視する。そして、サーバ装置は、変更の頻度が閾値を超える高頻度変更領域のデータを、動画向けの圧縮方式のデータに圧縮して、高頻度変更領域を特定する属性情報とともに、クライアント端末へ送信する。また、サーバ装置は、高頻度変更領域以外の領域については、更新矩形の画像を生成して、更新矩形を特定する属性情報とともに、クライアント端末へ送信する。 The server device of Patent Document 1 divides the screen into a plurality of areas and monitors the frequency of change for each area. Then, the server device compresses the data of the high-frequency change area whose change frequency exceeds the threshold value into the data of the compression method for moving images, and transmits the data together with the attribute information for specifying the high-frequency change area to the client terminal. Further, the server device generates an image of the update rectangle for the area other than the frequently changed area, and transmits the image to the client terminal together with the attribute information for specifying the update rectangle.

クライアント端末は、高頻度変更領域については、受信した動画向けの圧縮方式のデータを復号して、受信した属性情報により特定される領域に表示する。また、クライアント端末は、高頻度変更領域以外の領域については、受信した更新矩形の画像を、受信した属性情報により特定される領域に表示する。 The client terminal decodes the received compression method data for the moving image and displays the frequently changed area in the area specified by the received attribute information. Further, the client terminal displays the received update rectangular image in the area specified by the received attribute information in the area other than the frequently changed area.

特許文献1のサーバ装置によれば、クライアント端末へ送信される画像のうち、操作レスポンスを悪化させる画像に重点を置いてデータ量を低減しつつ、圧縮処理及び復号処理の負荷を最小限にできる。したがって、シンクライアントの汎用性を維持しつつ、操作レスポンスを向上させることが可能になる。 According to the server device of Patent Document 1, among the images transmitted to the client terminal, the load of the compression process and the decoding process can be minimized while focusing on the image that deteriorates the operation response and reducing the amount of data. .. Therefore, it is possible to improve the operation response while maintaining the versatility of the thin client.

ところで、特許文献1の技術を応用して、デスクトップ画像を高頻度変更領域と低頻度変更領域とに分割し、高頻度変更領域に動画像符号化を適用し、低頻度変更領域に静止画符号化を適用することも可能である。高頻度変更領域は、例えば、動画領域のように、変更の頻度が閾値を超える領域である。低頻度変更領域は、例えば、静止画領域のように、変更の頻度が閾値以下の領域である。 By the way, by applying the technique of Patent Document 1, the desktop image is divided into a high-frequency change area and a low-frequency change area, moving image coding is applied to the high-frequency change area, and a still image code is applied to the low-frequency change area. It is also possible to apply the conversion. The high frequency change area is an area where the frequency of change exceeds the threshold value, for example, a moving image area. The low-frequency change area is an area where the change frequency is equal to or less than the threshold value, such as a still image area.

高頻度変更領域では、低頻度変更領域と比較して、画質劣化が認識されにくいので、サーバ装置は、画像の圧縮信号を符号化する。一方、低頻度変更領域では、高頻度変更領域と比較して、画質劣化が認識されやすいので、画像の非圧縮信号を符号化する。これにより、高頻度変更領域の符号量を削減するとともに、低頻度変更領域の画質を維持することができる。 In the high frequency change area, the image quality deterioration is less likely to be recognized as compared with the low frequency change area, so that the server device encodes the compressed signal of the image. On the other hand, in the low-frequency change region, the image quality deterioration is more likely to be recognized as compared with the high-frequency change region, so the uncompressed signal of the image is encoded. As a result, it is possible to reduce the amount of code in the high frequency change area and maintain the image quality in the low frequency change area.

動画像符号化では、映像に含まれる複数の時刻の画像各々が複数のブロックに分割され、ブロック単位で符号化処理が行われる。符号化対象ブロックとしては、通常、YUV色空間のブロックが用いられる。YUV色空間の成分Yは、輝度信号を表し、成分U及び成分Vは、色差信号を表す。 In the moving image coding, each of the images at a plurality of times included in the video is divided into a plurality of blocks, and the coding process is performed in block units. As the coding target block, a block in the YUV color space is usually used. The component Y in the YUV color space represents a luminance signal, and the component U and the component V represent a color difference signal.

画像の非圧縮信号としては、例えば、YUV4:4:4の画像フォーマットの信号を用いることができ、画像の圧縮信号としては、例えば、YUV4:2:0の画像フォーマットの信号用いることができる。低頻度変更領域のブロックをYUV4:4:4で符号化し、高頻度変更領域のブロックをYUV4:2:0で符号化することで、デスクトップ画像全体をYUV4:4:4で符号化する場合と比較して、主観的画質の低下を抑制しつつ、ネットワーク帯域を削減することが可能になる。 As the uncompressed signal of the image, for example, a signal of the image format of YUV4: 4: 4 can be used, and as the compressed signal of the image, for example, a signal of the image format of YUV4: 2: 0 can be used. By encoding the blocks in the low frequency change area with YUV 4: 4: 4 and the blocks in the high frequency change area with YUV 4: 2: 0, the entire desktop image is encoded with YUV 4: 4: 4. In comparison, it is possible to reduce the network bandwidth while suppressing the deterioration of the subjective image quality.

図2は、YUV4:4:4及びYUV4:2:0の例を示している。YUV4:4:4は、成分Y、成分U、及び成分Vの各成分のブロックが均等のサイズを有する画像フォーマットである。一方、YUV4:2:0は、成分U及び成分Vのブロックの水平方向及び垂直方向のサイズが、成分Yのブロックの1/2のサイズを有する画像フォーマットである。動画像符号化では、色差信号の劣化が認知されにくい、という人間の視覚特性を生かして、YUV4:2:0のブロックが用いられることがある。 FIG. 2 shows an example of YUV 4: 4: 4 and YUV 4: 2: 0. YUV4: 4: 4 is an image format in which blocks of each component of component Y, component U, and component V have an equal size. On the other hand, YUV4: 2: 0 is an image format in which the horizontal and vertical sizes of the blocks of the component U and the component V are half the size of the blocks of the component Y. In video coding, a YUV 4: 2: 0 block may be used by taking advantage of the human visual characteristic that deterioration of a color difference signal is difficult to be recognized.

以下では、YUV4:4:4を用いた符号化をYUV4:4:4符号化と記載し、YUV4:2:0を用いた符号化をYUV4:2:0符号化と記載することがある。 In the following, the coding using YUV4: 4: 4 may be described as YUV4: 4: 4 coding, and the coding using YUV4: 2: 0 may be described as YUV4: 2: 0 coding.

図3は、図1のリモートデスクトップシステムにおいて、クライアント端末101の画面上に表示されるデスクトップ画像の例を示している。図3のデスクトップ画像は、例えば、映像編集アプリケーションプログラムの操作画面を表し、静止画領域301、動画領域302、及び動画領域303を含む。静止画領域301には、テキスト等が表示され、動画領域302及び動画領域303には、編集対象の映像が表示される。この場合、静止画領域301に対しては、YUV4:4:4符号化が適用され、動画領域302及び動画領域303に対しては、YUV4:2:0符号化が適用される。 FIG. 3 shows an example of a desktop image displayed on the screen of the client terminal 101 in the remote desktop system of FIG. The desktop image of FIG. 3 represents, for example, an operation screen of a video editing application program, and includes a still image area 301, a moving image area 302, and a moving image area 303. Text and the like are displayed in the still image area 301, and the video to be edited is displayed in the moving image area 302 and the moving image area 303. In this case, YUV4: 4: 4 coding is applied to the still image area 301, and YUV4: 2: 0 coding is applied to the moving image area 302 and the moving image area 303.

YUV4:4:4符号化は、YUV4:2:0符号化と比較して、符号化後の画質は良くなるものの発生符号量が増大する。したがって、符号化対象の領域に応じてYUV4:4:4符号化とYUV4:2:0符号化とを適応的に切り替えることは、主観的画質と発生符号量の双方の観点から見て好ましいと言える。 Compared with YUV4: 2: 0 coding, YUV4: 4: 4 coding improves the image quality after coding, but increases the amount of generated code. Therefore, it is preferable to adaptively switch between YUV 4: 4: 4 coding and YUV 4: 2: 0 coding according to the region to be coded from the viewpoint of both subjective image quality and generated code amount. I can say.

しかしながら、YUV4:4:4符号化又はYUV4:2:0符号化のうち、いずれの符号化が適用されるかを示すフラグを、ブロックのような小領域毎に付加する場合、符号化されたデスクトップ画像のビットストリームに含まれるフラグの符号量が増大する。 However, when a flag indicating which coding of YUV4: 4: 4 coding or YUV4: 2: 0 coding is applied is added for each small area such as a block, it is coded. The amount of code of the flag included in the bitstream of the desktop image increases.

図4は、実施形態の画像符号化装置の機能的構成例を示している。図4の画像符号化装置401は、選択部411及び符号化部412を含む。 FIG. 4 shows an example of a functional configuration of the image coding apparatus of the embodiment. The image coding device 401 of FIG. 4 includes a selection unit 411 and a coding unit 412.

選択部411は、画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマット及び第2画像フォーマットから、符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する。第2画像フォーマットは、第1画像フォーマットの情報量よりも少ない情報量を有する。符号化部412は、第3画像フォーマットを用いたイントラ予測符号化により、符号化対象ブロックを符号化する。 The selection unit 411 has a third image format applied to the coding process of the coded target block from the first image format and the second image format based on the intra prediction mode applied to the coded target block in the image. Select. The second image format has a smaller amount of information than the amount of information of the first image format. The coding unit 412 encodes the coded block by intra-predictive coding using the third image format.

図4の画像符号化装置401によれば、画像内のブロック毎に画像フォーマットを選択可能な符号化処理において、発生する符号量を抑制することができる。 According to the image coding device 401 of FIG. 4, it is possible to suppress the amount of code generated in the coding process in which the image format can be selected for each block in the image.

図5は、実施形態の画像復号装置の機能的構成例を示している。図5の画像復号装置501は、選択部511及び復号部512を含む。 FIG. 5 shows an example of a functional configuration of the image decoding device of the embodiment. The image decoding device 501 of FIG. 5 includes a selection unit 511 and a decoding unit 512.

選択部511は、画像内の復号対象ブロックのイントラ予測モードに基づいて、第1画像フォーマット及び第2画像フォーマットから、復号対象ブロックの復号処理に適用される第3画像フォーマットを選択する。第2画像フォーマットは、第1画像フォーマットの情報量よりも少ない情報量を有する。復号部512は、第3画像フォーマットを用いたイントラ予測復号により、復号対象ブロックの符号情報を復号する。 The selection unit 511 selects a third image format applied to the decoding process of the decoding target block from the first image format and the second image format based on the intra prediction mode of the decoding target block in the image. The second image format has a smaller amount of information than the amount of information of the first image format. The decoding unit 512 decodes the code information of the decoding target block by intra-predictive decoding using the third image format.

図5の画像復号装置501によれば、画像内のブロック毎に画像フォーマットを選択可能な符号化処理において、発生する符号量を抑制することができる。 According to the image decoding device 501 of FIG. 5, it is possible to suppress the amount of code generated in the coding process in which the image format can be selected for each block in the image.

図6は、図4の画像符号化装置401及び図5の画像復号装置501を含む画像処理システムの機能的構成例を示している。図6の画像処理システムは、例えば、リモートデスクトップシステムであり、クライアント端末601及びサーバ602を含む。クライアント端末601は、図5の画像復号装置501に対応し、サーバ602は、図4の画像符号化装置401に対応する。 FIG. 6 shows a functional configuration example of an image processing system including the image coding device 401 of FIG. 4 and the image decoding device 501 of FIG. The image processing system of FIG. 6 is, for example, a remote desktop system and includes a client terminal 601 and a server 602. The client terminal 601 corresponds to the image decoding device 501 of FIG. 5, and the server 602 corresponds to the image coding device 401 of FIG.

クライアント端末601とサーバ602は、通信ネットワーク603を介して通信する。通信ネットワーク603は、例えば、WAN(Wide Area Network)又はLAN(Local Area Network)である。クライアント端末601は、例えば、パーソナルコンピュータ又は携帯端末装置である。携帯端末装置としては、例えば、スマートフォン、タブレット、又はノート型パーソナルコンピュータが用いられる。 The client terminal 601 and the server 602 communicate with each other via the communication network 603. The communication network 603 is, for example, a WAN (Wide Area Network) or a LAN (Local Area Network). The client terminal 601 is, for example, a personal computer or a mobile terminal device. As the mobile terminal device, for example, a smartphone, a tablet, or a notebook personal computer is used.

クライアント端末601は、入力部611、選択部612、復号部613、フレームメモリ614、表示部615、及び通信部616を含む。選択部612及び復号部613は、図5の選択部511及び復号部512にそれぞれ対応する。選択部612は、第2選択部の一例である。 The client terminal 601 includes an input unit 611, a selection unit 612, a decoding unit 613, a frame memory 614, a display unit 615, and a communication unit 616. The selection unit 612 and the decoding unit 613 correspond to the selection unit 511 and the decoding unit 512 of FIG. 5, respectively. The selection unit 612 is an example of the second selection unit.

サーバ602は、映像生成部621、選択部622、符号化部623、フレームメモリ624、及び通信部625を含む。選択部622及び符号化部623は、図4の選択部411及び符号化部412にそれぞれ対応する。選択部622は、第1選択部の一例である。 The server 602 includes a video generation unit 621, a selection unit 622, an encoding unit 623, a frame memory 624, and a communication unit 625. The selection unit 622 and the coding unit 623 correspond to the selection unit 411 and the coding unit 412 of FIG. 4, respectively. The selection unit 622 is an example of the first selection unit.

クライアント端末601の入力部611は、ユーザから操作入力を受け付け、通信部616は、受け付けられた操作入力の操作情報をサーバ602へ送信する。 The input unit 611 of the client terminal 601 receives an operation input from the user, and the communication unit 616 transmits the operation information of the received operation input to the server 602.

サーバ602の通信部625は、クライアント端末601から操作情報を受信する。映像生成部621は、受信した操作情報に応じて、クライアント端末601の画面上に表示される映像を生成し、生成された映像を符号化部623へ出力する。映像は、時系列の複数の画像を含む。各画像は、符号化対象画像に対応し、ピクチャ又はフレームと呼ばれることもある。 The communication unit 625 of the server 602 receives the operation information from the client terminal 601. The video generation unit 621 generates a video to be displayed on the screen of the client terminal 601 according to the received operation information, and outputs the generated video to the coding unit 623. The video includes a plurality of images in time series. Each image corresponds to an image to be encoded and is sometimes called a picture or a frame.

符号化部623は、映像に含まれる各画像を複数のブロックに分割し、ブロック単位で符号化処理を行う。各ブロックは、符号化対象ブロックに対応し、インター予測符号化又はイントラ予測符号化によって符号化される。インター予測符号化は、符号化対象画像を符号化済み画像の情報を用いて符号化する符号化方式であり、イントラ予測符号化は、符号化対象画像が持つ情報のみを用いて符号化対象画像を符号化する符号化方式である。ブロックとしては、例えば、CU(Coding Unit)を用いることができる。 The coding unit 623 divides each image included in the video into a plurality of blocks, and performs coding processing in block units. Each block corresponds to a block to be coded and is coded by inter-predictive coding or intra-predictive coding. Inter-predictive coding is a coding method that encodes a coded image using the information of the coded image, and intra-predictive coding is a coded image that uses only the information that the coded image has. It is a coding method that encodes. As the block, for example, a CU (Coding Unit) can be used.

イントラ予測符号化の詳細については、例えば、非特許文献1の8.4章等に記載されている。イントラ予測自体は、HEVCの1つ前の標準化であるMPEG−AVC(Moving Picture Experts Group-Advanced Video Coding)/H.264から採用されている。 Details of intra-predictive coding are described in, for example, Chapter 8.4 of Non-Patent Document 1. Intra-prediction itself is MPEG-AVC (Moving Picture Experts Group-Advanced Video Coding) / H.A. It has been adopted since 264.

符号化部623は、符号化済み画像から参照画像を生成して、フレームメモリ624に格納し、参照画像を用いてインター予測符号化を行う。また、符号化部623は、符号化対象画像内の符号化済みブロックから参照画素を生成して、フレームメモリ624に格納し、参照画素を用いてイントラ予測符号化を行う。符号化部623は、符号化済み画像又は符号化済みブロックの符号情報に対して局所復号処理を行うことで、参照画像又は参照画素を生成する。 The coding unit 623 generates a reference image from the coded image, stores it in the frame memory 624, and performs inter-predictive coding using the reference image. Further, the coding unit 623 generates reference pixels from the coded blocks in the coded target image, stores them in the frame memory 624, and performs intra-predictive coding using the reference pixels. The coding unit 623 generates a reference image or a reference pixel by performing a local decoding process on the code information of the coded image or the coded block.

符号化部623は、各ブロックに適用される予測モードを決定し、決定された予測モードに基づいてブロックを符号化する。このとき、選択部622は、決定された予測モードに応じて、画像フォーマットF1及び画像フォーマットF2から、ブロックの符号化処理に適用される画像フォーマットを選択する。 The coding unit 623 determines the prediction mode applied to each block and encodes the blocks based on the determined prediction mode. At this time, the selection unit 622 selects an image format to be applied to the block coding process from the image format F1 and the image format F2 according to the determined prediction mode.

画像フォーマットF1及び画像フォーマットF2は、第1画像フォーマット及び第2画像フォーマットにそれぞれ対応する。画像フォーマットF2の画素数は、画像フォーマットF1の画素数よりも少ない。したがって、画像フォーマットF1は、高解像度の画像フォーマットであり、画像フォーマットF2は、画像フォーマットF1よりも解像度が低い低解像度の画像フォーマットである。YUV4:4:4は、画像フォーマットF1の一例であり、YUV4:2:0は、画像フォーマットF2の一例である。 The image format F1 and the image format F2 correspond to the first image format and the second image format, respectively. The number of pixels of the image format F2 is smaller than the number of pixels of the image format F1. Therefore, the image format F1 is a high-resolution image format, and the image format F2 is a low-resolution image format having a lower resolution than the image format F1. YUV4: 4: 4 is an example of the image format F1, and YUV4: 2: 0 is an example of the image format F2.

例えば、符号化対象画像の画像フォーマットが画像フォーマットF1である場合、符号化部623は、符号化対象ブロックの画像をダウンサンプリングにより圧縮することで、画像フォーマットF2のブロックを生成することができる。 For example, when the image format of the image to be encoded is the image format F1, the coding unit 623 can generate a block of the image format F2 by compressing the image of the block to be encoded by downsampling.

決定された予測モードがイントラ予測モードである場合、選択部622は、決定されたイントラ予測モードに基づいて、画像フォーマットF1又は画像フォーマットF2を選択する。そして、符号化部623は、選択された画像フォーマットを用いたイントラ予測符号化により、ブロックを符号化する。 When the determined prediction mode is the intra prediction mode, the selection unit 622 selects the image format F1 or the image format F2 based on the determined intra prediction mode. Then, the coding unit 623 encodes the block by intra-predictive coding using the selected image format.

一方、決定された予測モードがインター予測モードである場合、選択部622は、画像フォーマットF2を選択し、符号化部623は、画像フォーマットF2を用いたインター予測符号化により、ブロックを符号化する。インター予測モードが適用されるブロックに対して画像フォーマットF2を選択することで、インター予測符号化により符号化されるブロックの符号量を削減することができる。 On the other hand, when the determined prediction mode is the inter-prediction mode, the selection unit 622 selects the image format F2, and the coding unit 623 encodes the block by inter-prediction coding using the image format F2. .. By selecting the image format F2 for the block to which the inter-prediction mode is applied, the amount of code of the block encoded by the inter-prediction coding can be reduced.

強いエッジを含む画像は、弱いエッジのみを含む画像と比較して、圧縮による画質劣化が認識されやすい。そこで、ブロック内に強いエッジが存在する場合には、画像フォーマットF1を適用することで主観的画質の低下を抑制し、ブロック内に強いエッジが存在しない場合には、画像フォーマットF2を適用することで発生符号量の増加を抑制することが望ましい。 An image containing only strong edges is more likely to recognize image quality deterioration due to compression than an image containing only weak edges. Therefore, when a strong edge exists in the block, the image format F1 is applied to suppress the deterioration of the subjective image quality, and when the strong edge does not exist in the block, the image format F2 is applied. It is desirable to suppress the increase in the amount of generated code.

イントラ予測モードは、Planar予測、DC(Direct Current)予測、又は角度予測のいずれかを表している。このうち、Planar予測及びDC予測は、角度予測以外のイントラ予測に対応する。 The intra prediction mode represents either Planar prediction, DC (Direct Current) prediction, or angle prediction. Of these, Planar prediction and DC prediction correspond to intra prediction other than angle prediction.

イントラ予測モードがPlanar予測又はDC予測を表す場合、符号化対象ブロック内に強いエッジが存在しないと考えられるため、選択部622は、画像フォーマットF2を選択する。一方、イントラ予測モードが角度予測を表す場合、符号化対象ブロック内に強いエッジが存在する可能性があるため、選択部622は、画像フォーマットF1を選択する。 When the intra prediction mode represents Planar prediction or DC prediction, it is considered that there is no strong edge in the coded block, so the selection unit 622 selects the image format F2. On the other hand, when the intra prediction mode represents angle prediction, there is a possibility that a strong edge exists in the coded target block, so the selection unit 622 selects the image format F1.

イントラ予測モードがPlanar予測、DC予測、又は角度予測のいずれを表すかに応じて画像フォーマットを選択することで、決定されたイントラ予測モードを参照するだけで、容易に画像フォーマットを決定することができる。 By selecting the image format according to whether the intra prediction mode represents Planar prediction, DC prediction, or angle prediction, it is possible to easily determine the image format simply by referring to the determined intra prediction mode. can.

ところで、イントラ予測モードが角度予測を表す場合、選択部622は、符号化対象ブロックに隣接する隣接ブロック内の画素の画素値に基づいて、画像フォーマットF1又は画像フォーマットF2のいずれかを選択することも可能である。隣接ブロック内の画素の画素値に基づいて画像フォーマットを選択することで、符号化済みブロックの参照画素の画素値を、画像フォーマットの選択基準として利用することができる。 By the way, when the intra prediction mode represents the angle prediction, the selection unit 622 selects either the image format F1 or the image format F2 based on the pixel values of the pixels in the adjacent block adjacent to the coded target block. Is also possible. By selecting the image format based on the pixel values of the pixels in the adjacent block, the pixel values of the reference pixels of the encoded block can be used as the selection criteria of the image format.

例えば、選択部622は、隣接ブロック内で符号化対象ブロックに隣接している隣接画素の画素値を用いて、エッジ強度を計算する。隣接画素のエッジ強度が閾値よりも大きい場合、符号化対象ブロック内にも同様の強いエッジが存在すると推定できる。 For example, the selection unit 622 calculates the edge strength using the pixel values of the adjacent pixels adjacent to the coded target block in the adjacent block. When the edge strength of the adjacent pixel is larger than the threshold value, it can be estimated that a similar strong edge exists in the coded block.

図7は、隣接ブロック内の隣接画素の例を示している。符号化対象ブロック701の左側には左隣接ブロック702が隣接しており、符号化対象ブロック701の上側には上隣接ブロック703が隣接している。左隣接ブロック702内の左隣接画素712は、符号化対象ブロック701の左側に隣接しており、上隣接ブロック703内の上隣接画素713は、符号化対象ブロック701の上側に隣接している。 FIG. 7 shows an example of adjacent pixels in an adjacent block. The left adjacent block 702 is adjacent to the left side of the coding target block 701, and the upper adjacent block 703 is adjacent to the upper side of the coding target block 701. The left adjacent pixel 712 in the left adjacent block 702 is adjacent to the left side of the coding target block 701, and the upper adjacent pixel 713 in the upper adjacent block 703 is adjacent to the upper side of the coding target block 701.

例えば、符号化対象ブロック701のサイズがN×Nである場合、イントラ予測では、左隣接ブロック702とその上下のブロック(左上ブロック及び左下ブロック)内の2N+1個の画素が、左隣接の参照画素として用いられる。また、上隣接ブロック703とその左右のブロック(左上ブロック及び右上ブロック)内の2N+1個の画素が、上隣接の参照画素として用いられる。このとき、左下ブロックのように、ラスタースキャン順で未処理のブロック位置に関しては、符号化済みブロックの端の画素がコピーされて利用される。 For example, when the size of the coded block 701 is N × N, in the intra prediction, 2N + 1 pixels in the left adjacent block 702 and the blocks above and below it (upper left block and lower left block) are reference pixels adjacent to the left. Used as. Further, 2N + 1 pixels in the upper adjacent block 703 and its left and right blocks (upper left block and upper right block) are used as upper adjacent reference pixels. At this time, as in the lower left block, the pixels at the end of the coded block are copied and used for the unprocessed block positions in the raster scan order.

図7に示すように、水平方向の座標をx座標とし、垂直方向の座標をy座標とし、符号化対象ブロック701の左上画素711の座標を(x,y)=(0,0)とする。この場合、イントラ予測では、左隣接画素712及び上隣接画素713のみではなく、左上ブロック内の座標(−1,−1)の画素と、右上ブロック内の座標(N+1,−1)〜座標(2N,−1)の画素も、参照画素として用いることが可能である。しかし、エッジ強度を計算するためには、左隣接画素712及び上隣接画素713を用いるだけでも十分である。 As shown in FIG. 7, the coordinates in the horizontal direction are x-coordinates, the coordinates in the vertical direction are y-coordinates, and the coordinates of the upper left pixel 711 of the coded block 701 are (x, y) = (0,0). .. In this case, in the intra prediction, not only the left adjacent pixel 712 and the upper adjacent pixel 713, but also the pixels of the coordinates (-1, -1) in the upper left block and the coordinates (N + 1, -1) to the coordinates (N + 1, -1) in the upper right block ( The pixels of 2N, -1) can also be used as reference pixels. However, in order to calculate the edge strength, it is sufficient to use the left adjacent pixel 712 and the upper adjacent pixel 713.

イントラ予測モードが角度予測を表す場合、イントラ予測モードのモード番号により、イントラ予測において左隣接画素712又は上隣接画素713のいずれが参照されるかが判明する。左隣接画素712が参照される場合、選択部622は、フレームメモリ624に参照画素として格納されている左隣接画素712の画素値を用いて、エッジ強度を計算する。また、上隣接画素713が参照される場合、選択部622は、フレームメモリ624に参照画素として格納されている上隣接画素713の画素値を用いて、エッジ強度を計算する。 When the intra prediction mode represents the angle prediction, the mode number of the intra prediction mode determines which of the left adjacent pixel 712 and the upper adjacent pixel 713 is referred to in the intra prediction. When the left adjacent pixel 712 is referred to, the selection unit 622 calculates the edge strength using the pixel value of the left adjacent pixel 712 stored as the reference pixel in the frame memory 624. When the upper adjacent pixel 713 is referred to, the selection unit 622 calculates the edge strength using the pixel value of the upper adjacent pixel 713 stored as the reference pixel in the frame memory 624.

エッジ強度が閾値よりも大きい場合、選択部622は、符号化対象ブロック701内に強いエッジが存在すると推定し、画像フォーマットF1を選択する。一方、エッジ強度が閾値よりも小さい場合、選択部622は、符号化対象ブロック701内に強いエッジが存在しないと推定し、画像フォーマットF2を選択する。 When the edge strength is larger than the threshold value, the selection unit 622 estimates that a strong edge exists in the coded block 701 and selects the image format F1. On the other hand, when the edge strength is smaller than the threshold value, the selection unit 622 estimates that there is no strong edge in the coded block 701 and selects the image format F2.

このように、隣接画素の画素値を用いて計算されたエッジ強度を閾値と比較することで、符号化済みブロックの参照画素の画素値から、符号化対象ブロック内の強いエッジの有無を推定することができる。したがって、画像フォーマットF1又は画像フォーマットF2のうち、符号化対象ブロックに適した画像フォーマットを選択することが可能になる。 In this way, by comparing the edge strength calculated using the pixel values of adjacent pixels with the threshold value, the presence or absence of strong edges in the coded block is estimated from the pixel values of the reference pixels of the coded block. be able to. Therefore, it becomes possible to select an image format suitable for the coded block from the image format F1 or the image format F2.

画像のエッジは、成分Y、成分U、及び成分Vのうち成分Yに最も顕著に現れるので、成分Yの画素値を用いてエッジ強度を計算することが有効である。この場合、選択部622は、y座標が示す左隣接画素712のエッジ強度EL(y)を、座標(x,y)における成分Yの画素値Y(x,y)を用いて、次式により計算することができる。 Since the edge of the image appears most prominently in the component Y among the component Y, the component U, and the component V, it is effective to calculate the edge intensity using the pixel value of the component Y. In this case, the selection unit 622 uses the edge strength EL (y) of the left adjacent pixel 712 indicated by the y coordinate as the pixel value Y (x, y) of the component Y in the coordinate (x, y) according to the following equation. Can be calculated.

EL(y)=|Y(−1,y−1)−Y(−1,y)|
+|Y(−1,y)−Y(−1,y+1)| (1)
EL (y) = | Y (-1, y-1) -Y (-1, y) |
+ | Y (-1, y) -Y (-1, y + 1) | (1)

EL(y)は、垂直方向に隣接する2つの左隣接画素712の画素値の差分に基づいて計算される。符号化対象ブロック701内に強いエッジが存在するか否かを推定する目的でEL(y)を計算する場合、左隣接画素712の画素値を用いるだけで十分であり、左隣接ブロック702内の他の画素を必ずしも用いる必要はない。EL(y)は、符号化対象ブロック701の高さに対応するすべてのyの値に対して計算される。 EL (y) is calculated based on the difference between the pixel values of two vertically adjacent left adjacent pixels 712. When calculating EL (y) for the purpose of estimating whether or not a strong edge exists in the coded block 701, it is sufficient to use the pixel value of the left adjacent pixel 712, and it is sufficient to use the pixel value in the left adjacent block 702. It is not always necessary to use other pixels. EL (y) is calculated for all y values corresponding to the height of the coded block 701.

選択部622は、いずれかのEL(y)が閾値THL以上である場合、画像フォーマットF1を選択し、すべてのEL(y)が閾値THLよりも小さい場合、画像フォーマットF2を選択する。選択部622は、EL(y)を閾値THLと比較する代わりに、すべてのEL(y)の統計値を閾値THLと比較してもよい。統計値としては、平均値、中央値、最頻値、最大値等が用いられる。 The selection unit 622 selects the image format F1 when any of the ELs (y) is equal to or greater than the threshold value THL, and selects the image format F2 when all the ELs (y) are smaller than the threshold value THL. The selection unit 622 may compare the statistical values of all EL (y) with the threshold THL instead of comparing the EL (y) with the threshold THL. As the statistical value, the average value, the median value, the mode value, the maximum value and the like are used.

同様にして、選択部622は、x座標が示す上隣接画素713のエッジ強度EU(x)を、次式により計算することができる。 Similarly, the selection unit 622 can calculate the edge strength EU (x) of the upper adjacent pixel 713 indicated by the x coordinate by the following equation.

EU(x)=|Y(x−1,−1)−Y(x,−1)|
+|Y(x,−1)−Y(x+1,−1)| (2)
EU (x) = | Y (x-1, -1) -Y (x, -1) |
+ | Y (x, -1) -Y (x + 1, -1) | (2)

EU(x)は、水平方向に隣接する2つの上隣接画素713の画素値の差分に基づいて計算される。符号化対象ブロック701内に強いエッジが存在するか否かを推定する目的でEU(x)を計算する場合、上隣接画素713の画素値を用いるだけで十分であり、上隣接ブロック703内の他の画素を必ずしも用いる必要はない。EU(x)は、符号化対象ブロック701の幅に対応するすべてのxの値に対して計算される。 EU (x) is calculated based on the difference between the pixel values of two horizontally adjacent upper adjacent pixels 713. When calculating EU (x) for the purpose of estimating whether or not there is a strong edge in the coded block 701, it is sufficient to use the pixel value of the upper adjacent pixel 713, and it is sufficient to use the pixel value in the upper adjacent block 703. It is not always necessary to use other pixels. EU (x) is calculated for all x values corresponding to the width of the coded block 701.

選択部622は、いずれかのEU(x)が閾値THU以上である場合、画像フォーマットF1を選択し、すべてのEU(x)が閾値THUよりも小さい場合、画像フォーマットF2を選択する。選択部622は、EU(x)を閾値THUと比較する代わりに、すべてのEU(x)の統計値を閾値THUと比較してもよい。 The selection unit 622 selects the image format F1 when any EU (x) is equal to or greater than the threshold value THU, and selects the image format F2 when all EU (x) are smaller than the threshold value THU. The selection unit 622 may compare all EU (x) statistics with the threshold THU instead of comparing the EU (x) with the threshold THU.

なお、選択部622は、イントラ予測モードが角度予測を表す場合、符号化対象ブロック701内に強いエッジが存在するか否かを、エッジ強度以外の指標に基づいて推定することも可能である。エッジ強度以外の指標としては、例えば、角度予測により参照される隣接ブロックの符号化処理に適用された画像フォーマットを用いることができる。 When the intra prediction mode represents the angle prediction, the selection unit 622 can estimate whether or not a strong edge exists in the coded target block 701 based on an index other than the edge strength. As an index other than the edge strength, for example, an image format applied to the coding process of the adjacent block referred to by the angle prediction can be used.

隣接ブロックの符号化処理に画像フォーマットF1が適用されている場合、選択部622は、符号化対象ブロック701内に強いエッジが存在すると推定し、画像フォーマットF1を選択する。一方、隣接ブロックの符号化処理に画像フォーマットF2が適用されている場合、選択部622は、符号化対象ブロック701内に強いエッジが存在しないと推定し、画像フォーマットF2を選択する。 When the image format F1 is applied to the coding process of the adjacent block, the selection unit 622 estimates that a strong edge exists in the coded block 701 and selects the image format F1. On the other hand, when the image format F2 is applied to the coding process of the adjacent block, the selection unit 622 estimates that there is no strong edge in the coded block 701 and selects the image format F2.

符号化対象ブロックが画像内で最初に符号化されるブロックである場合、選択部622は、例えば、特許文献1の技術を用いて、画像フォーマットF1又は画像フォーマットF2を選択することができる。選択部622は、符号化対象ブロックが高頻度変更領域に対応する場合、画像フォーマットF2を選択し、符号化対象ブロックが低頻度変更領域に対応する場合、画像フォーマットF1を選択する。 When the coded block is the first block to be encoded in the image, the selection unit 622 can select the image format F1 or the image format F2 by using, for example, the technique of Patent Document 1. The selection unit 622 selects the image format F2 when the coded block corresponds to the high frequency change area, and selects the image format F1 when the coded block corresponds to the low frequency change area.

符号化部623は、映像に含まれる各画像の各ブロックを符号化して、符号化されたブロックの符号情報を生成するとともに、符号化されたブロックの予測モードを示す予測モード情報を生成する。通信部625は、各ブロックの符号情報及び予測モード情報を含むビットストリームを、クライアント端末601へ送信する。 The coding unit 623 encodes each block of each image included in the video to generate the code information of the coded block, and also generates the prediction mode information indicating the prediction mode of the coded block. The communication unit 625 transmits a bit stream including the code information and the prediction mode information of each block to the client terminal 601.

クライアント端末601の通信部616は、サーバ602からビットストリームを受信し、受信したビットストリームを復号部613へ出力する。 The communication unit 616 of the client terminal 601 receives the bit stream from the server 602 and outputs the received bit stream to the decoding unit 613.

復号部613は、ビットストリームに含まれる符号情報をブロック単位で復号する。各ブロックは、復号対象ブロックに対応し、各ブロックの符号情報は、インター予測復号又はイントラ予測復号によって復号される。復号部613は、復号画像をフレームメモリ614に格納し、復号画像を参照画像として用いてインター予測復号を行う。また、復号部613は、復号対象画像内の復号済みブロックの画素をフレームメモリ614に格納し、復号済みブロックの画素を参照画素として用いてイントラ予測復号を行う。 The decoding unit 613 decodes the code information included in the bit stream in block units. Each block corresponds to a block to be decoded, and the code information of each block is decoded by inter-predictive decoding or intra-predictive decoding. The decoding unit 613 stores the decoded image in the frame memory 614, and uses the decoded image as a reference image for inter-predictive decoding. Further, the decoding unit 613 stores the pixels of the decoded block in the image to be decoded in the frame memory 614, and uses the pixels of the decoded block as reference pixels to perform intra-predictive decoding.

復号部613は、各ブロックの予測モード情報を復号することで予測モードを取得し、取得された予測モードに基づいて、ブロックの符号情報を復号する。このとき、選択部612は、取得された予測モードに応じて、サーバ602と同じ選択方法により、画像フォーマットF1及び画像フォーマットF2から、ブロックの復号処理に適用される画像フォーマットを選択する。 The decoding unit 613 acquires the prediction mode by decoding the prediction mode information of each block, and decodes the code information of the block based on the acquired prediction mode. At this time, the selection unit 612 selects an image format applied to the block decoding process from the image format F1 and the image format F2 by the same selection method as the server 602 according to the acquired prediction mode.

サーバ602と同じ選択方法により画像フォーマットを選択することで、各ブロックについて、符号化処理と同じ画像フォーマットを選択することが可能になる。したがって、各ブロックの符号情報に、画像フォーマットF1又は画像フォーマットF2のいずれが適用されたかを示すフラグを含める必要がなく、ビットストリームの符号量の増加を抑制することができる。 By selecting the image format by the same selection method as that of the server 602, it is possible to select the same image format as the coding process for each block. Therefore, it is not necessary to include a flag indicating which of the image format F1 and the image format F2 is applied in the code information of each block, and it is possible to suppress an increase in the code amount of the bit stream.

取得された予測モードがイントラ予測モードである場合、選択部612は、取得されたイントラ予測モードに基づいて、画像フォーマットF1又は画像フォーマットF2を選択する。そして、復号部613は、選択された画像フォーマットを用いたイントラ予測復号により、ブロックの符号情報を復号する。 When the acquired prediction mode is the intra prediction mode, the selection unit 612 selects the image format F1 or the image format F2 based on the acquired intra prediction mode. Then, the decoding unit 613 decodes the code information of the block by intra-predictive decoding using the selected image format.

例えば、選択部612は、イントラ予測モードがPlanar予測又はDC予測を表す場合、画像フォーマットF2を選択し、イントラ予測モードが角度予測を表す場合、画像フォーマットF1を選択する。 For example, the selection unit 612 selects the image format F2 when the intra prediction mode represents Planar prediction or DC prediction, and selects the image format F1 when the intra prediction mode represents angle prediction.

イントラ予測モードが角度予測を表す場合、選択部612は、復号対象ブロックに隣接する隣接ブロック内の画素の画素値に基づいて、画像フォーマットF1又は画像フォーマットF2のいずれかを選択することも可能である。この場合、選択部612は、サーバ602と同様に、隣接ブロック内で復号対象ブロックに隣接している隣接画素の画素値を用いて、エッジ強度を計算する。そして、選択部612は、エッジ強度が閾値よりも大きい場合、画像フォーマットF1を選択し、エッジ強度が閾値よりも小さい場合、画像フォーマットF2を選択する。 When the intra prediction mode represents angle prediction, the selection unit 612 can also select either the image format F1 or the image format F2 based on the pixel values of the pixels in the adjacent block adjacent to the decoding target block. be. In this case, the selection unit 612 calculates the edge strength using the pixel values of the adjacent pixels adjacent to the decoding target block in the adjacent block, similarly to the server 602. Then, the selection unit 612 selects the image format F1 when the edge strength is larger than the threshold value, and selects the image format F2 when the edge strength is smaller than the threshold value.

一方、取得された予測モードがインター予測モードである場合、選択部612は、画像フォーマットF2を選択し、復号部613は、画像フォーマットF2を用いたインター予測復号により、ブロックの符号情報を復号する。 On the other hand, when the acquired prediction mode is the inter-prediction mode, the selection unit 612 selects the image format F2, and the decoding unit 613 decodes the code information of the block by inter-prediction decoding using the image format F2. ..

表示部615は、フレームメモリ614内の復号画像を画面上に表示することで、映像を再生する。 The display unit 615 reproduces the video by displaying the decoded image in the frame memory 614 on the screen.

図8A及び図8Bは、図6のサーバ602が行う映像符号化処理の例を示すフローチャートである。まず、符号化部623は、映像に含まれる画像を複数のブロックに分割し(ステップ801)、符号化対象ブロックと、符号化対象ブロックの予測モードとを決定する(ステップ802)。 8A and 8B are flowcharts showing an example of the video coding process performed by the server 602 of FIG. First, the coding unit 623 divides the image included in the video into a plurality of blocks (step 801), and determines the coding target block and the prediction mode of the coding target block (step 802).

次に、選択部622は、符号化対象ブロックの予測モードをチェックする(ステップ803)。予測モードがインター予測モードである場合(ステップ803,NO)、選択部622は、画像フォーマットF2を選択する(ステップ810)。一方、予測モードがイントラ予測モードである場合(ステップ803,YES)、選択部622は、イントラ予測モードがPlanar予測、DC予測、又は角度予測のうちいずれを表すかをチェックする(ステップ804)。 Next, the selection unit 622 checks the prediction mode of the coded block (step 803). When the prediction mode is the inter-prediction mode (step 803, NO), the selection unit 622 selects the image format F2 (step 810). On the other hand, when the prediction mode is the intra prediction mode (step 803, YES), the selection unit 622 checks whether the intra prediction mode represents Planar prediction, DC prediction, or angle prediction (step 804).

イントラ予測モードがPlanar予測又はDC予測を表す場合(ステップ804,NO)、選択部622は、画像フォーマットF2を選択する(ステップ810)。一方、イントラ予測モードが角度予測を表す場合(ステップ804,YES)、選択部622は、符号化対象ブロックに隣接している隣接画素の画素値を用いて、エッジ強度を計算する(ステップ805)。そして、選択部622は、エッジ強度を閾値と比較する(ステップ806)。 When the intra prediction mode represents Planar prediction or DC prediction (step 804, NO), the selection unit 622 selects the image format F2 (step 810). On the other hand, when the intra prediction mode represents angle prediction (step 804, YES), the selection unit 622 calculates the edge strength using the pixel values of the adjacent pixels adjacent to the coded block (step 805). .. Then, the selection unit 622 compares the edge strength with the threshold value (step 806).

エッジ強度が閾値以上である場合(ステップ806,YES)、選択部622は、画像フォーマットF1を選択する(ステップ807)。エッジ強度が閾値よりも小さい場合(ステップ806,NO)、選択部622は、画像フォーマットF2を選択する(ステップ810)。 When the edge strength is equal to or higher than the threshold value (step 806, YES), the selection unit 622 selects the image format F1 (step 807). When the edge intensity is smaller than the threshold value (step 806, NO), the selection unit 622 selects the image format F2 (step 810).

例えば、式(1)のEL(y)をエッジ強度として用いた場合、選択部622は、符号化対象ブロックの高さに対応するすべてのyの値に対してEL(y)を計算し、各EL(y)を閾値THLと比較する。そして、選択部622は、いずれかのEL(y)が閾値THL以上である場合、画像フォーマットF1を選択し、すべてのEL(y)が閾値THLよりも小さい場合、画像フォーマットF2を選択する。 For example, when the EL (y) of the equation (1) is used as the edge strength, the selection unit 622 calculates the EL (y) for all the values of y corresponding to the height of the block to be encoded. Each EL (y) is compared to the threshold THL. Then, the selection unit 622 selects the image format F1 when any of the EL (y) is equal to or higher than the threshold value THL, and selects the image format F2 when all the EL (y) are smaller than the threshold value THL.

また、式(2)のEU(x)をエッジ強度として用いた場合、選択部622は、符号化対象ブロックの幅に対応するすべてのxの値に対してEU(x)を計算し、各EU(x)を閾値THUと比較する。そして、選択部622は、いずれかのEU(x)が閾値THU以上である場合、画像フォーマットF1を選択し、すべてのEU(x)が閾値THUよりも小さい場合、画像フォーマットF2を選択する。 Further, when the EU (x) of the equation (2) is used as the edge strength, the selection unit 622 calculates the EU (x) for all the values of x corresponding to the width of the coded block, and each of them The EU (x) is compared to the threshold THU. Then, the selection unit 622 selects the image format F1 when any EU (x) is equal to or higher than the threshold value THU, and selects the image format F2 when all the EUs (x) are smaller than the threshold value THU.

なお、符号化対象ブロックが画像内の最初のブロックである場合、選択部622は、特許文献1の技術を用いて、画像フォーマットF1又は画像フォーマットF2を選択する。 When the block to be encoded is the first block in the image, the selection unit 622 selects the image format F1 or the image format F2 by using the technique of Patent Document 1.

次に、符号化部623は、選択された画像フォーマットを用いて、決定された予測モードが示す予測符号化により、符号化対象ブロックを符号化し、符号化対象ブロックの符号情報を生成する(ステップ808)。そして、通信部625は、符号化対象ブロックの符号情報及び予測モード情報を、クライアント端末601へ送信する(ステップ809)。 Next, the coding unit 623 encodes the coded block by the predictive coding indicated by the determined prediction mode using the selected image format, and generates the code information of the coded block (step). 808). Then, the communication unit 625 transmits the code information and the prediction mode information of the coded block to the client terminal 601 (step 809).

次に、符号化部623は、符号化されたブロックが画像内の最後のブロックであるか否かをチェックする(ステップ811)。符号化されたブロックが最後のブロックではない場合(ステップ811,NO)、サーバ602は、次のブロックについてステップ802以降の処理を繰り返す。 Next, the coding unit 623 checks whether the coded block is the last block in the image (step 811). If the encoded block is not the last block (steps 811, NO), the server 602 repeats the processes from step 802 onward for the next block.

符号化されたブロックが最後のブロックである場合(ステップ811,YES)、符号化部623は、符号化された画像が映像に含まれる最後の画像であるか否かをチェックする(ステップ812)。符号化された画像が最後の画像ではない場合(ステップ812,NO)、サーバ602は、次の画像についてステップ801以降の処理を繰り返す。符号化された画像が最後の画像である場合(ステップ812,YES)、サーバ602は、処理を終了する。 If the coded block is the last block (steps 811, YES), the coding unit 623 checks whether the coded image is the last image included in the video (step 812). .. If the encoded image is not the last image (steps 812, NO), the server 602 repeats the processes from step 801 onwards for the next image. If the encoded image is the last image (steps 812, YES), the server 602 ends the process.

図9A及び図9Bは、図6のクライアント端末601が行う映像復号処理の例を示すフローチャートである。まず、通信部616は、サーバ602から、復号対象ブロックの符号情報及び予測モード情報を受信する(ステップ901)。 9A and 9B are flowcharts showing an example of the video decoding process performed by the client terminal 601 of FIG. First, the communication unit 616 receives the code information and the prediction mode information of the decoding target block from the server 602 (step 901).

次に、復号部613は、予測モード情報を復号することで、復号対象ブロックの予測モードを取得し、取得された予測モードをチェックする(ステップ902)。予測モードがインター予測モードである場合(ステップ902,NO)、選択部612は、画像フォーマットF2を選択する(ステップ908)。一方、予測モードがイントラ予測モードである場合(ステップ902,YES)、選択部612は、イントラ予測モードがPlanar予測、DC予測、又は角度予測のうちいずれを表すかをチェックする(ステップ903)。 Next, the decoding unit 613 acquires the prediction mode of the decoding target block by decoding the prediction mode information, and checks the acquired prediction mode (step 902). When the prediction mode is the inter-prediction mode (step 902, NO), the selection unit 612 selects the image format F2 (step 908). On the other hand, when the prediction mode is the intra prediction mode (step 902, YES), the selection unit 612 checks whether the intra prediction mode represents Planar prediction, DC prediction, or angle prediction (step 903).

イントラ予測モードがPlanar予測又はDC予測を表す場合(ステップ903,NO)、選択部612は、画像フォーマットF2を選択する(ステップ908)。一方、イントラ予測モードが角度予測を表す場合(ステップ903,YES)、選択部612は、符号化対象ブロックに隣接している隣接画素の画素値を用いて、エッジ強度を計算する(ステップ904)。そして、選択部612は、エッジ強度を閾値と比較する(ステップ905)。 When the intra prediction mode represents Planar prediction or DC prediction (step 903, NO), the selection unit 612 selects the image format F2 (step 908). On the other hand, when the intra prediction mode represents angle prediction (step 903, YES), the selection unit 612 calculates the edge strength using the pixel values of the adjacent pixels adjacent to the coded block (step 904). .. Then, the selection unit 612 compares the edge strength with the threshold value (step 905).

エッジ強度が閾値以上である場合(ステップ905,YES)、選択部612は、画像フォーマットF1を選択する(ステップ906)。エッジ強度が閾値よりも小さい場合(ステップ905,NO)、選択部612は、画像フォーマットF2を選択する(ステップ908)。 When the edge strength is equal to or higher than the threshold value (step 905, YES), the selection unit 612 selects the image format F1 (step 906). When the edge intensity is smaller than the threshold value (step 905, NO), the selection unit 612 selects the image format F2 (step 908).

なお、復号対象ブロックが画像内の最初のブロックである場合、選択部612は、特許文献1の技術を用いて、画像フォーマットF1又は画像フォーマットF2を選択する。 When the block to be decoded is the first block in the image, the selection unit 612 selects the image format F1 or the image format F2 by using the technique of Patent Document 1.

次に、復号部613は、選択された画像フォーマットを用いて、取得された予測モードが示す予測復号により、復号対象ブロックの符号情報を復号する(ステップ907)。そして、復号部613は、復号対象ブロックの復号画素をフレームメモリ614に格納する。 Next, the decoding unit 613 decodes the code information of the decoding target block by the prediction decoding indicated by the acquired prediction mode using the selected image format (step 907). Then, the decoding unit 613 stores the decoding pixels of the decoding target block in the frame memory 614.

次に、復号部613は、復号された符号情報が、画像内の最後のブロックの符号情報であるか否かをチェックする(ステップ909)。復号されたブロックが最後のブロックの符号情報ではない場合(ステップ909,NO)、クライアント端末601は、次の符号情報についてステップ901以降の処理を繰り返す。 Next, the decoding unit 613 checks whether or not the decoded code information is the code information of the last block in the image (step 909). When the decoded block is not the code information of the last block (step 909, NO), the client terminal 601 repeats the processing after step 901 for the next code information.

復号された符号情報が最後のブロックの符号情報である場合(ステップ909,YES)、表示部615は、フレームメモリ614内の復号画像を画面上に表示する(ステップ910)。そして、復号部613は、復号された符号情報が、ビットストリームに含まれる最後の符号情報であるか否かをチェックする(ステップ911)。 When the decoded code information is the code information of the last block (step 909, YES), the display unit 615 displays the decoded image in the frame memory 614 on the screen (step 910). Then, the decoding unit 613 checks whether or not the decoded code information is the last code information included in the bit stream (step 911).

復号された符号情報が最後の符号情報ではない場合(ステップ911,NO)、クライアント端末601は、次の符号情報についてステップ901以降の処理を繰り返す。復号された符号情報が最後の符号情報である場合(ステップ911,YES)、クライアント端末601は、処理を終了する。 When the decoded code information is not the last code information (steps 911, NO), the client terminal 601 repeats the processing after step 901 for the next code information. When the decoded code information is the last code information (steps 911, YES), the client terminal 601 ends the process.

図4の画像符号化装置401の構成は一例に過ぎず、画像符号化装置401の用途又は条件に応じて一部の構成要素を省略又は変更してもよい。図5の画像復号装置501の構成は一例に過ぎず、画像復号装置501の用途又は条件に応じて一部の構成要素を省略又は変更してもよい。 The configuration of the image coding device 401 in FIG. 4 is only an example, and some components may be omitted or changed depending on the application or conditions of the image coding device 401. The configuration of the image decoding device 501 of FIG. 5 is only an example, and some components may be omitted or changed depending on the use or conditions of the image decoding device 501.

図6の画像処理システムの構成は一例に過ぎず、画像処理システムの用途又は条件に応じて一部の構成要素を省略又は変更してもよい。例えば、クライアント端末601及びサーバ602が双方向の映像通信を行う場合は、クライアント端末601に映像生成部621、選択部622、及び符号化部623を追加し、サーバ602に選択部612及び復号部613を追加することができる。図4の画像符号化装置401及び図5の画像復号装置501は、リモートデスクトップシステム以外の映像通信に利用することもできる。 The configuration of the image processing system of FIG. 6 is only an example, and some components may be omitted or changed depending on the use or conditions of the image processing system. For example, when the client terminal 601 and the server 602 perform bidirectional video communication, the video generation unit 621, the selection unit 622, and the coding unit 623 are added to the client terminal 601 and the selection unit 612 and the decoding unit are added to the server 602. 613 can be added. The image coding device 401 of FIG. 4 and the image decoding device 501 of FIG. 5 can also be used for video communication other than the remote desktop system.

図8A〜図9Bに示したフローチャートは一例に過ぎず、画像処理システムの構成又は条件に応じて一部の処理を省略又は変更してもよい。例えば、イントラ予測モードが角度予測を表す場合に、エッジ強度を計算することなく画像フォーマットF1を選択する場合は、図8Aのステップ805及びステップ806の処理を省略することができる。この場合、図9Aのステップ904及びステップ905の処理も省略することができる。 The flowcharts shown in FIGS. 8A to 9B are merely examples, and some processing may be omitted or changed depending on the configuration or conditions of the image processing system. For example, when the intra prediction mode represents angle prediction and the image format F1 is selected without calculating the edge intensity, the processes of steps 805 and 806 in FIG. 8A can be omitted. In this case, the processes of steps 904 and 905 of FIG. 9A can also be omitted.

図1に示したリモートデスクトップシステムは一例に過ぎず、リモートデスクトップシステムの用途又は条件に応じて一部の構成要素を省略又は変更してもよい。図2に示したYUV4:4:4及びYUV4:2:0は一例に過ぎず、画像処理システムの構成又は条件に応じて別の画像フォーマットを用いてもよい。例えば、YUV4:2:0の代わりに、YUV4:2:2又はYUV4:1:1を用いても構わない。 The remote desktop system shown in FIG. 1 is only an example, and some components may be omitted or changed depending on the use or conditions of the remote desktop system. YUV 4: 4: 4 and YUV 4: 2: 0 shown in FIG. 2 are merely examples, and different image formats may be used depending on the configuration or conditions of the image processing system. For example, YUV4: 2: 2 or YUV4: 1: 1 may be used instead of YUV4: 2: 0.

図3に示した静止画領域及び動画領域は一例に過ぎず、静止画領域及び動画領域は、デスクトップ画像に応じて変化する。図7に示した符号化対象ブロック及び隣接ブロックは一例に過ぎず、各ブロックの形状は画像の分割方法に応じて変化する。 The still image area and the moving image area shown in FIG. 3 are merely examples, and the still image area and the moving image area change according to the desktop image. The coded block and the adjacent block shown in FIG. 7 are merely examples, and the shape of each block changes according to the image division method.

式(1)及び式(2)は一例に過ぎず、画像処理システムの構成又は条件に応じて別の計算式を用いてもよい。 Equations (1) and (2) are merely examples, and different calculation equations may be used depending on the configuration or conditions of the image processing system.

図10は、図4の画像符号化装置401、図5の画像復号装置501、図6のクライアント端末601及びサーバ602として用いられる情報処理装置(コンピュータ)のハードウェア構成例を示している。図10の情報処理装置は、CPU(Central Processing Unit)1001、メモリ1002、入力装置1003、出力装置1004、補助記憶装置1005、媒体駆動装置1006、及びネットワーク接続装置1007を含む。これらの構成要素はハードウェアであり、バス1008により互いに接続されている。 FIG. 10 shows a hardware configuration example of an information processing device (computer) used as the image coding device 401 of FIG. 4, the image decoding device 501 of FIG. 5, the client terminal 601 of FIG. 6, and the server 602. The information processing device of FIG. 10 includes a CPU (Central Processing Unit) 1001, a memory 1002, an input device 1003, an output device 1004, an auxiliary storage device 1005, a medium drive device 1006, and a network connection device 1007. These components are hardware and are connected to each other by bus 1008.

メモリ1002は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ等の半導体メモリであり、処理に用いられるプログラム及びデータを記憶する。メモリ1002は、図6のフレームメモリ614又はフレームメモリ624として用いることができる。 The memory 1002 is, for example, a semiconductor memory such as a ROM (Read Only Memory), a RAM (Random Access Memory), or a flash memory, and stores a program and data used for processing. The memory 1002 can be used as the frame memory 614 or the frame memory 624 of FIG.

CPU1001(プロセッサ)は、例えば、メモリ1002を利用してプログラムを実行することにより、図4の選択部411及び符号化部412として動作する。CPU1001は、メモリ1002を利用してプログラムを実行することにより、図5の選択部511及び復号部512としても動作する。 The CPU 1001 (processor) operates as the selection unit 411 and the coding unit 412 in FIG. 4 by executing a program using, for example, the memory 1002. The CPU 1001 also operates as the selection unit 511 and the decoding unit 512 in FIG. 5 by executing the program using the memory 1002.

CPU1001は、メモリ1002を利用してプログラムを実行することにより、図6の選択部612及び復号部613としても動作する。CPU1001は、メモリ1002を利用してプログラムを実行することにより、図6の映像生成部621、選択部622、及び符号化部623としても動作する。 The CPU 1001 also operates as the selection unit 612 and the decoding unit 613 in FIG. 6 by executing the program using the memory 1002. The CPU 1001 also operates as the video generation unit 621, the selection unit 622, and the coding unit 623 of FIG. 6 by executing the program using the memory 1002.

入力装置1003は、例えば、キーボード、ポインティングデバイス等であり、ユーザ又はオペレータからの指示や情報の入力に用いられる。出力装置1004は、例えば、表示装置、プリンタ、スピーカ等であり、ユーザ又はオペレータへの問い合わせ及び処理結果の出力に用いられる。入力装置1003及び出力装置1004は、それぞれ、図6の入力部611及び表示部615として用いることができる。処理結果は、画面上に表示される復号画像であってもよい。 The input device 1003 is, for example, a keyboard, a pointing device, or the like, and is used for inputting instructions or information from a user or an operator. The output device 1004 is, for example, a display device, a printer, a speaker, or the like, and is used for making an inquiry to a user or an operator and outputting a processing result. The input device 1003 and the output device 1004 can be used as the input unit 611 and the display unit 615 of FIG. 6, respectively. The processing result may be a decoded image displayed on the screen.

補助記憶装置1005は、例えば、磁気ディスク装置、光ディスク装置、光磁気ディスク装置、テープ装置等である。補助記憶装置1005は、ハードディスクドライブ又はフラッシュメモリであってもよい。情報処理装置は、補助記憶装置1005にプログラム及びデータを格納しておき、それらをメモリ1002にロードして使用することができる。 The auxiliary storage device 1005 is, for example, a magnetic disk device, an optical disk device, a magneto-optical disk device, a tape device, or the like. The auxiliary storage device 1005 may be a hard disk drive or a flash memory. The information processing device can store programs and data in the auxiliary storage device 1005 and load them into the memory 1002 for use.

媒体駆動装置1006は、可搬型記録媒体1009を駆動し、その記録内容にアクセスする。可搬型記録媒体1009は、メモリデバイス、フレキシブルディスク、光ディスク、光磁気ディスク等である。可搬型記録媒体1009は、CD−ROM(Compact Disk Read Only Memory)、DVD(Digital Versatile Disk)、又はUSB(Universal Serial Bus)メモリであってもよい。ユーザ又はオペレータは、可搬型記録媒体1009にプログラム及びデータを格納しておき、それらをメモリ1002にロードして使用することができる。 The medium driving device 1006 drives the portable recording medium 1009 and accesses the recorded contents. The portable recording medium 1009 is a memory device, a flexible disk, an optical disk, a magneto-optical disk, or the like. The portable recording medium 1009 may be a CD-ROM (Compact Disk Read Only Memory), a DVD (Digital Versatile Disk), or a USB (Universal Serial Bus) memory. The user or operator can store the programs and data in the portable recording medium 1009 and load them into the memory 1002 for use.

このように、処理に用いられるプログラム及びデータを格納するコンピュータ読み取り可能な記録媒体は、メモリ1002、補助記憶装置1005、及び可搬型記録媒体1009のような、物理的な(非一時的な)記録媒体である。 In this way, the computer-readable recording medium that stores the programs and data used for processing is physical (non-temporary) recording such as memory 1002, auxiliary storage device 1005, and portable recording medium 1009. It is a medium.

ネットワーク接続装置1007は、通信ネットワーク603に接続され、通信に伴うデータ変換を行う通信インタフェース回路である。ネットワーク接続装置1007は、図6の通信部616又は通信部625として用いることができる。情報処理装置は、プログラム及びデータを外部の装置からネットワーク接続装置1007を介して受け取り、それらをメモリ1002にロードして使用することができる。 The network connection device 1007 is a communication interface circuit that is connected to the communication network 603 and performs data conversion associated with communication. The network connection device 1007 can be used as the communication unit 616 or the communication unit 625 of FIG. The information processing device can receive programs and data from an external device via the network connection device 1007, load them into the memory 1002, and use them.

なお、情報処理装置が図10のすべての構成要素を含む必要はなく、用途又は条件に応じて一部の構成要素を省略することも可能である。例えば、情報処理装置がサーバ602であり、かつ、ユーザ又はオペレータとのインタフェースが不要である場合は、入力装置1003及び出力装置1004を省略してもよい。また、可搬型記録媒体1009を利用しない場合は、媒体駆動装置1006を省略してもよい。 The information processing device does not have to include all the components of FIG. 10, and some components may be omitted depending on the application or conditions. For example, when the information processing device is the server 602 and the interface with the user or the operator is unnecessary, the input device 1003 and the output device 1004 may be omitted. Further, when the portable recording medium 1009 is not used, the medium driving device 1006 may be omitted.

開示の実施形態とその利点について詳しく説明したが、当業者は、特許請求の範囲に明確に記載した本発明の範囲から逸脱することなく、様々な変更、追加、省略をすることができるであろう。 Having described in detail the embodiments of the disclosure and its advantages, those skilled in the art will be able to make various changes, additions and omissions without departing from the scope of the invention as expressly stated in the claims. Let's do it.

図2乃至図10を参照しながら説明した実施形態に関し、さらに以下の付記を開示する。
(付記1)
画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する選択部と、
前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化する符号化部と、
を備えることを特徴とする画像符号化装置。
(付記2)
前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記1記載の画像符号化装置。
(付記3)
前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記画像内において前記符号化対象ブロックに隣接する隣接ブロック内の画素の画素値に基づいて、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記1記載の画像符号化装置。
(付記4)
前記選択部は、前記隣接ブロック内の画素の画素値を用いてエッジ強度を計算し、前記エッジ強度が閾値よりも大きい場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記エッジ強度が前記閾値よりも小さい場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記3記載の画像符号化装置。
(付記5)
前記符号化対象ブロックに前記イントラ予測モードが適用される場合、前記選択部は、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記符号化部は、前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化し、
前記符号化対象ブロックにインター予測モードが適用される場合、前記選択部は、前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記符号化部は、前記第3画像フォーマットを用いたインター予測符号化により、前記符号化対象ブロックを符号化することを特徴とする付記1乃至4のいずれか1項に記載の画像符号化装置。
(付記6)
画像内の復号対象ブロックのイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記復号対象ブロックの復号処理に適用される第3画像フォーマットを選択する選択部と、
前記第3画像フォーマットを用いたイントラ予測復号により、前記復号対象ブロックの符号情報を復号する復号部と、
を備えることを特徴とする画像復号装置。
(付記7)
前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記6記載の画像復号装置。
(付記8)
前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記画像内において前記復号対象ブロックに隣接する隣接ブロック内の画素の画素値に基づいて、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記6記載の画像復号装置。
(付記9)
前記選択部は、前記隣接ブロック内の画素の画素値を用いてエッジ強度を計算し、前記エッジ強度が閾値よりも大きい場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記エッジ強度が前記閾値よりも小さい場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする付記8記載の画像復号装置。
(付記10)
前記復号対象ブロックに前記イントラ予測モードが適用される場合、前記選択部は、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記復号部は、前記第3画像フォーマットを用いたイントラ予測復号により、前記復号対象ブロックの符号情報を復号し、
前記復号対象ブロックにインター予測モードが適用される場合、前記選択部は、前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記復号部は、前記第3画像フォーマットを用いたインター予測復号により、前記復号対象ブロックの符号情報を復号することを特徴とする付記6乃至9のいずれか1項に記載の画像復号装置。
(付記11)
画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する第1選択部と、
前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化して、符号化されたブロックの符号情報を生成する符号化部と、
前記符号化されたブロックのイントラ予測モードに基づいて、前記第1画像フォーマット及び前記第2画像フォーマットから前記第3画像フォーマットを選択する第2選択部と、
前記第3画像フォーマットを用いたイントラ予測復号により、前記符号化されたブロックの符号情報を復号する復号部と、
を備えることを特徴とする画像処理システム。
The following additional notes will be further disclosed with respect to the embodiments described with reference to FIGS. 2 to 10.
(Appendix 1)
Based on the intra-prediction mode applied to the coded block in the image, the code is selected from the first image format and the second image format having an amount of information smaller than the amount of information of the first image format. A selection unit that selects the third image format applied to the coding process of the block to be converted, and
A coding unit that encodes the coded block by intra-predictive coding using the third image format, and a coding unit.
An image coding apparatus comprising.
(Appendix 2)
The selection unit selects the first image format as the third image format when the intra prediction mode represents an angle prediction, and the second image format when the intra prediction mode represents an intra prediction other than the angle prediction. The image coding apparatus according to Appendix 1, wherein the image format is selected as the third image format.
(Appendix 3)
When the intra prediction mode represents angle prediction, the selection unit uses the first image format or the second image based on the pixel values of pixels in adjacent blocks adjacent to the coded block in the image. The appendix 1 is characterized in that when the format is selected as the third image format and the intra prediction mode represents an intra prediction other than the angle prediction, the second image format is selected as the third image format. Image encoding device.
(Appendix 4)
The selection unit calculates the edge strength using the pixel values of the pixels in the adjacent block, and when the edge strength is larger than the threshold value, the first image format is selected as the third image format, and the edge The image coding apparatus according to Appendix 3, wherein when the intensity is smaller than the threshold value, the second image format is selected as the third image format.
(Appendix 5)
When the intra prediction mode is applied to the coded block, the selection unit selects the first image format or the second image format as the third image format, and the coding unit selects the first image format or the second image format as the third image format. The block to be encoded is encoded by intra-predictive coding using the three image formats.
When the inter-prediction mode is applied to the coded block, the selection unit selects the second image format as the third image format, and the coding unit uses the third image format. The image coding apparatus according to any one of Supplementary note 1 to 4, wherein the coded block is encoded by predictive coding.
(Appendix 6)
Decoding of the decoding target block from the first image format and the second image format having an information amount smaller than the information amount of the first image format based on the intra prediction mode of the decoding target block in the image. A selection section that selects the third image format applied to the process,
A decoding unit that decodes the code information of the decoding target block by intra-predictive decoding using the third image format, and a decoding unit.
An image decoding device comprising.
(Appendix 7)
The selection unit selects the first image format as the third image format when the intra prediction mode represents an angle prediction, and the second image format when the intra prediction mode represents an intra prediction other than the angle prediction. The image decoding apparatus according to Appendix 6, wherein the image format is selected as the third image format.
(Appendix 8)
When the intra prediction mode represents angle prediction, the selection unit determines the first image format or the second image format based on the pixel values of the pixels in the adjacent block adjacent to the decoding target block in the image. 6 is selected as the third image format, and when the intra prediction mode represents an intra prediction other than the angle prediction, the second image format is selected as the third image format. Decryptor.
(Appendix 9)
The selection unit calculates the edge strength using the pixel values of the pixels in the adjacent block, and when the edge strength is larger than the threshold value, the first image format is selected as the third image format, and the edge The image decoding apparatus according to Appendix 8, wherein when the intensity is smaller than the threshold value, the second image format is selected as the third image format.
(Appendix 10)
When the intra prediction mode is applied to the decoding target block, the selection unit selects the first image format or the second image format as the third image format, and the decoding unit selects the third image format. The code information of the decoding target block is decoded by intra-predictive decoding using the format.
When the inter-prediction mode is applied to the decoding target block, the selection unit selects the second image format as the third image format, and the decoding unit uses the third image format for inter-prediction decoding. The image decoding apparatus according to any one of Supplementary note 6 to 9, wherein the code information of the decoding target block is decoded by the image decoding device.
(Appendix 11)
Based on the intra-prediction mode applied to the coded block in the image, the code is selected from the first image format and the second image format having an amount of information smaller than the amount of information of the first image format. A first selection unit that selects a third image format applied to the coding process of the block to be converted, and
A coding unit that encodes the coded block by intra-predictive coding using the third image format and generates code information of the coded block.
A second selection unit that selects the third image format from the first image format and the second image format based on the intra-prediction mode of the encoded block.
A decoding unit that decodes the code information of the encoded block by intra-predictive decoding using the third image format.
An image processing system characterized by being equipped with.

101、601 クライアント端末
102、602 サーバ
103、603 通信ネットワーク
301 静止画領域
302、303 動画領域
401 画像符号化装置
411、511、612、622 選択部
412、623 符号化部
501 画像復号装置
512、613 復号部
611 入力部
614、624 フレームメモリ
615 表示部
616、625 通信部
621 映像生成部
701 符号化対象ブロック
702 左隣接ブロック
703 上隣接ブロック
711 左上画素
712 左隣接画素
713 上隣接画素
1001 CPU
1002 メモリ
1003 入力装置
1004 出力装置
1005 補助記憶装置
1006 媒体駆動装置
1007 ネットワーク接続装置
1008 バス
1009 可搬型記録媒体
101, 601 Client terminal 102, 602 Server 103, 603 Communication network 301 Still image area 302, 303 Video area 401 Image encoding device 411, 511, 612, 622 Selection unit 412, 623 Coding unit 501 Image decoding device 512, 613 Decoding unit 611 Input unit 614, 624 Frame memory 615 Display unit 616, 625 Communication unit 621 Image generation unit 701 Coded block 702 Left adjacent block 703 Upper adjacent block 711 Upper left pixel 712 Left adjacent pixel 713 Upper adjacent pixel 1001 CPU
1002 Memory 1003 Input device 1004 Output device 1005 Auxiliary storage device 1006 Media drive device 1007 Network connection device 1008 Bus 1009 Portable recording medium

Claims (7)

画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する選択部と、
前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化する符号化部と、
を備えることを特徴とする画像符号化装置。
Based on the intra-prediction mode applied to the coded block in the image, the code is selected from the first image format and the second image format having an amount of information smaller than the amount of information of the first image format. A selection unit that selects the third image format applied to the coding process of the block to be converted, and
A coding unit that encodes the coded block by intra-predictive coding using the third image format, and a coding unit.
An image coding apparatus comprising.
前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする請求項1記載の画像符号化装置。 The selection unit selects the first image format as the third image format when the intra prediction mode represents an angle prediction, and the second image format when the intra prediction mode represents an intra prediction other than the angle prediction. The image coding apparatus according to claim 1, wherein the image format is selected as the third image format. 前記選択部は、前記イントラ予測モードが角度予測を表す場合、前記画像内において前記符号化対象ブロックに隣接する隣接ブロック内の画素の画素値に基づいて、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記イントラ予測モードが前記角度予測以外のイントラ予測を表す場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする請求項1記載の画像符号化装置。 When the intra prediction mode represents angle prediction, the selection unit uses the first image format or the second image based on the pixel values of pixels in adjacent blocks adjacent to the coded block in the image. The first aspect of claim 1, wherein when the format is selected as the third image format and the intra prediction mode represents an intra prediction other than the angle prediction, the second image format is selected as the third image format. Image encoding device. 前記選択部は、前記隣接ブロック内の画素の画素値を用いてエッジ強度を計算し、前記エッジ強度が閾値よりも大きい場合、前記第1画像フォーマットを前記第3画像フォーマットとして選択し、前記エッジ強度が前記閾値よりも小さい場合、前記第2画像フォーマットを前記第3画像フォーマットとして選択することを特徴とする請求項3記載の画像符号化装置。 The selection unit calculates the edge strength using the pixel values of the pixels in the adjacent block, and when the edge strength is larger than the threshold value, the first image format is selected as the third image format, and the edge The image coding apparatus according to claim 3, wherein when the intensity is smaller than the threshold value, the second image format is selected as the third image format. 前記符号化対象ブロックに前記イントラ予測モードが適用される場合、前記選択部は、前記第1画像フォーマット又は前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記符号化部は、前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化し、
前記符号化対象ブロックにインター予測モードが適用される場合、前記選択部は、前記第2画像フォーマットを前記第3画像フォーマットとして選択し、前記符号化部は、前記第3画像フォーマットを用いたインター予測符号化により、前記符号化対象ブロックを符号化することを特徴とする請求項1乃至4のいずれか1項に記載の画像符号化装置。
When the intra prediction mode is applied to the coded block, the selection unit selects the first image format or the second image format as the third image format, and the coding unit selects the first image format or the second image format as the third image format. The block to be encoded is encoded by intra-predictive coding using the three image formats.
When the inter-prediction mode is applied to the coded block, the selection unit selects the second image format as the third image format, and the coding unit uses the third image format. The image coding apparatus according to any one of claims 1 to 4, wherein the coded block is encoded by predictive coding.
画像内の復号対象ブロックのイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記復号対象ブロックの復号処理に適用される第3画像フォーマットを選択する選択部と、
前記第3画像フォーマットを用いたイントラ予測復号により、前記復号対象ブロックの符号情報を復号する復号部と、
を備えることを特徴とする画像復号装置。
Decoding of the decoding target block from the first image format and the second image format having an information amount smaller than the information amount of the first image format based on the intra prediction mode of the decoding target block in the image. A selection section that selects the third image format applied to the process,
A decoding unit that decodes the code information of the decoding target block by intra-predictive decoding using the third image format, and a decoding unit.
An image decoding device comprising.
画像内の符号化対象ブロックに適用されるイントラ予測モードに基づいて、第1画像フォーマットと、前記第1画像フォーマットの情報量よりも少ない情報量を有する第2画像フォーマットとの中から、前記符号化対象ブロックの符号化処理に適用される第3画像フォーマットを選択する第1選択部と、
前記第3画像フォーマットを用いたイントラ予測符号化により、前記符号化対象ブロックを符号化して、符号化されたブロックの符号情報を生成する符号化部と、
前記符号化されたブロックのイントラ予測モードに基づいて、前記第1画像フォーマット及び前記第2画像フォーマットから前記第3画像フォーマットを選択する第2選択部と、
前記第3画像フォーマットを用いたイントラ予測復号により、前記符号化されたブロックの符号情報を復号する復号部と、
を備えることを特徴とする画像処理システム。
Based on the intra-prediction mode applied to the coded block in the image, the code is selected from the first image format and the second image format having an amount of information smaller than the amount of information of the first image format. A first selection unit that selects a third image format applied to the coding process of the block to be converted, and
A coding unit that encodes the coded block by intra-predictive coding using the third image format and generates code information of the coded block.
A second selection unit that selects the third image format from the first image format and the second image format based on the intra-prediction mode of the encoded block.
A decoding unit that decodes the code information of the encoded block by intra-predictive decoding using the third image format.
An image processing system characterized by being equipped with.
JP2020018232A 2020-02-05 2020-02-05 Image encoding device, image decoding device, and image processing system Pending JP2021125801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020018232A JP2021125801A (en) 2020-02-05 2020-02-05 Image encoding device, image decoding device, and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020018232A JP2021125801A (en) 2020-02-05 2020-02-05 Image encoding device, image decoding device, and image processing system

Publications (1)

Publication Number Publication Date
JP2021125801A true JP2021125801A (en) 2021-08-30

Family

ID=77459636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020018232A Pending JP2021125801A (en) 2020-02-05 2020-02-05 Image encoding device, image decoding device, and image processing system

Country Status (1)

Country Link
JP (1) JP2021125801A (en)

Similar Documents

Publication Publication Date Title
JP4955216B2 (en) Apparatus and method for encoding / decoding video including gray alpha channel
US20180192063A1 (en) Method and System for Virtual Reality (VR) Video Transcode By Extracting Residual From Different Resolutions
US20200213570A1 (en) Method for processing projection-based frame that includes at least one projection face and at least one padding region packed in 360-degree virtual reality projection layout
JP5251758B2 (en) Compression encoding apparatus and image display control apparatus
JP5216710B2 (en) Decryption processing method
US10200699B2 (en) Apparatus and method for encoding moving picture by transforming prediction error signal in selected color space, and non-transitory computer-readable storage medium storing program that when executed performs method
JP6769231B2 (en) Moving image coding device, moving image coding method, moving image decoding device, moving image decoding method, and moving image coding computer program and moving image decoding computer program
JP2005303979A (en) Image processing apparatus, image processing method, and program for making computer perform that method
JPWO2015136693A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
CN106028031B (en) Video encoding device and method, video decoding device and method
WO2007091588A1 (en) Dynamic image decoding device, decoded image recording device, their method, and program
JP5375372B2 (en) Compression encoding apparatus and decoding apparatus
US20210203926A1 (en) Video coding apparatus, video coding method, video decoding apparatus, and video decoding method
WO2012160626A1 (en) Image compression device, image restoration device, and program
US20170201767A1 (en) Video encoding device and video encoding method
JP2016096502A (en) Image coding device, image decoding device and image transmission method
JP2021125801A (en) Image encoding device, image decoding device, and image processing system
JP7323014B2 (en) Video decoding method
JP2014027409A (en) Image selection method, image selection device, encoder, image selection system, image selection program, encoding program and image encoding selection program
JP5789172B2 (en) Image processing apparatus and program
JP2018117308A (en) Playback apparatus and control method of the same
JP2021013145A (en) Video transmission device and video transmission method
JP2016213657A (en) Encoded block size determination device, encoding device, and program
CN116847090A (en) Parallel encoding and decoding method and system based on desktop video interested region
JP4001143B2 (en) Coefficient generation apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221006

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20231024

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240207