JP2006203804A - Image processing device, image processing method, program, and information storage medium - Google Patents
Image processing device, image processing method, program, and information storage medium Download PDFInfo
- Publication number
- JP2006203804A JP2006203804A JP2005015796A JP2005015796A JP2006203804A JP 2006203804 A JP2006203804 A JP 2006203804A JP 2005015796 A JP2005015796 A JP 2005015796A JP 2005015796 A JP2005015796 A JP 2005015796A JP 2006203804 A JP2006203804 A JP 2006203804A
- Authority
- JP
- Japan
- Prior art keywords
- code
- decoding
- attribute
- image
- entropy decoding
- 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.)
- Granted
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は、画像の符号化データの復号処理を行う装置及び方法に係り、特に、符号化データを構成する符号が領域、解像度、色成分、画質などの属性を持つ、JPEG2000の静止画符号化データやMotion−JPEG2000の動画符号化データなどの復号処理を行う装置及び方法に関する。 The present invention relates to an apparatus and method for performing decoding processing of encoded data of an image, and in particular, JPEG2000 still image encoding in which codes constituting encoded data have attributes such as area, resolution, color component, and image quality. The present invention relates to an apparatus and a method for decoding data, Motion-JPEG2000 moving image encoded data, and the like.
ネットワークを経由して取り込まれる静止画又は動画の符号化データには、ネットワークの伝送エラーにより復号不可能な符号が含まれることがある。また、ネットワークを経由して取り込んだ符号化データであっても、ネットワークを経由せずローカルな記憶装置等より取り込んだ符号化データであっても、復号装置の復号能力の関係から復号不可能な符号が含まれていることもある。 The encoded data of still images or moving images captured via the network may include codes that cannot be decoded due to network transmission errors. In addition, even encoded data acquired via a network or encoded data acquired from a local storage device or the like without via a network cannot be decoded due to the decoding capability of the decoding device. A sign may be included.
一般的に、符号化データの復号処理を行う装置では、符号化データ中に異常な符号もしくは復号不可能な符号が含まれていた場合、復号処理を中止して、その時点までに生成された画像を出力するような制御や、画像の形成そのものを放棄する制御する方法がとられていた。 Generally, in an apparatus that performs decoding processing of encoded data, if the encoded data includes an abnormal code or a code that cannot be decoded, the decoding process is stopped and the code is generated up to that point. A control method for outputting an image and a control method for abandoning image formation itself have been used.
このような制御に関する公知文献の例として特許文献1がある。これに記載されているJPEG2000の静止画符号化データ又はMotion−JPEG2000の動画符号化データを扱うサーバ・クライアントシステムにおいては、サーバ側で、符号化処理時に、各パケットについて、それを削除したときの復元画像の歪み量を推定し、推定した歪み量の情報を符号化データのメインヘッダに記録する。クライアント側では、サーバより受信した符号化データを復号処理して復号画像をプログレッシブ表示するが、パケットの解析によってパケットのエラーの検出を行い、エラー・パケットに関する歪み量(メインヘッダに記録されている)を積算することにより、各時点でのエラー・パケットによる復号画像の歪み量を算出し、その歪み量が閾値を超えた時に、復号処理及び復号画像データ出力を中止する制御を行う。
異常な符号又は復号不可能な符号が生じた時点で復号処理を中止する方法には改善の余地がある。これを最もわかりやすい例で説明すれば、画像を複数の領域に分割して符号化した符号化データの場合、ある領域の符号が復号不可能であるからといって他の領域の符号までも復号不可能であるとは限らないので、復号処理を中止するのではなく、問題のない領域の符号については復号処理を継続するほうが復元画像の画質を向上できる可能性が高いのである。 There is room for improvement in the method of stopping the decoding process when an abnormal code or a code that cannot be decoded occurs. In the case of encoded data obtained by dividing an image into a plurality of regions and encoding them, the code in a certain region cannot be decoded, and even the code in another region is decoded. Since it is not always impossible, it is more likely that the image quality of the restored image can be improved by continuing the decoding process for a code in a region where there is no problem instead of stopping the decoding process.
エラー・パケットによる復号画像の歪み量が閾値を超えた時に復号処理を中止する方法にも、同様の改善余地があることは明らかである。また、この方法には、符号化段階でパケット毎の歪み量を推定し、それを符号化データのヘッダに記述しておく必要があり、そのような記述のない符号化データに対しては適用できないという制約もある。 It is clear that there is a similar room for improvement in the method of stopping the decoding process when the distortion amount of the decoded image due to the error packet exceeds the threshold value. In addition, this method requires that the amount of distortion for each packet be estimated at the encoding stage and described in the header of the encoded data, and is applicable to encoded data without such description. There is also a restriction that it cannot.
本発明は、上に述べたような従来技術の問題点に鑑みなされたものであり、その主たる目的は、符号化データの復号処理を行う装置又は方法において、符号化データに正常な復号が不可能な符号が含まれている場合の復号画質の向上及び処理効率の向上を図ることにある。 The present invention has been made in view of the problems of the prior art as described above. The main object of the present invention is to prevent normal decoding of encoded data in an apparatus or method for decoding encoded data. The purpose is to improve the decoded image quality and the processing efficiency when possible codes are included.
なお、本発明においては、少なくとも領域、色成分、解像度、画質のうちの1つに関する属性を持つ符号の集まりから構成された符号化データを扱う。このような符号化データの代表例として、JPEG2000の静止画符号化データやMotion−JPEG2000の動画符号化データを挙げることができる。 Note that in the present invention, encoded data composed of a collection of codes having an attribute relating to at least one of area, color component, resolution, and image quality is handled. Typical examples of such encoded data include JPEG 2000 still image encoded data and Motion-JPEG 2000 moving image encoded data.
請求項1記載の発明は、領域の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を領域毎に管理し、ある領域の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある領域の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。
The invention according to
請求項2記載の発明は、色成分の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を色成分毎に管理し、ある色成分の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある色成分の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。
The invention according to
請求項3記載の発明は、解像度の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。 According to a third aspect of the present invention, there is provided an image processing apparatus including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having a resolution attribute, and the code in the encoded data in the decoding processing device Control that controls the state of entropy decoding for each resolution, and controls to suppress entropy decoding of subsequent codes having a certain resolution attribute when an abnormality occurs in entropy decoding of a code having a certain resolution attribute An image processing apparatus having means.
請求項4記載の発明は、解像度の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号及び当該ある解像度より高い解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。 According to a fourth aspect of the present invention, there is provided an image processing apparatus including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having a resolution attribute, and the code in the encoded data in the decoding processing device The entropy decoding state is managed for each resolution, and when an error occurs in the entropy decoding of a code having a certain resolution attribute, a subsequent code having the certain resolution attribute and an attribute having a higher resolution than the certain resolution are displayed. An image processing apparatus comprising: a control unit that performs control to suppress entropy decoding of a subsequent code.
請求項5記載の発明は、画質の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。 According to a fifth aspect of the present invention, there is provided an image processing apparatus including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having an attribute of image quality, and the code in the encoded data in the decoding processing device Control that controls the state of entropy decoding for each image quality, and controls to suppress entropy decoding of subsequent codes with certain image quality attributes when an abnormality occurs in entropy decoding of codes with certain image quality attributes An image processing apparatus having means.
請求項6記載の発明は、画質の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理装置を備える画像処理装置であって、前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号及び当該ある画質より高い画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置である。
The invention according to
請求項7記載の発明は、請求項1乃至6のいずれか1項記載の発明に係る画像処理装置であって、前記制御手段は、前記復号処理装置における画像復元処理に、エントロピー復号が抑止された符号と同じ属性を持つ符号の復号データを使用するか否かの制御を行うことを特徴とする画像処理装置である。 A seventh aspect of the present invention is the image processing apparatus according to any one of the first to sixth aspects, wherein the control means suppresses entropy decoding in the image restoration processing in the decoding processing apparatus. An image processing apparatus that controls whether or not to use decoded data having a code having the same attribute as the code.
請求項8記載の発明は、外部装置より画像の符号化データを取り込み、それを前記復号処理装置により復号処理する請求項1乃至6のいずれか1項記載の画像処理装置であって、前記復号処理装置により復号処理された符号化データを保存するための符号蓄積装置を有し、前記制御手段は、前記符号蓄積装置に保存する符号化データに、前記復号処理装置においてエントロピー復号が抑止された符号と同じ属性を持つ符号を含めるか否かの制御を行うことを特徴とする画像処理装置である。
The invention according to
請求項9記載の発明は、請求項1乃至8のいずれか1項記載の発明に係る復号処理装置及び制御手段としてコンピュータを機能させるプログラムである。
The invention described in
請求項10記載の発明は、請求項1乃至8のいずれか1項記載の発明に係る復号処理装置及び制御手段としてコンピュータを機能させるプログラムが記録された、コンピュータが読み取り可能な情報記録媒体である。 A tenth aspect of the present invention is a computer-readable information recording medium in which a program that causes a computer to function as the decoding processing device and the control means according to any one of the first to eighth aspects of the invention is recorded. .
請求項11記載の発明は、領域の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を領域毎に管理し、ある領域の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある領域の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。 The invention according to claim 11 has a decoding process step for decoding encoded data of an image composed of codes having region attributes, and this decoding process step is for entropy decoding of codes in encoded data. Including a control process for managing the state for each area and performing control to suppress entropy decoding of a subsequent code having the attribute of the certain area when an abnormality occurs in the entropy decoding of the code having the attribute of the certain area An image processing method characterized by the above.
請求項12記載の発明は、色成分の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を色成分毎に管理し、ある色成分の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある色成分の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。 The invention described in claim 12 has a decoding process step for decoding encoded data of an image consisting of a code having a color component attribute, and the decoding process step includes entropy decoding of a code in the encoded data. Control for each color component, and when an error occurs in entropy decoding of a code having an attribute of a certain color component, control for suppressing entropy decoding of a subsequent code having the attribute of the certain color component It is an image processing method characterized by including a process.
請求項13記載の発明は、解像度の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。
The invention described in
請求項14記載の発明は、解像度の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号及び当該ある解像度より高い解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。
The invention according to
請求項15記載の発明は、画質の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。
The invention described in
請求項16記載の発明は、画質の属性を持つ符号からなる、画像の符号化データの復号処理を行う復号処理工程を有し、この復号処理工程は、符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号及び当該ある画質より高い画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法である。
The invention described in
請求項17記載の発明は、請求項11乃至16のいずれか1項記載の発明に係る画像処理方法であって、前記制御工程は、前記復号処理工程における画像復元処理に、エントロピー復号が抑止された符号と同じ属性を持つ符号の復号データを使用するか否かの制御を行うことを特徴とする画像処理方法である。 The invention according to claim 17 is the image processing method according to any one of claims 11 to 16, wherein the control step suppresses entropy decoding in the image restoration processing in the decoding processing step. This is an image processing method characterized by controlling whether or not to use decoded data having a code having the same attribute as the code.
請求項18記載の発明は、請求項11乃至16のいずれか1項記載の発明に係る画像処理方法であって、前記復号処理工程により復号処理された符号化データを保存するための符号化データ保存工程を有し、前記制御工程は、前記符号化データ保存工程により保存される符号化データに、前記復号処理工程においてエントロピー復号が抑止された符号と同じ属性を持つ符号を含めるか否かの制御を行うことを特徴とする画像処理方法である。 The invention according to claim 18 is the image processing method according to any one of claims 11 to 16, wherein the encoded data for storing the encoded data decoded by the decoding processing step is provided. Whether or not to include a code having the same attribute as the code whose entropy decoding is suppressed in the decoding process step in the encoded data stored in the encoded data storage step. An image processing method characterized by performing control.
請求項1,11記載の発明によれば、ある領域の属性を持つ符号のエントロピー復号の異常が発生した場合、その領域については復号画質が低下するものの、それ以外の領域については復号画質の低下は生じないため、復号処理を中止する方法に比べ、復号画像の全体的な画質が向上するという効果を得られる。また、エントロピー復号の異常が発生した符号と同じ領域の属性を持つ後続の符号のエントロピー復号を行っても復号画質向上への寄与は殆ど期待できないのが普通であり、それは無益な処理ということができるが、このような無益なエントロピー復号が抑止されることにより処理効率が向上するという効果を得られる。 According to the first and eleventh aspects of the present invention, when an abnormality in entropy decoding of a code having an attribute of a certain region occurs, the decoded image quality deteriorates for that region, but the decoded image quality decreases for other regions. Therefore, the overall image quality of the decoded image is improved as compared with the method of canceling the decoding process. Also, even if entropy decoding is performed on a subsequent code having the same region attribute as that of the code in which the entropy decoding abnormality has occurred, it is normal to expect little contribution to the improvement of the decoded image quality, which is a useless process. However, it is possible to obtain an effect of improving processing efficiency by suppressing such useless entropy decoding.
請求項2,12記載の発明によれば、ある色成分の属性を持つ符号のエントロピー復号の異常が発生した場合、その色成分については復号画質が低下するものの、それ以外の色成分については復号画質の低下は生じないため、復号処理を中止する方法に比べ、復号画像の全体的な画質が向上するという効果を得られる。また、エントロピー復号の異常が発生した符号と同じ色成分の属性を持つ後続の符号のエントロピー復号を行っても復号画質向上への寄与は殆ど期待できないのが普通であり、それは無益な処理ということができるが、このような無益なエントロピー復号が抑止されることにより処理効率が向上するという効果を得られる。 According to the second and twelfth aspects of the present invention, when an entropy decoding abnormality of a code having an attribute of a certain color component occurs, the decoded image quality deteriorates for that color component, but decoding is performed for other color components. Since the image quality does not deteriorate, the overall image quality of the decoded image is improved as compared with the method of canceling the decoding process. In addition, even if entropy decoding is performed on a subsequent code having the same color component attribute as that of the code in which the entropy decoding abnormality has occurred, it is normal to expect little contribution to the improvement of the decoded image quality, which is a useless process. However, it is possible to obtain an effect of improving processing efficiency by suppressing such useless entropy decoding.
請求項3,4,13,14記載の発明によれば、ある解像度の属性を持つ符号のエントロピー復号の異常が発生した場合、エントロピー復号が抑止されるのは、その解像度の属性を持つ後続の符号、あるいは、その解像度の属性を持つ後続の符号及びそれより高い解像度の属性を持つ後続の符号であるため、その異常を発生した符号の段階で復号処理を中止する方法に比べ、高い復号画質を得ることができるという効果がある。また、エントロピー復号が抑止される符号は、そのエントロピー復号を行ったとしても復号画質向上への寄与は殆ど期待できないのが普通であり、それは無益な処理ということができるが、このような無益なエントロピー復号が抑止されることにより処理効率が向上するという効果を得られる。 According to the third, fourth, thirteenth and fourteenth aspects of the present invention, when an entropy decoding error occurs in a code having a certain resolution attribute, the entropy decoding is suppressed in the subsequent processes having the resolution attribute. Since it is a code, or a subsequent code having a resolution attribute and a subsequent code having a higher resolution attribute, the decoded image quality is higher than the method of stopping the decoding process at the stage of the code where the abnormality occurred. There is an effect that can be obtained. In addition, a code for which entropy decoding is suppressed can hardly be expected to contribute to the improvement of the decoded image quality even if the entropy decoding is performed, which can be said to be a useless process. By suppressing the entropy decoding, an effect of improving the processing efficiency can be obtained.
請求項5,6,15,16記載の発明によれば、ある画質の属性を持つエントロピー復号の異常が発生した場合、エントロピー復号が抑止されるのは、その画質の属性を持つ後続の符号、あるいは、その画質の属性を持つ後続の符号及びそれより高い画質の属性を持つ後続の符号であるため、その異常を発生した符号の段階で復号処理を中止する方法に比べ、高い復号画質を得ることができるという効果がある。また、エントロピー復号が抑止される符号は、そのエントロピー復号を行ったとしても復号画質向上への寄与は殆ど期待できないのが普通であり、それは無益な処理ということができるが、このような無益なエントロピー復号が抑止されることにより処理効率が向上する効果を得られる。 According to the fifth, sixth, fifteenth and sixteenth aspects of the present invention, when an entropy decoding abnormality having a certain image quality attribute occurs, the entropy decoding is suppressed by a subsequent code having the image quality attribute, Alternatively, since a subsequent code having the image quality attribute and a subsequent code having a higher image quality attribute are obtained, a higher decoding image quality is obtained as compared with the method in which the decoding process is stopped at the stage of the code where the abnormality has occurred. There is an effect that can be. In addition, a code for which entropy decoding is suppressed can hardly be expected to contribute to the improvement of the decoded image quality even if the entropy decoding is performed, which can be said to be a useless process. By suppressing the entropy decoding, an effect of improving the processing efficiency can be obtained.
請求項7,17記載の発明によれば、エントロピー復号の異常が発生した符号と同じ属性を持つ符号の復号データを全く用いない画像復元と、エントロピー復号の異常が発生した符号と同じ属性を持つ符号であっても、エントロピー復号が抑止される以前に復号済みの符号の復号データをも用いる画像復元とを選択することができるという効果を得られる。例えば、ある領域の符号のエントロピー復号の異常が発生した場合、前者の画像復元を選べば、その領域については画像が復元されないが、後者の画像復元を選べば、その領域についても復号済み符号の多寡に応じた画質で画像を復元することができる。 According to the seventh and seventeenth aspects of the present invention, image restoration that does not use the decoded data of the code having the same attribute as the code in which the entropy decoding abnormality has occurred and the same attribute as the code in which the entropy decoding abnormality has occurred. Even if it is a code | cord | chord, the effect that the image restoration which uses also the decoding data of the code | cord | chord which has been decoded before entropy decoding is suppressed can be acquired. For example, if an abnormality in entropy decoding of a code in a certain region occurs, if the former image restoration is selected, the image is not restored for that region, but if the latter image restoration is selected, the decoded code of that region is also restored. It is possible to restore an image with an image quality according to the degree.
請求項8,18記載の発明によれば、エントロピー復号が抑止された符号と同じ属性を持つ符号も含まれる、外部装置より取り込まれたものと同じ符号化データを保存することも、そのような属性を持つ符号を含めない符号化データを保存することもできるという効果を得られる。
According to the inventions of
[JPEG2000の概要]
ここで説明する本発明の実施の形態においては、JPEG2000の静止画符号化データ又はMotion−JPEG2000の動画符号化データを処理の対象とする。Motion−JPEG2000の動画符号化データの各フレームは、JPEG2000により符号化されている。そこで、本発明の実施の形態の理解に必要な限度で、JPEG2000の概要を説明する。
[Outline of JPEG2000]
In the embodiment of the present invention described here, JPEG 2000 still image encoded data or Motion-JPEG 2000 moving image encoded data is a processing target. Each frame of Motion-JPEG2000 moving image encoded data is encoded by JPEG2000. Therefore, an outline of JPEG2000 will be described to the extent necessary for understanding the embodiment of the present invention.
図1はJPEG2000のアルゴリズムを説明するためのブロック図である。図中、1は色空間変換・逆変換部、2は2次元ウェーブレット変換・逆変換部、3は量子化・逆量子化部、4はエントロピー符号化・復号化部、5はタグ処理部である。 FIG. 1 is a block diagram for explaining the algorithm of JPEG2000. In the figure, 1 is a color space transformation / inverse transformation unit, 2 is a two-dimensional wavelet transformation / inverse transformation unit, 3 is a quantization / inverse quantization unit, 4 is an entropy encoding / decoding unit, and 5 is a tag processing unit. is there.
符号化(圧縮)時には、原画像の各コンポーネント(色成分)は、必要に応じてタイルと呼ばれる重複しない矩形の領域に分割され、各コンポーネントの各タイルのデータが色空間変換・逆変換部1に入力される。
At the time of encoding (compression), each component (color component) of the original image is divided into non-overlapping rectangular areas called tiles as necessary, and the data of each tile of each component is color space conversion /
図2にタイル分割の例を示す。この例では、原画像のR,G,Bの各コンポーネントがそれぞれ16個のタイルに分割されている。このような各コンポーネントの各タイルが圧縮/伸長の処理単位となる。 FIG. 2 shows an example of tile division. In this example, the R, G, and B components of the original image are each divided into 16 tiles. Each tile of each component is a compression / decompression processing unit.
各コンポーネントの各タイルは色空間変換・逆変換部1でYCrCb(もしくはYUV)表色系へ変換された後、YCrCbの各コンポーネント別に、2次元ウェーブレット変換・逆変換部2で2次元ウェーブレット変換(順変換)を適用されることにより、周波数帯(サブバンド)に空間分割される。
Each tile of each component is converted into the YCrCb (or YUV) color system by the color space conversion /
図3に、デコンポジションレベル数=3の場合の、各デコンポジションレベルにおけるサブバンドを示す。すなわち、原画像のタイル分割によって得られたタイル画像(0LL)(デコンポジションレベル0)に対して、2次元ウェーブレット変換を施すことにより、デコンポジションレベル1のサブバンド(1LL,1HL,1LH,1HH)が得られる。この階層における低周波成分である1LLサブバンドの係数に対して2次元ウェーブレット変換を施すことより、デコンポジションレベル2のサブバンド(2LL,2HL,2LH,2HH)が得られる。この階層での低周波成分である2LLサブバンド係数に対し2次元ウェーブレット変換を施すことにより、デコンポジションレベル3のサブバンド(3LL,3HL,3LH,3HH)が得られる。デコンポジションレベル3の各サブバンドに括弧書きされた数字は解像度レベルを示す。
FIG. 3 shows subbands at each decomposition level when the number of decomposition levels = 3. That is, by performing two-dimensional wavelet transform on the tile image (0LL) (decomposition level 0) obtained by tile division of the original image, the subbands (1LL, 1HL, 1LH, 1HH) at the
各サブバンドの係数は、必要に応じて、量子化・逆量子化部3で線形量子化された後、エントロピー符号化・復号化部4でエントロピー符号化される。JPEG2000では、各サブバンド係数はビットプレーンに分解され、また、各サブバンドは重複しないプリシンクトと呼ばれる矩形領域に分割され、各プリシンクトはコードブロックと呼ばれる重複しない矩形領域に分割される。そして、各サブバンドの係数は上位のビットプレーンから下位のビットプレーンへ向かってコードブロック毎に符号化される(より正確には、各ビットプレーンは3つのサブビットプレーン(符号化パス)に分割されて符号化される)。このエントロピー符号化においては、指定した符号化の順番で符号化対象ビットが定められ、量子化部・逆量子化部3で対象ビットの周辺ビットからコンテキストが生成され、このコンテキストと対象ビットの確率推定による算術符号化が行われる。
The coefficients of each subband are linearly quantized by the quantization /
タグ処理部5は符号形成プロセスのブロックであり、エントロピー符号をまとめてパケットを生成し、パケットをプログレッションオーダーに従って並べるとともに必要なタグ及びタグ情報を付加することにより、図4に示すようなフォーマットの1本のコードストリーム(符号化データ)を生成する。コードストリームの先頭と各タイル部の先頭にはメインヘッダ(Main header)及びタイルパートヘッダ(Tile-part header)と呼ばれるタグ情報が付加され、その後に、各タイルの符号(ビットストリーム)が続く。そして、コードストリームの終端に終了タグ(End of codestream)が置かれる。
The
画像、タイル、サブバンド、プリシンクト、コードブロックの間には
画像≧タイル>サブバンド≧プリシンクト≧コードブロック
の大小関係がある。
Among images, tiles, subbands, precincts, and code blocks, there is a size relationship of image ≧ tile> subband ≧ precinct ≧ code block.
プリシンクトとは、サブバンドの矩形領域で、同じデコンポジションレベルのHL,LH,HHサブバンドの空間的に同じ位置にある3つの領域の組が1つのプリシンクトとして扱われる。ただし、LLサブバンドでは、1つの領域が1つのプリシンクトとして扱われる。プリシンクトのサイズをサブバンドと同じサイズにすることも可能である。前述のように、プリシンクトを分割した矩形領域がコードブロックである。図5にデコンポジションレベル2におけるプリシンクトと、そのコードブロックを例示した。図中のプリシンクトと記された空間的に同じ位置にある3つの領域の組が、1つのプリシンクトとして扱われる。なお、プリシンクトはタイル画像上の特定の矩形領域に対応する。つまり、図5に示す例では、タイル画像は3×3の矩形領域に分割され、その矩形領域がプリシンクトであると言うこともできる。
A precinct is a rectangular region of subbands, and a set of three regions at the same spatial position of HL, LH, and HH subbands having the same decomposition level is treated as one precinct. However, in the LL subband, one area is treated as one precinct. It is also possible to make the precinct size the same as the subband. As described above, the rectangular area obtained by dividing the precinct is a code block. FIG. 5 illustrates a precinct and its code block at
プリシンクトに含まれる全てのコードブロックの符号の一部(例えば最上位から3ビット目までの3枚のビットプレーンの符号)を取り出して集めたものがパケットである。符号が空(から)のパケットも許される。コードブロックの符号をまとめてパケットを生成し、所望のプログレッション・オーダーに従ってパケットを並べたものが、図4中のビットストリームである。 A packet is a collection of a part of the codes of all code blocks included in the precinct (for example, codes of three bit planes from the most significant bit to the third bit). Packets with an empty code are allowed. The bit stream in FIG. 4 is a packet in which codes of code blocks are combined to generate packets and the packets are arranged according to a desired progression order.
全てのプリシンクト(つまり、全てのコードブロック、全てのサブバンド)のパケットを集めると、画像全域の符号の一部(例えば、画像全域のウェーブレット係数の最上位のビットプレーンから3枚目までのビットプレーンの符号)ができるが、これがレイヤである(ただし、必ずしも全てのプリシンクトのパケットをレイヤに含めなくともよい)。したがって、伸長時に復号されるレイヤ数が多いほど再生画像の画質は向上する。つまり、レイヤは画質の単位である。全てのレイヤを集めると、画像全域の全てのビットプレーンの符号になる。 When packets of all precincts (that is, all code blocks and all subbands) are collected, a part of the code for the entire image area (for example, the bits from the most significant bit plane to the third frame of the wavelet coefficients for the entire image area) This is a layer (however, not all precinct packets need to be included in the layer). Therefore, as the number of layers decoded at the time of expansion increases, the quality of the reproduced image improves. That is, a layer is a unit of image quality. When all layers are collected, it becomes the code of all bit planes of the entire image.
タイル分割を行わず、コンポーネント数=1、デコンポジションレベル数=2(解像度レベル数=3)とした場合のパケットとレイヤの例を図6に示す。図中の縦長の小さな矩形がパケットであり、その内部に示した数字は便宜的に付与したパケット番号である。図6では、レイヤを濃淡を付けた横長矩形領域として示している。すなわち、この例では、パケット番号0〜16のパケットの符号からなるレイヤ0、パケット番号17〜33のパケットの符号からなるレイヤ1、パケット番号34〜50のパケットの符号からなるレイヤ2、パケット番号51〜67のパケットの符号からなるレイヤ3、パケット番号68〜84のパケットの符号からなるレイヤ4、パケット番号85〜101のパケットの符号からなるレイヤ5、パケット番号102〜118のパケットの符号からなるレイヤ6、パケット番号119〜135のパケットの符号からなるレイヤ7、パケット番号136〜148のパケットの符号からなるレイヤ8、及び、残りのパケット番号149〜161のパケットの符号からなるレイヤ9の10レイヤに分割されている。なお、パケットとプリシンクトとの対応関係などは、プログレッション・オーダーの違いやレイヤ分割数等により様々に変化するものであり、上に示したレイヤ構成はあくまで一例である。
FIG. 6 shows an example of packets and layers when tile division is not performed and the number of components = 1 and the number of decomposition levels = 2 (the number of resolution levels = 3). In the figure, a vertically small rectangle is a packet, and the numbers shown therein are packet numbers assigned for convenience. In FIG. 6, the layer is shown as a horizontally long rectangular region with shading. That is, in this example,
一方、復号(伸長)時には、符号化時とは逆に、各コンポーネントの各タイルのコードストリームから画像データを生成する。この場合、タグ処理部5は、外部より入力したコードストリームに付加されたタグ情報を解釈し、コードストリームを各コンポーネントの各タイルのコードストリームに分解し、その各コンポーネントの各タイルのコードストリーム毎に復号処理が行われる。コードストリーム内のタグ情報に基づく順番で復号対象となるビットの位置が定められるとともに、量子化・逆量子化部3で、その対象ビット位置の周辺ビット(既に復号化を終えている)の並びからコンテキストが生成される。エントロピー符号化・復号化部4で、このコンテキストとコードストリームから確率推定によって復号を行って対象ビットを生成し、それを対象ビットの位置に書き込む。
On the other hand, at the time of decoding (decompression), image data is generated from the code stream of each tile of each component, contrary to the case of encoding. In this case, the
このようにして得られた各サブバンドの係数は、符号化時に量子化が行われているならば量子化・逆量子化部3で逆量子化された後、2次元ウェーブレット変換・逆変換部2で2次元ウェーブレット逆変換を施されることにより、各コンポーネントの各タイルのデータが復元される。復元されたデータは、符号化時に色空間変換が行われたならば色空間変換・逆変換部1で逆色変換を施され、元の表色系のデータに戻される。
The coefficients of the subbands thus obtained are dequantized by the quantization /
さて、以上に述べたようにJPEG2000の符号単位であるパケットは、
どのコンポ−ネント(記号C)に属するか、
どの解像度レベル(記号R)に属するか、
どのプリシンクト(記号P)に属するか、
どのレイヤ(記号L)に属するか
という4つの属性を有する。パケットの配列とは、パケットをどの属性の順に階層的に並べるかを意味する。この配列順をプログレッションオーダーと呼ぷ。JPEG2000ではLRCP,RLCP,RPCL,PCRL,CPRLの5通りのプログレッションオーダーが規定されている。
Now, as mentioned above, JPEG2000 code unit packet is
Which component (symbol C) belongs to,
Which resolution level (symbol R) belongs to
Which precinct (symbol P) belongs to
It has four attributes, which layer (symbol L) belongs to. The packet arrangement means the order in which packets are arranged hierarchically. This order of arrangement is called a progression order. JPEG2000 defines five progression orders of LRCP, RLCP, RPCL, PCRL, and CPRL.
ここで、符号化時にプログレッションオーダーの順にパケットを並べる様子、及び、復号時にプログレッションオーダーの順にパケットの属性を解釈する様子を説明する。 Here, a state in which packets are arranged in the order of the progression order at the time of encoding and a state in which the attributes of the packets are interpreted in the order of the progression order at the time of decoding will be described.
LRCPプログレッションの場合、ネストされたforループ
for(レイヤ){
for(解像度){
for(コンポ−ネント){
for(プリシンクト){
符号化時:パケットを配置
復号時:パケットの属性を解釈
}
}
}
}
に従ってパケットの配列(符号化時)および解釈(復号時)がなされる。
For LRCP progression, nested for loops
for (layer) {
for (resolution) {
for (component) {
for (Precinct) {
Encoding: Place packet
Decoding: Interpret packet attributes}
}
}
}
Thus, the packet is arranged (at the time of encoding) and interpreted (at the time of decoding).
同様に、RLCPプログレッションの場合、ネストされたforループ
for(解像度){
for(レイヤ){
for(コンポ−ネント){
for(プリシンクト){
符号化時:パケットを配置
復号時:パケットの属性を解釈
}
}
}
}
に従ってパケットの配列(符号化時)および解釈(復号時)がなされる。
Similarly, for RLCP progression, a nested for loop
for (resolution) {
for (layer) {
for (component) {
for (Precinct) {
Encoding: Place packet
Decoding: Interpret packet attributes}
}
}
}
Thus, the packet is arranged (at the time of encoding) and interpreted (at the time of decoding).
各パケットはパケットヘッダを有し、パケットヘッダには、
・そのパケットが空かどうか
・そのパケットにどのコードブロックが含まれるか
・そのパケットに含まれる各コードブロックのゼロビットプレーン数
・そのパケットに含まれる各コードブロック符号のコーディングパス数(ビットプレーン数)
・そのパケットに含まれる各コードブロックの符号長
が記載されている。
Each packet has a packet header,
-Whether the packet is empty-Which code block is included in the packet-Number of zero bit planes of each code block included in the packet-Number of coding passes (number of bit planes) of each code block code included in the packet )
-The code length of each code block included in the packet is described.
しかし、パケットヘッダには、レイヤ番号や解像度レベル等は一切記載されていない。復号時に、メインヘッダ中のCODマーカに記述されているプログレッションオーダーから上記のようなforループを形成し、そのパケットに含まれる各コードブロックの符号長の和からパケットの切れ目を判別し、各パケットがforループ内のどの位置でハンドリングされたかによって、各パケットがどのレイヤのどの解像度レベルのものか等が分かる。これは、パケットヘッダ中の符号長さえ読み出せば、エントロピー符号自体を復号しなくても、次のパケットを検出できることを意味する。 However, the packet header does not describe any layer number or resolution level. At the time of decoding, a for loop as described above is formed from the progression order described in the COD marker in the main header, and a packet break is determined from the sum of the code lengths of the code blocks included in the packet. Depending on which position in the for loop is handled, it can be known which resolution level of which layer each packet is. This means that the next packet can be detected without decoding the entropy code itself as long as the code length in the packet header is read.
なお、2以上のタイルにタイリングされている場合には、パケットはどのタイルに属するかという属性も持つ。したがって、タイルの属性を加えると、上記のforループは
for(タイル){
for(レイヤ){
for(解像度){
for(コンポ−ネント){
for(プリシンクト){
符号化時:パケットを配置
復号時:パケットの属性を解釈
}
}
}
}
}
の様なループとなる。
When tiled to two or more tiles, the packet also has an attribute of which tile it belongs to. So if you add the tile attribute, the for loop above will
for (tile) {
for (layer) {
for (resolution) {
for (component) {
for (Precinct) {
Encoding: Place packet
Decoding: Interpret packet attributes}
}
}
}
}
It becomes a loop like this.
画像サイズ100×100画素、1タイル、2レイヤ、解像度レベル3(0〜2)、3コンポ−ネント、プリシンクトサイズ32×32とした場合のLRCPプログレッションのパケット配列例を図7に示し、RPCLプログレッションのパケットの配列例を図8に示す。 FIG. 7 shows a packet arrangement example of LRCP progression when the image size is 100 × 100 pixels, 1 tile, 2 layers, resolution level 3 (0 to 2), 3 components, and the precinct size is 32 × 32. An example of the arrangement of packets of RPCL progression is shown in FIG.
[実施形態の説明]
以下、本発明の実施の形態について説明する。図9は、本発明の実施の形態を説明するためのブロック図である。図9において、100は本発明に係る画像処理装置であり、単独で動作することも、通信路101(LANやインターネット等)を介して接続されたサーバ102に対しクライアントとして動作することも可能である。
[Description of Embodiment]
Embodiments of the present invention will be described below. FIG. 9 is a block diagram for explaining an embodiment of the present invention. In FIG. 9,
画像処理装置100は、JPEG2000の静止画符号化データ又はMotion−JPEG2000の動画符号化データの復号処理を行う復号処理装置110、復号画像等を表示する画像表示装置111、サーバ102との通信を行う通信装置112、符号化データを保存するための符号蓄積装置113、ユーザからの各種指示を入力するための指示入力装置114、装置全体の動作制御等を行うシステム制御装置115からなる。
The
復号処理装置110は、図1に関連して説明したようなタグ処理部121、エントロピー復号化部122、逆量子化部123、2次元逆ウェーブレット変換部124及び逆色空間変換部125と、これら各部を制御する制御部126、復号処理に関連したデータを一時的に保存するためのデータ記憶部127、画像処理装置100の他の部分とのインターフェース128から構成される。
The
本発明に特有のエントロピー復号状態の管理、復号処理及び符号保存の制御は制御部126によって行われる。すなわち、請求項1乃至8記載の発明の制御手段は制御部126に含まれる。このような制御のために後述のエラーフラグリスト130の生成・修正が行われるが、このエラーリスト130の記憶域としてデータ記憶部127が利用される。
Control of entropy decoding state, decoding processing, and code storage unique to the present invention is performed by the
<動作説明(1)>
指示入力装置114によってユーザから指定された画像の符号化データを符号蓄積部113より復号処理装置110に読み込んで復号処理を行い、復号画像を画像表示装置111に表示する動作について説明する。図10は、その説明のための簡略化されたフローチャートである。
<Description of operation (1)>
An operation of reading encoded data of an image designated by the user using the
まず、タグ処理部121により、符号化データのメインヘッダ(及び最初のタイルパートヘッダ)が解析される(ステップS1)。この解析により、タイルサイズやタイル数、プリシンクトサイズ、プログレッションオーダ、解像度レベル数、レイヤ数、コンポーネント数等々の情報が得られる。この解析結果に基づいて、制御部126は復号処理に関する各種パラメータの設定を行う(ステップS2)。ここまでは一般的な復号処理装置の動作と同様である。パケットの属性の解釈及びエントロピー復号は、プログレッションオーダーに対応した前述のようなforループに従って行われるが、このforループの設定もこの段階で行われる。図10では簡略化されているが、ステップS4〜S8の処理は、そのようなforループ内の繰り返し処理である。なお、2番目以降のタイルパートヘッダの解析は、ステップS4以降の処理内で随時行われ、解析結果に応じた必要なパラメータの設定変更等が行われる。
First, the
次に、制御部126は、指示入力装置114からの指示に基づいたエラーフラグリストを作成する(ステップS3)。このエラーフラグリストは、領域(タイル、プリシンクトなど)、解像度、画質(レイヤ)、コンポーネント(色成分)等の属性毎にエントロピー復号状態の管理と復号処理制御等を行うための管理情報である。
Next, the
例えば、属性としてタイルが指定された場合には、例えば図11(a)のようなエラーフラグリストが作成される。図中のエラー状態の値「0」は正常状態を、「1」は異常状態を表す。通常、初期段階では図11(a)のように全てのタイルのエラー状態は「0」に設定されるが、意図的に特定のタイルのエラー状態を「1」に設定することにより、そのタイルの復号処理を行わないようにすることも可能である。 For example, when a tile is designated as an attribute, an error flag list as shown in FIG. In the figure, the error state value “0” represents a normal state, and “1” represents an abnormal state. Normally, the error state of all tiles is set to “0” as shown in FIG. 11A in the initial stage, but by intentionally setting the error state of a specific tile to “1”, the tiles It is also possible not to perform the decoding process.
より詳細な領域属性によるエントロピー復号状態の管理及び復号処理制御等が指定された場合には、プリシンクト又はコードブロックを単位とした同様のエラーフラグリストが作成される。2以上のタイルに分割されている場合には、このようなエラーフラグリストはタイル毎に作成される。 When entropy decoding state management and decoding processing control based on more detailed region attributes are designated, a similar error flag list is created in units of precincts or code blocks. When the tile is divided into two or more tiles, such an error flag list is created for each tile.
レイヤ(画質)属性によるエントロピー復号状態の管理及び復号処理制御等が指定された場合には、例えば図12(a)に示すようなエラーフラグリストが作成される。2以上のタイルに分割されている場合には、このようなエラーフラグリストはタイル毎に作成されるか全タイル共通に1つだけ作成される。前者の場合はレイヤ属性によるエントロピー復号状態の管理及び復号処理制御等はタイル毎に別々に行われ、後者の場合には全てのタイルに対して共通のエントロピー復号状態の管理及び復号処理制御等が行われる。通常、初期段階では図12(a)のように全てのレイヤのエラー状態は「0」に設定されるが、意図的に特定のレイヤのエラー状態を「1」に初期設定することにより、そのレイヤの復号処理を行わないようにすることも可能である。 When entropy decoding state management, decoding processing control, and the like are designated by the layer (image quality) attribute, an error flag list as shown in FIG. 12A is created, for example. When divided into two or more tiles, such an error flag list is created for each tile or only one for all tiles. In the former case, management of entropy decoding state and decoding processing control by layer attribute are performed separately for each tile, and in the latter case, common entropy decoding state management and decoding processing control for all tiles are performed. Done. Normally, in the initial stage, the error state of all layers is set to “0” as shown in FIG. 12A, but by intentionally initializing the error state of a specific layer to “1”, It is also possible not to perform layer decoding processing.
解像度属性によるエントロピー復号状態の管理及び復号処理制御等が指定された場合には、例えば図13(a)に示すようなエラーフラグリストが作成される。2以上のタイルに分割されている場合には、このようなエラーフラグリストはタイル毎に作成されるか全タイル共通に1つだけ作成される。前者の場合は解像度属性によるエントロピー復号状態の管理及び復号処理制御等はタイル毎に別々に行われ、後者の場合には全てのタイルに対して共通にエントロピー復号状態の管理及び復号処理制御等が行われる。なお、通常、初期段階では図13(a)のように全ての解像度レベルのエラー状態は「0」に設定されるが、意図的に特定の解像度レベルのエラー状態を「1」に初期設定することにより、その解像度レベルの復号処理を行わないようにすることも可能である。 When management of the entropy decoding state based on the resolution attribute and decoding processing control are designated, an error flag list as shown in FIG. 13A is created, for example. When divided into two or more tiles, such an error flag list is created for each tile or only one for all tiles. In the former case, management of entropy decoding state and resolution processing control by resolution attribute are performed separately for each tile, and in the latter case, management of entropy decoding state and decoding processing control are common to all tiles. Done. Normally, at the initial stage, as shown in FIG. 13A, error states of all resolution levels are set to “0”, but an error state of a specific resolution level is intentionally initialized to “1”. Thus, it is possible not to perform the decoding process at that resolution level.
コンポーネント(色成分)属性によるエントロピー復号状態の管理及び復号処理制御等が指定された場合には、例えば図14(a)に示すようなエラーフラグリストが作成される。2以上のタイルに分割されている場合には、このようなエラーフラグリストはタイル毎に作成されるか全タイル共通に1つだけ作成される。前者の場合はコンポーネント属性による復号処理制御等はタイル毎に別々に行われ、後者の場合には全てのタイルに対して共通の復号処理制御等が行われる。なお、通常、初期段階では図14(a)のように全ての色成分のエラー状態は「0」に設定されるが、意図的に特定のコンポーネントのエラー状態を「1」に初期設定することにより、そのコンポーネントの復号処理を行わないようにすることも可能である。 When entropy decoding state management, decoding processing control, and the like are specified by component (color component) attributes, an error flag list as shown in FIG. 14A is created, for example. When divided into two or more tiles, such an error flag list is created for each tile or only one for all tiles. In the former case, decoding processing control and the like based on component attributes are performed separately for each tile, and in the latter case, common decoding processing control and the like are performed for all tiles. Normally, at the initial stage, as shown in FIG. 14A, the error states of all the color components are set to “0”, but the error state of a specific component is intentionally initialized to “1”. Therefore, it is possible not to perform the decoding process of the component.
なお、コンポーネント別に、領域(タイル、プリシンクト、コードブロック)属性、レイヤ属性、又は解像度属性によるエントロピー復号状態の管理及び復号処理制御等を行うことも可能である。この場合には、それら属性によるエラーフラグリストがコンポーネント毎に作成されることになる。 It is also possible to manage entropy decoding status and control decoding processing by region (tile, precinct, code block) attribute, layer attribute, or resolution attribute for each component. In this case, an error flag list based on these attributes is created for each component.
以上の準備処理の後、符号化データ中の符号をパケット単位で読み込みながらステップS4〜S8の処理を行う。 After the above preparation processing, the processing in steps S4 to S8 is performed while reading the code in the encoded data in units of packets.
まず、制御部126は、エラーフラグリストを参照し、読み込まれたパケットの属性に対応したエラー状態を調べる(ステップS5)。そのエラー状態が「1」ならば、制御部126はエントロピー復号化部122で当該パケットに対するエントロピー復号を行わせず、次のパケットの読み込みを行わせる制御を行う。つまり、エラー状態が「1」の属性のパケットは読み飛ばされることになる。
First, the
一方、当該パケットの属性に対応するエラー状態が「0」ならば、制御部122はエントロピー復号化部122で当該パケットのエントロピー復号を実行させる(ステップS6)。その復号データ(ウェーブレット係数)はデータ記憶部127に保存される。制御部126は、当該パケットのエントロピー復号が正常に行われたか調べ(ステップS7)、正常ならば次のパケットの読み込みを行わせる制御を行う。
On the other hand, if the error state corresponding to the attribute of the packet is “0”, the
当該パケットのエントロピー復号で異常が発生したならば、制御部126は、エラーフラグリストの必要な修正を行い(ステップS8)、この後に次のパケットの読み込みを行わせる制御を行う。このエラーフラグリストの修正について図11乃至図14を例に説明する。
If an abnormality occurs in the entropy decoding of the packet, the
例えばタイル属性によるエントロピー復号状態の管理及び復号処理制御等が行われる場合において、例えばタイル2に属するパケットのエントロピー復号の異常が発生したときには、図11(b)に示すようにエラーフラグリストのタイル2のエラー状態が「1」に修正される。その結果、タイル2に含まれる後続のパケットは全て読み飛ばされることになる。
For example, when entropy decoding status management and decoding processing control are performed using tile attributes, for example, when an entropy decoding abnormality of a packet belonging to
レイヤ属性によるエントロピー復号状態の管理及び復号処理制御等が行われる場合において、例えばレイヤ6に属するパケットのエントロピー復号の異常が発生したときには、図12(b)に示すようにエラーフラグリストのレイヤ6及びそれより下位のレイヤ7〜9のエラー状態が「1」に修正される。その結果、レイヤ6〜9に属する後続のパケットは全て読み飛ばされることになる。なお、エントロピー復号の異常が生じたレイヤ6のみエラー状態を「1」に修正し、それより下位のレイヤのエラー状態を「0」のままにしておくことも可能であり、かかる態様も本実施形態に包含される。
When entropy decoding state management and decoding processing control are performed by layer attributes, for example, when an entropy decoding abnormality of a packet belonging to
解像度属性によるエントロピー復号状態の管理及び復号処理制御等が行われる場合において、例えば解像度レベル4に属するパケットのエントロピー復号の異常が発生したときには、図13(b)に示すようにエラーフラグリストの解像度レベル4及びそれより低い解像度レベル5のエラー状態が「1」に修正される。その結果、解像度レベル4,5に属する後続のパケットは全て読み飛ばされることになる。なお、エントロピー復号の異常が生じた解像度レベル4のみエラー状態を「1」に修正し、それより低い解像度レベル5のエラー状態を「0」のままにしておくことも可能であり、かかる態様も本実施形態に包含される。
In the case where entropy decoding state management and decoding processing control by the resolution attribute are performed, for example, when an entropy decoding abnormality of a packet belonging to
コンポーネント(色成分)属性によるエントロピー復号状態の管理及び復号処理制御等が行われる場合において、例えばCb成分のパケットのエントロピー復号の異常が発生したときには、図14(b)に示すようにエラーフラグリストのCb成分のエラー状態が「1」に修正される。その結果、後続のCb成分のパケットは読み飛ばされることになるが、エラー状態が「0」のY成分とCr成分のパケットはエントロピー復号される。 When entropy decoding state management and decoding processing control are performed using component (color component) attributes, for example, when an entropy decoding abnormality of a Cb component packet occurs, an error flag list as shown in FIG. The error state of the Cb component is corrected to “1”. As a result, the subsequent Cb component packets are skipped, but the Y component and Cr component packets whose error state is “0” are entropy decoded.
以上の処理が符号化データの最後のパケットまで繰り返される。 The above processing is repeated until the last packet of the encoded data.
ここまでの説明から明らかなように、タイル属性によりエントロピー復号の状態の管理及び復号処理制御を行う場合、あるタイルの属性を持つパケットのエントロピー復号の異常が発生したときには、そのタイルについては復号画質が低下するものの、それ以外のタイルについては復号画質の低下は生じないため、復号処理を中止する方法に比べ、復号画像の全体的な画質が向上する。また、エントロピー復号の異常が発生したパケットと同じタイルの属性を持つ後続のパケットのエントロピー復号を行っても復号画質向上への寄与は殆ど期待できないのが普通であるので、そのようなパケットのエントロピー復号が抑止されることにより処理効率が向上し、かつ、復号画質への格別の不利益は避けられる。 As is apparent from the above description, when entropy decoding status management and decoding processing control is performed using a tile attribute, when an entropy decoding abnormality of a packet having a certain tile attribute occurs, the decoding image quality of that tile is determined. However, since the decoded image quality does not deteriorate for other tiles, the overall image quality of the decoded image is improved as compared with the method of stopping the decoding process. In addition, even if entropy decoding is performed on a subsequent packet having the same tile attribute as that of a packet in which an entropy decoding abnormality has occurred, a contribution to the improvement of the decoded image quality is normally hardly expected. Therefore, the entropy of such a packet is not expected. By suppressing the decoding, the processing efficiency is improved, and a special disadvantage to the decoded image quality is avoided.
色成分属性によりエントロピー復号の状態の管理及び復号処理制御を行う場合、ある色成分の属性を持つ符号のエントロピー復号の異常が発生したときには、その色成分については復号画質が低下するものの、それ以外の色成分については復号画質の低下は生じないため、復号処理を中止する方法に比べ、復号画像の全体的な画質が向上する。また、エントロピー復号の異常が発生したパケットと同じ色成分の属性を持つ後続のパケットのエントロピー復号を行っても復号画質向上への寄与は殆ど期待できないのが普通であるので、そのようなパケットのエントロピー復号が抑止されることにより処理効率が向上し、かつ、復号画質への格別の不利益は避けられる。 When entropy decoding status management and decoding processing control is performed using color component attributes, if an error occurs in entropy decoding of a code having a certain color component attribute, the decoding quality of the color component is degraded, but otherwise As for the color component, the degradation of the decoded image quality does not occur, so that the overall image quality of the decoded image is improved as compared with the method of canceling the decoding process. In addition, even if entropy decoding is performed on a subsequent packet having the same color component attribute as that of the packet in which the entropy decoding abnormality has occurred, it is normal to hardly contribute to the improvement of the decoded image quality. By suppressing the entropy decoding, the processing efficiency is improved and a special disadvantage to the decoded image quality is avoided.
解像度属性によりエントロピー復号の状態の管理及び復号処理制御を行う場合、ある解像度の属性を持つパケットのエントロピー復号の異常が発生したときにエントロピー復号が抑止されるのは、その解像度の属性を持つ後続のパケット、あるいは、その解像度の属性を持つ後続のパケット及びそれより高い解像度の属性を持つ後続のパケットであるため、その異常を発生したパケットの段階で復号処理を中止する方法に比べ、高い復号画質を得ることができる。また、エントロピー復号が抑止されるパケットは、そのエントロピー復号を行ったとしても復号画質向上への寄与は殆ど期待できないのが普通であるので、そのようなパケットのエントロピー復号が抑止されることにより処理効率が向上し、かつ、復号画質への格別の不利益は避けられる。 When entropy decoding status management and decoding processing control are performed using resolution attributes, entropy decoding is suppressed when an entropy decoding error occurs in a packet having a certain resolution attribute. Packet, or a subsequent packet having the resolution attribute and a subsequent packet having a higher resolution attribute. Therefore, the decoding is higher than the method in which the decoding process is stopped at the stage of the packet in which the abnormality occurred. Image quality can be obtained. In addition, since packets whose entropy decoding is suppressed are hardly expected to contribute to the improvement of the decoded image quality even if the entropy decoding is performed, processing is performed by suppressing the entropy decoding of such packets. Efficiency is improved and special disadvantages to decoded image quality are avoided.
画質属性によりエントロピー復号の状態の管理及び復号処理制御を行う場合、ある画質の属性を持つエントロピー復号の異常が発生したときにエントロピー復号が抑止されるのは、その画質の属性を持つ後続のパケット、あるいは、その画質の属性を持つ後続のパケット及びそれより高い画質の属性を持つ後続のパケットであるため、その異常を発生したパケットの段階で復号処理を中止する方法に比べ、高い復号画質を得ることができる。また、エントロピー復号が抑止されるパケットは、そのエントロピー復号を行ったとしても復号画質向上への寄与は殆ど期待できないのが普通であるので、そのようなパケットのエントロピー復号が抑止されることにより処理効率が向上し、かつ、復号画質への格別の不利益は避けられる。 When entropy decoding status management and decoding processing control are performed using image quality attributes, entropy decoding is suppressed when an entropy decoding abnormality having a certain image quality attribute occurs. Or, because it is a subsequent packet with the attribute of the image quality and a subsequent packet with the attribute of the image quality higher than that, the decoding quality is higher than the method of stopping the decoding process at the stage of the packet where the abnormality occurred. Obtainable. In addition, since packets whose entropy decoding is suppressed are hardly expected to contribute to the improvement of the decoded image quality even if the entropy decoding is performed, processing is performed by suppressing the entropy decoding of such packets. Efficiency is improved and special disadvantages to decoded image quality are avoided.
また、2以上のタイルに分割された符号化データについて、タイル別に、色成分、解像度、又は画質の属性によるエントロピー復号の状態の管理及び復号処理制御を行う場合には、異常に関係のないタイルについては最高の復号画質を得ることができるとともに、異常に関係したタイルについても上に述べたような画像画質の向上と処理効率の向上を同時に達成することができる。 In addition, for encoded data divided into two or more tiles, when managing entropy decoding status and decoding processing control by color component, resolution, or image quality attribute for each tile, tiles that are not abnormally related In addition to obtaining the highest decoded image quality, it is possible to simultaneously improve the image quality and the processing efficiency as described above for tiles related to abnormalities.
図10に戻る。符号化データの最後のパケットの処理が終わると(ステップS4,YES)、制御部126は、指示入力装置114から入力された指示に従って画像復元処理のためのステップS10又はS11の一方を選択する(ステップS9)。
Returning to FIG. When the processing of the last packet of the encoded data is finished (step S4, YES), the
ステップS10を選択した場合、制御部126は、エラーフラグリストを参照し、データ記憶部127に保存されている復号データ中の、復号異常が生じなかった属性(領域、レイヤ、解像度、色成分)のパケットの復号データのみを用いた画像復元処理(逆量子化、2次元逆ウェーブレット変換及び逆色空間変換)を逆量子化部123、2次元逆ウェーブレット変換部124及び逆色空間変換部125により実行させ、生成された画像データを画像表示装置111へ出力させる。したがって、例えば、タイル属性による復号処理制御を行う場合に、あるタイルのパケットの復号異常が生じたときには、そのタイルについては画像データは生成されず、その画像は表示されないことになる。
When step S10 is selected, the
一方、ステップS11を選択した場合、データ記憶部127に保存されている全ての復号データ(復号異常が生じた属性を持つパケットでエントロピー復号済みのパケットの復号データも含む)を用いた画像復元処理を実行させ、生成された画像データを画像表示装置111へ出力させる。したがって、例えば、タイル属性による復号処理制御を行う場合に、あるタイルのパケットの復号異常が生じたときには、そのタイルについても復号済みパケットの復号データから画像データが生成されて表示されることになる。
On the other hand, when step S11 is selected, the image restoration process using all the decoded data stored in the data storage unit 127 (including the decoded data of the packet having the attribute in which decoding abnormality has occurred and the entropy decoded packet) And the generated image data is output to the
このように、エントロピー復号の異常が発生したパケットと同じ属性を持つパケットの復号データを全く用いない画像復元と、エントロピー復号の異常が発生したパケットと同じ属性を持つパケットであっても、エントロピー復号が抑止される以前に復号済みのパケットの復号データをも用いる画像復元とを選択することができる。例えば、あるタイルのパケットのエントロピー復号の異常が発生した場合、前者の画像復元を選べば、そのタイルについては画像が復元されないが、後者の画像復元を選べば、そのタイルについても復号済みパケットの多寡に応じた画質で画像を復元することができる。 In this way, image restoration that does not use the decoded data of the packet having the same attribute as the packet in which the entropy decoding abnormality has occurred, and even if the packet has the same attribute as the packet in which the entropy decoding abnormality has occurred, entropy decoding It is possible to select image restoration using also the decoded data of a packet that has been decoded before the suppression is performed. For example, if an entropy decoding error occurs in a packet of a certain tile, if the former image restoration is selected, the image is not restored for that tile, but if the latter image restoration is selected, the decoded packet of that tile is also restored. It is possible to restore an image with an image quality according to the degree.
なお、Motion−JPEG2000の動画符号化データを処理する場合には、同様の復号処理が動画の各フレームに対し繰り返される。 In addition, when processing Motion-JPEG2000 moving image encoded data, the same decoding process is repeated for each frame of the moving image.
また、以上の説明から理解されるように、図10中のステップS3,S5,S7,S8,S9は、請求項1乃至7記載の発明における制御手段の機能に対応するものである。また、図10は請求項11乃至17記載の発明における復号処理工程の処理手順を示すものでもあり、そのステップS3,S5,S7,S8,S9は制御工程に対応する。 As can be understood from the above description, steps S3, S5, S7, S8, and S9 in FIG. 10 correspond to the function of the control means in the first to seventh aspects of the invention. FIG. 10 also shows the processing procedure of the decoding process in the inventions according to claims 11 to 17, and steps S3, S5, S7, S8, and S9 correspond to the control process.
<動作説明(2)>
指示入力装置114によってユーザから指定された画像の符号化データを通信装置112でサーバ102より受信し、それを復号処理装置110に入力して復号処理を行い、復号画像を画像表示装置111に表示し、また、復号処理した符号化データを符号蓄積装置113に保存する動作について説明する。図15は、その説明のための簡略化されたフローチャートである。
<Description of operation (2)>
The encoded data of the image designated by the user by the
まず、タグ処理部121により、符号化データのメインヘッダ(及び最初のタイルパートヘッダ)が解析される(ステップS21)。なお、メインヘッダ及びタイルパートヘッダは、データ記憶部127に保存される。制御部126は、ヘッダ解析結果に基づいて復号処理に関する各種パラメータの設定を行う(ステップS22)。パケットの属性の解釈及びエントロピー復号は、プログレッションオーダーに対応した前述のようなforループに従って行われるが、このforループの設定もこの段階で行われる。図15では簡略化されているが、ステップS24〜S29の処理は、そのようなforループ内の繰り返し処理である。なお、2番目以降のタイルパートヘッダの解析は、ステップS24以降の処理内で随時行われ、解析結果に応じた必要なパラメータの設定変更等が行われる。
First, the
次に、制御部126は、指示入力装置114からの指示に基づいたエラーフラグリストを作成する(ステップS23)。このエラーフラグリストについては図11乃至図14に説明した通りである。
Next, the
以上の準備処理の後、符号化データ中の符号をパケット単位で読み込みながらステップS24〜S29の処理を行う。 After the above preparation processing, the processing in steps S24 to S29 is performed while reading the code in the encoded data in units of packets.
まず、制御部126は、読み込まれたパケットを、その属性別に分類してデータ記憶部127に保存する(ステップS25)。
First, the
次に、制御部126は、エラーフラグリストを参照し、読み込まれたパケットの属性に対応したエラー状態を調べる(ステップS26)。そのエラー状態が「1」ならば、制御部126はエントロピー復号化部122で当該パケットに対するエントロピー復号を行わせず、次のパケットの読み込みを行わせる制御を行う。
Next, the
一方、当該パケットの属性に対応するエラー状態が「0」ならば、制御部122はエントロピー復号化部122で当該パケットのエントロピー復号を行わせる(ステップS27)。その復号データ(ウェーブレット係数)はデータ記憶部127に保存される。制御部126は、当該パケットのエントロピー復号が正常に行われたか調べ(ステップS28)、正常ならば次のパケットの読み込みを行わせる制御を行う。
On the other hand, if the error state corresponding to the attribute of the packet is “0”, the
当該パケットのエントロピー復号に異常が発生したときには、制御部126は、エラーフラグリストの必要な修正を行い(ステップS29)、この後に次のパケットの読み込みを行わせる制御を行う。このエラーフラグリストの修正について図11乃至図14を参照して説明した通りである。
When an abnormality occurs in the entropy decoding of the packet, the
以上の処理が符号化データの最後のパケットまで繰り返される。最後のパケットの処理が終わると(ステップS24,YES)、制御部126は、指示入力装置114から入力された指示に従って画像復元処理のためのステップS31又はS32の一方を選択する(ステップS30)。ステップS31を選択した場合、制御部126は、エラーフラグリストを参照し、データ記憶部127に保存されている復号データ中の、復号異常が生じなかった属性(領域、レイヤ、解像度、色成分)のパケットの復号データのみを用いた画像復元処理(逆量子化、2次元逆ウェーブレット変換及び逆色空間変換)を逆量子化部123、2次元逆ウェーブレット変換部124及び逆色空間変換部125により実行させ、生成された画像データを画像表示装置111へ出力させる。ステップS32を選択した場合、データ記憶部127に保存されている全ての復号データ(復号異常が生じた属性のエントロピー復号済みパケットの復号データも含む)を用いた画像データ復元処理を実行させ、生成された画像データを画像表示装置111へ出力させる。
The above processing is repeated until the last packet of the encoded data. When the processing of the last packet is finished (step S24, YES), the
次に、制御部126は、指示入力装置114から入力された指示に従って符号保存のためのステップS34又はS35の一方を選択する(ステップS33)。
Next, the
ステップS34を選択した場合、制御部126は、エラーフラグリストを参照し、データ記憶部127に保存されているパケット群のうち、復号異常が生じた属性(領域、レイヤ、解像度、色成分)のパケットを空(から)パケットに置き換え、また、データ記憶部127に保存されているメインヘッダ及びタイルパートヘッダに必要な修正を施すことにより、復号異常が生じた属性の符号を削除した符号化データを編集し、これを符号蓄積装置113へ転送し保存させる。なお、復号異常が生じた属性のパケットを単に削除するのではなく空パケットに置き換えるのは、符号化データをJPEG2000フォーマットに整形するためである。
When step S34 is selected, the
ステップS35を選択した場合、制御部126は、データ記憶部127に保存されているメインヘッダ、タイルパートヘッダ及び全てのパケットからなる符号化データ、すなわちサーバ102より受信した符号化データをそのまま、符号蓄積装置113へ転送して保存させる。
When step S35 is selected, the
このように、エントロピー復号が抑止されたパケットと同じ属性を持つパケットも含まれる、外部装置より取り込まれたものと同じ符号化データを保存することも、そのような属性を持つパケットを含めない符号化データを保存することもできるのである。 In this way, it is possible to store the same encoded data as that captured from an external device, including packets having the same attribute as the packet for which entropy decoding is suppressed, and codes that do not include packets having such an attribute. It is also possible to save data.
なお、Motion−JPEG2000の動画符号化データを処理する場合には、同様の復号処理が動画の各フレームに対し繰り返される。 In addition, when processing Motion-JPEG2000 moving image encoded data, the same decoding process is repeated for each frame of the moving image.
ここまでの説明から明らかなように、図15中のステップS23,S25,S26,S28,S29,S30,S33は、請求項1乃至8記載の発明における制御手段の機能に対応するものである。また、図15は請求項11乃至18記載の発明における復号処理工程の処理手順を示すものでもあり、そのステップS23,S25,S26,S28,S29,S30,S33は制御工程に対応する。
As is apparent from the above description, steps S23, S25, S26, S28, S29, S30, and S33 in FIG. 15 correspond to the function of the control means in the inventions according to
以上説明した画像処理装置110は、パソコンなどの汎用コンピュータや、画像表示機能を有する携帯情報端末、携帯電話、その他各種情報処理機器の内蔵マイクロコンピュータにおいてプログラムの形で実現することができる。このような態様について、図16に示すような構成のコンピュータを例にさらに説明する。
The
図16に示すコンピュータは、CPU200、メモリ202、ディスプレイ装置204、ハードディスク等の補助記憶装置206、キーボードやポインティングデバイスなどのユーザ入力装置208、通信インターフェース210、各種記録媒体(磁気ディスク、光ディスク、光磁気ディスク、半導体記憶素子など)の読み取り/書き込みのための媒体ドライブ装置214などを備え、それらがシステムバス216で相互接続された一般的な構成である。
The computer shown in FIG. 16 includes a
このようなコンピュータを、画像処理装置110の各構成要素として機能させるためのプログラム220(以下、画像処理プログラムと称する)は、それが記録された記録媒体より媒体ドライブ装置214によって読み込まれて補助記憶装置206に格納され、あるいはネットワーク経由で通信インターフェース210より取り込まれて補助記憶装置206に保存される。そして、画像処理プログラム220は、補助記憶装置206よりメモリ202にロードされ、CPU200により実行されることにより、コンピュータ上で本発明に係る画像処理装置110が実現される。符号蓄積装置113としては補助記憶装置206が利用され、復号処理装置110内のデータ記憶部127としてはメモリ127が利用される。なお、携帯情報端末などの機器では、画像処理プログラム220はROMの形で実装されることもあり、係る態様も本実施形態に含まれる。画像処理プログラム220と、これが記録された各種記録媒体(上記ROMなどの半導体記憶素子も含む)も、本実施形態に包含される。
A program 220 (hereinafter referred to as an image processing program) for causing such a computer to function as each component of the
処理対象となる静止画又は動画の符号化データは、例えば、ネットワーク上のサーバ102から通信インターフェース210を通じて取り込まれたり、補助記憶装置206又は媒体ドライブ装置214より取り込まれて処理される。
For example, encoded data of a still image or a moving image to be processed is acquired from the
1つの典型的な態様によれば、画像処理プログラム220は、ビューア、ブラウザなどと呼ばれる静止画又は動画の閲覧のための他のプログラム222(以下、ビューア/ブラウザと称する)と連携して動作する形をとる。ただし、ビューア/ブラウザ222と画像処理プログラム220とを統合することも可能である。そのような統合された形のプログラム、それが記録された記録媒体、同プログラムによりコンピュータ上で実現される画像処理システムも本実施形態に包含される。
According to one typical aspect, the
画像処理プログラム220は、静止画又は動画の符号化データの復号処理を実行して画像データを再生し、この画像データをビューア/ブラウザ222が画像表示ウィンドウ230に表示させる。このように、符号化データの復号処理は画像処理プログラム220で行われるが、復号画像データのディスプレイ装置204の画面への画像表示のための処理及び制御はビューア/ブラウザ230により行われる。すなわち、ビューア/ブラウザ222とディスプレイ装置204で画像表示装置111が実現される。
The
ビューア/ブラウザ222は、ディスプレイ装置204の画面上に、例えば図17に模式的に示すように、画像表示ウィンドウ230を開き、そこに動画又は静止画を表示させ、また、コントロール領域232に、ユーザが各種の指定を行うためのボタンやスライドバーなどを表示する。通常、表示させる画像の指定(ファイル名やURLの指定)のほか、ユーザ入力装置208に含まれるマウスなどのポインティングデバイスの操作により、画像表示ウィンドウ230の縦横サイズの変更、画像の表示倍率の変更、画像表示ウィンド230より大きな画像のスクロール、特定領域(位置)の指定などが可能である。また、コントロール領域232に表示されたボタンやスライドバーなどにより、動画又は静止画に関する様々な条件の指定を行うことができ、その指定内容を画像処理プログラム220に通知する。前述したようなどのような属性(領域、画質、解像度、色成分)によりエントロピー復号状態の管理及び復号処理制御等を行うかの指示、ステップS9,S30,S33に関連した指示も、コントロール領域232に表示されたボタン等を用いて行われる。すなわち、ビューア/ブラウザ222とユーザ入力装置208により、指示入力装置114が実現される。
The viewer /
ここまでは、JPEG2000の静止画符号化データ又はMotion−JPEG2000の動画符号化データを処理する場合について説明したが、それ以外の符号化方式による符号化データを処理する画像処理装置においても本発明を同様に適用し得ることは明らかである。 Up to this point, the case where JPEG2000 still image encoded data or Motion-JPEG2000 moving image encoded data is processed has been described. However, the present invention is also applied to an image processing apparatus that processes encoded data using other encoding methods. It is clear that the same applies.
100 画像処理装置
101 通信路
102 サーバ
110 復号処理装置
112 通信装置
113 符号蓄積装置
121 タグ処理部
122 エントロピー復号化部
123 逆量子化部
124 2次元逆ウェーブレット変換部
125 逆色空間変換部
126 制御部
127 データ記憶部
DESCRIPTION OF
Claims (18)
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を領域毎に管理し、ある領域の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある領域の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing device including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having an area attribute,
The state of entropy decoding of codes in the encoded data in the decoding processing device is managed for each area, and when an abnormality occurs in entropy decoding of a code having an attribute of a certain area, a subsequent attribute having the attribute of the certain area An image processing apparatus comprising control means for performing control for suppressing entropy decoding of a code.
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を色成分毎に管理し、ある色成分の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある色成分の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing apparatus including a decoding processing apparatus that performs decoding processing of encoded data of an image, which includes codes having color component attributes,
The state of entropy decoding of the code in the encoded data in the decoding processing device is managed for each color component, and when an abnormality occurs in the entropy decoding of the code having the attribute of a certain color component, the attribute of the certain color component is An image processing apparatus comprising control means for performing control to suppress entropy decoding of a subsequent code.
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing apparatus including a decoding processing apparatus that performs decoding processing of encoded data of an image, which includes a code having a resolution attribute,
The state of entropy decoding of the code in the encoded data in the decoding processing device is managed for each resolution, and when an abnormality occurs in the entropy decoding of the code having a certain resolution attribute, An image processing apparatus comprising control means for performing control for suppressing entropy decoding of a code.
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号及び当該ある解像度より高い解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing apparatus including a decoding processing apparatus that performs decoding processing of encoded data of an image, which includes a code having a resolution attribute,
The state of entropy decoding of the code in the encoded data in the decoding processing device is managed for each resolution, and when an abnormality occurs in the entropy decoding of the code having a certain resolution attribute, An image processing apparatus comprising: a control unit that performs control to suppress entropy decoding of a code and a subsequent code having a higher resolution attribute than the certain resolution.
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing device including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having an image quality attribute,
The state of entropy decoding of codes in the encoded data in the decoding processing device is managed for each image quality, and when an abnormality occurs in entropy decoding of a code having a certain image quality attribute, An image processing apparatus comprising control means for performing control for suppressing entropy decoding of a code.
前記復号処理装置における符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号及び当該ある画質より高い画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御手段を有することを特徴とする画像処理装置。 An image processing device including a decoding processing device that performs decoding processing of encoded data of an image, which includes a code having an image quality attribute,
The state of entropy decoding of codes in the encoded data in the decoding processing device is managed for each image quality, and when an abnormality occurs in entropy decoding of a code having a certain image quality attribute, An image processing apparatus comprising: a control unit that performs control to suppress entropy decoding of a code and a subsequent code having an image quality attribute higher than the certain image quality.
前記復号処理装置により復号処理された符号化データを保存するための符号蓄積装置を有し、
前記制御手段は、前記符号蓄積装置に保存する符号化データに、前記復号処理装置においてエントロピー復号が抑止された符号と同じ属性を持つ符号を含めるか否かの制御を行うことを特徴とする画像処理装置。 The image processing apparatus according to any one of claims 1 to 6, wherein encoded data of an image is fetched from an external apparatus, and is decoded by the decoding processing apparatus.
A code storage device for storing the encoded data decoded by the decoding processing device;
The control means controls whether or not to include in the encoded data stored in the code storage device a code having the same attribute as the code whose entropy decoding is suppressed in the decoding processing device. Processing equipment.
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を領域毎に管理し、ある領域の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある領域の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step of performing decoding processing of encoded data of an image consisting of codes having region attributes;
The decoding process step manages the entropy decoding state of the code in the encoded data for each area, and when an abnormality occurs in the entropy decoding of the code having the attribute of a certain area, the subsequent process having the attribute of the certain area The image processing method characterized by including the control process which performs control which suppresses entropy decoding of the code | symbol of this.
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を色成分毎に管理し、ある色成分の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある色成分の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step of performing decoding processing of encoded data of an image including a code having an attribute of a color component;
The decoding process step manages the entropy decoding state of the code in the encoded data for each color component, and when an abnormality occurs in the entropy decoding of the code having the attribute of a certain color component, the attribute of the certain color component An image processing method comprising a control step of performing control to suppress entropy decoding of a subsequent code having
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step for decoding encoded data of an image, which includes a code having a resolution attribute;
The decoding process step manages the entropy decoding state of the code in the encoded data for each resolution, and when an abnormality occurs in the entropy decoding of the code having a certain resolution attribute, the subsequent process having the certain resolution attribute The image processing method characterized by including the control process which performs control which suppresses entropy decoding of the code | symbol of this.
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を解像度毎に管理し、ある解像度の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある解像度の属性を持つ後続の符号及び当該ある解像度より高い解像度の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step for decoding encoded data of an image, which includes a code having a resolution attribute;
The decoding process step manages the entropy decoding state of the code in the encoded data for each resolution, and when an abnormality occurs in the entropy decoding of the code having a certain resolution attribute, the subsequent process having the certain resolution attribute And a control step of controlling to suppress entropy decoding of a subsequent code having a higher resolution attribute than the certain resolution.
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step for decoding encoded data of an image, which includes a code having an image quality attribute;
The decoding process step manages the entropy decoding state of the code in the encoded data for each image quality, and when an abnormality occurs in the entropy decoding of the code having a certain image quality attribute, the subsequent process having the certain image quality attribute The image processing method characterized by including the control process which performs control which suppresses entropy decoding of the code | symbol of this.
前記復号処理工程は、符号化データ中の符号のエントロピー復号の状態を画質毎に管理し、ある画質の属性を持つ符号のエントロピー復号で異常が発生したときに、当該ある画質の属性を持つ後続の符号及び当該ある画質より高い画質の属性を持つ後続の符号のエントロピー復号を抑止する制御を行う制御工程を含むことを特徴とする画像処理方法。 A decoding process step for decoding encoded data of an image, which includes a code having an image quality attribute;
The decoding process step manages the entropy decoding state of the code in the encoded data for each image quality, and when an abnormality occurs in the entropy decoding of the code having a certain image quality attribute, the subsequent process having the certain image quality attribute And a control step for controlling to suppress entropy decoding of a subsequent code having an image quality attribute higher than the certain image quality.
前記制御工程は、前記符号化データ保存工程により保存される符号化データに、前記復号処理工程においてエントロピー復号が抑止された符号と同じ属性を持つ符号を含めるか否かの制御を行うことを特徴とする請求項11乃至16のいずれか1項記載の画像処理方法。 An encoded data storage step for storing the encoded data decoded by the decoding processing step;
The control step controls whether or not the encoded data stored in the encoded data storage step includes a code having the same attribute as the code for which entropy decoding is suppressed in the decoding processing step. The image processing method according to claim 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005015796A JP4859014B2 (en) | 2005-01-24 | 2005-01-24 | Image processing apparatus, image processing method, program, and information recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005015796A JP4859014B2 (en) | 2005-01-24 | 2005-01-24 | Image processing apparatus, image processing method, program, and information recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006203804A true JP2006203804A (en) | 2006-08-03 |
JP4859014B2 JP4859014B2 (en) | 2012-01-18 |
Family
ID=36961377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005015796A Active JP4859014B2 (en) | 2005-01-24 | 2005-01-24 | Image processing apparatus, image processing method, program, and information recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4859014B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009231977A (en) * | 2008-03-19 | 2009-10-08 | Olympus Corp | Receiving system |
JP5549681B2 (en) * | 2010-01-14 | 2014-07-16 | 住友電気工業株式会社 | Display method, apparatus, and communication system of moving image encoded data |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09271025A (en) * | 1996-03-28 | 1997-10-14 | Sanyo Electric Co Ltd | Error processing unit |
JPH1023431A (en) * | 1996-07-08 | 1998-01-23 | Nec Corp | Moving image decoding device |
JP2001111839A (en) * | 1999-10-12 | 2001-04-20 | Sharp Corp | Image decoder |
JP2003284064A (en) * | 2002-03-20 | 2003-10-03 | Matsushita Electric Ind Co Ltd | Image receiving equipment and image display control method |
JP2004112472A (en) * | 2002-09-19 | 2004-04-08 | Toshiba Corp | Motion picture processing system |
JP2004186858A (en) * | 2002-12-02 | 2004-07-02 | Ricoh Co Ltd | Image processing apparatus |
JP2004221825A (en) * | 2003-01-14 | 2004-08-05 | Matsushita Electric Ind Co Ltd | Device and method for decoding image data |
-
2005
- 2005-01-24 JP JP2005015796A patent/JP4859014B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09271025A (en) * | 1996-03-28 | 1997-10-14 | Sanyo Electric Co Ltd | Error processing unit |
JPH1023431A (en) * | 1996-07-08 | 1998-01-23 | Nec Corp | Moving image decoding device |
JP2001111839A (en) * | 1999-10-12 | 2001-04-20 | Sharp Corp | Image decoder |
JP2003284064A (en) * | 2002-03-20 | 2003-10-03 | Matsushita Electric Ind Co Ltd | Image receiving equipment and image display control method |
JP2004112472A (en) * | 2002-09-19 | 2004-04-08 | Toshiba Corp | Motion picture processing system |
JP2004186858A (en) * | 2002-12-02 | 2004-07-02 | Ricoh Co Ltd | Image processing apparatus |
JP2004221825A (en) * | 2003-01-14 | 2004-08-05 | Matsushita Electric Ind Co Ltd | Device and method for decoding image data |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009231977A (en) * | 2008-03-19 | 2009-10-08 | Olympus Corp | Receiving system |
JP5549681B2 (en) * | 2010-01-14 | 2014-07-16 | 住友電気工業株式会社 | Display method, apparatus, and communication system of moving image encoded data |
US9219925B2 (en) | 2010-01-14 | 2015-12-22 | Sumitomo Electric Industries, Ltd. | Video image coded data display method, device, and communications system |
Also Published As
Publication number | Publication date |
---|---|
JP4859014B2 (en) | 2012-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3988990B2 (en) | Code conversion apparatus, code conversion method, program, and recording medium | |
US20040057628A1 (en) | Method and apparatus for selecting layers for quantization based on sideband information | |
JP2009009334A (en) | Image processor, image processing method, and image processing program | |
JP2004194152A (en) | Image processing apparatus, program, storage medium, and image editing method | |
JP4349816B2 (en) | Image processing apparatus, image compression apparatus, image processing method, image compression method, program, and recording medium | |
JP2007142614A (en) | Image processing apparatus and method, program, and information recording medium | |
JP2004254298A (en) | Image processing device, program, and storage medium | |
JP4151963B2 (en) | Image server device, client device, moving image distribution method, program, and information recording medium | |
US7409095B2 (en) | Image processing apparatus and method for scalable encoded image data | |
US7433523B2 (en) | Image browsing device acquiring coded data for saving a displayed image from image data source | |
JP4450322B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP2004186871A (en) | Image processing apparatus, imaging apparatus, program, and storage medium | |
JP4859014B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP4640942B2 (en) | Server device | |
JP2007014002A (en) | Image processing apparatus, image processing program and recording medium | |
JP2005092007A (en) | Image processing system, image processing method, program and information recording medium | |
JP4208122B2 (en) | Data processing apparatus and data processing method | |
JP4812071B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP4489474B2 (en) | Image processing apparatus, program, and recording medium | |
JP4059399B2 (en) | Image processing apparatus, image processing system, image output control method, program, and recording medium | |
JP4475513B2 (en) | Image processing apparatus, program, and recording medium | |
JP4124436B2 (en) | Motion estimation device, program, storage medium, and motion estimation method | |
JP4688164B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP4117886B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP3989801B2 (en) | Image processing apparatus, image processing program, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080118 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100421 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100901 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101028 |
|
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: 20111026 |
|
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: 20111027 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4859014 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141111 Year of fee payment: 3 |