JP4576342B2 - Adaptive image rotation encoding apparatus and decoding apparatus - Google Patents

Adaptive image rotation encoding apparatus and decoding apparatus Download PDF

Info

Publication number
JP4576342B2
JP4576342B2 JP2006013913A JP2006013913A JP4576342B2 JP 4576342 B2 JP4576342 B2 JP 4576342B2 JP 2006013913 A JP2006013913 A JP 2006013913A JP 2006013913 A JP2006013913 A JP 2006013913A JP 4576342 B2 JP4576342 B2 JP 4576342B2
Authority
JP
Japan
Prior art keywords
image
encoding
unit
rotation
scan order
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.)
Expired - Fee Related
Application number
JP2006013913A
Other languages
Japanese (ja)
Other versions
JP2007201526A (en
Inventor
慎一 境田
敦郎 市ヶ谷
正顕 黒住
英輔 中須
清一 合志
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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2006013913A priority Critical patent/JP4576342B2/en
Publication of JP2007201526A publication Critical patent/JP2007201526A/en
Application granted granted Critical
Publication of JP4576342B2 publication Critical patent/JP4576342B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像信号処理に関し、特に画像の圧縮符号化復号化技術において、DCT(Discrete Cosine Transform:離散コサイン変換)に代表される直交変換を行う際に、画像の縦横方向の周波数成分を効率良くまとめて、符号化全体の効率を向上させる符号化装置及び復号化装置に関する。   The present invention relates to image signal processing, and in particular, when performing orthogonal transform typified by DCT (Discrete Cosine Transform) in image compression coding / decoding technology, the frequency components in the vertical and horizontal directions of the image are efficiently used. In general, the present invention relates to an encoding device and a decoding device that improve the efficiency of the entire encoding.

ISO/IEC JTC1/SC29/WG11(MPEG)で規格されたMPEG−2(非特許文献1を参照)や、MPEG及びITU−Tで規格されたH.264/MPEG−4 AVC(非特許文献2を参照)等の画像の圧縮符号化規格では、画像に対してDCTに代表される直交変換処理を施すことにより、画像信号の空間的な冗長性を取り除いている。この直交変換処理は、例えば水平8画素×垂直8画素、水平4画素×垂直4画素等の矩形ブロックに分割した画像に対してブロック単位に施され、この結果、画像は、低域周波数から高域周波数までの成分(変換係数)毎に分離される。   MPEG-2 (see Non-Patent Document 1) standardized by ISO / IEC JTC1 / SC29 / WG11 (MPEG) and H.264 standardized by MPEG and ITU-T. In image compression coding standards such as H.264 / MPEG-4 AVC (see Non-Patent Document 2), the image signal is subjected to orthogonal transform processing represented by DCT, thereby reducing the spatial redundancy of the image signal. Removed. This orthogonal transformation process is performed in units of blocks on an image divided into rectangular blocks of, for example, horizontal 8 pixels × vertical 8 pixels, horizontal 4 pixels × vertical 4 pixels, etc. Separated for each component (conversion coefficient) up to the band frequency.

一般に、画像の符号化において、前述の直交変換処理の後に量子化処理が施される。人間の視覚特性は高域周波数成分に鈍感であることから、高域周波数成分の変換係数は粗く、低域周波数成分の変換係数は細かく量子化される。そして、量子化された変換係数は、低域周波数から高域周波数の順に、図6に示すようにスキャン処理される。図6は、スキャン処理としてジグザグスキャン方法を用いた場合の例を示す図であり、数字の順にスキャン処理を行うことを示している。このようなスキャン処理により、量子化された2次元の変換係数が1次元の信号に並び替えられる。この後に施されるエントロピー符号化処理では、ゼロの係数に対して符号化を行う必要がないことから、スキャン処理によって、ゼロの係数がまとまるように処理され、エントロピー符号化処理の効率を上げることができる。スキャン処理の方法は、非特許文献1及び非特許文献2の規格では数通りの方法のみが規定されているに過ぎないため、スキャン順序を任意の順に変更することはできない。実際は、図6に示したジグザグスキャン方法の他に、図7に示すような、インタレース信号に合わせた垂直優先スキャン方法があり、合計2通りのスキャン方法が規定されている。   In general, in image encoding, quantization processing is performed after the orthogonal transformation processing described above. Since human visual characteristics are insensitive to high frequency components, the conversion coefficients of high frequency components are coarse, and the conversion coefficients of low frequency components are finely quantized. Then, the quantized transform coefficients are scanned as shown in FIG. 6 in order from the low frequency to the high frequency. FIG. 6 is a diagram illustrating an example in which the zigzag scanning method is used as the scanning process, and illustrates that the scanning process is performed in numerical order. By such a scanning process, the quantized two-dimensional transform coefficient is rearranged into a one-dimensional signal. In the entropy encoding process that is performed after this, it is not necessary to encode the zero coefficient, so that the zero coefficient is processed by the scan process to increase the efficiency of the entropy encoding process. Can do. As the scan processing method, only several methods are defined in the standards of Non-Patent Document 1 and Non-Patent Document 2, and therefore the scan order cannot be changed in an arbitrary order. Actually, in addition to the zigzag scanning method shown in FIG. 6, there is a vertical priority scanning method according to the interlaced signal as shown in FIG. 7, and a total of two scanning methods are defined.

前述した直交変換処理により、画像信号の性質を周波数成分毎に解析することができる。図8は、量子化された変換係数の第1の例を示す図であり、一般的な画像信号の例を示している。図8によれば、一般的な画像信号には、低域周波数成分すなわち画像の平坦部分が多く、高域周波数成分すなわち細かい縞模様、エッジ成分または市松模様が比較的少ないので、変換係数は低域に集中し、高域にはそれほど分布しない。これに対し、画像信号中に、縦方向の模様や横方向の模様のうちのいずれかの模様が支配的になると、変換係数は、偏って分布することになる。図9は、量子化された変換係数の第2の例を示す図であり、縦方向の模様が支配的な画像信号の例を示している。逆に画像のエッジ成分の方向が様々になると、変換係数の分布の偏りは少なくなる。   By the orthogonal transformation process described above, the properties of the image signal can be analyzed for each frequency component. FIG. 8 is a diagram illustrating a first example of quantized transform coefficients and illustrates an example of a general image signal. According to FIG. 8, since a general image signal has many low frequency components, that is, flat portions of an image, and high frequency components, that is, fine stripes, edge components, or checkered patterns, there are relatively few conversion coefficients. It is concentrated in the region and not so distributed in the high region. On the other hand, when one of the vertical pattern and the horizontal pattern becomes dominant in the image signal, the conversion coefficients are distributed unevenly. FIG. 9 is a diagram illustrating a second example of quantized transform coefficients, and illustrates an example of an image signal in which a vertical pattern is dominant. Conversely, when the direction of the edge component of the image is varied, the deviation of the distribution of the transform coefficient is reduced.

ISO/IEC 13818−2ISO / IEC 13818-2 ITU−T Rec.H.264|ISO/IEC 14496−10Advanced Video CodingITU-T Rec. H. H.264 | ISO / IEC 14496-10 Advanced Video Coding

以上説明したように、画像の符号化において行われる直交変換処理により、画像信号の性質を、周波数成分毎にその分布方向も含めて解析することができる。そして、その後の処理として、量子化、スキャン及びエントロピー符号化が行われる。しかしながら、前述した既存の符号化規格では、スキャン順序は2通りのみに限定されており、画像中の周波数成分の方向性を考慮してスキャン順序を変更することができない。このため、周波数成分の分布状況によっては、エントロピー符号化処理において、無駄なゼロ係数も符号化することになり、符号化全体の効率が低下してしまう。   As described above, the characteristics of the image signal can be analyzed for each frequency component including the distribution direction by the orthogonal transform process performed in the image encoding. Then, quantization, scanning, and entropy coding are performed as subsequent processing. However, in the existing coding standard described above, the scan order is limited to only two, and the scan order cannot be changed in consideration of the directionality of the frequency components in the image. For this reason, useless zero coefficients are also encoded in the entropy encoding process depending on the distribution status of the frequency components, and the efficiency of the entire encoding is reduced.

そこで、本発明は、かかる課題を解決するためになされたものであり、その目的は、画像の符号化全体の効率を向上させることが可能な符号化装置及び復号化装置を提供することにある。   Accordingly, the present invention has been made to solve such a problem, and an object thereof is to provide an encoding device and a decoding device capable of improving the efficiency of the overall image encoding. .

上記課題を解決するため、本発明は、原画像を所定の角度回転させて、画像の周波数成分をある方向に集中させるようにすることを特徴とする、また、本発明は、量子化された変換係数のスキャン順序を周波数成分の偏りに合わせて変更するようにすることを特徴とする。   In order to solve the above problems, the present invention is characterized in that the original image is rotated by a predetermined angle so that the frequency components of the image are concentrated in a certain direction, and the present invention is quantized. It is characterized in that the scan order of transform coefficients is changed in accordance with the deviation of frequency components.

すなわち、本発明による請求項1の符号化装置は、画像を構成する小領域毎の矩形画像に直交変換及び量子化を施し、該量子化された2次元の変換係数をスキャンして1次元の変換係数を生成し、該1次元の係数に符号化を施す符号化装置において、前記矩形画像を回転させて斜め画像を生成し、該新たな矩形画像における前記斜め画像以外の領域の画素に均一の画素値を設定する際に、前記斜め画像における外部近傍周辺の画素値をそのままホールドした値か、又は前記斜め画像における外部近傍周辺の画素値を平均した値のいずれかを前記均一の画素値として設定する回転部と、該回転により生成された斜め画像を含む新たな矩形画像を生成する生成部と、前記回転部により回転させる矩形画像の回転角度及び該回転の中心位置を、符号化効率を示す評価値に基づいて設定する角度中心位置設定部とを備え、前記生成部により生成された新たな矩形画像に対して、直交変換、量子化、スキャン及び符号化を施すことを特徴とする。 That is, the encoding device according to claim 1 of the present invention performs orthogonal transform and quantization on a rectangular image for each small region constituting the image, and scans the quantized two-dimensional transform coefficient to obtain a one-dimensional transform. In the encoding device that generates a transform coefficient and encodes the one-dimensional coefficient, the rectangular image is rotated to generate a diagonal image, and the pixels in the region other than the diagonal image in the new rectangular image are uniformly distributed. When the pixel value is set, the uniform pixel value is either a value obtained by holding the pixel value around the external neighborhood in the oblique image as it is or a value obtained by averaging the pixel values around the external neighborhood in the oblique image. a rotating section to be set as a generation unit for generating a new rectangular image including an oblique image generated by the rotation, the center position of the rotation angle and the rotation of the rectangular image to be rotated by the rotating unit, reference numeral An angle center position setting unit that is set based on an evaluation value indicating efficiency, and performing orthogonal transformation, quantization, scanning, and encoding on a new rectangular image generated by the generation unit To do.

また、本発明による請求項2の符号化装置は、画像を構成する小領域毎の矩形画像に直交変換及び量子化を施し、該量子化された2次元の変換係数をスキャンして1次元の変換係数を生成し、該1次元の係数に符号化を施す符号化装置において、前記量子化された2次元の変換係数から1次元の変換係数を生成するためのスキャン順序を、符号化効率を示す評価値に基づいて設定するスキャン順序設定部を備え、該スキャン順序設定部により設定されたスキャン順序で1次元の変換係数を生成し、符号化を施すことを特徴とする。   According to a second aspect of the present invention, there is provided an encoding device according to the present invention, which performs orthogonal transform and quantization on a rectangular image for each small region constituting an image, scans the quantized two-dimensional transform coefficient, and performs one-dimensional conversion. In an encoding device that generates transform coefficients and encodes the one-dimensional coefficients, the scan order for generating the one-dimensional transform coefficients from the quantized two-dimensional transform coefficients is determined by encoding efficiency. A scan order setting unit that is set based on the evaluation value is provided, and a one-dimensional transform coefficient is generated in the scan order set by the scan order setting unit, and encoding is performed.

また、本発明による復号化装置は、符号化装置により符号化された画像のビットストリームを入力し、復号化を施し、該復号化された1次元の変換係数を逆スキャンして2次元の変換係数を生成し、該2次元の変換係数に逆量子化及び逆直交変換を施す復号化装置において、請求項1に記載の符号化装置により生成された画像のビットストリームを入力して復号化を施す復号部と、前記ビットストリームから、符号化装置において設定された回転角度及び中心位置を得て、該回転角度及び中心位置により画像を逆回転させ、前記符号化装置で生成した新たな矩形画像から当該斜め画像を得る逆回転部とを備えたことを特徴とする。 In addition, the decoding apparatus according to the present invention receives a bit stream of an image encoded by the encoding apparatus, performs decoding, and reverse-scans the decoded one-dimensional transform coefficient to perform two-dimensional conversion. A decoding device that generates a coefficient and performs inverse quantization and inverse orthogonal transform on the two-dimensional transform coefficient, and inputs the bit stream of the image generated by the encoding device according to claim 1 to perform decoding. A new rectangular image generated by the encoding device by obtaining a rotation angle and a center position set in the encoding device from the decoding unit to be applied and the bit stream, rotating the image in reverse by the rotation angle and the center position, and And a reverse rotation unit for obtaining the oblique image .

また、本発明による復号化装置は、符号化装置により符号化された画像のビットストリームを入力し、復号化を施し、該復号化された1次元の変換係数を逆スキャンして2次元の変換係数を生成し、該2次元の変換係数に逆量子化及び逆直交変換を施す復号化装置において、請求項2に記載の符号化装置により生成された画像のビットストリームを入力して復号化を施す復号部と、前記ビットストリームから、符号化装置において設定されたスキャン順序を得て、該スキャン順序により前記1次元の変換係数を逆スキャンして2次元の変換係数を生成する逆スキャン部とを備えたことを特徴とする。   In addition, the decoding apparatus according to the present invention receives a bit stream of an image encoded by the encoding apparatus, performs decoding, and reverse-scans the decoded one-dimensional transform coefficient to perform two-dimensional conversion. A decoding device that generates coefficients and performs inverse quantization and inverse orthogonal transform on the two-dimensional transform coefficients, and inputs the bitstream of the image generated by the encoding device according to claim 2 for decoding. A decoding unit that performs, obtains a scan order set in the encoding device from the bit stream, and reverse-scans the one-dimensional transform coefficient according to the scan order to generate a two-dimensional transform coefficient; It is provided with.

本発明によれば、画像の変換係数の周波数成分をある方向(例えば垂直周波数方向または水平周波数方向)に集中させることができる。また、周波数成分の集中方向(偏り)に合わせた形のスキャン順序で、変換係数を1次元に並び替えることができる。これにより、1次元の変換係数として、後ろ部分にゼロの係数をまとめることができるから、エントロピー符号化の処理情報量を削減することができる。したがって、画像の符号化全体の効率を向上させることが可能となる。   According to the present invention, it is possible to concentrate frequency components of image conversion coefficients in a certain direction (for example, a vertical frequency direction or a horizontal frequency direction). Also, the transform coefficients can be rearranged one-dimensionally in a scan order that matches the frequency component concentration direction (bias). As a result, as one-dimensional transform coefficients, zero coefficients can be gathered in the rear part, so that the amount of processing information for entropy coding can be reduced. Therefore, it is possible to improve the overall efficiency of image encoding.

以下、本発明の実施の形態について図面を用いて詳細に説明する。尚、前述の非特許文献1及び2により、動画像の符号化方式を引用したが、本実施の形態は、動画像だけでなく静止画像も対象となる。また、以下の説明を簡単にするために、動画像符号化方式で用いられる動き推定、動き補償の説明を省略し、静止画像を対象とした処理について説明する。本発明は、動き補償や画面内予測を行う動画像及び静止画像符号化についても適用することができる。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, although the encoding method of a moving image was quoted by the above-mentioned non-patent documents 1 and 2, this embodiment is not only a moving image but also a still image. In order to simplify the following description, description of motion estimation and motion compensation used in the moving image coding method will be omitted, and processing for still images will be described. The present invention can also be applied to moving images and still image encoding that perform motion compensation and intra-screen prediction.

〔符号化装置〕
まず、本発明の実施の形態による符号化装置について説明する。図1は、符号化装置の構成を示すブロック図である。この符号化装置1は、回転部11、直交変換部12、量子化部13、スキャン部14、エントロピー符号化部15、回転制御部16、局所復号部17及びスキャン制御部18を備えている。符号化装置1は、当該符号化装置1により符号化を施こす対象である原画像を入力し、画像を回転させ、DCTに代表される直交変換を施し、量子化、スキャン及びエントロピー符号化を施し、ビットストリームを生成する。以下、符号化装置1を構成する各部について詳細に説明する。
[Encoder]
First, an encoding apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating a configuration of an encoding device. The encoding device 1 includes a rotation unit 11, an orthogonal transformation unit 12, a quantization unit 13, a scanning unit 14, an entropy encoding unit 15, a rotation control unit 16, a local decoding unit 17, and a scan control unit 18. The encoding device 1 inputs an original image to be encoded by the encoding device 1, rotates the image, performs orthogonal transformation represented by DCT, and performs quantization, scanning, and entropy encoding. To generate a bitstream. Hereinafter, each part which comprises the encoding apparatus 1 is demonstrated in detail.

回転部11は、原画像を入力し、回転制御部16から回転角度及び中心位置を入力する。そして、原画像を構成する小領域毎の矩形画像(例えば、水平8画素×垂直8画素の矩形画像)に対して、入力した中心位置を基準として、入力した回転角度だけ回転させ、斜め画像を生成する。この場合、斜め画像のままでは、直交変換部12は、その外部周辺部分について直交変換を施すことができない。そこで、回転部11は、さらに、生成した斜め画像に対して、当該斜め画像を取り囲むように新たな矩形画像を生成する。   The rotation unit 11 inputs an original image and inputs a rotation angle and a center position from the rotation control unit 16. Then, with respect to a rectangular image for each small area constituting the original image (for example, a rectangular image of horizontal 8 pixels × vertical 8 pixels), the image is rotated by the input rotation angle with reference to the input center position, and the oblique image is converted. Generate. In this case, the orthogonal transform unit 12 cannot perform the orthogonal transform on the outer peripheral portion of the oblique image as it is. Therefore, the rotation unit 11 further generates a new rectangular image so as to surround the diagonal image with respect to the generated diagonal image.

図2は、回転部11において、新たな矩形画像を生成する処理を説明する図である。図2に示すように、回転部11が白抜き部分の斜め画像を生成したのみでは、黒部分で示す外部周辺部分の画素値は不明である。そこで、回転部11は、符号化処理を考慮して、黒色の画素値、ゼロの画素値、斜め画像における外部近傍周辺の画素値をそのままホールドした値、斜め画像における外部近傍周辺の画素値を平均した値等を、その黒色で示す外部周辺部分の画素値に設定し、新たな矩形画像を生成する。これにより、新たな矩形画像は元の斜め画像よりも拡大することになり、符号化効率が低下することが予想される。しかし、黒部分の画素は、均一の画素値により構成されるため、この画素によって符号化情報量はほとんど発生しない。したがって、画像の拡大により、符号化効率は極端に低下することはない。   FIG. 2 is a diagram illustrating a process for generating a new rectangular image in the rotation unit 11. As illustrated in FIG. 2, the pixel value of the external peripheral portion indicated by the black portion is unknown only by the rotation unit 11 generating an oblique image of the white portion. Therefore, in consideration of the encoding process, the rotation unit 11 obtains a black pixel value, a zero pixel value, a value obtained by directly holding a pixel value around the external neighborhood in the oblique image, and a pixel value around the external neighborhood in the oblique image. An average value or the like is set to the pixel value of the external peripheral portion indicated by black, and a new rectangular image is generated. As a result, the new rectangular image will be larger than the original oblique image, and it is expected that the encoding efficiency will decrease. However, since the pixels in the black part are composed of uniform pixel values, the amount of encoded information is hardly generated by these pixels. Accordingly, the encoding efficiency does not extremely decrease due to the enlargement of the image.

また、回転部11は、矩形画像を回転させて斜め画像を生成する際に、元の画素位置に画素が存在するように、内挿処理を施す。この内挿処理は、双一次内挿等の方法により行うことができる。ここで、内挿処理により画質が劣化することが予想されるが、例えば低ビットレート化による符号化処理を考慮すると、符号化の画質劣化を避けることができない。このため、内挿処理による画質劣化の度合いと、前述した適応的な回転処理による符号化効率の向上度合いとを比較すると、後者の効果が前者の不具合より勝り、全体として符号化効率を向上させることができるものと考えられる。   In addition, when the rotation unit 11 rotates the rectangular image to generate the oblique image, the rotation unit 11 performs an interpolation process so that the pixel exists at the original pixel position. This interpolation process can be performed by a method such as bilinear interpolation. Here, it is expected that the image quality is deteriorated by the interpolation process. However, considering the encoding process by lowering the bit rate, for example, the image quality deterioration of the encoding cannot be avoided. For this reason, comparing the degree of image quality degradation due to interpolation processing with the degree of improvement in coding efficiency due to the adaptive rotation processing described above, the latter effect is superior to the former problem, and the coding efficiency is improved as a whole. Can be considered.

また、回転部11は、回転処理に用いた回転角度及び中心位置をエントロピー符号化部15に出力する。これらの回転角度及び中心位置の情報は、後述する復号化装置2による復号化処理において必要となるため、エントロピー符号化部15は、変換係数等と共にこれらの情報にエントロピー符号化を施す。   Further, the rotation unit 11 outputs the rotation angle and the center position used for the rotation process to the entropy coding unit 15. Since the information on the rotation angle and the center position is necessary for decoding processing by the decoding device 2 described later, the entropy encoding unit 15 performs entropy encoding on the information together with the transform coefficient and the like.

直交変換部12は、回転部11により回転して生成された新たな矩形画像を入力し、当該矩形画像の画像信号に対して直交変換を施す。量子化部13は、直交変換部12により直交変換された2次元の変換係数を入力し、量子化を施す。そして、量子化部13は、量子化した変換係数をスキャン部14及び局所復号部17に出力する。局所復号部17は、量子化部13から量子化された変換係数を入力し、逆量子化、逆直交変換及び逆回転を施し、再構成画像を生成する。そして、局所復号部17は、生成した再構成画像を回転制御部16及びスキャン制御部18に出力する。   The orthogonal transformation unit 12 receives a new rectangular image generated by rotation by the rotation unit 11 and performs orthogonal transformation on the image signal of the rectangular image. The quantization unit 13 receives the two-dimensional transform coefficient orthogonally transformed by the orthogonal transform unit 12 and performs quantization. Then, the quantization unit 13 outputs the quantized transform coefficient to the scan unit 14 and the local decoding unit 17. The local decoding unit 17 receives the quantized transform coefficient from the quantizing unit 13 and performs inverse quantization, inverse orthogonal transform, and inverse rotation to generate a reconstructed image. Then, the local decoding unit 17 outputs the generated reconstructed image to the rotation control unit 16 and the scan control unit 18.

回転制御部16は、原画像と、局所復号部17からの再構成画像と、エントロピー符号化部15からのビットストリームの情報量とを入力し、回転部11によりある(前回の)回転角度及び中心位置で回転させた場合の符号化の効率を示す評価値を計算し、当該評価値に基づいて、新たな(次回の)回転角度及び中心位置を設定し、回転部11に出力する。ここで、原画像とは回転前の画像である。再構成画像は、ある回転角度及び中心位置で回転させる等して直交変換及び量子化が施された信号を、局所復号部17により再構成した画像である。ビットストリームの情報量は、ある回転角度及び中心位置で回転させる等して直交変換、量子化、スキャン及びエントロピー符号化が施された信号量である。また、中心位置とは、矩形画像を回転させる場合の基準点を意味し、矩形画像の中心でもよいし、左上等の頂点や任意の点であってもよい。   The rotation control unit 16 inputs the original image, the reconstructed image from the local decoding unit 17, and the information amount of the bitstream from the entropy encoding unit 15, and the rotation unit 11 has a (previous) rotation angle and An evaluation value indicating the efficiency of encoding when rotated at the center position is calculated, a new (next) rotation angle and center position are set based on the evaluation value, and output to the rotation unit 11. Here, the original image is an image before rotation. The reconstructed image is an image in which the local decoding unit 17 reconstructs a signal that has been subjected to orthogonal transformation and quantization by rotating it at a certain rotation angle and center position. The information amount of the bitstream is a signal amount that has been subjected to orthogonal transformation, quantization, scanning, and entropy coding by rotating at a certain rotation angle and center position. The center position means a reference point when the rectangular image is rotated, and may be the center of the rectangular image, or may be a vertex such as the upper left or an arbitrary point.

具体的には、回転制御部16は、原画像と再構成画像との間の差分を計算し、当該差分とビットストリームの情報量との線形和を評価値として計算する。そして、回転制御部16は、この評価値が最小となるように(評価が良くなるように)、新たな回転角度及び中心位置を設定する。例えば、前回の回転角度をプラス側に設定した場合の評価値が大きくなったときは、新たな回転角度はマイナス側に設定する。中心位置も同様である。このような処理を繰り返して、最終的に最も適した回転角度及び中心位置を特定する。評価値の計算式を(1)式に示す。
minE=D+λR ・・・・・(1)
ここで、Eは評価値、Dは原画像と再構成画像との間の差分、λは係数、Rはビットストリームの情報量を示す。
Specifically, the rotation control unit 16 calculates a difference between the original image and the reconstructed image, and calculates a linear sum of the difference and the information amount of the bit stream as an evaluation value. Then, the rotation control unit 16 sets a new rotation angle and center position so that the evaluation value is minimized (in order to improve the evaluation). For example, when the evaluation value when the previous rotation angle is set to the plus side increases, the new rotation angle is set to the minus side. The same applies to the center position. Such processing is repeated to finally identify the most suitable rotation angle and center position. The formula for calculating the evaluation value is shown in formula (1).
minE = D + λR (1)
Here, E is an evaluation value, D is a difference between the original image and the reconstructed image, λ is a coefficient, and R is an information amount of the bit stream.

尚、回転制御部16は、予め設定された回数分だけ、前述した処理を繰り返し、最も評価値が小さくなったときの回転角度及び中心位置を、最も適した回転角度及び中心位置に特定するようにしてもよい。また、回転制御部16は、原画像及び再構成画像に基づいて符号化誤差を評価値として計算し、この評価値が予め設定された符号化誤差よりも小さくなったときの回転角度及び中心位置を、最も適した回転角度及び中心位置に特定するようにしてもよい。   The rotation control unit 16 repeats the above-described process for a preset number of times, and specifies the rotation angle and the center position when the evaluation value is the smallest as the most suitable rotation angle and center position. It may be. The rotation control unit 16 calculates a coding error as an evaluation value based on the original image and the reconstructed image, and the rotation angle and the center position when the evaluation value becomes smaller than a preset coding error. May be specified as the most suitable rotation angle and center position.

また、回転制御部16は、前述のように回転角度及び中心位置を任意とするのではなく、数通りの回転角度及び中心位置の組合せを予め用意しておき、これらの数通りの回転角度及び中心位置による評価値を計算し、最も評価が良くなったときの回転角度及び中心位置を、最も適した回転角度及び中心位置に特定するようにしてもよい。また、数通りの回転角度及び中心位置の組合せを予め用意しておき、この組合せ毎に、原画像及び再構成画像に基づいて符号化誤差を評価値として計算し、この評価値が予め設定された符号化誤差よりも小さくなったときの回転角度及び中心位置を、最も適した回転角度及び中心位置に特定するようにしてもよい。   In addition, the rotation control unit 16 does not arbitrarily set the rotation angle and the center position as described above, but prepares several combinations of the rotation angle and the center position in advance. An evaluation value based on the center position may be calculated, and the rotation angle and center position when the evaluation becomes the best may be specified as the most suitable rotation angle and center position. Also, several combinations of rotation angles and center positions are prepared in advance, and for each combination, a coding error is calculated as an evaluation value based on the original image and the reconstructed image, and this evaluation value is set in advance. The rotation angle and the center position when the encoding error is smaller than the encoding error may be specified as the most suitable rotation angle and center position.

さらに、回転制御部16は、回転部11において回転処理を全く施さないときの評価値を計算しておき、当該評価値と回転処理を施したときの評価値とを比較し、回転処理を施さないときの評価が回転処理を施したときの評価よりも良いと判断した場合は、回転処理を施さないことを示す指令を回転部11に出力する。この場合、回転部11は、回転処理を施さないで、矩形画像をそのまま直交変換部12に出力する。   Furthermore, the rotation control unit 16 calculates an evaluation value when no rotation processing is performed in the rotation unit 11, compares the evaluation value with an evaluation value when the rotation processing is performed, and performs the rotation processing. If it is determined that the evaluation when there is no rotation is better than the evaluation when the rotation process is performed, a command indicating that the rotation process is not performed is output to the rotation unit 11. In this case, the rotation unit 11 outputs the rectangular image as it is to the orthogonal transform unit 12 without performing the rotation process.

一方、スキャン部14は、量子化部13により量子化された変換係数を入力し、後段のエントロピー符号化部15において符号化を施すことができるように、2次元の変換係数を1次元の変換係数に並び替える。この並び替えは、スキャン制御部18により設定されたスキャン順序にて行われる。スキャン順序は、図6に示したジグザグのスキャン順序、及び図7に示した垂直優先のスキャン順序の他に、図3及び図4に示すものがある。図3は、垂直周波数方向に変換係数が集中することを考慮して定義した縦方向優先のスキャン順序を示している。また、図4は、水平周波数方向に変換係数が集中することを考慮して定義した横方向優先のスキャン順序を示している。スキャン制御部18は、例えば、これらの中からスキャン順序を設定する。スキャン制御部18の詳細については後述する。   On the other hand, the scanning unit 14 inputs the transform coefficient quantized by the quantization unit 13 and converts the two-dimensional transform coefficient into a one-dimensional transform so that the entropy coding unit 15 in the subsequent stage can perform encoding. Sort by coefficient. This rearrangement is performed in the scan order set by the scan control unit 18. The scan order includes those shown in FIGS. 3 and 4 in addition to the zigzag scan order shown in FIG. 6 and the vertical priority scan order shown in FIG. FIG. 3 shows a scan order with priority in the vertical direction defined in consideration of the concentration of conversion coefficients in the vertical frequency direction. FIG. 4 shows a scan order with priority in the horizontal direction defined in consideration of the concentration of conversion coefficients in the horizontal frequency direction. For example, the scan control unit 18 sets a scan order from these. Details of the scan control unit 18 will be described later.

また、スキャン部14は、スキャン処理に用いたスキャン順序の情報(例えばスキャン順序を示す識別子)をエントロピー符号化部15に出力する。このスキャン順序の情報は、後述する復号化装置2による復号化処理において必要となるため、エントロピー符号化部15は、変換係数等と共にこの情報にエントロピー符号化を施す。尚、スキャン部14及び復号化装置2は、スキャン順序を示す識別子によりスキャン順序を特定することができるものとする。   In addition, the scan unit 14 outputs information on the scan order used for the scan process (for example, an identifier indicating the scan order) to the entropy encoding unit 15. Since this scan order information is necessary for decoding processing by the decoding device 2 to be described later, the entropy encoding unit 15 performs entropy encoding on this information together with transform coefficients and the like. Note that the scanning unit 14 and the decoding device 2 can specify the scan order by an identifier indicating the scan order.

エントロピー符号化部15は、スキャン部14から1次元の変換係数を入力すると共に、回転部11から回転角度及び中心位置を、スキャン部14からスキャン順序をそれぞれ入力する。そして、エントロピー符号化部15は、変換係数、回転角度、中心位置及びスキャン順序にエントロピー符号化を施し、ビットストリームを生成して出力する。また、エントロピー符号化部15は、ビットストリームの情報量を計算し、回転制御部16及びスキャン制御部18に出力する。   The entropy encoding unit 15 inputs a one-dimensional conversion coefficient from the scanning unit 14, inputs a rotation angle and a center position from the rotating unit 11, and inputs a scanning order from the scanning unit 14. Then, the entropy encoding unit 15 performs entropy encoding on the transform coefficient, the rotation angle, the center position, and the scan order, and generates and outputs a bit stream. In addition, the entropy encoding unit 15 calculates the information amount of the bit stream and outputs it to the rotation control unit 16 and the scan control unit 18.

スキャン制御部18は、原画像と、局所復号部17からの再構成画像と、エントロピー符号化部15からのビットストリームの情報量とを入力し、スキャン部14に対しある(前回の)スキャン順序でスキャンさせた場合の符号化の効率を示す評価値を計算し、当該評価値に基づいて、新たな(次回の)スキャン順序を設定し、スキャン部14に出力する。この評価値の計算処理は、前述の回転制御部16の処理と同様であり、スキャン順序の設定処理も、回転制御部16における回転角度及び中心位置の設定処理と同様である。   The scan control unit 18 inputs the original image, the reconstructed image from the local decoding unit 17, and the bitstream information amount from the entropy encoding unit 15, and has a (previous) scan order for the scan unit 14. The evaluation value indicating the coding efficiency when scanning is performed is calculated, a new (next) scan order is set based on the evaluation value, and is output to the scanning unit 14. The evaluation value calculation process is the same as the process of the rotation control unit 16 described above, and the scan order setting process is the same as the rotation angle and center position setting process of the rotation control unit 16.

すなわち、スキャン制御部18は、原画像と再構成画像との間の差分を計算し、当該差分とビットストリームの情報量との線形和を評価値として計算する。そして、スキャン制御部18は、この評価値が最小となるように(評価が良くなるように)、新たなスキャン順序を設定する。このような処理を繰り返して、最終的に最も適したスキャン順序を特定する。   That is, the scan control unit 18 calculates a difference between the original image and the reconstructed image, and calculates a linear sum of the difference and the information amount of the bitstream as an evaluation value. Then, the scan control unit 18 sets a new scan order so that the evaluation value is minimized (in order to improve the evaluation). Such a process is repeated to finally identify the most suitable scan order.

回転制御部16の場合と同様に、スキャン制御部18は、予め設定された回数分だけ、前述した処理を繰り返し、最も評価値が小さくなったときのスキャン順序を、最も適したスキャン順序に特定するようにしてもよいし、また、符号化誤差を評価値として計算し、この評価値が予め設定された符号化誤差よりも小さくなったときのスキャン順序を、最も適したスキャン順序に特定するようにしてもよい。また、スキャン制御部18は、図6、図7、図3及び図4に示したように、数通りのスキャン順序を予め用意しておき、これらの数通りのスキャン順序による評価値を計算し、最も評価が良くなったときのスキャン順序を、最も適したスキャン順序に特定するようにしてもよいし、また、数通りのスキャン順序を予め用意しておき、これらのスキャン順序毎に、符号化誤差を評価値として計算し、この評価値が予め設定された符号化誤差よりも小さくなったときのスキャン順序を、最も適したスキャン順序に特定するようにしてもよい。   As in the case of the rotation control unit 16, the scan control unit 18 repeats the above-described processing for a preset number of times, and specifies the scan order when the evaluation value is the smallest as the most suitable scan order. The coding error may be calculated as an evaluation value, and the scan order when the evaluation value becomes smaller than a preset coding error is specified as the most suitable scan order. You may do it. In addition, as shown in FIGS. 6, 7, 3, and 4, the scan control unit 18 prepares several scan orders in advance, and calculates evaluation values based on these several scan orders. The scan order when the evaluation becomes the best may be specified as the most suitable scan order. Also, several scan orders are prepared in advance, and for each of these scan orders, a code is provided. The calculation order may be calculated as an evaluation value, and the scan order when the evaluation value becomes smaller than a preset encoding error may be specified as the most suitable scan order.

〔復号化装置〕
次に、本発明の実施の形態による復号化装置について説明する。図5は、復号化装置の構成を示すブロック図である。この復号化装置2は、エントロピー復号部21、逆スキャン部22、逆量子化部23、逆直交変換部24及び逆回転部25を備えている。復号化装置2は、前記符号化装置1により出力されたビットストリームを入力し、エントロピー復号化、逆スキャン、逆量子化、逆直交変換及び逆回転を施し、原画像である復号画像を生成する。以下、復号化装置2を構成する各部について詳細に説明する。
[Decryption device]
Next, the decoding apparatus according to the embodiment of the present invention will be described. FIG. 5 is a block diagram illustrating a configuration of the decoding apparatus. The decoding device 2 includes an entropy decoding unit 21, an inverse scan unit 22, an inverse quantization unit 23, an inverse orthogonal transform unit 24, and an inverse rotation unit 25. The decoding device 2 receives the bit stream output from the encoding device 1 and performs entropy decoding, inverse scanning, inverse quantization, inverse orthogonal transform, and inverse rotation to generate a decoded image that is an original image. . Hereinafter, each part which comprises the decoding apparatus 2 is demonstrated in detail.

エントロピー復号部21は、符号化装置1からビットストリームを入力し、エントロピー復号化を施し、1次元の量子化された変換係数、回転角度、中心位置及びスキャン順序を得る。そして、エントロピー復号部21は、1次元の変換係数を逆スキャン部22に、回転角度及び中心位置を逆回転部25に、スキャン順序を逆回転部25にそれぞれ出力する。   The entropy decoding unit 21 receives a bit stream from the encoding device 1 and performs entropy decoding to obtain a one-dimensional quantized transform coefficient, rotation angle, center position, and scan order. Then, the entropy decoding unit 21 outputs the one-dimensional transform coefficient to the reverse scanning unit 22, the rotation angle and the center position to the reverse rotation unit 25, and the scan order to the reverse rotation unit 25.

逆スキャン部22は、エントロピー復号部21から1次元の変換係数及びスキャン順序を入力し、当該スキャン順序に従って1次元の変換係数を逆スキャンし、2次元の変換係数に並び替える。逆量子化部23は、逆スキャン部22から2次元の変換係数を入力し、逆量子化を施す。逆直交変換部24は、逆量子化部23から逆量子化が施された変換係数を入力し、逆直交変換を施して画像信号を得る。そして、逆回転部25は、逆直交変換部24から入力した画像信号に、エントロピー復号部21から入力した回転角度及び中心位置を用いて逆回転処理を施し、原画像と同じ角度の復号画像を得る。   The inverse scan unit 22 receives the one-dimensional transform coefficients and the scan order from the entropy decoding unit 21, reverse scans the one-dimensional transform coefficients according to the scan order, and rearranges the transform coefficients into two-dimensional transform coefficients. The inverse quantization unit 23 receives a two-dimensional transform coefficient from the inverse scan unit 22 and performs inverse quantization. The inverse orthogonal transform unit 24 receives the transform coefficient subjected to the inverse quantization from the inverse quantization unit 23 and performs an inverse orthogonal transform to obtain an image signal. Then, the reverse rotation unit 25 performs reverse rotation processing on the image signal input from the inverse orthogonal transform unit 24 using the rotation angle and center position input from the entropy decoding unit 21, and a decoded image having the same angle as the original image is obtained. obtain.

以上のように、本発明の実施の形態による符号化装置1によれば、所定の評価値から設定された回転角度及び中心位置により原画像を回転させ、また、所定の評価値から得たスキャン順序により変換係数を並び替えるようにし、最も符号化効率の良い回転角度、中心位置及びスキャン順序を特定するようにした。これにより、画像の変換係数の周波数成分をある方向(例えば垂直周波数方向または水平周波数方向)に集中させることができ、さらに、変換係数のスキャン順序を、周波数成分の集中方向(偏り)に合わせた形で1次元に並び替えることができる。つまり、1次元の変換係数として、後ろ部分にゼロをまとめることができるから、エントロピー符号化の処理情報量を削減することができる。したがって、画像の符号化全体の効率を向上させることが可能となる。   As described above, according to the encoding device 1 according to the embodiment of the present invention, the original image is rotated by the rotation angle and the center position set from the predetermined evaluation value, and the scan obtained from the predetermined evaluation value is obtained. The transform coefficients are rearranged according to the order, and the rotation angle, the center position, and the scan order with the highest encoding efficiency are specified. As a result, the frequency components of the transform coefficients of the image can be concentrated in a certain direction (for example, the vertical frequency direction or the horizontal frequency direction), and the scan order of the transform coefficients is matched with the concentration direction (bias) of the frequency components. It can be rearranged in one dimension. That is, as a one-dimensional transform coefficient, zeros can be collected in the rear part, so that the amount of processing information for entropy coding can be reduced. Therefore, it is possible to improve the overall efficiency of image encoding.

以上、実施の形態を挙げて本発明を説明したが、本発明は上記実施の形態に限定されるものではなく、その技術思想を逸脱しない範囲で種々変形可能である。例えば、上記実施の形態では、回転制御部16及びスキャン制御部18は、原画像と再構成画像との間の差分を計算し、当該差分とビットストリームの情報量との線形和を評価値とし、この評価値が最小となるように、新たな回転角度、中心位置及びスキャン順序をそれぞれ設定するようにしたが、このようなビットストリームを用いると、ビットストリームの情報量を得るためにスキャン部14及びエントロピー符号化部15の処理が必要だから、処理量が大きくなり現実的ではない場合がある。そこで、回転制御部16及びスキャン部14は、原画像と再構成画像との間の差分を評価値とし、ビットストリームの情報量を評価値に含めないようにしてもよい。これにより、回転角度、中心位置及びスキャン順序の設定のための処理負荷を低減することができる。   The present invention has been described with reference to the embodiment. However, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the technical idea thereof. For example, in the above embodiment, the rotation control unit 16 and the scan control unit 18 calculate the difference between the original image and the reconstructed image, and use the linear sum of the difference and the information amount of the bitstream as the evaluation value. The new rotation angle, the center position, and the scan order are set so that the evaluation value is minimized. When such a bit stream is used, the scan unit obtains the information amount of the bit stream. 14 and the entropy encoding unit 15 are necessary, which increases the processing amount and may not be realistic. Therefore, the rotation control unit 16 and the scan unit 14 may use the difference between the original image and the reconstructed image as an evaluation value, and do not include the information amount of the bitstream in the evaluation value. Thereby, the processing load for setting the rotation angle, the center position, and the scan order can be reduced.

また、上記実施の形態では、回転制御部16は、スキャン順序を固定にして回転角度及び中心位置を設定し、スキャン制御部18は、回転角度及び中心位置を固定してスキャン順序を設定するようにしたが、回転制御部16による回転角度及び中心位置の設定と、スキャン制御部18によるスキャン順序の設定とは、相互に関連するものである。そこで、回転制御部16及びスキャン制御部18は、それぞれを固定にしないで組み合わせることにより、評価値による効果を評価しながら、最適な回転角度、中心位置及びスキャン順序を特定するようにしてもよい。   In the above embodiment, the rotation control unit 16 sets the rotation angle and the center position while fixing the scan order, and the scan control unit 18 sets the scan order while fixing the rotation angle and the center position. However, the setting of the rotation angle and center position by the rotation control unit 16 and the setting of the scan order by the scan control unit 18 are mutually related. Therefore, the rotation control unit 16 and the scan control unit 18 may identify the optimum rotation angle, center position, and scan order while evaluating the effect of the evaluation value by combining them without fixing them. .

本発明の実施の形態による符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the encoding apparatus by embodiment of this invention. 回転部の処理を説明するための図である。It is a figure for demonstrating the process of a rotation part. 縦方向を優先するスキャン方法の例を示す図である。It is a figure which shows the example of the scanning method giving priority to the vertical direction. 横方向を優先するスキャン方法の例を示す図である。It is a figure which shows the example of the scanning method which gives priority to a horizontal direction. 本発明の実施の形態による復号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the decoding apparatus by embodiment of this invention. ジグザグスキャンによるスキャン方法の例を示す図である。It is a figure which shows the example of the scanning method by a zigzag scan. 垂直優先スキャンによるスキャン方法の例を示す図である。It is a figure which shows the example of the scanning method by a vertical priority scan. 量子化された変換係数の第1の例を示す図である。It is a figure which shows the 1st example of the quantized conversion factor. 量子化された変換係数の第2の例を示す図である。It is a figure which shows the 2nd example of the transform coefficient quantized.

符号の説明Explanation of symbols

1 符号化装置
2 復号化装置
11 回転部
12 直交変換部
13 量子化部
14 スキャン部
15 エントロピー符号化部
16 回転制御部
17 局所復号部
18 スキャン制御部
21 エントロピー復号部
22 逆スキャン部
23 逆量子化部
24 逆直交変換部
25 逆回転部

DESCRIPTION OF SYMBOLS 1 Encoding apparatus 2 Decoding apparatus 11 Rotation part 12 Orthogonal transformation part 13 Quantization part 14 Scan part 15 Entropy encoding part 16 Rotation control part 17 Local decoding part 18 Scan control part 21 Entropy decoding part 22 Inverse scanning part 23 Inverse quantum Conversion unit 24 Inverse orthogonal transform unit 25 Reverse rotation unit

Claims (8)

画像を構成する小領域毎の矩形画像に直交変換及び量子化を施し、該量子化された2次元の変換係数をスキャンして1次元の変換係数を生成し、該1次元の係数に符号化を施す符号化装置において、
前記矩形画像を回転させて斜め画像を生成する回転部と、
該回転により生成された斜め画像を含む新たな矩形画像を生成し、該新たな矩形画像における前記斜め画像以外の領域の画素に均一の画素値を設定する際に、前記斜め画像における外部近傍周辺の画素値をそのままホールドした値か、又は前記斜め画像における外部近傍周辺の画素値を平均した値のいずれかを前記均一の画素値として設定する生成部と、
前記回転部により回転させる矩形画像の回転角度及び該回転の中心位置を、符号化効率を示す評価値に基づいて設定する角度中心位置設定部とを備え、
前記生成部により生成された新たな矩形画像に対して、直交変換、量子化、スキャン及び符号化を施すことを特徴とする符号化装置。
Orthogonal transformation and quantization are performed on the rectangular image of each small area constituting the image, the quantized two-dimensional transform coefficient is scanned to generate a one-dimensional transform coefficient, and the one-dimensional coefficient is encoded. In the encoding device for applying
A rotation unit that rotates the rectangular image to generate an oblique image;
When a new rectangular image including the diagonal image generated by the rotation is generated and a uniform pixel value is set for pixels in a region other than the diagonal image in the new rectangular image , the periphery of the external neighborhood in the diagonal image A value that holds the pixel value as it is or a value obtained by averaging pixel values around the external vicinity in the oblique image as a uniform pixel value ;
An angle center position setting unit that sets a rotation angle of the rectangular image rotated by the rotation unit and a center position of the rotation based on an evaluation value indicating encoding efficiency;
An encoding apparatus that performs orthogonal transformation, quantization, scanning, and encoding on a new rectangular image generated by the generation unit.
請求項1に記載の符号化装置において、
前記量子化された2次元の変換係数から1次元の変換係数を生成するためのスキャン順序を、符号化効率を示す評価値に基づいて設定するスキャン順序設定部を備え、
該スキャン順序設定部により設定されたスキャン順序で1次元の変換係数を生成し、符号化を施すことを特徴とする符号化装置。
The encoding device according to claim 1, wherein
A scan order setting unit that sets a scan order for generating a one-dimensional transform coefficient from the quantized two-dimensional transform coefficient based on an evaluation value indicating encoding efficiency;
An encoding apparatus that generates and encodes a one-dimensional transform coefficient in a scan order set by the scan order setting unit.
請求項1に記載の符号化装置において、
さらに、前記量子化された2次元の変換係数から1次元の変換係数を生成するためのスキャン順序を、符号化効率を示す評価値に基づいて設定するスキャン順序設定部を備えたことを特徴とする符号化装置。
The encoding device according to claim 1, wherein
And a scan order setting unit configured to set a scan order for generating a one-dimensional transform coefficient from the quantized two-dimensional transform coefficient based on an evaluation value indicating encoding efficiency. Encoding device.
請求項1または3に記載の符号化装置において、
前記角度中心位置設定は、回転角度を、予め設定された複数の回転角度から選択することを特徴とする符号化装置。
The encoding device according to claim 1 or 3,
The angle center position setting is performed by selecting a rotation angle from a plurality of preset rotation angles.
請求項1から4までのいずれか一項に記載の符号化装置において、
前記符号化効率を示す評価値を、前記直交変換前の矩形画像と量子化後の矩形画像との間の差分に基づいた値とすることを特徴とする符号化装置。
In the encoding device according to any one of claims 1 to 4,
An encoding apparatus, wherein the evaluation value indicating the encoding efficiency is a value based on a difference between the rectangular image before the orthogonal transformation and the rectangular image after quantization.
請求項5に記載の符号化装置において、
前記符号化効率を示す評価値を、前記差分と、前記符号化後の矩形画像の情報量とに基づいた値とすることを特徴とする符号化装置。
The encoding device according to claim 5, wherein
An encoding apparatus, wherein the evaluation value indicating the encoding efficiency is a value based on the difference and the information amount of the encoded rectangular image.
符号化装置により符号化された画像のビットストリームを入力し、復号化を施し、該復号化された1次元の変換係数を逆スキャンして2次元の変換係数を生成し、該2次元の変換係数に逆量子化及び逆直交変換を施す復号化装置において、
請求項1に記載の符号化装置により生成された画像のビットストリームを入力して復号化を施す復号部と、
前記ビットストリームから、符号化装置において設定された回転角度及び中心位置を得て、該回転角度及び中心位置により画像を逆回転させ、前記符号化装置で生成した新たな矩形画像から当該斜め画像を得る逆回転部とを備えたことを特徴とする復号化装置。
A bit stream of an image encoded by an encoding device is input, decoding is performed, the decoded one-dimensional transform coefficient is reverse-scanned to generate a two-dimensional transform coefficient, and the two-dimensional transform In a decoding device that performs inverse quantization and inverse orthogonal transform on coefficients,
A decoding unit that inputs and decodes a bitstream of an image generated by the encoding device according to claim 1;
The rotation angle and center position set in the encoding device are obtained from the bitstream, the image is reversely rotated based on the rotation angle and center position, and the oblique image is obtained from the new rectangular image generated by the encoding device. And a reverse rotation unit for obtaining the decoding device.
請求項7に記載の復号化装置において、
請求項2に記載の符号化装置により生成された画像のビットストリームを入力して復号化を施す復号部と、
前記ビットストリームから、符号化装置において設定されたスキャン順序を得て、該スキャン順序により前記1次元の変換係数を逆スキャンして2次元の変換係数を生成する逆スキャン部とを備えたことを特徴とする復号化装置。
The decoding device according to claim 7, wherein
A decoding unit that inputs and decodes a bitstream of an image generated by the encoding device according to claim 2;
A reverse scan unit that obtains a scan order set in the encoding device from the bitstream, and reverse-scans the one-dimensional transform coefficients according to the scan order to generate a two-dimensional transform coefficient; A decoding device characterized.
JP2006013913A 2006-01-23 2006-01-23 Adaptive image rotation encoding apparatus and decoding apparatus Expired - Fee Related JP4576342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006013913A JP4576342B2 (en) 2006-01-23 2006-01-23 Adaptive image rotation encoding apparatus and decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006013913A JP4576342B2 (en) 2006-01-23 2006-01-23 Adaptive image rotation encoding apparatus and decoding apparatus

Publications (2)

Publication Number Publication Date
JP2007201526A JP2007201526A (en) 2007-08-09
JP4576342B2 true JP4576342B2 (en) 2010-11-04

Family

ID=38455705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006013913A Expired - Fee Related JP4576342B2 (en) 2006-01-23 2006-01-23 Adaptive image rotation encoding apparatus and decoding apparatus

Country Status (1)

Country Link
JP (1) JP4576342B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641846B2 (en) 2010-10-22 2017-05-02 Qualcomm Incorporated Adaptive scanning of transform coefficients for video coding
US9288496B2 (en) * 2010-12-03 2016-03-15 Qualcomm Incorporated Video coding using function-based scan order for transform coefficients

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200757A (en) * 1996-01-18 1997-07-31 Nitsuko Corp Encoder, decoder and data transmitter
JPH114342A (en) * 1997-06-13 1999-01-06 Fuji Xerox Co Ltd Image processing unit
JP2003101932A (en) * 2001-09-20 2003-04-04 Fuji Photo Film Co Ltd Device and method for recording image data
JP2005117148A (en) * 2003-10-03 2005-04-28 Murata Mach Ltd Color image processor
JP2005184241A (en) * 2003-12-17 2005-07-07 Kddi Corp System for determining moving picture interframe mode
JP2005191956A (en) * 2003-12-25 2005-07-14 Yamaha Corp Display data compression/expansion method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09200757A (en) * 1996-01-18 1997-07-31 Nitsuko Corp Encoder, decoder and data transmitter
JPH114342A (en) * 1997-06-13 1999-01-06 Fuji Xerox Co Ltd Image processing unit
JP2003101932A (en) * 2001-09-20 2003-04-04 Fuji Photo Film Co Ltd Device and method for recording image data
JP2005117148A (en) * 2003-10-03 2005-04-28 Murata Mach Ltd Color image processor
JP2005184241A (en) * 2003-12-17 2005-07-07 Kddi Corp System for determining moving picture interframe mode
JP2005191956A (en) * 2003-12-25 2005-07-14 Yamaha Corp Display data compression/expansion method

Also Published As

Publication number Publication date
JP2007201526A (en) 2007-08-09

Similar Documents

Publication Publication Date Title
USRE49565E1 (en) Apparatus for encoding an image
US10931946B2 (en) Image encoding device, image decoding device, image encoding method, and image decoding method for generating a prediction image
JP5877236B2 (en) Apparatus and method for encoding video
JP5503747B2 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
JP6164600B2 (en) Divided block encoding method in video encoding, divided block decoding method in video decoding, and recording medium for realizing the same
KR101979387B1 (en) Method for encoding and decoding image information
US20150256841A1 (en) Method for encoding/decoding high-resolution image and device for performing same
JP5722506B2 (en) Video decoding device
JP6469048B2 (en) Moving picture encoding apparatus, moving picture encoding method, moving picture decoding apparatus, moving picture decoding method, moving picture encoded data, and recording medium
JP2007243427A (en) Encoder and decoder
US20160050421A1 (en) Color image encoding device, color image decoding device, color image encoding method, and color image decoding method
KR20190091236A (en) Method and apparatus for generating reconstruction block
JP2020005294A (en) Processing method
JP4576342B2 (en) Adaptive image rotation encoding apparatus and decoding apparatus
JP6641149B2 (en) Video encoding device, video decoding device, and program
US20230141312A1 (en) Transformed coefficient ordering for entropy coding
JP6982525B2 (en) Video coding equipment and methods, decoding equipment and methods, and coding and decoding systems
JP2015115614A (en) Conversion processing method, inverse conversion processing method, conversion processing device, inverse conversion processing device, conversion processing program, and inverse conversion processing program
JP2003219421A (en) Device and method for encoding/decoding image information, and program thereof
JP2006060656A (en) Method and device for coding image signal

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070514

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100419

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100727

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100823

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140827

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees