JPH10336427A - Encoded image data display/conversion method - Google Patents

Encoded image data display/conversion method

Info

Publication number
JPH10336427A
JPH10336427A JP13964997A JP13964997A JPH10336427A JP H10336427 A JPH10336427 A JP H10336427A JP 13964997 A JP13964997 A JP 13964997A JP 13964997 A JP13964997 A JP 13964997A JP H10336427 A JPH10336427 A JP H10336427A
Authority
JP
Japan
Prior art keywords
image
data
processing
encoded
rotation
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
JP13964997A
Other languages
Japanese (ja)
Inventor
Takeo Tomokane
武郎 友兼
Tomohisa Kohiyama
智久 小檜山
Tetsuya Suzuki
哲也 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP13964997A priority Critical patent/JPH10336427A/en
Publication of JPH10336427A publication Critical patent/JPH10336427A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent image quality from being deteriorated in the case of rotation/mirror display conversion by applying rotation conversion consisting of combination of rotation processing, horizontal mirror processing and vertical mirror processing to encoded image data subject to entropy decoding. SOLUTION: The JPEG data to be converted are Huffman-decoded to obtain a quantized DCT coefficient block (S101). Then the encoded quantized DCT coefficient block is inversely quantized (S102). Rotation mirror display conversion is conducted for each decoded DCT coefficient block (S103). The processing sequence of the converted blocks is rearranged in matching with the rotation mirror display conversion (S104). Then each DCT coefficient block is quantized (S105) to obtain the quantized coefficient block. Then finally Huffman coding is applied to each quantized DCT coefficient block (S106). Since no orthogonal transformation is used for the processing procedure, the processing is conducted at a high speed, and since no error in the floating point arithmetic operation by the orthogonal transformation is caused, the image quality is prevented from being deteriorated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ある画像符号化方
式に基づいて符号化された画像データのイメージを回
転、またはミラー表示なるように変換を行う画像符号化
データ変換方法、画像処理装置、コンピュータで画像の
回転を実行させるための機能を有するコンピュータ読み
取り可能な情報記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data conversion method and an image processing apparatus for converting an image of image data encoded based on a certain image encoding method so as to perform rotation or mirror display. The present invention relates to a computer-readable information recording medium having a function of causing a computer to rotate an image.

【0002】[0002]

【従来の技術】近年、自然画などの連続階調の画像デー
タの蓄積または転送を行うとき、その画像データの量が
膨大であるため、画像データを符号化してデータ量を減
らすのが一般的である。自然静止画データ符号化方式と
しては、ISO(InternationalStandard Organizatio
n:国際標準化機構)とCCITT(Comite Consulatif I
nternationale telegraphicque et Telephonique:国際
電信電話諮問委員会、現在のITU-T)とのジョイントグル
ープであるJPEG(Joint Photographic ExpertGroup)
が勧告したアルゴリズム(以下このアルゴリズムをJP
EGという)が国際標準として知られている。以下、J
PEGで符号化した画像データをJPEGデータと呼ぶ
とする。上記の技術は、例えば「マルチメディア符号化
の国際標準」(丸善株式会社)に詳述されている。
2. Description of the Related Art In recent years, when storing or transferring continuous tone image data such as a natural image, the amount of the image data is enormous. Therefore, it is common to reduce the data amount by encoding the image data. It is. As a natural still image data encoding method, ISO (International Standard Organizatio
n: International Organization for Standardization and CCITT (Comite Consulatif I)
nternationale telegraphicque et Telephonique: JPEG (Joint Photographic Expert Group), a joint group with the International Telegraph and Telephone Consultative Committee, now ITU-T)
Algorithm recommended by
EG) is known as an international standard. Below, J
It is assumed that image data encoded by PEG is called JPEG data. The above technique is described in detail in, for example, "International Standard for Multimedia Coding" (Maruzen Co., Ltd.).

【0003】このJPEGの最も基本的な符号化・復号
化処理を図2、図3、図4、図5を用いて説明する。図
2は、JPEGの符号化手順例を示したフローチャート
図である。
The most basic encoding / decoding processing of JPEG will be described with reference to FIGS. 2, 3, 4 and 5. FIG. 2 is a flowchart illustrating an example of a JPEG encoding procedure.

【0004】まず、符号化する静止画の画像データを8
×8の画素ブロックに分割する(ステップ201)。図
3に、このブロック分割の例を示す。図3の、301は
横幅24画素、縦幅16画素の静止画データの例を表し
ている。この静止画データ301の場合は8×8の画素
ブロックが、横3ブロック縦2ブロックの計6ブロック
に分割される。この例での以後の処理では、図3の分割
したブロックの内に記されているA,B,C,D,E,
Fの順に画素ブロックを処理するものとする。
First, the image data of a still image to be encoded is
It is divided into x8 pixel blocks (step 201). FIG. 3 shows an example of this block division. In FIG. 3, reference numeral 301 denotes an example of still image data having a horizontal width of 24 pixels and a vertical width of 16 pixels. In the case of the still image data 301, an 8 × 8 pixel block is divided into a total of six blocks of three horizontal blocks and two vertical blocks. In the subsequent processing in this example, A, B, C, D, E, and A shown in the divided blocks in FIG.
Assume that pixel blocks are processed in the order of F.

【0005】次に、分割した画素ブロック毎にDCT
(Discreate Cosine Transform:離散的コサイン変換)
を行う(ステップ202)。DCTとは直行変換の一種
である。以下、そのDCTしたブロックをDCT係数ブ
ロック呼ぶとする。DCT係数ブロックは画素ブロック
と同様に8×8で構成される。
Next, DCT is performed for each divided pixel block.
(Discreate Cosine Transform)
(Step 202). DCT is a type of orthogonal transformation. Hereinafter, the block subjected to the DCT is referred to as a DCT coefficient block. The DCT coefficient block is composed of 8 × 8 like the pixel block.

【0006】次に、DCT係数ブロック毎に量子化テー
ブルを用いて量子化を行う(ステップ203)。量子化
テーブルには、任意の量子化値の8×8で構成されるブ
ロックを用いる。量子化は、DCT係数ブロックを構成
するDCT係数を、量子化テーブルの対応する量子化値
で除算することで実現される。以下、このDCT係数ブ
ロックを量子化したブロックを量子化DCT係数ブロッ
クと呼ぶとする。
Next, quantization is performed using a quantization table for each DCT coefficient block (step 203). For the quantization table, a block composed of 8 × 8 of an arbitrary quantization value is used. The quantization is realized by dividing the DCT coefficients constituting the DCT coefficient block by the corresponding quantization values in the quantization table. Hereinafter, a block obtained by quantizing the DCT coefficient block is referred to as a quantized DCT coefficient block.

【0007】そして、最後に量子化DCT係数ブロック
をエントロピー符号化の一種であるハフマン符号化をお
こなう(ステップ204)。ハフマン符号化では8×8
の2次元のブロックを、図4に示すジグザグスキャンに
よって1次元のデータとしてスキャンし、0のランレン
グスと符号化する値の大きさを示すカテゴリの組み合わ
せにハフマン符号を割り当ててハフマン符号化する。こ
のハフマン符号化後のデータがJPEGデータになる。
JPEGデータは、このハフマン符号化したデータのほ
かに、画像の縦横の画素数などの静止画データ情報や符
号化時に用いた量子化テーブルとハフマンテーブルが含
まれる。
[0007] Finally, the quantized DCT coefficient block is subjected to Huffman coding, which is a type of entropy coding (step 204). 8 × 8 in Huffman coding
Is scanned as one-dimensional data by the zigzag scan shown in FIG. 4, and Huffman coding is performed by assigning a Huffman code to a combination of a run length of 0 and a category indicating a magnitude of a value to be coded. The data after the Huffman encoding becomes JPEG data.
The JPEG data includes, in addition to the Huffman encoded data, still image data information such as the number of vertical and horizontal pixels of an image, and a quantization table and a Huffman table used in encoding.

【0008】JPEGデータの復号化の手順は、符号化
手順の全く逆の手順をおこなう。図5は、図2の手順で
符号化したJPEGデータの復号化手順例を示したフロ
ーチャート図である。復号化ではまず、JPEGデータ
内のハフマンテーブルを用いて、ハフマン符号のハフマ
ン復号化を行って、量子化DCT係数ブロックに復号す
る(ステップ501)。次に、量子化DCT係数ブロッ
クを、JPEGデータの量子化テーブルを用いて逆量子
化し、DCT係数ブロックに復号する(ステップ50
2)。次に、そのブロック群をIDCT(Inverse DC
T:逆DCT)をおこなって(ステップ503)、8×
8の画素ブロックにもどす。この8×8画素ブロック
は、図3の静止画データ301の場合、A、B、C、
D、E、Fの順で復号化される。そしてその復号化され
た8×8の画素ブロックを再構成する(ステップ50
4)ことによって、静止画データを復号化できる。
The procedure of decoding JPEG data is exactly the reverse of the encoding procedure. FIG. 5 is a flowchart showing an example of a decoding procedure of the JPEG data encoded by the procedure of FIG. In decoding, first, Huffman decoding of Huffman code is performed using a Huffman table in JPEG data, and decoded into a quantized DCT coefficient block (step 501). Next, the quantized DCT coefficient block is inversely quantized using the quantization table of the JPEG data and decoded into a DCT coefficient block (step 50).
2). Next, the block group is stored in an IDCT (Inverse DC
T: inverse DCT) (step 503), and 8 ×
Return to the 8 pixel block. The 8 × 8 pixel block includes A, B, C,
Decoding is performed in the order of D, E, and F. Then, the decoded 8 × 8 pixel block is reconstructed (step 50).
4) By doing so, the still image data can be decoded.

【0009】JPEGデータは、デジタルスチルカメラ
で撮影したデジタルの静止画データのフォーマットとし
て用いられることが多い。しかし、デジタルスチルカメ
ラで撮影したJPEGデータは、撮影時のカメラの向き
によって90°や180°に回転した静止画データを符
号化したJPEGデータになることも少なくない。ま
た、画像の編集を行っている場合に、JPEGデータか
らミラー表示のJPEGデータを作成する場合もある。
JPEG data is often used as a format for digital still image data shot by a digital still camera. However, JPEG data photographed by a digital still camera often becomes JPEG data obtained by encoding still image data rotated by 90 ° or 180 ° depending on the direction of the camera at the time of photographing. Further, when editing an image, JPEG data of mirror display may be created from JPEG data.

【0010】従来は、JPEGデータから回転・ミラー
表示のJPEGデータに変換するために図6に示すよう
な変換手順を行っていた。つまり、まず変換の対象とな
るJPEGデータを復号化して静止画データに変換し
(ステップ601)、その静止画データを回転や、ミラ
ー表示変換を行い(ステップ602)、そして再び処理
した静止画データをJPEGデータに再符号化する(ス
テップ603)必要があった。
Conventionally, a conversion procedure as shown in FIG. 6 has been performed in order to convert JPEG data into JPEG data of rotation / mirror display. That is, first, JPEG data to be converted is decoded and converted into still image data (step 601), and the still image data is subjected to rotation and mirror display conversion (step 602). Has to be re-encoded into JPEG data (step 603).

【0011】[0011]

【発明が解決しようとする課題】従来の技術では、JP
EGデータの符号化・復号化の処理が必要であった。J
PEGの符号化・復号化の処理手順のうち、DCT・I
DCTの処理は浮動少数精度のマトリックス演算のため
計算に時間がかかる。そのため高速にJPEGデータの
画像を回転表示やミラー表示変換をすることができない
という問題がある。
In the prior art, JP
Encoding / decoding of EG data was required. J
Among the PEG encoding / decoding processing procedures, DCT / I
The DCT process takes a long time to calculate because of the floating-point precision matrix operation. For this reason, there is a problem that the image of the JPEG data cannot be rotated and mirror-display converted at high speed.

【0012】また、JPEGは量子化によってデータ量
を落とすロッシーな静止画符号化方式であるため、符号
化前の静止画データと比べて一度JPEGで符号化して
復号化した静止画データは画質がおちることになる。よ
って、JPEGデータの表示変換のために一度復号化し
た静止画データを再符号化すると、処理前のJPEGデ
ータより画質が落ちるという問題がある。
[0012] Also, since JPEG is a lossy still image encoding method in which the data amount is reduced by quantization, the still image data encoded and decoded once by JPEG has a lower image quality than the still image data before encoding. Will fall. Therefore, when the still image data once decoded for the display conversion of the JPEG data is re-encoded, there is a problem that the image quality is lower than that of the JPEG data before the processing.

【0013】本発明の目的は、符号化データから回転・
ミラー表示変換を行う際に、或いは、符号化データから
回転・ミラー表示変換をおこなった符号化データを作成
する際に、画質の劣化を極力少なくする、或いは全く画
質劣化しない画像符号化データ表示変換方法・画像処理
装置及びこれらをソフトウェアで実現する情報記録媒体
を提供することにある。
An object of the present invention is to rotate / encode encoded data.
When performing mirror display conversion, or when creating encoded data that has been subjected to rotation / mirror display conversion from encoded data, image encoded data display conversion that minimizes image quality degradation or minimizes image quality degradation It is an object of the present invention to provide a method and an image processing apparatus and an information recording medium which realizes these by software.

【0014】また、本発明の他の目的は、符号化データ
から回転・ミラー表示変換を行う際、或いは、符号化デ
ータから回転・ミラー表示変換をおこなった符号化デー
タを作成する際に、処理量を極力する少なくした画像符
号化データ表示変換方法・画像処理装置及びこれらをソ
フトウェアで実現する情報記録媒体を提供することにあ
る。
Another object of the present invention is to provide a method for performing rotation / mirror display conversion from encoded data or generating encoded data obtained by performing rotation / mirror display conversion from encoded data. It is an object of the present invention to provide an image-encoded data display conversion method and image processing apparatus which minimizes the amount and an information recording medium which realizes them by software.

【0015】また、本発明の他の目的は、符号化データ
から回転・ミラー表示変換を行う際に、或いは、符号化
データから回転・ミラー表示変換をおこなった符号化デ
ータを作成する際に、画質の劣化を少なし、かつ、変換
のための処理量を少なくした画像符号化データ表示変換
方法・画像処理装置及びこれらをソフトウェアで実現す
る情報記録媒体を提供することにある。
Another object of the present invention is to perform rotation / mirror display conversion from encoded data or to generate encoded data obtained by performing rotation / mirror display conversion from encoded data. It is an object of the present invention to provide an image-encoded data display conversion method / image processing apparatus with reduced deterioration of image quality and a reduced amount of processing for conversion, and an information recording medium that realizes them by software.

【0016】[0016]

【課題を解決するための手段】上記課題を解決するため
に本発明は、画像データを所定画素単位のブロックに分
割し、該各ブロックに対し少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、前記ブロック毎に前記エン
トロピー符号化された画像符号化データをエントロピー
復号化し、該復号した画像符号化データを回転処理、水
平ミラー処理、垂直ミラー処理の組み合わせで回転変換
するよう構成した。
In order to solve the above-mentioned problems, the present invention divides image data into blocks of a predetermined pixel unit, and applies at least orthogonal transformation, quantization, and entropy coding to each block. The image encoded data obtained by sequentially performing and encoding the image encoded data is rotated and displayed, and the entropy-encoded image encoded data is entropy-decoded for each of the blocks. The encoded image data obtained is rotated and converted by a combination of rotation processing, horizontal mirror processing, and vertical mirror processing.

【0017】また、本発明は、画像データを所定画素単
位のブロックに分割し、該各ブロックに対し少なくとも
直行変換と、量子化と、エントロピー符号化とを順次に
行い符号化して得られる画像符号化データを、回転表示
する画像符号化データ表示変換方法であって、前記ブロ
ック毎に前記エントロピー符号化された画像符号化デー
タを符号化時に用いた情報に基づいてエントロピー復号
化し、前記エントロピー復号化したデータを符号化時に
用いた情報に基づいて逆量子化し、前記逆量子化したデ
ータを符号化時に用いた直行変換と逆関数により変換を
行い前記逆関数変換を行ったデータを回転処理、水平ミ
ラー処理、垂直ミラー処理の組み合わせで回転変換する
よう構成した。
According to the present invention, an image code obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization and entropy coding on each block is obtained. Image encoding data display conversion method for rotating and displaying encoded data, wherein the entropy decoding is performed by entropy decoding based on information used at the time of encoding the entropy encoded image encoded data for each block. The inversely quantized data is inversely quantized based on information used at the time of encoding, and the inversely transformed data is subjected to the inverse function transform by performing the orthogonal transform and the inverse function used at the time of encoding to perform the inverse processing. The rotation conversion is configured by a combination of mirror processing and vertical mirror processing.

【0018】更に、本発明は、画像データを所定画素単
位のブロックに分割し、該各ブロックに対し少なくとも
直行変換と、量子化と、エントロピー符号化とを順次に
行い符号化して得られる画像符号化データを、回転表示
する画像符号化データ表示変換方法であって、前記ブロ
ック毎に前記エントロピー符号化された画像符号化デー
タを符号化時に用いた情報に基づいてエントロピー復号
化し、前記エントロピー復号化したデータを符号化時に
用いた情報に基づいて逆量子化し、前記逆量子化したデ
ータを符号化時に用いた直行変換と逆関数の変換を行い
前記逆関数変換を行ったデータを回転処理、水平ミラー
処理、垂直ミラー処理の組み合わせで回転変換し、該回
転変換に90°回転が含まれる場合に、量子化テーブル
のデータの並びを再配置するよう構成した。
Further, according to the present invention, an image code obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization and entropy coding on each block is obtained. Image encoding data display conversion method for rotating and displaying encoded data, wherein the entropy decoding is performed by entropy decoding based on information used at the time of encoding the entropy encoded image encoded data for each block. The inversely quantized data is inversely quantized based on the information used at the time of encoding, the inversely transformed data used at the time of encoding is subjected to the orthogonal transformation and the inverse function, and the inversely transformed data is subjected to rotation processing and horizontal transformation. When the rotation conversion is performed by a combination of the mirror processing and the vertical mirror processing, and the rotation conversion includes a 90 ° rotation, the arrangement of the data in the quantization table is changed. It was constructed to place.

【0019】[0019]

【発明の実施の形態】本発明の実施形態を図面を参照し
つつ説明する。以下、符号化画像データの例としてJP
EGデータを用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to the drawings. Hereinafter, JP as an example of encoded image data will be described.
This will be described using EG data.

【0020】以下の実施形態で、JPEGデータの回転
・ミラー表示変換は、図7に示すような装置例によって
実現される。図7において画像符号化データ表示変換装
置709は、所定の処理を行うCPU701、データや
制御などを受け渡すバス702、プログラムやデータ等
を記憶するハードディスク、フロッピー、CD−ROM
やMOなどの記憶装置703、プログラムやデータを貯
えるメモリ等の主記憶装置705、キーボードやマウス
などの入力装置706、ネットワークボードやモデム等
の通信制御装置707、CCD等のカメラやスキャナな
どの画像入力装置710を備える。この装置において、
上記各構成要素は、互いに情報伝達が可能なように、バ
ス702にて接続されている。また、画像符号化データ
表示変換装置709は、電話回線やLANのような通信
網708を用いて、この通信網708につながる他の装
置と、データやプログラムを送受信できるものとする。
In the following embodiment, the rotation / mirror conversion of JPEG data is realized by an example of an apparatus as shown in FIG. 7, an image coded data display conversion device 709 includes a CPU 701 for performing predetermined processing, a bus 702 for transferring data and control, a hard disk for storing programs and data, a floppy disk, and a CD-ROM.
Storage device 703 such as a memory and an MO, a main storage device 705 such as a memory for storing programs and data, an input device 706 such as a keyboard and a mouse, a communication control device 707 such as a network board and a modem, and a camera and a scanner such as a CCD. An input device 710 is provided. In this device,
The above components are connected by a bus 702 so that information can be transmitted to each other. The image coded data display conversion device 709 can transmit and receive data and programs to and from another device connected to the communication network 708 by using a communication network 708 such as a telephone line or a LAN.

【0021】なお、記憶装置703、主記憶705、通
信制御装置707は、画像符号化データ表示変換装置7
09で実行されるプログラムに従って、CPU701を
介して送る制御やデータによって制御されるものとす
る。
Note that the storage device 703, the main storage 705, and the communication control device 707 are the image encoded data display conversion device 7
It is assumed that control is performed by control and data transmitted via the CPU 701 in accordance with the program executed in step 09.

【0022】以下の実施形態で用いる、JPEGデータ
回転・ミラー表示変換を行うプログラムと、変換対象と
なるJPEGデータは、通信網708を介した通信網上
の他の装置または記憶装置703から読み込むことがで
きる。また、JPEGデータは、画像入力装置710か
ら直接画像を入力し、画像入力装置710でJPEG符
号化をおこなったデータ、または撮り込んだ画像をCP
U701を用いてプログラムで符号化したデータであっ
てもかまわない。また、回転・ミラー表示変換したJP
EGデータは、記憶装置703または通信網708とを
介して他の装置に送り出す事ができる。また、プログラ
ムの実行に際して入力が必要な場合は、入力装置706
から入力することができるものとする。
The JPEG data rotation / mirror display conversion program used in the following embodiment and the JPEG data to be converted are read from another device on the communication network via the communication network 708 or the storage device 703. Can be. As for the JPEG data, an image is directly input from the image input device 710, and the data obtained by performing the JPEG encoding by the image input device 710 or the captured image is converted into a CP.
Data encoded by a program using U701 may be used. In addition, the JP that has been rotated and mirrored
The EG data can be sent to another device via the storage device 703 or the communication network 708. If an input is required to execute the program, the input device 706 is used.
Can be entered from

【0023】また、記憶装置703、通信制御装置70
7と画像入力装置710のうち直接データやプログラム
の入出力と関係無い装置がある場合は、その装置を図7
の構成からはずす事が出来る。
The storage device 703, the communication control device 70
7 and the image input device 710, if there is a device that is not directly related to input / output of data or a program, the device is connected to FIG.
Can be removed from the configuration.

【0024】次に、実施形態では前記した装置上で動く
プログラムで実現される画像符号化データ表示変換方法
について詳しく説明する。上記プログラムは、情報処理
装置に読み取り可能な情報記録媒体に格納され、情報処
理装置に読み込まれることにより、情報処理装置にプロ
グラムの有する機能を実行させるものである。以下の実
施形態では、すでに符号化されたJPEGデータを回転
・ミラー表示変換したJPEGデータの作成方法につい
て説明する。この回転・ミラー表示変換には、右90°
回転、180°回転、左90°回転、ミラー、右90°
回転ミラー、180°回転ミラー、左90°回転ミラー
の7通りがある。本実施の形態は前記7通り総ての変換
を実現できる。また、画像符号化データ表示変換方法を
実現するプログラムは、あらかじめ入力装置706でど
の回転・ミラー表示変換を行うか入力して実行するか、
またはプログラム自身があらかじめどの回転・ミラー表
示変換を行うかを決めてあってもよい。
Next, an embodiment will be described in detail with respect to a method of converting and displaying image encoded data realized by a program running on the above-mentioned apparatus. The program is stored in an information recording medium that can be read by the information processing device, and is read by the information processing device to cause the information processing device to execute a function of the program. In the following embodiment, a method of creating JPEG data obtained by rotating / mirror-converting already encoded JPEG data will be described. 90 ° right
Rotation, 180 ° rotation, 90 ° left rotation, mirror, 90 ° right
There are seven types: rotating mirror, 180 ° rotating mirror, and left 90 ° rotating mirror. In the present embodiment, all of the above seven conversions can be realized. Also, the program for realizing the image encoded data display conversion method is determined by inputting which rotation / mirror display conversion is to be performed by the input device 706 in advance, and executing the program.
Or program itself may each other to decide whether to which rotational mirror display converter beforehand.

【0025】本発明による画像符号化データ表示変換方
法の第1の実施形態を図1のフローチャートを用いて説
明する。以下では、説明を簡単にするため、単一の色の
画像の場合を説明するが、複数の色を含む場合も同様に
処理することができる。
A first embodiment of a method for converting and displaying image encoded data according to the present invention will be described with reference to the flowchart of FIG. In the following, a case of an image of a single color will be described for simplicity, but the same processing can be performed for a case including a plurality of colors.

【0026】まず、変換対象のJPEGデータをハフマ
ン復号化し、量子化DCT係数ブロックにする(ステッ
プ101)。ここで用いるハフマンテーブルは、変換対
象のJPEGデータに含まれるデータを用いる。次に、
ステップ101で符号化した量子化DCT係数ブロック
を逆量子化する(ステップ102)。この逆量子化で
は、変換対象のJPEGデータに含まれる量子化テーブ
ルを用いる。このステップ101とステップ102の処
理を符号化したすべての8×8のブロックに対しておこ
なう。図8に、横幅24画素、縦幅16画素のJPEG
データを復号化したブロックの配置例を示す。この実施
形態では、この図8が示すように、8×8のDCT係数
ブロックが横3ブロック、縦2ブロックが、ステップ1
01とステップ102によって、A’、B’、C’、
D’、E’、F’の順で復号化されたとする。
First, JPEG data to be converted is Huffman-decoded to obtain a quantized DCT coefficient block (step 101). The Huffman table used here uses data included in the JPEG data to be converted. next,
The quantized DCT coefficient block encoded in step 101 is inversely quantized (step 102). In this inverse quantization, a quantization table included in the JPEG data to be converted is used. The processing of steps 101 and 102 is performed on all the encoded 8 × 8 blocks. FIG. 8 shows a JPEG having a width of 24 pixels and a height of 16 pixels.
4 shows an example of the arrangement of blocks obtained by decoding data. In this embodiment, as shown in FIG. 8, an 8 × 8 DCT coefficient block has three horizontal blocks and two vertical blocks have step 1.
01 and step 102, A ', B', C ',
It is assumed that decoding is performed in the order of D ', E', and F '.

【0027】次に、その復号化したDCT係数ブロック
毎に回転・ミラー表示変換処理おこなう(ステップ10
3)。この処理には基本の変換が3通りある。以下、図
9、図10、図11を用いて、詳細を示す。
Next, a rotation / mirror display conversion process is performed for each of the decoded DCT coefficient blocks (step 10).
3). This processing has three basic conversions. Hereinafter, details will be described with reference to FIGS. 9, 10, and 11.

【0028】図9は、画像を右90°回転および水平方
向ミラー表示変換を行うための処理を表した図である。
以下、この処理を回転処理と呼ぶものする。図9におい
て、901は処理前の8×8の係数ブロック、902は
処理後の8×8の係数ブロックである。処理前の係数ブ
ロック901において、水平方向はx、垂直方向はyの
座標で表され、係数の値はa(x)(y)で表されているも
のとする。この回転処理では、係数ブロック901の係
数のxとyを入れ替えた座標に値を並び替える。この並
び替えによって変換されたのが、係数ブロック902で
ある。
FIG. 9 is a diagram showing processing for rotating an image by 90 ° clockwise and performing horizontal mirror display conversion.
Hereinafter, this processing is referred to as rotation processing. In FIG. 9, reference numeral 901 denotes an 8 × 8 coefficient block before processing, and 902 denotes an 8 × 8 coefficient block after processing. In the coefficient block 901 before the processing, the horizontal direction is represented by x and the vertical direction is represented by y, and the coefficient value is represented by a (x) (y). In this rotation processing, the values are rearranged to the coordinates where the coefficients x and y of the coefficient block 901 have been exchanged. The coefficient block 902 is converted by the rearrangement.

【0029】図10は、画像を水平方向ミラー表示変換
にするための処理を表した図である。以下、この処理を
水平ミラー処理と呼ぶものとする。図10において、1
001は処理後の8×8の係数ブロックであり、座標と
係数の値の意味は図9と同じとする。この水平ミラー処
理では、xが奇数の座標の係数の正負号を反転させる。
この処理によって変換されたのが、係数ブロック100
2である。
FIG. 10 is a diagram showing processing for converting an image into horizontal mirror display conversion. Hereinafter, this processing is referred to as horizontal mirror processing. In FIG. 10, 1
Reference numeral 001 denotes an 8 × 8 coefficient block after processing, and the meanings of the coordinates and the coefficient values are the same as those in FIG. In the horizontal mirror process, x inverts the sign of the coefficient of the odd coordinate.
The result of this processing is that the coefficient block 100
2.

【0030】図11は、画像を垂直方向ミラー表示変換
にするための処理を表した図である。以下、この処理を
垂直ミラー処理と呼ぶものとする。図11において、1
102は処理後の8×8の係数ブロックであり、座標と
係数の値の意味は図9と同じ物とする。この垂直ミラー
処理では、yが奇数の座標の係数の正負号を反転させ
る。この処理によって変換されたのが、係数ブロック1
102である。
FIG. 11 is a diagram showing a process for converting an image into vertical mirror display conversion. Hereinafter, this processing is referred to as vertical mirror processing. In FIG. 11, 1
Reference numeral 102 denotes an 8 × 8 coefficient block after processing, and the meanings of the coordinates and the coefficient values are the same as those in FIG. In this vertical mirror process, y inverts the sign of the coefficient of an odd coordinate. The coefficient block 1 converted by this processing is
102.

【0031】回転・ミラー表示変換はここで説明した3
通りの変換の組み合わせて、DCT係数ブロック毎に変
換を行って実現する。たとえば、右90°回転の変換を
おこなうには、DCT係数ブロック毎に回転処理を行っ
た後水平ミラー処理、または垂直ミラー処理をおこなっ
た後回転処理をおこなう。また、180°回転の変換の
場合には、DCT係数ブロック毎に垂直ミラー処理と水
平ミラー処理をおこなう。また、左90°回転変換の場
合には、DCT係数ブロック毎に回転処理を行った後垂
直ミラー処理、または水平ミラー処理をおこなった後回
転処理をおこなう。また、ミラー変換の場合には、DC
T係数ブロック毎に水平ミラー変換をおこなう。また、
右90°回転ミラー変換の場合には、回転変換をおこな
う。また、180°回転ミラー変換の場合は、垂直ミラ
ー処理をおこなう。また、左90°回転ミラー変換の場
合には、たとえば、回転処理を行った後水平ミラー変換
と垂直ミラー変換をおこなえばよい。
The rotation / mirror display conversion is the same as that described in the third embodiment.
This is realized by performing a transform for each DCT coefficient block by combining the different transforms. For example, in order to perform 90 ° clockwise conversion, a rotation process is performed for each DCT coefficient block and then a horizontal mirror process or a vertical mirror process is performed and then a rotation process is performed. In the case of the 180 ° rotation conversion, vertical mirror processing and horizontal mirror processing are performed for each DCT coefficient block. In the case of the 90 ° rotation conversion, a rotation process is performed for each DCT coefficient block and then a vertical mirror process or a horizontal mirror process is performed and then a rotation process is performed. In the case of mirror conversion, DC
Horizontal mirror conversion is performed for each T coefficient block. Also,
In the case of right 90 ° rotation mirror conversion, rotation conversion is performed. In the case of 180 ° rotation mirror conversion, vertical mirror processing is performed. Further, in the case of 90 ° left-rotation mirror conversion, for example, after performing rotation processing, horizontal mirror conversion and vertical mirror conversion may be performed.

【0032】次に、変換をおこなったブロックの処理順
序の配置を回転・ミラー表示変換にあわせて再配置する
(ステップ104)。この再配置はDCT係数ブロック
を、変換前の画像データの8×8の画素ブロックが、回
転・ミラー処理後に画像データのどの位置に再配置され
るかに依存する。たとえば、図8の符号化したDCT係
数ブロックを変換したDCT係数ブロックの再配置例を
図12に示す。図12において、(a)は右90°回転、
(b)は180°回転、(c)は左90°回転、(d)はミラ
ー、(e)は右90°回転ミラー、(f)180°回転ミラ
ー、(g)左90°回転ミラーの場合のDCT係数ブロッ
クの再配置例をあらわしている。このブロックの再配置
では、変換によってそのブロックが画像のどの位置に移
動すべきかを考慮して再配置が行われる。そして、以後
の処理のDCT係数ブロックの処理順序は入力された順
序と異なり、左上のブロックから順に右方向に処理し、
1ライン分が終了すれば次のラインの左のブロックから
順に処理する。たとえば、図12の(a)右90°回転の
場合には、D’、A’、E’、B’、F’、C’の順に
処理をおこなう。このステップ104は、ステップ10
3と処理が前後しても問題はない。
Next, the arrangement of the processing order of the converted blocks is rearranged in accordance with the rotation / mirror display conversion (step 104). This rearrangement depends on the position of the DCT coefficient block where the 8 × 8 pixel block of the image data before the conversion is rearranged after the rotation / mirror processing. For example, FIG. 12 shows a rearrangement example of DCT coefficient blocks obtained by transforming the encoded DCT coefficient blocks shown in FIG. In FIG. 12, (a) is a 90-degree right rotation,
(b) 180 degree rotation, (c) 90 degree left rotation, (d) mirror, (e) 90 degree right rotation mirror, (f) 180 degree rotation mirror, (g) left 90 degree rotation mirror Of the DCT coefficient block in the above case. In the rearrangement of the block, the rearrangement is performed in consideration of where in the image the block should be moved by the conversion. Then, the processing order of the DCT coefficient blocks in the subsequent processing is different from the input order, and the processing is performed rightward sequentially from the upper left block,
When one line is completed, processing is performed in order from the left block of the next line. For example, in the case of (a) 90 ° clockwise rotation in FIG. 12, processing is performed in the order of D ′, A ′, E ′, B ′, F ′, and C ′. This step 104 is equivalent to step 10
There is no problem even if the processing is before or after 3.

【0033】次に、DCT係数ブロック毎に量子化をお
こない(ステップ105)、量子化係数ブロックにす
る。このときに量子化テーブルは8×8の任意の量子化
値のブロックを用いることができる。
Next, quantization is performed for each DCT coefficient block (step 105) to obtain a quantized coefficient block. At this time, the quantization table can use a block of an arbitrary 8 × 8 quantization value.

【0034】そして、最後に量子化DCT係数ブロック
毎にハフマン符号化する(ステップ106)。このとき
用いるハフマンテーブルは、あらかじめ用意していたテ
ーブルであっても、ハフマン符号化毎に作成したテーブ
ルであってもよい。
Finally, Huffman coding is performed for each quantized DCT coefficient block (step 106). The Huffman table used at this time may be a table prepared in advance or a table created for each Huffman encoding.

【0035】このハフマン符号化によって作成されたJ
PEGデータには、画像の縦横の画素数などの画像情報
や符号化時に用いた量子化テーブルとハフマンテーブル
も含まれる。しかし、もし右90°回転や左90°回転
にする場合には、画像の縦と横に関する情報、たとえば
縦横の画素数を変換前のJPEGデータと縦横の値を入
れ替える。それ以外のデータは変換前のJPEGデータ
と同じでもよい。
The J generated by this Huffman coding
The PEG data also includes image information such as the number of vertical and horizontal pixels of the image, and a quantization table and a Huffman table used for encoding. However, if the image is rotated 90 ° clockwise or 90 ° counterclockwise, information on the vertical and horizontal directions of the image, for example, the vertical and horizontal values of the JPEG data before and after conversion of the number of vertical and horizontal pixels are exchanged. Other data may be the same as the JPEG data before conversion.

【0036】以上のようにすることによって、JPEG
データの回転・ミラー表示変換を実現することができ
る。
As described above, JPEG
Data rotation / mirror display conversion can be realized.

【0037】上記の実施の形態では、図8のようなDC
T係数ブロック配置を符号化したJPEGデータが変換
対象である場合を説明したが、変換対象のJPEGデー
タのDCT係数ブロックの順序が図8とは異なる場合が
ある。それは、2個以上のとなり同士のDCT係数ブロ
ックを1つの処理単位として符号化してある場合であ
る。以下、この処理単位をマクロブロックと呼ぶ。その
例を図15、16を用いて説明する。図15、16にお
いて、1501と1504、1601、1604は4×
4のDCT係数ブロックの配置例、1502、1602
は符号化時のDCT係数ブロックの符号化の単位である
マクロブロック、1503、1505、1603、16
05はDCT係数ブロックの処理順である。
In the above-described embodiment, the DC as shown in FIG.
Although the case where the JPEG data obtained by encoding the T coefficient block arrangement is to be converted has been described, the order of the DCT coefficient blocks of the JPEG data to be converted may be different from that in FIG. This is a case where two or more adjacent DCT coefficient blocks are encoded as one processing unit. Hereinafter, this processing unit is called a macroblock. An example will be described with reference to FIGS. 15 and 16, 1501 and 1504, 1601 and 1604 are 4 ×
4, DCT coefficient block arrangement example, 1502, 1602
Are macroblocks 1503, 1505, 1603, and 16 which are units of coding of DCT coefficient blocks at the time of coding.
05 is the processing order of the DCT coefficient block.

【0038】図15のDCT係数ブロック配置1501
では、DCT係数ブロックが縦2、横1でマクロブロッ
クが形成されている。つまりマクロブロック1502
は、A’とB’で形成されており、同様に、C’と
D’、E’とF’、G’とH’、I’とJ’、K’と
L’、M’とN’、O’とP’がマクロブロックを形成
している。この場合のマクロブロックの符号化順序は、
まず左上から順に右方向に進み、右端に達したら一段下
の左端のマクロブロックにもどり、また右方向に進む。
これを繰り返す。また、マクロブロック内のDCT係数
ブロックの符号化順序もこれと同じである。よって、1
501のようなDCT係数ブロック配置の場合には、1
503のような順序でDCT係数ブロックを符号化して
JPEGデータとなる。
The DCT coefficient block arrangement 1501 in FIG.
In FIG. 5, a macroblock is formed by two DCT coefficient blocks and one horizontal. That is, the macro block 1502
Is formed of A 'and B', and similarly, C 'and D', E 'and F', G 'and H', I 'and J', K 'and L', M 'and N'',O' and P 'form a macroblock. The coding order of the macroblock in this case is
First, it proceeds from the upper left to the right in order. When it reaches the right end, it returns to the leftmost macroblock one step lower, and then goes to the right.
Repeat this. Also, the coding order of the DCT coefficient blocks in the macroblock is the same. Therefore, 1
In the case of a DCT coefficient block arrangement like 501, 1
The DCT coefficient blocks are encoded in an order such as 503 to become JPEG data.

【0039】たとえば、このDCT係数ブロック配置1
501で符号化したJPEGデータを右90°回転変換
を行う場合を説明する。まず、図1のステップ101、
102によって、1503の順序でDCT係数ブロック
が復号化され、1501のDCT係数ブロック配置を得
ることができる。これをステップ103で右90°回転
変換を行い、ステップ104の再配置によって得られる
のがDCT係数ブロック配置1504である。このと
き、DCT係数ブロックにおいてマクロブロックの関係
は変更しない。たとえば、マクロブロック1502はD
CT係数ブロック配列1504においてもA’とB’で
構成する。次に、ステップ105と106で再びJPE
Gデータに符号化するが、このときの処理順序は前述し
た方法に従って、1505の順序で符号化する。また、
逆にDCT係数ブロック配置1504で符号化したJP
EGデータを、左90°回転変換を行う場合には、ステ
ップ103、104で左90°回転し、再配置したDC
T係数ブロック配置1501にして、ステップ105、
106で、1503の順に従ってDCT係数ブロックを
符号化しなければいけない。
For example, this DCT coefficient block arrangement 1
The case where the JPEG data encoded in 501 is subjected to a 90 ° right rotation conversion will be described. First, step 101 in FIG.
According to 102, the DCT coefficient blocks are decoded in the order of 1503, and a DCT coefficient block arrangement of 1501 can be obtained. A DCT coefficient block arrangement 1504 is obtained by performing a 90-degree right rotation conversion in step 103 and rearranging in step 104. At this time, the relationship between the macro blocks in the DCT coefficient block is not changed. For example, macro block 1502 is D
The CT coefficient block array 1504 is also composed of A 'and B'. Next, in steps 105 and 106, the JPE
The data is coded into G data. In this case, the data is coded in the order of 1505 according to the method described above. Also,
Conversely, JP coded by DCT coefficient block arrangement 1504
If the EG data is to be rotated by 90 ° to the left, in steps 103 and 104, the EG data is rotated by 90 ° to the left to
In the T coefficient block arrangement 1501, step 105,
At 106, the DCT coefficient blocks must be encoded according to the order of 1503.

【0040】また、図16のDCT係数ブロック配置1
601では、DCT係数ブロックが縦2、横2でマクロ
ブロックが形成されている。たとえば、マクロブロック
1602はA’とB’とC’とD’から形成される。こ
のDCT係数ブロック配置で符号化したJPEGデータ
を右90°回転変換すると、まず、図1のステップ10
1、102によって、1603の順序でDCT係数ブロ
ックが復号化され、1601のDCT係数ブロック配置
を得ることができる。これをステップ103で右90°
回転変換を行い、ステップ104の再配置によって得ら
れるのがDCT係数ブロック配置1604である。この
とき、DCT係数ブロックにおいてマクロブロックの関
係は変更しない。次に、ステップ105と106で再び
JPEGデータに符号化するが、このときの処理順序は
前述した方法に従って、1605の順序で符号化する。
The DCT coefficient block arrangement 1 shown in FIG.
In 601, a macroblock is formed of two vertical and two DCT coefficient blocks. For example, macroblock 1602 is formed from A ', B', C ', and D'. When the JPEG data encoded by the DCT coefficient block arrangement is rotated right by 90 °, first, step 10 in FIG.
According to 1, 102, DCT coefficient blocks are decoded in the order of 1603, and a DCT coefficient block arrangement of 1601 can be obtained. This is right 90 ° in step 103
A DCT coefficient block arrangement 1604 is obtained by performing the rotation transformation and relocating in step 104. At this time, the relationship between the macro blocks in the DCT coefficient block is not changed. Next, in steps 105 and 106, encoding is again performed on JPEG data. In this case, the encoding is performed in the order of 1605 according to the method described above.

【0041】本発明による画像符号化データ表示変換方
法の第2の実施形態を図13のフローチャートを用いて
説明する。図13のフローチャートにおいて、図1と符
号が同じ処理については、同じ処理をおこなうため特に
詳細な説明はおこなわない。
A second embodiment of the image coded data display conversion method according to the present invention will be described with reference to the flowchart of FIG. In the flowchart of FIG. 13, the processes having the same reference numerals as those in FIG.

【0042】まず、変換対象のJPEGデータをハフマ
ン復号化し、量子化DCT係数ブロックにする(ステッ
プ101)。次に、復号化した量子化DCT係数ブロッ
ク毎に回転・ミラー表示変換処理おこなう(ステップ1
303)。次に、変換処理をおこなった量子化DCT係
数ブロックを、回転・ミラー表示変換にあわせて再配置
をおこなう(ステップ1304)。このステップ130
1とステップ1302の処理内容は、第1の実施形態の
図1におけるステップ103とステップ104とそれぞ
れ同じである。しかし、第1の実施形態のほうではDC
T係数ブロックが処理対象であったのに対して、この実
施形態では量子化DCT係数ブロックに対して行われる
点が異なる。そして最後に、その再配置の順に従って量
子化DCT係数ブロック毎にハフマン符号化をおこなう
(ステップ106)。
First, JPEG data to be converted is Huffman-decoded to obtain a quantized DCT coefficient block (step 101). Next, rotation / mirror display conversion processing is performed for each decoded quantized DCT coefficient block (step 1).
303). Next, the quantized DCT coefficient block subjected to the transform processing is rearranged in accordance with the rotation / mirror display transformation (step 1304). This step 130
The processing contents of Step 1 and Step 1302 are the same as Step 103 and Step 104 in FIG. 1 of the first embodiment, respectively. However, in the first embodiment, DC
While the T coefficient block is a processing target, this embodiment is different in that the processing is performed on a quantized DCT coefficient block. Finally, Huffman coding is performed for each quantized DCT coefficient block in accordance with the rearrangement order (step 106).

【0043】このハフマン符号化によって作成されたJ
PEGデータには、画像の縦横の画素数などの画像情報
や量子化テーブルと符号化時に用いたハフマンテーブル
も含まれる。量子化テーブルは、変換対象のJPEGデ
ータに含まれていた量子化テーブルと同じテーブルを変
換後のJPEGデータに含める。しかし、もし右90°
回転や左90°回転にする場合には、画像の縦と横に関
する情報、たとえば縦横の画素数を変換前のJPEGデ
ータと縦横の値を入れ替えと、さらに量子化テーブルを
構成する量子化値の配置を転換して、その処理後の量子
化テーブルをJPEGデータに含める。
The J created by this Huffman coding
The PEG data also includes image information such as the number of vertical and horizontal pixels of the image, a quantization table, and a Huffman table used for encoding. As the quantization table, the same table as the quantization table included in the JPEG data to be converted is included in the converted JPEG data. But if right 90 °
When the image is rotated or rotated 90 degrees to the left, information on the vertical and horizontal directions of the image, for example, the number of vertical and horizontal pixels is replaced with the JPEG data before the conversion and the vertical and horizontal values, and the quantization value of the quantization table is further changed. The arrangement is changed, and the quantization table after the processing is included in the JPEG data.

【0044】この量子化テーブルの量子化値の配置転換
の例を図14に示す。図14はの1401は配置転換前
の量子化テーブル、1402は配置転換後の量子化テー
ブルである。量子化テーブル1401に、図9の回転処
理と同じ処理をほどこすことによって量子化テーブル1
402を得ることができる。
FIG. 14 shows an example of the arrangement change of the quantization values in this quantization table. In FIG. 14, reference numeral 1401 denotes a quantization table before rearrangement, and 1402 denotes a quantization table after rearrangement. By applying the same processing to the quantization table 1401 as the rotation processing of FIG.
402 can be obtained.

【0045】以上のようにすることによって、JPEG
データの回転・ミラー表示変換を実現することができ
る。
As described above, JPEG
Data rotation / mirror display conversion can be realized.

【0046】この画像の回転・ミラー表示変換方法は、
直行変換を用いた画像符号化方式、たとえば、動画像符
号化の国際標準であるMPEG(Motion Picture Expert
s Group)でも同様な方法で回転・ミラー表示変換ができ
る。
This image rotation / mirror display conversion method is as follows.
An image coding method using orthogonal transform, for example, MPEG (Motion Picture Expert) which is an international standard for moving image coding.
s Group) can perform rotation and mirror display conversion in the same way.

【0047】[0047]

【発明の効果】本発明によれば、直行変換、量子化、エ
ントロピー符号化によって符号化された符号化画像デー
タを、回転・ミラー表示変換された符号化画像データに
変換することができる。
According to the present invention, encoded image data encoded by orthogonal transformation, quantization, and entropy encoding can be converted into encoded image data that has been rotated and mirror-display-converted.

【0048】また、本発明の第1の実施形態では、処理
手順にDCTやIDCTのような時間が多くかかる直行
変換をないため、高速にでき、また、直行変換による浮
動小数点演算の誤差が発生しないため画質の劣化をおさ
えた変換ができる。
Further, in the first embodiment of the present invention, since the processing procedure does not involve a time-consuming orthogonal transformation such as DCT or IDCT, the processing can be performed at a high speed, and an error of floating-point operation due to the orthogonal transformation occurs. Therefore, the conversion can be performed while suppressing the deterioration of the image quality.

【0049】また、本発明の第2の実施形態では、第1
の実施形態同様に直行変換を行わないとともに、さらに
量子化・逆量子化の処理も省いたため、さらに高速に変
換ができ、変換前の画像符号化データの量子化テーブル
を変換後の画像符号化データの量子化テーブルと同じテ
ーブルを用いることによって、画質の劣化が全くない変
換ができる。
In the second embodiment of the present invention, the first
In the same manner as in the embodiment, the orthogonal transform is not performed, and furthermore, the quantization and inverse quantization processes are omitted, so that the transform can be performed at a higher speed. By using the same table as the quantization table for the coded data, conversion can be performed without any deterioration in image quality.

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1の実施形態のフローチャートを示す図FIG. 1 is a diagram showing a flowchart of a first embodiment.

【図2】JPEGの符号化手順を示す図FIG. 2 is a diagram showing a JPEG encoding procedure;

【図3】静止画データのブロック分割の説明図FIG. 3 is an explanatory diagram of block division of still image data.

【図4】ジグザグスキャンの概要を説明する図FIG. 4 is a view for explaining the outline of zigzag scanning.

【図5】JPEGの復号化手順を示す図FIG. 5 is a diagram showing a decoding procedure of JPEG.

【図6】従来のJPEGデータ回転・ミラー表示変換手
順を示す図
FIG. 6 is a diagram showing a conventional JPEG data rotation / mirror display conversion procedure.

【図7】画像符号化データ表示変換装置構成図FIG. 7 is a configuration diagram of an image coded data display conversion device.

【図8】JPEGデータを復号化したDCT係数ブロッ
クの配置を示す図
FIG. 8 is a diagram showing an arrangement of DCT coefficient blocks obtained by decoding JPEG data.

【図9】DCT係数ブロック回転・ミラー表示変換処理
の説明図
FIG. 9 is an explanatory diagram of DCT coefficient block rotation / mirror display conversion processing;

【図10】DCT係数ブロック回転・ミラー表示変換処
理の説明図
FIG. 10 is an explanatory diagram of DCT coefficient block rotation / mirror display conversion processing;

【図11】DCT係数ブロック回転・ミラー表示変換処
理の説明図
FIG. 11 is an explanatory diagram of DCT coefficient block rotation / mirror display conversion processing;

【図12】DCT係数ブロックの再配置を示す図FIG. 12 is a diagram showing rearrangement of DCT coefficient blocks.

【図13】第2の実施形態のフローチャートFIG. 13 is a flowchart of the second embodiment.

【図14】量子化テーブルの量子化値配置転換を示す図FIG. 14 is a diagram illustrating quantization value arrangement conversion of a quantization table.

【図15】DCT係数ブロックのスキャン順の説明図FIG. 15 is an explanatory diagram of a scan order of DCT coefficient blocks.

【図16】DCT係数ブロックのスキャン順の説明図FIG. 16 is an explanatory diagram of a scan order of DCT coefficient blocks.

【符号の説明】[Explanation of symbols]

301・・・静止画データ 701・・・CPU 702・・・バス 703・・・記憶装置 705・・・主記憶 706・・・入力装置 707・・・通信制御装置 708・・・通信網 709・・・符号化画像表示変換装置 710・・・画像入力装置 901・・・処理前の係数ブロック 902・・・回転処理後の係数ブロック 902・・・回転処理後の係数ブロック 1001・・・水平ミラー処理後の係数ブロック 1101・・・垂直ミラー処理後の係数ブロック 1401・・・配置転換前の量子化テーブル 1402・・・配置転換後の量子化テーブル 1501、1504、1601、1604・・・DCT
係数ブロック配置 1502、1602・・・マクロブロック 1503、1505、1603、1605・・・スキャ
ン順
301: Still image data 701: CPU 702: Bus 703: Storage device 705: Main memory 706: Input device 707: Communication control device 708: Communication network 709 ..Coding image display conversion device 710 ... Image input device 901 ... Coefficient block before processing 902 ... Coefficient block after rotation processing 902 ... Coefficient block after rotation processing 1001 ... Horizontal mirror Coefficient block after processing 1101 ... Coefficient block after vertical mirror processing 1401 ... Quantization table before rearrangement conversion 1402 ... Quantization table after rearrangement conversion 1501, 1504, 1601, 1604 ... DCT
Coefficient block arrangement 1502, 1602 ... macro block 1503, 1505, 1603, 1605 ... scan order

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】画像データを少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、 前記符号化された画像符号化データをエントロピー復号
化し、該復号化した画像データを変換し、前記画像デー
タを回転表示するため直行変換データを生成することを
特徴とする画像符号化データ表示変換方法。
An image-encoded data display conversion method for rotating and displaying image-encoded data obtained by sequentially performing at least orthogonal transformation, quantization, and entropy encoding on image data, the method comprising: An image encoded data display conversion method comprising: performing entropy decoding on the encoded image encoded data; converting the decoded image data; and generating orthogonal transformation data for rotating and displaying the image data. .
【請求項2】画像データを所定画素単位のブロックに分
割し、該各ブロックに対し少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、 前記ブロック毎に前記エントロピー符号化された画像符
号化データをエントロピー復号化し、該復号した画像符
号化データを回転処理、水平ミラー処理、垂直ミラー処
理の組み合わせで回転変換することを特徴とする画像符
号化データ表示変換方法。
2. Image data obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization and entropy coding on each of the blocks, An image-encoded data display conversion method for rotating and displaying, wherein the entropy-encoded image-encoded data is entropy-decoded for each block, and the decoded image-encoded data is rotated, horizontally mirrored, and vertically mirrored. An image encoded data display conversion method characterized by performing rotation conversion by a combination of processes.
【請求項3】請求項2に記載の画像符号化データ表示変
換方法において、 直行変換はN×Nの画素ブロックを、N×Nの係数ブロ
ックに変換する処理であり、該係数ブロックの水平方向
と垂直方向の係数を座標で表わすと、 前記回転処理は、エントロピー復号化したデータの水平
方向の座標の係数を垂直方向の座標の係数とし、垂直方
向の座標の係数を水平方向の座標の係数とする変換であ
り、 前記水平ミラー処理は、エントロピー復号化したデータ
の水平方向の座標の奇数の係数の正負号を反転させる変
換であり、 前記垂直ミラー処理は、エントロピー復号化したデータ
の垂直方向の座標の奇数の係数の正負号を反転させるも
のであることを特徴とする画像符号化データ表示変換方
法。
3. The method according to claim 2, wherein the orthogonal transformation is a process of transforming an N × N pixel block into an N × N coefficient block, wherein the orthogonal transformation is performed in a horizontal direction of the coefficient block. And the coefficients in the vertical direction are represented by coordinates. In the rotation processing, the coefficients of the horizontal coordinates of the entropy-decoded data are used as the coefficients of the vertical coordinates, and the coefficients of the vertical coordinates are used as the coefficients of the horizontal coordinates. The horizontal mirror processing is a conversion for inverting the sign of an odd coefficient of horizontal coordinates of the entropy-decoded data, and the vertical mirror processing is a vertical direction of the entropy-decoded data. Wherein the sign of the odd coefficient of the coordinate of the image is inverted.
【請求項4】画像データを所定画素単位のブロックに分
割し、該各ブロックに対し少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、 前記ブロック毎に前記エントロピー符号化された画像符
号化データを符号化時に用いた情報に基づいてエントロ
ピー復号化し、前記エントロピー復号化したデータを符
号化時に用いた情報に基づいて逆量子化し、前記逆量子
化したデータを符号化時に用いた直行変換と逆関数によ
り変換を行い前記逆関数変換を行ったデータを回転処
理、水平ミラー処理、垂直ミラー処理の組み合わせで回
転変換することを特徴とする画像符号化データ表示変換
方法。
4. Image data obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization and entropy coding on each of the blocks, An image-encoded data display conversion method for rotating and displaying, wherein the entropy-encoded image-encoded data for each block is entropy-decoded based on information used at the time of encoding, and the entropy-decoded data is encoded. Inversely quantized based on the information used at the time of encoding, the inversely transformed data subjected to the inverse function transformation by performing the orthogonal transformation and the inverse function used at the time of encoding, and performing the rotation processing, the horizontal mirror processing, and the vertical An image encoded data display conversion method characterized by performing rotation conversion by a combination of mirror processing.
【請求項5】請求項4に記載の画像符号化データ表示変
換方法において、 直行変換はN×Nの画素ブロックを、N×Nの係数ブロ
ックに変換する処理であり、該係数ブロックの水平方向
と垂直方向の係数を座標で表わすと、前記回転処理は、
逆関数変換を行ったデータの水平方向の座標の係数を垂
直方向の座標の係数とし、垂直方向の座標の係数を水平
方向の座標の係数とする変換であり、 前記水平ミラー処理は、逆関数変換を行ったデータの水
平方向の座標の奇数の係数の正負号を反転させる変換で
あり、 前記垂直ミラー処理は、逆関数変換を行ったデータの垂
直方向の座標の奇数の係数の正負号を反転させるもので
あることを特徴とする画像符号化データ表示変換方法。
5. The method according to claim 4, wherein the orthogonal transform is a process of transforming an N × N pixel block into an N × N coefficient block, wherein the coefficient block has a horizontal direction. And the coefficients in the vertical direction are represented by coordinates,
The coefficient of the horizontal coordinate of the data subjected to the inverse function transformation is the coefficient of the vertical coordinate, and the coefficient of the vertical coordinate is the conversion of the coefficient of the horizontal coordinate.The horizontal mirror process is an inverse function. This is a conversion for inverting the sign of the odd coefficient of the horizontal coordinate of the converted data, and the vertical mirror processing is to convert the sign of the odd coefficient of the vertical coordinate of the inversely converted data. An image-encoded data display conversion method characterized by inverting.
【請求項6】画像データを所定画素単位のブロックに分
割し、該各ブロックに対し少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、 前記ブロック毎に前記エントロピー符号化された画像符
号化データをエントロピー復号化し、該復号した画像符
号化データを回転処理、水平ミラー処理、垂直ミラー処
理の組み合わせで回転変換し、該回転変換に90°回転
が含まれる場合に、量子化テーブルのデータの並びを前
記回転変換によってそのブロックが画像のどの位置に移
動すべきかを考慮して再配置することを特徴とする画像
符号化データ表示変換方法。
6. Image data obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization and entropy coding on each of the blocks, An image-encoded data display conversion method for rotating and displaying, wherein the entropy-encoded image-encoded data is entropy-decoded for each block, and the decoded image-encoded data is rotated, horizontally mirrored, and vertically mirrored. When the rotation conversion includes a 90 ° rotation, the arrangement of the data in the quantization table is rearranged in consideration of where the block should be moved to the image by the rotation conversion. A method for displaying and converting encoded image data.
【請求項7】画像データを所定画素単位のブロックに分
割し、該各ブロックに対し少なくとも直行変換と、量子
化と、エントロピー符号化とを順次に行い符号化して得
られる画像符号化データを、回転表示する画像符号化デ
ータ表示変換方法であって、 前記ブロック毎に前記エントロピー符号化された画像符
号化データを符号化時に用いた情報に基づいてエントロ
ピー復号化し、前記エントロピー復号化したデータを符
号化時に用いた情報に基づいて逆量子化し、前記逆量子
化したデータを符号化時に用いた直行変換と逆関数の変
換を行い前記逆関数変換を行ったデータを回転処理、水
平ミラー処理、垂直ミラー処理の組み合わせで回転変換
し、該回転変換に90°回転が含まれる場合に、量子化
テーブルのデータの並びを前記回転変換によってそのブ
ロックが画像のどの位置に移動すべきかを考慮して再配
置することを特徴とする画像符号化データ表示変換方
法。
7. Image data obtained by dividing image data into blocks of a predetermined pixel unit and sequentially performing at least orthogonal transformation, quantization, and entropy coding on each of the blocks, An image-encoded data display conversion method for rotating and displaying, wherein the entropy-encoded image-encoded data for each block is entropy-decoded based on information used at the time of encoding, and the entropy-decoded data is encoded. Inverse quantization based on the information used at the time of encoding, the inversely transformed data subjected to the orthogonal transformation and inverse function used at the time of encoding, and the inversely transformed data are subjected to rotation processing, horizontal mirror processing, vertical Rotation conversion is performed by a combination of mirror processing. If the rotation conversion includes a 90 ° rotation, the data arrangement in the quantization table is converted by the rotation conversion. Coded image data display conversion method characterized in that the block is rearranged in consideration of whether to move to any position of the image Te.
【請求項8】画像を入力する入力部と、処理部と、情報
処理部と、画像情報記憶部とを有する画像処理装置にお
いて、 前記入力部により入力された画像データを回転させて前
記画像情報記億部に記憶させる場合、前記処理部は、前
記入力部から入力された画像データを、所定画素単位の
ブロックに分割し、該各ブロックに対し少なくとも直行
変換し、直行変換した画像符号化データを回転処理、水
平ミラー処理、垂直ミラー処理の組み合わせで回転変換
し、前記画像情報記憶部に記憶させることを特徴とする
画像処理装置。
8. An image processing apparatus having an input unit for inputting an image, a processing unit, an information processing unit, and an image information storage unit, wherein the image data input by the input unit is rotated to obtain the image information. When storing the image data in the storage unit, the processing unit divides the image data input from the input unit into blocks of a predetermined pixel unit, performs at least orthogonal transformation on each of the blocks, and performs orthogonal transformation on the image encoded data. An image processing apparatus characterized in that the image data is rotationally converted by a combination of a rotation process, a horizontal mirror process, and a vertical mirror process, and stored in the image information storage unit.
【請求項9】請求項8記載の画像処理装置において、 前記画像符号化データには、水平方向と垂直方向のデー
タが係数として含まれており、 前記回転処理は、エントロピー復号化したデータの水平
方向の座標の係数を垂直方向の座標の係数とし、垂直方
向の座標の係数を水平方向の座標の係数とする変換であ
り、 前記水平ミラー処理は、エントロピー復号化したデータ
の水平方向の座標の奇数の係数の正負号を反転させる変
換であり、 前記垂直ミラー処理は、エントロピー復号化したデータ
の垂直方向の座標の奇数の係数の正負号を反転させるも
のであることを特徴とする画像処理装置。
9. The image processing apparatus according to claim 8, wherein the encoded image data includes data in horizontal and vertical directions as coefficients, and the rotation processing includes a horizontal interpolation of the entropy-decoded data. The coefficient of the coordinate of the direction is a coefficient of the coordinate of the vertical direction, and the coefficient of the coordinate of the vertical direction is a conversion of the coefficient of the horizontal coordinate, the horizontal mirror processing, the horizontal coordinate of the entropy-decoded data of the horizontal coordinate An image processing apparatus, which is a conversion for inverting the sign of an odd coefficient, wherein the vertical mirror processing is for inverting the sign of an odd coefficient of a vertical coordinate of the entropy-decoded data. .
【請求項10】請求項8記載の画像処理装置において、 前記処理部は、回転変換に90°回転が含まれる場合
に、量子化テーブルのデータの並びを前記回転変換によ
ってそのブロックが画像のどの位置に移動すべきかを考
慮して再配置する前記画像情報記憶部に記憶させること
を特徴とする画像処理装置。
10. The image processing apparatus according to claim 8, wherein, when the rotation conversion includes a 90 ° rotation, the processing unit changes the arrangement of the data of the quantization table so that the block of the image is converted into an image by the rotation conversion. An image processing device, wherein the image information is stored in the image information storage unit which is rearranged in consideration of whether to move to a position.
【請求項11】画像を入力する入力部と、処理部と、情
報処理部と、画像情報記憶部とを有する画像処理装置に
おいて、 前記入力部により入力された画像データを回転させて前
記画像情報記億部に記憶させる場合、前記処理部は、前
記入力部から入力された画像データを所定画素単位のブ
ロックに分割し、該各ブロックに対し少なくとも直行変
換し、該直行変換したデータを量子化し、前記ブロック
毎に前記エントロピー符号化された画像符号化データを
符号化時に用いた情報に基づいてエントロピー復号化
し、前記エントロピー復号化したデータを符号化時に用
いた情報に基づいて逆量子化し、前記逆量子化したデー
タを符号化時に用いた直行変換と逆関数の変換を行い前
記逆関数変換を行ったデータを回転処理、水平ミラー処
理、垂直ミラー処理の組み合わせで回転変換することを
特徴とする画像処理装置。
11. An image processing apparatus having an input unit for inputting an image, a processing unit, an information processing unit, and an image information storage unit, wherein the image data input by the input unit is rotated to obtain the image information. When storing in the storage unit, the processing unit divides the image data input from the input unit into blocks of a predetermined pixel unit, performs at least orthogonal transformation on each block, and quantizes the orthogonally transformed data. The entropy-encoded image-encoded data for each block is entropy-decoded based on information used at the time of encoding, and the entropy-decoded data is inversely quantized based on information used at the time of encoding. The inversely-quantized data is subjected to orthogonal transformation and inverse function transformation used in encoding, and the inverse-transformed data is rotated, horizontally mirrored, and vertically transformed. An image processing apparatus that performs rotation conversion by a combination of error processing.
【請求項12】請求項11記載の画像処理装置におい
て、 前記画像符号化データには、水平方向と垂直方向のデー
タが係数として含まれており、 前記回転処理は、逆関数変換を行ったデータの水平方向
の座標の係数を垂直方向の座標の係数とし、垂直方向の
座標の係数を水平方向の座標の係数とする変換であり、 前記水平ミラー処理は、逆関数変換を行ったデータの水
平方向の座標の奇数の係数の正負号を反転させる変換で
あり、 前記垂直ミラー処理は、逆関数変換を行ったデータの垂
直方向の座標の奇数の係数の正負号を反転させるもので
あることを特徴とする画像処理装置。
12. The image processing apparatus according to claim 11, wherein said encoded image data includes data in a horizontal direction and a vertical direction as coefficients, and in said rotation processing, data obtained by performing an inverse function transform. The horizontal mirror coefficient is a coefficient of a vertical coordinate, and the coefficient of the vertical coordinate is a coefficient of a horizontal coordinate. It is a conversion that inverts the sign of the odd coefficient of the direction coordinate, wherein the vertical mirror processing is to invert the sign of the odd coefficient of the vertical coordinate of the data subjected to the inverse function conversion. Characteristic image processing device.
【請求項13】請求項11記載の画像処理装置におい
て、 前記処理部は、前記回転変換に90°回転が含まれる場
合に、量子化テーブルのデータの並びを前記回転変換に
よってそのブロックが画像のどの位置に移動すべきかを
考慮して再配置することを特徴とする画像処理装置。
13. The image processing apparatus according to claim 11, wherein, when the rotation conversion includes a 90 ° rotation, the processing unit converts the data arrangement of the quantization table into a block of the image by the rotation conversion. An image processing apparatus for rearranging images in consideration of a position to be moved.
【請求項14】請求項10又は請求項13記載の画像処
理装置において、 前記入力部は、画像を撮像するカメラを有することを特
徴とする画像処理装置。
14. The image processing apparatus according to claim 10, wherein the input unit includes a camera that captures an image.
【請求項15】画像を入力する入力部と、処理部と、情
報処理部と、画像情報記憶部とを有する画像処理装置に
用いられ、画像データを少なくとも直行変換と、量子化
と、エントロピー符号化とを順次に行い符号化して得ら
れる画像符号化データを、回転表示する画像符号化デー
タ表示変換を行うためのプログラムを記録するための情
報記録媒体であって、 入力部から入力された画像データを所定画素単位のブロ
ックに分割する機能と、該各ブロックに対し少なくとも
直行変換する機能と、該直行変換したデータを量子化す
る機能と、前記ブロック毎に前記エントロピー符号化さ
れた画像符号化データを符号化時に用いた情報に基づい
てエントロピー復号化する機能と、前記エントロピー復
号化したデータを符号化時に用いた情報に基づいて逆量
子化する機能と、前記逆量子化したデータを符号化時に
用いた直行変換と逆関数の変換を行い前記逆関数変換を
行ったデータを回転処理、水平ミラー処理、垂直ミラー
処理の組み合わせで回転変換する機能を有することを特
徴とするコンピュータ読み取り可能な情報記録媒体。
15. An image processing apparatus having an input section for inputting an image, a processing section, an information processing section, and an image information storage section, wherein the image data is at least orthogonally transformed, quantized, and entropy code. Information recording medium for recording a program for performing image encoded data display conversion for rotating and displaying image encoded data obtained by sequentially performing encoding and encoding, the image input from the input unit A function of dividing data into blocks of a predetermined pixel unit, a function of at least orthogonally transforming each block, a function of quantizing the orthogonally transformed data, and a method of encoding the entropy-encoded image for each block A function of entropy decoding the data based on the information used at the time of encoding, and a function of entropy decoding the data based on the information used at the time of encoding. The inverse quantization function and the orthogonal transformation and inverse function transformation used for encoding the inversely quantized data, and the inverse function transformed data are subjected to rotation processing, horizontal mirror processing, and vertical mirror processing in combination. A computer-readable information recording medium having a function of performing rotation conversion.
JP13964997A 1997-05-29 1997-05-29 Encoded image data display/conversion method Pending JPH10336427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13964997A JPH10336427A (en) 1997-05-29 1997-05-29 Encoded image data display/conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13964997A JPH10336427A (en) 1997-05-29 1997-05-29 Encoded image data display/conversion method

Publications (1)

Publication Number Publication Date
JPH10336427A true JPH10336427A (en) 1998-12-18

Family

ID=15250199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13964997A Pending JPH10336427A (en) 1997-05-29 1997-05-29 Encoded image data display/conversion method

Country Status (1)

Country Link
JP (1) JPH10336427A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006101153A (en) * 2004-09-29 2006-04-13 Canon Inc Image generating device and method therefor
JP2006203270A (en) * 2005-01-17 2006-08-03 Nec Electronics Corp Image compression method and device
JP2006352181A (en) * 2005-02-18 2006-12-28 Hitachi Ltd Image encoding/decoding device, encoding/decoding program and encoding/decoding method
JP2008048256A (en) * 2006-08-18 2008-02-28 Kddi Corp Moving picture editing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006101153A (en) * 2004-09-29 2006-04-13 Canon Inc Image generating device and method therefor
JP4630618B2 (en) * 2004-09-29 2011-02-09 キヤノン株式会社 Image generating apparatus and method
US7889936B2 (en) 2004-09-29 2011-02-15 Canon Kabushiki Kaisha Image forming apparatus and image forming method
JP2006203270A (en) * 2005-01-17 2006-08-03 Nec Electronics Corp Image compression method and device
JP2006352181A (en) * 2005-02-18 2006-12-28 Hitachi Ltd Image encoding/decoding device, encoding/decoding program and encoding/decoding method
JP4542447B2 (en) * 2005-02-18 2010-09-15 株式会社日立製作所 Image encoding / decoding device, encoding / decoding program, and encoding / decoding method
JP2008048256A (en) * 2006-08-18 2008-02-28 Kddi Corp Moving picture editing method and device
JP4674767B2 (en) * 2006-08-18 2011-04-20 Kddi株式会社 Moving image editing method and apparatus

Similar Documents

Publication Publication Date Title
US7499592B2 (en) Image decoding apparatus and its control method
US5945930A (en) Data processing apparatus
US6847735B2 (en) Image processing system, image processing apparatus, image input apparatus, image output apparatus and method, and storage medium
KR20030077959A (en) System and method for progressively transforming and coding digital data
JPH10112796A (en) Device for rotating image with small memory by using jpeg compression
JP2003304404A (en) Image encoder
JP4831547B2 (en) Method for image compression and decompression acceleration
JPH04229382A (en) Method and device for resolution conversion of digital image data
JPH10336427A (en) Encoded image data display/conversion method
JPH08186814A (en) Image compressor
JPH0495469A (en) Method and device for restoring image data
JPH1175183A (en) Image signal processing method and device and storage medium
US6462783B1 (en) Picture encoding method and apparatus
JPH1075450A (en) Image compressor
US20040223550A1 (en) Decoding apparatus, decoding method, lookup table, and decoding program
JP3709106B2 (en) Image compression and decompression device
JP3590648B2 (en) Method of compressing original image data and method of expanding original image data
JPH04220081A (en) Method and device for picture data decoding
JP3363536B2 (en) Color image processing apparatus and color image processing method
JP3437346B2 (en) Image encoding / decoding device
JPH08180194A (en) Method and device for coding
JP5078199B2 (en) Image encoding apparatus and method, program code, and storage medium
KR100385865B1 (en) Image processing method for USB camera
JP3032281B2 (en) Image encoding method and image decoding method
JPH0488750A (en) Picture processor